|
|
@@ -1,5 +1,6 @@
|
|
|
package com.ydtech.modules.order.service.impl;
|
|
|
|
|
|
+import cn.hutool.core.collection.CollUtil;
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
@@ -1150,6 +1151,10 @@ public class InsCrawlerOrderServiceImpl implements InsCrawlerOrderService {
|
|
|
ctCrawlerLoginRequest.setOther(new LinkedHashMap<>());
|
|
|
ctCrawlerLoginRequest.getOther().put("phone",agreement.getAttribution().getPhone());
|
|
|
ctCrawlerLoginRequest.getOther().put("mescoed",agreement.getAgreement().getSmsCode());
|
|
|
+ PtlAgreementAttributionDto attribution = agreement.getAttribution();
|
|
|
+ if(CollUtil.isNotEmpty(attribution.getFields())){
|
|
|
+ ctCrawlerLoginRequest.getOther().putAll(attribution.getFields().stream().collect(LinkedHashMap::new, (m, v) -> m.put(v.getField(), v.getValue()), LinkedHashMap::putAll));
|
|
|
+ }
|
|
|
ctCrawlerLoginRequest.setCheck("zs");
|
|
|
// 组装 Other 信息
|
|
|
Map<String,String> otherMap = new HashMap<>();
|