You've already forked FrameTour-BE
refactor(price): 重构价格购买方法命名以明确用途
- 将 isBuy 方法重命名为 isOnePriceBuy 以准确反映其功能 - 更新所有调用点以使用新的方法名 - 清理未使用的导入包和变量声明 - 移除与一口价购买无关的冗余代码引用
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user