📖 MALL:调整接口文档的说明

This commit is contained in:
YunaiV 2023-12-12 12:11:28 +08:00
parent 23df8633f4
commit e71867683e
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; public static final Integer NEGATIVE_COMMENT = 3;
@Schema(description = "商品SPU编号", example = "29502") @Schema(description = "商品 SPU 编号", example = "29502")
@NotNull(message = "商品SPU编号不能为空") @NotNull(message = "商品 SPU 编号不能为空")
private Long spuId; private Long spuId;
@Schema(description = "app 评论页 tab 类型 (0 全部、1 好评、2 中评、3 差评)", example = "0") @Schema(description = "app 评论页 tab 类型 (0 全部、1 好评、2 中评、3 差评)", example = "0")
@NotNull(message = "商品SPU编号不能为空") @NotNull(message = "商品 SPU 编号不能为空")
private Integer type; private Integer type;
} }

View File

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

View File

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