Commit 62e77b5ec1654a18cb7f60ded7ca40be32340cae
1 parent
5b362f5c
1.加入停车场、发车信息接口
Showing
1 changed file
with
2 additions
and
0 deletions
src/main/java/com/bsth/server_rs/base_info/carpark/CarparkRestService.java
| 1 | 1 | package com.bsth.server_rs.base_info.carpark; |
| 2 | 2 | |
| 3 | 3 | import com.bsth.server_rs.base_info.carpark.buffer.CarparkBufferData; |
| 4 | +import org.springframework.stereotype.Component; | |
| 4 | 5 | |
| 5 | 6 | import javax.ws.rs.*; |
| 6 | 7 | import javax.ws.rs.core.MediaType; |
| ... | ... | @@ -9,6 +10,7 @@ import java.util.List; |
| 9 | 10 | /** |
| 10 | 11 | * @Author hill |
| 11 | 12 | */ |
| 13 | +@Component | |
| 12 | 14 | @Path("/carpark") |
| 13 | 15 | @Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML}) |
| 14 | 16 | public class CarparkRestService { | ... | ... |