作者 lyh

gx

@@ -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 }