From 0e7570525c92e6321b739da3d6fc513bdc96d6f3 Mon Sep 17 00:00:00 2001 From: ANDRU-PC\Andru <769883346@qq.com> Date: 星期一, 10 七月 2023 10:37:19 +0800 Subject: [PATCH] 添加参数 --- phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipTreatService.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipTreatService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipTreatService.java index 92e957e..f333954 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipTreatService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipTreatService.java @@ -1,28 +1,28 @@ package com.hz.his.feign.service.platform; import com.hx.resultTool.Result; -import com.hz.his.dto.card.CardQueryDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestParam; /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ -@FeignClient(name="phi-platfrom-service",path = "/phip",contextId = "phip-treat") +@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-treat") public interface SPhipTreatService { /** * 寮�鏀惧钩鍙�-鑾峰彇閫氱煡鍗曡鎯� + * @param treatSingleId String绫诲瀷JsonObject */ - @PostMapping(value = "/treat/confirmTreatNotice") - Result getTreatInfo(@RequestParam("treatSingleId") String treatSingleId); + @PostMapping(value = "/treat/info") + Result getTreatInfo(@RequestBody String treatSingleId); /** * 寮�鏀惧钩鍙�-鑾峰彇閫氱煡鍗曠‘璁� + * @param treatSingleId String绫诲瀷JsonObject */ @PostMapping(value = "/treat/confirmTreatNotice") - Result confirmTreat(@RequestParam("treatSingleId") String treatSingleId); + Result confirmTreat(@RequestBody String treatSingleId); } \ No newline at end of file -- Gitblit v1.8.0