|
|
[preonline]
|
|
|
config_name = "preonline"
|
|
|
#----beego的默认配置 开始---
|
|
|
#端口号
|
|
|
httpport = 8080
|
|
|
#开启应用内监控
|
|
|
EnableAdmin = false
|
|
|
AdminPort = 8088
|
|
|
#---beego的默认配置 结束---
|
|
|
|
|
|
#---自定义配置 开始----
|
|
|
##数据库连接
|
|
|
# sqlconn ="${MYSQL_CONN||root:sutianxia2015@tcp(115.29.205.99:3306)/opportunity?charset=utf8&loc=Asia%2FShanghai}"
|
|
|
mysql_user = "${MYSQL_USER||root}"
|
|
|
mysql_password = "${MYSQL_PASSWORD||sutianxia2018}"
|
|
|
mysql_host = "${MYSQL_HOST||101.37.68.23}"
|
|
|
mysql_port = "${MYSQL_PORT||3306}"
|
|
|
mysql_db_name = "${MYSQL_DB_NAME||opportunity}"
|
|
|
##redis相关配置
|
|
|
redis_add = "${REDIS_HOST||127.0.0.1}"
|
|
|
redis_add_port = "${REDIS_PORT||6379}"
|
|
|
redis_auth = ""
|
|
|
##log相关配置
|
|
|
##out_put:"console","file"
|
|
|
log_output = "file"
|
|
|
log_filename = "${aliyun_logs_access||./log/ability.log}"
|
|
|
log_level = "${LOG_LEVEL||error}"
|
|
|
|
|
|
##统一用户中心相关配置
|
|
|
ucenter_check_alt = "rsF0pL!6DwjBO735"
|
|
|
ucenter_base_url = "http://suplus-ucenter-preonline.fjmaimaimai.com/r"
|
|
|
ucenter_app_key = "39aefef9e22744a3b2d2d3791824ae7b"
|
|
|
ucenter_secret = "cykbjnfqgctn"
|
|
|
|
|
|
# 上传文件保存路径
|
|
|
file_save_path = "/var/www/oppmg/file/opportunity"
|
|
|
file_host = "https://public-interface.fjmaimaimai.com/opportunitymg"
|
|
|
file_host_path = "/file/opp"
|
|
|
|
|
|
#---自定义配置 结束---- |
|
|
\ No newline at end of file |
...
|
...
|
|