You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/app/api/service/statistics/Data.php

46 lines
1.0 KiB

10 months ago
<?php
namespace app\api\service\statistics;
use app\common\service\BaseService;
/**
* 数据概况服务类
* Class Data
* @package app\api\service\statistics
*/
class Data extends BaseService
{
/**
* 订单数据
* @return mixed
*/
public function getOrderData($startDate = null, $endDate = null): array {
10 months ago
return (new OrderData())->getOrderData($startDate, $endDate);
10 months ago
}
/**
* 退款数据
* @return mixed
*/
public function getRefundData($startDate = null, $endDate = null): array {
10 months ago
return (new RefundData())->getRefundData($startDate, $endDate);
10 months ago
}
/**
* 用户数据
* @return mixed
*/
public function getUserData($startDate = null, $endDate = null): array {
10 months ago
return (new UserData())->getUserData($startDate, $endDate);
10 months ago
}
/**
* 佣金数据
* @return mixed
*/
public function getCommissionData($startDate = null, $endDate = null) : array{
10 months ago
return (new CommissionData())->getCommissionData($startDate, $endDate);
10 months ago
}
}