| | |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * @return |
| | | */ |
| | | @RequestMapping("/base/site/addSite") |
| | | Object addSite(@RequestBody Site site); |
| | | Integer addSite(@RequestBody Site site); |
| | | /** |
| | | * 添加场地管理 自定义id |
| | | * |
| | | * @return |
| | | */ |
| | | @RequestMapping("/base/site/addSite1") |
| | | Integer addSite1(@RequestBody Site site); |
| | | @RequestMapping("/base/site/listById") |
| | | Site listById(@RequestParam("id") Integer id); |
| | | @RequestMapping("/base/site/listBooks") |
| | | List<SiteBooking> listBooks(@RequestParam("id") Integer id); |
| | | @RequestMapping("/base/site/addSiteBooking") |
| | | |
| | | |
| | | void addSiteBooking(@RequestBody SiteBooking siteBooking); |
| | | } |