package com.haha.miniapp.controller;

import cn.dev33.satoken.annotation.SaIgnore;
import com.haha.common.vo.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/health")
@SaIgnore
public class HealthController {

    @GetMapping("/check")
    public Result<String> healthCheck() {
        return Result.success("服务运行正常", "ok");
    }
}
