增加线下提号店铺管理
This commit is contained in:
@@ -37,6 +37,7 @@ type PickupDTO struct {
|
||||
OwnerPhone string `json:"owner_phone"`
|
||||
AdminID uint64 `json:"admin_id"`
|
||||
Platform string `json:"platform"`
|
||||
ShopName string `json:"shop_name"`
|
||||
ListingPriceCent int64 `json:"listing_price_cent"`
|
||||
OwnerPriceCent int64 `json:"owner_price_cent"`
|
||||
WebsiteProfitCent int64 `json:"website_profit_cent"`
|
||||
@@ -56,6 +57,7 @@ type PickupDTO struct {
|
||||
type CreateRequest struct {
|
||||
ListingID uint64 `json:"listing_id" binding:"required"`
|
||||
Platform string `json:"platform"`
|
||||
ShopName string `json:"shop_name" binding:"max=100"`
|
||||
ProfitAmountCent int64 `json:"profit_amount_cent"`
|
||||
Remark string `json:"remark"`
|
||||
}
|
||||
@@ -80,6 +82,7 @@ type AdminPickupQuery struct {
|
||||
PageSize int
|
||||
Keyword string
|
||||
Status string
|
||||
ShopName string
|
||||
}
|
||||
|
||||
type SellerPickupQuery struct {
|
||||
|
||||
Reference in New Issue
Block a user