From 0cbe6e1fd5e5b457f9f94f8e4ee6b275fa52a622 Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期四, 18 四月 2024 10:12:50 +0800 Subject: [PATCH] 传参优化 --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserLabelService.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserLabelService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserLabelService.java index c64c340..03dd41e 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserLabelService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserLabelService.java @@ -1,8 +1,10 @@ package com.hz.his.feign.service.phis; import com.hx.resultTool.Result; +import com.hz.his.vo.label.LabelFindVo; 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; /** @@ -18,4 +20,12 @@ */ @PostMapping(value = "/user/getUserLabel") Result getUserLabel(@RequestParam("userId") String userId); + + /**鏍规嵁鑼冨洿鑾峰彇 + * 鑾峰彇鐢ㄦ埛鏍囩 + * @return Result鐨刣ata杩斿洖鐨勬牸寮忥細key鍊硷細鍒嗙被鏍囪瘑锛泇alue:LabelVo鐨勯泦鍚� + */ + @PostMapping(value = "/label/user/label/list") + Result getLabelUserLabel(@RequestBody LabelFindVo labelFindVo); + } \ No newline at end of file -- Gitblit v1.8.0