【发布时间】:2019-03-12 14:17:03
【问题描述】:
我在 Spring Boot 上使用了一个 Web 服务启动了一个项目,当我在我的团队之间共享它时,他们放了一些 cmets:
get方法需要分组例如:
get/users & get/users/{id} will be get/users/{id}删除 put 方法,只使用 post Ex:
post/users/0 add | post/users/{id} update- 为 Jdbc 模板创建一个帮助类并在存储库类中调用它以集中代码
请大家帮我解决这个问题,我很困惑,谢谢
【问题讨论】:
标签: spring rest web-services spring-mvc spring-boot