1. 登录模块新增软key登录模块代码
							parent
							
								
									678c1e775d
								
							
						
					
					
						commit
						7209ab66fb
					
				| 
						 | 
				
			
			@ -114,7 +114,7 @@ public class TrxServiceImpl implements TrxService {
 | 
			
		|||
        List<Map<String, Object>> authenList = new ArrayList<>();
 | 
			
		||||
        Map<String, Object> userMap = new HashMap<>();
 | 
			
		||||
        userMap.put("loginName", trxAuthModel.getLoginName());
 | 
			
		||||
        userMap.put("passwd", trxAuthModel.getPasswd());
 | 
			
		||||
        userMap.put("passwd", trxAuthModel.getPassword());
 | 
			
		||||
        authenList.add(userMap);
 | 
			
		||||
 | 
			
		||||
        Map<String, Object> 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<String, Object> paramsMap = new HashMap<>();
 | 
			
		||||
        paramsMap.put("cookie", trxAuthModel.getClientHello());
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue