京东置顶

This commit is contained in:
苏尹岚
2020-08-14 17:46:23 +08:00
parent 9a07035b58
commit 208084151e

View File

@@ -1079,12 +1079,12 @@ func (a *API) GetJdShopOrders(orderStartTime, orderEndTime, orgCode, loginName s
//获取京东的置顶门店商品
//https://stock-store.jddj.com/storeproduct/query
func (a *API) GetJdTopSkus(vendorStoreID string) (vendorSkuIDs []string, totalCount int, err error) {
func (a *API) GetJdTopSkus(vendorStoreID string, currentPage int) (vendorSkuIDs []string, totalCount int, err error) {
jdParams := map[string]interface{}{
"fixedStatus": 1,
"stationNo": vendorStoreID,
"numStatus": 0,
"currentPage": 1,
"currentPage": currentPage,
"pageSize": 10,
}
body, err := a.AccessStorePage2("https://stock-store.jddj.com/storeproduct/query", jdParams, true, "")