1234567891011121314151617181920212223242526272829303132333435363738 |
- package http_model
- type TalentLocalListRequest struct {
- PageSize int64 `json:"page_size"`
- PageNum int64 `json:"page_num"`
- PlatformUserId int `json:"platform_user_id"` // 平台用户ID
- Nickname string `json:"nickname"` // 昵称
- }
- type TalentLocalListData struct {
- TalentLocalDataListInfo []*TalentLocalData `json:"talent_local_data_list_info"`
- Total int64 `json:"total"`
- }
- type TalentLocalData struct {
- // 任务信息
- LocalName string `json:"local_name"` // 种草任务名称
- StoreMainPhotoUrl string `json:"store_main_photo_url"` // 门店主图URL
- StoreMainPhotoSymbol int64 `json:"store_main_photo_symbol"` // 标志位
- StoreMainPhotoUid string `json:"store_main_photo_uid"` // uid
- StoreName string `json:"store_name"` // 门店名称
- StoreId int `json:"store_id"` // 门店ID
- ReadNum int `json:"read_num"` // 阅读数
- VoteNum int `json:"vote_num"` // 点赞数
- CollectNum int `json:"collect_num"` // 收藏数
- CommitNum int `json:"commit_num"` // 评论数
- }
- func NewTalentLocalListRequest() *TalentLocalListRequest {
- return new(TalentLocalListRequest)
- }
- func NewTalentLocalListResponse() *CommonResponse {
- resp := new(CommonResponse)
- resp.Data = new(TalentLocalListData)
- return resp
- }
|