1. 修复密码被重复加密的问题

2. gin改为debug模式
This commit is contained in:
2025-09-08 17:07:32 +08:00
parent ca3cf02396
commit 0b16d7d886
3 changed files with 4 additions and 11 deletions

View File

@@ -24,5 +24,6 @@ type Storage interface {
// 根据配置返回相应的存储实现
func NewStorage(connectionString string, maxOpenConns, maxIdleConns, connMaxLifetime int) Storage {
// 当前默认返回PostgreSQL存储实现
return NewPostgresStorage(connectionString, maxOpenConns, maxIdleConns, connMaxLifetime)
s := NewPostgresStorage(connectionString, maxOpenConns, maxIdleConns, connMaxLifetime)
return s
}