package com.zm.order.tool.server.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description 健康检查controller
 * @Author: ph
 * @Date: 2019/11/18 09:49
 */
@RestController
@RequestMapping("/")
public class StatusController {

    /**
     * 默认首页面
     * @return
     */
    @GetMapping(value = "/check", produces = "text/html; charset=utf-8")
    public String welcome() {
        return "the order-center-tool-2 service is running";
    }
}
