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
cae4f3ff
Commit
cae4f3ff
authored
Nov 18, 2019
by
shajiaiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d7781e95
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
19 deletions
+1
-19
IssueCoinController.php
api/controllers/IssueCoinController.php
+1
-19
No files found.
api/controllers/IssueCoinController.php
View file @
cae4f3ff
...
...
@@ -14,24 +14,6 @@ use common\models\psources\CoinIssueChainRecord;
class
IssueCoinController
extends
BaseController
{
public
function
actionIsManager
()
{
$node
=
[
'scheme'
=>
'https'
,
'host'
=>
'jiedian1.bityuan.com'
,
'port'
=>
8801
,
];
// $node = [
// 'scheme' => 'http',
// 'host' => '47.97.193.201',
// 'port' => 8901,
// ];
$chain_service
=
new
Chain33Service
(
$node
);
$result
=
$chain_service
->
query
();
echo
json_encode
(
$result
);
exit
;
}
public
function
actionValidate
()
{
...
...
@@ -203,7 +185,7 @@ class IssueCoinController extends BaseController
$query
=
CoinIssueCoin
::
find
()
->
select
(
'id, name, symbol, type, total, create_time, status, chain_id'
)
->
where
([
'owner'
=>
$address
])
->
andWhere
([
'in'
,
'status'
,
[
CoinIssueCoin
::
STATUS_PEDDING
,
CoinIssueCoin
::
STATUS_CANCEL_SUCCESS
,
CoinIssueCoin
::
STATUS_CANCEL_FAILED
,
CoinIssueCoin
::
STATUS_ALLOW
,
CoinIssueCoin
::
STATUS_REFUSE
,
CoinIssueCoin
::
STATUS_SUCCESS
,
CoinIssueCoin
::
STATUS_FAILED
]])
->
andWhere
([
'in'
,
'status'
,
[
CoinIssueCoin
::
STATUS_PEDDING
,
CoinIssueCoin
::
STATUS_CANCEL_SUCCESS
,
CoinIssueCoin
::
STATUS_CANCEL_FAILED
,
CoinIssueCoin
::
STATUS_
CONFIRM
,
CoinIssueCoin
::
STATUS_
ALLOW
,
CoinIssueCoin
::
STATUS_REFUSE
,
CoinIssueCoin
::
STATUS_SUCCESS
,
CoinIssueCoin
::
STATUS_FAILED
]])
->
orderBy
(
'create_time desc'
);
$countQuery
=
clone
$query
;
...
...
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