| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- <?php
- /**
- * 应用全局默认配置
- */
- return [
- //当前系统版本
- "version" => "v0.0.4",
- //当前系统环境, dev, test, prod 三种环境,分别对应开发,测试, 生产环境
- "env" => "dev",
- //front版本号
- "frontVersion" => "3.9.22.17",
- //front cdn date
- "frontCdnDate" => "20170927",
- //开放平台接口url
- "apiBaseUrl" => "",
- //静态资源url
- "assetsUrl" => "https://pf-assets-dev4.zhipuzi.com",
- //当前域名
- "presentUrl"=>"https://pf-dev4.zhipuzi.com",
- //官网地址
- "officialWebsiteUrl"=>"https://www-dev4.zhipuzi.com",
- //wap网站url, 对应front url
- "wapBaseUrl" => "",
- //www网站url, 对应www url
- "wwwBaseUrl" => "",
- //餐饮版进销存url
- "cyJxcUrl" => "https://jxc-dev4.zhipuzi.com",
- //admin系统url
- "adminUrl" => "https://admin-dev4.zhipuzi.com",
- //零售版进销存url
- "lsJxcUrl" => "https://lsjxc-dev4.zhipuzi.com",
- //子系统后台url
- "consoleUrl" => "https://console-dev4.zhipuzi.com",
- //餐饮版后台url
- "cyConsoleUrl"=>"https://cy-dev4.zhipuzi.com",
- //零售版后台url
- "lsConsoleUrl"=>"https://ls-dev4.zhipuzi.com", //https://ls-dev.zhipuzi.com
- //餐饮版后台url
- "cyApiUrl"=>"https://cyapi-dev4.zhipuzi.com",
- //零售版后台url
- "lsApiUrl"=>"https://lsapi-dev4.zhipuzi.com",
- //又拍云cdn, front使用的cdn地址
- "frontCdnBaseUrl" => "",
- //微信营销域名,支持{appid}参数,格式: http://{appid}.yx.zhipuzi.com {appid}会替换成微信公众号appid
- "wxYxBaseUrl" => "",
- //微信开放平台配置s
- "wechatOpenPlatform" => [
- 'appid' => '',
- 'secret' => '',
- //公众号消息校验Token
- 'token' => '',
- //公众号消息加解密Key
- 'encodingaeskey' => '',
- ],
- //智铺子公众号配置
- "wechat" => [
- 'appid' => '',
- 'secret' => '',
- 'lewaimaiAppid' => 'wxcc4eedbb856aa909',
- ],
- //乐快送公众号配置
- "lekuaisong" => [
- 'appid' => 'wx808d7a8d91141774',
- 'secret' => 'd8620e8ca89b407750006f73dcca0959',
- ],
- //支付宝开放平台设置
- "alipayOpenPlatform" => [
- 'appid' => '',
- ],
- //消息队列配置
- "messageQueue" => [
- //队列名配置
- "queues" => [
- "bigTask" => 'big-task',
- "smallTask" => 'small-task',
- ],
- ],
- //h5 静态资源入口路径
- 'h5StaticResourcePath' => LWM_PROJECT_PATH . '/assets/wx/entry_page',
- //模板消息里的广告url
- 'adUrlInMessage' => 'https://www.zhipuzi.com',
- //乐如云公众号配置
- "leruyun" => [
- 'appid' => 'wxc64f2a7e9b2c1c1c',
- 'secret' => 'fc8f1d8c6a54da8ce96befe521699cf5',
- 'mchid' => '1308161901',
- 'key' => '77ef3993690f958b81d9907cb9c9d676',
- ],
- //乐商城
- // "leruyun" => [
- // 'appid' => 'wx0b9c078ea9658bcc',
- // 'secret' => '53494768455c3a7825dd8dbb52ba6014',
- // 'mchid' => '1366875502',
- // 'key' => '6462a12c80cbba255361ee0800662679',
- // ],
- //乐刷公众号配置
- "leshua" => [
- //这个是乐刷商务版的appid
- // 'appid' => 'wx504536a84f74ba0b',
- //这个是迅享生活的appid
- // 'appid' => 'wx463dbb520a47871b',
- //这个是迅享同城的appid
- 'appid' => 'wx2e7e5a2a92bd1efe',
- ],
- //乐外卖官方支付宝账号
- "alipay" => [
- 'appid' => '2017070407642048',
- ],
- //乐外卖定制推送服务
- 'pushUrl' => 'http://115.29.174.119:9501',
- //配置是否收取订单费,true收取,false取消
- "is_ordernum" => true,
- //智铺子公众号在商家后台的adminId
- "adminIdForZhipuzi" => "",
- //智铺子官方支付宝账号
- "zhipuziOfficialAli" => [
- 'appid' => '2018032302431616',
- ],
- //智铺子商家官方公众号配置
- "zhipuziSellerOfficialWechat" => [
- 'appid' => 'wxb6d63807a0d804e6',
- 'secret' => '08344e16e77bd64d99ba411399308440',
- ],
- "adminIdForLewaimai" => "",
- //爱财的设置
- 'aicaiPay' =>[
- //自己设置
- 'appid' => 'aicai',
- ],
- // 允许ip发送验证码的最大次数
- 'allow_ip_max_send_num' => 20,
- //乐外卖平台店铺绑定接口
- 'lewaimai_url' => 'https://api-dev.lewaimai.com',
- 'lwm_appid' => 'dsadsa12354654dsad2wqewq22ee',
- 'lwm_secret' => '#sdfa2d!@#AAAAS#@!',
- //又拍云配置
- 'upyun' => [
- //云存储实例
- 'bucket' => 'zhipuzi-cdn',
- //操作员
- 'operator' => 'zhipuzi',
- //密码
- 'password' => 'Zhipu1202018',
- ],
- //智铺子平台,网站登录状态同步key
- 'webSyncLoginKey' => 'JnkjjJggii!#!@99',
- //同步登录状态的接口地址
- 'webSyncLoginApis' => [
- ],
- //同步登录状态间隔
- 'webSyncloginTimeout' => 7200,
- //子系统域名
- 'subSystemBaseUrl' => [
- //进销存
- 'jxc' => 'https://jxc-dev.zhipuzi.com',
- ],
- //主域名禁止访问那些路由,支持正则表达式
- 'mainDomainDenyRoute' => [
- //禁止访问砍价
- '/h5/lwm/bargain/.*',
- ],
- //商品券商家ID列表
- 'goods_coupon_admin_ids' => [15815],
- //业务系统对应域名
- 'business_host' =>[
- 'repast' => 'https://cyh5-dev.zhipuzi.com', //餐饮系统域名
- 'retail' => 'https://lsh5-dev.zhipuzi.com', //零售系统域名
- "cyapi" => '', //餐饮api
- "lsapi" => '', //零售api
- //微信营销域名,支持{appid}参数,格式: http://{appid}.yx.zhipuzi.com {appid}会替换成微信公众号appid
- //餐饮营销域名
- "cyYxBaseUrl" => "", //餐饮营销域名
- //零售营销域名
- "lsYxBaseUrl" => "", //零售营销域名
- ],
- //业务系统-h5内网地址
- 'business_h5_internal_host' =>[
- 'repast' => 'https://cyh5-dev.zhipuzi.com', //餐饮系统H5域名
- 'retail' => 'https://lsh5-dev.zhipuzi.com', //零售系统H5域名
- 'repastapi' => 'https://cyapi-dev.zhipuzi.com', //餐饮系统api域名
- 'retailapi' => 'https://lsapi-dev.zhipuzi.com', //零售系统api域名
- ],
- 'agent' => [ //代理商相关配置
- 'url' => 'https://agent-dev.zhipuzi.com', //http://agent-local.zhipuzi.com https://agent-dev.zhipuzi.com
- 'agent_appid' => '84b19199fd221a78c491cd553cbb4ab7',
- 'agent_secret' => '#repast!@#AfAS#@!',
- ],
- ];
|