Sfoglia il codice sorgente

Signed-off-by: MrHgx <252766929@qq.com>

MrHgx 6 anni fa
parent
commit
3369162b26
2 ha cambiato i file con 0 aggiunte e 72 eliminazioni
  1. 0 57
      common/config/main.php
  2. 0 15
      common/config/redis-local.php

+ 0 - 57
common/config/main.php

@@ -1,57 +0,0 @@
-<?php
-return [
-    'aliases' => [
-        '@bower' => '@vendor/bower-asset',
-        '@npm'   => '@vendor/npm-asset',
-    ],
-    'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
-	'sourceLanguage' => 'en',
-	'language' => 'zh-CN',
-    'components' => [
-		//  新添加的
-		'Amqp' => [
-			'class' => 'components\service\Amqp',
-			'host'	=> '127.0.0.1',
-			'port'	=> '5672',
-			'user'	=> 'guest',
-			'pass'	=> 'Guest',
-		],
-        'cUrl' => [
-            'class' => '\components\components\CUrl'
-        ],
-//
-//        //新增加的加密
-        'messageQueue' => [
-            'class' => '\components\components\messageQueue\MessageInterface',
-            'key' => 'QkwzrML50o1KIK5bI-HbkVBcTSA_Ehdh',
-            'protocol' => 'http',
-           'host' => '120.78.153.45'
-            //           'host' => 'ki.logsystemadmin.airent.test.com'
-        ],
-
-        'cache' => [
-            'class' => 'yii\caching\FileCache',
-        ],
-
-        'redis' => [
-            'class' => 'yii\redis\Connection',
-            'hostname'	=> '139.196.43.170',
-            'port' => 6378,
-            'database' => 0,
-            'password' => 'airent-redis~123',
-        ],
-
-		'i18n' => [
-			'translations' => [
-				'*' => [
-					'class' => 'yii\i18n\PhpMessageSource',
-					'basePath'=>'@common/messages',
-					'fileMap' => [
-						'common' => 'common.php',
-						'error'	 => 'errorCode.php',
-					],
-				],
-			],
-		],
-    ],
-];

+ 0 - 15
common/config/redis-local.php

@@ -1,15 +0,0 @@
-<?php
-
-return [
-    'class' => 'yii\redis\Connection',
-
-//    'hostname'	=> '192.168.3.10',
-//    'port' => 6379,
-//    'database' => 0,
-//    'password' => 'redis12078',
-
-    'hostname'	=> '139.196.43.170',
-    'port' => 6378,
-    'database' => 0,
-    'password' => 'airent-redis~123',
-];