This commit is contained in:
邹宗楠
2022-03-30 13:57:53 +08:00
parent 9ee06bfcfc
commit afd25fe8a4
2 changed files with 4 additions and 3 deletions

View File

@@ -102,6 +102,7 @@ func (a *API) GetStore(storeID string) (getStoreResult *GetStoreResult, err erro
return nil, fmt.Errorf("%s", result["msg"])
}
fmt.Println("fn_getStoreDATA======", result["business_data"])
if storeData, ok := result["business_data"]; ok {
if err := json.Unmarshal([]byte(utils.Interface2String(storeData)), &getStoreResult); err != nil {
return nil, err