feat(distribution): 优化货架批量操作、结算大事务、大盘与前台多端解析缓存及货架分页
This commit is contained in:
@@ -408,9 +408,37 @@ type UpdateAccountMarkupRequest struct {
|
||||
ShelfRatioDelta float64 `json:"shelf_ratio_delta"`
|
||||
}
|
||||
|
||||
type AccountMarkupItem struct {
|
||||
ID uint64 `json:"id,omitempty"`
|
||||
ListingID uint64 `json:"listing_id,omitempty"`
|
||||
ShelfRatioDelta float64 `json:"shelf_ratio_delta"`
|
||||
}
|
||||
|
||||
type BatchUpdateAccountMarkupRequest struct {
|
||||
ListingIDs []uint64 `json:"listing_ids" binding:"required"`
|
||||
ShelfRatioDelta float64 `json:"shelf_ratio_delta"`
|
||||
ListingIDs []uint64 `json:"listing_ids"`
|
||||
DisplayIDs []uint64 `json:"display_ids"`
|
||||
ShelfRatioDelta float64 `json:"shelf_ratio_delta"`
|
||||
Items []AccountMarkupItem `json:"items"`
|
||||
}
|
||||
|
||||
type BatchUpdateAccountDisplayRequest struct {
|
||||
DisplayIDs []uint64 `json:"display_ids"`
|
||||
ListingIDs []uint64 `json:"listing_ids"`
|
||||
TargetStatus string `json:"target_status" binding:"required,oneof=enabled disabled"`
|
||||
}
|
||||
|
||||
type AccountDisplayQuery struct {
|
||||
Page int `form:"page" json:"page"`
|
||||
PageSize int `form:"page_size" json:"page_size"`
|
||||
Status string `form:"status" json:"status"`
|
||||
Keyword string `form:"keyword" json:"keyword"`
|
||||
}
|
||||
|
||||
type AccountDisplayPageDTO struct {
|
||||
Items []AccountDisplayDTO `json:"items"`
|
||||
Total int64 `json:"total"`
|
||||
Page int `json:"page"`
|
||||
PageSize int `json:"page_size"`
|
||||
}
|
||||
|
||||
// 商户钱包与提现 DTO
|
||||
|
||||
Reference in New Issue
Block a user