We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如下三个路由: app.HttpServer.GET("/v1/machines/list", ListMachines) app.HttpServer.GET("/v1/machines/:machineId", GetOneMachine) 会提示冲突,但是这种方法用的场景非常多,而且非常简洁,希望能够支持。
The text was updated successfully, but these errors were encountered:
这种情况只能你勉为其难的在GetOneMachine分析参数再自行调取ListMachines。从消耗上来说,框架做反而会增加一些逻辑处理,影响部分性能。
Sorry, something went wrong.
No branches or pull requests
如下三个路由:
app.HttpServer.GET("/v1/machines/list", ListMachines)
app.HttpServer.GET("/v1/machines/:machineId", GetOneMachine)
会提示冲突,但是这种方法用的场景非常多,而且非常简洁,希望能够支持。
The text was updated successfully, but these errors were encountered: