From 78b039304820512728c94c05b95126842e02a807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Tue, 2 Jan 2024 17:12:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WeMini/Total.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/WeMini/Total.php b/WeMini/Total.php index 5542d49..ad09ff9 100644 --- a/WeMini/Total.php +++ b/WeMini/Total.php @@ -27,30 +27,30 @@ class Total extends BasicWeChat { /** * 数据分析接口 - * @param string $begin_date 开始日期 - * @param string $end_date 结束日期,限定查询1天数据,end_date允许设置的最大值为昨日 + * @param string $beginDate 开始日期 + * @param string $endDate 结束日期,限定查询1天数据,end_date允许设置的最大值为昨日 * @return array * @throws \WeChat\Exceptions\InvalidResponseException * @throws \WeChat\Exceptions\LocalCacheException */ - public function getWeanalysisAppidDailySummarytrend($begin_date, $end_date) + public function getWeanalysisAppidDailySummarytrend($beginDate, $endDate) { $url = 'https://api.weixin.qq.com/datacube/getweanalysisappiddailysummarytrend?access_token=ACCESS_TOKEN'; - return $this->callPostApi($url, ['begin_date' => $begin_date, 'end_date' => $end_date], true); + return $this->callPostApi($url, ['begin_date' => $beginDate, 'end_date' => $endDate], true); } /** * 访问分析 - * @param string $begin_date 开始日期 - * @param string $end_date 结束日期,限定查询1天数据,end_date允许设置的最大值为昨日 + * @param string $beginDate 开始日期 + * @param string $endDate 结束日期,限定查询1天数据,end_date允许设置的最大值为昨日 * @return array * @throws \WeChat\Exceptions\InvalidResponseException * @throws \WeChat\Exceptions\LocalCacheException */ - public function getWeanalysisAppidDailyVisittrend($begin_date, $end_date) + public function getWeanalysisAppidDailyVisittrend($beginDate, $endDate) { $url = 'https://api.weixin.qq.com/datacube/getweanalysisappiddailyvisittrend?access_token=ACCESS_TOKEN'; - return $this->callPostApi($url, ['begin_date' => $begin_date, 'end_date' => $end_date], true); + return $this->callPostApi($url, ['begin_date' => $beginDate, 'end_date' => $endDate], true); } /**