Skip to content

Commit

Permalink
fix: Add docs #2833
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Aug 19, 2024
1 parent 10571f5 commit 57bf4b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/src/6.x/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ $client->get('v3/pay/transactions/id/1217752501201407033233368018', [
```php
$client->withMchId()->get('v3/pay/transactions/id/1217752501201407033233368018');
```
注意:`withMchId` 默认产生的结果为:`mch_id`,因为微信支付官方的各种不统一, 可能有的场景你需要的不是 `mch_id` 而是 `mchid`, 可以通过 `withMchIdAs('mchid')` 来指定。

原理就是 `with` + `配置 key`

Expand Down

0 comments on commit 57bf4b2

Please sign in to comment.