//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 B quote(T t, Class responseType) { // return renbaoRequestComponents.post(hbQuoteUrl, "恒邦报价", t, responseType); // } // // public B audit(T t, Class responseType) { // return renbaoRequestComponents.post(hbAuditUrl, "恒邦核保", t, responseType); // } // // public B submitImage(T t, Class responseType) { // return renbaoRequestComponents.post(hbImageUrl, "恒邦上传影响", t, responseType); // } // // public B getPolicyPrint(T t, Class responseType) { // return renbaoRequestComponents.post(hbPolicyPrintUrl, "获取电子保单", t, responseType); // } // //}