【7.0.4】【c】更新用户过期机制

pull/22/head
fengshuonan 2021-07-18 22:56:41 +08:00
parent d7f8b5a801
commit ccd16bacd2
1 changed files with 3 additions and 0 deletions

View File

@ -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));
}
/**