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

<?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 {
return (new OrderData())->getOrderData($startDate, $endDate);
}
/**
* 退款数据
* @return mixed
*/
public function getRefundData($startDate = null, $endDate = null): array {
return (new RefundData())->getRefundData($startDate, $endDate);
}
/**
* 用户数据
* @return mixed
*/
public function getUserData($startDate = null, $endDate = null): array {
return (new UserData())->getUserData($startDate, $endDate);
}
/**
* 佣金数据
* @return mixed
*/
public function getCommissionData($startDate = null, $endDate = null) : array{
return (new CommissionData())->getCommissionData($startDate, $endDate);
}
}