mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-22 16:20:08 +08:00
✏️ 优化control
This commit is contained in:
parent
94abf34466
commit
6e0b754a66
@ -6,7 +6,6 @@ import (
|
||||
|
||||
func Register(service string, o *Options) *zero.Engine {
|
||||
engine := zero.New()
|
||||
m := *New(service, o)
|
||||
engine.UsePreHandler(m.Handler())
|
||||
engine.UsePreHandler(New(service, o).Handler())
|
||||
return engine
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user