增加若干API/增加多个网站功能项

This commit is contained in:
刘祥超
2023-12-20 15:09:09 +08:00
parent 99a2801591
commit 729311f605
18 changed files with 1286 additions and 540 deletions

View File

@@ -9,7 +9,8 @@ message Plan {
string name = 3;
int64 clusterId = 4;
bytes trafficLimitJSON = 5;
bytes featuresJSON = 6;
bool hasFullFeatures = 20; // 是否有所有权限
bytes featuresJSON = 6; // 权限列表,[code1, code2, ...]
string priceType = 7;
bytes trafficPriceJSON = 8;
bytes bandwidthPriceJSON = 12;

View File

@@ -3,8 +3,10 @@ option go_package = "./pb";
package pb;
// 用户功能定义
message UserFeature {
string code = 1;
string name = 2;
string description = 3;
string code = 1; // 代号
string name = 2; // 名称
string description = 3; // 描述
bool supportPlan = 4; // 是否支持套餐
}