service

package
v0.0.0-...-1cc1a95 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizationByClientID

func AuthorizationByClientID(clientID string) (data *domain.Authorization, err error)

func AuthorizationByClientIDAndClientSecret

func AuthorizationByClientIDAndClientSecret(clientID string, clientSecret string) (data *domain.Authorization, err error)

func AuthorizationExists

func AuthorizationExists(clientID string) (exist bool, err error)

func AuthorizationFilterScopeByClientID

func AuthorizationFilterScopeByClientID(clientID string, requestScope []string) (scope []string, err error)

func AuthorizationScopeByClientID

func AuthorizationScopeByClientID(clientID string) (scope []string, err error)

func Authorizations

func Authorizations() (data []*domain.Authorization, err error)

func CampusAdd

func CampusAdd(campus domain.Campus) error

func CampusDelete

func CampusDelete(id string) error

func CampusQuery

func CampusQuery() (interface{}, error)

func CampusUpdate

func CampusUpdate(r domain.Campus) error

func CertificateAdd

func CertificateAdd(s domain.Certificate) error

func CertificateDelete

func CertificateDelete(id int) error

func CertificateQuery

func CertificateQuery() (interface{}, error)

func CertificateUpdate

func CertificateUpdate(s domain.Certificate) error

func ClassAdd

func ClassAdd(d domain.Class) error

func ClassDelete

func ClassDelete(id string) error

func ClassQuery

func ClassQuery() (interface{}, error)

func ClassUpdate

func ClassUpdate(d domain.Class) error

func DepartmentAdd

func DepartmentAdd(d domain.Department) error

func DepartmentDelete

func DepartmentDelete(id string) error

func DepartmentQuery

func DepartmentQuery() (interface{}, error)

func DepartmentUpdate

func DepartmentUpdate(d domain.Department) error

func FamilyAdd

func FamilyAdd(s domain.FamilyInfo) error

func FamilyDelete

func FamilyDelete(id int) error

func FamilyQuery

func FamilyQuery() (interface{}, error)

func FamilyUpdate

func FamilyUpdate(s domain.FamilyInfo) error

func HandleByClient

func HandleByClient(handle func(client *domain.Client) (interface{}, error)) (interface{}, error)

func MajorAdd

func MajorAdd(d domain.Major) error

func MajorDelete

func MajorDelete(id string) error

func MajorQuery

func MajorQuery() (interface{}, error)

func MajorUpdate

func MajorUpdate(d domain.Major) error

func PracticalAdd

func PracticalAdd(s domain.PracticalExperience) error

func PracticalDelete

func PracticalDelete(id int) error

func PracticalQuery

func PracticalQuery() (interface{}, error)

func PracticalUpdate

func PracticalUpdate(s domain.PracticalExperience) error

func RoleAdd

func RoleAdd(role domain.Role) error

func RoleDelete

func RoleDelete(id string) error

func RoleQuery

func RoleQuery() (interface{}, error)

func RoleUpdate

func RoleUpdate(r domain.Role) error

func StudentAdd

func StudentAdd(s domain.Student) error

func StudentBatchAdd

func StudentBatchAdd(us []domain.User) error

func StudentDelete

func StudentDelete(id int) error

func StudentQuery

func StudentQuery() (interface{}, error)

func StudentUpdate

func StudentUpdate(s domain.Student) error

func User

func User(account string, passwd string) (data *domain.User, err error)

func UserAdd

func UserAdd(s domain.User) error

func UserByID

func UserByID(id int) (data *domain.User, err error)

func UserDelete

func UserDelete(id int) error

func UserQuery

func UserQuery() (interface{}, error)

func UserUpdate

func UserUpdate(s domain.User) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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