diff --git a/server/controllers/interface.js b/server/controllers/interface.js index 8e1c959c..f81e5392 100755 --- a/server/controllers/interface.js +++ b/server/controllers/interface.js @@ -265,7 +265,7 @@ class interfaceController extends baseController { async downloadCrx(ctx){ let filename = 'crossRequest.zip'; - let dataBuffer = yapi.fs.readFileSync(yapi.path.join(yapi.WEBROOT, 'static/attachment/cross-request-v2.2.zip')); + let dataBuffer = yapi.fs.readFileSync(yapi.path.join(yapi.WEBROOT, 'static/attachment/cross-request.zip')); ctx.set('Content-disposition', 'attachment; filename=' + filename); ctx.set('Content-Type', 'application/zip'); ctx.body = dataBuffer; diff --git a/static/attachment/cross-request-v1.6.zip b/static/attachment/cross-request-v1.6.zip deleted file mode 100755 index e1604c1d..00000000 Binary files a/static/attachment/cross-request-v1.6.zip and /dev/null differ diff --git a/static/attachment/cross-request-v1.7.zip b/static/attachment/cross-request-v1.7.zip deleted file mode 100755 index 4d7c2369..00000000 Binary files a/static/attachment/cross-request-v1.7.zip and /dev/null differ diff --git a/static/attachment/cross-request-v2.0.1.zip b/static/attachment/cross-request-v2.0.1.zip deleted file mode 100755 index 637e472f..00000000 Binary files a/static/attachment/cross-request-v2.0.1.zip and /dev/null differ diff --git a/static/attachment/cross-request-v2.1.zip b/static/attachment/cross-request-v2.1.zip deleted file mode 100644 index e30f8ed0..00000000 Binary files a/static/attachment/cross-request-v2.1.zip and /dev/null differ diff --git a/static/attachment/cross-request-v2.2.zip b/static/attachment/cross-request-v2.2.zip deleted file mode 100644 index 5bb92ab6..00000000 Binary files a/static/attachment/cross-request-v2.2.zip and /dev/null differ diff --git a/static/attachment/cross-request.zip b/static/attachment/cross-request.zip new file mode 100644 index 00000000..c6c87e8b Binary files /dev/null and b/static/attachment/cross-request.zip differ