go_dreamfactory/modules/model/api.go
2022-06-14 19:32:02 +08:00

26 lines
489 B
Go

package model
import (
"go_dreamfactory/modules"
"go_dreamfactory/lego/core"
)
type Api_Comp struct {
modules.MComp_GateComp
service core.IService
module *Model
}
func (this *Api_Comp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
this.MComp_GateComp.Init(service, module, comp, options)
this.service = service
this.module = module.(*Model)
return
}
func (this *Api_Comp) Start() (err error) {
return
}