From 1510577ee03eeb345d932277d06c77fde7315352 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期五, 23 二月 2024 10:19:57 +0800 Subject: [PATCH] 爆款活动-订单新增字段 --- phis-feign/src/main/java/com/hz/phis/vo/money/MoneyRuleVo.java | 12 ++++++++++++ phis-feign/src/main/java/com/hz/his/feign/service/phis/SMoneyRuleService.java | 8 +++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SMoneyRuleService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SMoneyRuleService.java index 3992df1..7d006bf 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SMoneyRuleService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SMoneyRuleService.java @@ -1,8 +1,10 @@ package com.hz.his.feign.service.phis; import com.hx.resultTool.Result; +import com.hz.phis.vo.money.MoneyRuleVo; 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; import java.math.BigDecimal; @@ -14,10 +16,10 @@ public interface SMoneyRuleService { /** - * @param functionCode 鍔熻兘缂栧彿 - * @return + * @param moneyRuleVo 浼犲弬瀵硅薄 + * @return 杩斿洖锛岀湅浠g爜 */ @PostMapping(value = "/money-rule/list") - Result getList(@RequestParam("functionCode") String functionCode); + Result getList(@RequestBody MoneyRuleVo moneyRuleVo); } diff --git a/phis-feign/src/main/java/com/hz/phis/vo/money/MoneyRuleVo.java b/phis-feign/src/main/java/com/hz/phis/vo/money/MoneyRuleVo.java new file mode 100644 index 0000000..d6b46a5 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/phis/vo/money/MoneyRuleVo.java @@ -0,0 +1,12 @@ +package com.hz.phis.vo.money; + +import lombok.Data; + +/** + * @author CJH + */ +@Data +public class MoneyRuleVo { + /**鍔熻兘缂栧彿*/ + private String functionCode; +} -- Gitblit v1.8.0