package http_model type FindStoreRequest struct { StoreID int `json:"store_id"` } type StorePhoto struct { PhotoUrl string `json:"photo_url"` // 图片或视频url PhotoUid string `json:"photo_uid"` Symbol int64 `json:"symbol"` // 标志位,1为主图,2为轮播图,3为轮播图视频,4详情图,5详情图视频 } type FindStoreData struct { StoreId int `json:"store_id"` // 门店id StoreName string `json:"store_name"` // 门店名称 StoreCategory string `json:"store_category"` // 门店类目(/分隔) StoreType int `json:"store_type"` // 门店类型,1单门店,2连锁门店 StoreLocation string `json:"store_location"` // 门店地址 StoreDetail string `json:"store_detail"` // 门店特点 StoreLink string `json:"store_link"` // 分销链接 TeamNum int `json:"team_num"` // 包含团购套餐数 BelongEnterpriseId string `json:"belong_enterprise_id"` // 门店所属商家ID IsDeleted int `json:"is_deleted"` // 已删除(0否 1是) OperateType int `json:"operate_type"` // 操作人类型(1商家 2后台) EnterpriseId string `json:"enterprise_id"` // 商家id SubAccountId int `json:"sub_account_id"` // 商家子账号id CreatedAt string `json:"created_at"` // 创建时间 UpdatedAt string `json:"updated_at"` // 更新时间 StorePhotos []*StorePhoto `json:"store_photos"` // 商品图片列表 } func NewFindStoreRequest() *FindStoreRequest { return new(FindStoreRequest) } func NewFindStoreResponse() *CommonResponse { resp := new(CommonResponse) resp.Data = new(FindStoreData) return resp }