Skip to content

Commit

Permalink
docs: fixed #2780
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Dec 28, 2023
1 parent 403d3b9 commit 0ff22cd
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/src/6.x/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ $responses['users']->toArray();
'retry' => true, // 使用默认配置
// 'retry' => [
// // 仅以下状态码重试
// 'http_codes' => [429, 500]
// 'status_codes' => [429, 500]
// 'max_retries' => 3
// // 请求间隔 (毫秒)
// 'delay' => 1000,
Expand Down
4 changes: 2 additions & 2 deletions docs/src/6.x/mini-app/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/mp-access-token/getStableAccessToken.html
* true 使用 false 不使用
*/
'use_stable_access_token' => false,
'use_stable_access_token' => false,

/**
* 接口请求相关配置,超时时间等,具体可用参数请参考:
Expand All @@ -34,7 +34,7 @@
'retry' => true, // 使用默认重试配置
// 'retry' => [
// // 仅以下状态码重试
// 'http_codes' => [429, 500]
// 'status_codes' => [429, 500]
// // 最大重试次数
// 'max_retries' => 3,
// // 请求间隔 (毫秒)
Expand Down
2 changes: 1 addition & 1 deletion docs/src/6.x/mini-app/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $config = [
'retry' => true, // 使用默认重试配置
// 'retry' => [
// // 仅以下状态码重试
// 'http_codes' => [429, 500]
// 'status_codes' => [429, 500]
// // 最大重试次数
// 'max_retries' => 3,
// // 请求间隔 (毫秒)
Expand Down
8 changes: 4 additions & 4 deletions docs/src/6.x/official-account/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/getStableAccessToken.html
* true 使用 false 不使用
*/
'use_stable_access_token' => false,
'use_stable_access_token' => false,

/**
* OAuth 配置
Expand All @@ -40,13 +40,13 @@
'http' => [
'timeout' => 5.0,
// 'base_uri' => 'https://api.weixin.qq.com/', // 如果你在国外想要覆盖默认的 url 的时候才使用,根据不同的模块配置不同的 uri

'retry' => true, // 使用默认重试配置
// 'retry' => [
// // 仅以下状态码重试
// 'http_codes' => [429, 500]
// 'status_codes' => [429, 500]
// // 最大重试次数
// 'max_retries' => 3,
// 'max_retries' => 3,
// // 请求间隔 (毫秒)
// 'delay' => 1000,
// // 如果设置,每次重试的等待时间都会增加这个系数
Expand Down
2 changes: 1 addition & 1 deletion docs/src/6.x/official-account/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ $config = [
'retry' => true, // 使用默认重试配置
// 'retry' => [
// // 仅以下状态码重试
// 'http_codes' => [429, 500]
// 'status_codes' => [429, 500]
// // 最大重试次数
// 'max_retries' => 3,
// // 请求间隔 (毫秒)
Expand Down
2 changes: 1 addition & 1 deletion docs/src/6.x/open-platform/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $config = [
'retry' => true, // 使用默认重试配置
// 'retry' => [
// // 仅以下状态码重试
// 'http_codes' => [429, 500]
// 'status_codes' => [429, 500]
// // 最大重试次数
// 'max_retries' => 3,
// // 请求间隔 (毫秒)
Expand Down
2 changes: 1 addition & 1 deletion docs/src/6.x/open-work/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $config = [
'retry' => true, // 使用默认重试配置
// 'retry' => [
// // 仅以下状态码重试
// 'http_codes' => [429, 500]
// 'status_codes' => [429, 500]
// // 最大重试次数
// 'max_retries' => 3,
// // 请求间隔 (毫秒)
Expand Down
2 changes: 1 addition & 1 deletion docs/src/6.x/work/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $config = [
'retry' => true, // 使用默认重试配置
// 'retry' => [
// // 仅以下状态码重试
// 'http_codes' => [429, 500]
// 'status_codes' => [429, 500]
// // 最大重试次数
// 'max_retries' => 3,
// // 请求间隔 (毫秒)
Expand Down

1 comment on commit 0ff22cd

@vercel
Copy link

@vercel vercel bot commented on 0ff22cd Dec 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

easywechat – ./

easywechat-overtrue.vercel.app
easywechat-git-6x-overtrue.vercel.app
easywechat.vercel.app

Please sign in to comment.