京东置顶
This commit is contained in:
@@ -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, "")
|
||||
|
||||
Reference in New Issue
Block a user