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