mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-24 10:11:32 +08:00
1.迁移表时添加字段注释
2.修复游客状态评论接口报空指针的问题
This commit is contained in:
@@ -11,10 +11,10 @@ import (
|
||||
|
||||
type TeamMember struct {
|
||||
TeamMemberId int `orm:"column(team_member_id);pk;auto;unique;" json:"team_member_id"`
|
||||
TeamId int `orm:"column(team_id);type(int)" json:"team_id"`
|
||||
MemberId int `orm:"column(member_id);type(int)" json:"member_id"`
|
||||
TeamId int `orm:"column(team_id);type(int);description(团队id)" json:"team_id"`
|
||||
MemberId int `orm:"column(member_id);type(int);description(成员id)" json:"member_id"`
|
||||
// RoleId 角色:0 创始人(创始人不能被移除) / 1 管理员/2 编辑者/3 观察者
|
||||
RoleId conf.BookRole `orm:"column(role_id);type(int)" json:"role_id"`
|
||||
RoleId conf.BookRole `orm:"column(role_id);type(int);description(RoleId 角色:0 创始人-创始人不能被移除 / 1 管理员/2 编辑者/3 观察者)" json:"role_id"`
|
||||
RoleName string `orm:"-" json:"role_name"`
|
||||
Account string `orm:"-" json:"account"`
|
||||
RealName string `orm:"-" json:"real_name"`
|
||||
|
||||
Reference in New Issue
Block a user