Compare commits
No commits in common. "9328472d088ebc87e396ae4c7681a8568ef08c32" and "cc9cc23abd7ca4e8c12c58ef419bc65ecd257f93" have entirely different histories.
9328472d08
...
cc9cc23abd
@ -27,7 +27,7 @@ public class ShopUserRegisterDTO implements Serializable {
|
|||||||
private String username;
|
private String username;
|
||||||
|
|
||||||
@Schema(description = "验证码")
|
@Schema(description = "验证码")
|
||||||
//@NotBlank(message = "验证码不能为空")
|
@NotBlank(message = "验证码不能为空")
|
||||||
private String validCode;
|
private String validCode;
|
||||||
|
|
||||||
public String getUsername() {
|
public String getUsername() {
|
||||||
|
@ -289,10 +289,10 @@ public class ShopUserServiceImpl implements ShopUserService {
|
|||||||
if (mobileRes.getData() > 0) {
|
if (mobileRes.getData() > 0) {
|
||||||
throw new LuckException("该手机号已经被注册!");
|
throw new LuckException("该手机号已经被注册!");
|
||||||
}
|
}
|
||||||
// ServerResponseEntity<Boolean> sendNotifyResponse = notifyFeignClient.checkValidCode(shopUserRegisterDTO.getMobile(), shopUserRegisterDTO.getValidCode(), SendTypeEnum.VALID);
|
ServerResponseEntity<Boolean> sendNotifyResponse = notifyFeignClient.checkValidCode(shopUserRegisterDTO.getMobile(), shopUserRegisterDTO.getValidCode(), SendTypeEnum.VALID);
|
||||||
// if (Objects.equals(sendNotifyResponse.getCode(), ResponseEnum.OK.value()) && Objects.nonNull(sendNotifyResponse.getData()) && !sendNotifyResponse.getData()) {
|
if (Objects.equals(sendNotifyResponse.getCode(), ResponseEnum.OK.value()) && Objects.nonNull(sendNotifyResponse.getData()) && !sendNotifyResponse.getData()) {
|
||||||
// throw new LuckException("验证码有误或已过期");
|
throw new LuckException("验证码有误或已过期");
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user