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
f0500dc5
Commit
f0500dc5
authored
Sep 24, 2019
by
shajiaiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
params
parent
9ebd2fec
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
3 deletions
+61
-3
.gitignore
h5/config/.gitignore
+0
-3
main-local.php
h5/config/main-local.php
+50
-0
params-local.php
h5/config/params-local.php
+11
-0
No files found.
h5/config/.gitignore
deleted
100644 → 0
View file @
9ebd2fec
main-local.php
params-local.php
\ No newline at end of file
h5/config/main-local.php
0 → 100644
View file @
f0500dc5
<?php
/**
* Created by PhpStorm.
* User: rlgyzhcn
* Date: 18-5-31
* Time: 上午10:26
*/
$params
=
array_merge
(
require
__DIR__
.
'/../../common/config/params.php'
,
require
__DIR__
.
'/../../common/config/params-local.php'
,
require
__DIR__
.
'/params.php'
,
require
__DIR__
.
'/params-local.php'
);
return
[
'id'
=>
'app-h5'
,
'basePath'
=>
'@h5'
,
'controllerNamespace'
=>
'h5\controllers'
,
'defaultRoute'
=>
'site/index'
,
'layout'
=>
false
,
'components'
=>
[
'request'
=>
[
'baseUrl'
=>
'/h5'
,
'cookieValidationKey'
=>
'123456'
,
'enableCsrfValidation'
=>
false
,
'parsers'
=>
[
'application/json'
=>
[
'class'
=>
'yii\web\JsonParser'
,
'throwException'
=>
false
,
//json格式错误不报错
],
],
],
'response'
=>
[
'class'
=>
'api\base\BaseResponse'
,
'format'
=>
'json'
,
'charset'
=>
'UTF-8'
,
],
'errorHandler'
=>
[
'errorAction'
=>
'site/error'
,
],
'urlManager'
=>
[
'enablePrettyUrl'
=>
true
,
'showScriptName'
=>
false
,
],
],
'params'
=>
$params
,
];
\ No newline at end of file
h5/config/params-local.php
0 → 100644
View file @
f0500dc5
<?php
/**
* Created by PhpStorm.
* User: rlgyzhcn
* Date: 18-5-31
* Time: 上午10:31
*/
return
[
];
\ 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