File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ $result = $wechat->close($order);
22
22
23
23
所有订单配置参数和官方无任何差别,兼容所有功能,所有参数请参考[ 这里] ( https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_3 ) ,查看「请求参数」一栏。
24
24
25
+ ### APP/小程序订单退款
26
+
27
+ 如果您需要退 ` APP/小程序 ` 的订单,请传入参数:` ['type' => 'app'] ` /` ['type' => 'miniapp'] `
28
+
25
29
# 返回值
26
30
27
31
返回 Collection 类型,可以通过 ` $collection->xxx ` 得到服务器返回的数据。
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ $result = $wechat->find($order);
22
22
23
23
所有订单配置参数和官方无任何差别,兼容所有功能,所有参数请参考[ 这里] ( https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_2 ) ,查看「请求参数」一栏。
24
24
25
+ ### APP/小程序查询
26
+
27
+ 如果您需要查询 ` APP/小程序 ` 的订单,请传入参数:` ['type' => 'app'] ` /` ['type' => 'miniapp'] `
28
+
25
29
# 返回值
26
30
27
31
返回 Collection 类型,可以通过 ` $collection->xxx ` 得到服务器返回的数据。
Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ $result = $wechat->refund($order);
24
24
25
25
所有订单配置参数和官方无任何差别,兼容所有功能,所有参数请参考[ 这里] ( https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_4 ) ,查看「请求参数」一栏。
26
26
27
- ### 注意
27
+ ### APP/小程序退款
28
28
29
- ** 如果需要退款小程序的订单,请在 $order 中传入 ` "miniapp" => true ` **
29
+ 如果您需要退 ` APP/小程序 ` 的订单,请传入参数: ` ['type' => 'app'] ` / ` ['type' => 'miniapp'] `
30
30
31
31
# 返回值
32
32
You can’t perform that action at this time.
0 commit comments