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

docs: add the "常见问题" chapter #35

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Conversation

wibus-wee
Copy link
Member

@wibus-wee wibus-wee commented Oct 29, 2023

🧪 Working in Progress

Description

添加「常见问题」章节

Linked Issues

#14

Additional context

  • 在前端能对接口做的检测真的很少... 没找到啥好办法
  • 不小心把调整 renovate 配置的 commit 提交到这个分支来了... (将错就错吧)

@wibus-wee wibus-wee added the documentation Improvements or additions to documentation label Oct 29, 2023
@wibus-wee wibus-wee self-assigned this Oct 29, 2023
@wibus-wee wibus-wee linked an issue Dec 30, 2023 that may be closed by this pull request
wibus-wee and others added 4 commits December 30, 2023 21:53
Signed-off-by: 浮心物语 <108316419+wuhang2003@users.noreply.github.com>
* fix: ip function error "[object Object]"

由于云函数 "ip" 中 hasCatch 是 await cache.get(ip);
属于一个对象,而下面直接对这个对象用了 JSON.parse,然后会报错
"message": "Function 执行报错: \"[object Object]\" is not valid JSON"
所以需要加一个判断,确保他是一个字符串

Signed-off-by: BLxcwg666 <huixcwg@gmail.com>

* fix: mistakes & feat: get zh-CN data from ip-api.com

Signed-off-by: BLxcwg666 <huixcwg@gmail.com>

---------

Signed-off-by: BLxcwg666 <huixcwg@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Documentation] 程序排错步骤
3 participants