完成内容管理

This commit is contained in:
augushong
2020-04-18 16:01:27 +08:00
parent dc15576de8
commit 84c1a51b86
18 changed files with 1548 additions and 253 deletions

View File

@@ -125,7 +125,10 @@ abstract class BaseController
if(\request()->isAjax()){
$data['jump_to_url'] = (string)$jump_to_url;
throw new HttpResponseException(json_message($data,0,$msg));
if($code == 200){
$code = 0;
}
throw new HttpResponseException(json_message($data,$code,$msg));
}
View::assign($data);
@@ -154,7 +157,10 @@ abstract class BaseController
if(\request()->isAjax()){
$data['jump_to_url'] = (string)$jump_to_url;
throw new HttpResponseException(json_message($data,0,$msg));
if($code == 200){
$code = 0;
}
throw new HttpResponseException(json_message($data,$code,$msg));
}
View::assign($data);