如何集成积木报表

最后更新于:2022-04-02 07:21:16

# 简单三步集成积木报表 详细文档见 http://report.jeecg.com/2078875 ## 1. jeecg-boot-module-system模块中引入积木报表jar包 ~~~ org.jeecgframework.jimureport jimureport-spring-boot-starter 1.4.0 ~~~ ## 2. 实现JmReportTokenServiceI实现token获取和权限验证 ~~~ @Component class JimureportServiceImpl implements JmReportTokenServiceI { //根据tokne获取用户名,需要自行实现 @Override public String getUsername(String token) { return "admin"; } //校验权限,需要自行实现 @Override public Boolean verifyToken(String token) { return true; } } ~~~ ## 3.执行升级SQL ``` 看升级日志 ``` ### 4. 角色授权 ## 首页效果 ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/f2/b4/f2b47d45ff672d3e9c6bf0f714766b46_1855x855.png) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/3d/02/3d0242c708918259bfc22c110989378b_1911x939.png)
';