pdd物料推荐
This commit is contained in:
@@ -2068,12 +2068,17 @@ func GetUnionJobOrderInfo(ctx *jxcontext.Context, jobOrderID int) (getUnionJobOr
|
||||
return getUnionJobOrderInfoResult, err
|
||||
}
|
||||
|
||||
func GetVendorMatters(ctx *jxcontext.Context, vendorID int, vendorCatID, keyword string, page, pageSize, sortType int, listID string) (result *partner.MatterList, err error) {
|
||||
func GetVendorMatters(ctx *jxcontext.Context, vendorID int, vendorCatID, keyword string, offset, pageSize, sortType int, listID string) (result *partner.MatterList, err error) {
|
||||
handler := partner.GetHandler(vendorID)
|
||||
return handler.GetUnionMatterList(ctx, vendorCatID, keyword, page, pageSize, sortType, listID)
|
||||
return handler.GetUnionMatterList(ctx, vendorCatID, keyword, offset/pageSize+1, pageSize, sortType, listID)
|
||||
}
|
||||
|
||||
func GetVendorMatterDetail(ctx *jxcontext.Context, vendorID int, goodsID string) (goodsDetail *partner.GoodsDetail, err error) {
|
||||
handler := partner.GetHandler(vendorID)
|
||||
return handler.GetUnionMatterDetail(ctx, goodsID)
|
||||
}
|
||||
|
||||
func GetVendorMatterRcmmd(ctx *jxcontext.Context, vendorID int, goodsID string, rcmmdType, offset, pageSize int) (result *partner.MatterList, err error) {
|
||||
handler := partner.GetHandler(vendorID)
|
||||
return handler.GetUnionMatterListRcmmd(ctx, goodsID, rcmmdType, offset, pageSize)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user