1
This commit is contained in:
parent
7cd542ecb5
commit
271e169b81
@ -25,6 +25,16 @@ type ServiceMgr interface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Session interface {
|
type Session interface {
|
||||||
|
GetId() string
|
||||||
|
GetUid() string
|
||||||
|
GetGid() string
|
||||||
|
GetOpenId() string
|
||||||
|
GetVersion() int32
|
||||||
|
GetPlat() int32
|
||||||
|
GetPlatVip() int32
|
||||||
|
Invited() int32
|
||||||
|
NickName() string
|
||||||
|
IsGuest() int32
|
||||||
}
|
}
|
||||||
|
|
||||||
type SessionMgr interface {
|
type SessionMgr interface {
|
||||||
|
@ -12,3 +12,7 @@ const (
|
|||||||
SESSION_MGR_MODULE_IDX
|
SESSION_MGR_MODULE_IDX
|
||||||
MAX_MODULE_IDX
|
MAX_MODULE_IDX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
PLAT_ID_TG = 5
|
||||||
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user