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
希望增加一种路由注册方法指定:有且只有GET/POST方法 比如/upload路由,在GET时返回上传页面,在POST时进行上传动作。除此之外不允许其他方法。
The text was updated successfully, but these errors were encountered:
mmc.GET("/putcustomer", ui.PutCustomer) mmc.POST("/putcustomer", api.PutCustomer)
Sorry, something went wrong.
是注册一次,有且只有GET/POST方法。不是分开注册。
这个需求有什么特殊的应用场景?
No branches or pull requests
希望增加一种路由注册方法指定:有且只有GET/POST方法
比如/upload路由,在GET时返回上传页面,在POST时进行上传动作。除此之外不允许其他方法。
The text was updated successfully, but these errors were encountered: