mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
修复默认的success和error的ajax返回没有jump_url问题
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user