修改--注释掉原框架默认主页
This commit is contained in:
parent
a220be15e1
commit
3c51554785
@ -11,19 +11,19 @@ import com.ruoyi.common.utils.StringUtils;
|
||||
*
|
||||
* @author ruoyi
|
||||
*/
|
||||
@RestController
|
||||
public class SysIndexController
|
||||
{
|
||||
/** 系统基础配置 */
|
||||
@Autowired
|
||||
private RuoYiConfig ruoyiConfig;
|
||||
|
||||
/**
|
||||
* 访问首页,提示语
|
||||
*/
|
||||
@RequestMapping("/")
|
||||
public String index()
|
||||
{
|
||||
return StringUtils.format("欢迎使用{}后台管理框架,当前版本:v{},请通过前端地址访问。", ruoyiConfig.getName(), ruoyiConfig.getVersion());
|
||||
}
|
||||
}
|
||||
//@RestController
|
||||
//public class SysIndexController
|
||||
//{
|
||||
// /** 系统基础配置 */
|
||||
// @Autowired
|
||||
// private RuoYiConfig ruoyiConfig;
|
||||
//
|
||||
// /**
|
||||
// * 访问首页,提示语
|
||||
// */
|
||||
// @RequestMapping("/")
|
||||
// public String index()
|
||||
// {
|
||||
// return StringUtils.format("欢迎使用{}后台管理框架,当前版本:v{},请通过前端地址访问。", ruoyiConfig.getName(), ruoyiConfig.getVersion());
|
||||
// }
|
||||
//}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user