| | |
| | | import com.terra.system.service.data.PublishService; |
| | | import com.terra.system.service.show.InquiryService; |
| | | import com.terra.system.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.Parameter; |
| | | import io.swagger.v3.oas.annotations.Parameters; |
| | | import javax.annotation.Resource; |
| | | |
| | | import io.swagger.v3.oas.annotations.enums.ParameterIn; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | * 查询 |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "综合展示\\查询") |
| | | @Tag(name = "综合展示\\查询") |
| | | @RestController |
| | | @RequestMapping("/inquiry") |
| | | public class InquiryController extends BaseQueryController { |
| | |
| | | PublishService publishService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "上传Shp文件读取第一条记录的WKT") |
| | | @Operation(summary = "上传Shp文件读取第一条记录的WKT") |
| | | @ResponseBody |
| | | @PostMapping(value = "/uploadShp") |
| | | public ResponseMsg<ShpRecordEntity> uploadShp(HttpServletRequest req, HttpServletResponse res) { |
| | |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "下载瓦片") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "dt", value = "下载瓦片实体类", dataType = "DownloadTileEntity", paramType = "body") |
| | | @Operation(summary = "下载瓦片") |
| | | @Parameters({ |
| | | @Parameter(name = "dt", description = "下载瓦片实体类") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/downloadTiles") |
| | |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "下载文件") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "guid", value = "文件GUID", dataType = "String", paramType = "query") |
| | | @Operation(summary = "下载文件") |
| | | @Parameters({ |
| | | @Parameter(name = "guid", description = "文件GUID", in = ParameterIn.QUERY) |
| | | }) |
| | | @ResponseBody |
| | | @GetMapping(value = "/downloadFile") |