This commit is contained in:
苏尹岚
2020-12-11 10:57:32 +08:00
parent bcd5557a6f
commit 90978feaec

View File

@@ -26,6 +26,7 @@ type CreateStoreParam struct {
}
func (a *API) CreateStore(createStoreParam *CreateStoreParam) (err error) {
createStoreParam.ServiceCode = "1"
params := utils.Struct2FlatMap(createStoreParam)
_, err = a.AccessAPI("v2/chain_store", URL, params, true)
return err