boot

package
v0.0.0-...-41f1090 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DepertmentServer 部门服务
	DepertmentServer v1.DepartmentClient
	// JobServer 岗位服务
	JobServer v1.JobClient
	// EmployeeServer 员工服务
	EmployeeServer v1.EmployeeClient
	// JobLevelServer 职级服务
	JobLevelServer v1.JobLevelClient
	// EmployeeJobServer 员工&&岗位关联服务
	EmployeeJobServer v1.EmployeeJobClient
	// WechatCheckIn 员工打卡服务
	WechatCheckIn wechat.WechatCheckInClient

	// LevelAssessServer /* ------------------------------------ */
	// LevelAssessServer 项目等级评估配置信息
	LevelAssessServer product.LevelAssessClient
	// LevelConfirmServer 项目优先级确认配置信息
	LevelConfirmServer product.LevelConfirmClient
	// ModeServer 项目开发模式
	ModeServer product.ModeClient
	// ModeStageServer 项目开发模式-包含阶段关联信息
	ModeStageServer product.ModeStageClient
	// RolesServer 项目角色配置信息
	RolesServer product.RolesClient
	// TypeServer 项目类型信息
	TypeServer product.TypeClient

	// BudgetAssessServer 激励预算
	BudgetAssessServer inspirit.BudgetAssessClient
	// CrewDutyIndexServer 员工责任指数
	CrewDutyIndexServer inspirit.CrewDutyIndexClient
	// CrewHoursIndexServer 员工工时指数
	CrewHoursIndexServer inspirit.CrewHoursIndexClient
	// CrewManageIndexServer 员工管理指数
	CrewManageIndexServer inspirit.CrewManageIndexClient
	// CrewOvertimeRuleServer 项目组成员浮动贡献-加班贡献配置信息
	CrewOvertimeRuleServer inspirit.CrewOvertimeRuleClient
	// CrewSolveRuleServer 项目组成员浮动贡献-解决问题贡献配置信息
	CrewSolveRuleServer inspirit.CrewSolveRuleClient
	// CrewKpiRuleServer 团队成员绩效等级配置信息
	CrewKpiRuleServer inspirit.CrewKpiRuleClient
	// StageRadioServer 项目阶段应发激励占比配置信息
	StageRadioServer inspirit.StageRadioClient
)
View Source
var Enforcer *casbin.Enforcer

Functions

func KeyMatch

func KeyMatch(requestAct, ruleAct string) bool

KeyMatch 我们当然也可以定义自己的函数。先定义一个函数,返回 bool:

func KeyMatchFunc

func KeyMatchFunc(args ...interface{}) (interface{}, error)

KeyMatchFunc 然后将这个函数用interface{}类型包装一层:

Types

This section is empty.

Jump to

Keyboard shortcuts

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