| | |
| | | private FileParamService paramService; |
| | | |
| | | |
| | | @ApiOperation(value = "解析xml文件") |
| | | @ApiOperation(value = "解析xml文件(传参一个文件)") |
| | | @GetMapping("getXmlValue") |
| | | public Response getXmlValue(@RequestParam String filePath){ |
| | | return paramService.getXmlValue(filePath); |
| | | } |
| | | |
| | | @ApiOperation(value = "解析xml文件(传参一个文件夹)") |
| | | @GetMapping("getXmlValueByPath") |
| | | public Response getXmlValueByPath(@RequestParam String filePath){ |
| | | return paramService.getXmlValueByPath(filePath); |
| | | } |
| | | |
| | | @ApiOperation("通过修改属性窗口值来修改文件值(传参对象)") |
| | | @PostMapping("updateXmlByFileParam") |
| | | public Response updateXmlByFileParam(@RequestBody FileParam fileParam,@RequestParam String filePath){ |