Skip to content

Commit cfce854

Browse files
committed
UPDATE docs
1 parent f9807ac commit cfce854

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

docs/wechat/close.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ $result = $wechat->close($order);
2222

2323
所有订单配置参数和官方无任何差别,兼容所有功能,所有参数请参考[这里](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_3),查看「请求参数」一栏。
2424

25+
### APP/小程序订单退款
26+
27+
如果您需要退 `APP/小程序` 的订单,请传入参数:`['type' => 'app']`/`['type' => 'miniapp']`
28+
2529
# 返回值
2630

2731
返回 Collection 类型,可以通过 `$collection->xxx` 得到服务器返回的数据。

docs/wechat/find.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ $result = $wechat->find($order);
2222

2323
所有订单配置参数和官方无任何差别,兼容所有功能,所有参数请参考[这里](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_2),查看「请求参数」一栏。
2424

25+
### APP/小程序查询
26+
27+
如果您需要查询 `APP/小程序` 的订单,请传入参数:`['type' => 'app']`/`['type' => 'miniapp']`
28+
2529
# 返回值
2630

2731
返回 Collection 类型,可以通过 `$collection->xxx` 得到服务器返回的数据。

docs/wechat/refund.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ $result = $wechat->refund($order);
2424

2525
所有订单配置参数和官方无任何差别,兼容所有功能,所有参数请参考[这里](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_4),查看「请求参数」一栏。
2626

27-
### 注意
27+
### APP/小程序退款
2828

29-
**如果需要退款小程序的订单,请在 $order 中传入` "miniapp" => true`**
29+
如果您需要退 `APP/小程序` 的订单,请传入参数:`['type' => 'app']`/`['type' => 'miniapp']`
3030

3131
# 返回值
3232

0 commit comments

Comments
 (0)