mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 05:00:24 +08:00 
			
		
		
		
	套餐增加文件最大上传尺寸设置
This commit is contained in:
		@@ -26,4 +26,5 @@ message Plan {
 | 
			
		||||
	int64 monthlyRequests = 17; // 每月访问量额度
 | 
			
		||||
	int64 dailyWebsocketConnections = 18; // 每日Websocket连接数额度
 | 
			
		||||
	int64 monthlyWebsocketConnections = 19; // 每月Websocket连接数额度
 | 
			
		||||
	bytes maxUploadSizeJSON = 23; // 文件最大上传尺寸 @link json:size_capacity
 | 
			
		||||
}
 | 
			
		||||
@@ -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
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// 删除套餐
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user