作者 lyh

Merge branch 'develop' of http://47.244.231.31:8099/zhl/globalso-v6 into develop

@@ -70,7 +70,7 @@ class WebSettingLogic extends BaseLogic @@ -70,7 +70,7 @@ class WebSettingLogic extends BaseLogic
70 // return $this->success($list); 70 // return $this->success($list);
71 // } 71 // }
72 $field = $type == UpdateNotify::TYPE_MINOR ? 'minor_languages_status' : 'status'; 72 $field = $type == UpdateNotify::TYPE_MINOR ? 'minor_languages_status' : 'status';
73 - $updateNotifyModel->edit(['status'=>1],['project_id' => $this->user['project_id'], $field => 0]); 73 + $updateNotifyModel->edit([$field => 1], ['project_id' => $this->user['project_id'], $field => 0]);
74 $param = [ 74 $param = [
75 'project_id' => $this->user['project_id'], 75 'project_id' => $this->user['project_id'],
76 'type' => $type, 76 'type' => $type,