Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
owen 2023-12-13 16:24:57 +08:00
commit 6de17c38fd
3 changed files with 7 additions and 4 deletions

View File

@ -27,12 +27,12 @@ public class AppCommentPageReqVO extends PageParam {
*/
public static final Integer NEGATIVE_COMMENT = 3;
@Schema(description = "商品SPU编号", example = "29502")
@NotNull(message = "商品SPU编号不能为空")
@Schema(description = "商品 SPU 编号", example = "29502")
@NotNull(message = "商品 SPU 编号不能为空")
private Long spuId;
@Schema(description = "app 评论页 tab 类型 (0 全部、1 好评、2 中评、3 差评)", example = "0")
@NotNull(message = "商品SPU编号不能为空")
@NotNull(message = "商品 SPU 编号不能为空")
private Integer type;
}

View File

@ -99,6 +99,9 @@ public class AppActivityController {
.setSpuId(item.getSpuId()).setStartTime(item.getStartTime()).setEndTime(item.getEndTime()));
});
}
// TODO 芋艿满减送活动
// TODO 芋艿限时折扣活动
return activityList;
}

View File

@ -47,7 +47,7 @@ public class AppCouponTemplateController {
@Operation(summary = "获得优惠劵模版列表")
@Parameters({
@Parameter(name = "spuId", description = "商品 SPU 编号"), // 目前主要给商品详情使用
@Parameter(name = "useType", description = "使用类型"),
@Parameter(name = "productScope", description = "使用类型"),
@Parameter(name = "count", description = "数量", required = true)
})
public CommonResult<List<AppCouponTemplateRespVO>> getCouponTemplateList(