18 lines
450 B
Java
18 lines
450 B
Java
package xin.merlin.myplayerbackend.controller;
|
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import xin.merlin.myplayerbackend.utils.result.Response;
|
|
import xin.merlin.myplayerbackend.utils.result.ResultCode;
|
|
|
|
@RestController
|
|
public class HealthController {
|
|
|
|
@GetMapping("/health")
|
|
Response health() {
|
|
return Response.success(ResultCode.SUCCESS);
|
|
}
|
|
|
|
}
|