Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
token
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wallet
token
Commits
47134afb
Commit
47134afb
authored
6 years ago
by
rlgy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
6bc52020
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
104 additions
and
35 deletions
+104
-35
.gitignore
backend/config/.gitignore
+0
-3
bootstrap.php
backend/config/bootstrap.php
+0
-1
main-local.php
backend/config/main-local.php
+11
-0
params-local.php
backend/config/params-local.php
+12
-0
test.php
backend/config/test.php
+0
-12
index.php
backend/web/index.php
+0
-1
.gitignore
common/config/.gitignore
+0
-3
main-local.php
common/config/main-local.php
+51
-0
params-local.php
common/config/params-local.php
+11
-0
test.php
common/config/test.php
+0
-11
.gitignore
console/config/.gitignore
+0
-3
bootstrap.php
console/config/bootstrap.php
+0
-1
main-local.php
console/config/main-local.php
+9
-0
params-local.php
console/config/params-local.php
+10
-0
No files found.
backend/config/.gitignore
View file @
47134afb
main-local.php
params-local.php
test-local.php
This diff is collapsed.
Click to expand it.
backend/config/bootstrap.php
deleted
100644 → 0
View file @
6bc52020
<?php
This diff is collapsed.
Click to expand it.
backend/config/main-local.php
0 → 100644
View file @
47134afb
<?php
/**
* Created by PhpStorm.
* User: rlgyzhcn
* Date: 18-5-3
* Time: 下午12:54
*/
return
[
];
\ No newline at end of file
This diff is collapsed.
Click to expand it.
backend/config/params-local.php
0 → 100644
View file @
47134afb
<?php
/**
* Created by PhpStorm.
* User: rlgyzhcn
* Date: 18-5-3
* Time: 下午12:57
*/
return
[
];
\ No newline at end of file
This diff is collapsed.
Click to expand it.
backend/config/test.php
deleted
100644 → 0
View file @
6bc52020
<?php
return
[
'id'
=>
'app-backend-tests'
,
'components'
=>
[
'assetManager'
=>
[
'basePath'
=>
__DIR__
.
'/../web/assets'
,
],
'urlManager'
=>
[
'showScriptName'
=>
true
,
],
],
];
This diff is collapsed.
Click to expand it.
backend/web/index.php
View file @
47134afb
...
...
@@ -12,7 +12,6 @@ defined('YII_ENV') or define('YII_ENV', 'dev');
require
__DIR__
.
'/../../vendor/autoload.php'
;
require
__DIR__
.
'/../../vendor/yiisoft/yii2/Yii.php'
;
require
__DIR__
.
'/../../common/config/bootstrap.php'
;
require
__DIR__
.
'/../config/bootstrap.php'
;
$config
=
yii\helpers\ArrayHelper
::
merge
(
require
__DIR__
.
'/../../common/config/main.php'
,
...
...
This diff is collapsed.
Click to expand it.
common/config/.gitignore
View file @
47134afb
main-local.php
params-local.php
test-local.php
This diff is collapsed.
Click to expand it.
common/config/main-local.php
0 → 100644
View file @
47134afb
<?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'
,
],
],
];
This diff is collapsed.
Click to expand it.
common/config/params-local.php
0 → 100644
View file @
47134afb
<?php
/**
* Created by PhpStorm.
* User: rlgyzhcn
* Date: 18-5-3
* Time: 下午12:58
*/
return
[
];
\ No newline at end of file
This diff is collapsed.
Click to expand it.
common/config/test.php
deleted
100644 → 0
View file @
6bc52020
<?php
return
[
'id'
=>
'app-common-tests'
,
'basePath'
=>
dirname
(
__DIR__
),
'components'
=>
[
'user'
=>
[
'class'
=>
'yii\web\User'
,
'identityClass'
=>
'common\models\User'
,
],
],
];
This diff is collapsed.
Click to expand it.
console/config/.gitignore
View file @
47134afb
main-local.php
params-local.php
\ No newline at end of file
This diff is collapsed.
Click to expand it.
console/config/bootstrap.php
deleted
100644 → 0
View file @
6bc52020
<?php
This diff is collapsed.
Click to expand it.
console/config/main-local.php
0 → 100644
View file @
47134afb
<?php
/**
* Created by PhpStorm.
* User: rlgyzhcn
* Date: 18-6-27
* Time: 上午10:31
*/
return
[];
\ No newline at end of file
This diff is collapsed.
Click to expand it.
console/config/params-local.php
0 → 100644
View file @
47134afb
<?php
/**
* Created by PhpStorm.
* User: rlgyzhcn
* Date: 18-6-27
* Time: 上午10:32
*/
return
[];
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment