|
|
@@ -16,7 +16,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
-@FeignClient(name="jzg-organization",url = "http://localhost:8084/")
|
|
|
+@FeignClient(name="jzg-organization",url = "${feign.client.jzg-org.url}")
|
|
|
public interface OrgClient {
|
|
|
|
|
|
/**
|
|
|
@@ -151,4 +151,22 @@ public interface OrgClient {
|
|
|
*/
|
|
|
@PostMapping(value = "executeActions")
|
|
|
public HttpResult executeActions(@RequestParam("orderNo") String orderNo,@RequestParam("quoteVo") QuoteVo quoteVo,@RequestParam("actionMap") Map<String, Object> actionMap);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 判断新车
|
|
|
+ */
|
|
|
+ @GetMapping(value = "/newCarJudgeRules/compareNewCar")
|
|
|
+ public HttpResult compareNewCar(@RequestParam("registerDate") String registerDate, @RequestParam("companyId") String companyId, @RequestParam("vehicleType") String vehicleType);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取费用信息
|
|
|
+ */
|
|
|
+ @GetMapping(value = "/ptlAgreementCost/queryById")
|
|
|
+ public HttpResult queryCostById(@RequestParam("id") String id, @RequestHeader("Authorization") String authToken);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取承保规则详情
|
|
|
+ */
|
|
|
+ @GetMapping(value = "/agreementRules/getRuleInfo")
|
|
|
+ public HttpResult getRuleInfo(@RequestParam("ruleId") String ruleId, @RequestHeader("Authorization") String authToken);
|
|
|
}
|