作者 lyh

ggx

@@ -73,11 +73,10 @@ class CNoticeController extends BaseController @@ -73,11 +73,10 @@ class CNoticeController extends BaseController
73 if($count == 0){ 73 if($count == 0){
74 return $this->success(); 74 return $this->success();
75 } 75 }
76 -// $this->addProgress($count,$type); 76 + $this->addProgress($count,$type);
77 $updateNotifyModel->edit([$field => 1], ['project_id' => $this->user['project_id'], $field => 0]); 77 $updateNotifyModel->edit([$field => 1], ['project_id' => $this->user['project_id'], $field => 0]);
78 $urlStr = $this->getString($type,$page); 78 $urlStr = $this->getString($type,$page);
79 $this->curlGet($urlStr); 79 $this->curlGet($urlStr);
80 - @file_put_contents(storage_path('logs/lyh_error.log'), var_export(22222, true) . PHP_EOL, FILE_APPEND);  
81 return $this->success(); 80 return $this->success();
82 } 81 }
83 82
@@ -120,7 +119,7 @@ class CNoticeController extends BaseController @@ -120,7 +119,7 @@ class CNoticeController extends BaseController
120 'created_at'=>date('Y-m-d H;i:s') 119 'created_at'=>date('Y-m-d H;i:s')
121 ]; 120 ];
122 $updateProgressModel = new UpdateProgress(); 121 $updateProgressModel = new UpdateProgress();
123 - return $updateProgressModel->insert($data); 122 + $updateProgressModel->insert($data);
124 } 123 }
125 124
126 /** 125 /**