ztxkutils 2.10.66-2 → 2.10.66-3

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.
@@ -126,7 +126,7 @@ function batchDownloadFileCallBack(apiUrl, fileIds, fileNames, otherOption) {
126
126
  */
127
127
  function downloadPublicFile(apiUrl, fileId, fileName, otherOption) {
128
128
  // 给附件id加密
129
- fileId = encodeURIComponent(crypto.encrypt(fileId));
129
+ // fileId = encodeURIComponent(crypto.encrypt(fileId));
130
130
  var _a = otherOption || {}, callbackAfter = _a.callbackAfter, callbackError = _a.callbackError;
131
131
  var xhr = new XMLHttpRequest();
132
132
  var _apiUrl = apiUrl.endsWith('/')
@@ -189,7 +189,7 @@ function createDownloadUrlNoBase(fileId, authToken) {
189
189
  */
190
190
  function createPublicDownloadUrl(apiUrl, fileId) {
191
191
  // 给附件id加密
192
- fileId = encodeURIComponent(crypto.encrypt(fileId));
192
+ // fileId = encodeURIComponent(crypto.encrypt(fileId));
193
193
  var _apiUrl = apiUrl.endsWith('/')
194
194
  ? apiUrl.slice(0, apiUrl.length - 1)
195
195
  : apiUrl;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkutils",
3
- "version": "2.10.66-2",
3
+ "version": "2.10.66-3",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",