Parcourir la source

调整

master
zouhantao il y a 1 mois
Parent
révision
3f66180c1b

+ 1
- 1
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/ass/ActiveManagerImpl.java Voir le fichier

@@ -168,7 +168,7 @@ public class ActiveManagerImpl extends AbstractCommManager implements ActiveMana
@Override
public void checkSendCode(CheckCodeRequest request) throws ManagerException {
request.validate();
String smsCode = redisManager.get(RedisKeyGenerator.getSmsCodeKey(request.getMobile(), request.getLoginSource(), 4));
String smsCode = redisManager.get(RedisKeyGenerator.getSmsCodeKey(request.getMobile(), request.getOrderSource().name(), 4));
if (!hasText(smsCode))
throw GlyServiceError.BUSINESS_VALIDATE_ERR.toHandleException("短信验证码已过期,请重新发送");
if (!smsCode.equals(request.getCode()))

Chargement…
Annuler
Enregistrer