修复数据类型错误

This commit is contained in:
2025-07-09 01:00:17 +08:00
parent fe15c444f7
commit 28c8fccc40
6 changed files with 40 additions and 143 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ func main() {
r.Static("/dist/", "./static/dist/")
//静态用户上传的文件
r.Static("/avatar/", models.Configs_file.Pahts[0])
r.Static("/avatar/", models.Configs_file.Pahts["avatar"])
//store := cookie.NewStore([]byte("secret"))
// 自定义 404 页面(需要提前加载模板)