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