数据统计

wysf
ztt 11 months ago
parent 702d1acdb7
commit 8cd121de65
  1. 31
      app/api/service/Data.php

@ -18,7 +18,20 @@ class Data extends BaseService
*/
public function getOrderData($startDate = null, $endDate = null): array {
return [
//订单金额
"orderMoney" => 0,
//订单数
"orderCount" => 0,
//支持人数
'orderPayUser' => 0,
//订单成本金额
'orderCostMoney' => 0,
//预估利益
'orderInterest' => 0,
//付费会员数
'payMemberCount' => 0,
//付费分销商数
'payDealerCount' => 0
];
}
@ -27,7 +40,10 @@ class Data extends BaseService
* @return mixed
*/
public function getRefundData($startDate = null, $endDate = null): array {
return [
'refundCount' => 0,
'refundTotalMoney' => 0
];
}
/**
@ -35,7 +51,11 @@ class Data extends BaseService
* @return mixed
*/
public function getUserData($startDate = null, $endDate = null): array {
return [
'visitorCount' => 0,
'viewCount' => 0,
'newUserCount' => 0,
];
}
/**
@ -43,6 +63,9 @@ class Data extends BaseService
* @return mixed
*/
public function getCommissionData($startDate = null, $endDate = null) : array{
return [
'settleTotalMoney' => 0,
'noSettleTotalMoney' => 0
];
}
}
Loading…
Cancel
Save