fix(distribution): 收紧分销权限与货架状态,开通时创建站点金库
无站点成员不再视为超管;分站下架只改展示状态;装修、批量加价与提现参数对齐。
This commit is contained in:
@@ -350,13 +350,13 @@ type UpdateReceivedListingStatusRequest struct {
|
||||
Status string `json:"status" binding:"required,oneof=published offline"`
|
||||
}
|
||||
|
||||
// 站点品牌与装修 DTO
|
||||
// 站点品牌与装修 DTO。指针字段未传则保持原值,避免空字符串把装修清掉。
|
||||
type UpdateSiteBrandingRequest struct {
|
||||
LogoURL string `json:"logo_url"`
|
||||
FaviconURL string `json:"favicon_url"`
|
||||
BannersJSON string `json:"banners_json"`
|
||||
AnnouncementsJSON string `json:"announcements_json"`
|
||||
FooterInfoJSON string `json:"footer_info_json"`
|
||||
LogoURL *string `json:"logo_url"`
|
||||
FaviconURL *string `json:"favicon_url"`
|
||||
BannersJSON *string `json:"banners_json"`
|
||||
AnnouncementsJSON *string `json:"announcements_json"`
|
||||
FooterInfoJSON *string `json:"footer_info_json"`
|
||||
}
|
||||
|
||||
// 自主加价 DTO
|
||||
@@ -379,7 +379,7 @@ type SiteWalletDTO struct {
|
||||
}
|
||||
|
||||
type ApplySiteWithdrawalRequest struct {
|
||||
SiteID uint64 `json:"site_id" binding:"required"`
|
||||
SiteID uint64 `json:"site_id"`
|
||||
AmountCent int64 `json:"amount_cent" binding:"required,gt=0"`
|
||||
AccountType string `json:"account_type" binding:"required,oneof=alipay bank"`
|
||||
AccountName string `json:"account_name" binding:"required"`
|
||||
|
||||
Reference in New Issue
Block a user