修复默认的success和error的ajax返回没有jump_url问题

This commit is contained in:
augushong
2020-03-20 12:57:59 +08:00
parent bb6a21e54d
commit 6c0acfd470

View File

@@ -118,6 +118,7 @@ abstract class BaseController
];
if(\request()->isAjax()){
$data['jump_to_url'] = (string)$jump_to_url;
throw new HttpResponseException(json_message($data,0,$msg));
}
@@ -140,6 +141,7 @@ abstract class BaseController
];
if(\request()->isAjax()){
$data['jump_to_url'] = (string)$jump_to_url;
throw new HttpResponseException(json_message($data,0,$msg));
}