This commit is contained in:
meixiongfeng 2022-12-23 10:24:00 +08:00
commit bf0bc7918a

View File

@ -47,7 +47,7 @@ func (this *Pay) Init(service core.IService, module core.IModule, options core.I
func (this *Pay) Start() (err error) {
err = this.ModuleBase.Start()
var module core.IModule
if module, err = this.service.GetModule(comm.ModuleMainline); err != nil {
if module, err = this.service.GetModule(comm.ModulePrivilege); err != nil {
return
}
this.privilege = module.(comm.IPayDelivery)