init
This commit is contained in:
parent
4bb826818c
commit
9ecbba9b84
|
|
@ -0,0 +1,16 @@
|
|||
package com.lyxh.api.docking.controller.common;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController("healthController")
|
||||
@RequestMapping("/health")
|
||||
public class HealthController {
|
||||
|
||||
@RequestMapping(value = "/check", method = RequestMethod.GET)
|
||||
public String check(){
|
||||
return "ok";
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue