ANDRU-PC\Andru
2023-04-12 736ce46b9ff924eaa8cd9649ff9955c29fc9a7f6
phis-feign/src/main/java/com/hz/his/feign/service/dcp/SUserTagInfoService.java
@@ -9,12 +9,17 @@
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
/**
 * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
 */
@FeignClient(name="dcp-rules-service",path = "/dcp-rules",contextId = "userTagInfo")
public interface SUserTagInfoService {
    /** 标签分类树型列表 */
    @PostMapping("/tag/rule/info/list/tree")
    Result listTreeData();
    /**查询用户标签列表*/
    @PostMapping("/user/tag/info/list")
@@ -37,7 +42,7 @@
     *                },
     *        {
     *          (是否自定义标签 是)"isCustom": 1,
     *          (标签类型编号 没有类型可以为空或不传)"typeNo": "constellation",
     *          (标签编号 没有可以为空或不传)"tagNo": "constellation",
     *          (标签编号)"tagName": "牛马座"
     *        }
     *    ],
@@ -59,4 +64,8 @@
    /**标签分类数据列表*/
    @PostMapping("/tag/rule/info/list")
    Result listData(@RequestBody TagRuleInfoDto tagRuleInfoDto);
    /**同步用户标签数据*/
    @PostMapping("/test/handlerSyncUserLabelInfo")
    Result handlerSyncUserLabelInfo(@RequestParam("userId") String userId);
}