|
|
@@ -0,0 +1,42 @@ |
|
|
|
package com.ningdatech.kqapi.zzsfw.controller; |
|
|
|
|
|
|
|
|
|
|
|
import com.ningdatech.kqapi.zzsfw.entity.dto.NdKqZzsfwMattersDeduplicateDTO; |
|
|
|
import com.ningdatech.kqapi.zzsfw.entity.dto.NdKqZzsfwMenuDTO; |
|
|
|
import com.ningdatech.kqapi.zzsfw.entity.vo.MatterTopVO; |
|
|
|
import com.ningdatech.kqapi.zzsfw.entity.vo.TreeVO; |
|
|
|
import com.ningdatech.kqapi.zzsfw.manage.MatterManage; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.validation.annotation.Validated; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import java.time.LocalDateTime; |
|
|
|
import java.time.format.DateTimeFormatter; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
/** |
|
|
|
* <p> |
|
|
|
* 前端控制器 |
|
|
|
* </p> |
|
|
|
* |
|
|
|
* @author ZPF |
|
|
|
* @since 2023-10-27 |
|
|
|
*/ |
|
|
|
@Slf4j |
|
|
|
@Validated |
|
|
|
@RestController |
|
|
|
@RequestMapping("/api/v1") |
|
|
|
@Api(value = "NdKqZzsfwMenuController", tags = "柯桥-政务数据") |
|
|
|
@RequiredArgsConstructor |
|
|
|
public class HealthController { |
|
|
|
private final MatterManage matterManage; |
|
|
|
|
|
|
|
@ApiOperation(value = "健康检测", notes = "健康检测") |
|
|
|
@GetMapping("/health") |
|
|
|
public String health() { |
|
|
|
return LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")); |
|
|
|
} |
|
|
|
} |