浏览代码

补充缺失文件

Robin 6 年之前
父节点
当前提交
ca6f06fd0e

+ 25 - 0
normand/frontend/common/config/main-local.php

@@ -0,0 +1,25 @@
+<?php
+
+$config = [
+    'components' => [
+        'request' => [
+            // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
+            'cookieValidationKey' => 'jagArU5UunwUflL8HPZx_jV950RvQrcV6',
+        ],
+    ],
+];
+
+if (YII_ENV_DEV) {
+    // configuration adjustments for 'dev' environment
+    $config['bootstrap'][] = 'debug';
+    $config['modules']['debug'] = [
+        'class' => 'yii\debug\Module',
+    ];
+
+    $config['bootstrap'][] = 'gii';
+    $config['modules']['gii'] = [
+        'class' => 'yii\gii\Module',
+    ];
+}
+
+return $config;

+ 4 - 0
normand/frontend/common/config/params-local.php

@@ -0,0 +1,4 @@
+<?php
+return [
+    
+];

+ 2 - 2
normand/frontend/common/config/params.php

@@ -6,11 +6,11 @@ return [
 
     //'xcoqServiceBaseUrl' => 'http://frontend.service.fxm.me',
 //  'xcoqServiceBaseUrl' => 'http://fxm.frontend.service.com',
-    'xcoqServiceBaseUrl' => 'http://service.www.helongfx.com',
+    'xcoqServiceBaseUrl' => 'http://front.service.com',
     'xcoqServiceApiSecret' => 'app_oauth#^a3dl0psDM50*$%Tua@wtc467^',
 
     //'xcrmServiceBaseUrl' => 'http://backend.service.fxm.me',
-    'xcrmServiceBaseUrl' => 'http://service.www.helongfx.com',
+    'xcrmServiceBaseUrl' => 'http://front.service.com',
     'xcrmServiceApiSecret' => 'app_oauth#^a3dl0psDM50*$%Tua@wtc467^',
 
     'xcoqBaseUrl' => 'http://www.hk-dsm.com',

+ 9 - 0
normand/frontend/common/config/test-local.php

@@ -0,0 +1,9 @@
+<?php
+return yii\helpers\ArrayHelper::merge(
+    require(__DIR__ . '/../../common/config/test-local.php'),
+    require(__DIR__ . '/main.php'),
+    require(__DIR__ . '/main-local.php'),
+    require(__DIR__ . '/test.php'),
+    [
+    ]
+);