package com.beagle.base.controller;

import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import io.swagger.annotations.Api;
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
@Api(tags = "服务心跳探针接口")
@RequestMapping("/index")
public class IndexController {
    @GetMapping("/index")
    @ApiOperationSupport(order = 1)
    @ApiOperation(value = "服务心跳探针接口")
    public String index() {
        return "ok";
    }
}
