Commit 5332b6ba by ping.wu

Merge branches 'feature/20220112_银行周周惠_wuping' and 'qa' of…

Merge branches 'feature/20220112_银行周周惠_wuping' and 'qa' of http://gitlab.freemud.com/order-group-application/order-group into qa
parents bfb54064 88bab9aa
......@@ -1316,9 +1316,10 @@ public class PayServiceImpl {
plugInParameter.setSignMchid(signMchid);
plugInParameter.setStoreId(thirdStoreId);
String message = "apply_mchid="+applyMchid+"&sign_mchid="+signMchid+"&store_id="+thirdStoreId;
String encryptKey = assortmentOpenPlatformPartnerPaymentAuth.getSignKey();
String message = "apply_mchid="+applyMchid+"&sign_mchid="+signMchid+"&store_id="+thirdStoreId + "&key="+encryptKey;
String sign = HMacSHA256.encrypt(message,assortmentOpenPlatformPartnerPaymentAuth.getPrivate_key());
String sign = HMacSHA256.encrypt(message,encryptKey);
plugInParameter.setSign(sign);
return plugInParameter;
......
......@@ -42,7 +42,6 @@ public class HMacSHA256 {
hs.append('0');
hs.append(stmp);
}
return hs.toString().toLowerCase();
return hs.toString().toUpperCase();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment