Commit a2eb3b99f9e7a8960bb65365369445234746cc2c
1 parent
22854c46
Exists in
master
提交
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/logic.go
| @@ -465,13 +465,14 @@ func HandleNewGetData(w http.ResponseWriter, data string) { | @@ -465,13 +465,14 @@ func HandleNewGetData(w http.ResponseWriter, data string) { | ||
| 465 | break | 465 | break |
| 466 | } | 466 | } |
| 467 | resp.Result.Data.Base_data = val | 467 | resp.Result.Data.Base_data = val |
| 468 | - logger.Info("HandleNewGetData new is=%v",resp) | 468 | + |
| 469 | 469 | ||
| 470 | break | 470 | break |
| 471 | } | 471 | } |
| 472 | 472 | ||
| 473 | //回包 | 473 | //回包 |
| 474 | respstr, _ := json.Marshal(&resp) | 474 | respstr, _ := json.Marshal(&resp) |
| 475 | + logger.Info("HandleNewGetData new is=%v",string(respstr)) | ||
| 475 | fmt.Fprint(w, string(respstr)) | 476 | fmt.Fprint(w, string(respstr)) |
| 476 | } | 477 | } |
| 477 | 478 |