Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test CI #204

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/autocorrect.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Autocorrect
on: [push, pull_request]
on: [pull_request]
jobs:
autocorrect:
name: Check text autocorrect
Expand All @@ -12,3 +12,14 @@ jobs:

- name: Exec autocorrect
uses: huacnlee/autocorrect-action@main
with:
use_npm: true

- name: Report ReviewDog
if: failure()
uses: huacnlee/autocorrect-action@main
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.REVIEWDOG_TOKEN }}
with:
use_npm: true
reviewdog: true
4 changes: 2 additions & 2 deletions docs/getting-developed/how-to-access-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

| 注意事项 | 参考文档 |
| -------------------------------------------- | ------------------------------------------------- |
| 推荐使用各自语言的 SDK,而不是调用原生的接口 | [SDK 快速开始页面](../docs/getting-started) |
| 阅读 OpenAPI 介绍中开通相应服务 | [OpenAPI 如何开通](../docs/#如何开通) |
| 推荐使用各自语言的SDK,而不是调用原生的接口 | [SDK 快速开始页面](../docs/getting-started) |
| 阅读OpenAPI介绍中开通相应服务 | [OpenAPI 如何开通](../docs/#如何开通) |
| 阅读 OpenAPI 介绍中使用权限及限制 | [OpenAPI 使用权限及限制](../docs/#使用权限及限制) |
| 了解通用错误码,便于查找调用接口出错的原因 | [通用错误码](../docs/error-codes) |

Expand Down Expand Up @@ -130,7 +130,7 @@
# 签名并设置
headers['X-Api-Signature'] = sign(method, uri, headers, params, body, secret)

```

Check failure on line 133 in docs/getting-developed/how-to-access-api.md

View workflow job for this annotation

GitHub Actions / Check text autocorrect

[rdjson] reported by reviewdog 🐶 Raw Output: location:{path:"./docs/getting-developed/how-to-access-api.md" range:{start:{line:133 column:1}}} severity:ERROR source:{name:"AutoCorrect Lint" url:"https://github.com/huacnlee/autocorrect"} code:{value:"AutoCorrect" url:"https://github.com/huacnlee/autocorrect"} suggestions:{range:{start:{line:12 column:1} end:{line:12 column:28}} text:"| 推荐使用各自语言的 SDK,而不是调用原生的接口 |"} suggestions:{range:{start:{line:13 column:1} end:{line:13 column:36}} text:"| 阅读 OpenAPI 介绍中开通相应服务 |"}

Check failure on line 133 in docs/getting-developed/how-to-access-api.md

View workflow job for this annotation

GitHub Actions / Check text autocorrect

[rdjson] reported by reviewdog 🐶 Raw Output: location:{path:"./docs/getting-developed/how-to-access-api.md" range:{start:{line:133 column:1}}} severity:ERROR source:{name:"AutoCorrect Lint" url:"https://github.com/huacnlee/autocorrect"} code:{value:"AutoCorrect" url:"https://github.com/huacnlee/autocorrect"} suggestions:{range:{start:{line:12 column:1} end:{line:12 column:28}} text:"| 推荐使用各自语言的 SDK,而不是调用原生的接口 |"} suggestions:{range:{start:{line:13 column:1} end:{line:13 column:36}} text:"| 阅读 OpenAPI 介绍中开通相应服务 |"}

### 4. 调用 API

Expand Down
2 changes: 1 addition & 1 deletion docs/qa/quote.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</tr>
<tr>
<td rowspan="3">美股市场</td>
<td>证券类产品(含纽交所、美交所、纳斯达克上市的股票、ETFs)</td>

Check failure on line 50 in docs/qa/quote.md

View workflow job for this annotation

GitHub Actions / Check text autocorrect

[rdjson] reported by reviewdog 🐶 Raw Output: location:{path:"./docs/qa/quote.md" range:{start:{line:50 column:1}}} severity:ERROR source:{name:"AutoCorrect Lint" url:"https://github.com/huacnlee/autocorrect"} code:{value:"AutoCorrect" url:"https://github.com/huacnlee/autocorrect"} suggestions:{range:{start:{line:80 column:4} end:{line:80 column:32}} text:"Q4:OpenAPI 的行情权限是怎么样?如何购买行情卡?"}

Check failure on line 50 in docs/qa/quote.md

View workflow job for this annotation

GitHub Actions / Check text autocorrect

[rdjson] reported by reviewdog 🐶 Raw Output: location:{path:"./docs/qa/quote.md" range:{start:{line:50 column:1}}} severity:ERROR source:{name:"AutoCorrect Lint" url:"https://github.com/huacnlee/autocorrect"} code:{value:"AutoCorrect" url:"https://github.com/huacnlee/autocorrect"} suggestions:{range:{start:{line:80 column:4} end:{line:80 column:32}} text:"Q4:OpenAPI 的行情权限是怎么样?如何购买行情卡?"}
<td>标的在交易所的官方代码</td>
<td>US</td>
</tr>
Expand Down Expand Up @@ -77,7 +77,7 @@
可以使用 LongPort App 查看标的的 symbol
<img src="https://pub.lbkrs.com/files/202206/7CSoiaDR4wGZPNCT/20220629-180013.jpeg" className="max-w-2xl" />

## Q4:OpenAPI 的行情权限是怎么样?如何购买行情卡?
## Q4:OpenAPI的行情权限是怎么样?如何购买行情卡?

A:

Expand Down