作者 lyh

gx

@@ -62,7 +62,7 @@ class CNoticeController extends BaseController @@ -62,7 +62,7 @@ class CNoticeController extends BaseController
62 * @time :2023/9/12 14:46 62 * @time :2023/9/12 14:46
63 */ 63 */
64 public function updateMaster(){ 64 public function updateMaster(){
65 - try { 65 +// try {
66 $updateNotifyModel = new UpdateNotify(); 66 $updateNotifyModel = new UpdateNotify();
67 if($this->param['page'] == UpdateNotify::PAGE_ALL){ 67 if($this->param['page'] == UpdateNotify::PAGE_ALL){
68 //如果是更新所有 68 //如果是更新所有
@@ -81,9 +81,9 @@ class CNoticeController extends BaseController @@ -81,9 +81,9 @@ class CNoticeController extends BaseController
81 $extent = json_encode(['url'=>$this->param['url']]); 81 $extent = json_encode(['url'=>$this->param['url']]);
82 $this->addProgress($count,$this->param['type'],$this->param['page'],$extent); 82 $this->addProgress($count,$this->param['type'],$this->param['page'],$extent);
83 } 83 }
84 - }catch (\Exception $e){  
85 - $this->response('error',Code::USER_ERROR);  
86 - } 84 +// }catch (\Exception $e){
  85 +// $this->response('error',Code::USER_ERROR);
  86 +// }
87 return true; 87 return true;
88 } 88 }
89 89