| | |
| | | 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; |
| | |
| | | */ |
| | | @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 parmData); |
| | | } |