dream-common 1.1.33 → 1.1.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,15 +15,8 @@ export const respDecrypt = (respData = {}) => {
15
15
  let orgId = respData.orgId.toString();
16
16
  encData = aesDecrypt(md5_16(orgId + signData + timestamp),encData);
17
17
  console.log("解密内容:" + encData);
18
- let obj = {};
19
- let params = new URLSearchParams(encData);
20
- // 遍历所有键值对
21
- for (let [key, value] of params.entries()) {
22
- obj[key] = value;
23
- }
24
18
  try {
25
- let dataValue = decodeBase58(obj.data);
26
- return JSON.parse(dataValue);
19
+ return JSON.parse(encData);
27
20
  } catch (e) {
28
21
  return obj.data || null;
29
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dream-common",
3
- "version": "1.1.33",
3
+ "version": "1.1.34",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {