dept

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SyncDirectionFrom = 1 //上游同步到联犀(默认)
	SyncDirectionTo   = 2 //联犀同步到下游
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DeptMode

type DeptMode = int64
var (
	DeptModeAdd    DeptMode = 1 //1 只新增,不修改(默认)
	DeptModeUpdate DeptMode = 2 //2 新增并修改
	DeptModeDelete DeptMode = 3 //3 新增修改及删除不存在的部门
)

type SyncDirection added in v1.2.0

type SyncDirection = int64

type SyncMode added in v1.2.0

type SyncMode = int64
const (
	SyncModeManual   SyncMode = 1 //手动模式
	SyncModeTiming   SyncMode = 2 //定时同步(半个小时)
	SyncModeRealTime SyncMode = 3 //实时同步
)

type UserMode

type UserMode = int64
var (
	UserModeNone   UserMode = 0 //0 不同步
	UserModeAdd    UserMode = 1 //1 只新增,不修改(默认)
	UserModeUpdate UserMode = 2 //2 新增并修改
	UserModeDelete UserMode = 3 //3 新增修改及删除不存在的用户
)

Jump to

Keyboard shortcuts

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