From 5df4d702114e461a947fe75ad66d95c29d26835d Mon Sep 17 00:00:00 2001 From: luozhun <2025254074@qq.com> Date: Mon, 2 Dec 2024 15:19:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pojo/vo/ServiceProjectSecurityUserPagerVo.java | 5 +++++ .../changhu/task/SecurityAssociationDockingServiceTask.java | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/policeSecurityServer/src/main/java/com/changhu/module/miniProgram/pojo/vo/ServiceProjectSecurityUserPagerVo.java b/policeSecurityServer/src/main/java/com/changhu/module/miniProgram/pojo/vo/ServiceProjectSecurityUserPagerVo.java index 639122a..ba17501 100644 --- a/policeSecurityServer/src/main/java/com/changhu/module/miniProgram/pojo/vo/ServiceProjectSecurityUserPagerVo.java +++ b/policeSecurityServer/src/main/java/com/changhu/module/miniProgram/pojo/vo/ServiceProjectSecurityUserPagerVo.java @@ -29,6 +29,9 @@ public class ServiceProjectSecurityUserPagerVo { @Schema(description = "名称") private String name; + @Schema(description = "照片") + private String photo; + @Desensitized(value = DesensitizedUtil.DesensitizedType.MOBILE_PHONE, keepOriginalField = true) @Schema(description = "手机号") private String telephone; @@ -51,6 +54,8 @@ public class ServiceProjectSecurityUserPagerVo { @Schema(description = "保安证号") private String securityNumber; + @Schema(description = "无证说明") + private String noSecurityNumberDesc; @Schema(description = "家庭住址") private String homeAddress; diff --git a/policeSecurityServer/src/main/java/com/changhu/task/SecurityAssociationDockingServiceTask.java b/policeSecurityServer/src/main/java/com/changhu/task/SecurityAssociationDockingServiceTask.java index 05b797b..f2af01a 100644 --- a/policeSecurityServer/src/main/java/com/changhu/task/SecurityAssociationDockingServiceTask.java +++ b/policeSecurityServer/src/main/java/com/changhu/task/SecurityAssociationDockingServiceTask.java @@ -20,7 +20,7 @@ import org.springframework.stereotype.Component; @Component public class SecurityAssociationDockingServiceTask { - private static final String BASE_HOST = "http://tkgl.3589hn.cn"; + private static final String BASE_HOST = "http://baxh.3589hn.cn"; private static String TOKEN; @@ -32,7 +32,7 @@ public class SecurityAssociationDockingServiceTask { public void getToken() { JSONObject params = new JSONObject(); params.put("appid", "anfang"); - params.put("appkey", "fcfefda716dc4760af44973bcf157a01"); + params.put("appkey", "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCg"); //创建请求 HttpRequest request = HttpUtil.createPost(BASE_HOST + "/api/security/get_token"); //设置参数