handlers区分backend和frontend,需要确认。
This commit is contained in:
@@ -10,6 +10,14 @@ import (
|
||||
|
||||
const PasswordCryptLevel = 12
|
||||
|
||||
// 站点基础设置键名
|
||||
const (
|
||||
OptionSiteName = "site_name"
|
||||
OptionSiteDesc = "site_desc"
|
||||
OptionShowComments = "show_comments" // "1" 显示评论 / "0" 隐藏评论
|
||||
OptionCommentPageSize = "comments_per_page" // 前台评论每页条数
|
||||
)
|
||||
|
||||
// ==================== 用户模型 ====================
|
||||
|
||||
type User struct {
|
||||
|
||||
Reference in New Issue
Block a user