mirror of
https://gitee.com/zoujingli/WeChatDeveloper.git
synced 2025-04-06 03:58:03 +08:00
[更新]统一名称规则
This commit is contained in:
parent
2c6df0afd2
commit
dc73718c6b
@ -29,7 +29,7 @@ try {
|
|||||||
'total_fee' => '1',
|
'total_fee' => '1',
|
||||||
'refund_fee' => '1',
|
'refund_fee' => '1',
|
||||||
];
|
];
|
||||||
$result = $wechat->refund($options);
|
$result = $wechat->createRefund($options);
|
||||||
|
|
||||||
var_export($result);
|
var_export($result);
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ class Pay
|
|||||||
* @return array
|
* @return array
|
||||||
* @throws InvalidResponseException
|
* @throws InvalidResponseException
|
||||||
*/
|
*/
|
||||||
public function refund(array $options)
|
public function createRefund(array $options)
|
||||||
{
|
{
|
||||||
$url = 'https://api.mch.weixin.qq.com/secapi/pay/refund';
|
$url = 'https://api.mch.weixin.qq.com/secapi/pay/refund';
|
||||||
return $this->callPostApi($url, $options, true);
|
return $this->callPostApi($url, $options, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user