'app-console', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log'], 'controllerNamespace' => 'console\controllers', 'aliases' => [ '@bower' => '@vendor/bower-asset', '@npm' => '@vendor/npm-asset', ], 'controllerMap' => [ 'fixture' => [ 'class' => 'yii\console\controllers\FixtureController', 'namespace' => 'common\fixtures', ], ], 'components' => [ /*'log' => [ 'targets' => [ [ 'class' => 'yii\log\FileTarget', 'levels' => ['error', 'warning'], ], ], ],*/ /** * db config */ 'db' => [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=rm-bp144nc2129h43c4i.mysql.rds.aliyuncs.com;dbname=manage', 'username' => 'fzmrisk', 'password' => '37uIrcBFk4nMnUjQ', 'charset' => 'utf8', 'tablePrefix' => 'gli_', ], 'db_parse' => [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=rr-6wea9n3nrh732s6fmdo.mysql.japan.rds.aliyuncs.com;dbname=parse', 'username' => 'risk', 'password' => 'risk@1001', 'charset' => 'utf8', 'tablePrefix' => 'fxee_', ], 'db_fxee' => [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=rr-6wea9n3nrh732s6fmdo.mysql.japan.rds.aliyuncs.com;dbname=zhaobi', 'username' => 'risk', 'password' => 'risk@1001', 'charset' => 'utf8', 'tablePrefix' => 'fxee_', ], 'weChat' => [ 'class' => 'weChat\WeChat', 'transport' => [ 'class' => 'weChat\WeChat_Transport', 'protocol' => 'https', 'host' => 'qyapi.weixin.qq.com', 'corpid' => 'wwa54b55ddca830a01', 'agentid' => '1000011', 'corpsecret' => 'MZxZ5yTAOwG_St71rZNS5o4I_uWuN8a0N31vAv2Izx0', 'department_id' => 10, ], 'messageConfig' => [ 'class' => 'weChat\Message', 'setter' => 'weChat\MimeMessage', ] ], ], 'params' => $params, ];