作者 李宇航

合并分支 'lyh-server' 到 'master'

gx添加随机模块



查看合并请求 !2062
@@ -29,7 +29,8 @@ class AiCommandController extends BaseController @@ -29,7 +29,8 @@ class AiCommandController extends BaseController
29 $this->map['name|key|ai'] = ['like','%'.$this->map['scene'].'%']; 29 $this->map['name|key|ai'] = ['like','%'.$this->map['scene'].'%'];
30 unset($this->map['scene']); 30 unset($this->map['scene']);
31 } 31 }
32 - $lists = $aiCommandModel->lists($this->map,$this->page,$this->row,$this->order); 32 + $this->order = 'project_id';
  33 + $lists = $aiCommandModel->lists($this->map,$this->page,$this->row,$this->order,['*'],'asc');
33 $projectModel = new Project(); 34 $projectModel = new Project();
34 if(!empty($lists) && !empty($lists['list'])){ 35 if(!empty($lists) && !empty($lists['list'])){
35 foreach ($lists['list'] as $k => $v){ 36 foreach ($lists['list'] as $k => $v){