重新实现套餐相关功能

This commit is contained in:
GoEdgeLab
2023-09-06 16:31:14 +08:00
parent 87a5aee982
commit fcf7032324
16 changed files with 1600 additions and 972 deletions

View File

@@ -42,6 +42,9 @@ message CreatePlanRequest {
float monthlyPrice = 7;
float seasonallyPrice = 8;
float yearlyPrice = 9;
int32 totalServers = 11; // 可以添加的网站数
int32 totalServerNamesPerServer = 12; // 每个网站可以添加的域名数
int32 totalServerNames = 13; // 可以添加的域名总数
}
message CreatePlanResponse {
@@ -62,6 +65,9 @@ message UpdatePlanRequest {
float monthlyPrice = 9;
float seasonallyPrice = 10;
float yearlyPrice = 11;
int32 totalServers = 13; // 可以添加的网站数
int32 totalServerNamesPerServer = 14; // 每个网站可以添加的域名数
int32 totalServerNames = 15; // 可以添加的域名总数
}
// 删除套餐