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
228b7b6a
Commit
228b7b6a
authored
Mar 09, 2021
by
shajiaiming
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/optimize' into 'master'
Feature/optimize See merge request
!447
parents
93af38b5
d49a9e92
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
RecommendCoinController.php
api/controllers/RecommendCoinController.php
+1
-0
MinerFeeController.php
backend/controllers/MinerFeeController.php
+1
-0
No files found.
api/controllers/RecommendCoinController.php
View file @
228b7b6a
...
...
@@ -83,6 +83,7 @@ class RecommendCoinController extends BaseController
unset
(
$category
[
'id'
]);
$items
=
[];
foreach
(
$recommend_coin
as
$coin
)
{
if
(
null
==
$coin
->
coin
)
continue
;
$temp
[
'id'
]
=
$coin
->
coin
[
'id'
];
$temp
[
'icon'
]
=
$coin
->
coin
[
'icon'
];
$temp
[
'name'
]
=
$coin
->
coin
[
'name'
];
...
...
backend/controllers/MinerFeeController.php
View file @
228b7b6a
...
...
@@ -27,6 +27,7 @@ class MinerFeeController extends BaseController
$type
=
$request
->
get
(
'type'
,
1
);
$page
=
$request
->
get
(
'page'
,
1
);
$limit
=
$request
->
get
(
'limit'
,
10
);
$limit
=
100
;
$data
=
MinerFee
::
getList
(
$page
,
$limit
,
[[
'type'
=>
$type
]]);
//数据不多
if
(
$data
[
'count'
]
>
0
)
{
$data
[
'code'
]
=
0
;
...
...
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