srv

package
Version: v1.2.17 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SysCasQrTypeWeiXin = iota
	SysCasQrTypeDingTalk
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Debug

type Debug struct {
	*svc.ServiceContext
}

func NewDebug

func NewDebug() *Debug

func (*Debug) SetServiceContext added in v1.2.16

func (srv *Debug) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*Debug) TODO

func (srv *Debug) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysAppFun

type SysAppFun struct {
	*svc.ServiceContext
}

func NewSysAppFun

func NewSysAppFun() *SysAppFun

func (*SysAppFun) SetServiceContext added in v1.2.16

func (srv *SysAppFun) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysAppFun) TODO

func (srv *SysAppFun) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysArea

type SysArea struct {
	*svc.ServiceContext
}

func NewSysArea

func NewSysArea() *SysArea

func (*SysArea) SetServiceContext added in v1.2.16

func (srv *SysArea) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysArea) TODO

func (srv *SysArea) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysAttachment

type SysAttachment struct {
	*svc.ServiceContext
}

func NewSysAttachment

func NewSysAttachment() *SysAttachment

func (*SysAttachment) SetServiceContext added in v1.2.16

func (srv *SysAttachment) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysAttachment) TODO

func (srv *SysAttachment) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysCas

type SysCas struct {
	*svc.ServiceContext
}

SysCas defined TODO

func NewSysCas

func NewSysCas() *SysCas

func (*SysCas) SetServiceContext added in v1.2.16

func (srv *SysCas) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysCas) TODO

func (srv *SysCas) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysCasQrType added in v1.2.11

type SysCasQrType int

SysCasQrType defined TODO

type SysClient

type SysClient struct {
	*svc.ServiceContext
}

func NewSysClient

func NewSysClient() *SysClient

func (*SysClient) SetServiceContext added in v1.2.16

func (srv *SysClient) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysClient) TODO

func (srv *SysClient) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysComment

type SysComment struct {
	*svc.ServiceContext
}

func NewSysComment

func NewSysComment() *SysComment

func (*SysComment) SetServiceContext added in v1.2.16

func (srv *SysComment) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysComment) TODO

func (srv *SysComment) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysDataPermission

type SysDataPermission struct {
	*svc.ServiceContext
}

func NewSysDataPermission

func NewSysDataPermission() *SysDataPermission

func (*SysDataPermission) SetServiceContext added in v1.2.16

func (srv *SysDataPermission) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysDataPermission) TODO

func (srv *SysDataPermission) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysDingtalk

type SysDingtalk struct {
	*svc.ServiceContext
}

func NewSysDingtalk

func NewSysDingtalk() *SysDingtalk

func (*SysDingtalk) SetServiceContext added in v1.2.16

func (srv *SysDingtalk) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysDingtalk) TODO

func (srv *SysDingtalk) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysDomain

type SysDomain struct {
	*svc.ServiceContext
}

func NewSysDomain

func NewSysDomain() *SysDomain

func (*SysDomain) SetServiceContext added in v1.2.16

func (srv *SysDomain) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysDomain) TODO

func (srv *SysDomain) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysMenu

type SysMenu struct {
	*svc.ServiceContext
}

func NewSysMenu

func NewSysMenu() *SysMenu

func (*SysMenu) SetServiceContext added in v1.2.16

func (srv *SysMenu) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysMenu) TODO

func (srv *SysMenu) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysNotification

type SysNotification struct {
	*svc.ServiceContext
}

func NewSysNotification

func NewSysNotification() *SysNotification

func (*SysNotification) SetServiceContext added in v1.2.16

func (srv *SysNotification) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysNotification) TODO

func (srv *SysNotification) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysOptionset

type SysOptionset struct {
	*svc.ServiceContext
}

func NewSysOptionset

func NewSysOptionset() *SysOptionset

func (*SysOptionset) SetServiceContext added in v1.2.16

func (srv *SysOptionset) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysOptionset) TODO

func (srv *SysOptionset) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysOrg

type SysOrg struct {
	*svc.ServiceContext
}

func NewSysOrg

func NewSysOrg() *SysOrg

func (*SysOrg) SetServiceContext added in v1.2.16

func (srv *SysOrg) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysOrg) TODO

func (srv *SysOrg) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysPermission

type SysPermission struct {
	*svc.ServiceContext
}

func NewSysPermission

func NewSysPermission() *SysPermission

func (*SysPermission) SetServiceContext added in v1.2.16

func (srv *SysPermission) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysPermission) TODO

func (srv *SysPermission) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysRole

type SysRole struct {
	*svc.ServiceContext
}

func NewSysRole

func NewSysRole() *SysRole

func (*SysRole) SetServiceContext added in v1.2.16

func (srv *SysRole) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysRole) TODO

func (srv *SysRole) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysRoleMenu

type SysRoleMenu struct {
	*svc.ServiceContext
}

func NewSysRoleMenu

func NewSysRoleMenu() *SysRoleMenu

func (*SysRoleMenu) SetServiceContext added in v1.2.16

func (srv *SysRoleMenu) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysRoleMenu) TODO

func (srv *SysRoleMenu) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysSchedule

type SysSchedule struct {
	*svc.ServiceContext
}

func NewSysSchedule

func NewSysSchedule() *SysSchedule

func (*SysSchedule) SetServiceContext added in v1.2.16

func (srv *SysSchedule) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysSchedule) TODO

func (srv *SysSchedule) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysScheduleHistory

type SysScheduleHistory struct {
	*svc.ServiceContext
}

func NewSysScheduleHistory

func NewSysScheduleHistory() *SysScheduleHistory

func (*SysScheduleHistory) SetServiceContext added in v1.2.16

func (srv *SysScheduleHistory) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysScheduleHistory) TODO

func (srv *SysScheduleHistory) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysScheduling

type SysScheduling struct {
	*svc.ServiceContext
}

func NewSysScheduling

func NewSysScheduling() *SysScheduling

func (*SysScheduling) SetServiceContext added in v1.2.16

func (srv *SysScheduling) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysScheduling) TODO

func (srv *SysScheduling) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysSetting

type SysSetting struct {
	*svc.ServiceContext
}

func NewSysSetting

func NewSysSetting() *SysSetting

func (*SysSetting) SetServiceContext added in v1.2.16

func (srv *SysSetting) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysSetting) TODO

func (srv *SysSetting) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysTable

type SysTable struct {
	*svc.ServiceContext
}

func NewSysTable

func NewSysTable() *SysTable

func (*SysTable) SetServiceContext added in v1.2.16

func (srv *SysTable) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysTable) TODO

func (srv *SysTable) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysTableColumn

type SysTableColumn struct {
	*svc.ServiceContext
}

func NewSysTableColumn

func NewSysTableColumn() *SysTableColumn

func (*SysTableColumn) SetServiceContext added in v1.2.16

func (srv *SysTableColumn) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysTableColumn) TODO

func (srv *SysTableColumn) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysTag

type SysTag struct {
	*svc.ServiceContext
}

func NewSysTag

func NewSysTag() *SysTag

func (*SysTag) SetServiceContext added in v1.2.16

func (srv *SysTag) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysTag) TODO

func (srv *SysTag) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysTagGroup

type SysTagGroup struct {
	*svc.ServiceContext
}

func NewSysTagGroup

func NewSysTagGroup() *SysTagGroup

func (*SysTagGroup) SetServiceContext added in v1.2.16

func (srv *SysTagGroup) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysTagGroup) TODO

func (srv *SysTagGroup) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysTracker

type SysTracker struct {
	*svc.ServiceContext
}

func NewSysTracker

func NewSysTracker() *SysTracker

func (*SysTracker) PageFormatter

func (srv *SysTracker) PageFormatter(db1 *xorm.Engine) func(*xorm.Engine, []map[string]interface{}) ([]map[string]interface{}, error)

PageFormatter defined TODO

func (*SysTracker) SetServiceContext added in v1.2.16

func (srv *SysTracker) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysTracker) TODO

func (srv *SysTracker) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysUser

type SysUser struct {
	*svc.ServiceContext
}

func NewSysUser

func NewSysUser() *SysUser

func (*SysUser) GetOrgsFromInheritance

func (srv *SysUser) GetOrgsFromInheritance(db *xorm.Engine, cn string) ([]string, error)

GetOrgsFromInheritance defined srv

func (*SysUser) GetUserOrgsByUID

func (srv *SysUser) GetUserOrgsByUID(db *xorm.Engine, ids string) ([]map[string]interface{}, error)

GetUserOrgsByUID defined

func (*SysUser) GetUserRolesByUID

func (srv *SysUser) GetUserRolesByUID(db *xorm.Engine, ids []float64) ([]map[string]interface{}, error)

GetUserRolesByUID defined

func (*SysUser) PageFormatter

func (srv *SysUser) PageFormatter(db1 *xorm.Engine) func(*xorm.Engine, []map[string]interface{}) ([]map[string]interface{}, error)

PageFormatter defined TODO

func (*SysUser) SetServiceContext added in v1.2.16

func (srv *SysUser) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysUser) TODO

func (srv *SysUser) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysUserTemplate

type SysUserTemplate struct {
	*svc.ServiceContext
}

func NewSysUserTemplate

func NewSysUserTemplate() *SysUserTemplate

func (*SysUserTemplate) SetServiceContext added in v1.2.16

func (srv *SysUserTemplate) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysUserTemplate) TODO

func (srv *SysUserTemplate) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysUserTemplateDetail

type SysUserTemplateDetail struct {
	*svc.ServiceContext
}

func NewSysUserTemplateDetail

func NewSysUserTemplateDetail() *SysUserTemplateDetail

func (*SysUserTemplateDetail) SetServiceContext added in v1.2.16

func (srv *SysUserTemplateDetail) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysUserTemplateDetail) TODO

func (srv *SysUserTemplateDetail) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type SysWechat

type SysWechat struct {
	*svc.ServiceContext
}

SysWechat defined TODO

func NewSysWechat

func NewSysWechat() *SysWechat

func (*SysWechat) SetServiceContext added in v1.2.16

func (srv *SysWechat) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysWechat) TODO

func (srv *SysWechat) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

func (*SysWechat) WinXinBindCheck added in v1.2.11

func (srv *SysWechat) WinXinBindCheck(ctx context.Context, platformDB *xorm.Engine, db *xorm.Engine, domain string, code string) (*types.SysUser, error)

WinXinBindCheck defined TODO

type SysWorker

type SysWorker struct {
	*svc.ServiceContext
}

func NewSysWorker

func NewSysWorker() *SysWorker

func (*SysWorker) AddJob

func (srv *SysWorker) AddJob()

AddJob defined TODO

func (*SysWorker) SetServiceContext added in v1.2.16

func (srv *SysWorker) SetServiceContext(svc *svc.ServiceContext)

SetServiceContext defined TODO

func (*SysWorker) TODO

func (srv *SysWorker) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)

TODO defined srv

type WeiXinToken added in v1.2.11

type WeiXinToken struct {
	Errcode      int64  `json:"errcode"`
	Errmsg       string `json:"errmsg"`
	AccessToken  string `json:"access_token"`
	ExpiresIn    int64  `json:"expires_in"`
	RefreshToken string `json:"refresh_token"`
	Openid       string `json:"openid"`
	Scope        string `json:"scope"`
}

WeiXinToken defined TODO

Jump to

Keyboard shortcuts

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