【7.0.4】【c】增加邮箱校验

pull/22/head
fengshuonan 2021-06-09 17:57:23 +08:00
parent b4ff01b9e3
commit 4bc438d15c
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer> i
customerLambdaQueryWrapper.eq(Customer::getEmail, customerRequest.getEmail()); customerLambdaQueryWrapper.eq(Customer::getEmail, customerRequest.getEmail());
Customer customer = this.getOne(customerLambdaQueryWrapper, false); Customer customer = this.getOne(customerLambdaQueryWrapper, false);
if (customer == null) { if (customer == null) {
return; throw new CustomerException(CustomerExceptionEnum.CANT_FIND_CUSTOMER,customerRequest.getEmail());
} }
// 邮箱验证码 // 邮箱验证码