|  | @@ -16,6 +16,7 @@ import org.slf4j.LoggerFactory;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import javax.annotation.PostConstruct;
 | 
	
		
			
				|  |  |  import java.util.List;
 | 
	
		
			
				|  |  | +import java.util.concurrent.TimeUnit;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  @Service
 | 
	
	
		
			
				|  | @@ -32,7 +33,7 @@ public class SysConfigPaymentServiceImpl extends ServiceImpl<SysConfigPaymentDao
 | 
	
		
			
				|  |  |      private void init() {
 | 
	
		
			
				|  |  |          List<SysConfigPayment> sysConfigPayments = baseMapper.selectList(Wrappers.emptyWrapper());
 | 
	
		
			
				|  |  |          for (SysConfigPayment configPayment : sysConfigPayments) {
 | 
	
		
			
				|  |  | -            redissonClient.getBucket(REDIS_KEY + ":" + configPayment.getOpenType() + ":" + configPayment.getParamName()).set(configPayment);
 | 
	
		
			
				|  |  | +            redissonClient.getBucket(REDIS_KEY + ":" + configPayment.getOpenType() + ":" + configPayment.getParamName()).set(configPayment, 30, TimeUnit.MINUTES);
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -57,7 +58,7 @@ public class SysConfigPaymentServiceImpl extends ServiceImpl<SysConfigPaymentDao
 | 
	
		
			
				|  |  |                      .eq(SysConfigPayment::getClient, platform)
 | 
	
		
			
				|  |  |                      .eq(SysConfigPayment::getParamName, paramName)
 | 
	
		
			
				|  |  |              );
 | 
	
		
			
				|  |  | -            redissonClient.getBucket(REDIS_KEY + ":" + openType.getCode() + ":" + platform + ":" + paramName).set(configPayment);
 | 
	
		
			
				|  |  | +            redissonClient.getBucket(REDIS_KEY + ":" + openType.getCode() + ":" + platform + ":" + paramName).set(configPayment, 30, TimeUnit.MINUTES);
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          return configPayment;
 | 
	
		
			
				|  |  |      }
 |