refactor: rename daisy frontend to mt, copy from classic
Docker Build / Build and Push Docker Image (push) Successful in 4m30s

This commit is contained in:
2026-06-13 21:08:17 +08:00
parent 45aea22451
commit 9e4ab6e7bb
543 changed files with 140007 additions and 17750 deletions
+2 -2
View File
@@ -204,10 +204,10 @@ func UpdateOption(c *gin.Context) {
return
}
case "theme.frontend":
if option.Value != "default" && option.Value != "classic" && option.Value != "daisy" {
if option.Value != "default" && option.Value != "classic" && option.Value != "mt" {
c.JSON(http.StatusOK, gin.H{
"success": false,
"message": "无效的主题值,可选值:default(新版前端)、classic(经典前端)、daisyDaisyUI 前端)",
"message": "无效的主题值,可选值:default(新版前端)、classic(经典前端)、mtMT 前端)",
})
return
}