|
...
|
...
|
@@ -96,7 +96,7 @@ class CNoticeController extends BaseController |
|
|
|
*/
|
|
|
|
public function updateMinorLanguages(){
|
|
|
|
$updateNotifyModel = new UpdateNotify();
|
|
|
|
// try {
|
|
|
|
try {
|
|
|
|
if($this->param['page'] == UpdateNotify::PAGE_ALL){
|
|
|
|
$this->request->validate([
|
|
|
|
'language' => 'required',
|
|
...
|
...
|
@@ -122,9 +122,9 @@ class CNoticeController extends BaseController |
|
|
|
$extent = json_encode(['url'=>$this->param['url'],'language'=>$this->param['language']]);
|
|
|
|
$this->addProgress($count,$this->param['type'],$this->param['page'],$extent);
|
|
|
|
}
|
|
|
|
// }catch (\Exception $e){
|
|
|
|
// $this->response('error',Code::USER_ERROR);
|
|
|
|
// }
|
|
|
|
}catch (\Exception $e){
|
|
|
|
$this->response('error',Code::USER_ERROR);
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|