|  |  |  | 
|---|
|  |  |  | public static final String MD5KEY = "2e95f6a3e11e47fa8a4386d6aefe1735"; | 
|---|
|  |  |  | public static final String notifyUrl = "http://47.111.90.145:8800/api/unipay/unipayCallBack"; | 
|---|
|  |  |  | public static final String agreementPayNotifyUrl = "http://47.111.90.145:8800/api/unipay/agreeMentPayCallBack"; | 
|---|
|  |  |  | public static final String singlePayNotifyUrl = "http://47.111.90.145:8800/api/unipay/singlePayCallBack"; | 
|---|
|  |  |  | public static final String p1MerchantNo = "888118000001971";/** 商户编号 */ | 
|---|
|  |  |  | public static final String aesKey = "1234567891234567";/** 商户编号 */ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | map.put("isChecked", singlePayDto.getIsChecked());//是否复核 | 
|---|
|  |  |  | map.put("paidDesc", singlePayDto.getPaidDesc());//代付说明 | 
|---|
|  |  |  | map.put("paidUse", singlePayDto.getPaidUse());//代付用途 | 
|---|
|  |  |  | //        map.put("callbackUrl", singlePayDto.getCallbackUrl());//商户通知地址 | 
|---|
|  |  |  | map.put("callbackUrl", singlePayNotifyUrl);//商户通知地址 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | String reqSign = getRequestSign(map); | 
|---|
|  |  |  | // 签名 | 
|---|
|  |  |  | 
|---|
|  |  |  | .append(params.get("currency")) | 
|---|
|  |  |  | .append(params.get("isChecked")) | 
|---|
|  |  |  | .append(params.get("paidDesc")) | 
|---|
|  |  |  | .append(params.get("paidUse")); | 
|---|
|  |  |  | .append(params.get("paidUse")) | 
|---|
|  |  |  | .append(params.get("callbackUrl")); | 
|---|
|  |  |  | System.out.println("reqSign:" + stringBuilder.toString()); | 
|---|
|  |  |  | return stringBuilder.toString(); | 
|---|
|  |  |  | } | 
|---|