From 314a4b858417df3d0e97049c3bf36e91cdf228ee Mon Sep 17 00:00:00 2001 From: cmg <527198563@qq.com> Date: 星期二, 30 四月 2024 20:44:47 +0800 Subject: [PATCH] 修改feign调用的服务名 --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderGeneralService.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderGeneralService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderGeneralService.java index f38b370..9d9a01a 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderGeneralService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderGeneralService.java @@ -1,14 +1,16 @@ package com.hz.his.feign.service.phis; import com.hx.resultTool.Result; +import com.hz.his.dto.order.OrderDto; 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="phis-provider",path = "/p-his-data",contextId = "orderTotal") +@FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "orderTotal") public interface SOrderGeneralService { /** @@ -17,7 +19,7 @@ * @return */ @PostMapping(value = "/orderTotal/selectUserOrderNum") - Result selectUserOrderNum(@RequestParam("hisUserId") String hisUserId,@RequestParam("isSuc") Integer isSuc); + Result selectUserOrderNum(@RequestBody OrderDto orderDto); /** * 鏍规嵁his鎺ㄨ崘浜虹敤鎴穒d鏌ヨ璁㈠崟鏁伴噺 -- Gitblit v1.8.0