mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-20 02:29:23 +08:00
1、实现用户注册
2、实现验证码 3、完善文档评论功能
This commit is contained in:
@@ -13,6 +13,7 @@ import (
|
||||
"github.com/astaxie/beego/logs"
|
||||
"github.com/lifei6671/godoc/conf"
|
||||
|
||||
"github.com/lifei6671/gocaptcha"
|
||||
)
|
||||
|
||||
// RegisterDataBase 注册数据库
|
||||
@@ -105,5 +106,6 @@ func RegisterFunction() {
|
||||
}
|
||||
|
||||
func init() {
|
||||
gocaptcha.ReadFonts("./static/fonts", ".ttf")
|
||||
gob.Register(models.Member{})
|
||||
}
|
Reference in New Issue
Block a user