Compare commits

...

2 Commits

Author SHA1 Message Date
admin 877b0aa34a 1. 登录模块新增软key登录模块代码 2024-11-01 21:17:43 +08:00
admin a236810516 1. 登录模块新增软key登录模块代码 2024-11-01 21:16:29 +08:00
1 changed files with 4 additions and 0 deletions

View File

@ -174,7 +174,11 @@ 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);
log.info("getRandoms 值:" + trxAuthModel.getRandoms());
String rs1 = Sha256Util.sha256(trxAuthModel.getRandoms() + s1);
log.info("密码rs1 sha256值:" + rs1);
Map<String, Object> paramsMap = new HashMap<>();
paramsMap.put("cookie", trxAuthModel.getClientHello());
paramsMap.put("confusn_pwd", rs1);