package com.hz.his.feign.service.platform;
|
|
import com.hx.resultTool.Result;
|
import com.hz.his.dto.marketing.common.MarCommonReturnDto;
|
import com.hz.his.dto.marketing.common.MarketingTotalDto;
|
import com.hz.his.dto.user.*;
|
import com.hz.his.dto.user.coupon.UserCouponDto;
|
import com.hz.his.dto.user.project.UserProjectDto;
|
import com.hz.his.dto.user.room.UserDoctorRoomDto;
|
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;
|
|
/**
|
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
|
*/
|
@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/add")
|
Result addUser(@RequestBody UserParamDto userParamDto);
|
|
/**
|
* 开放平台-修改用户
|
*/
|
@PostMapping(value = "/user/edit")
|
Result editUser(@RequestBody UserParamDto userParamDto);
|
|
|
/**
|
* 开放平台-新增/修改来源
|
*/
|
@PostMapping(value = "/user/unionId/edit")
|
Result editUnionUser(@RequestBody UserUnionDto userUnionDto);
|
|
|
/**
|
* 开放平台-根据子订单号取消用户项目(未同步his)
|
*/
|
@PostMapping(value = "/user/project/cancel")
|
Result cancelUserProject(@RequestBody UserProjectDto userProjectDto);
|
|
/**
|
* 开放平台-根据子订单号取消用户优惠券(未同步his)
|
*/
|
@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);
|
|
/**
|
* 开放平台-用户等级重新计算
|
*/
|
@PostMapping(value = "/user/level/calc")
|
Result userLevelCalc(@RequestBody UserParamDto userParamDto);
|
|
/**
|
* 开放平台-获取用户的公众号信息
|
*/
|
@PostMapping(value = "/user/gzh/info")
|
Result userGZHInfo(@RequestBody UserParamDto userParamDto);
|
|
/**
|
* 开放平台-获取crm小程序跳转链接
|
*/
|
@PostMapping(value = "/user/crm/url/link")
|
Result getCRMUrlLink(@RequestBody UserUnionDto userParamDto);
|
|
/**
|
* 开放平台-发送获客消息添加客户
|
*/
|
@PostMapping(value = "/user/acquisition/sent")
|
Result sentUserAcquisitionSMS(@RequestBody UserParamDto userParamDto);
|
|
/**
|
* 开放平台-获取用户获客数据记录
|
*/
|
@PostMapping(value = "/user/acquisition/list")
|
Result getUserAcquisitionList(@RequestBody UserParamDto userParamDto);
|
|
/**
|
* 开放平台-用户科室点诊新增
|
*/
|
@PostMapping(value = "/user/room/doctor/diagnosis/create")
|
Result userFamiliesRoomCreate(@RequestBody UserDoctorRoomDto userDoctorRoomDto);
|
|
/**
|
* 开放平台-用户科室点诊审核回调
|
*/
|
@PostMapping(value = "user/room/doctor/diagnosis")
|
Result diagnosisFamiliesRoom(@RequestBody MarCommonReturnDto marCommonReturnDto);
|
|
/**
|
* 开放平台-用户科室点诊当月通过次数
|
*/
|
@PostMapping(value = "user/room/doctor/diagnosis/count")
|
Result diagnosisFamiliesRoomCount(@RequestBody UserDoctorRoomDto userDoctorRoomDto);
|
|
/**
|
* 开放平台-转发创建营销助手审核
|
*/
|
@PostMapping(value = "/user/common/approve/create")
|
Result commonApproveCreate(@RequestBody MarketingTotalDto marketingTotalDto);
|
|
/**
|
* 到访更新用户信息
|
*/
|
@PostMapping(value = "/user/arrive/edit")
|
Result arriveEdit(@RequestBody com.alibaba.fastjson.JSONObject data);
|
|
/**
|
* 开放平台-员工获取获取短信内容链接
|
*/
|
@PostMapping(value = "/user/acquisition/get/link")
|
Result getUserAcquisitionLink(@RequestBody UserParamDto userParamDto);
|
}
|