From 80322423e8fd52217d849b4409a1e7351bf06ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Sun, 27 May 2018 21:56:22 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=AD=A3=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E6=8F=8F=E8=BF=B0=E5=8F=8A=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WePay/Redpack.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WePay/Redpack.php b/WePay/Redpack.php index e4c74b1..4da8975 100644 --- a/WePay/Redpack.php +++ b/WePay/Redpack.php @@ -54,16 +54,16 @@ class Redpack extends BasicPay /** * 查询红包记录 - * @param array $mch_billno 商户发放红包的商户订单号 + * @param string $mchBillno 商户发放红包的商户订单号 * @return array * @throws \WeChat\Exceptions\InvalidResponseException */ - public function query($mch_billno) + public function query($mchBillno) { $this->params->offsetUnset('wxappid'); $this->params->set('appid', $this->config->get('appid')); $url = "https://api.mch.weixin.qq.com/mmpaymkttransfers/gethbinfo"; - return $this->callPostApi($url, ['mch_billno' => $mch_billno, 'bill_type' => 'MCHT'], true, 'MD5', false); + return $this->callPostApi($url, ['mch_billno' => $mchBillno, 'bill_type' => 'MCHT'], true, 'MD5', false); } } \ No newline at end of file