作者 yangfu

修改

1 appname = opportunity 1 appname = opportunity
2 httpport = 8080 2 httpport = 8080
3 -runmode = "${RUN_MODE||dev}" 3 +runmode = "${RUN_MODE||prod_test}"
4 4
5 #没设置的话 this.Ctx.Input.RequestBody 没有值 5 #没设置的话 this.Ctx.Input.RequestBody 没有值
6 copyrequestbody = true 6 copyrequestbody = true
@@ -14,5 +14,6 @@ include "dev.conf" @@ -14,5 +14,6 @@ include "dev.conf"
14 include "dev-online.conf" 14 include "dev-online.conf"
15 include "test.conf" 15 include "test.conf"
16 include "prod.conf" 16 include "prod.conf"
  17 +include "prod_test.conf"
17 18
18 19
  1 +[prod_test]
  2 +#数据库相关
  3 +mysql_user = "${MYSQL_USER||suplus_user}"
  4 +mysql_password = "${MYSQL_PASSWORD||suplus2019!}"
  5 +mysql_host = "${MYSQL_HOST||rm-bp17e26y39qravmwxmo.mysql.rds.aliyuncs.com}"
  6 +mysql_port = "${MYSQL_PORT||3306}"
  7 +mysql_db_name = "${MYSQL_DB_NAME||opportunity}"
  8 +
  9 +#日志
  10 +log_level = "${LOG_LEVEL||debug}"
  11 +aliyun_logs_access ="${aliyun_logs_access||app.log}"
  12 +
  13 +
  14 +#redis相关配置
  15 +redis_add = "${REDIS_HOST||127.0.0.1}"
  16 +redis_add_port = "${REDIS_PORT||6379}"
  17 +redis_auth = "123456"
  18 +
  19 +#sms相关配置
  20 +yunpian_sms_sdk_url ="https://sms.yunpian.com/v2/sms/single_send.json"
  21 +yunpian_app_key ="0bf6fb10a11a68a95dee80901eb545b5"
  22 +
  23 +#存储 http:https://public-interface.fjmaimaimai.com/opportunity/ http://mmm-opp-prd.fjmaimaimai.com/
  24 +source_host ="https://mmm-opp-prd.fjmaimaimai.com/"
  25 +source_virtual_path=file/opp
  26 +source_path ="${aliyun_file_access||/var/www/opp/file/opportunity}"
  27 +
  28 +#网易云信 IM
  29 +net_im_base_url ="https://api.netease.im/nimserver"
  30 +net_im_app_secret ="a8d231f5c13a"
  31 +net_im_app_key ="9c5410602597a7fe367aeeebd8210262"
  32 +
  33 +#统一用户中心 39aefef9e22744a3b2d2d3791824ae7b
  34 +user_center_url ="https://public-interface.fjmaimaimai.com/ucenter"
  35 +user_center_salt ="rsF0pL!6DwjBO735"
  36 +user_center_app_key ="39aefef9e22744a3b2d2d3791824ae7b"
  37 +user_center_app_secret ="cykbjnfqgctn"
  38 +
  39 +#Html5
  40 +h5_host = "https://web-open.fjmaimaimai.com"
  41 +
  42 +#审核中心
  43 +suplus_approve_host ="https://public-interface.fjmaimaimai.com/approve"
  44 +
  45 +#企业平台
  46 +BUSINESS_ADMIN_SERVICE_HOST ="${BUSINESS_ADMIN_SERVICE_HOST||http://suplus-business-admin-prd.fjmaimaimai.com}"
  47 +
  48 +#阿里云
  49 +cname ="https://media.fjmaimaimai.com/"
  50 +
  51 +#服务地址
  52 +VOD_SVR_ADDRESS ="http://mmm-open-api-prd.fjmaimaimai.com"