update: 更新协议

This commit is contained in:
ctwj
2025-07-19 00:44:00 +08:00
parent 82390426ad
commit d93cc58297
6 changed files with 679 additions and 87 deletions

View File

@@ -37,7 +37,7 @@ func InitDB() error {
dbname := os.Getenv("DB_NAME")
if dbname == "" {
dbname = "res_db"
dbname = "url_db"
}
dsn := fmt.Sprintf("host=%s port=%s user=%s password=%s dbname=%s sslmode=disable",