Update JSAICore for MIRAI 2.x

这个提交包含在:
2021-07-21 16:39:38 +08:00
父节点 b8b02257ae
当前提交 79d4e84c18

6
CGI.js
查看文件

@ -10,8 +10,8 @@ global.DEBUG = {};
global.DEBUG.Core = Core;
var last = {};
request.post({
url:`http://127.0.0.1:${ServicePort}/auth`,
body:JSON.stringify({authKey:Key})
url:`http://127.0.0.1:${ServicePort}/verify`,
body:JSON.stringify({verifyKey:Key})
},(err,res)=>{
if(res == null){
console.log("["+new Date().toString()+"][./Core.js]系统断线.");
@ -19,7 +19,7 @@ request.post({
}
Session = JSON.parse(res.body).session;
request.post({
url:`http://127.0.0.1:${ServicePort}/verify`,
url:`http://127.0.0.1:${ServicePort}/bind`,
body:JSON.stringify({
sessionKey:Session,
qq:2142562417