|  |  |  | 
|---|
|  |  |  | import io.swagger.annotations.Api; | 
|---|
|  |  |  | import io.swagger.annotations.ApiOperation; | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.GetMapping; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.PostMapping; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.RequestMapping; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.RestController; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | @Autowired | 
|---|
|  |  |  | private HkSyncPlatformsServiceImpl hkSyncPlatformsService; | 
|---|
|  |  |  | @ApiOperation("开启定时查询月台状态") | 
|---|
|  |  |  | @GetMapping("/getPlatformStatus") | 
|---|
|  |  |  | @PostMapping("/getPlatformStatus") | 
|---|
|  |  |  | public ApiResponse getPlatformStatus() { | 
|---|
|  |  |  | hkSyncPlatformsService.getPlatformStatus(new PlatformStatusRequest()); | 
|---|
|  |  |  | return ApiResponse.success("开启定时查询月台状态成功"); | 
|---|