Ver código fonte

扫码领券

guoshuai 2 dias atrás
pai
commit
d3c6a51a77

+ 1 - 1
src/main/java/com/qmrb/system/controller/CaSignController.java

@@ -2428,7 +2428,7 @@ public class CaSignController {
             String key = "contractId";
             String redisKey = RandomUtil.randomString(10);
             String base64 = iUserService.getCouponQRCode(toolWxConfigService.findConf(),key, redisKey);
-            redisTemplate.opsForValue().set(key,contract.getId(),overDue,TimeUnit.SECONDS);
+            redisTemplate.opsForValue().set(redisKey,contract.getId(),overDue,TimeUnit.SECONDS);
 
             // String url = contract.getQrcodeLoginUrl() + "?contractId=" + uuid;
             //