Browse Source

新增镜像上传时选择更新时间和校验MD5

倚楼听风雨 2 years ago
parent
commit
7bb15e5f0f
3 changed files with 612 additions and 393 deletions
  1. 1 1
      package.json
  2. 9 2
      src/api/fileManager.js
  3. 602 390
      src/view/fileManager/qiniuTransfer.vue

+ 1 - 1
package.json

@@ -25,7 +25,7 @@
     "quill": "^1.3.7",
     "screenfull": "^5.0.2",
     "script-ext-html-webpack-plugin": "^2.1.4",
-    "spark-md5": "^3.0.1",
+    "spark-md5": "^3.0.2",
     "vue": "^3.2.25",
     "vue-router": "^4.0.0-0"
   },

+ 9 - 2
src/api/fileManager.js

@@ -2,8 +2,8 @@
  * @Author: 倚楼听风雨 18408246387@163.com
  * @Date: 2023-01-09 16:01:45
  * @LastEditors: 倚楼听风雨 18408246387@163.com
- * @LastEditTime: 2023-03-08 14:12:48
- * @FilePath: \log-server-web\src\api\rentComputer.js
+ * @LastEditTime: 2023-05-10 11:35:20
+ * @FilePath: \log-server-web\src\api\fileManager.js
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  */
 import service from "@/utils/request";
@@ -92,3 +92,10 @@ export const queryFolder = (data) => {
     data,
   });
 };
+export const updateMirrorPushPolicy = (data) => {
+  return service({
+    url: "/fileManager/updateMirrorPushPolicy",
+    method: "post",
+    data,
+  });
+};

File diff suppressed because it is too large
+ 602 - 390
src/view/fileManager/qiniuTransfer.vue