mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2025-12-16 12:23:03 +00:00
预览首页统计修复,123盘大文件长度取值错误问题
This commit is contained in:
@@ -100,7 +100,7 @@ public class YeTool extends PanBase implements IPanTool {
|
|||||||
jsonObject.put("ShareKey", reqBodyJson.getString("ShareKey"));
|
jsonObject.put("ShareKey", reqBodyJson.getString("ShareKey"));
|
||||||
jsonObject.put("FileID", reqBodyJson.getInteger("FileId"));
|
jsonObject.put("FileID", reqBodyJson.getInteger("FileId"));
|
||||||
jsonObject.put("S3keyFlag", reqBodyJson.getString("S3KeyFlag"));
|
jsonObject.put("S3keyFlag", reqBodyJson.getString("S3KeyFlag"));
|
||||||
jsonObject.put("Size", reqBodyJson.getInteger("Size"));
|
jsonObject.put("Size", reqBodyJson.getLong("Size"));
|
||||||
jsonObject.put("Etag", reqBodyJson.getString("Etag"));
|
jsonObject.put("Etag", reqBodyJson.getString("Etag"));
|
||||||
|
|
||||||
// 调用JS文件获取签名
|
// 调用JS文件获取签名
|
||||||
|
|||||||
@@ -121,8 +121,6 @@ export default {
|
|||||||
],
|
],
|
||||||
getLink: '',
|
getLink: '',
|
||||||
getLink2: '',
|
getLink2: '',
|
||||||
node1Ip: 'http://140.249.188.241:8400/',
|
|
||||||
node2Ip: 'http://47.93.26.218:6400/',
|
|
||||||
node1Info: {},
|
node1Info: {},
|
||||||
node2Info: {},
|
node2Info: {},
|
||||||
}
|
}
|
||||||
@@ -170,13 +168,13 @@ export default {
|
|||||||
},
|
},
|
||||||
getInfo() {
|
getInfo() {
|
||||||
// 初始化统计信息
|
// 初始化统计信息
|
||||||
axios.get(this.node1Ip + 'v2/statisticsInfo').then(
|
axios.get('/n1/statisticsInfo').then(
|
||||||
response => {
|
response => {
|
||||||
if (response.data.success) {
|
if (response.data.success) {
|
||||||
this.node1Info = response.data.data
|
this.node1Info = response.data.data
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
axios.get(this.node2Ip + 'v2/statisticsInfo').then(
|
axios.get('/n2/statisticsInfo').then(
|
||||||
response => {
|
response => {
|
||||||
if (response.data.success) {
|
if (response.data.success) {
|
||||||
this.node2Info = response.data.data
|
this.node2Info = response.data.data
|
||||||
|
|||||||
Reference in New Issue
Block a user