From 8cd121de6553ce2b3df357f3e2f2b4e74034d0bb Mon Sep 17 00:00:00 2001 From: ztt <835303992@qq.com> Date: Tue, 27 Feb 2024 16:37:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/service/Data.php | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/app/api/service/Data.php b/app/api/service/Data.php index 7abcb415..ecb39455 100644 --- a/app/api/service/Data.php +++ b/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 + ]; } } \ No newline at end of file