From d46a18124bade32f1338496048837e4e9c70a61c Mon Sep 17 00:00:00 2001
From: xiaou66 <2630316030@qq.com>
Date: Sat, 25 Feb 2023 21:37:16 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=83=E7=89=9B=E4=BA=91?=
=?UTF-8?q?=E8=8A=82=E7=82=B9=E6=8F=8F=E8=BF=B0=E5=92=8C=E6=96=B0=E5=A2=9E?=
=?UTF-8?q?=E3=80=8C=E4=BA=9A=E5=A4=AA-=E9=A6=96=E5=B0=94=E3=80=8D?=
=?UTF-8?q?=E8=8A=82=E7=82=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pictureBed/package.json | 2 +-
pictureBed/preload.js | 3 ++-
picturebed-vue/src/views/setting/QiNiu.vue | 11 ++++++-----
3 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/pictureBed/package.json b/pictureBed/package.json
index d2e7470..47b28c7 100644
--- a/pictureBed/package.json
+++ b/pictureBed/package.json
@@ -12,7 +12,7 @@
"koa": "^2.13.1",
"mime-types": "^2.1.27",
"node-fetch": "2",
- "qiniu": "^7.4.0",
+ "qiniu": "^7.8.0",
"server-destroy": "^1.0.1"
}
}
diff --git a/pictureBed/preload.js b/pictureBed/preload.js
index 204bb8d..42a7b96 100644
--- a/pictureBed/preload.js
+++ b/pictureBed/preload.js
@@ -4,6 +4,7 @@ const path = require('path');
const nodeFetch = require('node-fetch');
window.pluginInfo = JSON.parse(fs.readFileSync(path.join(__dirname, 'plugin.json')));
window.qiniu = require('qiniu');
+window.qiniu.zone.
window.nodeFetch = nodeFetch;
const mineMap = {
"image/bmp": "bmp",
@@ -202,4 +203,4 @@ function portUsed(port) {
});
}
-window.onPluginReady = utools.onPluginReady ? utools.onPluginReady : (callback) => { callback() };
\ No newline at end of file
+window.onPluginReady = utools.onPluginReady ? utools.onPluginReady : (callback) => { callback() };
diff --git a/picturebed-vue/src/views/setting/QiNiu.vue b/picturebed-vue/src/views/setting/QiNiu.vue
index 58789c8..fbdd26c 100644
--- a/picturebed-vue/src/views/setting/QiNiu.vue
+++ b/picturebed-vue/src/views/setting/QiNiu.vue
@@ -14,12 +14,13 @@
- 华东
- 华北
- 华南
- 北美
- 东南亚
+ 华东-浙江
+ 华北-河北
+ 华南-广东
+ 北美-洛杉矶
+ 亚太-新加坡(原东南亚)
华东-浙江2
+ 亚太-首尔