Documentation ¶
Index ¶
- func RpcProjectToApiProject(project *model.ProjectField) (*cpluspb.CPlusProjectField, error)
- func RpcUserToApiUser(user *model.UserFields) (*cpluspb.CPlusUserFields, error)
- type AddVolcUserLogic
- type AddWeworkUserLogic
- type AddWeworkUserRollbackLogic
- type AssignCPlusUserProjectRoleLogic
- type BatchAddWeworkUserLogic
- type BatchAssignCPlusUserProjectRoleLogic
- type CacheAllWeworkUserLogic
- type DelVolcUserLogic
- type DelWeworkUserLogic
- type DisableWeworkUserLogic
- type GetCPlusProjectLogic
- type GetCPlusUserLogic
- type GetVolcUserLogic
- type GetWeworkUserLogic
- type MediaGetLogic
- type RenewalWeworkUserLogic
- type UnlockCPlusUserLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RpcProjectToApiProject ¶
func RpcProjectToApiProject(project *model.ProjectField) (*cpluspb.CPlusProjectField, error)
RpcProjectToApiProject rpc Project 转 api Project
func RpcUserToApiUser ¶
func RpcUserToApiUser(user *model.UserFields) (*cpluspb.CPlusUserFields, error)
RpcUserToApiUser rpc user 转 api user
Types ¶
type AddVolcUserLogic ¶
func NewAddVolcUserLogic ¶
func NewAddVolcUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddVolcUserLogic
func (*AddVolcUserLogic) AddVolcUser ¶
func (l *AddVolcUserLogic) AddVolcUser(in *cpluspb.AddVolcUserReq) (*cpluspb.AddVolcUserResp, error)
AddVolcUser 新增端侧用户
type AddWeworkUserLogic ¶
func NewAddWeworkUserLogic ¶
func NewAddWeworkUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddWeworkUserLogic
func (*AddWeworkUserLogic) AddWeworkUser ¶
func (l *AddWeworkUserLogic) AddWeworkUser(in *cpluspb.AddWeworkUserReq) (*cpluspb.AddWeworkUserResp, error)
AddWeworkUser 企微用户新增
type AddWeworkUserRollbackLogic ¶
func NewAddWeworkUserRollbackLogic ¶
func NewAddWeworkUserRollbackLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddWeworkUserRollbackLogic
func (*AddWeworkUserRollbackLogic) AddWeworkUserRollback ¶
func (l *AddWeworkUserRollbackLogic) AddWeworkUserRollback(in *cpluspb.AddWeworkUserReq) (*cpluspb.AddWeworkUserResp, error)
AddWeworkUserRollback 企微用户新增回退
type AssignCPlusUserProjectRoleLogic ¶
type AssignCPlusUserProjectRoleLogic struct { logx.Logger // contains filtered or unexported fields }
func NewAssignCPlusUserProjectRoleLogic ¶
func NewAssignCPlusUserProjectRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AssignCPlusUserProjectRoleLogic
func (*AssignCPlusUserProjectRoleLogic) AssignCPlusUserProjectRole ¶
func (l *AssignCPlusUserProjectRoleLogic) AssignCPlusUserProjectRole(in *cpluspb.AssignCPlusUserProjectRoleReq) (*cpluspb.AssignCPlusUserProjectRoleResp, error)
AssignCPlusUserProjectRole 用户分配项目角色
type BatchAddWeworkUserLogic ¶
func NewBatchAddWeworkUserLogic ¶
func NewBatchAddWeworkUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchAddWeworkUserLogic
func (*BatchAddWeworkUserLogic) BatchAddWeworkUser ¶
func (l *BatchAddWeworkUserLogic) BatchAddWeworkUser(in *cpluspb.BatchAddWeworkUserReq) (*cpluspb.BatchAddWeworkUserResp, error)
BatchAddWeworkUser 企微用户批量新增
type BatchAssignCPlusUserProjectRoleLogic ¶
type BatchAssignCPlusUserProjectRoleLogic struct { logx.Logger // contains filtered or unexported fields }
func NewBatchAssignCPlusUserProjectRoleLogic ¶
func NewBatchAssignCPlusUserProjectRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchAssignCPlusUserProjectRoleLogic
func (*BatchAssignCPlusUserProjectRoleLogic) BatchAssignCPlusUserProjectRole ¶
func (l *BatchAssignCPlusUserProjectRoleLogic) BatchAssignCPlusUserProjectRole(in *cpluspb.BatchAssignCPlusUserProjectRoleReq) (*cpluspb.BatchAssignCPlusUserProjectRoleResp, error)
BatchAssignCPlusUserProjectRole 用户分配项目角色
type CacheAllWeworkUserLogic ¶
func NewCacheAllWeworkUserLogic ¶
func NewCacheAllWeworkUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CacheAllWeworkUserLogic
func (*CacheAllWeworkUserLogic) CacheAllWeworkUser ¶
func (l *CacheAllWeworkUserLogic) CacheAllWeworkUser(in *cpluspb.Empty) (*cpluspb.CacheAllWeworkUserResp, error)
CacheAllWeworkUser 更新全部企微用户缓存
type DelVolcUserLogic ¶
func NewDelVolcUserLogic ¶
func NewDelVolcUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DelVolcUserLogic
func (*DelVolcUserLogic) DelVolcUser ¶
func (l *DelVolcUserLogic) DelVolcUser(in *cpluspb.DelVolcUserReq) (*cpluspb.DelVolcUserResp, error)
DelVolcUser 删除端侧用户
type DelWeworkUserLogic ¶
func NewDelWeworkUserLogic ¶
func NewDelWeworkUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DelWeworkUserLogic
func (*DelWeworkUserLogic) DelWeworkUser ¶
func (l *DelWeworkUserLogic) DelWeworkUser(in *cpluspb.DelWeworkUserReq) (*cpluspb.DelWeworkUserResp, error)
DelWeworkUser 企微用户删除
type DisableWeworkUserLogic ¶
func NewDisableWeworkUserLogic ¶
func NewDisableWeworkUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DisableWeworkUserLogic
func (*DisableWeworkUserLogic) DisableWeworkUser ¶
func (l *DisableWeworkUserLogic) DisableWeworkUser(in *cpluspb.DisableWeworkUserReq) (*cpluspb.DisableWeworkUserResp, error)
DisableWeworkUser 禁用企业微信用户
type GetCPlusProjectLogic ¶
func NewGetCPlusProjectLogic ¶
func NewGetCPlusProjectLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCPlusProjectLogic
func (*GetCPlusProjectLogic) GetCPlusProject ¶
func (l *GetCPlusProjectLogic) GetCPlusProject(in *cpluspb.GetCPlusProjectReq) (*cpluspb.GetCPlusProjectResp, error)
GetCPlusProject 项目单个获取
type GetCPlusUserLogic ¶
func NewGetCPlusUserLogic ¶
func NewGetCPlusUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCPlusUserLogic
func (*GetCPlusUserLogic) GetCPlusUser ¶
func (l *GetCPlusUserLogic) GetCPlusUser(in *cpluspb.GetCPlusUserReq) (*cpluspb.GetCPlusUserResp, error)
GetCPlusUser 用户单个获取
type GetVolcUserLogic ¶
func NewGetVolcUserLogic ¶
func NewGetVolcUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetVolcUserLogic
func (*GetVolcUserLogic) GetVolcUser ¶
func (l *GetVolcUserLogic) GetVolcUser(in *cpluspb.GetVolcUserReq) (*cpluspb.GetVolcUserResp, error)
GetVolcUser 查询端侧用户
type GetWeworkUserLogic ¶
func NewGetWeworkUserLogic ¶
func NewGetWeworkUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetWeworkUserLogic
func (*GetWeworkUserLogic) GetWeworkUser ¶
func (l *GetWeworkUserLogic) GetWeworkUser(in *cpluspb.GetWeworkUserReq) (*cpluspb.GetWeworkUserResp, error)
GetWeworkUser 企业微信用户单个获取
type MediaGetLogic ¶
func NewMediaGetLogic ¶
func NewMediaGetLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MediaGetLogic
func (*MediaGetLogic) MediaGet ¶
func (l *MediaGetLogic) MediaGet(in *cpluspb.MediaGetReq) (*cpluspb.MediaGetResp, error)
MediaGet 获取文件内容
type RenewalWeworkUserLogic ¶
func NewRenewalWeworkUserLogic ¶
func NewRenewalWeworkUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RenewalWeworkUserLogic
func (*RenewalWeworkUserLogic) RenewalWeworkUser ¶
func (l *RenewalWeworkUserLogic) RenewalWeworkUser(in *cpluspb.RenewalWeworkUserReq) (*cpluspb.RenewalWeworkUserResp, error)
RenewalWeworkUser 续期企微用户
type UnlockCPlusUserLogic ¶
func NewUnlockCPlusUserLogic ¶
func NewUnlockCPlusUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UnlockCPlusUserLogic
func (*UnlockCPlusUserLogic) UnlockCPlusUser ¶
func (l *UnlockCPlusUserLogic) UnlockCPlusUser(in *cpluspb.UnlockCPlusUserReq) (*cpluspb.UnlockCPlusUserResp, error)
UnlockCPlusUser 解锁用户
Source Files ¶
- addVolcUserLogic.go
- addWeworkUserLogic.go
- addWeworkUserRollbackLogic.go
- assignCPlusUserProjectRoleLogic.go
- batchAddWeworkUserLogic.go
- batchAssignCPlusUserProjectRoleLogic.go
- cacheAllWeworkUserLogic.go
- delVolcUserLogic.go
- delWeworkUserLogic.go
- disableWeworkUserLogic.go
- getCPlusProjectLogic.go
- getCPlusUserLogic.go
- getVolcUserLogic.go
- getWeworkUserLogic.go
- mediaGetLogic.go
- renewalWeworkUserLogic.go
- unlockCPlusUserLogic.go
Click to show internal directories.
Click to hide internal directories.