修改--注释掉原框架默认主页

This commit is contained in:
haotianmingyue 2025-07-02 17:13:54 +08:00
parent a220be15e1
commit 3c51554785

View File

@ -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());
} // }
} //}