service

package
v0.0.0-...-a5c0f30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ServiceGroupApp = new(ServiceGroup)

Functions

This section is empty.

Types

type OrganizationService

type OrganizationService struct {
}

func (*OrganizationService) CreateOrgUser

func (orgService *OrganizationService) CreateOrgUser(orgUser organization.OrgUserReq) error

func (*OrganizationService) CreateOrganization

func (orgService *OrganizationService) CreateOrganization(org organization.Organization) (err error)

CreateOrganization 创建Organization记录 Author [piexlmax](https://github.com/piexlmax)

func (*OrganizationService) DeleteOrgUser

func (orgService *OrganizationService) DeleteOrgUser(ids []uint, orgID uint) (err error)

func (*OrganizationService) DeleteOrganization

func (orgService *OrganizationService) DeleteOrganization(org organization.Organization) (err error)

DeleteOrganization 删除Organization记录 Author [piexlmax](https://github.com/piexlmax)

func (*OrganizationService) DeleteOrganizationByIds

func (orgService *OrganizationService) DeleteOrganizationByIds(ids request.IdsReq) (err error)

DeleteOrganizationByIds 批量删除Organization记录 Author [piexlmax](https://github.com/piexlmax)

func (*OrganizationService) FindOrgUserAll

func (orgService *OrganizationService) FindOrgUserAll(orgID string) ([]uint, error)

func (*OrganizationService) GetOrgAuthority

func (orgService *OrganizationService) GetOrgAuthority() (authorityData []organization.DataAuthority, err error)

func (*OrganizationService) GetOrgUserList

func (orgService *OrganizationService) GetOrgUserList(info organizationReq.OrgUserSearch) (list interface{}, total int64, err error)

GetOrganizationInfoList 分页获取当前组织下用户记录 Author [piexlmax](https://github.com/piexlmax)

func (*OrganizationService) GetOrganization

func (orgService *OrganizationService) GetOrganization(id uint) (org organization.Organization, err error)

GetOrganization 根据id获取Organization记录 Author [piexlmax](https://github.com/piexlmax)

func (*OrganizationService) GetOrganizationInfoList

func (orgService *OrganizationService) GetOrganizationInfoList(info organizationReq.OrganizationSearch) (list interface{}, total int64, err error)

GetOrganizationInfoList 分页获取Organization记录 Author [piexlmax](https://github.com/piexlmax)

func (*OrganizationService) SetOrgAuthority

func (orgService *OrganizationService) SetOrgAuthority(authID uint, authorityType int) (err error)

func (*OrganizationService) SetOrgUserAdmin

func (orgService *OrganizationService) SetOrgUserAdmin(id uint, flag bool) (err error)

func (*OrganizationService) SyncAuthority

func (orgService *OrganizationService) SyncAuthority() (err error)

func (*OrganizationService) TransferOrgUser

func (orgService *OrganizationService) TransferOrgUser(ids []uint, orgID, toOrgID uint) (err error)

func (*OrganizationService) UpdateOrganization

func (orgService *OrganizationService) UpdateOrganization(org organization.Organization) (err error)

UpdateOrganization 更新Organization记录 Author [piexlmax](https://github.com/piexlmax)

type ServiceGroup

type ServiceGroup struct {
	OrganizationService
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL