|
|
@@ -0,0 +1,70 @@
|
|
|
+package com.jzg.quotation.dadi.service.impl;
|
|
|
+
|
|
|
+import com.jzg.commons.entity.quote.vo.QuoteVo;
|
|
|
+import com.jzg.commons.entity.quote.vo.aggregated.*;
|
|
|
+import com.jzg.commons.entity.quote.vo.base.LoginBase;
|
|
|
+import com.jzg.quotation.commons.annotation.QuoteCrawlerService;
|
|
|
+import com.jzg.quotation.commons.constant.InsuranceCode;
|
|
|
+import com.jzg.quotation.commons.entity.DetectLoginRequest;
|
|
|
+import com.jzg.quotation.commons.entity.GetCaptchaRequest;
|
|
|
+import com.jzg.quotation.commons.entity.GetCaptchaResponse;
|
|
|
+import com.jzg.quotation.dadi.service.DaDiCrawlerRequest;
|
|
|
+import lombok.RequiredArgsConstructor;
|
|
|
+import org.springframework.stereotype.Service;
|
|
|
+
|
|
|
+@QuoteCrawlerService(value = InsuranceCode.INSURANCE_CCIC)
|
|
|
+@Service
|
|
|
+@RequiredArgsConstructor
|
|
|
+public class DaDiCrawlerRequestImpl implements DaDiCrawlerRequest {
|
|
|
+ @Override
|
|
|
+ public GetCaptchaResponse getCaptcha(GetCaptchaRequest sendCaptchaRequest) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void login(LoginBase loginBase) {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public QuoteResultsVo quote(QuoteVo quoteVo) throws Exception {
|
|
|
+ QuoteResultsVo quoteResultsVo = new QuoteResultsVo();
|
|
|
+ quoteResultsVo.setErrorMessage("测试 大地");
|
|
|
+ return quoteResultsVo;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public UnderwritingResultsVo underwriting(UnderwritingVo underwritingVo) throws Exception {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public PaymentLinkResultsVo getPaymentLink(PaymentLinkVo paymentLinkVo) throws Exception {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void uploadImage(InsuranceUploadImageVo insuranceUploadImageVo) {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void queryClauseData(ClauseDataVo clauseDataVo) {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public DownloadPolicyResultVo downloadPolicy(DownloadPolicyVo downloadPolicyVo) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public OrderStatusResultVo queryOrderState(OrderStatusVo orderStatusVo) throws Exception {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public boolean detectLogin(DetectLoginRequest detectLoginRequest) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+}
|