feat: 优化部署脚本
This commit is contained in:
11
backend/data/ai_reply_config.json
Normal file
11
backend/data/ai_reply_config.json
Normal file
@@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"key": "HBpEnbtj9BJZ",
|
||||
"super_admin_wxids": [
|
||||
"wxid_f2q8xscgg31322"
|
||||
],
|
||||
"whitelist_wxids": [
|
||||
"zhang499142409"
|
||||
]
|
||||
}
|
||||
]
|
||||
11
backend/data/models.json
Normal file
11
backend/data/models.json
Normal file
@@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"id": "dee0443f-36f3-4d7c-9321-618d80c18a89",
|
||||
"name": "千问",
|
||||
"provider": "openai",
|
||||
"api_key": "sk-85880595fc714d63bfd0b025e917bd26",
|
||||
"base_url": "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
||||
"model_name": "qwen3.5-plus",
|
||||
"is_current": true
|
||||
}
|
||||
]
|
||||
@@ -1174,5 +1174,314 @@
|
||||
"new_msg_id": 4819003726112313030
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"direction": "out",
|
||||
"ToUserName": "zhang499142409",
|
||||
"Content": "你好吗?",
|
||||
"CreateTime": 1773162081,
|
||||
"key": "HBpEnbtj9BJZ"
|
||||
},
|
||||
{
|
||||
"key": "HBpEnbtj9BJZ",
|
||||
"message": {
|
||||
"msg_id": 1610150761,
|
||||
"from_user_name": {
|
||||
"str": "zhang499142409"
|
||||
},
|
||||
"to_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"msg_type": 1,
|
||||
"content": {
|
||||
"str": "你是谁"
|
||||
},
|
||||
"status": 3,
|
||||
"img_status": 1,
|
||||
"img_buf": {
|
||||
"len": 0
|
||||
},
|
||||
"create_time": 1773163138,
|
||||
"msg_source": "<msgsource>\n\t<bizflag>0</bizflag>\n\t<pua>1</pua>\n\t<eggIncluded>1</eggIncluded>\n\t<signature>N0_V1_tvPQ/7y0|v1_SpiyYTgw</signature>\n\t<tmp_node>\n\t\t<publisher-id></publisher-id>\n\t</tmp_node>\n</msgsource>\n",
|
||||
"push_content": "Daniel : 你是谁",
|
||||
"new_msg_id": 3512349988965098431
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"key": "HBpEnbtj9BJZ",
|
||||
"message": {
|
||||
"msg_id": 1826119229,
|
||||
"from_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"to_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"msg_type": 51,
|
||||
"content": {
|
||||
"str": "<msg>\n<op id='5'>\n<username>wxid_f2q8xscgg31322</username>\n<name>lastMessage</name>\n<arg>{\"messageSvrId\":\"9191983264673337867\",\"MsgCreateTime\":\"1773161823\"}</arg>\n</op>\n</msg>"
|
||||
},
|
||||
"status": 3,
|
||||
"img_status": 1,
|
||||
"img_buf": {
|
||||
"len": 0
|
||||
},
|
||||
"create_time": 1773163203,
|
||||
"msg_source": "<msgsource>\n\t<signature>v1_eSSKf/rE</signature>\n\t<tmp_node>\n\t\t<publisher-id></publisher-id>\n\t</tmp_node>\n</msgsource>\n",
|
||||
"new_msg_id": 3552106780167326835
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"key": "HBpEnbtj9BJZ",
|
||||
"message": {
|
||||
"msg_id": 216882921,
|
||||
"from_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"to_user_name": {
|
||||
"str": "zhang499142409"
|
||||
},
|
||||
"msg_type": 51,
|
||||
"content": {
|
||||
"str": "<msg>\n<op id='2'>\n<username>zhang499142409</username>\n<name>lastMessage</name>\n<arg>{\"messageSvrId\":\"3512349988965098431\",\"MsgCreateTime\":\"1773163138\"}</arg>\n</op>\n</msg>"
|
||||
},
|
||||
"status": 3,
|
||||
"img_status": 1,
|
||||
"img_buf": {
|
||||
"len": 0
|
||||
},
|
||||
"create_time": 1773163205,
|
||||
"msg_source": "<msgsource>\n\t<signature>v1_L2fvIOvF</signature>\n\t<tmp_node>\n\t\t<publisher-id></publisher-id>\n\t</tmp_node>\n</msgsource>\n",
|
||||
"new_msg_id": 8434304876441850640
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"key": "HBpEnbtj9BJZ",
|
||||
"message": {
|
||||
"msg_id": 2132745747,
|
||||
"from_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"to_user_name": {
|
||||
"str": "zhang499142409"
|
||||
},
|
||||
"msg_type": 51,
|
||||
"content": {
|
||||
"str": "<msg>\n<op id='5'>\n<username>zhang499142409</username>\n<name>lastMessage</name>\n<arg>{\"messageSvrId\":\"3512349988965098431\",\"MsgCreateTime\":\"1773163138\"}</arg>\n</op>\n</msg>"
|
||||
},
|
||||
"status": 3,
|
||||
"img_status": 1,
|
||||
"img_buf": {
|
||||
"len": 0
|
||||
},
|
||||
"create_time": 1773163205,
|
||||
"msg_source": "<msgsource>\n\t<signature>v1_DG+ZFs7h</signature>\n\t<tmp_node>\n\t\t<publisher-id></publisher-id>\n\t</tmp_node>\n</msgsource>\n",
|
||||
"new_msg_id": 2869033315579360891
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"key": "HBpEnbtj9BJZ",
|
||||
"message": {
|
||||
"msg_id": 2110142296,
|
||||
"from_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"to_user_name": {
|
||||
"str": "zhang499142409"
|
||||
},
|
||||
"msg_type": 51,
|
||||
"content": {
|
||||
"str": "<msg>\n<op id='2'>\n<username>zhang499142409</username>\n<name>lastMessage</name>\n<arg>{\"messageSvrId\":\"3512349988965098431\",\"MsgCreateTime\":\"1773163138\"}</arg>\n</op>\n</msg>"
|
||||
},
|
||||
"status": 3,
|
||||
"img_status": 1,
|
||||
"img_buf": {
|
||||
"len": 0
|
||||
},
|
||||
"create_time": 1773163291,
|
||||
"msg_source": "<msgsource>\n\t<signature>v1_XmjXzlCu</signature>\n\t<tmp_node>\n\t\t<publisher-id></publisher-id>\n\t</tmp_node>\n</msgsource>\n",
|
||||
"new_msg_id": 6554530052967632446
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"key": "HBpEnbtj9BJZ",
|
||||
"message": {
|
||||
"msg_id": 1891079631,
|
||||
"from_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"to_user_name": {
|
||||
"str": "zhang499142409"
|
||||
},
|
||||
"msg_type": 51,
|
||||
"content": {
|
||||
"str": "<msg>\n<op id='5'>\n<username>zhang499142409</username>\n<name>lastMessage</name>\n<arg>{\"messageSvrId\":\"3512349988965098431\",\"MsgCreateTime\":\"1773163138\"}</arg>\n</op>\n</msg>"
|
||||
},
|
||||
"status": 3,
|
||||
"img_status": 1,
|
||||
"img_buf": {
|
||||
"len": 0
|
||||
},
|
||||
"create_time": 1773163294,
|
||||
"msg_source": "<msgsource>\n\t<signature>v1_iRwWbu7A</signature>\n\t<tmp_node>\n\t\t<publisher-id></publisher-id>\n\t</tmp_node>\n</msgsource>\n",
|
||||
"new_msg_id": 6757624217414248141
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"key": "HBpEnbtj9BJZ",
|
||||
"message": {
|
||||
"msg_id": 58087331,
|
||||
"from_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"to_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"msg_type": 51,
|
||||
"content": {
|
||||
"str": "<msg>\n<op id='2'>\n<username>wxid_f2q8xscgg31322</username>\n<name>lastMessage</name>\n<arg>{\"messageSvrId\":\"9191983264673337867\",\"MsgCreateTime\":\"1773161823\"}</arg>\n</op>\n</msg>"
|
||||
},
|
||||
"status": 3,
|
||||
"img_status": 1,
|
||||
"img_buf": {
|
||||
"len": 0
|
||||
},
|
||||
"create_time": 1773163296,
|
||||
"msg_source": "<msgsource>\n\t<signature>v1_IFm3SM7Y</signature>\n\t<tmp_node>\n\t\t<publisher-id></publisher-id>\n\t</tmp_node>\n</msgsource>\n",
|
||||
"new_msg_id": 1302874624611387202
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"key": "HBpEnbtj9BJZ",
|
||||
"message": {
|
||||
"msg_id": 647268517,
|
||||
"from_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"to_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"msg_type": 1,
|
||||
"content": {
|
||||
"str": "你用的什么模型"
|
||||
},
|
||||
"status": 3,
|
||||
"img_status": 1,
|
||||
"img_buf": {
|
||||
"len": 0
|
||||
},
|
||||
"create_time": 1773163308,
|
||||
"msg_source": "<msgsource>\n\t<bizflag>0</bizflag>\n\t<pua>1</pua>\n\t<eggIncluded>1</eggIncluded>\n\t<signature>N0_V1_/m2bkvRf|v1_1FCs6fvq</signature>\n\t<tmp_node>\n\t\t<publisher-id></publisher-id>\n\t</tmp_node>\n</msgsource>\n",
|
||||
"new_msg_id": 8354732942085133458
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"key": "HBpEnbtj9BJZ",
|
||||
"message": {
|
||||
"msg_id": 771150200,
|
||||
"from_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"to_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"msg_type": 51,
|
||||
"content": {
|
||||
"str": "<msg>\n<op id='5'>\n<username>wxid_f2q8xscgg31322</username>\n<name>lastMessage</name>\n<arg>{\"messageSvrId\":\"8354732942085133458\",\"MsgCreateTime\":\"1773163308\"}</arg>\n</op>\n</msg>"
|
||||
},
|
||||
"status": 3,
|
||||
"img_status": 1,
|
||||
"img_buf": {
|
||||
"len": 0
|
||||
},
|
||||
"create_time": 1773163310,
|
||||
"msg_source": "<msgsource>\n\t<signature>v1_2hC615We</signature>\n\t<tmp_node>\n\t\t<publisher-id></publisher-id>\n\t</tmp_node>\n</msgsource>\n",
|
||||
"new_msg_id": 7243733440829071694
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"key": "HBpEnbtj9BJZ",
|
||||
"message": {
|
||||
"msg_id": 317539696,
|
||||
"from_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"to_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"msg_type": 51,
|
||||
"content": {
|
||||
"str": "<msg>\n<op id='2'>\n<username>wxid_f2q8xscgg31322</username>\n<name>lastMessage</name>\n<arg>{\"messageSvrId\":\"8354732942085133458\",\"MsgCreateTime\":\"1773163308\"}</arg>\n</op>\n</msg>"
|
||||
},
|
||||
"status": 3,
|
||||
"img_status": 1,
|
||||
"img_buf": {
|
||||
"len": 0
|
||||
},
|
||||
"create_time": 1773163312,
|
||||
"msg_source": "<msgsource>\n\t<signature>v1_1PuNB2Q3</signature>\n\t<tmp_node>\n\t\t<publisher-id></publisher-id>\n\t</tmp_node>\n</msgsource>\n",
|
||||
"new_msg_id": 7265708667374985818
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"key": "HBpEnbtj9BJZ",
|
||||
"message": {
|
||||
"msg_id": 106384113,
|
||||
"from_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"to_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"msg_type": 51,
|
||||
"content": {
|
||||
"str": "<msg>\n<op id='5'>\n<username>wxid_f2q8xscgg31322</username>\n<name>lastMessage</name>\n<arg>{\"messageSvrId\":\"8354732942085133458\",\"MsgCreateTime\":\"1773163308\"}</arg>\n</op>\n</msg>"
|
||||
},
|
||||
"status": 3,
|
||||
"img_status": 1,
|
||||
"img_buf": {
|
||||
"len": 0
|
||||
},
|
||||
"create_time": 1773163320,
|
||||
"msg_source": "<msgsource>\n\t<signature>v1_rWs/fWf2</signature>\n\t<tmp_node>\n\t\t<publisher-id></publisher-id>\n\t</tmp_node>\n</msgsource>\n",
|
||||
"new_msg_id": 1510294059264702492
|
||||
},
|
||||
"type": "message"
|
||||
},
|
||||
{
|
||||
"key": "HBpEnbtj9BJZ",
|
||||
"message": {
|
||||
"msg_id": 576932746,
|
||||
"from_user_name": {
|
||||
"str": "zhang499142409"
|
||||
},
|
||||
"to_user_name": {
|
||||
"str": "wxid_f2q8xscgg31322"
|
||||
},
|
||||
"msg_type": 1,
|
||||
"content": {
|
||||
"str": "告诉我模型内容"
|
||||
},
|
||||
"status": 3,
|
||||
"img_status": 1,
|
||||
"img_buf": {
|
||||
"len": 0
|
||||
},
|
||||
"create_time": 1773163339,
|
||||
"msg_source": "<msgsource>\n\t<bizflag>0</bizflag>\n\t<pua>1</pua>\n\t<eggIncluded>1</eggIncluded>\n\t<signature>N0_V1_8uaj8gCr|v1_Flh4iaN8</signature>\n\t<tmp_node>\n\t\t<publisher-id></publisher-id>\n\t</tmp_node>\n</msgsource>\n",
|
||||
"push_content": "Daniel : 告诉我模型内容",
|
||||
"new_msg_id": 6612157681502055018
|
||||
},
|
||||
"type": "message"
|
||||
}
|
||||
]
|
||||
BIN
backend/data/wechat.db
Normal file
BIN
backend/data/wechat.db
Normal file
Binary file not shown.
Reference in New Issue
Block a user