|
|
@ -18,7 +18,20 @@ class Data extends BaseService |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function getOrderData($startDate = null, $endDate = null): array { |
|
|
|
public function getOrderData($startDate = null, $endDate = null): array { |
|
|
|
return [ |
|
|
|
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 |
|
|
|
* @return mixed |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function getRefundData($startDate = null, $endDate = null): array { |
|
|
|
public function getRefundData($startDate = null, $endDate = null): array { |
|
|
|
|
|
|
|
return [ |
|
|
|
|
|
|
|
'refundCount' => 0, |
|
|
|
|
|
|
|
'refundTotalMoney' => 0 |
|
|
|
|
|
|
|
]; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -35,7 +51,11 @@ class Data extends BaseService |
|
|
|
* @return mixed |
|
|
|
* @return mixed |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function getUserData($startDate = null, $endDate = null): array { |
|
|
|
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 |
|
|
|
* @return mixed |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function getCommissionData($startDate = null, $endDate = null) : array{ |
|
|
|
public function getCommissionData($startDate = null, $endDate = null) : array{ |
|
|
|
|
|
|
|
return [ |
|
|
|
|
|
|
|
'settleTotalMoney' => 0, |
|
|
|
|
|
|
|
'noSettleTotalMoney' => 0 |
|
|
|
|
|
|
|
]; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |