forked from rongchao/epmet-cloud-rizhao
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							505 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							21 lines
						
					
					
						
							505 B
						
					
					
				
								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();
							 | 
						|
								    }
							 | 
						|
								
							 | 
						|
								}
							 | 
						|
								
							 |