修改主数据
This commit is contained in:
parent
ccfb478ce9
commit
45d79526ae
|
@ -309,5 +309,6 @@ public class Cbs8ExtServiceImpl implements ICbs8ExtService {
|
|||
header.put("hzyaExtData", requestData);
|
||||
entity.setByteBodys(encryptedData);
|
||||
entity.setHeaders(header);
|
||||
logger.info("CBS请求encrypAndsign参数:{}", requestData);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -169,6 +169,7 @@ public class CBSUtil {
|
|||
* @return
|
||||
*/
|
||||
public static byte[] encrypt(String requestData){
|
||||
logger.info("bodyEncryptionKey: "+bodyEncryptionKey+"requestData: "+ requestData);
|
||||
byte[] encrypt = SM2Util.encrypt(bodyEncryptionKey, requestData.getBytes(StandardCharsets.UTF_8));
|
||||
return encrypt;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue