From 1caf66f7290e0f247de49bf25e657d02ae621719 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Tue, 7 Jun 2022 10:19:31 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=82=E3=80=82=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/user/module.go | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/modules/user/module.go b/modules/user/module.go index 9e192d124..47afe980f 100644 --- a/modules/user/module.go +++ b/modules/user/module.go @@ -3,11 +3,8 @@ package user import ( "go_dreamfactory/comm" "go_dreamfactory/modules" - "go_dreamfactory/sys/configure" - cfg "go_dreamfactory/sys/configure/structs" "github.com/liwei1dao/lego/core" - "github.com/liwei1dao/lego/sys/log" ) func NewModule() core.IModule { @@ -28,22 +25,3 @@ func (this *User) OnInstallComp() { this.ModuleBase.OnInstallComp() this.login_comp = this.RegisterComp(new(LoginComp)).(*LoginComp) } - -func (this *Login) Start() (err error) { - - if err = configure.RegisterConfigure("tbitem.json", cfg.NewTbItem); err != nil { - return - } - - if data, ret := configure.GetConfigure("tbitem.json"); ret == nil { - _data := data.(*cfg.TbItem).GetDataMap() - for _, v := range _data { - if v.Id > 0 { - break - } - log.Debugf(v.Name) - } - } - - return nil -}