Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
token
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wallet
token
Commits
9d8354d2
Commit
9d8354d2
authored
4 years ago
by
shajiaiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
bad3a2dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
ExchangeBusiness.php
common/business/ExchangeBusiness.php
+15
-15
No files found.
common/business/ExchangeBusiness.php
View file @
9d8354d2
...
...
@@ -29,21 +29,20 @@ class ExchangeBusiness
0
=>
'Bty'
,
1
=>
'HuoBi'
,
2
=>
'Hadax'
,
3
=>
'Bitfinex'
,
4
=>
'Bittrex'
,
5
=>
'Zb'
,
6
=>
'Zg'
,
7
=>
'Go'
,
8
=>
'Zhaobi'
,
9
=>
'Binance'
,
10
=>
'Bilaxy'
,
11
=>
'Bitnasdaq'
,
12
=>
'Isummit'
,
13
=>
'Boc'
,
14
=>
'Jinwang'
,
15
=>
'Hd'
,
16
=>
'Ztb'
,
17
=>
'Wbf'
3
=>
'Bittrex'
,
4
=>
'Zb'
,
5
=>
'Zg'
,
6
=>
'Go'
,
7
=>
'Zhaobi'
,
8
=>
'Binance'
,
9
=>
'Bilaxy'
,
10
=>
'Bitnasdaq'
,
11
=>
'Isummit'
,
12
=>
'Boc'
,
13
=>
'Jinwang'
,
14
=>
'Hd'
,
15
=>
'Ztb'
,
16
=>
'Wbf'
//1 => 'Hadax', //不需要
//2 => 'Bitfinex', //不需要
...
...
@@ -418,6 +417,7 @@ class ExchangeBusiness
*/
$exchange
=
ExchangeFactory
::
createExchange
(
$exchange
);
if
(
$exchange
->
symbolExists
(
$tag
))
{
var_dump
(
$exchange
);
exit
;
$quotation
=
$exchange
->
getTicker
(
$tag
);
$f
=
true
;
break
;
...
...
This diff is collapsed.
Click to expand it.
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