正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -26,7 +26,7 @@ class AiCommandLogic extends BaseLogic | @@ -26,7 +26,7 @@ class AiCommandLogic extends BaseLogic | ||
| 26 | * @date 2023/11/22 | 26 | * @date 2023/11/22 |
| 27 | */ | 27 | */ |
| 28 | public function getPrompt($is_batch = 0){ | 28 | public function getPrompt($is_batch = 0){ |
| 29 | - $ai_command = $this->model->where('key', $this->param['key'])->where('is_batch', $is_batch)->first(); | 29 | + $ai_command = $this->model->where('key', $this->param['key'])->first(); |
| 30 | if(!$ai_command){ | 30 | if(!$ai_command){ |
| 31 | $this->fail('指令不存在'); | 31 | $this->fail('指令不存在'); |
| 32 | } | 32 | } |
-
请 注册 或 登录 后发表评论