| | |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | | * @Date 2024/9/25 16:17 |
| | | */ |
| | | @FeignClient(contextId = "AppUserTagClient", value = ServiceNameConstants.ACCOUNT_SERVICE, fallbackFactory = AppUserTagFallbackFactory.class) |
| | | public interface AppUserTagClient { |
| | | |
| | | |
| | | /** |
| | | * 获取用户标签关系 |
| | | * @param appUserTag |
| | |
| | | */ |
| | | @PostMapping(value = "/t-app-user-tag/tags/getUserTag") |
| | | R<TAppUserTag> getUserTag(@RequestBody TAppUserTag appUserTag); |
| | | |
| | | |
| | | /** |
| | | * 按用户ID集合批量获取用户标签关系 |
| | | * t_app_user_tag 分片键为 app_user_id,IN 查询可被 MyCat 精确路由 |
| | | * @param userIds app用户ID集合 |
| | | * @return |
| | | */ |
| | | @PostMapping(value = "/t-app-user-tag/tags/listByUserIds") |
| | | R<List<TAppUserTag>> listByUserIds(@RequestBody List<Long> userIds); |
| | | |
| | | /** |
| | | * 添加用户标签关系数据 |
| | | * @param appUserTag |