You've already forked FrameTour-BE
一口价查询
This commit is contained in:
@@ -98,6 +98,10 @@ public class OrderRepository {
|
||||
return checkUserBuyItem(userId, 0, videoId);
|
||||
}
|
||||
|
||||
public boolean checkUserBuyTemplate(Long userId, Long templateId) {
|
||||
return checkUserBuyItem(userId, -1, templateId);
|
||||
}
|
||||
|
||||
public void clearUserBuyItemCache(Long userId, int goodsType, Long goodsId) {
|
||||
redisTemplate.delete(String.format(ORDER_USER_TYPE_BUY_ITEM_CACHE_KEY, userId, goodsType, goodsId));
|
||||
}
|
||||
|
Reference in New Issue
Block a user