测试服秘钥修改

master
zhangshanxue 2020-08-11 08:47:30 +08:00
parent d4b226e1e7
commit 23d140ee4b
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ public class MHTRechargeController {
public static void main(String[] args) throws IllegalAccessException, UnsupportedEncodingException {
String plain = "ext=1&mhtOrderAmt=6.0&orderDetail=充值60妖晶&orderNo=2007181544511284393682891440128&time=1595071670196" + MD5Util.encrypByMd5(MHTSDKConstans.secretKey);
String plain = "ext=10044682_1&mhtOrderAmt=600.0&orderDetail=充值60妖晶&orderNo=2007240920401286471325669392384&time=1595553653080" + MD5Util.encrypByMd5(MHTSDKConstans.secretKey);
System.out.println("plain = " + plain);
String sig = MD5Util.encrypByMd5(plain);
System.out.println("sig = " + sig);