|
@@ -66,10 +66,10 @@ public class AccountServiceImpl implements AccountService {
|
|
|
log.error("户号不存在:{}", accountBindVo.getAccountNum());
|
|
|
throw new CustomException("户号不存在!");
|
|
|
}
|
|
|
- // if (!swUserManagementVo.getUsername().equals(accountBindVo.getPhoneNum())) {
|
|
|
- // log.error("户名错误");
|
|
|
- // throw new CustomException("户名错误!");
|
|
|
- // }
|
|
|
+ if (StringUtils.isBlank(accountBindVo.getPhoneNum())) {
|
|
|
+ log.error("手机号");
|
|
|
+ throw new CustomException("手机号必填!");
|
|
|
+ }
|
|
|
String openId = WeChatUtils.getCurrentWeChatOpenId();
|
|
|
if (swUserManagementVo.getWechatSign().contains(openId)) {
|
|
|
log.error("当前户号已绑定");
|