admin

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminService

type AdminService struct {
	dao.BaseDao
	Organization  company.OrganizationService
	Configuration configuration.ConfigurationService
	Content       content.ContentService
}

func (AdminService) AddAdmin

func (service AdminService) AddAdmin(Name, Password, Domain string) *result.ActionResult

func (AdminService) AddItem

func (service AdminService) AddItem(context *gweb.Context) gweb.Result

func (AdminService) ChangeAdmin

func (service AdminService) ChangeAdmin(Name, Password string, ID uint64) error

func (AdminService) ChangeAuthority

func (service AdminService) ChangeAuthority(context *gweb.Context) gweb.Result

func (AdminService) ChangePassWork

func (service AdminService) ChangePassWork(context *gweb.Context) gweb.Result

func (AdminService) DelAdmin

func (service AdminService) DelAdmin(ID uint64) error

func (AdminService) DeleteItem

func (service AdminService) DeleteItem(context *gweb.Context) gweb.Result

func (AdminService) FindAdmin

func (service AdminService) FindAdmin() []dao.Admin

func (AdminService) FindAdminByAccount

func (service AdminService) FindAdminByAccount(Orm *gorm.DB, Account string) *dao.Admin

func (AdminService) GetAdmin

func (service AdminService) GetAdmin(ID uint64) *dao.Admin

func (AdminService) GetItem

func (service AdminService) GetItem(context *gweb.Context) gweb.Result

func (AdminService) ListItem

func (service AdminService) ListItem(context *gweb.Context) gweb.Result

func (AdminService) ManagerAction

func (service AdminService) ManagerAction(context *gweb.Context) gweb.Result

Jump to

Keyboard shortcuts

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