From 2c7b374bd0657887f9cb7c5cf7ec7a39af95e8a1 Mon Sep 17 00:00:00 2001 From: zouyx <1798599149@qq.com> Date: Wed, 13 Nov 2024 18:10:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=A7=E6=B3=95=E6=A3=80=E6=9F=A5=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E5=8C=BA=E5=9F=9F=E5=AD=97=E6=AE=B5=E5=92=8C=E7=AD=9B?= =?UTF-8?q?=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zdxt/common/util/IdCardCryptoUtil.java | 4 +- .../project/code/registration/jd.html | 10 ++ .../code/registration/registration.html | 52 +++++- .../EnforcementRegistrationController.java | 148 +++++++++++++++++- .../code/domain/EnforcementRegistration.java | 27 ++++ .../mapper/EnforcementRegistrationMapper.java | 1 + .../IEnforcementRegistrationService.java | 3 + .../EnforcementRegistrationServiceImpl.java | 26 +-- .../mapper/EnforcementRegistrationMapper.xml | 60 ++++++- 9 files changed, 311 insertions(+), 20 deletions(-) create mode 100644 lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/jd.html diff --git a/lib/EmergencyBaseLib/EmergencyCommon/src/main/java/com/zdxt/common/util/IdCardCryptoUtil.java b/lib/EmergencyBaseLib/EmergencyCommon/src/main/java/com/zdxt/common/util/IdCardCryptoUtil.java index 2e28c567..96d13bb2 100644 --- a/lib/EmergencyBaseLib/EmergencyCommon/src/main/java/com/zdxt/common/util/IdCardCryptoUtil.java +++ b/lib/EmergencyBaseLib/EmergencyCommon/src/main/java/com/zdxt/common/util/IdCardCryptoUtil.java @@ -32,7 +32,7 @@ public class IdCardCryptoUtil { //VRJHzFqJpsSZhwnsKTWNspv_GZMxTWl-bgH6DyE9Ty0 //VRJHzFqJpsSZhwnsKTWNspv_GZMxTWl-bgH6DyE9Ty0 //SXRpWEhVN3RHM3ZFbzRQcQ== - String userIdCode = IdCardCryptoUtil.symmetricEncryptIdCard("VRJHzFqJpsSZhwnsKTWNspv_GZMxTWl-bgH6DyE9Ty0", "1608644307579883522"); + String userIdCode = IdCardCryptoUtil.symmetricEncryptIdCard("VRJHzFqJpsSZhwnsKTWNspv_GZMxTWl-bgH6DyE9Ty0", "123456789123456789"); String userNameCode = IdCardCryptoUtil.symmetricEncryptIdCard("eWIzY3BMRVNEQXhvUUlXMA==", "汪鑫"); // String secret = IdCardCryptoUtil.symmetricEncryptIdCard("eWIzY3BMRVNEQXhvUUlXMA==", "ae739d8c-86ed-4898-b57d-eed3be42debf"); @@ -40,7 +40,7 @@ public class IdCardCryptoUtil { String phone = IdCardCryptoUtil.symmetricDecryptIdCard("VRJHzFqJpsSZhwnsKTWNspv_GZMxTWl-bgH6DyE9Ty0", "AoQTc5m7o+maPsiYiikzYA=="); // System.out.println(userIdCode); - System.out.println(phone); + System.out.println(userIdCode); // System.out.println(userNameCode); //// System.out.println(secret); diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/jd.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/jd.html new file mode 100644 index 00000000..ec0527d0 --- /dev/null +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/jd.html @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html index 09d1f00a..4fc3d66c 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html @@ -83,6 +83,17 @@ +
  • +

    区域:

    + + +
  • 时段:

    + + \ No newline at end of file