|
...
|
...
|
@@ -24,6 +24,11 @@ class AiCommandController extends BaseController |
|
|
|
* @time :2023/6/17 16:27
|
|
|
|
*/
|
|
|
|
public function lists(AiCommandModel $aiCommandModel){
|
|
|
|
if(!empty($this->map['scene'])){
|
|
|
|
$this->map[] = ['name|key|ai' => ['like','%'.$this->map['scene'].'%']];
|
|
|
|
unset($this->map['scene']);
|
|
|
|
}
|
|
|
|
|
|
|
|
$lists = $aiCommandModel->lists($this->map,$this->page,$this->row,$this->order);
|
|
|
|
$this->response('success',Code::SUCCESS,$lists);
|
|
|
|
}
|
...
|
...
|
|