| | |
| | | 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.UserParamDto; |
| | | import com.hz.his.dto.user.UserUnionDto; |
| | | import com.hz.his.dto.user.*; |
| | | 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; |
| | |
| | | */ |
| | | @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-user") |
| | | public interface SPhipUserService { |
| | | |
| | | /** |
| | | * 开放平台-获取用户列表 |
| | | * 返回实体用UserPhipDt |
| | | */ |
| | | @PostMapping(value = "/user/list") |
| | | Result userList(@RequestBody UserListDto userListDto); |
| | | |
| | | /** |
| | | * 开放平台-精确获取用户列表 |
| | | * 返回实体用UserPhipDt |
| | | */ |
| | | @PostMapping(value = "/user/appoint_user") |
| | | Result appointUser(@RequestBody UserListDto userListDto); |
| | | |
| | | /** |
| | | * 开放平台-用户新增 |
| | |
| | | @PostMapping(value = "/user/coupon/cancel") |
| | | Result cancelUserCoupon(@RequestBody UserCouponDto userCouponDto); |
| | | |
| | | /** |
| | | * 主动同步创建顾客到his - 会员等级 |
| | | */ |
| | | @PostMapping("/user/sync/update/his/user/level") |
| | | Result updateMembership(@RequestBody JSONObject jsonObject); |
| | | |
| | | /** |
| | | * 用户升级进度 |
| | | */ |
| | | @PostMapping("user/level/progress") |
| | | Result userLevelProgress(@RequestBody JSONObject paramData); |
| | | |
| | | /** |
| | | * 用户邀请人信息 |
| | | */ |
| | | @PostMapping("user/invitee/info") |
| | | Result userInviteeInfo(@RequestBody UserInviteeInfoDto userInviteeInfoDto); |
| | | |
| | | /** |
| | | * 用户关注产品记录 |
| | | */ |
| | | @PostMapping("/attention/product/record/edit") |
| | | Result userAttentionProductRecordEdit(@RequestBody UserAttentionProductDto userAttentionProductDto); |
| | | |
| | | /** |
| | | * 开放平台-获取用户科室关系信息 |
| | | */ |
| | | @PostMapping(value = "/user/families/room/info") |
| | | Result getUserFamiliesRoomInfo(@RequestBody UserParamDto userParamDto); |
| | | |
| | | /** |
| | | * 开放平台-修改用户科室关系信息 |
| | | */ |
| | | @PostMapping(value = "/user/families/room/info/update") |
| | | Result updateUserFamiliesRoomInfo(@RequestBody UserParamDto userParamDto); |
| | | } |