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
c40e5c04
Commit
c40e5c04
authored
Mar 01, 2019
by
jianglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商城订单业绩接口
parent
ed6a3e8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
Order.php
src/shop/Order.php
+40
-0
No files found.
src/shop/Order.php
0 → 100644
View file @
c40e5c04
<?php
/**
* Created by PhpStorm.
* User: abel
* Date: 2019-03-01
* Time: 15:36
*/
namespace
internalApi\shop
;
use
internalApi\base\Client
;
class
Order
extends
Client
{
/**
* 获取消费金额
* @param $uids
* @param $startTime
* @param $endTime
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public
static
function
getMonetary
(
$uids
,
$startTime
,
$endTime
){
return
self
::
call
(
'order.getMonetary'
,
compact
(
'uids'
,
'startTime'
,
'endTime'
));
}
/**
* 获取销售金额
* @param $uids
* @param $startTime
* @param $endTime
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public
static
function
getSales
(
$uids
,
$startTime
,
$endTime
){
return
self
::
call
(
'order.getSales'
,
compact
(
'uids'
,
'startTime'
,
'endTime'
));
}
}
\ 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