1'\
This commit is contained in:
@@ -295,6 +295,7 @@ func (a *API) AccessAPINoPage2(apiStr string, jdParams map[string]interface{}, k
|
|||||||
jsonResult["data"] = decodeData
|
jsonResult["data"] = decodeData
|
||||||
}
|
}
|
||||||
var data map[string]interface{}
|
var data map[string]interface{}
|
||||||
|
globals.SugarLogger.Debugf("==========jsonResult[data]======= %s", jsonResult["data"].(string))
|
||||||
if err := utils.UnmarshalUseNumber([]byte(jsonResult["data"].(string)), &data); err != nil {
|
if err := utils.UnmarshalUseNumber([]byte(jsonResult["data"].(string)), &data); err != nil {
|
||||||
return nil, platformapi.ErrResponseDataFormatWrong
|
return nil, platformapi.ErrResponseDataFormatWrong
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ import (
|
|||||||
//}
|
//}
|
||||||
//
|
//
|
||||||
func TestGetStoreInfoByStationNo(t *testing.T) {
|
func TestGetStoreInfoByStationNo(t *testing.T) {
|
||||||
result, err := api.GetStoreInfoByStationNo2("12002719")
|
result, err := api.GetStoreInfoByStationNo2("12028339")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user