package com.ruoyi.other.api.feignClient; import com.ruoyi.common.core.constant.ServiceNameConstants; import com.ruoyi.common.core.domain.R; import com.ruoyi.other.api.domain.TEvaluationTag; import com.ruoyi.other.api.factory.RoleSiteFallbackFactory; import com.ruoyi.other.api.vo.TEvaluationTagVO; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; import java.util.List; /** * @author zhibing.pu * @Date 2024/8/9 18:14 */ @FeignClient(contextId = "TEvaluationTagClient", value = ServiceNameConstants.OTHER_SERVICE, fallbackFactory = RoleSiteFallbackFactory.class) public interface TEvaluationTagClient { /** * 获取标签列表 * @return */ @PostMapping("/t-evaluation-tag/getTagList") R> getTagList(Integer type); /** * 获取标签列表 * @return */ @GetMapping("/t-evaluation-tag/getList") R> getList(); /** * 根据id集合获取数据 * @param tagIds * @return */ @PostMapping("/t-evaluation-tag/getListByIds") R> getListByIds(@RequestBody List tagIds); }