ANDRU-PC\Andru
2022-08-05 4b80909d92578ff99113c3fe9c2f9de8640d15b6
提交修改方法名
1个文件已修改
21 ■■■■■ 已修改文件
phis-feign/src/main/java/com/hz/his/feign/service/dcp/SUserTagInfoService.java 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/feign/service/dcp/SUserTagInfoService.java
@@ -4,11 +4,8 @@
import com.hz.his.dto.dcp.TagRuleInfoItemDto;
import com.hz.his.dto.dcp.UserTagInfoDto;
import org.springframework.cloud.openfeign.FeignClient;
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.RequestMethod;
import javax.servlet.http.HttpServletRequest;
/**
 * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
@@ -17,8 +14,8 @@
public interface SUserTagInfoService {
    /**查询用户标签列表*/
    @RequestMapping("/user/tag/info/list")
    Result userTagInfoListData(@RequestBody(required = false) UserTagInfoDto userTagInfoDto);
    @PostMapping("/user/tag/info/list")
    Result userTagInfoListData(@RequestBody UserTagInfoDto userTagInfoDto);
    /**
     * 编辑用户标签 添加 编辑 删除  三合一接口
@@ -40,15 +37,15 @@
     *     (删除的数据id)"deleteUserTagInfoIdList": ["62d91ec5776bca1873344066"]
     * }
     */
    @RequestMapping(value = "/user/tag/info/edit", method = RequestMethod.POST)
    Result edit(HttpServletRequest request, @RequestBody(required = false) String data);
    @PostMapping(value = "/user/tag/info/edit")
    Result edit(@RequestBody String data);
    /**标签分类树形数据  数据案例:{"ascription":["customer","project","product","card","employee","promotion"]}*/
    @RequestMapping("/tag/rule/info/tree/data")
    Result tagTypeTreeData(@RequestBody(required = false) String data);
    @PostMapping("/tag/rule/info/tree/data")
    Result tagTypeTreeData(@RequestBody String data);
    /**标签列表*/
    @RequestMapping("/tag/rule/item/list")
    Result tagInfoListData(@RequestBody(required = false) TagRuleInfoItemDto tagRuleInfoItemDto);
    @PostMapping("/tag/rule/item/list")
    Result tagInfoListData(@RequestBody TagRuleInfoItemDto tagRuleInfoItemDto);
}