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

修改try

parent ec857137
...@@ -97,12 +97,13 @@ public class LoginInterceptorAspect { ...@@ -97,12 +97,13 @@ public class LoginInterceptorAspect {
LoginRefuseResult result = verification(scDeviceId, phone); LoginRefuseResult result = verification(scDeviceId, phone);
if (!result.isPass()) {
log.warn("登录命中风控策略deviceId:{},phone:{},realIp:{},deviceCode:{}", deviceId, phone, realIp, deviceCode);
return JsonResult.buildErrorStateResult(ALERT_WORDS, null);
}
Object loginResult = null; Object loginResult = null;
try { try {
if (!result.isPass()) {
log.warn("登录命中风控策略deviceId:{},phone:{},realIp:{},deviceCode:{}", deviceId, phone, realIp, deviceCode);
return JsonResult.buildErrorStateResult(ALERT_WORDS, null);
}
loginResult = pjp.proceed(); loginResult = pjp.proceed();
} catch (Exception e) { } catch (Exception e) {
throw e; throw e;
......
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