feat: 优化ext getDriver和GetDevice策略

This commit is contained in:
余泓铮
2025-02-25 17:53:11 +08:00
parent ebdd676e61
commit 1094d1d95e
5 changed files with 15 additions and 12 deletions

View File

@@ -29,6 +29,7 @@ type RouterBaseMethod struct {
type IRouterBaseMethod interface {
GetDriver(c *gin.Context) (driver uixt.IXTDriver, err error)
GetDevice(c *gin.Context) (driver uixt.IDevice, err error)
}
func (r *Router) Init() {