baishaojie 8 месяцев назад
Родитель
Сommit
9e524be7df
3 измененных файлов с 1 добавлено и 0 удалено
  1. BIN
      TMRWatchComm
  2. BIN
      TMRWatchComm.zip
  3. 1 0
      pkg/util/grfdApiUtil.go

BIN
TMRWatchComm.zip


+ 1 - 0
pkg/util/grfdApiUtil.go

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