feat: 设备编号从 00000001 顺序分配
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user