From 50481636b267ac8a516672db66b6206d378baf26 Mon Sep 17 00:00:00 2001 From: lxw <810412026@qq.com> Date: 星期二, 20 九月 2022 15:13:49 +0800 Subject: [PATCH] 修改打开文件 --- src/main/java/com/whyc/controller/FileInfoController.java | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/whyc/controller/FileInfoController.java b/src/main/java/com/whyc/controller/FileInfoController.java index 493ee22..5de0cd6 100644 --- a/src/main/java/com/whyc/controller/FileInfoController.java +++ b/src/main/java/com/whyc/controller/FileInfoController.java @@ -25,12 +25,18 @@ private FileParamService paramService; - @ApiOperation(value = "瑙f瀽xml鏂囦欢") + @ApiOperation(value = "瑙f瀽xml鏂囦欢(浼犲弬涓�涓枃浠�)") @GetMapping("getXmlValue") public Response getXmlValue(@RequestParam String filePath){ return paramService.getXmlValue(filePath); } + @ApiOperation(value = "瑙f瀽xml鏂囦欢(浼犲弬涓�涓枃浠跺す)") + @GetMapping("getXmlValue") + public Response getXmlValueByPath(@RequestParam String filePath){ + return paramService.getXmlValueByPath(filePath); + } + @ApiOperation("閫氳繃淇敼灞炴�х獥鍙e�兼潵淇敼鏂囦欢鍊�(浼犲弬瀵硅薄)") @PostMapping("updateXmlByFileParam") public Response updateXmlByFileParam(@RequestBody FileParam fileParam,@RequestParam String filePath){ -- Gitblit v1.9.1