perf:空指针调整
This commit is contained in:
@@ -20,8 +20,7 @@ public class DoLoginInfo {
|
||||
this.info = info;
|
||||
|
||||
// 设置IP
|
||||
HttpServletRequest request = ServletKit.getRequest();
|
||||
this.loginIp = ServletKit.getClientIP(request);
|
||||
this.loginIp = ServletKit.getClientIP();
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user