增加流量带宽子账单接口/把 regionId 改为 nodeRegionId

This commit is contained in:
刘祥超
2022-10-14 16:17:18 +08:00
parent a5af5e0597
commit 387ee8d9c9
15 changed files with 4655 additions and 4013 deletions

View File

@@ -12,5 +12,5 @@ message ServerBandwidthStat {
string timeAt = 5;
int64 bytes = 6;
int64 bits = 7;
int64 regionId = 8;
int64 nodeRegionId = 8;
}

View File

@@ -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;

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