chore: 更新版本号至 0.1.0,升级依赖项并在 run 方法中添加 token 和 data 参数

This commit is contained in:
2026-03-10 21:34:08 +08:00
parent e4c2c0e1e6
commit 5bed882795
3 changed files with 28 additions and 28 deletions

View File

@@ -775,7 +775,7 @@ export class QueryRouterServer<C extends SimpleObject = SimpleObject> extends Qu
* @param param0
* @returns
*/
async run(msg: { id?: string; path?: string; key?: string; payload?: any }, ctx?: Partial<RouteContext<C>>) {
async run(msg: { id?: string; path?: string; key?: string; payload?: any, token?: string, data?: any }, ctx?: Partial<RouteContext<C>>) {
const handle = this.handle;
if (handle) {
return handle(msg, ctx);