23 lines
455 B
Go
23 lines
455 B
Go
package proto
|
|
|
|
import (
|
|
"service/api/base"
|
|
"service/dbstruct"
|
|
)
|
|
|
|
// 主页
|
|
type MainPageReq struct {
|
|
base.BaseRequest
|
|
}
|
|
|
|
type MainPageData struct {
|
|
BannerList []*dbstruct.Banner `json:"banner_list"` // banner
|
|
InfluencerList []*dbstruct.Catalog `json:"influencer_list"` // 网红
|
|
ArtistList []*dbstruct.Catalog `json:"artist_list"` // 明星艺人
|
|
}
|
|
|
|
type MainPageResp struct {
|
|
base.BaseResponse
|
|
Data *MainPageData `json:"data"`
|
|
}
|