Commit bd702d87 by huluobin

update

parent 14f571bf
......@@ -265,8 +265,8 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer> i
phoneCustomer.setState(customer.getState());
phoneCustomer.setUpdateTime(new Date());
customerMapper.updateById(phoneCustomer);
customerMapper.deleteById(customer);
customerMapper.updateById(phoneCustomer);
List<ScheduleManage> scheduleManageList = scheduleManageMapper.selectList(new LambdaQueryWrapper<ScheduleManage>()
.eq(ScheduleManage::getTelephone, phone));
......
......@@ -78,7 +78,7 @@ public class GogirlTokenServiceImpl implements GogirlTokenService {
GogirlToken gogirlToken = SessionUtils.getCustomerToken();
Customer customer = customerMapper.selectById(gogirlToken.getCustomerId());
if (StringUtils.isEmpty(realName)) {
if (StringUtils.isNotEmpty(realName)) {
customer.setRealName(realName);
}
customer.setBirthday(birthday);
......@@ -86,7 +86,7 @@ public class GogirlTokenServiceImpl implements GogirlTokenService {
customer.setSex(sex);
}
if (StringUtils.isEmpty(phone)) {
if (StringUtils.isNotEmpty(phone)) {
customer.setPhone(phone);
}
......
......@@ -30,6 +30,7 @@ public class MvcInterceptorConfig extends WebMvcConfigurationSupport {
//登陆
.excludePathPatterns("/customer/message/loginLog")
.excludePathPatterns("/customer/message/pageIn")
.excludePathPatterns("/customer/message/pageOut")
.excludePathPatterns("/customer/message/logoutLog")
.excludePathPatterns("/customer/xcx/login")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment