新增合作与反馈入口配置
This commit is contained in:
@@ -22,10 +22,11 @@ type HomeAnnouncementsDTO struct {
|
||||
}
|
||||
|
||||
type HomeConfigDTO struct {
|
||||
Announcements []string `json:"announcements"`
|
||||
Banners []HomeBannerItem `json:"banners"`
|
||||
PublishOptions PublishOptionsDTO `json:"publish_options"`
|
||||
AWRecycle AWRecycleConfig `json:"aw_recycle"`
|
||||
Announcements []string `json:"announcements"`
|
||||
Banners []HomeBannerItem `json:"banners"`
|
||||
PublishOptions PublishOptionsDTO `json:"publish_options"`
|
||||
AWRecycle AWRecycleConfig `json:"aw_recycle"`
|
||||
CooperationFeedback CooperationFeedbackConfig `json:"cooperation_feedback"`
|
||||
}
|
||||
|
||||
// AWRecycleConfig 首页「AW炫彩回收」入口:点击展示可配置图片。
|
||||
@@ -36,6 +37,14 @@ type AWRecycleConfig struct {
|
||||
Enabled bool `json:"enabled"`
|
||||
}
|
||||
|
||||
// CooperationFeedbackConfig 首页「合作与反馈」入口:点击展示可配置图片。
|
||||
type CooperationFeedbackConfig struct {
|
||||
Title string `json:"title"`
|
||||
Subtitle string `json:"subtitle"`
|
||||
ImageURL string `json:"image_url"`
|
||||
Enabled bool `json:"enabled"`
|
||||
}
|
||||
|
||||
type OrderAgreementsDTO struct {
|
||||
VirtualAssetPurchase AgreementContentDTO `json:"virtual_asset_purchase"`
|
||||
RenterAgreement AgreementContentDTO `json:"renter_agreement"`
|
||||
|
||||
Reference in New Issue
Block a user