This commit is contained in:
hackrobot
2024-04-28 00:21:36 +08:00
parent 85cc4fbab1
commit d5885e91c7

View File

@@ -463,12 +463,10 @@ def kp(event_data):
else:
# chaglm api在本地8000端口
# winHookUrl='http://192.168.31.184:8000/img'
winHookUrl='http://chatbot.hackrobot.cn/img'
payload = {
'query': "test",
}
winHookUrl = 'http://chatbot.hackrobot.cn/img'
payload = {'query': {'query': "test"}}
res = requests.post(winHookUrl, data=payload)
print('res====>',res)
print('res====>', res)
# r = res.json()
# print('r',r)
return "test"