增加管理员和用户登录SESSION API

This commit is contained in:
刘祥超
2023-02-04 15:17:27 +08:00
parent ce72dcf4dc
commit be29ba72a0
6 changed files with 1035 additions and 0 deletions

View 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;
}