拆分accounts库和settings库

dns新增azure
新增部署到华为云cdn
This commit is contained in:
zhangchenhao
2025-05-28 16:29:50 +08:00
parent b177c20cb4
commit 9829f7eaf3
9 changed files with 234 additions and 66 deletions

View File

@@ -26,7 +26,7 @@ func Sign(c *gin.Context) {
form.Code = strings.TrimSpace(form.Code)
// 从数据库拿用户
s, err := public.NewSqlite("data/data.db", "")
s, err := public.NewSqlite("data/settings.db", "")
if err != nil {
// c.JSON(http.StatusBadRequest, public.ResERR(err.Error()))
public.FailMsg(c, err.Error())