Skip to content

Commit

Permalink
UPDATE docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yansongda committed Jan 11, 2018
1 parent f9807ac commit cfce854
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docs/wechat/close.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ $result = $wechat->close($order);

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

### APP/小程序订单退款

如果您需要退 `APP/小程序` 的订单,请传入参数:`['type' => 'app']`/`['type' => 'miniapp']`

# 返回值

返回 Collection 类型,可以通过 `$collection->xxx` 得到服务器返回的数据。
Expand Down
4 changes: 4 additions & 0 deletions docs/wechat/find.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ $result = $wechat->find($order);

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

### APP/小程序查询

如果您需要查询 `APP/小程序` 的订单,请传入参数:`['type' => 'app']`/`['type' => 'miniapp']`

# 返回值

返回 Collection 类型,可以通过 `$collection->xxx` 得到服务器返回的数据。
Expand Down
4 changes: 2 additions & 2 deletions docs/wechat/refund.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ $result = $wechat->refund($order);

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

### 注意
### APP/小程序退款

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

# 返回值

Expand Down

0 comments on commit cfce854

Please sign in to comment.