fix(biz):修复用户购买检查逻辑

- 修改PriceBiz中checkUserBuyItem方法的模板ID参数为-1
- 在FaceServiceImpl中增加对模板ID的购买检查逻辑- 确保用户购买状态判断的准确性
This commit is contained in:
2025-09-27 01:50:26 +08:00
parent da89067c48
commit ddbc2a0edb
2 changed files with 4 additions and 1 deletions

View File

@@ -759,6 +759,9 @@ public class FaceServiceImpl implements FaceService {
}
}
boolean buy = orderBiz.checkUserBuyItem(userId, contentPageVO.getGoodsType(), contentPageVO.getContentId());
if (!buy) {
buy = orderBiz.checkUserBuyItem(userId, -1, contentPageVO.getTemplateId());
}
if (buy) {
contentPageVO.setIsBuy(1);
} else {