tidy code

This commit is contained in:
wenxu12345
2021-12-28 20:21:09 +08:00
parent f4c3c86dd1
commit e26c3d9462
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ type UserInfo struct {
FaceUrl string `json:"faceUrl" binding:"omitempty,max=1024"`
Gender int32 `json:"gender" binding:"omitempty,oneof=0 1 2"`
PhoneNumber string `json:"phoneNumber" binding:"omitempty,max=32"`
Birth int64 `json:"birth" binding:"omitempty,max=16"`
Birth int64 `json:"birth" binding:"omitempty"`
Email string `json:"email" binding:"omitempty,max=64"`
Ex string `json:"ex" binding:"omitempty,max=1024"`
}