作者 lyh

gxshuju

@@ -809,6 +809,12 @@ class ProjectLogic extends BaseLogic @@ -809,6 +809,12 @@ class ProjectLogic extends BaseLogic
809 ]; 809 ];
810 $this->toHagro($data); 810 $this->toHagro($data);
811 } 811 }
  812 + if(empty($this->param['exclusive_aicc_day'])){
  813 + unset($this->param['exclusive_aicc_day']);
  814 + }
  815 + if(empty($this->param['exclusive_hagro_day'])){
  816 + unset($this->param['exclusive_hagro_day']);
  817 + }
812 $rs = $this->model->edit($this->param,['id'=>$this->param['id']]); 818 $rs = $this->model->edit($this->param,['id'=>$this->param['id']]);
813 if($rs === false){ 819 if($rs === false){
814 $this->fail('保存失败,请联系管理员'); 820 $this->fail('保存失败,请联系管理员');