作者 lyh

gx

@@ -25,8 +25,9 @@ class ATemplateModuleController extends BaseController @@ -25,8 +25,9 @@ class ATemplateModuleController extends BaseController
25 * @time :2023/6/28 16:54 25 * @time :2023/6/28 16:54
26 */ 26 */
27 public function lists(ATemplateModuleLogic $ATemplateModuleLogic){ 27 public function lists(ATemplateModuleLogic $ATemplateModuleLogic){
28 - if(isset($this->map['type']) && ($this->map['type'] != 99)){  
29 - $this->map['test_model'] = $this->map['test_model'] ?? 0; 28 + if(isset($this->map['type']) && ($this->map['type'] == 99)){
  29 + $this->map['type'] = 99;
  30 + }else{
30 $this->map['project_id'] = 0; 31 $this->map['project_id'] = 0;
31 } 32 }
32 $lists = $ATemplateModuleLogic->aTemplateModuleLists($this->map,$this->page,$this->row,$this->order); 33 $lists = $ATemplateModuleLogic->aTemplateModuleLists($this->map,$this->page,$this->row,$this->order);