chore: 并入 iotlcm-admin-svr 历史到 admin-svr/(原提交 49818c6)
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user