移除rtask 模块

This commit is contained in:
liwei1dao 2023-06-08 15:10:55 +08:00
parent da9798df78
commit c11bfa0793

View File

@ -35,7 +35,7 @@ type ModuleBase struct {
ModuleEquipment comm.IEquipment //装备模块
ModuleTask comm.ITask //任务
ModuleFriend comm.IFriend //好友
ModuleRtask comm.IRtask //随机任务
// ModuleRtask comm.IRtask //随机任务
ModuleSociaty comm.ISociaty //公会
ModulePrivilege comm.IPrivilege // 月卡
ModuleSmithy comm.ISmithy //铁建普
@ -100,10 +100,10 @@ func (this *ModuleBase) Start() (err error) {
}
this.ModuleFriend = module.(comm.IFriend)
if module, err = this.service.GetModule(comm.ModuleRtask); err != nil {
return
}
this.ModuleRtask = module.(comm.IRtask)
// if module, err = this.service.GetModule(comm.ModuleRtask); err != nil {
// return
// }
// this.ModuleRtask = module.(comm.IRtask)
if module, err = this.service.GetModule(comm.ModuleSys); err != nil {
return