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
d439c3b9
Commit
d439c3b9
authored
Jul 17, 2019
by
shajiaiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整权限
parent
b5bc554f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
UserController.php
wallet/controllers/UserController.php
+7
-1
WalletController.php
wallet/controllers/WalletController.php
+7
-1
No files found.
wallet/controllers/UserController.php
View file @
d439c3b9
...
@@ -125,7 +125,13 @@ class UserController extends BaseController
...
@@ -125,7 +125,13 @@ class UserController extends BaseController
*/
*/
public
function
actionUserList
()
public
function
actionUserList
()
{
{
$platform_id
=
Yii
::
$app
->
request
->
getPlatformId
();
$current_platform_id
=
Yii
::
$app
->
request
->
getPlatformId
();
if
(
1
!==
$current_platform_id
)
{
$platform_id
=
$current_platform_id
;
}
else
{
$platform_id
=
Yii
::
$app
->
request
->
get
(
'platform_id'
,
1
);
}
$node_params
=
[
$node_params
=
[
'scheme'
=>
Yii
::
$app
->
params
[
'trusteeship'
][
'scheme'
],
'scheme'
=>
Yii
::
$app
->
params
[
'trusteeship'
][
'scheme'
],
'host'
=>
Yii
::
$app
->
params
[
'trusteeship'
][
'host'
],
'host'
=>
Yii
::
$app
->
params
[
'trusteeship'
][
'host'
],
...
...
wallet/controllers/WalletController.php
View file @
d439c3b9
...
@@ -31,7 +31,13 @@ class WalletController extends BaseController
...
@@ -31,7 +31,13 @@ class WalletController extends BaseController
public
function
actionWalletBallance
()
public
function
actionWalletBallance
()
{
{
$platform_id
=
Yii
::
$app
->
request
->
getPlatformId
();
$current_platform_id
=
Yii
::
$app
->
request
->
getPlatformId
();
if
(
1
!==
$current_platform_id
)
{
$platform_id
=
$current_platform_id
;
}
else
{
$platform_id
=
Yii
::
$app
->
request
->
get
(
'platform_id'
,
1
);
}
$node_params
=
[
$node_params
=
[
'scheme'
=>
Yii
::
$app
->
params
[
'trusteeship'
][
'scheme'
],
'scheme'
=>
Yii
::
$app
->
params
[
'trusteeship'
][
'scheme'
],
'host'
=>
Yii
::
$app
->
params
[
'trusteeship'
][
'host'
],
'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