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) }