fix 会员系统-个人用户登录 -漏做
This commit is contained in:
+19
@@ -617,6 +617,25 @@ public class PayContactsManagementController extends JeroController<PayContactsM
|
|||||||
}
|
}
|
||||||
return Result.error("该手机号已存在!");
|
return Result.error("该手机号已存在!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 会员系统查询手机号是否存在
|
||||||
|
*
|
||||||
|
* @param phone 手机号
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@ApiOperation(value="会员系统查询手机号是否存在")
|
||||||
|
@GetMapping(value = "/standardsCheckPhone")
|
||||||
|
public Result<?> standardsCheckPhone(@RequestParam(name="phone") String phone) {
|
||||||
|
LambdaQueryWrapper<PayContactsManagement> queryWrapper = new LambdaQueryWrapper<>();
|
||||||
|
queryWrapper.eq(PayContactsManagement::getPhone, PasswordUtil.encrypt(phone));
|
||||||
|
PayContactsManagement payContactsManagement = payContactsManagementService.getOne(queryWrapper);
|
||||||
|
if (Objects.nonNull(payContactsManagement)) {
|
||||||
|
return Result.OK();
|
||||||
|
} else {
|
||||||
|
return Result.error("该手机号不存在!");
|
||||||
|
}
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* 通过联系人姓名查询
|
* 通过联系人姓名查询
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user