上传用户会话接口修改

This commit is contained in:
liwei1dao 2022-06-06 11:54:42 +08:00
parent 42ca630ca9
commit b804856510
2 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,7 @@ type ISC_GateRouteComp interface {
//用户会话
type IUserSession interface {
GetSessionId() string
GetUserId() uint32
GetIP() string
GetGatewayServiceId() string
Build(uid uint32) (err error)

View File

@ -31,6 +31,10 @@ type UserSession struct {
func (this *UserSession) GetSessionId() string {
return this.SessionId
}
func (this *UserSession) GetUserId() uint32 {
return this.UserId
}
func (this *UserSession) GetIP() string {
return this.IP
}