controller

package
v0.0.0-...-b0835bc Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Api           = &ApiController{}
	Group         = &GroupController{}
	Menu          = &MenuController{}
	Role          = &RoleController{}
	User          = &UserController{}
	OperationLog  = &OperationLogController{}
	Base          = &BaseController{}
	FieldRelation = &FieldRelationController{}
	Deploy        = &DeployController{}
)

Functions

func CodeDebug

func CodeDebug()

func Demo

func Demo(c *gin.Context)

Demo @Summary 健康检测 @Tags 基础管理 @Produce json @Description 健康检测 @Success 200 {object} response.ResponseBody @router /base/ping [get]

func Run

func Run(c *gin.Context, req interface{}, fn func() (interface{}, interface{}))

Types

type ApiController

type ApiController struct{}

func (*ApiController) Add

func (m *ApiController) Add(c *gin.Context)

Add 新建记录 @Summary 新建API接口 @Tags 接口管理 Description: 新建API接口 @Accept application/json @Produce application/json @Param data body request.ApiAddReq true "新建API" @Success 200 {object} response.ResponseBody @Router /api/add [post] @Security ApiKeyAuth

func (*ApiController) Delete

func (m *ApiController) Delete(c *gin.Context)

Delete 删除记录 @Summary 删除API接口 @Tags 接口管理 Description: 删除API接口 @Accept application/json @Produce application/json @Param data body request.ApiDeleteReq true "删除API" @Success 200 {object} response.ResponseBody @Router /api/delete [post] @Security ApiKeyAuth

func (*ApiController) GetTree

func (m *ApiController) GetTree(c *gin.Context)

GetTree 接口树 @Summary 获取API接口树 Description: 获取API接口树 @Tags 接口管理 @Accept application/json @Produce application/json @Success 200 {object} response.ResponseBody @Router /api/tree [get] @Security ApiKeyAuth

func (*ApiController) List

func (m *ApiController) List(c *gin.Context)

List 记录列表 @Summary 获取API接口列表 Description: 获取API接口列表 @Tags 接口管理 @Accept application/json @Produce application/json @Success 200 {object} response.ResponseBody @Router /api/list [get] @Security ApiKeyAuth

func (*ApiController) Update

func (m *ApiController) Update(c *gin.Context)

Update 更新记录 @Summary 更新API接口 @Tags 接口管理 Description: 更新API接口 @Accept application/json @Produce application/json @Param data body request.ApiUpdateReq true "更新API" @Success 200 {object} response.ResponseBody @Router /api/update [post] @Security ApiKeyAuth

type BaseController

type BaseController struct{}

func (*BaseController) ChangePwd

func (m *BaseController) ChangePwd(c *gin.Context)

ChangePwd 用户通过邮箱修改密码 @Summary 用户通过邮箱修改密码 @Description 使用邮箱验证码修改密码 @Tags 基础管理 @Accept application/json @Produce application/json @Param data body request.BaseChangePwdReq true "发送验证码请求数据" @Success 200 {object} response.ResponseBody @Router /base/changePwd [post]

func (*BaseController) Dashboard

func (m *BaseController) Dashboard(c *gin.Context)

Dashboard 系统首页展示数据 @Summary 获取仪表盘数据 @Description 获取系统仪表盘概览数据 @Tags 基础管理 @Accept application/json @Produce application/json @Success 200 {object} response.ResponseBody @Router /base/dashboard [get]

func (*BaseController) DecryptPasswd

func (m *BaseController) DecryptPasswd(c *gin.Context)

DecryptPasswd 密码解密为明文 @Summary 密码解密 @Description 将加密后的密码解密为明文 @Tags 基础管理 @Accept application/json @Produce application/json @Param passwd query string true "需要解密的加密密码" @Success 200 {object} response.ResponseBody @Router /base/decryptpwd [get]

func (*BaseController) EncryptPasswd

func (m *BaseController) EncryptPasswd(c *gin.Context)

EncryptPasswd 密码加密 @Summary 密码加密 @Description 将明文密码加密 @Tags 基础管理 @Accept application/json @Produce application/json @Param passwd query string true "需要加密的明文密码" @Success 200 {object} response.ResponseBody @Router /base/encryptpwd [get]

func (*BaseController) SendCode

func (m *BaseController) SendCode(c *gin.Context)

SendCode 给用户邮箱发送验证码 @Summary 发送验证码 @Description 向指定邮箱发送验证码 @Tags 基础管理 @Accept application/json @Produce application/json @Param data body request.BaseSendCodeReq true "发送验证码请求数据" @Success 200 {object} response.ResponseBody @Router /base/sendcode [post]

type DeployController

type DeployController struct{}

func (DeployController) Add

func (receiver DeployController) Add(c *gin.Context)

Add 添加发布任务 @Summary 添加发布任务 @Description 添加发布任务 @Tags 任务发布 @Accept application/json @Produce application/json @Param data body request.DeployAddReq true "添加用户记录的结构体" @Success 200 {object} response.ResponseBody @Router /deploy/add [post] @Security ApiKeyAuth

func (DeployController) Delete

func (receiver DeployController) Delete(c *gin.Context)

Delete 删除发布任务 @Summary 删除发布任务 @Description 删除发布任务 @Tags 任务发布 @Accept application/json @Produce application/json @Param data body request.DeployDeleteReq true "添加用户记录的结构体" @Success 200 {object} response.ResponseBody @Router /deploy/delete [post] @Security ApiKeyAuth

func (DeployController) DeployHisDelete

func (receiver DeployController) DeployHisDelete(c *gin.Context)

DeployHisDelete 删除发布任务 @Summary 删除发布任务 @Description 删除发布任务 @Tags 任务发布 @Accept application/json @Produce application/json @Param data body request.DeployDeleteReq true "添加用户记录的结构体" @Success 200 {object} response.ResponseBody @Router /deploy/history/delete [post] @Security ApiKeyAuth

func (DeployController) DeployHisInfo

func (receiver DeployController) DeployHisInfo(c *gin.Context)

DeployHisInfo 获取任务详情 @Summary 任务详情 @Description 获取任务详情 @Tags 任务发布 @Tags 任务发布 @Accept application/json @Produce application/json @Param ID query string false "发布历史ID" @Success 200 {object} response.ResponseBody @Router /deploy/history/info [get] @Security ApiKeyAuth

func (DeployController) DeployHisList

func (receiver DeployController) DeployHisList(c *gin.Context)

DeployHisList 获取任务发布历史 @Summary 任务发布历史 @Description 获取任务发布历史 @Tags 任务发布 @Accept application/json @Produce application/json @Param data body request.DeployInfo true "添加用户记录的结构体" @Success 200 {object} response.ResponseBody @Router /deploy/history/list [get] @Security ApiKeyAuth

func (DeployController) Info

func (receiver DeployController) Info(c *gin.Context)

Info 获取任务详情 @Summary 任务详情 @Description 获取任务详情 @Tags 任务发布 @Tags 任务发布 @Accept application/json @Produce application/json @Param ID query string false "jobID" @Success 200 {object} response.ResponseBody @Router /deploy/info [get] @Security ApiKeyAuth

func (DeployController) List

func (receiver DeployController) List(c *gin.Context)

List 获取任务列表 @Summary 任务列表 @Description 获取任务列表 @Tags 任务发布 @Accept application/json @Produce application/json @Param job_name query string false "job名字" @Success 200 {object} response.ResponseBody @Router /deploy/list [get] @Security ApiKeyAuth

func (DeployController) Run

func (receiver DeployController) Run(c *gin.Context)

Run 任务发布 @Summary 任务发布 @Description 任务发布 @Tags 任务发布 @Tags 任务发布 @Accept application/json @Produce application/json @Param ID query string false "发布历史ID" @Success 200 {object} response.ResponseBody @Router /deploy/run [get] @Security ApiKeyAuth

func (DeployController) Update

func (receiver DeployController) Update(c *gin.Context)

Update 更新发布任务 @Summary 更新发布任务 @Description 更新发布任务 @Tags 任务发布 @Accept application/json @Produce application/json @Param data body request.DeployUpdateReq true "添加用户记录的结构体" @Success 200 {object} response.ResponseBody @Router /deploy/update [post] @Security ApiKeyAuth

type FieldRelationController

type FieldRelationController struct{}

func (*FieldRelationController) Add

func (m *FieldRelationController) Add(c *gin.Context)

Add 新建记录 @Summary 新建字段关系管理记录 Description: 新建字段关系管理记录 @Tags 字段关系管理 @Accept application/json @Produce application/json @Param data body request.FieldRelationAddReq true "新建字段关系管理记录" @Success 200 {object} response.ResponseBody @Router /fieldrelation/add [post] @Security ApiKeyAuth

func (*FieldRelationController) Delete

func (m *FieldRelationController) Delete(c *gin.Context)

Delete 删除记录 @Summary 删除字段关系管理记录 Description: 删除字段关系管理记录 @Tags 字段关系管理 @Accept application/json @Produce application/json @Param data body request.FieldRelationDeleteReq true "删除字段关系管理记录" @Success 200 {object} response.ResponseBody @Router /fieldrelation/delete [post] @Security ApiKeyAuth

func (*FieldRelationController) List

func (m *FieldRelationController) List(c *gin.Context)

List 记录列表 @Summary 获字段关系管理列表 Description: 获字段关系管理列表 @Tags 字段关系管理 @Accept application/json @Produce application/json @Success 200 {object} response.ResponseBody @Router /fieldrelation/list [get] @Security ApiKeyAuth

func (*FieldRelationController) Update

func (m *FieldRelationController) Update(c *gin.Context)

Update 更新记录 @Summary 更新字段关系管理记录 Description: 更新字段关系管理记录 @Tags 字段关系管理 @Accept application/json @Produce application/json @Param data body request.FieldRelationUpdateReq true "更新字段关系管理记录" @Success 200 {object} response.ResponseBody @Router /fieldrelation/update [post] @Security ApiKeyAuth

type GroupController

type GroupController struct{}

func (*GroupController) Add

func (m *GroupController) Add(c *gin.Context)

Add 新建分组记录 @Summary 添加分组记录 @Description 添加分组记录 @Tags 分组管理 @Accept application/json @Produce application/json @Param data body request.GroupAddReq true "添加用户记录的结构体" @Success 200 {object} response.ResponseBody @Router /group/add [post] @Security ApiKeyAuth

func (*GroupController) AddUser

func (m *GroupController) AddUser(c *gin.Context)

AddUser 添加用户 @Summary 添加用户 @Description 添加用户 @Tags 分组管理 @Accept application/json @Produce application/json @Param data body request.GroupAddUserReq true "添加用户记录的结构体" @Success 200 {object} response.ResponseBody @Router /group/adduser [post] @Security ApiKeyAuth

func (*GroupController) Delete

func (m *GroupController) Delete(c *gin.Context)

Delete 删除记录 @Summary 删除分组记录 @Description 删除分组记录 @Tags 分组管理 @Accept application/json @Produce application/json @Param data body request.GroupDeleteReq true "删除用户记录的结构体" @Success 200 {object} response.ResponseBody @Router /group/delete [post] @Security ApiKeyAuth

func (*GroupController) GetTree

func (m *GroupController) GetTree(c *gin.Context)

GetTree 接口树 @Summary 获取分组接口树 @Description 获取分组接口树 @Tags 分组管理 @Accept application/json @Produce application/json @Success 200 {object} response.ResponseBody @Router /group/tree [get] @Security ApiKeyAuth

func (*GroupController) List

func (m *GroupController) List(c *gin.Context)

List 记录列表 @Summary 获取分组记录列表 @Description 获取分组记录列表 @Tags 分组管理 @Accept application/json @Produce application/json @Success 200 {object} response.ResponseBody @Router /group/list [get] @Security ApiKeyAuth

func (*GroupController) RemoveUser

func (m *GroupController) RemoveUser(c *gin.Context)

RemoveUser 移除用户 @Summary 移除用户 @Description 移除用户 @Tags 分组管理 @Accept application/json @Produce application/json @Param data body request.GroupRemoveUserReq true "移除用户记录的结构体" @Success 200 {object} response.ResponseBody @Router /group/removeuser [post] @Security ApiKeyAuth

func (*GroupController) SyncDingTalkDepts

func (m *GroupController) SyncDingTalkDepts(c *gin.Context)

SyncDingTalkDepts 同步钉钉部门信息 @Summary 同步钉钉部门信息 @Description 同步钉钉部门信息 @Tags 分组管理 @Accept application/json @Produce application/json @Success 200 {object} response.ResponseBody @Router /group/syncDingTalkDepts [post] @Security ApiKeyAuth

func (*GroupController) SyncFeiShuDepts

func (m *GroupController) SyncFeiShuDepts(c *gin.Context)

SyncFeiShuDepts 同步飞书部门信息 @Summary 同步飞书部门信息 @Description 同步飞书部门信息 @Tags 分组管理 @Accept application/json @Produce application/json @Success 200 {object} response.ResponseBody @Router /group/syncFeiShuDepts [post] @Security ApiKeyAuth

func (*GroupController) SyncOpenLdapDepts

func (m *GroupController) SyncOpenLdapDepts(c *gin.Context)

SyncOpenLdapDepts 同步原ldap部门信息 @Summary 同步原ldap部门信息 @Description 同步原ldap部门信息 @Tags 分组管理 @Accept application/json @Produce application/json @Success 200 {object} response.ResponseBody @Router /group/syncOpenLdapDepts [post] @Security ApiKeyAuth

func (*GroupController) SyncSqlGroups

func (m *GroupController) SyncSqlGroups(c *gin.Context)

SyncSqlGroups 同步Sql中的分组信息到ldap @Summary 同步Sql中的分组信息到ldap @Description 同步Sql中的分组信息到ldap @Tags 分组管理 @Accept application/json @Produce application/json @Success 200 {object} response.ResponseBody @Router /group/syncSqlGroups [post] @Security ApiKeyAuth

func (*GroupController) SyncWeComDepts

func (m *GroupController) SyncWeComDepts(c *gin.Context)

SyncWeComDepts 同步企业微信部门信息 @Summary 同步企业微信部门信息 @Description 同步企业微信部门信息 @Tags 分组管理 @Accept application/json @Produce application/json @Success 200 {object} response.ResponseBody @Router /group/syncWeComDepts [post] @Security ApiKeyAuth

func (*GroupController) Update

func (m *GroupController) Update(c *gin.Context)

Update 更新记录 @Summary 更新分组记录 @Description 更新分组记录 @Tags 分组管理 @Accept application/json @Produce application/json @Param data body request.GroupUpdateReq true "更新用户记录的结构体" @Success 200 {object} response.ResponseBody @Router /group/update [post] @Security ApiKeyAuth

func (*GroupController) UserInGroup

func (m *GroupController) UserInGroup(c *gin.Context)

UserInGroup 在分组内的用户 @Summary 获取分组内用户 @Description 获取分组内用户 @Tags 分组管理 @Accept application/json @Produce application/json @Param groupId query int true "分组ID" @Param nickname query string false "昵称" @Success 200 {object} response.ResponseBody @Router /group/useringroup [get] @Security ApiKeyAuth

func (*GroupController) UserNoInGroup

func (m *GroupController) UserNoInGroup(c *gin.Context)

UserNoInGroup 不在分组的用户 @Summary 不在分组的用户 @Description 不在分组的用户 @Tags 分组管理 @Accept application/json @Produce application/json @Param groupId query int true "分组ID" @Param nickname query string false "昵称" @Success 200 {object} response.ResponseBody @Router /group/usernoingroup [get] @Security ApiKeyAuth

type MenuController struct{}
func (m *MenuController) Add(c *gin.Context)

Add 新建 @Summary 新建菜单 @Tags 菜单管理 @Accept application/json @Produce application/json @Param data body request.MenuAddReq true "新建菜单" @Success 200 {object} response.ResponseBody @Router /menu/add [post] @Security ApiKeyAuth

func (m *MenuController) Delete(c *gin.Context)

Delete 删除记录 @Summary 删除菜单 @Tags 菜单管理 @Accept application/json @Produce application/json @Param data body request.MenuDeleteReq true "删除菜单" @Success 200 {object} response.ResponseBody @Router /menu/delete [post] @Security ApiKeyAuth

func (m *MenuController) GetAccessTree(c *gin.Context)

GetAccessTree GetUserMenuTreeByUserId 获取用户菜单树 @Summary 获取用户菜单树 @Tags 菜单管理 @Accept application/json @Produce application/json @Param id query int true "分组ID" @Success 200 {object} response.ResponseBody @Router /menu/access/tree [get] @Security ApiKeyAuth

func (m *MenuController) GetTree(c *gin.Context)

GetTree 菜单树 @Summary 获取菜单树 @Tags 菜单管理 @Accept application/json @Produce application/json @Success 200 {object} response.ResponseBody @Router /menu/tree [get] @Security ApiKeyAuth

func (m *MenuController) Update(c *gin.Context)

Update 更新记录 @Summary 更新菜单 @Tags 菜单管理 @Accept application/json @Produce application/json @Param data body request.MenuUpdateReq true "更新菜单" @Success 200 {object} response.ResponseBody @Router /menu/update [post] @Security ApiKeyAuth

type OperationLogController

type OperationLogController struct{}

func (*OperationLogController) Clean

func (m *OperationLogController) Clean(c *gin.Context)

Clean 清空记录 @Summary 清空操作日志记录 Description: 清空操作日志记录 @Tags 操作日志管理 @Accept application/json @Produce application/json @Success 200 {object} response.ResponseBody @Router /log/operation/clean [delete] @Security ApiKeyAuth

func (*OperationLogController) Delete

func (m *OperationLogController) Delete(c *gin.Context)

Delete 删除记录 @Summary 删除操作日志记录 Description: 删除操作日志记录 @Tags 操作日志管理 @Accept application/json @Produce application/json @Param data body request.OperationLogDeleteReq true "删除日志的ID" @Success 200 {object} response.ResponseBody @Router /log/operation/delete [post] @Security ApiKeyAuth

func (*OperationLogController) List

func (m *OperationLogController) List(c *gin.Context)

List 记录列表 @Summary 获取操作日志记录列表 Description: 获取操作日志记录列表 @Tags 操作日志管理 @Accept application/json @Produce application/json @Param username query string false "用户名" @Param ip query string false "IP地址" @Param path query string false "路径" @Param method query string false "方法" @Param status query int false "状态码" @Param pageNum query int false "页码" @Param pageSize query int false "每页数量" @Success 200 {object} response.ResponseBody @Router /log/operation/list [get] @Security ApiKeyAuth

type RoleController

type RoleController struct{}

func (*RoleController) Add

func (m *RoleController) Add(c *gin.Context)

Add 新建 @Summary 新建角色记录 @Description 新建角色记录 @Tags 角色管理 @Accept application/json @Produce application/json @Param data body request.RoleAddReq true "添加角色记录的结构体" @Success 200 {object} response.ResponseBody @Router /role/add [post] @Security ApiKeyAuth

func (*RoleController) Delete

func (m *RoleController) Delete(c *gin.Context)

Delete 删除记录 @Summary 删除角色记录 @Description 删除角色记录 @Tags 角色管理 @Accept application/json @Produce application/json @Param data body request.RoleDeleteReq true "删除角色记录的结构体" @Success 200 {object} response.ResponseBody @Router /role/delete [post] @Security ApiKeyAuth

func (*RoleController) GetApiList

func (m *RoleController) GetApiList(c *gin.Context)

GetApiList 获取接口列表 @Summary 获取接口列表 @Description 获取接口列表 @Tags 角色管理 @Accept application/json @Produce application/json @Param roleId query int true "角色ID" @Success 200 {object} response.ResponseBody @Router /role/getapilist [get] @Security ApiKeyAuth

func (*RoleController) GetMenuList

func (m *RoleController) GetMenuList(c *gin.Context)

GetMenuList 获取菜单列表 @Summary 获取菜单列表 @Description 获取菜单列表 @Tags 角色管理 @Accept application/json @Produce application/json @Param roleId query int true "角色ID" @Success 200 {object} response.ResponseBody @Router /role/getmenulist [get] @Security ApiKeyAuth

func (*RoleController) List

func (m *RoleController) List(c *gin.Context)

List 角色记录列表 @Summary 获取角色记录列表 @Description 获取角色记录列表 @Tags 角色管理 @Accept application/json @Produce application/json @Success 200 {object} response.ResponseBody @Router /role/list [get] @Security ApiKeyAuth

func (*RoleController) Update

func (m *RoleController) Update(c *gin.Context)

Update 更新记录 @Summary 更新角色记录 @Description 更新角色记录 @Tags 角色管理 @Accept application/json @Produce application/json @Param data body request.RoleUpdateReq true "更新角色记录的结构体" @Success 200 {object} response.ResponseBody @Router /role/update [post] @Security ApiKeyAuth

func (*RoleController) UpdateApis

func (m *RoleController) UpdateApis(c *gin.Context)

UpdateApis 更新接口 @Summary 更新接口 @Description 更新接口 @Tags 角色管理 @Accept application/json @Produce application/json @Param data body request.RoleUpdateApisReq true "更新接口的结构体" @Success 200 {object} response.ResponseBody @Router /role/updateapis [post] @Security ApiKeyAuth

func (*RoleController) UpdateMenus

func (m *RoleController) UpdateMenus(c *gin.Context)

UpdateMenus 更新菜单 @Summary 更新菜单 @Description 更新菜单 @Tags 角色管理 @Accept application/json @Produce application/json @Param data body request.RoleUpdateMenusReq true "更新菜单的结构体" @Success 200 {object} response.ResponseBody @Router /role/updatemenus [post] @Security ApiKeyAuth

type UserController

type UserController struct{}

func (*UserController) Add

func (m *UserController) Add(c *gin.Context)

Add 添加用户记录 @Summary 添加用户记录 @Description 添加用户记录 @Tags 用户管理 @Accept application/json @Produce application/json @Param data body request.UserAddReq true "添加用户记录的结构体" @Success 200 {object} response.ResponseBody @Router /user/add [post] @Security ApiKeyAuth

func (UserController) ChangePwd

func (m UserController) ChangePwd(c *gin.Context)

ChangePwd 更新密码 @Summary 更新密码 @Description 更新密码 @Tags 用户管理 @Accept application/json @Produce application/json @Param data body request.UserChangePwdReq true "更改用户密码的结构体" @Success 200 {object} response.ResponseBody @Router /user/changePwd [post] @Security ApiKeyAuth

func (UserController) ChangeUserStatus

func (m UserController) ChangeUserStatus(c *gin.Context)

ChangeUserStatus 更改用户状态 @Summary 更改用户状态 @Description 更改用户状态 @Tags 用户管理 @Accept application/json @Produce application/json @Param data body request.UserChangeUserStatusReq true "更改用户状态的结构体" @Success 200 {object} response.ResponseBody @Router /user/changeUserStatus [post] @Security ApiKeyAuth

func (UserController) Delete

func (m UserController) Delete(c *gin.Context)

Delete 删除用户记录 @Summary 删除用户记录 @Description 删除用户记录 @Tags 用户管理 @Accept application/json @Produce application/json @Param data body request.UserDeleteReq true "删除用户记录的结构体ID" @Success 200 {object} response.ResponseBody @Router /user/delete [post] @Security ApiKeyAuth

func (UserController) GetUserInfo

func (uc UserController) GetUserInfo(c *gin.Context)

GetUserInfo 获取当前登录用户信息 @Summary 获取当前登录用户信息 @Description 获取当前登录用户信息 @Tags 用户管理 @Accept application/json @Produce application/json @Success 200 {object} response.ResponseBody @Router /user/info [get] @Security ApiKeyAuth

func (*UserController) List

func (m *UserController) List(c *gin.Context)

List 记录列表 @Summary 获取所有用户记录列表 @Description 获取所有用户记录列表 @Tags 用户管理 @Accept application/json @Produce application/json @Success 200 {object} response.ResponseBody @Router /user/list [get] @Security ApiKeyAuth

func (UserController) SyncDingTalkUsers

func (uc UserController) SyncDingTalkUsers(c *gin.Context)

SyncDingTalkUsers 同步钉钉用户信息 @Summary 同步钉钉用户信息 @Description 同步钉钉用户信息 @Tags 用户管理 @Accept application/json @Produce application/json @Param data body request.SyncDingUserReq true "同步钉钉用户信息" @Success 200 {object} response.ResponseBody @Router /user/syncDingTalkUsers [post] @Security ApiKeyAuth

func (UserController) SyncFeiShuUsers

func (uc UserController) SyncFeiShuUsers(c *gin.Context)

SyncFeiShuUsers 同步飞书用户信息 @Summary 同步飞书用户信息 @Description 同步飞书用户信息 @Tags 用户管理 @Accept application/json @Produce application/json @Param data body request.SyncFeiShuUserReq true "同步飞书用户信息" @Success 200 {object} response.ResponseBody @Router /user/syncFeiShuUsers [post] @Security ApiKeyAuth

func (UserController) SyncOpenLdapUsers

func (uc UserController) SyncOpenLdapUsers(c *gin.Context)

SyncOpenLdapUsers 同步ldap用户信息 @Summary 同步ldap用户信息 @Description 同步ldap用户信息 @Tags 用户管理 @Accept application/json @Produce application/json @Param data body request.SyncOpenLdapUserReq true "同步ldap用户信息" @Success 200 {object} response.ResponseBody @Router /user/syncOpenLdapUsers [post] @Security ApiKeyAuth

func (UserController) SyncSqlUsers

func (uc UserController) SyncSqlUsers(c *gin.Context)

SyncSqlUsers 同步sql用户信息到ldap @Summary 同步sql用户信息到ldap @Description 同步sql用户信息到ldap @Tags 用户管理 @Accept application/json @Produce application/json @Param data body request.SyncSqlUserReq true "更改用户状态的结构体" @Success 200 {object} response.ResponseBody @Router /user/syncSqlUsers [post] @Security ApiKeyAuth

func (UserController) SyncWeComUsers

func (uc UserController) SyncWeComUsers(c *gin.Context)

SyncWeComUsers 同步企业微信用户信息 @Summary 同步企业微信用户信息 @Description 同步企业微信用户信息 @Tags 用户管理 @Accept application/json @Produce application/json @Param data body request.SyncWeComUserReq true "同步企业微信用户信息" @Success 200 {object} response.ResponseBody @Router /user/syncWeComUsers [post] @Security ApiKeyAuth

func (*UserController) Update

func (m *UserController) Update(c *gin.Context)

Update 更新用户记录 @Summary 更新用户记录 @Description 添加用户记录 @Tags 用户管理 @Accept application/json @Produce application/json @Param data body request.UserUpdateReq true "更改用户记录的结构体" @Success 200 {object} response.ResponseBody @Router /user/update [post] @Security ApiKeyAuth

Jump to

Keyboard shortcuts

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