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
ec8fc19c
Commit
ec8fc19c
authored
Sep 21, 2018
by
rlgy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
cf68f582
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
45 additions
and
46 deletions
+45
-46
main.php
api/config/main.php
+1
-2
index-dev.php
api/index-dev.php
+2
-1
main.php
backend/config/main.php
+0
-4
params.php
backend/config/params.php
+27
-3
index-dev.php
backend/index-dev.php
+2
-1
bootstrap.php
common/config/bootstrap.php
+7
-0
params.php
common/config/params.php
+0
-24
main.php
console/config/main.php
+1
-7
main.php
h5/config/main.php
+1
-2
index-dev.php
h5/index-dev.php
+2
-1
yii-local
yii-local
+2
-1
No files found.
api/config/main.php
View file @
ec8fc19c
...
@@ -15,11 +15,10 @@ $params = array_merge(
...
@@ -15,11 +15,10 @@ $params = array_merge(
return
[
return
[
'id'
=>
'app-api'
,
'id'
=>
'app-api'
,
'basePath'
=>
dirname
(
__DIR__
)
,
'basePath'
=>
'@api'
,
'controllerNamespace'
=>
'api\controllers'
,
'controllerNamespace'
=>
'api\controllers'
,
'defaultRoute'
=>
'site/index'
,
'defaultRoute'
=>
'site/index'
,
'layout'
=>
false
,
'layout'
=>
false
,
'modules'
=>
[],
'components'
=>
[
'components'
=>
[
'request'
=>
[
'request'
=>
[
'baseUrl'
=>
'/interface'
,
'baseUrl'
=>
'/interface'
,
...
...
api/index-dev.php
View file @
ec8fc19c
...
@@ -8,7 +8,8 @@
...
@@ -8,7 +8,8 @@
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'dev'
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'dev'
);
define
(
'WALLET_PROJECT_PATH'
,
'/home/rlgyzhcn/Desktop/33/token'
);
define
(
'WALLET_PROJECT_PATH'
,
'/home/rlgyzhcn/Desktop/33/token'
);
//定义框架代码的目录
define
(
'WALLET_RUNTIME_PATH'
,
dirname
(
__DIR__
));
//定义程序运行的目录
require
WALLET_PROJECT_PATH
.
'/vendor/autoload.php'
;
require
WALLET_PROJECT_PATH
.
'/vendor/autoload.php'
;
require
WALLET_PROJECT_PATH
.
'/vendor/yiisoft/yii2/Yii.php'
;
require
WALLET_PROJECT_PATH
.
'/vendor/yiisoft/yii2/Yii.php'
;
...
...
backend/config/main.php
View file @
ec8fc19c
...
@@ -17,12 +17,8 @@ return [
...
@@ -17,12 +17,8 @@ return [
'id'
=>
'app-backend'
,
'id'
=>
'app-backend'
,
'basePath'
=>
'@backend'
,
'basePath'
=>
'@backend'
,
'controllerNamespace'
=>
'backend\controllers'
,
'controllerNamespace'
=>
'backend\controllers'
,
'bootstrap'
=>
[
'log'
,
],
'defaultRoute'
=>
'site/index'
,
'defaultRoute'
=>
'site/index'
,
'layout'
=>
'main'
,
'layout'
=>
'main'
,
'modules'
=>
[],
'components'
=>
[
'components'
=>
[
'user'
=>
[
'user'
=>
[
'class'
=>
'yii\web\User'
,
'class'
=>
'yii\web\User'
,
...
...
backend/config/params.php
View file @
ec8fc19c
...
@@ -7,8 +7,32 @@
...
@@ -7,8 +7,32 @@
*/
*/
return
[
return
[
'adminEmail'
=>
'admin@example.com'
,
'user.passwordResetTokenExpire'
=>
3600
,
'admin'
=>
1
,
/* 后台页面属性配置 */
'config_page'
=>
[
'add'
=>
'添加'
,
'delete'
=>
'删除'
,
'update'
=>
'更新'
,
'tool_bar'
=>
'工具箱'
,
'export'
=>
'导出Excel'
,
'others'
=>
'其它'
,
'details'
=>
'详情'
,
'color_opt'
=>
'btn-primary'
,
'color_bar'
=>
'btn-primary'
,
],
'pager'
=>
[
'options'
=>
[
'class'
=>
'pagination'
,
'style'
=>
'visibility: visible;'
],
'firstPageLabel'
=>
"首页"
,
'prevPageLabel'
=>
'上一页'
,
'nextPageLabel'
=>
'下一页'
,
'lastPageLabel'
=>
'末页'
,
],
'adminEmail'
=>
'admin@example.com'
,
/* 后台错误页面模板 */
/* 后台错误页面模板 */
'action_error'
=>
'@backend/views/public/error.php'
,
// 默认错误跳转对应的模板文件
'action_error'
=>
'@backend/views/public/error.php'
,
// 默认错误跳转对应的模板文件
'action_success'
=>
'@backend/views/public/success.php'
,
// 默认成功跳转对应的模板文件
'action_success'
=>
'@backend/views/public/success.php'
,
// 默认成功跳转对应的模板文件
];
];
backend/index-dev.php
View file @
ec8fc19c
...
@@ -8,7 +8,8 @@
...
@@ -8,7 +8,8 @@
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'dev'
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'dev'
);
define
(
'WALLET_PROJECT_PATH'
,
'/home/rlgyzhcn/Desktop/33/token'
);
define
(
'WALLET_PROJECT_PATH'
,
'/home/rlgyzhcn/Desktop/33/token'
);
//定义框架代码的目录
define
(
'WALLET_RUNTIME_PATH'
,
dirname
(
__DIR__
));
//定义程序运行的目录
require
WALLET_PROJECT_PATH
.
'/vendor/autoload.php'
;
require
WALLET_PROJECT_PATH
.
'/vendor/autoload.php'
;
require
WALLET_PROJECT_PATH
.
'/vendor/yiisoft/yii2/Yii.php'
;
require
WALLET_PROJECT_PATH
.
'/vendor/yiisoft/yii2/Yii.php'
;
...
...
common/config/bootstrap.php
View file @
ec8fc19c
...
@@ -6,9 +6,16 @@
...
@@ -6,9 +6,16 @@
* @authors rlgy <rlgyzhcn@qq.com>
* @authors rlgy <rlgyzhcn@qq.com>
*/
*/
// 代码库别名
Yii
::
setAlias
(
'@api'
,
WALLET_PROJECT_PATH
.
'/api'
);
Yii
::
setAlias
(
'@api'
,
WALLET_PROJECT_PATH
.
'/api'
);
Yii
::
setAlias
(
'@common'
,
WALLET_PROJECT_PATH
.
'/common'
);
Yii
::
setAlias
(
'@common'
,
WALLET_PROJECT_PATH
.
'/common'
);
Yii
::
setAlias
(
'@backend'
,
WALLET_PROJECT_PATH
.
'/backend'
);
Yii
::
setAlias
(
'@backend'
,
WALLET_PROJECT_PATH
.
'/backend'
);
Yii
::
setAlias
(
'@console'
,
WALLET_PROJECT_PATH
.
'/console'
);
Yii
::
setAlias
(
'@console'
,
WALLET_PROJECT_PATH
.
'/console'
);
Yii
::
setAlias
(
'@vendor'
,
WALLET_PROJECT_PATH
.
'/vendor'
);
Yii
::
setAlias
(
'@vendor'
,
WALLET_PROJECT_PATH
.
'/vendor'
);
Yii
::
setAlias
(
'@h5'
,
WALLET_PROJECT_PATH
.
'/h5'
);
Yii
::
setAlias
(
'@h5'
,
WALLET_PROJECT_PATH
.
'/h5'
);
// 运行目录别名
Yii
::
setAlias
(
'@backend/runtime'
,
WALLET_RUNTIME_PATH
.
'/backend'
);
Yii
::
setAlias
(
'@console/runtime'
,
WALLET_RUNTIME_PATH
.
'/console'
);
Yii
::
setAlias
(
'@api/runtime'
,
WALLET_RUNTIME_PATH
.
'/api'
);
Yii
::
setAlias
(
'@h5/runtime'
,
WALLET_RUNTIME_PATH
.
'/h5'
);
common/config/params.php
View file @
ec8fc19c
...
@@ -7,30 +7,6 @@
...
@@ -7,30 +7,6 @@
*/
*/
return
[
return
[
'user.passwordResetTokenExpire'
=>
3600
,
'admin'
=>
1
,
/* 后台页面属性配置 */
'config_page'
=>
[
'add'
=>
'添加'
,
'delete'
=>
'删除'
,
'update'
=>
'更新'
,
'tool_bar'
=>
'工具箱'
,
'export'
=>
'导出Excel'
,
'others'
=>
'其它'
,
'details'
=>
'详情'
,
'color_opt'
=>
'btn-primary'
,
'color_bar'
=>
'btn-primary'
,
],
'pager'
=>
[
'options'
=>
[
'class'
=>
'pagination'
,
'style'
=>
'visibility: visible;'
],
'firstPageLabel'
=>
"首页"
,
'prevPageLabel'
=>
'上一页'
,
'nextPageLabel'
=>
'下一页'
,
'lastPageLabel'
=>
'末页'
,
],
/**
/**
* 非小号数据爬取地址
* 非小号数据爬取地址
...
...
console/config/main.php
View file @
ec8fc19c
...
@@ -8,13 +8,7 @@ $params = array_merge(
...
@@ -8,13 +8,7 @@ $params = array_merge(
return
[
return
[
'id'
=>
'app-console'
,
'id'
=>
'app-console'
,
'basePath'
=>
dirname
(
__DIR__
)
,
'basePath'
=>
'@console'
,
'controllerNamespace'
=>
'console\controllers'
,
'controllerNamespace'
=>
'console\controllers'
,
'aliases'
=>
[
'@bower'
=>
'@vendor/bower-asset'
,
'@npm'
=>
'@vendor/npm-asset'
,
],
'components'
=>
[
],
'params'
=>
$params
,
'params'
=>
$params
,
];
];
h5/config/main.php
View file @
ec8fc19c
...
@@ -15,11 +15,10 @@ $params = array_merge(
...
@@ -15,11 +15,10 @@ $params = array_merge(
return
[
return
[
'id'
=>
'app-h5'
,
'id'
=>
'app-h5'
,
'basePath'
=>
dirname
(
__DIR__
)
,
'basePath'
=>
'@h5'
,
'controllerNamespace'
=>
'h5\controllers'
,
'controllerNamespace'
=>
'h5\controllers'
,
'defaultRoute'
=>
'site/index'
,
'defaultRoute'
=>
'site/index'
,
'layout'
=>
false
,
'layout'
=>
false
,
'modules'
=>
[],
'components'
=>
[
'components'
=>
[
'request'
=>
[
'request'
=>
[
'baseUrl'
=>
'/h5'
,
'baseUrl'
=>
'/h5'
,
...
...
h5/index-dev.php
View file @
ec8fc19c
...
@@ -8,7 +8,8 @@
...
@@ -8,7 +8,8 @@
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'dev'
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'dev'
);
define
(
'WALLET_PROJECT_PATH'
,
'/home/rlgyzhcn/Desktop/33/token'
);
define
(
'WALLET_PROJECT_PATH'
,
'/home/rlgyzhcn/Desktop/33/token'
);
//定义框架代码的目录
define
(
'WALLET_RUNTIME_PATH'
,
dirname
(
__DIR__
));
//定义程序运行的目录
require
WALLET_PROJECT_PATH
.
'/vendor/autoload.php'
;
require
WALLET_PROJECT_PATH
.
'/vendor/autoload.php'
;
require
WALLET_PROJECT_PATH
.
'/vendor/yiisoft/yii2/Yii.php'
;
require
WALLET_PROJECT_PATH
.
'/vendor/yiisoft/yii2/Yii.php'
;
...
...
yii-local
View file @
ec8fc19c
...
@@ -11,7 +11,8 @@
...
@@ -11,7 +11,8 @@
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'dev'
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'dev'
);
define
(
'USER_PROXY'
,
true
);
define
(
'USER_PROXY'
,
true
);
define
(
'WALLET_PROJECT_PATH'
,
'/home/rlgyzhcn/Desktop/33/token'
);
define
(
'WALLET_PROJECT_PATH'
,
'/home/rlgyzhcn/Desktop/33/token'
);
//定义框架代码的目录
define
(
'WALLET_RUNTIME_PATH'
,
dirname
(
__DIR__
));
//定义程序运行的目录
require
WALLET_PROJECT_PATH
.
'/vendor/autoload.php'
;
require
WALLET_PROJECT_PATH
.
'/vendor/autoload.php'
;
require
WALLET_PROJECT_PATH
.
'/vendor/yiisoft/yii2/Yii.php'
;
require
WALLET_PROJECT_PATH
.
'/vendor/yiisoft/yii2/Yii.php'
;
...
...
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