chenjiahe
2024-05-10 9268ed83af0e3c8b58f1f7fa8dd0ef55c9869174
phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserService.java
@@ -1,9 +1,11 @@
package com.hz.his.feign.service.platform;
import com.hx.resultTool.Result;
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;
@@ -12,7 +14,7 @@
/**
 * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
 */
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-user")
@FeignClient(name="phi-platform-user",path = "/phip",contextId = "phip-user")
public interface SPhipUserService {
    /**
@@ -114,4 +116,28 @@
     */
    @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/common/approve/create")
    Result commonApproveCreate(@RequestBody MarketingTotalDto marketingTotalDto);
}