mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-19 10:08:03 +08:00
1、实现用户注册
2、实现验证码 3、完善文档评论功能
This commit is contained in:
@@ -29,6 +29,8 @@ type Comment struct {
|
||||
UserAgent string `orm:"column(user_agent);size(500)" json:"user_agent"`
|
||||
// Parent 评论所属父级
|
||||
ParentId int `orm:"column(parent_id);type(int);default(0)" json:"parent_id"`
|
||||
AgreeCount int `orm:"column(agree_count);type(int);default(0)" json:"agree_count"`
|
||||
AgainstCount int `orm:"column(against_count);type(int);default(0)" json:"against_count"`
|
||||
}
|
||||
|
||||
// TableName 获取对应数据库表名.
|
||||
|
Reference in New Issue
Block a user