1
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"net/http"
|
||||
"reflect"
|
||||
"sort"
|
||||
@@ -284,6 +285,7 @@ func (a *API) AccessAPINoPage2(apiStr string, jdParams map[string]interface{}, k
|
||||
if jsonResult["code"].(string) != "0" {
|
||||
return nil, errors.New(jsonResult["msg"].(string))
|
||||
}
|
||||
globals.SugarLogger.Debugf("====AccessAPINoPage2============%s", utils.Format4Output(jsonResult, false))
|
||||
var data map[string]interface{}
|
||||
if err := utils.UnmarshalUseNumber([]byte(jsonResult["data"].(string)), &data); err != nil {
|
||||
return nil, platformapi.ErrResponseDataFormatWrong
|
||||
|
||||
Reference in New Issue
Block a user