mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-03 12:40:25 +08:00
增加流量带宽子账单接口/把 regionId 改为 nodeRegionId
This commit is contained in:
@@ -12,5 +12,5 @@ message ServerBandwidthStat {
|
||||
string timeAt = 5;
|
||||
int64 bytes = 6;
|
||||
int64 bits = 7;
|
||||
int64 regionId = 8;
|
||||
int64 nodeRegionId = 8;
|
||||
}
|
||||
@@ -6,7 +6,7 @@ package pb;
|
||||
// 服务每日统计
|
||||
message ServerDailyStat {
|
||||
int64 serverId = 1;
|
||||
int64 regionId = 2;
|
||||
int64 nodeRegionId = 2;
|
||||
int64 bytes = 3;
|
||||
int64 cachedBytes = 5;
|
||||
int64 countRequests = 6;
|
||||
|
||||
21
pkg/rpc/protos/models/model_user_traffic_bill.proto
Normal file
21
pkg/rpc/protos/models/model_user_traffic_bill.proto
Normal file
@@ -0,0 +1,21 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "models/model_node_region.proto";
|
||||
|
||||
// 用户流量带宽子账单
|
||||
message UserTrafficBill {
|
||||
int64 id = 1;
|
||||
int64 billId = 2;
|
||||
int64 nodeRegionId = 3;
|
||||
float amount = 4;
|
||||
float bandwidthMB = 5;
|
||||
int32 bandwidthPercentile = 6;
|
||||
float trafficGB = 7;
|
||||
float pricePerUnit = 8;
|
||||
string priceType = 9;
|
||||
|
||||
NodeRegion nodeRegion = 30;
|
||||
}
|
||||
Reference in New Issue
Block a user