| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 |
- <?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=weixin',
- 'main.components.db.username' => 'zhipuzi',
- 'main.components.db.password' => 'Zhipuzitest00',
- //slave
- 'main.components.slaveDb.connectionString' => 'mysql:host=rm-bp1ytv13wkx1c2h94.mysql.rds.aliyuncs.com;dbname=weixin',
- 'main.components.slaveDb.username' => 'zhipuzi',
- 'main.components.slaveDb.password' => 'Zhipuzitest00',
- //ADS
- 'main.components.ads.connectionString' => 'mysql:host=rm-bp1ytv13wkx1c2h94.mysql.rds.aliyuncs.com;dbname=weixin',
- 'main.components.ads.username' => 'zhipuzi',
- 'main.components.ads.password' => 'Zhipuzitest00',
- //用户中心db
- 'main.components.userDb.connectionString' => 'mysql:host=rm-bp1tt169ba9yijli6.mysql.rds.aliyuncs.com;dbname=userdb',
- 'main.components.userDb.username' => 'userdb',
- 'main.components.userDb.password' => 'Hhyz122131',
- //代理商数据库
- 'main.components.agentDb.connectionString' => 'mysql:host=rm-bp1ytv13wkx1c2h94.mysql.rds.aliyuncs.com;dbname=agent',
- 'main.components.agentDb.username' => 'zhipuzi',
- 'main.components.agentDb.password' => 'Zhipuzitest00',
- //平台db
- 'main.components.platformDb.connectionString' => 'mysql:host=rm-bp1ytv13wkx1c2h94.mysql.rds.aliyuncs.com;dbname=platform',
- 'main.components.platformDb.username' => 'zhipuzi',
- 'main.components.platformDb.password' => 'Zhipuzitest00',
- //登录页面
- 'main.components.user.loginUrl' => 'https://pf-test.zhipuzi.com/user/merchant/account/login',
- //redis配置
- //redis服务器地址
- 'redis.host' => 'r-bp1405387a9e6614.redis.rds.aliyuncs.com',
- //redis端口
- 'redis.port' => '6379',
- //redis密码
- 'redis.password' => 'ZhipuziRedisTest000',
- //全局配置
- //当前系统环境, dev, test, prod 三种环境,分别对应开发,测试, 生产环境
- 'global.env' => 'test',
- // api地址
- 'global.apiBaseUrl' => 'https://cyapi-test.zhipuzi.com',
- //静态资源url
- 'global.assetsUrl' => 'https://assets-cy-test.zhipuzi.com',
- //wap url
- 'global.wapBaseUrl' => 'https://cyh5-test.zhipuzi.com',
- //front使用的cdn地址
- 'global.frontCdnBaseUrl' => 'https://assets-cy-test.zhipuzi.com',
- //www url
- 'global.wwwBaseUrl' => 'https://www-test.zhipuzi.com',
- //微信营销域名,支持{appid}参数,格式: http://{appid}.yx.zhipuzi.com {appid}会替换成微信公众号appid
- 'global.wxYxBaseUrl' => 'http://{appid}.yxcy-test.zhipuzi.com',
- //后台地址
- 'global.consoleUrl' => 'https://cy-test.zhipuzi.com',
- //微信开放平台配置
- 'global.wechatOpenPlatform.appid' => 'wxe66e8394b58176b3',
- 'global.wechatOpenPlatform.secret' => '9018b791d2be2067e11da984d6a94df1',
- //公众号消息校验Token
- 'global.wechatOpenPlatform.token' => 'TPWTPbWvaDWYkoBMGgw3qEvC2XoKl46lQ6A6Np8wjqw',
- //公众号消息加解密Key
- 'global.wechatOpenPlatform.encodingaeskey' => 'vh3aZMH16AXxo3hcmKZAy8rTLpEwIVLvgi3oBbZTnp1',
- //智铺子公众号配置
- 'global.wechat.appid' => 'wx9213c38c57da2bf6',
- 'global.wechat.secret' => '8513b99bfd3c6372f843eae792c82a06',
- //平台配置
- // 'global.platformUrl' => 'http://platform-test-api-svc',
- // 'global.platform.h5.url' => 'http://platform-test-api-svc',
- 'global.platform.api.url' => 'http://platform-test-api-svc',
- 'global.platformUrl' => 'https://pf-test.zhipuzi.com/',
- 'global.platform.h5.url' => 'https://wap-test.zhipuzi.com',
- // 'global.platform.api.url' => 'http://172.16.11.72',
- //代理商url配置
- 'global.agent.url' => 'https://agent-test.zhipuzi.com',
- 'global.agent.innerurl' => 'https://agent-test.zhipuzi.com',
- //智铺子公众号在商家后台的adminId
- "global.adminIdForZhipuzi" => "77101",
- //乐外卖公众号在商家后台的adminId
- "global.adminIdForLewaimai" => "19",
- //支付宝开放平台设置
- 'global.alipayOpenPlatform.appid' => '2016091100485241',
- //消息队列配置
- 'global.messageQueue.queues.bigTask' => 'big-task-dev',
- 'global.messageQueue.queues.smallTask' => 'small-task-dev',
- //子系统域名配置
- //进销存
- 'global.subSystemBaseUrl.jxc' => 'https://jxc-test.zhipuzi.com',
- // 'gateway/api/jxc.api' => 'http://zhipuzi-cy-jxc-test-svc',
- // 'gateway/api/jxc.api' => 'http://zhipuzi-cy-test-jxc-svc',
- 'gateway/api/jxc.api' => 'http://zhipuzi-cy-test-jxc-svc',
- //阿里云日志服务配置
- 'log.aliyunLogHub.endpoint' => 'cn-hangzhou.log.aliyuncs.com',
- //阿里云访问秘钥 AccessKeyId
- 'log.aliyunLogHub.accessKeyId' => 'LTAIpYffXvFnEUzp',
- //阿里云访问秘钥 AccessKeySecret
- 'log.aliyunLogHub.accessKey' => 'F3lqBxo6Uj9pJpLs7btMW5u30X5uKB',
- //日志库
- 'log.aliyunLogHub.logstore' => 'test',
- //阿里云access key id
- 'opensearch.accessKeyId' => 'LTAIpYffXvFnEUzp',
- //阿里云access secret
- 'opensearch.accessSecret' => 'F3lqBxo6Uj9pJpLs7btMW5u30X5uKB',
- //阿里云opensearch api域名
- 'opensearch.endPoint' => 'http://opensearch-cn-hangzhou.aliyuncs.com',
- //阿里云opensearch app - 外卖订单
- 'opensearch.indexApps.waimaiOrder' => 'lewaimai_order_test',
- //阿里云opensearch app - 商品
- 'opensearch.indexApps.food' => 'lewaimai_food_test',
- //阿里云opensearch app - 顾客
- 'opensearch.indexApps.lewaimaiCustomer' => 'lewaimai_customer_test',
- //阿里云opensearch app - 会员
- 'opensearch.indexApps.lewaimaiMemberSearch' => 'lewaimai_member_search_test',
- //阿里云access key id
- 'mns.accessKeyId' => 'LTAIpYffXvFnEUzp',
- //阿里云access secret
- 'mns.accessSecret' => 'F3lqBxo6Uj9pJpLs7btMW5u30X5uKB',
- //阿里云mns api域名
- 'mns.endPoint' => 'https://1733013318510961.mns.cn-hangzhou.aliyuncs.com/',
- //监控配置
- 'statis.db.connectionString' => 'mysql:host=rm-bp1ytv13wkx1c2h94.mysql.rds.aliyuncs.com;dbname=weixin',
- 'statis.db.username' => 'zhipuzi',
- 'statis.db.password' => 'Zhipuzitest00',
- //天下支付商户号
- 'pay.channels.tianxia.mchId' => '1800776625',
- //天下支付密钥
- 'pay.channels.tianxia.key' => '12345',
- //代付API域名
- 'pay.channels.tianxia.gateway' => 'http://api.tfb8.com',
- //微信、支付宝API域名
- 'pay.channels.tianxia.gateway2' => 'http://upay.tfb8.com',
- 'pay.channels.zhipuziOfficialAli.gateway' => 'https://openapi.alipaydev.com/gateway.do',
- //快服务
- 'fastservice.clientId' => 'kfw_dvyw4bcu95jw0bdl',
- 'fastservice.key' => 'cee0uaw012tzip60wvvshstbm4l87pva',
- // 'fastservice.domain' => 'http://open.dev.kfw.net',//旧的测试接口,当个备份
- 'fastservice.domain' => 'http://api2.kfw.net',
- 'fastservice.binddomain' => 'http://api.kfw.net',
- 'fastservice.merchantLoginUrl' => 'http://open.dev.kfw.net/flow/view/login_pc',
- //达达
- 'dada.domain' => 'http://newopen.qa.imdada.cn',
- //worker 环境参数配置
- //php命令路径
- 'worker.php' => '/usr/local/bin/php',
- //进程运行角色
- 'worker.user' => 'www',
- // 'eleme.platformAppKey' => '8AEjry62wC',
- // 'eleme.platformAppSecret' => 'ee97f489f639e19d3129cb99fe53098a11042933',
- // 'eleme.callbackUrl' => 'https://api.zhipuzi.com/third/eleme/elemenotify/callBack', //饿了么绑定回跳地址
- 'eleme.platformAppKey' => 'xmy91vh6RQ',
- 'eleme.platformAppSecret' => 'c6fcebfa87d1bc35596d49a880b434d9d2e3b20e',
- 'eleme.callbackUrl' => 'https://api-test.zhipuzi.com/third/eleme/elemenotify/callBack', //饿了么绑定回跳地址
- 'eleme.scope' => 'all',
- 'eleme.sandBox' => true,
- //日志路由配置
- // 'main.components.log.routes' => array(
- // //页面输出性能日志, 网页调试可以打开
- // array(
- // 'class' => 'CProfileLogRoute',
- // ),
- // ),
- //小程序模版配置
- //版本号
- 'mini_commit_version.userVersion' => [
- "shop"=> "3.2.1.12",//单店
- "divpage"=> "3.2.1.12",//微页面
- "chainstore"=> "3.2.1.12",//连锁店
- ],
- //版本描述
- 'mini_commit_version.userDesc' => [
- "shop"=> "智铺子3.2.1.12",
- "divpage"=> "智铺子3.2.1.12",
- "chainstore"=> "智铺子3.2.1.12",
- ],
- //小程序模版id
- 'mini_commit_version.templateId' => [
- "shop"=> "21",
- "divpage"=> "21",
- "chainstore"=> "21",
- ],
- 'global.lewaimai_url' => 'https://api-test.lewaimai.com',
- 'global.lwm_appid' => 'dsadsa12354654dsad2wqewq22ee',
- 'global.lwm_secret' => '#sdfa2d!@#AAAAS#@!',
- //同步登录状态的接口地址
- 'global.webSyncLoginApis' => [
- 'https://jxc-test.zhipuzi.com/merchant/synclogin',
- ],
- 'db_event_listener.php' => '/usr/local/bin/php',
- 'db_event_listener.kafka.binlogTopic' => 'test-rds-binlog',
- //windows收银机队列
- 'global.windowsMsgQueue' => 'test-windows-pos-push',
- //是否开启个推,1-开启,0-关闭
- 'getui.used' => '0',
- );
|