pdd 物料详情

This commit is contained in:
suyl
2021-04-27 16:05:51 +08:00
parent db199feb00
commit 37c188ffa7
8 changed files with 76 additions and 0 deletions

View File

@@ -45,6 +45,17 @@ type ActivityList struct {
Img string `json:"img"` //活动图
}
type GoodsDetail struct {
GoodsList
MainImg string `json:"mainImg"`
Imgs string `json:"imgs"`
StoreImg string `json:"storeImg"` //店铺图片
StoreName string `json:"storeName"` //店铺名
LgstTxt string `json:"lgstTxt"` //物流分
DescTxt string `json:"descTxt"` //描述分
ServTxt string `json:"servTxt"` //服务分
}
type GoodsList struct {
GoodsID string `json:"goodsID"`
GoodsName string `json:"goodsName"`
@@ -72,6 +83,7 @@ type UnionInterface interface {
GetUnionActList(ctx *jxcontext.Context, actType int) (result []*ActivityList, err error)
CreateUnionPosition(ctx *jxcontext.Context, userID string) (sID string, err error)
GetUnionMatterList(ctx *jxcontext.Context, vendorCatID, keyword string, page, pageSize, sortType int, listID string) (result *MatterList, err error)
GetUnionMatterDetail(ctx *jxcontext.Context, goodsID string) (result *GoodsDetail, err error)
}
func GetHandler(vendorID int) UnionInterface {