Documentation ¶
Index ¶
- Constants
- type Debug
- type SysAppFun
- type SysArea
- type SysAttachment
- type SysCas
- type SysCasQrType
- type SysClient
- type SysComment
- type SysDataPermission
- type SysDingtalk
- type SysDomain
- type SysMenu
- type SysNotification
- type SysOptionset
- type SysOrg
- type SysPermission
- type SysRole
- type SysRoleMenu
- type SysSchedule
- type SysScheduleHistory
- type SysScheduling
- type SysSetting
- type SysTable
- type SysTableColumn
- type SysTag
- type SysTagGroup
- type SysTracker
- func (srv *SysTracker) PageFormatter(db1 *xorm.Engine) func(*xorm.Engine, []map[string]interface{}) ([]map[string]interface{}, error)
- func (srv *SysTracker) SetServiceContext(svc *svc.ServiceContext)
- func (srv *SysTracker) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)
- type SysUser
- func (srv *SysUser) GetOrgsFromInheritance(db *xorm.Engine, cn string) ([]string, error)
- func (srv *SysUser) GetUserOrgsByUID(db *xorm.Engine, ids string) ([]map[string]interface{}, error)
- func (srv *SysUser) GetUserRolesByUID(db *xorm.Engine, ids []float64) ([]map[string]interface{}, error)
- func (srv *SysUser) PageFormatter(db1 *xorm.Engine) func(*xorm.Engine, []map[string]interface{}) ([]map[string]interface{}, error)
- func (srv *SysUser) SetServiceContext(svc *svc.ServiceContext)
- func (srv *SysUser) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)
- type SysUserTemplate
- type SysUserTemplateDetail
- type SysWechat
- func (srv *SysWechat) SetServiceContext(svc *svc.ServiceContext)
- func (srv *SysWechat) TODO(ctx context.Context, db *xorm.Engine, params struct{}) (interface{}, error)
- func (srv *SysWechat) WinXinBindCheck(ctx context.Context, platformDB *xorm.Engine, db *xorm.Engine, domain string, ...) (*types.SysUser, error)
- type SysWorker
- type WeiXinToken
Constants ¶
const ( SysCasQrTypeWeiXin = iota SysCasQrTypeDingTalk )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Debug ¶
type Debug struct {
*svc.ServiceContext
}
func (*Debug) SetServiceContext ¶ added in v1.2.16
func (srv *Debug) SetServiceContext(svc *svc.ServiceContext)
SetServiceContext defined TODO
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
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
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
type SysCas ¶
type SysCas struct {
*svc.ServiceContext
}
SysCas defined TODO
func (*SysCas) SetServiceContext ¶ added in v1.2.16
func (srv *SysCas) SetServiceContext(svc *svc.ServiceContext)
SetServiceContext 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
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
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
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
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
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
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
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
type SysOrg ¶
type SysOrg struct {
*svc.ServiceContext
}
func (*SysOrg) SetServiceContext ¶ added in v1.2.16
func (srv *SysOrg) SetServiceContext(svc *svc.ServiceContext)
SetServiceContext defined TODO
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
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
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
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
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
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
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
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
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
type SysTag ¶
type SysTag struct {
*svc.ServiceContext
}
func (*SysTag) SetServiceContext ¶ added in v1.2.16
func (srv *SysTag) SetServiceContext(svc *svc.ServiceContext)
SetServiceContext defined TODO
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
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
type SysUser ¶
type SysUser struct {
*svc.ServiceContext
}
func NewSysUser ¶
func NewSysUser() *SysUser
func (*SysUser) GetOrgsFromInheritance ¶
GetOrgsFromInheritance defined srv
func (*SysUser) GetUserOrgsByUID ¶
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
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
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
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
type SysWorker ¶
type SysWorker struct {
*svc.ServiceContext
}
func NewSysWorker ¶
func NewSysWorker() *SysWorker
func (*SysWorker) SetServiceContext ¶ added in v1.2.16
func (srv *SysWorker) SetServiceContext(svc *svc.ServiceContext)
SetServiceContext defined TODO
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
Source Files ¶
- sys_app_fun.go
- sys_area.go
- sys_attachment.go
- sys_cas.go
- sys_client.go
- sys_comment.go
- sys_data_permission.go
- sys_debug.go
- sys_dingtalk.go
- sys_domain.go
- sys_menu.go
- sys_notification.go
- sys_optionset.go
- sys_org.go
- sys_permission.go
- sys_role.go
- sys_role_menu.go
- sys_schedule.go
- sys_schedule_history.go
- sys_scheduling.go
- sys_setting.go
- sys_table.go
- sys_table_column.go
- sys_tag.go
- sys_tag_group.go
- sys_tracker.go
- sys_user.go
- sys_user_template.go
- sys_user_template_detail.go
- sys_wechat.go
- sys_worker.go