Files
iotlcm/admin-svr/server/internal/logic/agent/agent_scope.go

26 lines
416 B
Go

package agent
import (
"context"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/service"
)
type sAgentScope struct {
*agentBase
}
func NewAgentScope() *sAgentScope {
return &sAgentScope{
agentBase: newAgentBase(),
}
}
func init() {
service.RegisterAgentScope(NewAgentScope())
}
func (s *sAgentScope) ScopeDeptIds(ctx context.Context) (deptIds []int64, err error) {
return s.scopeDeptIds(ctx)
}