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.
- package/dist/fileOperation.js +2 -2
- package/package.json +1 -1
package/dist/fileOperation.js
CHANGED
@@ -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;
|