|
|
@@ -308,8 +308,8 @@ class WechatService:
|
|
|
@staticmethod
|
|
|
def getKbmUrl(request):
|
|
|
openid = request.POST.get("openid")
|
|
|
- waibu = "http://58.246.234.210:7860/api/v1/run/c7ea3a2d-f50c-4936-b96c-3fe7c34fa062?stream=false"
|
|
|
- neibu = "http://58.246.234.210:7860/api/v1/run/9263c538-2cd2-4c1b-8c9a-3bb986920d6d?stream=false"
|
|
|
+ waibu = "https://ai.raycos.net/api/v1/run/c7ea3a2d-f50c-4936-b96c-3fe7c34fa062?stream=false"
|
|
|
+ neibu = "https://ai.raycos.net/api/v1/run/9263c538-2cd2-4c1b-8c9a-3bb986920d6d?stream=false"
|
|
|
if not openid:
|
|
|
return success(waibu, "普通用户返回外部知识库链接")
|
|
|
info = WechatUser.objects.filter(openid=openid).exclude(status=4).first()
|