From 0cbb814f8c00469034fc98fbd5bb71fbd3bf8dd1 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 18 九月 2024 17:43:55 +0800 Subject: [PATCH] 1 --- src/main/java/com/se/simu/controller/SimuController.java | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/java/com/se/simu/controller/SimuController.java b/src/main/java/com/se/simu/controller/SimuController.java index 6863c45..60fdd44 100644 --- a/src/main/java/com/se/simu/controller/SimuController.java +++ b/src/main/java/com/se/simu/controller/SimuController.java @@ -25,9 +25,9 @@ @Resource GedbService gedbService; - @ApiOperation(value = "鍒涘缓浠跨湡") + @ApiOperation(value = "鍒涘缓") @PostMapping(value = "/create", produces = "application/json; charset=UTF-8") - public R<Object> createTask(@RequestBody @ApiParam("鍒涘缓浠跨湡瑙嗗浘绫�") CreateSimuVo vo) { + public R<Object> create(@RequestBody @ApiParam("鍒涘缓浠跨湡瑙嗗浘绫�") CreateSimuVo vo) { try { // 469538.6536261877,4416744.922022615,469853.14714664617,4417049.378602433 String bbox = "116.64388473935195,39.884315914604464,116.64754729082588,39.887069143903496"; @@ -40,28 +40,28 @@ } } - @ApiOperation(value = "鑾峰彇浠诲姟") - @GetMapping("/getTask") - public R<Object> getTask(@ApiParam("浠诲姟瑙嗗浘绫�") Object vo) { + @ApiOperation(value = "鍒犻櫎") + @ApiImplicitParams({ + @ApiImplicitParam(name = "ids", value = "浠诲姟ID", dataType = "Integer", paramType = "query", allowMultiple = true, example = "2") + }) + @GetMapping(value = "/del") + public R<Object> del(@RequestParam List<Integer> ids) { try { // - return success(null, 0); + return success(0); } catch (Exception ex) { return fail(ex, null); } } - @ApiOperation(value = "鍒犻櫎浠诲姟") - @ApiImplicitParams({ - @ApiImplicitParam(name = "ids", value = "浠诲姟ID", dataType = "Integer", paramType = "query", allowMultiple = true, example = "2") - }) - @GetMapping(value = "/delTask") - public R<Object> delTask(@RequestParam List<Integer> ids) { + @ApiOperation(value = "鑾峰彇") + @GetMapping("/get") + public R<Object> get(@ApiParam("浠诲姟瑙嗗浘绫�") Object vo) { try { // - return success(0); + return success(null, 0); } catch (Exception ex) { return fail(ex, null); } -- Gitblit v1.9.3