package com.brframework.commonweb.web; import com.brframework.commonweb.utils.RequestResponseUtils; import com.brframework.commonweb.utils.ServletUtils; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.RestController; /** * SLB健康检查 * @author xu * @date 2019/8/19 11:03 */ @RestController public class CheckController { @GetMapping("/slb-check/v1/check") public void root(){ RequestResponseUtils.writerJson(ServletUtils.response(), "success"); } }