Commit c40e5c04 authored by jianglin's avatar jianglin

商城订单业绩接口

parent ed6a3e8e
<?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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment