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 db2f303..4483046 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 @@ -114,7 +114,7 @@ public class TrxServiceImpl implements TrxService { List> authenList = new ArrayList<>(); Map userMap = new HashMap<>(); userMap.put("loginName", trxAuthModel.getLoginName()); - userMap.put("passwd", trxAuthModel.getPasswd()); + userMap.put("passwd", trxAuthModel.getPassword()); authenList.add(userMap); Map md5Map = new HashMap<>(); @@ -173,7 +173,7 @@ public class TrxServiceImpl implements TrxService { @Override public GeneralResult getpwdAuthen(TrxAuthModel trxAuthModel) { String url = trxUrl + "/pwdAuthen"; - String s1 = Sha256Util.sha256(trxAuthModel.getPasswd()); + String s1 = Sha256Util.sha256(trxAuthModel.getPassword()); String rs1 = Sha256Util.sha256(trxAuthModel.getRandoms() + s1); Map paramsMap = new HashMap<>(); paramsMap.put("cookie", trxAuthModel.getClientHello()); diff --git a/bocloud.sms.storage/src/main/java/com/bocloud/sms/model/TrxAuthModel.java b/bocloud.sms.storage/src/main/java/com/bocloud/sms/model/TrxAuthModel.java index 8bacdef..a6584e7 100644 --- a/bocloud.sms.storage/src/main/java/com/bocloud/sms/model/TrxAuthModel.java +++ b/bocloud.sms.storage/src/main/java/com/bocloud/sms/model/TrxAuthModel.java @@ -5,7 +5,7 @@ import lombok.Data; @Data public class TrxAuthModel { private String loginName; - private String passwd; + private String password; private String clientHello; // cookie private String serverHello; // certMd5 private String trxToken;