1
This commit is contained in:
@@ -292,10 +292,10 @@ func (a *API) AccessAPINoPage2(apiStr string, jdParams map[string]interface{}, k
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
jsonResult["data"] = decodeData
|
||||
jsonResult["data"] = string(decodeData)
|
||||
}
|
||||
var data map[string]interface{}
|
||||
globals.SugarLogger.Debugf("==========jsonResult[data]======= %s", jsonResult["data"].(string))
|
||||
globals.SugarLogger.Debugf("============= : %s", jsonResult["data"])
|
||||
if err := utils.UnmarshalUseNumber([]byte(jsonResult["data"].(string)), &data); err != nil {
|
||||
return nil, platformapi.ErrResponseDataFormatWrong
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ func TestGetAfsService2(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestOrderShoudSettlementService2(t *testing.T) {
|
||||
result, err := api.OrderShoudSettlementService2("2114464478000161")
|
||||
result, err := api.OrderShoudSettlementService2("2226231085000191")
|
||||
if err != nil {
|
||||
t.Fatal(err.Error())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user