diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/UniCallBackController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/UniCallBackController.java index b52b88f7..b7eb6591 100644 --- a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/UniCallBackController.java +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/UniCallBackController.java @@ -15,6 +15,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import javax.servlet.http.HttpServletRequest; +import java.util.Arrays; import java.util.Date; import java.util.List; import java.util.Map; @@ -104,7 +105,8 @@ public class UniCallBackController { if(type==1){// 人员比对结果,1:比对成功 2:比对失败 String admitGuid=json.getString("admitGuid"); - long projectId=Long.parseLong(json.getString("cardNo")); + String cardNo=json.getString("cardNo"); + long projectId=Long.parseLong(cardNo); String deviceNo=json.getString("deviceNo"); String filePath=json.getString("filePath"); Date showTime=new Date(json.getLong("showTime")); diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/UniServiceImpl.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/UniServiceImpl.java index a3c555c7..f42b2348 100644 --- a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/UniServiceImpl.java +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/service/impl/UniServiceImpl.java @@ -487,7 +487,7 @@ public class UniServiceImpl implements IUniService{ userJo.put("name",puser.getUserName()); userJo.put("phone",puser.getUserPhone()); userJo.put("tag",puser.getUserName()); - userJo.put("cardNo",puser.getUserId()+"00000"+projectId); + userJo.put("cardNo",projectId); userJo.put("idCardNo",puser.getCardCode()); userJo.put("password",""); userJo.put("addition",""); diff --git a/yanzhu-ui-vue3/src/views/manage/proProjectInfoSubdeptsUsers/index.vue b/yanzhu-ui-vue3/src/views/manage/proProjectInfoSubdeptsUsers/index.vue index 21c63e5e..43504460 100644 --- a/yanzhu-ui-vue3/src/views/manage/proProjectInfoSubdeptsUsers/index.vue +++ b/yanzhu-ui-vue3/src/views/manage/proProjectInfoSubdeptsUsers/index.vue @@ -148,6 +148,26 @@ + + + + +
头像面
+ +
+ +
国徽面
+ +
+ +
人脸识别头像
+ +
+
+
+