|
@@ -112,11 +112,11 @@ public class ZkDataPushTask {
|
|
|
param.put("sex",sex);
|
|
|
param.put("cardId",map.get("cardId"));
|
|
|
param.put("operateType",1);
|
|
|
- if(map.containsKey("faceId")){
|
|
|
- if(!ObjectUtils.isEmpty(map.get("faceId"))){
|
|
|
- param.put("facePicture", ImageUtil.encodeImageToBase64(new URL(map.get("faceId"))));
|
|
|
- }
|
|
|
- }
|
|
|
+// if(map.containsKey("faceId")){
|
|
|
+// if(!ObjectUtils.isEmpty(map.get("faceId"))){
|
|
|
+// param.put("facePicture", ImageUtil.encodeImageToBase64(new URL(map.get("faceId"))));
|
|
|
+// }
|
|
|
+// }
|
|
|
String res = HttpRequest.post(fpApi+api)
|
|
|
.form("person",param.toJSONString()).execute().body();
|
|
|
log.info("res:"+res);
|