mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-30 17:30:25 +08:00
增加管理员和用户登录SESSION API
This commit is contained in:
16
pkg/rpc/protos/models/model_login_session.proto
Normal file
16
pkg/rpc/protos/models/model_login_session.proto
Normal file
@@ -0,0 +1,16 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
// 登录SESSION
|
||||
message LoginSession {
|
||||
int64 id = 1;
|
||||
int64 adminId = 2;
|
||||
int64 userId = 3;
|
||||
string sid = 4;
|
||||
bytes valuesJSON = 5;
|
||||
string ip = 6;
|
||||
int64 createdAt = 7;
|
||||
int64 expiresAt = 8;
|
||||
}
|
||||
Reference in New Issue
Block a user