|
@@ -167,6 +167,14 @@ public class GigThirdApiController {
|
|
|
String desKey = StrUtil.split(deptSub.getAppId(), "|").get(2);
|
|
|
|
|
|
// 验签 略
|
|
|
+ if (encryptedState) {
|
|
|
+ // 解密data
|
|
|
+ decryptDataStr = ZhongyiyunUtils.decrypt(data, desKey);
|
|
|
+ newBodyJson = JSONUtil.parseObj(decryptDataStr);
|
|
|
+ } else {
|
|
|
+ decryptDataStr = data;
|
|
|
+ newBodyJson = JSONUtil.parseObj(data);
|
|
|
+ }
|
|
|
// 解密data
|
|
|
decryptDataStr = ZhongyiyunUtils.decrypt(data, desKey);
|
|
|
newBodyJson = JSONUtil.parseObj(decryptDataStr);
|