|
@@ -120,6 +120,7 @@ import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.springframework.beans.BeanUtils;
|
|
import org.springframework.beans.BeanUtils;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+import org.springframework.beans.factory.annotation.Qualifier;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.data.redis.core.RedisTemplate;
|
|
import org.springframework.data.redis.core.RedisTemplate;
|
|
import org.springframework.scheduling.annotation.Async;
|
|
import org.springframework.scheduling.annotation.Async;
|
|
@@ -186,9 +187,11 @@ public class FsStorePaymentServiceImpl implements IFsStorePaymentService {
|
|
private RedisCache redisCache;
|
|
private RedisCache redisCache;
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
|
|
+ @Qualifier("redisTemplateForBigDecimal")
|
|
private RedisTemplate<String,BigDecimal> redisTemplate;
|
|
private RedisTemplate<String,BigDecimal> redisTemplate;
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
|
|
+ @Qualifier("redisTemplateForInteger")
|
|
private RedisTemplate<String,Integer> redisTemplateInteger;
|
|
private RedisTemplate<String,Integer> redisTemplateInteger;
|
|
/**
|
|
/**
|
|
* 红包领取数量限制 默认一个用户当天最多只能领取10个
|
|
* 红包领取数量限制 默认一个用户当天最多只能领取10个
|