打折活动

打折活动

获取单个打折活动信息

GET /plugins/discount/discounts/{discountId}

权限

  • 不需要认证用户

响应

成功响应Discount结构体

字段 描述
id int string ID
name string 名称
type enum{discount,free,global} 类型(discount:限时打折, free:限时免费, global:全站打折)
startTime datetime 活动开始时间
endTime datetime 活动结束时间
itemType string 活动对象类型
itemCount int string 活动对象数量
globalDiscount int string 全站打折折扣率
status enum{unstart,finished,running} 活动状态

results matching ""

    No results matching ""