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

Merge branch 'feature/risk-2022-03-23' into 'master'

登陆需要记录相关日志

See merge request !51
parents c2f1f85b f2fcb6d9
......@@ -134,7 +134,9 @@ public class LoginInterceptorAspect {
*/
sendEvent(UserLoginRegEvent.SubEventType.user_attempt_login, device, phone, deviceId, realIp, null, tenantId);
LoginRefuseResult result = verification(deviceId, phone, device, tenantId);
// 调用风控策略逻辑删除
// LoginRefuseResult result = verification(deviceId, phone, device, tenantId);
LoginRefuseResult result = LoginRefuseResult.builder().isPass(Boolean.TRUE).build();
Object loginResult = null;
try {
......
......@@ -112,6 +112,7 @@ public class UserController implements IBaseController {
* @return
* @yapi unknown
*/
@LoginInterceptor
@CaptchaFiniteValidator
@RequestMapping("/loginV1")
public JsonResult loginV1(
......@@ -186,6 +187,7 @@ public class UserController implements IBaseController {
*
* @yapi http://yapi.quantgroups.com/project/17/interface/api/2066
*/
@LoginInterceptor
@RequestMapping("/login/fast")
public JsonResult loginFast(
@RequestParam(required = false, defaultValue = "1") Long channelId, String appChannel,
......
......@@ -311,6 +311,7 @@ public class AppController implements IBaseController {
* @return Token和phoneNo
* @yapi http://yapi.quantgroups.com/project/17/interface/api/171
*/
@LoginInterceptor
@IpValidator
@RequestMapping("/login2")
@ApiOperation(value = "免密登陆, 新手机号不自动注册", notes = "免密登陆, 新手机号不自动注册", httpMethod = "POST")
......
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