From 4b973dc8b6af3f609a1a57a7ab64be0116c3cb8d Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期四, 02 十一月 2023 18:25:35 +0800 Subject: [PATCH] 增加接口 --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderService.java | 5 +++-- 1 files changed, 3 insertions(+), 2 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 c6b4d59..85819f6 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; @@ -30,13 +31,13 @@ * 鏍规嵁鍟嗗搧id鏌ヨ璁㈠崟鏁伴噺 */ @PostMapping(value = "/order/numByGoodsId") - Result queryOrderNumByGoodsId(@RequestParam("goodsId") String goodsId,@RequestParam("userId") String userId); + Result queryOrderNumByGoodsId(@RequestBody ActivityLimitDto activityLimitDto); /** * 鏍规嵁娲诲姩id鏌ヨ璁㈠崟鏁伴噺 */ @PostMapping(value = "/order/numByActivityId") - Result queryOrderNumByActivityId(@RequestParam("activityId") String activityId,@RequestParam("userId") String userId); + Result queryOrderNumByActivityId(@RequestBody ActivityLimitDto activityLimitDto); /** * 璁㈠崟鍒楄〃 -- Gitblit v1.8.0