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

抓住异常保证登录可以正常

parent 91bb84b7
......@@ -175,7 +175,7 @@ public class DeviceInterceptorAspect {
* @param ip
*/
private void saveLoginInfo(String phone, String deviceCode, String deviceId, String ip) {
try {
/**
* 默认code不需要
* 默认CODE 不存
......@@ -211,6 +211,10 @@ public class DeviceInterceptorAspect {
info.setLastIp(ip);
loginInfoRepository.save(info);
} catch (Exception e) {
log.error("保存登录信息异常phone:{}", phone, 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