mirror of https://github.com/jeecgboot/JimuReport
简化使用,指定积木报表默认首页
parent
415f739f93
commit
cf03686148
|
@ -17,11 +17,11 @@ services:
|
|||
ports:
|
||||
- 3307:3306
|
||||
|
||||
jimureport-demo:
|
||||
jimureport:
|
||||
build:
|
||||
context: .
|
||||
restart: always
|
||||
container_name: jimureport-demo
|
||||
image: jimureport-demo
|
||||
container_name: jimureport
|
||||
image: jimureport
|
||||
ports:
|
||||
- 8085:8085
|
|
@ -0,0 +1,21 @@
|
|||
package org.jeecg.modules.jmreport.controller;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.Model;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
/**
|
||||
* 积木报表-设置默认首页跳转
|
||||
*/
|
||||
@Controller
|
||||
public class IndexController {
|
||||
private Logger logger = LoggerFactory.getLogger(IndexController.class);
|
||||
|
||||
@GetMapping("/")
|
||||
public String index(Model model) {
|
||||
model.addAttribute("name", "jimureport");
|
||||
return "jmreport/list"; // 视图重定向 - 跳转
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue