27 Star 124 Fork 25

phachon / gis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config.toml 949 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
phachon 提交于 2018-05-04 12:26 . v0.2
[listen]
# 监听上传 server
upload="127.0.0.1:8087"
# 监听下载 server
download="127.0.0.1:8088"
[log.console]
level="debug"
color=true
jsonFormat=false
[log.file]
level="debug"
filename="log/gis_access.log"
maxSize=1048576
maxLine=1000000
dateSlice="d"
jsonFormat=true
[log.file.levelFilename]
error="log/gis_error.log"
[upload]
# 表单提交字段
form_field="upload"
# 允许上传的图片格式
allow_type = [".jpg", ".jpeg", ".png"]
# 图片的大小 KB
max_size = 2048
# 图片上传根目录
root_dir = "upload"
# 图片保存文件名字符串长度
filename_len = 16
# 目录树的目录名长度
dirname_len = 4
# 缩略图尺寸 width_height
thumbnails = ["200_200", "300_300", "200_400"]
[download]
# 下载的地址 协议://域名:端口
uri = "http://test.com:8088"
# appname 用于授权,可多个
[appname]
[appname.test]
app_key = "ad%4a*a&ada@#ada"
[appname.test1]
app_key = "sd(4a*yu&dai#9d3"
Go
1
https://gitee.com/phachon/gis.git
git@gitee.com:phachon/gis.git
phachon
gis
gis
master

搜索帮助

14c37bed 8189591 565d56ea 8189591