|
@@ -145,6 +145,11 @@ public class WxUserServiceImpl extends ServiceImpl<IWxUserMapper, WxUser> implem
|
|
|
if(phoneObj==null){
|
|
|
throw new BusinessException(ResultCode.WX_PHONE_ERROR);
|
|
|
}
|
|
|
+ log.info(phoneObj.toJSONString());
|
|
|
+ List<WxUser> wxUsers = this.getByPhone(phoneObj.getString("phoneNumber"));
|
|
|
+ if(wxUsers.size() >0){
|
|
|
+ throw new BusinessException(ResultCode.WX_PHONE_EXIST);
|
|
|
+ }
|
|
|
//return phoneObj.getString("phoneNumber");
|
|
|
return phoneObj;
|
|
|
} catch (Exception e){
|