Commit f462e6f9 authored by zhouwei's avatar zhouwei

health check

parent 3ffa8c87
package com.nanyan.securitylink.controller;
import com.nanyan.securitylink.vo.Response;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class HealthController {
@GetMapping(value = "/health")
public Response<Boolean> checkHealth(){
return Response.SUCCESS(true);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment