refactor(price): 重构价格购买方法命名以明确用途

- 将 isBuy 方法重命名为 isOnePriceBuy 以准确反映其功能
- 更新所有调用点以使用新的方法名
- 清理未使用的导入包和变量声明
- 移除与一口价购买无关的冗余代码引用
This commit is contained in:
2025-11-21 19:48:54 +08:00
parent fb82329a88
commit 2be30c6eb4
3 changed files with 3 additions and 8 deletions

View File

@@ -118,7 +118,7 @@ public class VideoRepository {
}
// 一口价
IsBuyBatchRespVO buy = priceBiz.isBuy(userId, memberVideo.getFaceId(), memberVideo.getScenicId(), -1, null);
IsBuyBatchRespVO buy = priceBiz.isOnePriceBuy(userId, memberVideo.getFaceId(), memberVideo.getScenicId(), -1, null);
if (buy == null) {
return false;
}