fix: nickname

master
howell 4 years ago
parent 5cb1160e00
commit 4c7a2dfe74

@ -64,7 +64,7 @@ type ApplyEntry struct {
BusinessAddress string `json:"business_address"`
MainPhoto string `json:"main_photo"`
UserInfo user.RecookUserInfoModel `gorm:"foreignKey:mobile;references:mobile" json:"-"`
Nickname string `json:"nickname"`
Nickname string `json:"nickname" gorm:"-"`
}
func (o *ApplyEntry) TableName() string {

Loading…
Cancel
Save