wdqwd
This commit is contained in:
8
main.py
8
main.py
@@ -463,12 +463,10 @@ def kp(event_data):
|
|||||||
else:
|
else:
|
||||||
# chaglm api在本地8000端口
|
# chaglm api在本地8000端口
|
||||||
# winHookUrl='http://192.168.31.184:8000/img'
|
# winHookUrl='http://192.168.31.184:8000/img'
|
||||||
winHookUrl='http://chatbot.hackrobot.cn/img'
|
winHookUrl = 'http://chatbot.hackrobot.cn/img'
|
||||||
payload = {
|
payload = {'query': {'query': "test"}}
|
||||||
'query': "test",
|
|
||||||
}
|
|
||||||
res = requests.post(winHookUrl, data=payload)
|
res = requests.post(winHookUrl, data=payload)
|
||||||
print('res====>',res)
|
print('res====>', res)
|
||||||
# r = res.json()
|
# r = res.json()
|
||||||
# print('r',r)
|
# print('r',r)
|
||||||
return "test"
|
return "test"
|
||||||
|
|||||||
Reference in New Issue
Block a user