| | |
| | | * 商品服务 |
| | | * @author ruoyi |
| | | */ |
| | | @FeignClient(contextId = "UnitClient", value = ServiceNameConstants.CONTRACT_SERVICE, fallbackFactory = OtherFallbackFactory.class) |
| | | @FeignClient(contextId = "UnitClient", value = ServiceNameConstants.OTHER_SERVICE, fallbackFactory = OtherFallbackFactory.class) |
| | | public interface OtherClient { |
| | | //单位分页 |
| | | @PostMapping(value = "/t-company/unit/page") |
| | |
| | | R unitAddorUpadate(@RequestBody TCompany tCompany); |
| | | //单位删除 |
| | | @PostMapping(value = "/t-company/unit/delete") |
| | | R unitDelete(@RequestParam Integer id); |
| | | R unitDelete(@RequestParam("id") Integer id); |
| | | |
| | | @PostMapping(value = "/t-company/unit/detail") |
| | | R<TCompany> unitDetail(@RequestParam Integer id); |
| | | R<TCompany> unitDetail(@RequestParam("id") Integer id); |
| | | |
| | | //标签分页 |
| | | @PostMapping(value = "/t-user-tag/page") |
| | |
| | | R addorUpdateTag(@RequestBody TUserTag tUserTag); |
| | | //删除用户标签 |
| | | @PostMapping(value = "/t-user-tag/delete") |
| | | R deleteTag(@RequestParam Integer id); |
| | | R deleteTag(@RequestParam("id") Integer id); |
| | | |
| | | //获取标签Map |
| | | @PostMapping(value = "/t-user-tag/getTagMap") |
| | | R<Map<Integer, String>> getTagMap(@RequestBody List<Integer> ids); |
| | | //获取标签 |
| | | @PostMapping(value = "/t-user-tag/getById") |
| | | R<TUserTag> getByIdTag(@RequestParam Integer id); |
| | | R<TUserTag> getByIdTag(@RequestParam("id") Integer id); |
| | | |
| | | @PostMapping(value = "/vip/getVipMap") |
| | | R<Map<Integer, String>> getVipMap(@RequestBody List<Integer> ids); |