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
bd589543
Commit
bd589543
authored
Oct 11, 2019
by
shajiaiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b629db17
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
ApplicationController.php
backend/controllers/ApplicationController.php
+1
-1
image-index.php
backend/views/application/image-index.php
+1
-1
ExchangeBusiness.php
common/business/ExchangeBusiness.php
+8
-8
Boc.php
common/service/exchange/Boc.php
+1
-1
No files found.
backend/controllers/ApplicationController.php
View file @
bd589543
...
@@ -144,7 +144,7 @@ class ApplicationController extends BaseController
...
@@ -144,7 +144,7 @@ class ApplicationController extends BaseController
$coin_items
=
CoinImage
::
getItemsByIds
(
$coin_ids
);
$coin_items
=
CoinImage
::
getItemsByIds
(
$coin_ids
);
}
}
$app_cate
=
CoinAppCate
::
getAppCate
(
$category_id
,
$id
);
$app_cate
=
CoinAppCate
::
getAppCate
(
$category_id
,
$id
);
if
(
$applicate
[
'icon'
])
{
if
(
$applicate
[
'icon'
]
&&
isset
(
$coin_items
[
$applicate
[
'icon'
]])
)
{
$icon_info
=
$coin_items
[
$applicate
[
'icon'
]];
$icon_info
=
$coin_items
[
$applicate
[
'icon'
]];
$applicate
[
'icon_url'
]
=
$icon_info
[
'base_url'
]
.
$icon_info
[
'file_url'
];
$applicate
[
'icon_url'
]
=
$icon_info
[
'base_url'
]
.
$icon_info
[
'file_url'
];
}
else
{
}
else
{
...
...
backend/views/application/image-index.php
View file @
bd589543
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
width
:
100px
;
width
:
100px
;
}
}
</style>
</style>
<h4>
所属应用---
<?=
$applicate
->
name
?>
</h4>
<h4>
所属应用---
<?=
$applicate
->
name
[
"zh-CN"
]
?>
</h4>
<div
class=
"layui-row"
style=
"padding: 5px;"
>
<div
class=
"layui-row"
style=
"padding: 5px;"
>
<div
class=
"layui-tab layui-tab-card"
>
<div
class=
"layui-tab layui-tab-card"
>
<ul
class=
"layui-tab-title"
>
<ul
class=
"layui-tab-title"
>
...
...
common/business/ExchangeBusiness.php
View file @
bd589543
...
@@ -38,14 +38,14 @@ class ExchangeBusiness
...
@@ -38,14 +38,14 @@ class ExchangeBusiness
9
=>
'Go'
,
9
=>
'Go'
,
10
=>
'Zhaobi'
,
10
=>
'Zhaobi'
,
11
=>
'Gdpro'
,
11
=>
'Gdpro'
,
12
=>
'
Boc
'
,
12
=>
'
Ex
'
,
13
=>
'
Ex
'
,
13
=>
'
Zt
'
,
14
=>
'
Zt
'
,
14
=>
'
Tsc
'
,
15
=>
'
Tsc
'
,
15
=>
'
Binance
'
,
16
=>
'
Binance
'
,
16
=>
'
Ceohk
'
,
17
=>
'
Ceohk
'
,
17
=>
'
Biki
'
,
18
=>
'Bi
ki
'
,
18
=>
'Bi
laxy
'
,
19
=>
'B
ilaxy
'
19
=>
'B
oc
'
];
];
/**
/**
...
...
common/service/exchange/Boc.php
View file @
bd589543
...
@@ -64,7 +64,7 @@ class Boc extends Exchange implements ExchangeInterface
...
@@ -64,7 +64,7 @@ class Boc extends Exchange implements ExchangeInterface
$response
=
iconv
(
'UTF-8'
,
'GBK//TRANSLIT'
,
$response
);
$response
=
iconv
(
'UTF-8'
,
'GBK//TRANSLIT'
,
$response
);
$html
=
HtmlDomParser
::
str_get_html
(
$response
);
$html
=
HtmlDomParser
::
str_get_html
(
$response
);
$div
=
(
$html
->
find
(
'div.BOC_main'
))
[
0
]
;
$div
=
(
$html
->
find
(
'div.BOC_main'
));
foreach
(
$div
->
find
(
'td'
)
as
$key
=>
$e
){
foreach
(
$div
->
find
(
'td'
)
as
$key
=>
$e
){
if
(
$key
==
5
){
if
(
$key
==
5
){
$key
=
$this
->
quotation_prefix
.
'CNY_JPY'
;
$key
=
$this
->
quotation_prefix
.
'CNY_JPY'
;
...
...
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