fix: 修复redis密码 优化权限
This commit is contained in:
@@ -158,7 +158,7 @@ class BaseController
|
||||
* @param string $app
|
||||
* @return Response
|
||||
*/
|
||||
protected function retResponseError(string $msg = '404 not found', int $code = 404, string $app = 'index'): Response
|
||||
protected function responseError(string $msg = '404 not found', int $code = 404, string $app = 'index'): Response
|
||||
{
|
||||
if (\request()->expectsJson()) {
|
||||
return json(['code' => 404, 'msg' => $msg]);
|
||||
|
||||
Reference in New Issue
Block a user