first commit

This commit is contained in:
2026-06-03 10:09:03 +08:00
commit 81f5039458
6266 changed files with 188236 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
appname = server
httpport = 8081
runmode = dev
# 启用请求体复制(允许多次读取请求体)
copyrequestbody = true
# 服务器超时配置(支持大文件上传)
# 0 表示不设置超时限制
ServerTimeOut = 0
# 最大请求体大小(字节),0 表示不限制
MaxMemory = 0
# 最大请求体大小(用于普通请求,10MB)
maxmemory = 10485760
# 数据库配置
# MySQL - 远程连接配置
mysqluser = go-platform
mysqlpass = FSmJCSJ5wk8pjjDC
mysqlurls = 212.64.112.158:3388
mysqldb = go-platform
# ORM配置
orm = mysql
# 配置静态文件目录
# 映射 /static 路径到前端 dist 目录
# StaticDir = /static:../front/dist
# 映射 /uploads 路径到上传文件目录(项目根目录下的 uploads 文件夹)
StaticDir = /uploads:../uploads