|
|
@ -56,12 +56,8 @@ public class RetailValidationController implements ApplicationEventPublisherAwar
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
private RetailAppService retailAppService;
|
|
|
|
private RetailAppService retailAppService;
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
private ClientManager clientManager;
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
|
|
|
|
private SimpleClientApplyService simpleClientApplyService;
|
|
|
|
private SimpleClientApplyService simpleClientApplyService;
|
|
|
|
private ApplicationEventPublisher publisher;
|
|
|
|
private ApplicationEventPublisher publisher;
|
|
|
|
@Resource
|
|
|
|
|
|
|
|
private ManageAppService manageAppService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) {
|
|
|
|
public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) {
|
|
|
@ -83,7 +79,7 @@ public class RetailValidationController implements ApplicationEventPublisherAwar
|
|
|
|
HttpUtils.handleValidErrors(errors);
|
|
|
|
HttpUtils.handleValidErrors(errors);
|
|
|
|
String codeValue = signInStatusManager.getVerifyCode(loginInfo.getCaptchaKey());
|
|
|
|
String codeValue = signInStatusManager.getVerifyCode(loginInfo.getCaptchaKey());
|
|
|
|
if (codeValue == null) {
|
|
|
|
if (codeValue == null) {
|
|
|
|
logger.error("异常商户信息:" + loginInfo.toString());
|
|
|
|
logger.error("异常商户信息:{}", loginInfo);
|
|
|
|
throw new BadRequestException("Verification code has expired");
|
|
|
|
throw new BadRequestException("Verification code has expired");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!codeValue.equals(loginInfo.getVerifyCode())) {
|
|
|
|
if (!codeValue.equals(loginInfo.getVerifyCode())) {
|
|
|
|