升级layui,修改跳转页

This commit is contained in:
augushong
2021-06-08 23:45:52 +08:00
parent ec051bf049
commit c8d276d770
107 changed files with 119 additions and 3436 deletions

View File

@@ -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)