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
fe4b51b4
Commit
fe4b51b4
authored
Dec 10, 2019
by
shajiaiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
闪兑
parent
3e0891da
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
0 deletions
+44
-0
User.php
common/models/User.php
+2
-0
TrusteeShipService.php
common/service/trusteeship/TrusteeShipService.php
+42
-0
FlashController.php
wallet/controllers/FlashController.php
+0
-0
No files found.
common/models/User.php
View file @
fe4b51b4
...
...
@@ -26,6 +26,8 @@ class User extends ActiveRecord implements IdentityInterface
const
STATUS_DELETED
=
0
;
const
STATUS_ACTIVE
=
10
;
const
AUTH_SUPER
=
'administrator'
;
/**
* @inheritdoc
...
...
common/service/trusteeship/TrusteeShipService.php
View file @
fe4b51b4
...
...
@@ -71,6 +71,48 @@ class TrusteeShipService
return
$this
->
send
(
"GET"
,
$uri
,
$params
);
}
public
function
getFlashListConfig
(
$params
=
[])
{
$uri
=
'backend/flash/flash-list-config'
;
return
$this
->
send
(
"GET"
,
$uri
,
$params
);
}
public
function
getFlashDefaultConfig
(
$params
=
[])
{
$uri
=
'backend/flash/flash-default-config'
;
return
$this
->
send
(
"GET"
,
$uri
,
$params
);
}
public
function
flashAddConfig
(
$params
=
[])
{
$uri
=
'backend/flash/flash-add-config'
;
return
$this
->
send
(
"POST"
,
$uri
,
$params
);
}
public
function
flashUpdateConfig
(
$params
=
[])
{
$uri
=
'backend/flash/flash-update-config'
;
return
$this
->
send
(
"POST"
,
$uri
,
$params
);
}
public
function
flashDeleteConfig
(
$params
=
[])
{
$uri
=
'backend/flash/flash-delete-config'
;
return
$this
->
send
(
"POST"
,
$uri
,
$params
);
}
public
function
flashCloneConfig
(
$params
=
[])
{
$uri
=
'backend/flash/flash-clone-config'
;
return
$this
->
send
(
"POST"
,
$uri
,
$params
);
}
public
function
getUserAsset
(
$params
=
[])
{
$uri
=
'backend/user/asset'
;
...
...
wallet/controllers/FlashController.php
0 → 100644
View file @
fe4b51b4
This diff is collapsed.
Click to expand it.
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