fix: 修复redis密码 优化权限

This commit is contained in:
Ying
2023-08-04 11:13:14 +08:00
parent 87c4137912
commit 732a385498
14 changed files with 110 additions and 46 deletions

View File

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