预览首页统计修复,123盘大文件长度取值错误问题

This commit is contained in:
QAIU
2023-08-28 17:54:39 +08:00
parent 1aeb838fd9
commit 5cd1ef8bbf
2 changed files with 3 additions and 5 deletions

View File

@@ -100,7 +100,7 @@ public class YeTool extends PanBase implements IPanTool {
jsonObject.put("ShareKey", reqBodyJson.getString("ShareKey"));
jsonObject.put("FileID", reqBodyJson.getInteger("FileId"));
jsonObject.put("S3keyFlag", reqBodyJson.getString("S3KeyFlag"));
jsonObject.put("Size", reqBodyJson.getInteger("Size"));
jsonObject.put("Size", reqBodyJson.getLong("Size"));
jsonObject.put("Etag", reqBodyJson.getString("Etag"));
// 调用JS文件获取签名

View File

@@ -121,8 +121,6 @@ export default {
],
getLink: '',
getLink2: '',
node1Ip: 'http://140.249.188.241:8400/',
node2Ip: 'http://47.93.26.218:6400/',
node1Info: {},
node2Info: {},
}
@@ -170,13 +168,13 @@ export default {
},
getInfo() {
// 初始化统计信息
axios.get(this.node1Ip + 'v2/statisticsInfo').then(
axios.get('/n1/statisticsInfo').then(
response => {
if (response.data.success) {
this.node1Info = response.data.data
}
})
axios.get(this.node2Ip + 'v2/statisticsInfo').then(
axios.get('/n2/statisticsInfo').then(
response => {
if (response.data.success) {
this.node2Info = response.data.data