京东商城尝试订单

This commit is contained in:
苏尹岚
2020-05-26 18:33:21 +08:00
parent d011e53203
commit 153b64ef9e
5 changed files with 199 additions and 3 deletions

View File

@@ -181,3 +181,13 @@ func (a *API) QueryEntityStore(storeId int64) (queryEntityStoreResult *QueryEnti
}
return queryEntityStoreResult, err
}
//获取门店信息2
//https://open.jd.com/home/home#/doc/api?apiCateId=351&apiId=4972&apiName=jingdong.findStoreInfoByExtStoreId
func (a *API) FindStoreInfoByExtStoreId(storeID int) (queryEntityStoreResult *QueryEntityStoreResult, err error) {
_, err = a.AccessAPI("jingdong.findStoreInfoByExtStoreId", prodURL, map[string]interface{}{
"extStoreId": storeID,
})
return queryEntityStoreResult, err
}