chore: 更新版本号至 0.1.0,升级依赖项并在 run 方法中添加 token 和 data 参数
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user