Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
ticker_config
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wallets
ticker_config
Commits
5b98e828
Commit
5b98e828
authored
Sep 20, 2018
by
rlgy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
92d41323
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
53 additions
and
54 deletions
+53
-54
main.php
api/config/main.php
+0
-3
params.php
api/config/params.php
+0
-7
main.php
backend/config/main.php
+29
-2
main.php
common/config/main.php
+6
-26
params.php
common/config/params.php
+18
-0
main.php
console/config/main.php
+0
-5
main.php
h5/config/main.php
+0
-4
params.php
h5/config/params.php
+0
-7
No files found.
api/config/main.php
View file @
5b98e828
...
...
@@ -16,9 +16,7 @@ $params = array_merge(
return
[
'id'
=>
'app-api'
,
'basePath'
=>
dirname
(
__DIR__
),
'timeZone'
=>
'Etc/GMT-8'
,
'controllerNamespace'
=>
'api\controllers'
,
'bootstrap'
=>
[
'log'
],
'defaultRoute'
=>
'site/index'
,
'layout'
=>
false
,
'modules'
=>
[],
...
...
@@ -46,7 +44,6 @@ return [
'enablePrettyUrl'
=>
true
,
'showScriptName'
=>
false
,
],
],
'params'
=>
$params
,
];
api/config/params.php
View file @
5b98e828
...
...
@@ -7,10 +7,4 @@
*/
return
[
'feixiaohao_domain'
=>
'https://www.feixiaohao.com'
,
'feixiaohao_page'
=>
[
'assets'
=>
'/assets/'
,
//代币
'currencies'
=>
'/currencies/'
,
//币种详情
'coinmarket'
=>
'/coinmarket/'
,
//上市交易所
],
];
\ No newline at end of file
backend/config/main.php
View file @
5b98e828
...
...
@@ -16,13 +16,40 @@ $params = array_merge(
return
[
'id'
=>
'app-backend'
,
'basePath'
=>
'@backend'
,
'timeZone'
=>
'Etc/GMT-8'
,
'controllerNamespace'
=>
'backend\controllers'
,
'bootstrap'
=>
[
'log'
],
'bootstrap'
=>
[
'log'
,
],
'defaultRoute'
=>
'site/index'
,
'layout'
=>
'main'
,
'modules'
=>
[],
'components'
=>
[
'user'
=>
[
'class'
=>
'yii\web\User'
,
'loginUrl'
=>
[
'login/login'
],
'enableAutoLogin'
=>
true
,
'identityClass'
=>
'common\models\Admin'
,
'identityCookie'
=>
[
'name'
=>
'_identity-backend'
,
'httpOnly'
=>
true
,
],
],
'authManager'
=>
[
'class'
=>
'common\core\rbac\DbManager'
,
],
'assetManager'
=>
[
'bundles'
=>
[
'yii\web\JqueryAsset'
=>
[
'sourcePath'
=>
null
,
'js'
=>
[],
'depends'
=>
[],
],
'yii\bootstrap\BootstrapAsset'
=>
[
'css'
=>
[],
],
],
'linkAssets'
=>
true
,
//true 清除缓存
],
'request'
=>
[
'class'
=>
'common\core\Request'
,
'baseUrl'
=>
'/admin'
,
...
...
common/config/main.php
View file @
5b98e828
...
...
@@ -10,37 +10,16 @@ return [
'vendorPath'
=>
'@vendor'
,
'sourceLanguage'
=>
'en'
,
'language'
=>
'zh-CN'
,
'timeZone'
=>
'Etc/GMT-8'
,
'aliases'
=>
[
'@bower'
=>
'@vendor/bower-asset'
,
'@npm'
=>
'@vendor/npm-asset'
,
],
'components'
=>
[
'user'
=>
[
'class'
=>
'yii\web\User'
,
'loginUrl'
=>
[
'login/login'
],
'enableAutoLogin'
=>
true
,
'identityClass'
=>
'common\models\Admin'
,
'identityCookie'
=>
[
'name'
=>
'_identity-backend'
,
'httpOnly'
=>
true
,
],
],
'authManager'
=>
[
'class'
=>
'common\core\rbac\DbManager'
,
],
'assetManager'
=>
[
'bundles'
=>
[
'yii\web\JqueryAsset'
=>
[
'sourcePath'
=>
null
,
'js'
=>
[],
'depends'
=>
[],
],
'yii\bootstrap\BootstrapAsset'
=>
[
'css'
=>
[],
],
],
'linkAssets'
=>
true
,
//true 清除缓存
'bootstrap'
=>
[
'log'
,
'queue'
,
],
'components'
=>
[
'db'
=>
[
'class'
=>
'yii\db\Connection'
,
'dsn'
=>
'mysql:host=127.0.0.1;dbname=manage'
,
...
...
@@ -115,6 +94,7 @@ return [
'api\*'
,
'common\*'
,
'console\*'
,
'h5\*'
,
],
'logVars'
=>
[],
],
...
...
common/config/params.php
View file @
5b98e828
...
...
@@ -56,4 +56,22 @@ return [
'port'
=>
'8118'
,
'use'
=>
true
,
],
'chain33'
=>
[
'scheme'
=>
'http'
,
'host'
=>
'120.55.243.226'
,
'port'
=>
8801
,
],
'h5_activity'
=>
[
'ZWG_GUESS_NEWBEE'
=>
[
'from'
=>
'1MNwSHugmoBcGxqfU8Gt4excUg68DA7hYE'
,
//转币地址
'to'
=>
'14o9MHrrLfpsXf7wu4H4YRwvy84fjd7uaj'
,
//新手 0.001个bty投一次
'to_normal'
=>
'1415uErzSxEVXdfcYLc9ud6G377iStd2xL'
,
//2 个bty投一次
'amount'
=>
0.001
,
'note'
=>
''
,
'isToken'
=>
false
,
'token'
=>
''
,
],
],
];
console/config/main.php
View file @
5b98e828
...
...
@@ -9,11 +9,6 @@ $params = array_merge(
return
[
'id'
=>
'app-console'
,
'basePath'
=>
dirname
(
__DIR__
),
'timeZone'
=>
'Etc/GMT-8'
,
'bootstrap'
=>
[
'log'
,
'queue'
],
'controllerNamespace'
=>
'console\controllers'
,
'aliases'
=>
[
'@bower'
=>
'@vendor/bower-asset'
,
...
...
h5/config/main.php
View file @
5b98e828
...
...
@@ -16,11 +16,7 @@ $params = array_merge(
return
[
'id'
=>
'app-h5'
,
'basePath'
=>
dirname
(
__DIR__
),
'timeZone'
=>
'Etc/GMT-8'
,
'controllerNamespace'
=>
'h5\controllers'
,
'bootstrap'
=>
[
'log'
],
'defaultRoute'
=>
'site/index'
,
'layout'
=>
false
,
'modules'
=>
[],
...
...
h5/config/params.php
View file @
5b98e828
...
...
@@ -7,10 +7,4 @@
*/
return
[
'feixiaohao_domain'
=>
'https://www.feixiaohao.com'
,
'feixiaohao_page'
=>
[
'assets'
=>
'/assets/'
,
//代币
'currencies'
=>
'/currencies/'
,
//币种详情
'coinmarket'
=>
'/coinmarket/'
,
//上市交易所
],
];
\ No newline at end of file
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