新增 对接平台配置表

This commit is contained in:
Lemon
2023-05-27 09:05:18 +08:00
parent 2b1035a3e6
commit 94d706f49e
7 changed files with 561 additions and 2 deletions

View File

@@ -1270,9 +1270,15 @@ public class LianLianServiceImpl implements LianLianService {
Map<String, String> resultMap = Maps.newLinkedHashMap();
// 加密数据 TODO vo对象加密
resultMap.put("data", "");
// byte[] encryptText = Cryptos.aesEncrypt(JSONObject.toJSONString(vo).getBytes(),
// dataSecret.getBytes(), dataSecretIV.getBytes());
// String encryptData = Encodes.encodeBase64(encryptText);
// resultMap.put("Data", encryptData);
// 生成sig TODO 生成sig
resultMap.put("sig", "");
String resultSign = GBSignUtils.sign(resultMap, operatorSecret);
resultMap.put("Sig", resultSign);
return resultMap;
}