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

重构 API 请求部分 #29

Merged
merged 25 commits into from
Sep 6, 2024
Merged

重构 API 请求部分 #29

merged 25 commits into from
Sep 6, 2024

Conversation

Muska-Ami
Copy link
Member

@Muska-Ami Muska-Ami commented Sep 5, 2024

  • 将所有 API 请求改为 async/await 异步
  • 将一些 API 从 v1 迁移到 v2
  • 更多错误处理
  • 规范了一些命名

没有 v2 API 能为 /dashboard 的数据报表提供 隧道数 信息,暂时没有适配

Copy link

cloudflare-workers-and-pages bot commented Sep 6, 2024

Deploying locyanfrppanel with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5efb849
Status: ✅  Deploy successful!
Preview URL: https://3969ff81.locyanfrppanel.pages.dev
Branch Preview URL: https://request-refactor.locyanfrppanel.pages.dev

View logs

@Muska-Ami Muska-Ami marked this pull request as ready for review September 6, 2024 09:37
@Muska-Ami Muska-Ami changed the title WIP: 重构 API 请求部分 重构 API 请求部分 Sep 6, 2024
@Daiyangcheng
Copy link
Member

thank you for your contribution!

@Daiyangcheng Daiyangcheng merged commit b418987 into master Sep 6, 2024
4 checks passed
@Muska-Ami Muska-Ami deleted the request-refactor branch September 6, 2024 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants