修改包

This commit is contained in:
TinyAnts
2022-12-21 12:06:38 +08:00
parent 9beff48e28
commit dc5ed4b14b
2 changed files with 2 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ public class LikeAdminInterceptor implements HandlerInterceptor {
// Token是否为空
String token = StpUtil.getTokenValue();
if (com.baomidou.mybatisplus.core.toolkit.StringUtils.isBlank(token)) {
if (StringUtils.isBlank(token)) {
AjaxResult<Object> result = AjaxResult.failed(HttpEnum.TOKEN_EMPTY.getCode(), HttpEnum.TOKEN_EMPTY.getMsg());
response.getWriter().print(JSON.toJSONString(result));
return false;