From abc983261f4806749a208eefecc5d499a2b5c29c Mon Sep 17 00:00:00 2001 From: wangrenhuang <wangren_huang@163.com> Date: 星期一, 09 一月 2023 00:10:10 +0800 Subject: [PATCH] 查询用户项目优化 --- phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserService.java | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserService.java index 79a648a..a1657e4 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserService.java @@ -1,11 +1,12 @@ package com.hz.his.feign.service.platform; import com.hx.resultTool.Result; -import com.hz.his.dto.token.GetTokenDto; +import com.hz.his.dto.user.UserListDto; import com.hz.his.dto.user.UserParamDto; import com.hz.his.dto.user.UserUnionDto; import com.hz.his.dto.user.coupon.UserCouponDto; import com.hz.his.dto.user.project.UserProjectDto; +import net.sf.json.JSONObject; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -15,6 +16,20 @@ */ @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-user") public interface SPhipUserService { + + /** + * 寮�鏀惧钩鍙�-鑾峰彇鐢ㄦ埛鍒楄〃 + * 杩斿洖瀹炰綋鐢║serPhipDt + */ + @PostMapping(value = "/user/list") + Result userList(@RequestBody UserListDto userListDto); + + /** + * 寮�鏀惧钩鍙�-绮剧‘鑾峰彇鐢ㄦ埛鍒楄〃 + * 杩斿洖瀹炰綋鐢║serPhipDt + */ + @PostMapping(value = "/user/appoint_user") + Result appointUser(@RequestBody UserListDto userListDto); /** * 寮�鏀惧钩鍙�-鐢ㄦ埛鏂板 @@ -48,6 +63,9 @@ @PostMapping(value = "/user/coupon/cancel") Result cancelUserCoupon(@RequestBody UserCouponDto userCouponDto); + /** 涓诲姩鍚屾鍒涘缓椤惧鍒癶is - 浼氬憳绛夌骇*/ + @PostMapping("/user/sync/update/his/user/level") + Result updateMembership(@RequestBody JSONObject jsonObject); } \ No newline at end of file -- Gitblit v1.8.0