Browse Source

AI聊天界面接口3

master
wanghongjun 4 months ago
parent
commit
a978974496
  1. 2
      app/enterprise/controller/Chat.php

2
app/enterprise/controller/Chat.php

@ -62,7 +62,7 @@ class Chat extends BaseController
$msgInfo['msg_id']=$msgId;
$msgInfo['user_id']=1;
$msgInfo['sendTime']=time()*1000;
$msgInfo['toContactId']='ai_chat';
$msgInfo['toContactId']='-2';
$msgInfo['to_user']='ai_chat';
$msgInfo['content']=$newContent;
$msgInfo['fromUser']=[

Loading…
Cancel
Save