Commit 6dde66fd by xugaojun

更改设置缓存顺序

parent 4e4bdffd
......@@ -688,9 +688,9 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
RedisUtil.unlock(lockKey);
return dto;
} else {
RedisUtil.setCache(key, dto, 60L);
String memberUnionidRelatedId = memberUnionRelatedService.addMemberUnionidRelated(dto);
dto.setMemberUnionidRelatedId(memberUnionidRelatedId);
RedisUtil.setCache(key, dto, 60L);
RedisUtil.unlock(lockKey);
return null;
}
......
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