Skip to content

Commit

Permalink
dev: 修改json tag错误
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangxu19830126 committed Mar 29, 2018
1 parent 31522f8 commit 8c81481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
// JsonResult json result
type JsonResult struct {
Code int `json:"code"`
Data interface{} `json:data`
Data interface{} `json:"data"`
}

type httpServer struct {
Expand Down

0 comments on commit 8c81481

Please sign in to comment.