feat: 添加用户优惠券列表接口及相关数据结构
This commit is contained in:
14
backend/app/http/v1/dto/coupon.go
Normal file
14
backend/app/http/v1/dto/coupon.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package dto
|
||||
|
||||
type UserCouponItem struct {
|
||||
ID string `json:"id"`
|
||||
CouponID string `json:"coupon_id"`
|
||||
Title string `json:"title"`
|
||||
Description string `json:"description"`
|
||||
Type string `json:"type"`
|
||||
Value int64 `json:"value"`
|
||||
MinOrderAmount int64 `json:"min_order_amount"`
|
||||
StartAt string `json:"start_at"`
|
||||
EndAt string `json:"end_at"`
|
||||
Status string `json:"status"`
|
||||
}
|
||||
Reference in New Issue
Block a user