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
44c34037
Commit
44c34037
authored
Jul 17, 2019
by
shajiaiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
验证钱包
parent
d439c3b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
UserController.php
wallet/controllers/UserController.php
+4
-0
WalletController.php
wallet/controllers/WalletController.php
+3
-1
No files found.
wallet/controllers/UserController.php
View file @
44c34037
...
...
@@ -132,6 +132,10 @@ class UserController extends BaseController
$platform_id
=
Yii
::
$app
->
request
->
get
(
'platform_id'
,
1
);
}
if
(
!
isset
(
Yii
::
$app
->
params
[
'trusteeship'
][
'port'
][
$platform_id
])){
return
[
'code'
=>
-
1
,
'data'
=>
[],
'msg'
=>
'此钱包节点尚未开通'
];
}
$node_params
=
[
'scheme'
=>
Yii
::
$app
->
params
[
'trusteeship'
][
'scheme'
],
'host'
=>
Yii
::
$app
->
params
[
'trusteeship'
][
'host'
],
...
...
wallet/controllers/WalletController.php
View file @
44c34037
...
...
@@ -37,7 +37,9 @@ class WalletController extends BaseController
}
else
{
$platform_id
=
Yii
::
$app
->
request
->
get
(
'platform_id'
,
1
);
}
if
(
!
isset
(
Yii
::
$app
->
params
[
'trusteeship'
][
'port'
][
$platform_id
])){
return
[
'code'
=>
-
1
,
'data'
=>
[],
'msg'
=>
'此钱包节点尚未开通'
];
}
$node_params
=
[
'scheme'
=>
Yii
::
$app
->
params
[
'trusteeship'
][
'scheme'
],
'host'
=>
Yii
::
$app
->
params
[
'trusteeship'
][
'host'
],
...
...
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