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

View File

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