aa
This commit is contained in:
@@ -298,7 +298,9 @@ func (a *API) CreateStore(createParams *OpStoreParams) (*CreateShopResult, error
|
|||||||
return nil, utils.NewErrorCode(data["msg"].(string), innerCode, 1)
|
return nil, utils.NewErrorCode(data["msg"].(string), innerCode, 1)
|
||||||
})
|
})
|
||||||
if err == nil {
|
if err == nil {
|
||||||
return interface2CreateShopResult(result), nil
|
return &CreateShopResult{
|
||||||
|
StationNo: result.(map[string]interface{})["result"].(string),
|
||||||
|
}, nil
|
||||||
}
|
}
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user