package com.liquidnet.service.candy.controller;

import com.liquidnet.service.base.ResponseDto;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

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

    @ApiOperation("健康检查")
    @GetMapping
    public ResponseDto<String> info() {
        return ResponseDto.success("success");
    }
}
