| | |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.HashMap; |
| | | 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); |
| | |
| | | |
| | | @PutMapping(value = "/t-enterprise-user-application/export") |
| | | R<List<TEnterpriseUserApplication>> getTnterPrise(); |
| | | @GetMapping("/region/getRegionBuyCode/{code}") |
| | | R<Region> getRegionBuyCode(@PathVariable("code") String code); |
| | | |
| | | @GetMapping("/region/getTSystemConfiguration") |
| | | R<List<TSystemConfiguration>> getTSystemConfiguration(); |
| | | |
| | | @GetMapping(value = "/region/getCarDisCharge") |
| | | R<BigDecimal> getCarDisCharge(); |
| | | |
| | | @PostMapping(value = "/region/getGreenElectricity") |
| | | R<BigDecimal> getGreenElectricity(@RequestBody List<Integer> siteIds); |
| | | |
| | | @PostMapping(value = "/region/carportData") |
| | | R carportData(String parkingPlace); |
| | | |
| | | @GetMapping(value = "/region/getCarportData") |
| | | R<HashMap<String, Object>> getCarportData(); |
| | | |
| | | |
| | | |
| | | } |