mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
升级layui,修改跳转页
This commit is contained in:
@@ -122,7 +122,7 @@ abstract class BaseController
|
||||
}
|
||||
|
||||
View::assign($data);
|
||||
throw new HttpResponseException(response(View::fetch('common@tpl/success'), $code));
|
||||
throw new HttpResponseException(response(View::fetch(config('view.jump_tpl_success_path')), $code));
|
||||
}
|
||||
public function error($msg = '操作失败', $jump_to_url = null, $code = 200, $params = [])
|
||||
{
|
||||
@@ -144,7 +144,7 @@ abstract class BaseController
|
||||
}
|
||||
|
||||
View::assign($data);
|
||||
throw new HttpResponseException(response(View::fetch('common@tpl/error'), $code));
|
||||
throw new HttpResponseException(response(View::fetch(config('view.jump_tpl_error_path')), $code));
|
||||
}
|
||||
|
||||
public function redirect($jump_to_url, $code = 302)
|
||||
|
||||
Reference in New Issue
Block a user