mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-17 19:24:19 +00:00
Merge branch 'master' of https://github.com/lyg09270/LangBot
This commit is contained in:
@@ -65,6 +65,16 @@
|
||||
"callback_url": "http://your-callback-url:2286/gewechat/callback",
|
||||
"app_id": "",
|
||||
"token": ""
|
||||
},
|
||||
{
|
||||
"adapter":"officialaccount",
|
||||
"enable": false,
|
||||
"token": "",
|
||||
"EncodingAESKey":"",
|
||||
"AppID":"",
|
||||
"AppSecret":"",
|
||||
"host": "0.0.0.0",
|
||||
"port": 2287
|
||||
}
|
||||
],
|
||||
"track-function-calls": true,
|
||||
|
||||
@@ -331,6 +331,51 @@
|
||||
"description": "gewechat 的 token"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "微信公众号适配器",
|
||||
"description": "用于接入微信公众号",
|
||||
"properties": {
|
||||
"adapter": {
|
||||
"type": "string",
|
||||
"const": "officialaccount"
|
||||
},
|
||||
"enable": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "是否启用此适配器"
|
||||
},
|
||||
"token": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "微信公众号的token"
|
||||
},
|
||||
"EncodingAESKey": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "微信公众号的EncodingAESKey"
|
||||
},
|
||||
"AppID": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "微信公众号的AppID"
|
||||
},
|
||||
"AppSecret": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "微信公众号的AppSecret"
|
||||
},
|
||||
"host": {
|
||||
"type": "string",
|
||||
"default": "0.0.0.0",
|
||||
"description": "监听的IP地址"
|
||||
},
|
||||
"port": {
|
||||
"type": "integer",
|
||||
"default": 2287,
|
||||
"description": "监听的端口"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user