|
@@ -126,7 +126,7 @@ public class TestUtil {
|
|
|
log.info("encrypt:{},{}","",encrypt);
|
|
log.info("encrypt:{},{}","",encrypt);
|
|
|
//解密
|
|
//解密
|
|
|
body.put("Data", encrypt);
|
|
body.put("Data", encrypt);
|
|
|
- String signed=RSASignatureUtil.signSafe(JSONObject.toJSONString(data),GYPAY_API_PRI_KEY);
|
|
|
|
|
|
|
+ String signed=RsaUtil.sign(JSONObject.toJSONString(data).getBytes(),GYPAY_API_PRI_KEY);
|
|
|
body.put("Sign", signed);
|
|
body.put("Sign", signed);
|
|
|
|
|
|
|
|
Map<String,Object> Cmscloud = new HashMap<>();
|
|
Map<String,Object> Cmscloud = new HashMap<>();
|