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

Commit a754c8bd authored by 张国柄's avatar 张国柄

~暂时去除券降级MDB;

parent eae37911
......@@ -1264,11 +1264,12 @@ public class GoblinRedisUtils {
long s = System.nanoTime();
String valStr = (String) redisUtil.get(rk);
log.info("RDS.G耗时:{}ms", (System.nanoTime() - s) / 1000000);
List<GoblinUserCouponVo> vos = null;
List<GoblinUserCouponVo> vos;
if (StringUtils.isEmpty(valStr)) {
// if (!CollectionUtils.isEmpty(vos = goblinMongoUtils.getUserCouponVos(uid))) {
// redisUtil.set(rk, JsonUtils.toJson(vos));
// }
return ObjectUtil.getGoblinUserCouponVo();
} else {
s = System.nanoTime();
vos = JsonUtils.fromJson(valStr, new TypeReference<List<GoblinUserCouponVo>>() {
......
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