!!
This commit is contained in:
@@ -91,7 +91,9 @@ func (a *API) GetStore(storeID string) (getStoreResult *GetOneStoreRespData, err
|
|||||||
|
|
||||||
fnResult := &GetOneStoreRespData{}
|
fnResult := &GetOneStoreRespData{}
|
||||||
if storeData, ok := result["business_data"]; ok {
|
if storeData, ok := result["business_data"]; ok {
|
||||||
|
fmt.Println("chainstoreQuery storeData==================:=", storeData)
|
||||||
if err := json.Unmarshal([]byte(utils.Interface2String(storeData)), fnResult); err != nil {
|
if err := json.Unmarshal([]byte(utils.Interface2String(storeData)), fnResult); err != nil {
|
||||||
|
fmt.Println("chainstoreQuery err==================:=", err)
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user