From 3dac1b9697a7a214789cc2d95788a178a63be4aa Mon Sep 17 00:00:00 2001 From: cmg <527198563@qq.com> Date: 星期二, 30 四月 2024 20:45:37 +0800 Subject: [PATCH] 修改feign调用的服务名:synchro-service 修改为 phi-platform-user --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderService.java | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderService.java index 3db0288..9ee9be7 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderService.java @@ -1,6 +1,7 @@ package com.hz.his.feign.service.phis; import com.hx.resultTool.Result; +import com.hz.his.dto.activity.ActivityLimitDto; import com.hz.his.dto.order.OrderDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; @@ -10,7 +11,7 @@ /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ -@FeignClient(name = "phis-provider", path = "/p-his-data", contextId = "order") +@FeignClient(name = "phi-platform-user", path = "/p-his-data", contextId = "order") public interface SOrderService { /** @@ -21,6 +22,7 @@ /** * 璁㈠崟璇︽儏 + * 杞崲鐢∣rderDetailDt */ @PostMapping(value = "/order/detail") Result orderDetail(@RequestParam("orderId") String orderId); @@ -29,13 +31,23 @@ * 鏍规嵁鍟嗗搧id鏌ヨ璁㈠崟鏁伴噺 */ @PostMapping(value = "/order/numByGoodsId") - Result queryOrderNumByGoodsId(@RequestParam("goodsId") String goodsId); + Result queryOrderNumByGoodsId(@RequestBody ActivityLimitDto activityLimitDto); /** * 鏍规嵁娲诲姩id鏌ヨ璁㈠崟鏁伴噺 */ @PostMapping(value = "/order/numByActivityId") - Result queryOrderNumByActivityId(@RequestParam("activityId") String activityId); + Result queryOrderNumByActivityId(@RequestBody ActivityLimitDto activityLimitDto); + /** + * 璁㈠崟鍒楄〃 + */ + @PostMapping(value = "/order/deta/all") + Result getOrderDetasAll(@RequestBody OrderDto orderDto); + /** + * 璁㈠崟鍒楄〃 + */ + @PostMapping(value = "/getOrderCustomerConfirm") + Result getOrderCustomerConfirm(@RequestBody OrderDto orderDto); } \ No newline at end of file -- Gitblit v1.8.0