Documentation ¶
Index ¶
- type UserServiceServer
- func (s *UserServiceServer) AddUser(ctx context.Context, in *sysclient.AddUserReq) (*sysclient.AddUserResp, error)
- func (s *UserServiceServer) DeleteUser(ctx context.Context, in *sysclient.DeleteUserReq) (*sysclient.DeleteUserResp, error)
- func (s *UserServiceServer) Login(ctx context.Context, in *sysclient.LoginReq) (*sysclient.LoginResp, error)
- func (s *UserServiceServer) QueryDeptAndPostList(ctx context.Context, in *sysclient.QueryDeptAndPostListReq) (*sysclient.QueryDeptAndPostListResp, error)
- func (s *UserServiceServer) QueryUserDetail(ctx context.Context, in *sysclient.QueryUserDetailReq) (*sysclient.QueryUserDetailResp, error)
- func (s *UserServiceServer) QueryUserList(ctx context.Context, in *sysclient.QueryUserListReq) (*sysclient.QueryUserListResp, error)
- func (s *UserServiceServer) QueryUserRoleList(ctx context.Context, in *sysclient.QueryUserRoleListReq) (*sysclient.QueryUserRoleListResp, error)
- func (s *UserServiceServer) ReSetPassword(ctx context.Context, in *sysclient.ReSetPasswordReq) (*sysclient.ReSetPasswordResp, error)
- func (s *UserServiceServer) UpdateUser(ctx context.Context, in *sysclient.UpdateUserReq) (*sysclient.UpdateUserResp, error)
- func (s *UserServiceServer) UpdateUserRoleList(ctx context.Context, in *sysclient.UpdateUserRoleListReq) (*sysclient.UpdateUserRoleListResp, error)
- func (s *UserServiceServer) UpdateUserStatus(ctx context.Context, in *sysclient.UpdateUserStatusReq) (*sysclient.UpdateUserStatusResp, error)
- func (s *UserServiceServer) UserInfo(ctx context.Context, in *sysclient.InfoReq) (*sysclient.InfoResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserServiceServer ¶
type UserServiceServer struct { sysclient.UnimplementedUserServiceServer // contains filtered or unexported fields }
func NewUserServiceServer ¶
func NewUserServiceServer(svcCtx *svc.ServiceContext) *UserServiceServer
func (*UserServiceServer) AddUser ¶ added in v0.0.2
func (s *UserServiceServer) AddUser(ctx context.Context, in *sysclient.AddUserReq) (*sysclient.AddUserResp, error)
添加用户信息表
func (*UserServiceServer) DeleteUser ¶ added in v0.0.2
func (s *UserServiceServer) DeleteUser(ctx context.Context, in *sysclient.DeleteUserReq) (*sysclient.DeleteUserResp, error)
删除用户信息表
func (*UserServiceServer) Login ¶
func (s *UserServiceServer) Login(ctx context.Context, in *sysclient.LoginReq) (*sysclient.LoginResp, error)
用户登录
func (*UserServiceServer) QueryDeptAndPostList ¶ added in v0.0.2
func (s *UserServiceServer) QueryDeptAndPostList(ctx context.Context, in *sysclient.QueryDeptAndPostListReq) (*sysclient.QueryDeptAndPostListResp, error)
查询所有部门和岗位
func (*UserServiceServer) QueryUserDetail ¶ added in v0.0.2
func (s *UserServiceServer) QueryUserDetail(ctx context.Context, in *sysclient.QueryUserDetailReq) (*sysclient.QueryUserDetailResp, error)
查询用户信息表详情
func (*UserServiceServer) QueryUserList ¶ added in v0.0.2
func (s *UserServiceServer) QueryUserList(ctx context.Context, in *sysclient.QueryUserListReq) (*sysclient.QueryUserListResp, error)
查询用户信息表列表
func (*UserServiceServer) QueryUserRoleList ¶ added in v0.0.2
func (s *UserServiceServer) QueryUserRoleList(ctx context.Context, in *sysclient.QueryUserRoleListReq) (*sysclient.QueryUserRoleListResp, error)
查询用户与角色的关联
func (*UserServiceServer) ReSetPassword ¶
func (s *UserServiceServer) ReSetPassword(ctx context.Context, in *sysclient.ReSetPasswordReq) (*sysclient.ReSetPasswordResp, error)
重置用户密码
func (*UserServiceServer) UpdateUser ¶ added in v0.0.2
func (s *UserServiceServer) UpdateUser(ctx context.Context, in *sysclient.UpdateUserReq) (*sysclient.UpdateUserResp, error)
更新用户信息表
func (*UserServiceServer) UpdateUserRoleList ¶ added in v0.0.2
func (s *UserServiceServer) UpdateUserRoleList(ctx context.Context, in *sysclient.UpdateUserRoleListReq) (*sysclient.UpdateUserRoleListResp, error)
更新用户与角色的关联
func (*UserServiceServer) UpdateUserStatus ¶
func (s *UserServiceServer) UpdateUserStatus(ctx context.Context, in *sysclient.UpdateUserStatusReq) (*sysclient.UpdateUserStatusResp, error)
更新用户信息表状态
Click to show internal directories.
Click to hide internal directories.