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