作者 lyh

gx脚本更新路由

@@ -36,6 +36,9 @@ class OaNoticeLogic extends BaseLogic @@ -36,6 +36,9 @@ class OaNoticeLogic extends BaseLogic
36 public function saveOaNotice(){ 36 public function saveOaNotice(){
37 $this->param['operator_id'] = $this->manager['id']; 37 $this->param['operator_id'] = $this->manager['id'];
38 $project_str = trim($this->param['project_str'],','); 38 $project_str = trim($this->param['project_str'],',');
  39 + if($project_str == 0){
  40 + $this->param['project_str'] = 'all';
  41 + }
39 if($project_str != 'all'){ 42 if($project_str != 'all'){
40 $this->param['project_str'] = ','.$project_str.','; 43 $this->param['project_str'] = ','.$project_str.',';
41 } 44 }