package com.weather.modules.sys.controller;

import com.weather.common.utils.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 首页提示
 *
 * @author 123
 */
@RestController
public class IndexController {

    @GetMapping("/")
    public Result<String> index(){
        String tips = "你好，weather-admin已启动，请启动weather-ui，才能访问页面！";
        return new Result<String>().ok(tips);
    }
}
