1 Star 0 Fork 0

QG稳住/faker3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
TS_JDHelloWorld.d.ts 1.12 KB
一键复制 编辑 原始数据 按行查看 历史
Faker 提交于 2022-06-30 18:20 . sync
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 };
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qgxing/faker3.git
git@gitee.com:qgxing/faker3.git
qgxing
faker3
faker3
main

搜索帮助