|
|
@ -87,7 +87,11 @@ public class MustLoginAspect { |
|
|
|
return result; |
|
|
|
} |
|
|
|
//必须登录,未登录直接返回未登录相关信息
|
|
|
|
if (response == null || response.getCode().intValue() != CodeEnum.SUCCESS.getCode().intValue()) { |
|
|
|
//必须登录,未登录直接返回未登录相关信息
|
|
|
|
if (response == null) { |
|
|
|
return JsonResponse.newInstance().ok(CodeEnum.NOT_LOGIN); |
|
|
|
} |
|
|
|
if (response.getCode().intValue() != CodeEnum.SUCCESS.getCode().intValue()) { |
|
|
|
return response; |
|
|
|
} |
|
|
|
if (response.getData() == null) { |
|
|
|