31 lines
423 B
Go
31 lines
423 B
Go
package login
|
|
|
|
import (
|
|
"go_dreamfactory/comm"
|
|
"go_dreamfactory/modules"
|
|
|
|
"github.com/liwei1dao/lego/core"
|
|
)
|
|
|
|
/*
|
|
模块名:Pack
|
|
描述:背包系统模块
|
|
开发:李伟
|
|
*/
|
|
func NewModule() core.IModule {
|
|
m := new(Pack)
|
|
return m
|
|
}
|
|
|
|
type Pack struct {
|
|
modules.ModuleBase
|
|
}
|
|
|
|
func (this *Pack) GetType() core.M_Modules {
|
|
return comm.SM_PackModule
|
|
}
|
|
|
|
func (this *Pack) OnInstallComp() {
|
|
this.ModuleBase.OnInstallComp()
|
|
}
|