From 00347312be3e972b8cb791c3ce26f6ce9b950878 Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期二, 18 七月 2023 17:17:10 +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