Procházet zdrojové kódy

去除推送人脸数据给费浦

lr před 2 roky
rodič
revize
0fd176c1c6

+ 5 - 5
eladmin-system/src/main/java/me/zhengjie/modules/quartz/task/ZkDataPushTask.java

@@ -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);