随机任务参数传递

This commit is contained in:
liwei1dao 2022-11-07 17:01:34 +08:00
parent 48247e9095
commit 2117ce7697

View File

@ -382,7 +382,7 @@ func (this *ModuleRtask) Rpc_ModuleRtaskSendTask(ctx context.Context, args *pb.R
err = fmt.Errorf("未查询到用户:%s在线信息!", args.Uid)
return
} else {
this.SendToRtask(session, comm.TaskType(args.TaskType))
this.SendToRtask(session, comm.TaskType(args.TaskType), args.Param...)
session.Push()
}
return