| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api; |
| | | |
| | | import com.doumee.core.haikang.model.param.request.PlatformStatusRequest; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.impl.hksync.HkSyncPlatformsServiceImpl; |
| | | 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.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2023/11/30 15:33 |
| | | */ |
| | | @Api(tags = "设å¤å®æ¶å¨æ¥å£") |
| | | @RestController |
| | | @RequestMapping("/timer/platform") |
| | | public class HkPlatformTimerController extends BaseController { |
| | | @Autowired |
| | | private HkSyncPlatformsServiceImpl hkSyncPlatformsService; |
| | | @ApiOperation("å¼å¯å®æ¶æ¥è¯¢æå°ç¶æ") |
| | | @GetMapping("/getPlatformStatus") |
| | | public ApiResponse getPlatformStatus() { |
| | | hkSyncPlatformsService.getPlatformStatus(new PlatformStatusRequest()); |
| | | return ApiResponse.success("å¼å¯å®æ¶æ¥è¯¢æå°ç¶ææå"); |
| | | } |
| | | |
| | | } |