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
683e0fd7
Commit
683e0fd7
authored
Nov 26, 2019
by
shajiaiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8739b6f4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
0 deletions
+18
-0
main-local.php
common/config/main-local.php
+7
-0
params-local.php
common/config/params-local.php
+8
-0
TickerCurrency.sh
shell/TickerCurrency.sh
+3
-0
No files found.
common/config/main-local.php
View file @
683e0fd7
...
...
@@ -85,6 +85,13 @@ return [
'password'
=>
'fuzamei47100222198'
,
'database'
=>
5
,
],
'redis_currency'
=>
[
'class'
=>
'yii\redis\Connection'
,
'hostname'
=>
'172.16.0.222'
,
'port'
=>
6379
,
'password'
=>
'fuzamei47100222198'
,
'database'
=>
6
,
],
'queue'
=>
[
'class'
=>
\yii\queue\redis\Queue
::
class
,
'redis'
=>
'redis-queue'
,
// Redis connection component or its config
...
...
common/config/params-local.php
View file @
683e0fd7
...
...
@@ -141,5 +141,13 @@ return [
'en-US'
,
'ja'
,
'ko'
],
'banner_type'
=>
[
1
=>
'探索'
,
2
=>
'快讯'
,
3
=>
'文章'
,
4
=>
'邀请有礼Banner'
,
5
=>
'邀请有礼海报'
]
];
shell/TickerCurrency.sh
0 → 100644
View file @
683e0fd7
#!/bin/bash
while
true
;
do
php /data_wallet/token_config/yii ticker/currency
>>
/data_wallet/ticker-currency.log 2>&1
;
sleep
60
;
done
&
\ 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