Przeglądaj źródła

xingxingdiandeng

release_toaliyun_real
xhxu 5 lat temu
rodzic
commit
e74faed572
1 zmienionych plików z 3 dodań i 3 usunięć
  1. +3
    -3
      mallinkService/src/main/java/com/iformall/service/impl/WxAppinfoServiceImpl.java

+ 3
- 3
mallinkService/src/main/java/com/iformall/service/impl/WxAppinfoServiceImpl.java Wyświetl plik

@@ -153,9 +153,9 @@ public class WxAppinfoServiceImpl implements WxAppinfoService {
+ "-" + EnumAppType.C.getCode();
record = RedisCacheUtils.getCacheObject(wxAppinfoRedisTemplate, key, WxAppinfo.class);
if (null == record) {
record = this.getCAppInfo(new TenantEntity() {{
setTenantId(tenantId);
}}, payWayWechat);
TenantEntity tenantEntity = new TenantEntity();
tenantEntity.setTenantId(tenantId);
record = this.getCAppInfo(tenantEntity, payWayWechat);
if(record != null){
RedisCacheUtils.cache(wxAppinfoRedisTemplate, key, record, 3600*24*7);
}


Ładowanie…
Anuluj
Zapisz