Skip to content

Commit

Permalink
docs: 优化文档 (#957)
Browse files Browse the repository at this point in the history
  • Loading branch information
yansongda committed Apr 9, 2024
1 parent ca09de0 commit ee235fe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions web/docs/v3/alipay/pay.md
Expand Up @@ -56,7 +56,7 @@ return Pay::alipay()->web([
```php
Pay::config($this->config);

return Pay::alipay()->wap([
return Pay::alipay()->h5([
'out_trade_no' => time(),
'total_amount' => '0.01',
'subject' => 'yansongda 测试 - 01',
Expand All @@ -71,7 +71,7 @@ return Pay::alipay()->wap([
```php
Pay::config($this->config);

return Pay::alipay()->wap([
return Pay::alipay()->h5([
'out_trade_no' => ''.time(),
'total_amount' => '0.01',
'subject' => 'yansongda 测试 - 1',
Expand Down
2 changes: 1 addition & 1 deletion web/docs/v3/kernel/kernel.md
Expand Up @@ -47,7 +47,7 @@ $result = Pay::alipay()->pay($allPlugins, $params);

指定快捷方式的 `action`,用于区分不同的场景,比如查询订单里有查询退款、转账等订单。

例如,支付宝的 `query` 快捷方式 `action``app``wap``scan``transfer` 等。
例如,支付宝的 `query` 快捷方式 `action``app``h5``scan``transfer` 等。

### _type

Expand Down
2 changes: 1 addition & 1 deletion web/docs/v3/quick-start/return-format.md
Expand Up @@ -23,7 +23,7 @@

- `app()` APP 支付
- `web()` web 支付
- `wap()` wap 支付
- `h5()` h5 支付
- `success()` 响应回调

微信中
Expand Down
2 changes: 1 addition & 1 deletion web/docs/v3/wechat/pay.md
Expand Up @@ -67,7 +67,7 @@ $order = [
],
];

return Pay::wechat()->wap($order);
return Pay::wechat()->h5($order);
// $result->h5_url;
```

Expand Down

0 comments on commit ee235fe

Please sign in to comment.