feat: 设备编号从 00000001 顺序分配

This commit is contained in:
Nixevol
2026-10-12 08:54:17 +08:00
parent 775599174b
commit c334dbc040
8 changed files with 119 additions and 29 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ type Handler struct {
}
type EndpointService interface {
CreateEndpoint(ctx context.Context, name string) (id, password string, err error)
CreateEndpoint(ctx context.Context, id, name string) (password string, err error)
Lookup(ctx context.Context, id string) (found, online bool, err error)
DeleteEndpoint(ctx context.Context, id string) error
}