This commit is contained in:
cdle 2021-08-16 13:05:32 +08:00
parent 3d5ec0a4b1
commit 7ea9cac05d

View File

@ -162,18 +162,24 @@ var handleMessage = func(msgs ...interface{}) interface{} {
return nil
case "查询", "query":
cks := GetJdCookies()
find := false
for _, ck := range cks {
if tp == "qq" {
if ck.QQ == id {
find = true
SendQQ(int64(id), ck.Query())
}
} else if tp == "qqg" {
if ck.QQ == msgs[3].(int) {
find = true
SendQQGroup(int64(id), int64(msgs[3].(int)), ck.Query())
}
}
}
if !find {
return "你尚未绑定🐶东账号,请对我说扫码,扫码后即可查询账户资产信息。"
}
return nil
default:
{ //