This commit is contained in:
苏尹岚
2020-11-20 18:03:00 +08:00
parent 4b45246898
commit 55a8667a3d

View File

@@ -1106,7 +1106,7 @@ func (a *API) GetJdTopSkus(vendorStoreID string, currentPage int) (vendorSkuIDs
}
//获取京东的门店信息
func (a *API) GetJdStoreInfo(vendorStoreID string) (err error) {
func (a *API) GetJdStoreInfo(vendorStoreID string) (retVal interface{}, err error) {
jdParams := map[string]interface{}{
"_djrandom": time.Now().UnixNano(),
"functionId": "store/storeDetailV220",
@@ -1115,6 +1115,6 @@ func (a *API) GetJdStoreInfo(vendorStoreID string) (err error) {
"appName": "paidaojia",
"platCode": "H5",
}
_, err = a.AccessStorePage2("http://www.jxc4.com/jd/client", jdParams, false, "")
return err
retVal, err = a.AccessStorePage2("http://www.jxc4.com/jd/client", jdParams, false, "")
return retVal, err
}