You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
906 B
52 lines
906 B
2 years ago
|
appname = yshop
|
||
|
httpport = 8080
|
||
|
runmode = dev
|
||
|
autorender = false
|
||
|
copyrequestbody = true
|
||
|
EnableDocs = true
|
||
|
sqlconn =
|
||
|
api_url = https://goapi.yixiang.co
|
||
|
#忽略URL
|
||
|
ignore_urls = "/admin/auth/login,/admin/auth/captcha"
|
||
|
|
||
|
[dev]
|
||
|
#数据库配置
|
||
|
mysqluser = "beego"
|
||
|
mysqlpass = "Asdfghjklm123."
|
||
|
mysqlhost = "nas.viviman.top"
|
||
|
mysqlport = 35017
|
||
|
mysqldb = "beego_demo01"
|
||
|
db_max_idle_conn = 30
|
||
|
db_max_open_open = 100
|
||
|
maxmemory = 1<<22
|
||
|
|
||
|
#redis
|
||
|
redis_host = nas.viviman.top:20017
|
||
|
redis_pwd =
|
||
|
|
||
|
#日志等级 debug
|
||
|
logLevel = 7
|
||
|
|
||
|
jwt_token = 1BD6C43CA0BBF4B7ABA5E486D6A5AA2D
|
||
|
|
||
|
[prod]
|
||
|
#数据库配置
|
||
|
mysqluser = "beego"
|
||
|
mysqlpass = "Asdfghjklm123."
|
||
|
mysqlhost = "nas.viviman.top"
|
||
|
mysqlport = 35017
|
||
|
mysqldb = "beego_demo01"
|
||
|
db_max_idle_conn = 30
|
||
|
db_max_open_open = 100
|
||
|
maxmemory = 1<<22
|
||
|
|
||
|
#redis
|
||
|
redis_host = nas.viviman.top:20017
|
||
|
redis_pwd =
|
||
|
|
||
|
#日志等级 debug
|
||
|
logLevel = 4
|
||
|
|
||
|
jwt_token = 1BD6C43CA0BBF4B7ABA5E486D6A5AA2D
|
||
|
|