File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,8 @@ import (
112
112
)
113
113
114
114
type UserInfo struct {
115
- dto.Base
116
- Data struct {
115
+ dto.Base
116
+ Data struct {
117
117
Nickname string ` json:"nickname" validate:"required" format:"string"` // nickname
118
118
Age int ` json:"int" validate:"required" format:"number"` // age
119
119
} ` json:"data" validate:"required"` // body data
Original file line number Diff line number Diff line change @@ -112,8 +112,8 @@ import (
112
112
)
113
113
114
114
type UserInfo struct {
115
- dto.Base
116
- Data struct {
115
+ dto.Base
116
+ Data struct {
117
117
Nickname string ` json:"nickname" validate:"required" format:"string"` // nickname
118
118
Age int ` json:"int" validate:"required" format:"number"` // age
119
119
} ` json:"data" validate:"required"` // body data
You can’t perform that action at this time.
0 commit comments