Skip to content

Commit 8c81481

Browse files
dev: 修改json tag错误
1 parent 31522f8 commit 8c81481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
// JsonResult json result
1212
type JsonResult struct {
1313
Code int `json:"code"`
14-
Data interface{} `json:data`
14+
Data interface{} `json:"data"`
1515
}
1616

1717
type httpServer struct {

0 commit comments

Comments
 (0)