Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

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: 浮心物语 <[email protected]>
* 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 <[email protected]>

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

Signed-off-by: BLxcwg666 <[email protected]>

---------

Signed-off-by: BLxcwg666 <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Documentation] 程序排错步骤
3 participants