mirror of
https://github.com/jiangrui1994/CloudSaver.git
synced 2026-01-10 15:18:46 +08:00
fix:修复部分115账号cookie无法使用问题
This commit is contained in:
@@ -70,7 +70,6 @@ export class Cloud115Service {
|
||||
cid: "",
|
||||
},
|
||||
});
|
||||
|
||||
if (response.data?.state && response.data.data?.list?.length > 0) {
|
||||
return {
|
||||
data: response.data.data.list.map((item: Cloud115ListItem) => ({
|
||||
@@ -91,7 +90,7 @@ export class Cloud115Service {
|
||||
aid: 1,
|
||||
cid: parentCid,
|
||||
o: "user_ptime",
|
||||
asc: 0,
|
||||
asc: 1,
|
||||
offset: 0,
|
||||
show_dir: 1,
|
||||
limit: 50,
|
||||
@@ -99,10 +98,12 @@ export class Cloud115Service {
|
||||
format: "json",
|
||||
star: 0,
|
||||
suffix: "",
|
||||
natsort: 1,
|
||||
natsort: 0,
|
||||
snap: 0,
|
||||
record_open_time: 1,
|
||||
fc_mix: 0,
|
||||
},
|
||||
});
|
||||
|
||||
if (response.data?.state) {
|
||||
return {
|
||||
data: response.data.data
|
||||
|
||||
@@ -5,6 +5,7 @@ import { createAxiosInstance } from "../utils/axiosInstance";
|
||||
interface QuarkShareInfo {
|
||||
stoken?: string;
|
||||
pwdId?: string;
|
||||
fileSize?: number;
|
||||
list: {
|
||||
fid: string;
|
||||
file_name: string;
|
||||
@@ -107,6 +108,7 @@ export class QuarkService {
|
||||
list,
|
||||
pwdId,
|
||||
stoken,
|
||||
fileSize: response.data.data.share?.size || 0,
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user