mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-26 22:00:26 +08:00
对服务增加基础的数据统计/部分代码分Package
This commit is contained in:
18
pkg/rpc/protos/models/model_log.proto
Normal file
18
pkg/rpc/protos/models/model_log.proto
Normal file
@@ -0,0 +1,18 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
message Log {
|
||||
int64 id = 1;
|
||||
string level = 2;
|
||||
string action = 3;
|
||||
int64 adminId = 4;
|
||||
int64 userId = 5;
|
||||
int64 providerId = 6;
|
||||
int64 createdAt = 7;
|
||||
string type = 8;
|
||||
string ip = 9;
|
||||
string userName = 10;
|
||||
string description = 11;
|
||||
}
|
||||
Reference in New Issue
Block a user