This commit is contained in:
邹宗楠
2022-03-30 14:18:48 +08:00
parent 3973a6a606
commit faf6ab8f71
2 changed files with 16 additions and 10 deletions

View File

@@ -45,7 +45,7 @@ func (a *API) CreateStore(createStoreParam *CreateStoreBaseInfo) (result1 string
if err := json.Unmarshal([]byte(utils.Interface2String(result["business_data"])), &createShop); err != nil {
return "", err
}
fmt.Println("chainstoreCreate 创建门店 ==================:=", createShop)
return createShop.ChainStoreId, nil
}
@@ -97,6 +97,8 @@ func (a *API) GetStore(storeID string) (getStoreResult *GetStoreResult, err erro
} else {
err = fmt.Errorf(result["msg"].(string))
}
fmt.Println("chainstoreQuery 获取单个门店==================:=", fnResult)
return fnResult, err
}