重构增加模型枚举值定义

This commit is contained in:
2025-05-09 18:56:17 +08:00
parent d5a242d6b4
commit 071a0e1a6c
29 changed files with 252 additions and 138 deletions

View File

@@ -60,7 +60,7 @@ type client struct {
GrantClient field.Bool // 允许客户端凭证授予
GrantRefresh field.Bool // 允许刷新令牌授予
GrantPassword field.Bool // 允许密码授予
Spec field.Int32 // 安全规范:1-native,2-browser,3-web
Spec field.Int32 // 安全规范:1-native,2-browser,3-web,4-trusted
Name field.String // 名称
Icon field.String // 图标URL
Status field.Int32 // 状态:0-禁用,1-正常