|
@@ -42,27 +42,27 @@ public class DataCenterPushClueService {
|
|
|
* @return
|
|
|
*/
|
|
|
public R pushClue(DataCenterPushClueBo dataCenterPushClueBo) {
|
|
|
- DataCenterPushClueBo centerPushClueBo = resourceClueConvery(dataCenterPushClueBo);
|
|
|
- String extid = IdUtil.getSnowflakeNextIdStr();;
|
|
|
+// DataCenterPushClueBo centerPushClueBo = resourceClueConvery(dataCenterPushClueBo);
|
|
|
+ String extid = IdUtil.getSnowflakeNextIdStr();
|
|
|
ReqHuoKeVo reqHuoKeVo = ReqHuoKeVo.builder()
|
|
|
- .appName(centerPushClueBo.getCusName())
|
|
|
- .appIdno(centerPushClueBo.getIdNo())
|
|
|
- .appMobile(centerPushClueBo.getMobile())
|
|
|
+ .appName(dataCenterPushClueBo.getCusName())
|
|
|
+ .appIdno(dataCenterPushClueBo.getIdNo())
|
|
|
+ .appMobile(dataCenterPushClueBo.getCusId())
|
|
|
.extId(extid)
|
|
|
.product(clueConveryConfig.getProduct()) // 暂时为空
|
|
|
.city("").cityCode("")
|
|
|
- .sex(centerPushClueBo.getSex())
|
|
|
+ .sex(dataCenterPushClueBo.getSex())
|
|
|
.age("")
|
|
|
- .birthday(centerPushClueBo.getBirthday())
|
|
|
+ .birthday(dataCenterPushClueBo.getBirthday())
|
|
|
.province("").incomeMonth("").wagesType("").loan("").room("").car("").socialSecurity("").accumulationFund("").credit("").policy("").wld("").ip("").ipAddress("").creatTime("")
|
|
|
- .remark1("")
|
|
|
- .remark2("")
|
|
|
- .remark4("")
|
|
|
+ .remark1(clueConveryConfig.getRemark1())
|
|
|
+ .remark2(clueConveryConfig.getRemark2())
|
|
|
+ .remark4(clueConveryConfig.getRemark4())
|
|
|
.remark5("")
|
|
|
.kstype(clueConveryConfig.getKstype())
|
|
|
.userAgent("").build();
|
|
|
// 解析结构化
|
|
|
- handleCusinfo(reqHuoKeVo,centerPushClueBo);
|
|
|
+ handleCusinfo(reqHuoKeVo,dataCenterPushClueBo);
|
|
|
log.info("请求获客明文: {}",JSON.toJSONString(reqHuoKeVo));
|
|
|
Map<String, Object> pMap = new HashMap<String, Object>();
|
|
|
String data = "";
|