手机号授权:发送验证码传参顺序问题
This commit is contained in:
@@ -84,7 +84,7 @@ public class SmsController extends BaseController {
|
||||
}
|
||||
// 对86手机进行授权码校验处理
|
||||
if (Constant.CHINA_MAINLAND_PHONE_AREA_CODE.equals(phoneAreaCode) && SmsTypeEnum.PHONE_AUTH_APPLY_CODE.value != type) {
|
||||
PhoneAuthApplyRecord applyRecord = phoneAuthApplyRecordService.getAuthApplyRecord(phoneAreaCode, mobile);
|
||||
PhoneAuthApplyRecord applyRecord = phoneAuthApplyRecordService.getAuthApplyRecord(mobile,phoneAreaCode);
|
||||
if (applyRecord == null || !Constant.PhoneAuthApplyStatus.pass.equals(applyRecord.getStatus())) {
|
||||
throw new ServiceException("該地區暫不開放使用");
|
||||
}
|
||||
|
Reference in New Issue
Block a user