1. 登录模块新增软key登录模块代码
							parent
							
								
									7209ab66fb
								
							
						
					
					
						commit
						a236810516
					
				| 
						 | 
					@ -174,7 +174,10 @@ 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);
 | 
				
			||||||
        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