You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OneAuth/models
veypi e5170201ab refactor(settings): replace raw SQL conditions with GORM struct-based queries
- Replace db.Where("key = ?", ...) with db.Where(&Setting{Key: ...}) for type-safe queries
    - Replace db.Order("category, key") with structured clause.OrderBy in list API
    - Replace tx.Where("key = ?", ...) with tx.Where(&models.Setting{Key: ...}) in update API
    - Replace db.Where("key = ?", ...) with db.Where(&Setting{Key: ...}) in InitSettings, settingCache, SetSetting
4 days ago
..
auth.go refactor(models): Remove TableName methods and use global table prefix 3 months ago
email.go refactor(models): Remove TableName methods and use global table prefix 3 months ago
init.go chore: bump version to v1.1.1 2 months ago
oauth.go refactor(models): Remove TableName methods and use global table prefix 3 months ago
oauth_provider.go refactor(models): Remove TableName methods and use global table prefix 3 months ago
oauth_templates.go refactor(auth): 重构认证系统,支持多种验证方式和 OAuth 提供商管理 4 months ago
setting.go refactor(settings): replace raw SQL conditions with GORM struct-based queries 4 days ago
user.go refactor(models): Remove TableName methods and use global table prefix 3 months ago
verification.go refactor(models): Remove TableName methods and use global table prefix 3 months ago