cuixiaodong hace 1 año
padre
commit
f7b9c0ca9a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      backend/Service/WechatService.py

+ 2 - 2
backend/Service/WechatService.py

@@ -349,7 +349,7 @@ class WechatService:
 
         neibu = {}
         neibuurl = "https://ai.raycos.net/api/v1/run/9263c538-2cd2-4c1b-8c9a-3bb986920d6d?stream=false"
-        waibutweaks = {
+        neibutweaks = {
                 "ChatInput-NYqTq": {
                     "sender": info.openid,
                     "sender_name": info.openid
@@ -369,7 +369,7 @@ class WechatService:
                 "ParseData-ZmaJQ": {}
         }
         neibu["url"] = neibuurl
-        neibu["tweaks"] = waibutweaks
+        neibu["tweaks"] = neibutweaks
 
         if not openid:
             return success(waibu, "普通用户返回外部知识库链接")