修改原有框架中英文映射
This commit is contained in:
@@ -30,7 +30,7 @@ class SystemLog implements MiddlewareInterface
|
||||
// 记录日志
|
||||
Event::emit('user.operateLog', true);
|
||||
} catch (\Throwable $e) {
|
||||
throw new ApiException('登录凭获取失败,请检查');
|
||||
throw new ApiException('Failed to get login credential, please check');
|
||||
}
|
||||
}
|
||||
return $handler($request);
|
||||
|
||||
Reference in New Issue
Block a user