Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wxh_internal_api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
杨培培
wxh_internal_api
Commits
906dfd48
Commit
906dfd48
authored
Dec 07, 2018
by
jianglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 获取用户的消费金额
2. 获取用户购买学院课程的数量
parent
88b17c40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
Order.php
src/ucenter/Order.php
+24
-0
No files found.
src/ucenter/Order.php
View file @
906dfd48
...
@@ -94,4 +94,28 @@ class Order extends Client
...
@@ -94,4 +94,28 @@ class Order extends Client
return
self
::
call
(
'order.verifyNotifyCode'
,
compact
(
'oid'
,
'code'
));
return
self
::
call
(
'order.verifyNotifyCode'
,
compact
(
'oid'
,
'code'
));
}
}
/**
* 获取用户的消费金额
* @param $uid
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public
static
function
getMonetary
(
$uid
)
{
return
self
::
call
(
'order.getMonetary'
,
compact
(
'uid'
));
}
/**
* 获取用户购买课程的数量
* @param $uid
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public
static
function
getBuyCourseTotal
(
$uid
)
{
return
self
::
call
(
'order.getBuyCourseTotal'
,
compact
(
'uid'
));
}
}
}
\ No newline at end of file
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