This commit is contained in:
苏尹岚
2020-12-14 16:53:14 +08:00
parent 12f890a505
commit 5778298819
4 changed files with 88 additions and 10 deletions

View File

@@ -76,3 +76,9 @@ func IsErrShopExist(err error) bool {
}
return false
}
func (a *API) UpdateStore(createStoreParam *CreateStoreParam) (err error) {
params := utils.Struct2FlatMap(createStoreParam)
_, err = a.AccessAPI("v2/chain_store/update", TestURL, params, true)
return err
}