From a782d74cf0a6e2181f68bb1f4472ade94626f688 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期二, 01 七月 2025 18:09:53 +0800 Subject: [PATCH] bug修改 --- ruoyi-service/ruoyi-worker/src/main/java/com/ruoyi/worker/controller/MasterWorkerController.java | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/ruoyi-service/ruoyi-worker/src/main/java/com/ruoyi/worker/controller/MasterWorkerController.java b/ruoyi-service/ruoyi-worker/src/main/java/com/ruoyi/worker/controller/MasterWorkerController.java index c3fbdc1..280bbd8 100644 --- a/ruoyi-service/ruoyi-worker/src/main/java/com/ruoyi/worker/controller/MasterWorkerController.java +++ b/ruoyi-service/ruoyi-worker/src/main/java/com/ruoyi/worker/controller/MasterWorkerController.java @@ -36,12 +36,7 @@ import javax.servlet.http.HttpServletRequest; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.validation.annotation.Validated; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; /** * <p> @@ -640,9 +635,9 @@ @ApiOperation(value = "打电话", tags = {"师傅端-打电话[2.0]"}) @GetMapping(value = "/workerCall") @ApiImplicitParams({ - @ApiImplicitParam(value = "订单id", name = "orderId", dataType = "Integer", required = true), + @ApiImplicitParam(value = "订单id", name = "orderId", dataType = "String", required = true), }) - public R<String> workerCall(@RequestParam Integer orderId) { + public R<String> workerCall(@RequestParam String orderId) { orderClient.call(orderId); return R.ok(); } -- Gitblit v1.7.1