代码拉取完成,页面将自动刷新
export declare class youngService {
[key: string]: any;
constructor(ctx: any);
ctx: any;
query: any;
body: any;
info();
page();
sqlPage(sql: string, params?: Array<any>);
list();
add();
update();
success(data?: any);
error(msg?: string);
searchOption: {
keywords: Array<string>;
fieldEq: Array<string>;
fieldStatus: any;
size: number;
page: number;
order: any;
};
entity: typeof Base | string;
sql(sql: string, param?: Array<any>);
}
export declare class youngSocket {
[key: string]: any;
connected(socket: any, io: any);
disconnect(socket: any, io: any);
data(msg: string, socket: any, io: any);
}
export declare class Base {
id: Number;
updateTime: Date;
createTime: Date;
}
export declare class youngQueue {
[key: string]: any;
}
export declare class Application {
[key: string]: any;
}
export declare function get(path: string);
export declare function post(path: string);
export declare function all(path: string);
export declare function init(app, ctx);
export declare function options(path: string);
export declare function patch(path: string);
export declare function del(path: string);
export declare function socketEvent();
export declare function router(pathPrefix: string, funcs?: Array<string>);
export declare function young();
export declare const config;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。