From a2368105162156e0b88b2c0a4fd0c7d376b9a345 Mon Sep 17 00:00:00 2001 From: admin <592225189@qq.com> Date: Fri, 1 Nov 2024 21:16:29 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E7=99=BB=E5=BD=95=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=BD=AFkey=E7=99=BB=E5=BD=95=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/bocloud/sms/service/TrxServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bocloud.sms.service/src/main/java/com/bocloud/sms/service/TrxServiceImpl.java b/bocloud.sms.service/src/main/java/com/bocloud/sms/service/TrxServiceImpl.java index 4483046..e0c33aa 100644 --- a/bocloud.sms.service/src/main/java/com/bocloud/sms/service/TrxServiceImpl.java +++ b/bocloud.sms.service/src/main/java/com/bocloud/sms/service/TrxServiceImpl.java @@ -174,7 +174,10 @@ public class TrxServiceImpl implements TrxService { public GeneralResult getpwdAuthen(TrxAuthModel trxAuthModel) { String url = trxUrl + "/pwdAuthen"; String s1 = Sha256Util.sha256(trxAuthModel.getPassword()); + log.info("密码s1 sha256值:" + s1); String rs1 = Sha256Util.sha256(trxAuthModel.getRandoms() + s1); + log.info("密码rs1 sha256值:" + rs1); + Map paramsMap = new HashMap<>(); paramsMap.put("cookie", trxAuthModel.getClientHello()); paramsMap.put("confusn_pwd", rs1);