Commit 47134afb authored by rlgy's avatar rlgy

update

parent 6bc52020
main-local.php
params-local.php
test-local.php
<?php
/**
* Created by PhpStorm.
* User: rlgyzhcn
* Date: 18-5-3
* Time: 下午12:54
*/
return [
];
\ No newline at end of file
<?php
/**
* Created by PhpStorm.
* User: rlgyzhcn
* Date: 18-5-3
* Time: 下午12:57
*/
return [
];
\ No newline at end of file
<?php
return [
'id' => 'app-backend-tests',
'components' => [
'assetManager' => [
'basePath' => __DIR__ . '/../web/assets',
],
'urlManager' => [
'showScriptName' => true,
],
],
];
...@@ -12,7 +12,6 @@ defined('YII_ENV') or define('YII_ENV', 'dev'); ...@@ -12,7 +12,6 @@ defined('YII_ENV') or define('YII_ENV', 'dev');
require __DIR__ . '/../../vendor/autoload.php'; require __DIR__ . '/../../vendor/autoload.php';
require __DIR__ . '/../../vendor/yiisoft/yii2/Yii.php'; require __DIR__ . '/../../vendor/yiisoft/yii2/Yii.php';
require __DIR__ . '/../../common/config/bootstrap.php'; require __DIR__ . '/../../common/config/bootstrap.php';
require __DIR__ . '/../config/bootstrap.php';
$config = yii\helpers\ArrayHelper::merge( $config = yii\helpers\ArrayHelper::merge(
require __DIR__ . '/../../common/config/main.php', require __DIR__ . '/../../common/config/main.php',
......
main-local.php
params-local.php
test-local.php
<?php
/**
* Created by PhpStorm.
* User: rlgyzhcn
* Date: 18-5-3
* Time: 下午12:55
*/
return [
'components' => [
/**
* db config
*/
'db' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=127.0.0.1;dbname=manage',
'username' => 'root',
'password' => '123456',
'charset' => 'utf8',
'tablePrefix' => 'gli_',
],
'db_pwallet' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=127.0.0.1;dbname=api',
'username' => 'root',
'password' => '123456',
'charset' => 'utf8',
],
'cache' => [
'class' => 'yii\redis\Cache',
'redis' => [
'hostname' => 'localhost',
'port' => 6379,
'password' => 'jlm123456',
'database' => 0,
],
],
'redis' => [
'class' => 'yii\redis\Connection',
'hostname' => 'localhost',
'password' => 'jlm123456',
'port' => 6379,
'database' => 1,
],
'uploader' => [
'class' => 'common\components\uploader\Uploader',
'baseuri' => 'http://127.0.0.1:8082/admin/upload',
'absolute' => dirname(dirname(__DIR__)) . '/backend/web/upload',
],
],
];
<?php
/**
* Created by PhpStorm.
* User: rlgyzhcn
* Date: 18-5-3
* Time: 下午12:58
*/
return [
];
\ No newline at end of file
<?php
return [
'id' => 'app-common-tests',
'basePath' => dirname(__DIR__),
'components' => [
'user' => [
'class' => 'yii\web\User',
'identityClass' => 'common\models\User',
],
],
];
main-local.php
params-local.php
\ No newline at end of file
<?php
/**
* Created by PhpStorm.
* User: rlgyzhcn
* Date: 18-6-27
* Time: 上午10:31
*/
return [];
\ No newline at end of file
<?php
/**
* Created by PhpStorm.
* User: rlgyzhcn
* Date: 18-6-27
* Time: 上午10:32
*/
return [];
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment