mirror of https://gitee.com/stylefeng/roses
【7.0.4】【c】更新用户过期机制
parent
d7f8b5a801
commit
ccd16bacd2
|
@ -405,6 +405,9 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer> i
|
|||
wrapper.set(Customer::getMemberExpireTime, expiryDate);
|
||||
wrapper.eq(Customer::getCustomerId, customerId);
|
||||
this.update(wrapper);
|
||||
|
||||
// 清除缓存中的用户信息
|
||||
customerInfoCacheOperatorApi.remove(String.valueOf(customerId));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue