mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-01-02 02:25:27 +08:00
【I57I6O】 修复路由添加时Path无法添加问题
【I59M95】自定义JeecgCloudException异常供微服务,及starter模块使用,解决注解添加之后无法实现重复提交的拦截提示 【I58FJ5】修改quartz默认配置参数,延迟启动解决服务重启多次执行问题 【#3755】优化rabbitmq代码删除setQueueNames方法避免发送延迟 升级springcloud到2021.0.3,解决Spring Cloud Gateway SpEL表达式注入问题 升级积木报表到最新版 【issues/3666】同步钉钉用户到本地,违反数据库唯一主键规则,导致插入失败
This commit is contained in:
@ -4,6 +4,10 @@ import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.web.servlet.ServletComponentScan;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
import org.springframework.ui.Model;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
/**
|
||||
* Nacos 启动类
|
||||
@ -34,4 +38,15 @@ public class JeecgNacosApplication {
|
||||
SpringApplication.run(JeecgNacosApplication.class, args);
|
||||
}
|
||||
|
||||
/**
|
||||
* 默认跳转首页
|
||||
*
|
||||
* @param model
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/")
|
||||
public String index(Model model, HttpServletResponse response) {
|
||||
// 视图重定向 - 跳转
|
||||
return "/nacos";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user