wdqwd
This commit is contained in:
8
main.py
8
main.py
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user