| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <?php
- /**
- * 环境参数例子
- * 格式说明:
- * 配置均为kv形式
- * key的格式: 文件名.key1[.keyN]
- * 例子:
- * 需要覆盖main配置文件db的connectionString参数
- * array(
- * //数据库链接字符串
- * 'main.components.db.connectionString' => 'xxxxxx'
- * )
- */
- return array(
- //rds配置
- 'main.components.db.connectionString' => 'mysql:host=rm-bp1ytv13wkx1c2h94.mysql.rds.aliyuncs.com;dbname=platform',
- 'main.components.db.username' => 'zhipuzi',
- 'main.components.db.password' => 'Zhipuzitest00',
- //slave
- 'main.components.slaveDb.connectionString' => 'mysql:host=rm-bp1ytv13wkx1c2h94.mysql.rds.aliyuncs.com;dbname=platform',
- 'main.components.slaveDb.username' => 'zhipuzi',
- 'main.components.slaveDb.password' => 'Zhipuzitest00',
- //ADS
- 'main.components.ads.connectionString' => 'mysql:host=rm-bp1ytv13wkx1c2h94.mysql.rds.aliyuncs.com;dbname=platform',
- 'main.components.ads.username' => 'zhipuzi',
- 'main.components.ads.password' => 'Zhipuzitest00',
- //用户中心db
- 'main.components.userDb.connectionString' => 'mysql:host=rm-bp1ytv13wkx1c2h94.mysql.rds.aliyuncs.com;dbname=platform',
- 'main.components.userDb.username' => 'zhipuzi',
- 'main.components.userDb.password' => 'Zhipuzitest00',
- //监控配置
- 'statis.db.connectionString' => 'mysql:host=rm-bp1ytv13wkx1c2h94.mysql.rds.aliyuncs.com;dbname=platform',
- 'statis.db.username' => 'zhipuzi',
- 'statis.db.password' => 'Zhipuzitest00',
- //登录页面
- 'main.components.user.loginUrl' => 'https://www-test.zhipuzi.com/login.html',
- //乐外卖
- //redis配置
- //redis服务器地址
- // 'redis.host' => '115.29.174.119',
- // //redis端口
- // 'redis.port' => '6379',
- // //redis密码
- // 'redis.password' => 'JK23FU72g82gsa98Gs',
- //智铺子
- //redis配置
- //redis服务器地址
- 'redis.host' => 'r-bp1405387a9e6614.redis.rds.aliyuncs.com',
- //redis端口
- 'redis.port' => '6379',
- //redis密码
- 'redis.password' => 'ZhipuziRedisTest000',
- //全局配置
- // api地址
- 'global.apiBaseUrl' => 'https://api-test.zhipuzi.com',
- //静态资源url
- 'global.assetsUrl' => 'https://pf-assets-test.zhipuzi.com',
- //wap url
- 'global.wapBaseUrl' => 'https://wap-test.zhipuzi.com',
- //www url
- 'global.wwwBaseUrl' => 'https://www-test.zhipuzi.com',
- //admin系统url
- "global.adminUrl" => "https://admin-test.zhipuzi.com",
- //微信开放平台配置
- 'global.wechatOpenPlatform.appid' => 'wxe66e8394b58176b3',
- 'global.wechatOpenPlatform.secret' => '9018b791d2be2067e11da984d6a94df1',
- //公众号消息校验Token
- 'global.wechatOpenPlatform.token' => 'TPWTPbWvaDWYkoBMGgw3qEvC2XoKl46lQ6A6Np8wjqw',
- //公众号消息加解密Key
- 'global.wechatOpenPlatform.encodingaeskey' => 'vh3aZMH16AXxo3hcmKZAy8rTLpEwIVLvgi3oBbZTnp1',
- //餐饮系统内网h5域名
- 'global.business_h5_internal_host.repast' => 'http://zhipuzi-cy-test-api-svc',
- // 'global.business_h5_internal_host.repast' => 'https://cyh5-test.zhipuzi.com',
- //零售系统内外h5域名
- 'global.business_h5_internal_host.retail' => 'http://zhipuzi-ls-test-api-svc',
- // 'global.business_h5_internal_host.retail' => 'https://lsh5-test.zhipuzi.com',
- //餐饮系统内网api域名
- 'global.business_h5_internal_host.repastapi' => 'http://zhipuzi-cy-test-api-svc',
- // 'global.business_h5_internal_host.repastapi' => 'https://cyapi-test2.zhipuzi.com',
- //零售系统内外api域名
- 'global.business_h5_internal_host.retailapi' => 'http://zhipuzi-ls-test-api-svc',
- // 'global.business_h5_internal_host.retailapi' => 'https://lsapi-test.zhipuzi.com',
- //乐外卖公众号配置
- 'global.wechat.appid' => 'wx9213c38c57da2bf6',
- 'global.wechat.secret' => '8513b99bfd3c6372f843eae792c82a06',
- //阿里云日志服务配置
- 'log.aliyunLogHub.endpoint' => 'cn-hangzhou-intranet.log.aliyuncs.com',
- //阿里云访问秘钥 AccessKeyId
- 'log.aliyunLogHub.accessKeyId' => 'LTAIpYffXvFnEUzp',
- //阿里云访问秘钥 AccessKeySecret
- 'log.aliyunLogHub.accessKey' => 'F3lqBxo6Uj9pJpLs7btMW5u30X5uKB',
- //日志库
- 'log.aliyunLogHub.logstore' => 'platform-test',
- //阿里云access key id
- 'opensearch.accessKeyId' => '2HUnzc9XJV92PjvW',
- //阿里云access secret
- 'opensearch.accessSecret' => '20mMc8wuzlfC0r323b6oJqxlBPEyjW',
- //阿里云opensearch api域名
- 'opensearch.endPoint' => 'http://opensearch-cn-hangzhou.aliyuncs.com',
- //worker php守护进程配置
- //php命令路径
- 'worker.php' => '/usr/local/bin/php',
- //进程运行角色
- 'worker.uid' => 'www',
- //日志路由配置
- // 'main.components.log.routes' => array(
- // //页面输出性能日志, 网页调试可以打开
- // array(
- // 'class' => 'CProfileLogRoute',
- // ),
- // ),
- /*//阿里云access key id
- 'mns.accessKeyId' => '2HUnzc9XJV92PjvW',
- //阿里云access secret
- 'mns.accessSecret' => '20mMc8wuzlfC0r323b6oJqxlBPEyjW',
- //阿里云mns api域名
- 'mns.endPoint' => 'http://1111769578085953.mns.cn-hangzhou.aliyuncs.com/',*/
- //阿里云access key id
- 'mns.accessKeyId' => 'LTAIpYffXvFnEUzp',
- //阿里云access secret
- 'mns.accessSecret' => 'F3lqBxo6Uj9pJpLs7btMW5u30X5uKB',
- //阿里云mns api域名
- 'mns.endPoint' => 'http://1733013318510961.mns.cn-hangzhou-internal.aliyuncs.com/',
- //ADS
- 'main.components.ads.connectionString' => 'mysql:host=lewaimai-ae1b4b7b.cn-hangzhou-1.ads.aliyuncs.com:10124;dbname=lewaimai',
- 'main.components.ads.username' => '2HUnzc9XJV92PjvW',
- 'main.components.ads.password' => '20mMc8wuzlfC0r323b6oJqxlBPEyjW',
- //餐饮营销域名
- 'global.business_host.cyYxBaseUrl' => 'http://{appid}.yxcy-test.zhipuzi.com',
- //零售营销域名
- 'global.business_host.lsYxBaseUrl' => 'http://{appid}.yxls-test.zhipuzi.com',
- 'global.business_host.cyapi' => 'https://cyapi-test.zhipuzi.com',
- 'global.business_host.lsapi' => 'https://lsapi-test.zhipuzi.com',
- //乐刷广告
- 'global.leshauadv.adv_click_url' => 'https://t-baseweb.lepass.cn/api/adv/partner/report.do', //乐刷广告点击上报接口
- 'global.leshauadv.adv_query_url' => 'https://t-baseweb.lepass.cn/api/adv/partner/list.do', //乐刷广告查询接口
- 'global.leshauadv.adv_key' => 'yeahka20190101qrhituiqrbndksfxd2', //乐刷广告请求key值
- );
|