|
...
|
...
|
@@ -26,7 +26,7 @@ class AiCommandLogic extends BaseLogic |
|
|
|
* @date 2023/11/22
|
|
|
|
*/
|
|
|
|
public function getPrompt($is_batch = 0){
|
|
|
|
$ai_command = $this->model->where('key', $this->param['key'])->where('is_batch', $is_batch)->first();
|
|
|
|
$ai_command = $this->model->where('key', $this->param['key'])->first();
|
|
|
|
if(!$ai_command){
|
|
|
|
$this->fail('指令不存在');
|
|
|
|
}
|
...
|
...
|
|