Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

84. 项目思考-HTTP 请求、Header处理、Auth、API 版本升级 #84

Closed
ly525 opened this issue May 30, 2018 · 0 comments
Closed

Comments

@ly525
Copy link
Owner

ly525 commented May 30, 2018

  1. 如何组织 http 请求,如何搭建 http 层(也就是给每个页面提供通用、良好的 http 方法)

    1. baseUrl

    baseUrl 大部分时候是 /, 以 vue2-elm中的代码为例,这里的baseUrl 是固定的。如何动态拼接 baseUrl呢?

  2. API 版本升级的时候,如何处理、如何兼容以前的版本

  3. 如何发布热更新上线,并让用户无感知?

  4. 比如登录页面由session cookie 改为 gwt

  5. 直接输入url,是否会fetch最新的静态资源,比如index.html 、css、js 等

  6. 内部系统如何设计更好的错误复现机制?

  7. 设计更好的错误提示机制?

@ly525 ly525 changed the title 84. 项目架构-HTTP 请求、Header处理、Auth、API 版本升级 84. 项目思考-HTTP 请求、Header处理、Auth、API 版本升级 Jun 7, 2018
@ly525 ly525 added CSS and removed CSS labels Jul 12, 2018
Repository owner locked and limited conversation to collaborators Jan 23, 2024
@ly525 ly525 converted this issue into discussion #645 Jan 23, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

1 participant