From 899277d8fba239727875201ee6a060b6c535f743 Mon Sep 17 00:00:00 2001 From: fhx <308050795@qq.com> Date: 星期一, 30 九月 2024 18:01:39 +0800 Subject: [PATCH] 1.修改会员来访明细工具逻辑 2.新增查询权限工具类 --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SLimitService.java | 32 +++++++++++++++++++++++++++++++- 1 files changed, 31 insertions(+), 1 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SLimitService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SLimitService.java index ec1fd88..9e4ce71 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SLimitService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SLimitService.java @@ -7,10 +7,12 @@ import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; +import java.util.List; + /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ -@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "limit") +@FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "limit") public interface SLimitService { /** @@ -20,6 +22,15 @@ */ @PostMapping(value = "/goods/limit") Result getLimitInfo(@RequestParam("limitId") String limitId); + + + /** + * 鑾峰彇闄愯喘鏁伴噺 + * @param commonId 鍏叡鏍囪瘑 + * @return Result + */ + @PostMapping(value = "/goods/limit/one") + Result getLimitTotal(@RequestParam("commonId") String commonId); /** * 鑾峰彇骞冲彴闄愬埗淇℃伅 @@ -39,6 +50,15 @@ Result getShopLimit(@RequestParam("limitId") String limitId, @RequestParam("shopId") String shopId); /** + * 鑾峰彇鐢ㄦ埛绫诲埆搴楅檺鍒朵俊鎭� + * @param limitId 鍟嗗搧鏍囪瘑 + * @param userHisId 鐢ㄦ埛id + * @return Result + */ + @PostMapping(value = "/goods/userType/limit") + Result getUserTypeLimit(@RequestParam("limitId") String limitId, @RequestParam("userHisId") String userHisId); + + /** * 鑾峰彇鍟嗗搧浼氬憳闄愬埗淇℃伅 * @param limitId 鍟嗗搧鏍囪瘑 * @param userId 鐢ㄦ埛鏍囪瘑 @@ -54,4 +74,14 @@ /**鏌ヨ鏄惁鍙笂鏋�*/ @PostMapping(value = "/goods/check/limit") Result getCheckSku(@RequestBody LimitDto limitDto); + + + /** + * 鍟嗗搧鏍囪瘑鏁扮粍鑾峰彇闂ㄥ簵鏁扮粍 + * @param skuIds 鍟嗗搧鏍囪瘑鏁扮粍 + * @return Result + */ + @PostMapping(value = "/goods/shop/ids") + Result getShopHisIds(@RequestBody List<String> skuIds); + } \ No newline at end of file -- Gitblit v1.8.0