Create HealthController.java

木子李·De 3 years ago
parent 8cb50b63fa
commit b914fe1439

@ -0,0 +1,21 @@
package com.anjiplus.template.gaea.business.base;
import com.anji.plus.gaea.bean.ResponseBean;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @desc controller
* @author ·De <lide1202@hotmail.com>
* @date 2019-02-17 08:50:11.902
**/
@RestController
public class HealthController {
@GetMapping("health")
public ResponseBean health() {
return ResponseBean.builder().build();
}
}
Loading…
Cancel
Save