Skip to content

Commit

Permalink
fix #[40] output field name
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxiujia committed Feb 11, 2020
1 parent 22eb728 commit 540a454
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions XmlCreate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ import (
)

type TestActivity struct {
Id string `json:"id" gm:"id"`
Id string `json:"id,omitempty"`
Uuid string `json:"uuid"`
Name string `json:"name"`
PcLink string `json:"pcLink"`
H5Link string `json:"h5Link"`
PcLink string `json:"pc_link"`
H5Link string `json:"h5_link"`
Remark string `json:"remark"`
Version int `json:"version" gm:"version"`
CreateTime time.Time `json:"createTime"`
DeleteFlag int `json:"deleteFlag" gm:"logic"`
Version int `json:"version"`
CreateTime time.Time `json:"create_time"`
DeleteFlag int `json:"delete_flag"`
}

func TestCreateDefaultXml(t *testing.T) {
Expand Down

0 comments on commit 540a454

Please sign in to comment.