上传用户会话接口修改
This commit is contained in:
parent
42ca630ca9
commit
b804856510
@ -35,6 +35,7 @@ type ISC_GateRouteComp interface {
|
||||
//用户会话
|
||||
type IUserSession interface {
|
||||
GetSessionId() string
|
||||
GetUserId() uint32
|
||||
GetIP() string
|
||||
GetGatewayServiceId() string
|
||||
Build(uid uint32) (err error)
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user