Compare commits
No commits in common. "877b0aa34a4a4d16656937f997d60ceedbc23539" and "7209ab66fb10429298549f96fc6c008415141cca" have entirely different histories.
877b0aa34a
...
7209ab66fb
|
@ -174,11 +174,7 @@ public class TrxServiceImpl implements TrxService {
|
||||||
public GeneralResult getpwdAuthen(TrxAuthModel trxAuthModel) {
|
public GeneralResult getpwdAuthen(TrxAuthModel trxAuthModel) {
|
||||||
String url = trxUrl + "/pwdAuthen";
|
String url = trxUrl + "/pwdAuthen";
|
||||||
String s1 = Sha256Util.sha256(trxAuthModel.getPassword());
|
String s1 = Sha256Util.sha256(trxAuthModel.getPassword());
|
||||||
log.info("密码s1 sha256值:" + s1);
|
|
||||||
log.info("getRandoms 值:" + trxAuthModel.getRandoms());
|
|
||||||
String rs1 = Sha256Util.sha256(trxAuthModel.getRandoms() + s1);
|
String rs1 = Sha256Util.sha256(trxAuthModel.getRandoms() + s1);
|
||||||
log.info("密码rs1 sha256值:" + rs1);
|
|
||||||
|
|
||||||
Map<String, Object> paramsMap = new HashMap<>();
|
Map<String, Object> paramsMap = new HashMap<>();
|
||||||
paramsMap.put("cookie", trxAuthModel.getClientHello());
|
paramsMap.put("cookie", trxAuthModel.getClientHello());
|
||||||
paramsMap.put("confusn_pwd", rs1);
|
paramsMap.put("confusn_pwd", rs1);
|
||||||
|
|
Loading…
Reference in New Issue