mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-28 05:16:39 +08:00
增加若干API/增加多个网站功能项
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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; // 是否支持套餐
|
||||
}
|
||||
Reference in New Issue
Block a user