From cb0ff51d93370f7a03511b6a0aae0f0e972f7681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 19 Feb 2021 10:00:49 +0800 Subject: [PATCH] aa --- platformapi/jdapi/store.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platformapi/jdapi/store.go b/platformapi/jdapi/store.go index 2e5f84eb..70a07714 100644 --- a/platformapi/jdapi/store.go +++ b/platformapi/jdapi/store.go @@ -298,7 +298,9 @@ func (a *API) CreateStore(createParams *OpStoreParams) (*CreateShopResult, error return nil, utils.NewErrorCode(data["msg"].(string), innerCode, 1) }) if err == nil { - return interface2CreateShopResult(result), nil + return &CreateShopResult{ + StationNo: result.(map[string]interface{})["result"].(string), + }, nil } return nil, err }