jdstore
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user