保存为了 websocket
This commit is contained in:
@@ -16,7 +16,7 @@ type RegisterToken struct {
|
||||
OperateType // 操作的类型, 验证的token 必须要继承这个
|
||||
Id int64 // 注册的 id
|
||||
GuestId uint64 // guest_id 需要继承
|
||||
WCId uint64 // websocket 通道id
|
||||
WId uint64 // websocket 通道id
|
||||
Email string // email
|
||||
Password string // 密码
|
||||
Platform string // 平台
|
||||
|
||||
@@ -11,7 +11,7 @@ func TestGCM(t *testing.T) {
|
||||
token := &auth.RegisterToken{
|
||||
OperateType: auth.OpTypeRegister,
|
||||
Password: "fusen_password",
|
||||
WCId: 123,
|
||||
WId: 123,
|
||||
}
|
||||
|
||||
key := "fusen123321"
|
||||
@@ -31,7 +31,7 @@ func BenchmarkCRT(b *testing.B) {
|
||||
token := &auth.RegisterToken{
|
||||
OperateType: auth.OpTypeRegister,
|
||||
Password: "fusen_password",
|
||||
WCId: 123,
|
||||
WId: 123,
|
||||
}
|
||||
|
||||
key := "fusen123321"
|
||||
@@ -52,7 +52,7 @@ func BenchmarkGCM(b *testing.B) {
|
||||
token := &auth.RegisterToken{
|
||||
OperateType: auth.OpTypeRegister,
|
||||
Password: "fusen_password",
|
||||
WCId: 123,
|
||||
WId: 123,
|
||||
}
|
||||
|
||||
key := "fusen123321"
|
||||
@@ -72,7 +72,7 @@ func TestCRT(t *testing.T) {
|
||||
token := &auth.RegisterToken{
|
||||
OperateType: auth.OpTypeRegister,
|
||||
Password: "fusen_password",
|
||||
WCId: 123,
|
||||
WId: 123,
|
||||
}
|
||||
|
||||
key := "fusen123321"
|
||||
|
||||
Reference in New Issue
Block a user