套餐增加文件最大上传尺寸设置

This commit is contained in:
GoEdgeLab
2024-01-13 19:32:41 +08:00
parent b69583e3b7
commit f377fefaef
8 changed files with 275 additions and 155 deletions

View File

@@ -26,4 +26,5 @@ message Plan {
int64 monthlyRequests = 17; // 每月访问量额度
int64 dailyWebsocketConnections = 18; // 每日Websocket连接数额度
int64 monthlyWebsocketConnections = 19; // 每月Websocket连接数额度
bytes maxUploadSizeJSON = 23; // 文件最大上传尺寸 @link json:size_capacity
}

View File

@@ -45,7 +45,7 @@ message CreatePlanRequest {
string description = 19; // 套餐简介
int64 clusterId = 2; // 集群ID
bytes trafficLimitJSON = 3; // 流量限制
bytes bandwidthLimitPerNodeJSON = 20; // 单节点带宽限制
bytes bandwidthLimitPerNodeJSON = 20; // 单节点带宽限制 @link json:bit_size_capacity
bool hasFullFeatures = 18; // 是否有所有权限
bytes featuresJSON = 4; // 权限列表,[code1, code2, ...]
string priceType = 5; // 价格类型traffic, bandwidth, period
@@ -61,6 +61,7 @@ message CreatePlanRequest {
int64 monthlyRequests = 15; // 每月访问量额度
int64 dailyWebsocketConnections = 16; // 每日Websocket连接数额度
int64 monthlyWebsocketConnections = 17; // 每月Websocket连接数额度
bytes maxUploadSizeJSON = 21; // 文件最大上传尺寸 @link json:size_capacity
}
message CreatePlanResponse {
@@ -91,6 +92,7 @@ message UpdatePlanRequest {
int64 monthlyRequests = 17; // 每月访问量额度
int64 dailyWebsocketConnections = 18; // 每日Websocket连接数额度
int64 monthlyWebsocketConnections = 19; // 每月Websocket连接数额度
bytes maxUploadSizeJSON = 23; // 文件最大上传尺寸 @link json:size_capacity
}
// 删除套餐