代码拉取完成,页面将自动刷新
interface User {
index: number;
UserName: string;
cookie: string;
UserAgent: string;
end?: boolean;
}
declare class JDHelloWorld {
scriptName: string;
cookiesArr: string[];
users: User[];
constructor(scriptName?: string);
getCookie(): Promise<void>;
exceptCookie(filename?: string): string[];
get(url: string, headers?: any): Promise<unknown>;
post(url: string, data: any, headers?: any, params?: object): Promise<object | string>;
wait(ms?: number): Promise<unknown>;
o2s(obj: object, title?: string): void;
getShareCodePool(key: string, num: number): Promise<string[]>;
getshareCodeHW(key: string): Promise<string[]>;
getRandomNumberByRange(start: number, end: number): number;
getRandomNumString(e: number): string;
getEncStr(fn: string, body: {
id?: number;
taskType?: number;
}): object;
getSign(fn: string, body: object): Promise<string>;
cashDoSign(): Promise<unknown>;
run(son: {
main: any;
help?: any;
tips?: any;
}, help?: Function, tips?: Function): Promise<void>;
}
export { User, JDHelloWorld };
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。