|
@@ -1,7 +1,7 @@
|
|
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
|
// versions:
|
|
|
-// - protoc-gen-go-grpc v1.2.0
|
|
|
-// - protoc v3.20.0--rc2
|
|
|
+// - protoc-gen-go-grpc v1.3.0
|
|
|
+// - protoc v3.15.1
|
|
|
// source: userCenter.proto
|
|
|
|
|
|
package pb
|
|
@@ -18,59 +18,87 @@ import (
|
|
|
// Requires gRPC-Go v1.32.0 or later.
|
|
|
const _ = grpc.SupportPackageIsVersion7
|
|
|
|
|
|
+const (
|
|
|
+ UserCenter_EntAuth_FullMethodName = "/UserCenter/EntAuth"
|
|
|
+ UserCenter_EntExamine_FullMethodName = "/UserCenter/EntExamine"
|
|
|
+ UserCenter_EntList_FullMethodName = "/UserCenter/EntList"
|
|
|
+ UserCenter_ExamineList_FullMethodName = "/UserCenter/ExamineList"
|
|
|
+ UserCenter_CheckEnt_FullMethodName = "/UserCenter/CheckEnt"
|
|
|
+ UserCenter_EntInfo_FullMethodName = "/UserCenter/EntInfo"
|
|
|
+ UserCenter_EntUpdate_FullMethodName = "/UserCenter/EntUpdate"
|
|
|
+ UserCenter_ExamineInfo_FullMethodName = "/UserCenter/ExamineInfo"
|
|
|
+ UserCenter_GetStatusByCode_FullMethodName = "/UserCenter/GetStatusByCode"
|
|
|
+ UserCenter_UserAdd_FullMethodName = "/UserCenter/UserAdd"
|
|
|
+ UserCenter_UserUpdate_FullMethodName = "/UserCenter/UserUpdate"
|
|
|
+ UserCenter_UserDel_FullMethodName = "/UserCenter/UserDel"
|
|
|
+ UserCenter_WorkDesktopMenuInfo_FullMethodName = "/UserCenter/WorkDesktopMenuInfo"
|
|
|
+ UserCenter_WorkDesktopComprehensive_FullMethodName = "/UserCenter/WorkDesktopComprehensive"
|
|
|
+ UserCenter_WorkDesktopClearUserInfo_FullMethodName = "/UserCenter/WorkDesktopClearUserInfo"
|
|
|
+ UserCenter_GetUserInfo_FullMethodName = "/UserCenter/GetUserInfo"
|
|
|
+ UserCenter_GetEntUserInfo_FullMethodName = "/UserCenter/GetEntUserInfo"
|
|
|
+ UserCenter_GetEntUserList_FullMethodName = "/UserCenter/GetEntUserList"
|
|
|
+ UserCenter_CheckIsEntAdmin_FullMethodName = "/UserCenter/CheckIsEntAdmin"
|
|
|
+ UserCenter_IdentityList_FullMethodName = "/UserCenter/IdentityList"
|
|
|
+ UserCenter_IdentityByUserId_FullMethodName = "/UserCenter/IdentityByUserId"
|
|
|
+ UserCenter_IdentityByPositionId_FullMethodName = "/UserCenter/IdentityByPositionId"
|
|
|
+ UserCenter_IdentityByEntUserId_FullMethodName = "/UserCenter/IdentityByEntUserId"
|
|
|
+ UserCenter_IdentityByEntId_FullMethodName = "/UserCenter/IdentityByEntId"
|
|
|
+ UserCenter_UserIdentity_FullMethodName = "/UserCenter/UserIdentity"
|
|
|
+)
|
|
|
+
|
|
|
// UserCenterClient is the client API for UserCenter service.
|
|
|
//
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
|
|
type UserCenterClient interface {
|
|
|
- //企业认证
|
|
|
+ // 企业认证
|
|
|
EntAuth(ctx context.Context, in *EntAuthReq, opts ...grpc.CallOption) (*EntAuthResp, error)
|
|
|
- //机构审核
|
|
|
+ // 机构审核
|
|
|
EntExamine(ctx context.Context, in *ExamineReq, opts ...grpc.CallOption) (*ExamineResp, error)
|
|
|
- //企业列表
|
|
|
+ // 企业列表
|
|
|
EntList(ctx context.Context, in *EntListReq, opts ...grpc.CallOption) (*EntListResp, error)
|
|
|
- //审核列表
|
|
|
+ // 审核列表
|
|
|
ExamineList(ctx context.Context, in *ExamineListReq, opts ...grpc.CallOption) (*ExamineListResp, error)
|
|
|
- //查看企业状态
|
|
|
+ // 查看企业状态
|
|
|
CheckEnt(ctx context.Context, in *CheckEntReq, opts ...grpc.CallOption) (*CheckEntResp, error)
|
|
|
- //查看企业详情
|
|
|
+ // 查看企业详情
|
|
|
EntInfo(ctx context.Context, in *CheckEntReq, opts ...grpc.CallOption) (*EntInfoResp, error)
|
|
|
- //冻结/解冻企业
|
|
|
+ // 冻结/解冻企业
|
|
|
EntUpdate(ctx context.Context, in *EntUpdateReq, opts ...grpc.CallOption) (*ExamineResp, error)
|
|
|
- //查看审核详情
|
|
|
+ // 查看审核详情
|
|
|
ExamineInfo(ctx context.Context, in *CheckExamineReq, opts ...grpc.CallOption) (*EntInfoResp, error)
|
|
|
- //根据统一社会信用代码查询企业状态
|
|
|
+ // 根据统一社会信用代码查询企业状态
|
|
|
GetStatusByCode(ctx context.Context, in *GetStatusByCodeReq, opts ...grpc.CallOption) (*GetStatusByCodeResp, error)
|
|
|
- //新增用户
|
|
|
+ // 新增用户
|
|
|
UserAdd(ctx context.Context, in *UserAddReq, opts ...grpc.CallOption) (*UserAddResp, error)
|
|
|
- //更新用户
|
|
|
+ // 更新用户
|
|
|
UserUpdate(ctx context.Context, in *UserIdReq, opts ...grpc.CallOption) (*ExamineResp, error)
|
|
|
- //删除用户
|
|
|
+ // 删除用户
|
|
|
UserDel(ctx context.Context, in *UserIdReq, opts ...grpc.CallOption) (*ExamineResp, error)
|
|
|
- //获取菜单树
|
|
|
+ // 获取菜单树
|
|
|
WorkDesktopMenuInfo(ctx context.Context, in *WorkDesktopMenuInfoReq, opts ...grpc.CallOption) (*WorkDesktopMenuInfoResp, error)
|
|
|
- //菜单选择模式||常用功能更新||常用功能列表
|
|
|
+ // 菜单选择模式||常用功能更新||常用功能列表
|
|
|
WorkDesktopComprehensive(ctx context.Context, in *WorkDesktopComprehensiveReq, opts ...grpc.CallOption) (*WorkDesktopComprehensiveResp, error)
|
|
|
- //手动清除用户功能内存信息
|
|
|
+ // 手动清除用户功能内存信息
|
|
|
WorkDesktopClearUserInfo(ctx context.Context, in *WorkDesktopClearUserInfoReq, opts ...grpc.CallOption) (*WorkDesktopClearUserInfoResp, error)
|
|
|
- //获取客户信息
|
|
|
+ // 获取客户信息
|
|
|
GetUserInfo(ctx context.Context, in *UserReq, opts ...grpc.CallOption) (*UserInfo, error)
|
|
|
- //根据企业员工id获取员工的信息
|
|
|
+ // 根据企业员工id获取员工的信息
|
|
|
GetEntUserInfo(ctx context.Context, in *EntUserReq, opts ...grpc.CallOption) (*EntUserResp, error)
|
|
|
- //获取企业员工列表
|
|
|
+ // 获取企业员工列表
|
|
|
GetEntUserList(ctx context.Context, in *EntUserListReq, opts ...grpc.CallOption) (*EntUserListResp, error)
|
|
|
- //查看员工是否是企业管理员
|
|
|
+ // 查看员工是否是企业管理员
|
|
|
CheckIsEntAdmin(ctx context.Context, in *EntUserReq, opts ...grpc.CallOption) (*CheckIsEntAdminResp, error)
|
|
|
- //获取用户可切换的身份列表
|
|
|
+ // 获取用户可切换的身份列表
|
|
|
IdentityList(ctx context.Context, in *IdentityReq, opts ...grpc.CallOption) (*IdentityResp, error)
|
|
|
- //获取账号id获取个人身份信息
|
|
|
+ // 获取账号id获取个人身份信息
|
|
|
IdentityByUserId(ctx context.Context, in *IdentityReq, opts ...grpc.CallOption) (*Identity, error)
|
|
|
- //根据职位id获取身份信息
|
|
|
+ // 根据职位id获取身份信息
|
|
|
IdentityByPositionId(ctx context.Context, in *IdentityReq, opts ...grpc.CallOption) (*Identity, error)
|
|
|
- //根据企业员工id获取身份信息
|
|
|
+ // 根据企业员工id获取身份信息
|
|
|
IdentityByEntUserId(ctx context.Context, in *IdentityReq, opts ...grpc.CallOption) (*Identity, error)
|
|
|
- //根据企业id获取身份信息
|
|
|
+ // 根据企业id获取身份信息
|
|
|
IdentityByEntId(ctx context.Context, in *IdentityReq, opts ...grpc.CallOption) (*Identity, error)
|
|
|
- //获取用户身份相关参数
|
|
|
+ // 获取用户身份相关参数
|
|
|
UserIdentity(ctx context.Context, in *UserIdentityReq, opts ...grpc.CallOption) (*UserIdentityResp, error)
|
|
|
}
|
|
|
|
|
@@ -84,7 +112,7 @@ func NewUserCenterClient(cc grpc.ClientConnInterface) UserCenterClient {
|
|
|
|
|
|
func (c *userCenterClient) EntAuth(ctx context.Context, in *EntAuthReq, opts ...grpc.CallOption) (*EntAuthResp, error) {
|
|
|
out := new(EntAuthResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/EntAuth", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_EntAuth_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -93,7 +121,7 @@ func (c *userCenterClient) EntAuth(ctx context.Context, in *EntAuthReq, opts ...
|
|
|
|
|
|
func (c *userCenterClient) EntExamine(ctx context.Context, in *ExamineReq, opts ...grpc.CallOption) (*ExamineResp, error) {
|
|
|
out := new(ExamineResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/EntExamine", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_EntExamine_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -102,7 +130,7 @@ func (c *userCenterClient) EntExamine(ctx context.Context, in *ExamineReq, opts
|
|
|
|
|
|
func (c *userCenterClient) EntList(ctx context.Context, in *EntListReq, opts ...grpc.CallOption) (*EntListResp, error) {
|
|
|
out := new(EntListResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/EntList", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_EntList_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -111,7 +139,7 @@ func (c *userCenterClient) EntList(ctx context.Context, in *EntListReq, opts ...
|
|
|
|
|
|
func (c *userCenterClient) ExamineList(ctx context.Context, in *ExamineListReq, opts ...grpc.CallOption) (*ExamineListResp, error) {
|
|
|
out := new(ExamineListResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/ExamineList", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_ExamineList_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -120,7 +148,7 @@ func (c *userCenterClient) ExamineList(ctx context.Context, in *ExamineListReq,
|
|
|
|
|
|
func (c *userCenterClient) CheckEnt(ctx context.Context, in *CheckEntReq, opts ...grpc.CallOption) (*CheckEntResp, error) {
|
|
|
out := new(CheckEntResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/CheckEnt", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_CheckEnt_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -129,7 +157,7 @@ func (c *userCenterClient) CheckEnt(ctx context.Context, in *CheckEntReq, opts .
|
|
|
|
|
|
func (c *userCenterClient) EntInfo(ctx context.Context, in *CheckEntReq, opts ...grpc.CallOption) (*EntInfoResp, error) {
|
|
|
out := new(EntInfoResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/EntInfo", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_EntInfo_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -138,7 +166,7 @@ func (c *userCenterClient) EntInfo(ctx context.Context, in *CheckEntReq, opts ..
|
|
|
|
|
|
func (c *userCenterClient) EntUpdate(ctx context.Context, in *EntUpdateReq, opts ...grpc.CallOption) (*ExamineResp, error) {
|
|
|
out := new(ExamineResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/EntUpdate", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_EntUpdate_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -147,7 +175,7 @@ func (c *userCenterClient) EntUpdate(ctx context.Context, in *EntUpdateReq, opts
|
|
|
|
|
|
func (c *userCenterClient) ExamineInfo(ctx context.Context, in *CheckExamineReq, opts ...grpc.CallOption) (*EntInfoResp, error) {
|
|
|
out := new(EntInfoResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/ExamineInfo", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_ExamineInfo_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -156,7 +184,7 @@ func (c *userCenterClient) ExamineInfo(ctx context.Context, in *CheckExamineReq,
|
|
|
|
|
|
func (c *userCenterClient) GetStatusByCode(ctx context.Context, in *GetStatusByCodeReq, opts ...grpc.CallOption) (*GetStatusByCodeResp, error) {
|
|
|
out := new(GetStatusByCodeResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/GetStatusByCode", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_GetStatusByCode_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -165,7 +193,7 @@ func (c *userCenterClient) GetStatusByCode(ctx context.Context, in *GetStatusByC
|
|
|
|
|
|
func (c *userCenterClient) UserAdd(ctx context.Context, in *UserAddReq, opts ...grpc.CallOption) (*UserAddResp, error) {
|
|
|
out := new(UserAddResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/UserAdd", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_UserAdd_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -174,7 +202,7 @@ func (c *userCenterClient) UserAdd(ctx context.Context, in *UserAddReq, opts ...
|
|
|
|
|
|
func (c *userCenterClient) UserUpdate(ctx context.Context, in *UserIdReq, opts ...grpc.CallOption) (*ExamineResp, error) {
|
|
|
out := new(ExamineResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/UserUpdate", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_UserUpdate_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -183,7 +211,7 @@ func (c *userCenterClient) UserUpdate(ctx context.Context, in *UserIdReq, opts .
|
|
|
|
|
|
func (c *userCenterClient) UserDel(ctx context.Context, in *UserIdReq, opts ...grpc.CallOption) (*ExamineResp, error) {
|
|
|
out := new(ExamineResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/UserDel", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_UserDel_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -192,7 +220,7 @@ func (c *userCenterClient) UserDel(ctx context.Context, in *UserIdReq, opts ...g
|
|
|
|
|
|
func (c *userCenterClient) WorkDesktopMenuInfo(ctx context.Context, in *WorkDesktopMenuInfoReq, opts ...grpc.CallOption) (*WorkDesktopMenuInfoResp, error) {
|
|
|
out := new(WorkDesktopMenuInfoResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/WorkDesktopMenuInfo", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_WorkDesktopMenuInfo_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -201,7 +229,7 @@ func (c *userCenterClient) WorkDesktopMenuInfo(ctx context.Context, in *WorkDesk
|
|
|
|
|
|
func (c *userCenterClient) WorkDesktopComprehensive(ctx context.Context, in *WorkDesktopComprehensiveReq, opts ...grpc.CallOption) (*WorkDesktopComprehensiveResp, error) {
|
|
|
out := new(WorkDesktopComprehensiveResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/WorkDesktopComprehensive", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_WorkDesktopComprehensive_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -210,7 +238,7 @@ func (c *userCenterClient) WorkDesktopComprehensive(ctx context.Context, in *Wor
|
|
|
|
|
|
func (c *userCenterClient) WorkDesktopClearUserInfo(ctx context.Context, in *WorkDesktopClearUserInfoReq, opts ...grpc.CallOption) (*WorkDesktopClearUserInfoResp, error) {
|
|
|
out := new(WorkDesktopClearUserInfoResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/WorkDesktopClearUserInfo", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_WorkDesktopClearUserInfo_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -219,7 +247,7 @@ func (c *userCenterClient) WorkDesktopClearUserInfo(ctx context.Context, in *Wor
|
|
|
|
|
|
func (c *userCenterClient) GetUserInfo(ctx context.Context, in *UserReq, opts ...grpc.CallOption) (*UserInfo, error) {
|
|
|
out := new(UserInfo)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/GetUserInfo", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_GetUserInfo_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -228,7 +256,7 @@ func (c *userCenterClient) GetUserInfo(ctx context.Context, in *UserReq, opts ..
|
|
|
|
|
|
func (c *userCenterClient) GetEntUserInfo(ctx context.Context, in *EntUserReq, opts ...grpc.CallOption) (*EntUserResp, error) {
|
|
|
out := new(EntUserResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/GetEntUserInfo", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_GetEntUserInfo_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -237,7 +265,7 @@ func (c *userCenterClient) GetEntUserInfo(ctx context.Context, in *EntUserReq, o
|
|
|
|
|
|
func (c *userCenterClient) GetEntUserList(ctx context.Context, in *EntUserListReq, opts ...grpc.CallOption) (*EntUserListResp, error) {
|
|
|
out := new(EntUserListResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/GetEntUserList", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_GetEntUserList_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -246,7 +274,7 @@ func (c *userCenterClient) GetEntUserList(ctx context.Context, in *EntUserListRe
|
|
|
|
|
|
func (c *userCenterClient) CheckIsEntAdmin(ctx context.Context, in *EntUserReq, opts ...grpc.CallOption) (*CheckIsEntAdminResp, error) {
|
|
|
out := new(CheckIsEntAdminResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/CheckIsEntAdmin", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_CheckIsEntAdmin_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -255,7 +283,7 @@ func (c *userCenterClient) CheckIsEntAdmin(ctx context.Context, in *EntUserReq,
|
|
|
|
|
|
func (c *userCenterClient) IdentityList(ctx context.Context, in *IdentityReq, opts ...grpc.CallOption) (*IdentityResp, error) {
|
|
|
out := new(IdentityResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/IdentityList", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_IdentityList_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -264,7 +292,7 @@ func (c *userCenterClient) IdentityList(ctx context.Context, in *IdentityReq, op
|
|
|
|
|
|
func (c *userCenterClient) IdentityByUserId(ctx context.Context, in *IdentityReq, opts ...grpc.CallOption) (*Identity, error) {
|
|
|
out := new(Identity)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/IdentityByUserId", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_IdentityByUserId_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -273,7 +301,7 @@ func (c *userCenterClient) IdentityByUserId(ctx context.Context, in *IdentityReq
|
|
|
|
|
|
func (c *userCenterClient) IdentityByPositionId(ctx context.Context, in *IdentityReq, opts ...grpc.CallOption) (*Identity, error) {
|
|
|
out := new(Identity)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/IdentityByPositionId", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_IdentityByPositionId_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -282,7 +310,7 @@ func (c *userCenterClient) IdentityByPositionId(ctx context.Context, in *Identit
|
|
|
|
|
|
func (c *userCenterClient) IdentityByEntUserId(ctx context.Context, in *IdentityReq, opts ...grpc.CallOption) (*Identity, error) {
|
|
|
out := new(Identity)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/IdentityByEntUserId", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_IdentityByEntUserId_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -291,7 +319,7 @@ func (c *userCenterClient) IdentityByEntUserId(ctx context.Context, in *Identity
|
|
|
|
|
|
func (c *userCenterClient) IdentityByEntId(ctx context.Context, in *IdentityReq, opts ...grpc.CallOption) (*Identity, error) {
|
|
|
out := new(Identity)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/IdentityByEntId", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_IdentityByEntId_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -300,7 +328,7 @@ func (c *userCenterClient) IdentityByEntId(ctx context.Context, in *IdentityReq,
|
|
|
|
|
|
func (c *userCenterClient) UserIdentity(ctx context.Context, in *UserIdentityReq, opts ...grpc.CallOption) (*UserIdentityResp, error) {
|
|
|
out := new(UserIdentityResp)
|
|
|
- err := c.cc.Invoke(ctx, "/UserCenter/UserIdentity", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, UserCenter_UserIdentity_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -311,55 +339,55 @@ func (c *userCenterClient) UserIdentity(ctx context.Context, in *UserIdentityReq
|
|
|
// All implementations must embed UnimplementedUserCenterServer
|
|
|
// for forward compatibility
|
|
|
type UserCenterServer interface {
|
|
|
- //企业认证
|
|
|
+ // 企业认证
|
|
|
EntAuth(context.Context, *EntAuthReq) (*EntAuthResp, error)
|
|
|
- //机构审核
|
|
|
+ // 机构审核
|
|
|
EntExamine(context.Context, *ExamineReq) (*ExamineResp, error)
|
|
|
- //企业列表
|
|
|
+ // 企业列表
|
|
|
EntList(context.Context, *EntListReq) (*EntListResp, error)
|
|
|
- //审核列表
|
|
|
+ // 审核列表
|
|
|
ExamineList(context.Context, *ExamineListReq) (*ExamineListResp, error)
|
|
|
- //查看企业状态
|
|
|
+ // 查看企业状态
|
|
|
CheckEnt(context.Context, *CheckEntReq) (*CheckEntResp, error)
|
|
|
- //查看企业详情
|
|
|
+ // 查看企业详情
|
|
|
EntInfo(context.Context, *CheckEntReq) (*EntInfoResp, error)
|
|
|
- //冻结/解冻企业
|
|
|
+ // 冻结/解冻企业
|
|
|
EntUpdate(context.Context, *EntUpdateReq) (*ExamineResp, error)
|
|
|
- //查看审核详情
|
|
|
+ // 查看审核详情
|
|
|
ExamineInfo(context.Context, *CheckExamineReq) (*EntInfoResp, error)
|
|
|
- //根据统一社会信用代码查询企业状态
|
|
|
+ // 根据统一社会信用代码查询企业状态
|
|
|
GetStatusByCode(context.Context, *GetStatusByCodeReq) (*GetStatusByCodeResp, error)
|
|
|
- //新增用户
|
|
|
+ // 新增用户
|
|
|
UserAdd(context.Context, *UserAddReq) (*UserAddResp, error)
|
|
|
- //更新用户
|
|
|
+ // 更新用户
|
|
|
UserUpdate(context.Context, *UserIdReq) (*ExamineResp, error)
|
|
|
- //删除用户
|
|
|
+ // 删除用户
|
|
|
UserDel(context.Context, *UserIdReq) (*ExamineResp, error)
|
|
|
- //获取菜单树
|
|
|
+ // 获取菜单树
|
|
|
WorkDesktopMenuInfo(context.Context, *WorkDesktopMenuInfoReq) (*WorkDesktopMenuInfoResp, error)
|
|
|
- //菜单选择模式||常用功能更新||常用功能列表
|
|
|
+ // 菜单选择模式||常用功能更新||常用功能列表
|
|
|
WorkDesktopComprehensive(context.Context, *WorkDesktopComprehensiveReq) (*WorkDesktopComprehensiveResp, error)
|
|
|
- //手动清除用户功能内存信息
|
|
|
+ // 手动清除用户功能内存信息
|
|
|
WorkDesktopClearUserInfo(context.Context, *WorkDesktopClearUserInfoReq) (*WorkDesktopClearUserInfoResp, error)
|
|
|
- //获取客户信息
|
|
|
+ // 获取客户信息
|
|
|
GetUserInfo(context.Context, *UserReq) (*UserInfo, error)
|
|
|
- //根据企业员工id获取员工的信息
|
|
|
+ // 根据企业员工id获取员工的信息
|
|
|
GetEntUserInfo(context.Context, *EntUserReq) (*EntUserResp, error)
|
|
|
- //获取企业员工列表
|
|
|
+ // 获取企业员工列表
|
|
|
GetEntUserList(context.Context, *EntUserListReq) (*EntUserListResp, error)
|
|
|
- //查看员工是否是企业管理员
|
|
|
+ // 查看员工是否是企业管理员
|
|
|
CheckIsEntAdmin(context.Context, *EntUserReq) (*CheckIsEntAdminResp, error)
|
|
|
- //获取用户可切换的身份列表
|
|
|
+ // 获取用户可切换的身份列表
|
|
|
IdentityList(context.Context, *IdentityReq) (*IdentityResp, error)
|
|
|
- //获取账号id获取个人身份信息
|
|
|
+ // 获取账号id获取个人身份信息
|
|
|
IdentityByUserId(context.Context, *IdentityReq) (*Identity, error)
|
|
|
- //根据职位id获取身份信息
|
|
|
+ // 根据职位id获取身份信息
|
|
|
IdentityByPositionId(context.Context, *IdentityReq) (*Identity, error)
|
|
|
- //根据企业员工id获取身份信息
|
|
|
+ // 根据企业员工id获取身份信息
|
|
|
IdentityByEntUserId(context.Context, *IdentityReq) (*Identity, error)
|
|
|
- //根据企业id获取身份信息
|
|
|
+ // 根据企业id获取身份信息
|
|
|
IdentityByEntId(context.Context, *IdentityReq) (*Identity, error)
|
|
|
- //获取用户身份相关参数
|
|
|
+ // 获取用户身份相关参数
|
|
|
UserIdentity(context.Context, *UserIdentityReq) (*UserIdentityResp, error)
|
|
|
mustEmbedUnimplementedUserCenterServer()
|
|
|
}
|
|
@@ -466,7 +494,7 @@ func _UserCenter_EntAuth_Handler(srv interface{}, ctx context.Context, dec func(
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/EntAuth",
|
|
|
+ FullMethod: UserCenter_EntAuth_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).EntAuth(ctx, req.(*EntAuthReq))
|
|
@@ -484,7 +512,7 @@ func _UserCenter_EntExamine_Handler(srv interface{}, ctx context.Context, dec fu
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/EntExamine",
|
|
|
+ FullMethod: UserCenter_EntExamine_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).EntExamine(ctx, req.(*ExamineReq))
|
|
@@ -502,7 +530,7 @@ func _UserCenter_EntList_Handler(srv interface{}, ctx context.Context, dec func(
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/EntList",
|
|
|
+ FullMethod: UserCenter_EntList_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).EntList(ctx, req.(*EntListReq))
|
|
@@ -520,7 +548,7 @@ func _UserCenter_ExamineList_Handler(srv interface{}, ctx context.Context, dec f
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/ExamineList",
|
|
|
+ FullMethod: UserCenter_ExamineList_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).ExamineList(ctx, req.(*ExamineListReq))
|
|
@@ -538,7 +566,7 @@ func _UserCenter_CheckEnt_Handler(srv interface{}, ctx context.Context, dec func
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/CheckEnt",
|
|
|
+ FullMethod: UserCenter_CheckEnt_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).CheckEnt(ctx, req.(*CheckEntReq))
|
|
@@ -556,7 +584,7 @@ func _UserCenter_EntInfo_Handler(srv interface{}, ctx context.Context, dec func(
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/EntInfo",
|
|
|
+ FullMethod: UserCenter_EntInfo_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).EntInfo(ctx, req.(*CheckEntReq))
|
|
@@ -574,7 +602,7 @@ func _UserCenter_EntUpdate_Handler(srv interface{}, ctx context.Context, dec fun
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/EntUpdate",
|
|
|
+ FullMethod: UserCenter_EntUpdate_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).EntUpdate(ctx, req.(*EntUpdateReq))
|
|
@@ -592,7 +620,7 @@ func _UserCenter_ExamineInfo_Handler(srv interface{}, ctx context.Context, dec f
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/ExamineInfo",
|
|
|
+ FullMethod: UserCenter_ExamineInfo_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).ExamineInfo(ctx, req.(*CheckExamineReq))
|
|
@@ -610,7 +638,7 @@ func _UserCenter_GetStatusByCode_Handler(srv interface{}, ctx context.Context, d
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/GetStatusByCode",
|
|
|
+ FullMethod: UserCenter_GetStatusByCode_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).GetStatusByCode(ctx, req.(*GetStatusByCodeReq))
|
|
@@ -628,7 +656,7 @@ func _UserCenter_UserAdd_Handler(srv interface{}, ctx context.Context, dec func(
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/UserAdd",
|
|
|
+ FullMethod: UserCenter_UserAdd_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).UserAdd(ctx, req.(*UserAddReq))
|
|
@@ -646,7 +674,7 @@ func _UserCenter_UserUpdate_Handler(srv interface{}, ctx context.Context, dec fu
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/UserUpdate",
|
|
|
+ FullMethod: UserCenter_UserUpdate_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).UserUpdate(ctx, req.(*UserIdReq))
|
|
@@ -664,7 +692,7 @@ func _UserCenter_UserDel_Handler(srv interface{}, ctx context.Context, dec func(
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/UserDel",
|
|
|
+ FullMethod: UserCenter_UserDel_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).UserDel(ctx, req.(*UserIdReq))
|
|
@@ -682,7 +710,7 @@ func _UserCenter_WorkDesktopMenuInfo_Handler(srv interface{}, ctx context.Contex
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/WorkDesktopMenuInfo",
|
|
|
+ FullMethod: UserCenter_WorkDesktopMenuInfo_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).WorkDesktopMenuInfo(ctx, req.(*WorkDesktopMenuInfoReq))
|
|
@@ -700,7 +728,7 @@ func _UserCenter_WorkDesktopComprehensive_Handler(srv interface{}, ctx context.C
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/WorkDesktopComprehensive",
|
|
|
+ FullMethod: UserCenter_WorkDesktopComprehensive_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).WorkDesktopComprehensive(ctx, req.(*WorkDesktopComprehensiveReq))
|
|
@@ -718,7 +746,7 @@ func _UserCenter_WorkDesktopClearUserInfo_Handler(srv interface{}, ctx context.C
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/WorkDesktopClearUserInfo",
|
|
|
+ FullMethod: UserCenter_WorkDesktopClearUserInfo_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).WorkDesktopClearUserInfo(ctx, req.(*WorkDesktopClearUserInfoReq))
|
|
@@ -736,7 +764,7 @@ func _UserCenter_GetUserInfo_Handler(srv interface{}, ctx context.Context, dec f
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/GetUserInfo",
|
|
|
+ FullMethod: UserCenter_GetUserInfo_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).GetUserInfo(ctx, req.(*UserReq))
|
|
@@ -754,7 +782,7 @@ func _UserCenter_GetEntUserInfo_Handler(srv interface{}, ctx context.Context, de
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/GetEntUserInfo",
|
|
|
+ FullMethod: UserCenter_GetEntUserInfo_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).GetEntUserInfo(ctx, req.(*EntUserReq))
|
|
@@ -772,7 +800,7 @@ func _UserCenter_GetEntUserList_Handler(srv interface{}, ctx context.Context, de
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/GetEntUserList",
|
|
|
+ FullMethod: UserCenter_GetEntUserList_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).GetEntUserList(ctx, req.(*EntUserListReq))
|
|
@@ -790,7 +818,7 @@ func _UserCenter_CheckIsEntAdmin_Handler(srv interface{}, ctx context.Context, d
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/CheckIsEntAdmin",
|
|
|
+ FullMethod: UserCenter_CheckIsEntAdmin_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).CheckIsEntAdmin(ctx, req.(*EntUserReq))
|
|
@@ -808,7 +836,7 @@ func _UserCenter_IdentityList_Handler(srv interface{}, ctx context.Context, dec
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/IdentityList",
|
|
|
+ FullMethod: UserCenter_IdentityList_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).IdentityList(ctx, req.(*IdentityReq))
|
|
@@ -826,7 +854,7 @@ func _UserCenter_IdentityByUserId_Handler(srv interface{}, ctx context.Context,
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/IdentityByUserId",
|
|
|
+ FullMethod: UserCenter_IdentityByUserId_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).IdentityByUserId(ctx, req.(*IdentityReq))
|
|
@@ -844,7 +872,7 @@ func _UserCenter_IdentityByPositionId_Handler(srv interface{}, ctx context.Conte
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/IdentityByPositionId",
|
|
|
+ FullMethod: UserCenter_IdentityByPositionId_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).IdentityByPositionId(ctx, req.(*IdentityReq))
|
|
@@ -862,7 +890,7 @@ func _UserCenter_IdentityByEntUserId_Handler(srv interface{}, ctx context.Contex
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/IdentityByEntUserId",
|
|
|
+ FullMethod: UserCenter_IdentityByEntUserId_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).IdentityByEntUserId(ctx, req.(*IdentityReq))
|
|
@@ -880,7 +908,7 @@ func _UserCenter_IdentityByEntId_Handler(srv interface{}, ctx context.Context, d
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/IdentityByEntId",
|
|
|
+ FullMethod: UserCenter_IdentityByEntId_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).IdentityByEntId(ctx, req.(*IdentityReq))
|
|
@@ -898,7 +926,7 @@ func _UserCenter_UserIdentity_Handler(srv interface{}, ctx context.Context, dec
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/UserCenter/UserIdentity",
|
|
|
+ FullMethod: UserCenter_UserIdentity_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(UserCenterServer).UserIdentity(ctx, req.(*UserIdentityReq))
|