mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-23 19:20:24 +08:00
支持购买套餐/续费套餐/用户账户操作等
This commit is contained in:
37
pkg/rpc/protos/service_user_account_log.proto
Normal file
37
pkg/rpc/protos/service_user_account_log.proto
Normal file
@@ -0,0 +1,37 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "models/model_user_account_log.proto";
|
||||
import "models/rpc_messages.proto";
|
||||
|
||||
// 用户账户日志服务
|
||||
service UserAccountLogService {
|
||||
// 计算日志数量
|
||||
rpc countUserAccountLogs(CountUserAccountLogsRequest) returns (RPCCountResponse);
|
||||
|
||||
// 列出单页日志
|
||||
rpc listUserAccountLogs(ListUserAccountLogsRequest) returns (ListUserAccountLogsResponse);
|
||||
}
|
||||
|
||||
// 计算日志数量
|
||||
message CountUserAccountLogsRequest {
|
||||
int64 userAccountId = 1;
|
||||
string keyword = 2;
|
||||
string eventType = 3;
|
||||
}
|
||||
|
||||
// 列出单页日志
|
||||
message ListUserAccountLogsRequest {
|
||||
int64 userAccountId = 1;
|
||||
string keyword = 2;
|
||||
string eventType = 3;
|
||||
int64 offset = 4;
|
||||
int64 size = 5;
|
||||
}
|
||||
|
||||
message ListUserAccountLogsResponse {
|
||||
repeated UserAccountLog userAccountLogs = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user