This commit is contained in:
hackrobot
2024-04-28 00:18:08 +08:00
parent 980825292f
commit 6b38b93863

View File

@@ -465,13 +465,12 @@ def kp(event_data):
# winHookUrl='http://192.168.31.184:8000/img'
winHookUrl='http://chatbot.hackrobot.cn/img'
payload = {
'query': {
'query': "test"
},
'query': "test",
}
res = requests.post(winHookUrl, data=payload)
r = res.json()
return r
print('r',r)
return r['answer']
# if msg in ['腾讯云']:
# # 发送小程序