feat: register logic refactor

This commit is contained in:
merlin
2025-11-17 18:02:58 +08:00
parent 575041905b
commit 23cb31d4fe
45 changed files with 768 additions and 70 deletions

View File

@@ -0,0 +1,17 @@
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);
}
}