Commit dae828bd authored by 李健华's avatar 李健华

去掉IP白名单注释2

parent f3632394
......@@ -35,6 +35,7 @@ public class IpValidateAdvisor {
HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest();
// 客户端IP
String clientIp = IpUtil.getRemoteIP(request);
log.error("Lock_ipv4-success: don't match white ip access:{}", clientIp);
// 白名单
if (IpUtil.whiteOf(clientIp)) {
......
......@@ -309,7 +309,7 @@ public class AppController implements IBaseController {
* @yapi http://yapi.quantgroups.com/project/17/interface/api/171
*/
@LoginInterceptor
// @IpValidator
@IpValidator
@RequestMapping("/login2")
@ApiOperation(value = "免密登陆, 新手机号不自动注册", notes = "免密登陆, 新手机号不自动注册", httpMethod = "POST")
public JsonResult login2(
......
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