From 1d7d54f745a6c7f26b3ef619f7c420ffe48a8817 Mon Sep 17 00:00:00 2001 From: wh_zcy Date: Mon, 29 Aug 2022 18:48:31 +0800 Subject: [PATCH] update --- comm/imodule.go | 2 +- modules/rtask/module.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/comm/imodule.go b/comm/imodule.go index d0304ad1c..29ac45894 100644 --- a/comm/imodule.go +++ b/comm/imodule.go @@ -113,7 +113,7 @@ type ( // 随机任务 IRtask interface { //任务触发 - SendToRtask(session IUserSession, rtaskType int32, params ...interface{}) (code pb.ErrorCode) + SendToRtask(session IUserSession, rtaskType int32, params ...int32) (code pb.ErrorCode) } //好友 diff --git a/modules/rtask/module.go b/modules/rtask/module.go index 52a61a17f..113691115 100644 --- a/modules/rtask/module.go +++ b/modules/rtask/module.go @@ -114,6 +114,6 @@ func (this *ModuleRtask) initRtaskHandle() { } } -func SendToRtask(session comm.IUserSession, rtaskType int32, params ...interface{}) (code pb.ErrorCode) { +func SendToRtask(session comm.IUserSession, rtaskType int32, params ...int32) (code pb.ErrorCode) { return }