|  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; | 
|---|
|  |  |  | import com.ruoyi.common.core.constant.ServiceNameConstants; | 
|---|
|  |  |  | import com.ruoyi.common.core.domain.R; | 
|---|
|  |  |  | import com.ruoyi.other.api.domain.TCompany; | 
|---|
|  |  |  | import com.ruoyi.other.api.domain.TCoupon; | 
|---|
|  |  |  | import com.ruoyi.other.api.domain.TUserTag; | 
|---|
|  |  |  | import com.ruoyi.other.api.domain.*; | 
|---|
|  |  |  | import com.ruoyi.other.api.dto.TagListQueryDto; | 
|---|
|  |  |  | import com.ruoyi.other.api.dto.UnitListQueryDto; | 
|---|
|  |  |  | import com.ruoyi.other.api.factory.OtherFallbackFactory; | 
|---|
|  |  |  | import com.ruoyi.other.api.vo.CouponListVOVO; | 
|---|
|  |  |  | 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.RequestParam; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.*; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | import java.util.Map; | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @FeignClient(contextId = "UnitClient", value = ServiceNameConstants.OTHER_SERVICE, fallbackFactory = OtherFallbackFactory.class) | 
|---|
|  |  |  | public interface OtherClient { | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 远程调用 获取首次添加车辆可获得积分 | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @PostMapping("/integral/getAddCarIntegral") | 
|---|
|  |  |  | public R<Integer> getAddCarIntegral(); | 
|---|
|  |  |  | //单位分页 | 
|---|
|  |  |  | @PostMapping(value = "/t-company/unit/page") | 
|---|
|  |  |  | R<Page<TCompany>> queryUnitPage(@RequestBody UnitListQueryDto unitListQueryDto); | 
|---|
|  |  |  | 
|---|
|  |  |  | @PostMapping(value = "/t-coupon/getCouponById") | 
|---|
|  |  |  | R<TCoupon> getCouponById(@RequestParam("id") Integer id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PutMapping(value = "/t-enterprise-user-application/export") | 
|---|
|  |  |  | R<List<TEnterpriseUserApplication>> getTnterPrise(); | 
|---|
|  |  |  | @GetMapping("/region/getRegionBuyCode/{code}") | 
|---|
|  |  |  | R<Region> getRegionBuyCode(@PathVariable("code") String code); | 
|---|
|  |  |  | } | 
|---|