aa
This commit is contained in:
@@ -191,3 +191,14 @@ func (a *API) FindStoreInfoByExtStoreId(storeID int) (queryEntityStoreResult *Qu
|
||||
|
||||
return queryEntityStoreResult, err
|
||||
}
|
||||
|
||||
//更新门店状态
|
||||
//https://open.jd.com/home/home#/doc/api?apiCateId=351&apiId=6418&apiName=jingdong.updateStoreStatus
|
||||
// 停启状态 1.启用,2.停用
|
||||
func (a *API) UpdateStoreStatusAPI(storeID, status int) (err error) {
|
||||
_, err = a.AccessAPI("jingdong.updateStoreStatus", prodURL, map[string]interface{}{
|
||||
"storeStatus": status,
|
||||
"id": storeID,
|
||||
})
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user