This commit is contained in:
2025-07-28 22:36:30 +08:00
parent a96d9df7e6
commit a3bc9357b5
4 changed files with 40 additions and 8 deletions

View File

@@ -152,6 +152,9 @@ public class OrderBiz {
if (!isBuy) {
if (goodsType == 0) {
VideoEntity video = videoRepository.getVideo(goodsId);
if (video == null) {
return respVO;
}
TaskEntity task = videoTaskRepository.getTaskById(video.getTaskId());
Long templateId = video.getTemplateId();
// -1为整个模板购买