|
@@ -86,8 +86,9 @@ public class ApiAspect {
|
|
|
throw new RemoteServiceException(ResponseHelper.ResponseCode_TOKEN_ID_ERROR, "请求不合法");
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+ log.info("用户"+jwtUserId+"mysql开始时间"+ DateUtil.format(new Date(),"yyyy-MM-dd HH:mm:ss"));
|
|
|
User userToken = userService.getById(jwtUserId);
|
|
|
+
|
|
|
if (userToken == null) {
|
|
|
throw new RemoteServiceException(ResponseHelper.ResponseCode_TOKEN_ID_ERROR, "请求不合法");
|
|
|
}
|
|
@@ -97,6 +98,7 @@ public class ApiAspect {
|
|
|
if(user == null){
|
|
|
throw new RemoteServiceException(ResponseHelper.ResponseCode_AUTH_ERROR, "用户不存在,请联系相关人员");
|
|
|
}
|
|
|
+ log.info("用户"+jwtUserId+"mysql结束时间"+ DateUtil.format(new Date(),"yyyy-MM-dd HH:mm:ss"));
|
|
|
}
|
|
|
|
|
|
private Method getSourceMethod(JoinPoint jp) {
|