🎨 新增用户简介字段,新增手机端讲师相关接口

This commit is contained in:
2025-08-12 16:24:11 +08:00
parent 670791d342
commit 90d4b959a1
5 changed files with 61 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ type User struct {
global.GVA_MODEL
NickName string `json:"nick_name" form:"nick_name" gorm:"comment:用户昵称"`
Phone string `json:"phone" form:"phone" gorm:"comment:用户手机号"`
Des string `json:"des" form:"des" gorm:"comment:用户描述"`
UnionId string `json:"union_id" form:"union_id" gorm:"type:varchar(255) comment '微信UnionId'"`
OpenId string `gorm:"column:open_id;default:'';comment:'openId'" json:"-"`
Password string `json:"password" form:"password" gorm:"comment:用户密码"`