修复模块更改的错误

This commit is contained in:
liwei1dao 2022-06-27 15:45:03 +08:00
parent e61ca99fec
commit e15148dbbd
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ type Items struct {
//模块名称
func (this *Items) GetType() core.M_Modules {
return comm.SM_PackModule
return comm.SM_ItemsModule
}
//模块初始化接口 注册用户创建角色事件

View File

@ -5,8 +5,8 @@ import (
"fmt"
"go_dreamfactory/modules/friend"
"go_dreamfactory/modules/hero"
"go_dreamfactory/modules/items"
"go_dreamfactory/modules/mail"
"go_dreamfactory/modules/pack"
"go_dreamfactory/modules/user"
"go_dreamfactory/services"
"go_dreamfactory/sys/cache"
@ -38,7 +38,7 @@ func main() {
)
lego.Run(s, //运行模块
user.NewModule(),
pack.NewModule(),
items.NewModule(),
mail.NewModule(),
friend.NewModule(),
hero.NewModule(),