记得上下班打卡 | git大法好,push需谨慎

Commit f2bd54ae authored by 姜秀龙's avatar 姜秀龙

packageStr=null问题解决。缓存 30天

parent 6fec39e7
......@@ -58,9 +58,9 @@ public class RedisKeyExpireConst {
public static final long PERFORMANCES_ARTISTS_EXPIRE = 30 * 24 * 60 * 60;
/**
* 演出关联收钱吧商品缓存过期时间 (5分钟)
* 演出关联收钱吧商品缓存过期时间 (30天)
*/
public static final long SQB_PERFORMANCE_GOODS_EXPIRE = 5 * 60;
public static final long SQB_PERFORMANCE_GOODS_EXPIRE = 30 * 24 * 60 * 60;
/**
* 收钱吧订单详情过期时间 (2小时)
......
package com.liquidnet.common.third.sqb.param.response.data;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
/**
......@@ -77,8 +78,9 @@ public class CreateWechatPrepayOrderData {
private String timeStamp;
/**
* 订单详情扩展字符串
* 订单详情扩展字符串(收钱吧 JSON 字段名为 package,与 Java 关键字冲突故用 packageStr + JsonProperty)
*/
@JsonProperty("package")
private String packageStr;
/**
......
......@@ -44,7 +44,7 @@ public class GoblinSqbRedisUtils {
redisUtil.del(GoblinRedisConst.SQB_ORDER.concat(orderId));
}
/* ---------------------------------------- 演出关联商品缓存(TTL 5min) ---------------------------------------- */
/* ---------------------------------------- 演出关联商品缓存(TTL 30天) ---------------------------------------- */
public void setPerfGoods(String performancesId, List<GoblinSqbPerfGoodsVo> list) {
redisUtil.set(GoblinRedisConst.SQB_PERFORMANCE_GOODS.concat(performancesId), list, RedisKeyExpireConst.SQB_PERFORMANCE_GOODS_EXPIRE);
......
......@@ -45,7 +45,7 @@ public class GoblinSqbRedisUtils {
redisUtil.del(GoblinRedisConst.SQB_ORDER.concat(orderId));
}
/* ---------------------------------------- 演出关联商品缓存(TTL 5min) ---------------------------------------- */
/* ---------------------------------------- 演出关联商品缓存(TTL 30天) ---------------------------------------- */
/**
* 获取演出关联商品
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment