作者 lyh

gx

@@ -30,8 +30,8 @@ class AiCommandController extends BaseController @@ -30,8 +30,8 @@ class AiCommandController extends BaseController
30 ]); 30 ]);
31 #TODO 通过key获取到ai指令对象 31 #TODO 通过key获取到ai指令对象
32 $data = Common::send_openai_msg($this->chat_url,$this->param,$this->companyName($this->param['key'],$this->user['project_id'])); 32 $data = Common::send_openai_msg($this->chat_url,$this->param,$this->companyName($this->param['key'],$this->user['project_id']));
33 -// $data['text'] = Common::deal_keywords($data['text']);  
34 -// $data['text'] = Common::deal_str($data['text']); 33 + $data['text'] = Common::deal_keywords($data['text']);
  34 + $data['text'] = Common::deal_str($data['text']);
35 $param = [ 35 $param = [
36 'key'=>$this->param['key'], 36 'key'=>$this->param['key'],
37 'keywords'=>$this->param['keywords'], 37 'keywords'=>$this->param['keywords'],