| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- //package com.ydtech.components;
- //
- //import com.ydtech.modules.ins.model.hb.HengbangPolicyPrintResponse;
- //import com.ydtech.modules.ins.model.request.Response;
- //import org.springframework.beans.factory.annotation.Autowired;
- //import org.springframework.beans.factory.annotation.Value;
- //import org.springframework.core.ParameterizedTypeReference;
- //import org.springframework.stereotype.Component;
- //
- //import java.util.Map;
- //
- //@Component
- //public class HengbangRequestComponents {
- //
- // @Value("${hb.quote.url}")
- // private String hbQuoteUrl;
- //
- // @Value("${hb.audit.url}")
- // private String hbAuditUrl;
- //
- // @Value("${hb.image.url}")
- // private String hbImageUrl;
- //
- // @Value("${hb.getPolicyPrint.url}")
- // private String hbPolicyPrintUrl;
- //
- //
- // private RenbaoRequestComponents renbaoRequestComponents;
- //
- // @Autowired
- // public void setRenbaoRequestComponents(RenbaoRequestComponents renbaoRequestComponents) {
- // this.renbaoRequestComponents = renbaoRequestComponents;
- // }
- //
- // public <T, B> B quote(T t, Class<B> responseType) {
- // return renbaoRequestComponents.post(hbQuoteUrl, "恒邦报价", t, responseType);
- // }
- //
- // public <T, B> B audit(T t, Class<B> responseType) {
- // return renbaoRequestComponents.post(hbAuditUrl, "恒邦核保", t, responseType);
- // }
- //
- // public <T, B> B submitImage(T t, Class<B> responseType) {
- // return renbaoRequestComponents.post(hbImageUrl, "恒邦上传影响", t, responseType);
- // }
- //
- // public <T, B> B getPolicyPrint(T t, Class<B> responseType) {
- // return renbaoRequestComponents.post(hbPolicyPrintUrl, "获取电子保单", t, responseType);
- // }
- //
- //}
|