| | |
| | | package com.ltkj.web.jmreport; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.omg.CORBA.Environment; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/report/jmreport") |
| | | @Api(tags = "PC端 积木报表接口集") |
| | | public class JimuController { |
| | | @Value("${jimu.path}") |
| | | private String value; |
| | | |
| | | @GetMapping("/index") |
| | | @ApiOperation(value = "index") |
| | | // @PreAuthorize("@ss.hasPermi('report:jmreport:index')") |
| | | public String index(){ |
| | | return value+"/jmreport/list"; |
| | |
| | | // } |
| | | |
| | | @GetMapping("/view") |
| | | @ApiOperation(value = "view") |
| | | //@PreAuthorize("@ss.hasPermi('report:jimu:view')") |
| | | public String view(){ |
| | | return value+"/jmreport/view"; |
| | | } |
| | | |
| | | @GetMapping("/exportPdf") |
| | | @ApiOperation(value = "exportPdf") |
| | | public String exportPdf(){ |
| | | return value+"/jmreport/exportPdfStream"; |
| | | } |