feat: sale add create user
This commit is contained in:
@@ -47,3 +47,27 @@ func (s *UserServer) UserStatus(ctx context.Context, in *user.UserStatusReq) (*u
|
||||
l := logic.NewUserStatusLogic(ctx, s.svcCtx)
|
||||
return l.UserStatus(in)
|
||||
}
|
||||
|
||||
// 内部:业务创建销售/门店时调用
|
||||
func (s *UserServer) EnsureBizIdentity(ctx context.Context, in *user.EnsureBizIdentityReq) (*user.EnsureBizIdentityData, error) {
|
||||
l := logic.NewEnsureBizIdentityLogic(ctx, s.svcCtx)
|
||||
return l.EnsureBizIdentity(in)
|
||||
}
|
||||
|
||||
// 内部:批量查用户基础信息
|
||||
func (s *UserServer) UsersByIds(ctx context.Context, in *user.UsersByIdsReq) (*user.UsersByIdsData, error) {
|
||||
l := logic.NewUsersByIdsLogic(ctx, s.svcCtx)
|
||||
return l.UsersByIds(in)
|
||||
}
|
||||
|
||||
// 内部:修改手机号
|
||||
func (s *UserServer) UpdateMobile(ctx context.Context, in *user.UpdateMobileReq) (*user.UpdateMobileData, error) {
|
||||
l := logic.NewUpdateMobileLogic(ctx, s.svcCtx)
|
||||
return l.UpdateMobile(in)
|
||||
}
|
||||
|
||||
// 内部:撤销业务端开通
|
||||
func (s *UserServer) RevokeBizClient(ctx context.Context, in *user.RevokeBizClientReq) (*user.RevokeBizClientData, error) {
|
||||
l := logic.NewRevokeBizClientLogic(ctx, s.svcCtx)
|
||||
return l.RevokeBizClient(in)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user