style: lint

This commit is contained in:
手瓜一十雪 committed 2025-02-02 20:17:28 +08:00
1 parent 90a82dcc9a
commit 76501bae34
135 files changed
+529 -529

No files matched your search

+4 -4
View File
@@ -1,9 +1,9 @@
import * as os from 'os';
import offset from '@/core/external/offset.json';
import { InstanceContext, NapCatCore } from "@/core";
import { LogWrapper } from "@/common/log";
import { PacketClientSession } from "@/core/packet/clientSession";
import { napCatVersion } from "@/common/version";
import { InstanceContext, NapCatCore } from '@/core';
import { LogWrapper } from '@/common/log';
import { PacketClientSession } from '@/core/packet/clientSession';
import { napCatVersion } from '@/common/version';
interface OffsetType {
[key: string]: {
+10 -10
View File
@@ -322,18 +322,18 @@ export class NTQQWebApi {
data: pskey,
appid: 5
},
appid: "qun",
appid: 'qun',
checksum: img_md5,
check_type: 0,
file_len: img_size,
env: {
refer: "qzone",
deviceInfo: "h5"
refer: 'qzone',
deviceInfo: 'h5'
},
model: 0,
biz_req: {
sPicTitle: img_name,
sPicDesc: "",
sPicDesc: '',
sAlbumName: sAlbumName,
sAlbumID: sAlbumID,
iAlbumTypeID: 0,
@@ -341,7 +341,7 @@ export class NTQQWebApi {
iUploadType: 0,
iUpPicType: 0,
iBatchID: time,
sPicPath: "",
sPicPath: '',
iPicWidth: 0,
iPicHight: 0,
iWaterType: 0,
@@ -349,19 +349,19 @@ export class NTQQWebApi {
iNeedFeeds: 1,
iUploadTime: time,
mapExt: {
appid: "qun",
appid: 'qun',
userid: gc
}
},
session: "",
session: '',
asy_upload: 0,
cmd: "FileUpload"
cmd: 'FileUpload'
}]
};
const api = `https://h5.qzone.qq.com/webapp/json/sliceUpload/FileBatchControl/${img_md5}?g_tk=${GTK}`;
const post = await RequestUtil.HttpGetJson(api, 'POST', body, {
"Cookie": cookie,
"Content-Type": "application/json"
'Cookie': cookie,
'Content-Type': 'application/json'
});
return post;