feat(tenant): 增加双站共享货架与跨站下单
This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
||||
|
||||
type ListingDTO struct {
|
||||
ID uint64 `json:"id"`
|
||||
SourceTenantID uint64 `json:"source_tenant_id"`
|
||||
ListingNo string `json:"listing_no"`
|
||||
AccountID uint64 `json:"account_id"`
|
||||
OwnerID uint64 `json:"owner_id"`
|
||||
@@ -187,6 +188,19 @@ type PublicListResult struct {
|
||||
ZoneCounts map[string]int64 `json:"zone_counts"`
|
||||
}
|
||||
|
||||
type TenantListingOfferDTO struct {
|
||||
TenantID uint64 `json:"tenant_id"`
|
||||
ListingID uint64 `json:"listing_id"`
|
||||
DisplayStatus string `json:"display_status"`
|
||||
PriceCent *int64 `json:"price_cent"`
|
||||
EffectivePriceCent int64 `json:"effective_price_cent"`
|
||||
}
|
||||
|
||||
type UpdateTenantListingOfferRequest struct {
|
||||
DisplayStatus string `json:"display_status"`
|
||||
PriceCent *int64 `json:"price_cent"`
|
||||
}
|
||||
|
||||
type AdminActionRequest struct {
|
||||
Reason string `json:"reason" binding:"required"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user