|
@@ -87,6 +87,7 @@ func PostWithFormData(method, url string, postData *map[string]string) error {
|
|
m := make(map[string]interface{}, 0)
|
|
m := make(map[string]interface{}, 0)
|
|
json.Unmarshal(data, &m)
|
|
json.Unmarshal(data, &m)
|
|
rescode := 0
|
|
rescode := 0
|
|
|
|
+ logging.Info("respdata: ", string(data))
|
|
switch m["status"].(type) {
|
|
switch m["status"].(type) {
|
|
case float64:
|
|
case float64:
|
|
rescode = int(m["status"].(float64))
|
|
rescode = int(m["status"].(float64))
|