services

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUserStatus

func GetUserStatus(subId string) (*dto.UserInfo, error)

GetUserStatus 可以用此函数替换获取用户状态的方法[已废弃] 最初是想通过identity用户接口来获取信息,但这个接口的信息是经过rsa加密过的,目前我们是有私钥可以解密,以后一定有私钥吗?还涉及到超时问题

Types

type GetUserInfoService

type GetUserInfoService struct {
	Context xcontext.XContext
	Logger  xlog.ILogger
}

GetUserInfoService 获取用户信息

func NewGetUserInfoService

func NewGetUserInfoService(rasseContext xcontext.XContext) *GetUserInfoService

NewGetUserInfoService 创建GetUserInfoService实例

func (*GetUserInfoService) GetUserInfo

func (svr *GetUserInfoService) GetUserInfo(subid, appflag string) (*dto.UserInfo, error)

GetUserInfo 获取用户信息

Jump to

Keyboard shortcuts

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