dirname(__FILE__).DIRECTORY_SEPARATOR.'..', 'name'=>'智铺子运营管理系统', 'language'=>'zh_cn', 'timeZone'=>'Asia/Chongqing', // preloading 'log' component 'preload'=>array('log'), // autoloading model and component classes 'import'=>array( 'application.models.*', 'application.components.*', 'application.include.*', 'application.include.Lewaimai.*', 'application.include.tools.*', 'application.include.taskcenter.*', 'application.lib.*', 'application.models.cy.*', 'application.models.ls.*', 'application.models.agent.*', 'application.models.platform.*', 'application.models.form.*', ), 'modules'=>array( // uncomment the following to enable the Gii tool 'gii'=>array( 'class'=>'system.gii.GiiModule', 'password'=>'hhyz122131', // If removed, Gii defaults to localhost only. Edit carefully to taste. 'ipFilters'=>array('127.0.0.1','::1'), ), ), // application components 'components'=>array( 'user'=>array( // enable cookie-based authentication 'allowAutoLogin'=>true, ), // uncomment the following to enable URLs in path-format /* 'urlManager'=>array( 'urlFormat'=>'path', 'showScriptName'=>false, 'rules'=>array( '/'=>'/view', '//'=>'/', '/'=>'/', ), ), */ 'db'=>array( 'connectionString' => 'mysql:host=rm-bp1353x13u02kzess.mysql.rds.aliyuncs.com;dbname=weixin', 'emulatePrepare' => true, 'username' => 'zhipuzi', 'password' => 'ZhipuziGX029319', 'charset' => 'utf8', 'tablePrefix' => 'wx_', ), 'slaveDb'=>array( 'class' => 'CDbConnection', 'connectionString' => 'mysql:host=rm-bp1353x13u02kzess.mysql.rds.aliyuncs.com;dbname=weixin', 'emulatePrepare' => true, 'username' => 'zhipuzi', 'password' => 'ZhipuziGX029319', 'charset' => 'utf8', 'tablePrefix' => 'wx_', ), 'platformDb'=>array( 'class' => 'CDbConnection', 'connectionString' => 'mysql:host=rm-bp1353x13u02kzess.mysql.rds.aliyuncs.com;dbname=platform', 'emulatePrepare' => true, 'username' => 'zhipuzi', 'password' => 'ZhipuziGX029319', 'charset' => 'utf8', 'tablePrefix' => 'pf_', ), 'lsDb'=>array( 'class' => 'CDbConnection', 'connectionString' => 'mysql:host=rm-bp1353x13u02kzess.mysql.rds.aliyuncs.com;dbname=lssystem', 'emulatePrepare' => true, 'username' => 'zhipuzi', 'password' => 'ZhipuziGX029319', 'charset' => 'utf8', 'tablePrefix' => 'wx_', ), 'lsSlaveDb'=>array( 'class' => 'CDbConnection', 'connectionString' => 'mysql:host=rm-bp1353x13u02kzess.mysql.rds.aliyuncs.com;dbname=lssystem', 'emulatePrepare' => true, 'username' => 'zhipuzi', 'password' => 'ZhipuziGX029319', 'charset' => 'utf8', 'tablePrefix' => 'wx_', ), 'agentDb'=>array( 'class' => 'CDbConnection', 'connectionString' => 'mysql:host=rm-bp1353x13u02kzess.mysql.rds.aliyuncs.com;dbname=agent', 'emulatePrepare' => true, 'username' => 'zhipuzi', 'password' => 'ZhipuziGX029319', 'charset' => 'utf8', 'tablePrefix' => 'ag_', ), 'errorHandler'=>array( // use 'site/error' action to display errors 'errorAction'=>'site/error', ), 'log'=>array( 'class'=>'CLogRouter', 'routes'=>array( array( 'class'=>'CFileLogRoute', 'levels'=>'info, error, warning', ), // uncomment the following to show log messages on web pages /* array( 'class'=>'CWebLogRoute', ), */ ), ), 'urlManager'=>array( 'urlFormat'=>'path', 'showScriptName' => false, 'urlSuffix' => '', 'rules'=>array( ''=>array('site/', 'urlSuffix'=>'.html', 'caseSensitive'=>false), 'help/'=>array('help/', 'urlSuffix'=>'.html', 'caseSensitive'=>false), '/'=>'/view', 'article//'=>array('article/', 'urlSuffix'=>'.html', 'caseSensitive'=>false), 'article//'=>array('article/', 'urlSuffix'=>'.html', 'caseSensitive'=>false), '//'=>'/', '/'=>'/' ), ), ), // application-level parameters that can be accessed // using Yii::app()->params['paramName'] 'params'=>array( // this is used in contact page 'adminEmail'=>'2106microtech@gmail.com', //餐饮小程序版本号 'MiniVersioncy' => [ "shop" =>"3.1.1.45",//单店 "divpage" =>"3.1.1.46",//微页面 "chainstore"=>"3.1.1.45",//连锁店 ], //零售小程序版本号 'MiniVersionls' => [ "shop" =>"3.1.2.47",//单店 "divpage" =>"3.1.2.48",//微页面 "chainstore"=>"3.1.2.47",//连锁店 ], //餐饮共享小程序版本号 'MiniVersionShare' => [ /********************************************上传代码参数*******************************************/ //小程序版本号 'userVersion' => '1.1.1', //代码描述 'userDesc' => '', //套用的模板id 'templateId' => '', /********************************************提交审核参数*******************************************/ //小程序的页面 "address" => "pages/index/index", //小程序的标签 "tag" => "生活服务", //小程序页面的标题 "title" => "首页", ], //平台地址 'platformUrl'=>'https://pf.zhipuzi.com/', //平台api地址 'platformApiUrl' => 'https://pf-api.zhipuzi.com', //平台派发的appid 'open_appid' => '84b19199fd221a78c491cd553cbb4ab7', //平台派发的secret 'open_secret' => '#repast!@#AfAS#@!', //微信开放平台配置s "wechatOpenPlatform" => [ 'appid' => 'wx1ebd2d6dd84d4806', 'secret' => '1696e0c3e97f6bcfa0176ac72bd7bc98', //公众号消息校验Token 'token' => 'TPWTPbWvaDWYkoBMGgw3qEvC2XoKl46lQ6A6Np8wjqw', //公众号消息加解密Key 'encodingaeskey' => 'vh3aZMH16AXxo3hcmKZAy8rTLpEwIVLvgi3oBbZTnp1', ], ), );