更新 Go 版本至 1.23.0,添加管理员功能,包括管理员登录、用户和客户端管理,新增相应的模板和中间件,优化数据库模型以支持管理员管理。

This commit is contained in:
2025-04-17 01:47:10 +08:00
parent a3f3cc17cf
commit 83c82f7135
18 changed files with 686 additions and 21 deletions

View File

@@ -10,5 +10,6 @@ func AutoMigrate(db *gorm.DB) error {
&User{},
&Client{},
&AuthorizationCode{},
&Admin{},
)
}