update qq/gitee/github oauth2 login

This commit is contained in:
landaiqing
2024-08-24 16:31:40 +08:00
parent 014abca8f8
commit 9330935822
45 changed files with 1243 additions and 642 deletions

10
config/conf_casbin.go Normal file
View File

@@ -0,0 +1,10 @@
package config
type Casbin struct {
// 权限模型文件路径
ModelPath string `yaml:"model-path"`
// 数据库前缀
TablePrefix string `yaml:"table-prefix"`
// 数据库表明
TableName string `yaml:"table-name"`
}