forked from rongchao/epmet-cloud-rizhao
				
			
				 34 changed files with 714 additions and 0 deletions
			
			
		| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.dataaggre.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.datareport.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.openapi.scan.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
| @ -0,0 +1,21 @@ | |||
| package com.epmet.healthcheck; | |||
| 
 | |||
| import com.epmet.commons.tools.utils.Result; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| 
 | |||
| @RestController | |||
| @RequestMapping("healthcheck") | |||
| public class HealthCheckController { | |||
| 
 | |||
|     /** | |||
|      * http健康检查 | |||
|      * @return | |||
|      */ | |||
|     @PostMapping("http") | |||
|     public Result httpHealthCheck() { | |||
|         return new Result(); | |||
|     } | |||
| 
 | |||
| } | |||
					Loading…
					
					
				
		Reference in new issue