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

fix #440 #500

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

fix #440 #500

wants to merge 1 commit into from

Conversation

nepsyn
Copy link

@nepsyn nepsyn commented Nov 12, 2021

解决部分接口返回未使用RESTFul的问题

@nepsyn nepsyn changed the base branch from master to dev November 12, 2021 09:36
@ryoii
Copy link
Collaborator

ryoii commented Nov 19, 2021

等一个合适的时候才能做API层面的修改,不然影响太大

@cssxsh
Copy link
Contributor

cssxsh commented Jul 22, 2022

我觉得可以通过 http header 控制 是否严格按照 restful 返回 数据
这样就能做到兼容

例如 判断 是否 存在 header: X-Restful, 如果有则严格按照 restful 返回 数据,没有就按照 旧的数据格式返回 (兼容)

@ryoii ryoii force-pushed the dev branch 5 times, most recently from 7d7a408 to 0a3e454 Compare October 10, 2023 07:26
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.

3 participants