优化
This commit is contained in:
@@ -10,6 +10,10 @@ import (
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
type securityRepo struct{ data *Data }
|
||||
|
||||
func NewSecurityRepo(data *Data) biz.SecurityRepo { return &securityRepo{data: data} }
|
||||
|
||||
type securityConfigPO struct {
|
||||
ID uint `gorm:"primaryKey"`
|
||||
CaptchaOpen int
|
||||
|
||||
Reference in New Issue
Block a user