fix: allow clerk apply without sms verification
Some checks failed
Build and Push Backend / docker (push) Failing after 5s
Some checks failed
Build and Push Backend / docker (push) Failing after 5s
This commit is contained in:
@@ -234,7 +234,9 @@ public class WxClerkController {
|
||||
if (entity != null) {
|
||||
throw new CustomException("已有申请未审核");
|
||||
}
|
||||
smsUtils.checkSmsCode(vo.getPhone(), vo.getSmsCode());
|
||||
if (StringUtils.isNotEmpty(vo.getPhone()) && StringUtils.isNotEmpty(vo.getSmsCode())) {
|
||||
smsUtils.checkSmsCode(vo.getPhone(), vo.getSmsCode());
|
||||
}
|
||||
|
||||
entity = ConvertUtil.entityToVo(vo, PlayClerkUserReviewInfoEntity.class);
|
||||
entity.setReviewState("0");
|
||||
|
||||
@@ -44,13 +44,11 @@ public class PlayClerkUserByWxAddVo {
|
||||
/**
|
||||
* 手机号码区号
|
||||
*/
|
||||
@NotBlank(message = "手机号码区号不能为空")
|
||||
private String areaCode;
|
||||
|
||||
/**
|
||||
* 手机号码
|
||||
*/
|
||||
@NotBlank(message = "手机号码不能为空")
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user