增加短信渠道

This commit is contained in:
Yvan
2026-09-29 18:15:35 +08:00
parent a16b8f8e89
commit 89cc7761b5
38 changed files with 1469 additions and 39 deletions
+2
View File
@@ -138,6 +138,8 @@ func (h *Public) InitializeDatabase(engine *gin.Engine) gin.HandlerFunc {
Write(c, CodeSuccess, gin.H{}, "自动创建数据库成功")
return
}
// Preserve the underlying error for ErrorAudit without exposing it in the response.
_ = c.Error(err).SetType(gin.ErrorTypePrivate)
Fail(c, "自动创建数据库失败,请查看后台日志,检查后在进行初始化")
return
}