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
697f5624
Commit
697f5624
authored
Sep 28, 2018
by
rlgy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
2b9b5142
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
7 deletions
+30
-7
README.md
README.md
+30
-7
No files found.
README.md
View file @
697f5624
###
交接文档
###
###
README
###
#### 目录结构说明 ####
#### 目录结构说明 ####
```
```
_
_
|
|
|token
|token
|
|____ api: 钱包APP接口项目
| |____ api: 钱包APP接口项目
|
|____ backend: 钱包管理后台
| |____ backend: 钱包管理后台
|
|____ h5: 钱包H5 APP接口
| |____ h5: 钱包H5 APP接口
|
|____ console: cli项目
| |____ console: cli项目
|
|____ common: 公共代码库
| |____ common: 公共代码库
|
|____ vendor: 依赖库
| |____ vendor: 依赖库
|
|
|token_config: web 根目录 index.php 为入口文件
|token_config: web 根目录 index.php 为入口文件
|____ build.sh: web 目录初始化脚步
```
#### 队列任务 ####
1.
行情更新任务: 使用系统 crontab
```
# m h dom mon dow command
* * * * * /var/www/html/token_config/yii exchange/quotation &>/dev/null
```
2.
yii 队列任务监听: 使用 supervisor
```
# P钱包
[program:yii-queue-pwallet]
process_name=%(program_name)s_%(process_num)02d
command=/usr/bin/php7.1 /var/www/html/token_pwallet/yii queue/listen --verbose=0 --color=0
autostart=true
autorestart=true
user=root
numprocs=1
redirect_stderr=true
stdout_logfile=/var/www/html/token_pwallet/console/runtime/logs/yii-queue.log
```
```
\ 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