chore: 调整目录结构

This commit is contained in:
tangtanglove
2023-05-05 17:05:22 +08:00
parent f297cac3ea
commit c49ee4fb63
157 changed files with 36 additions and 37 deletions

View File

@@ -15,8 +15,8 @@ import (
func main() {
r := gin.Default()
// 静态文件
r.Use(static.Serve("/", static.LocalFile("./website", false)))
// WEB根目录
r.Use(static.Serve("/", static.LocalFile("./web/app", false)))
// 数据库配置信息
dsn := "root:Bc5HQFJc4bLjZCcC@tcp(127.0.0.1:3306)/quarkgo?charset=utf8&parseTime=True&loc=Local"