Commit e9b8078f authored by 董建华's avatar 董建华

增加校验

parent 25d50705
......@@ -472,7 +472,7 @@ public class UserController implements IBaseController {
String token = request.getHeader("x-auth-token");
if (null == token) {
if (null == token || "".equals(token)) {
return JsonResult.buildErrorStateResult("token缺失", null);
}
userService.logout(token);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment