mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-24 19:06:36 +08:00
套餐API增加查找套餐基本信息API
This commit is contained in:
@@ -20,6 +20,9 @@ service PlanService {
|
||||
// 查找单个套餐
|
||||
rpc findEnabledPlan(FindEnabledPlanRequest) returns (FindEnabledPlanResponse);
|
||||
|
||||
// 查找套餐基本信息
|
||||
rpc findBasicPlan(FindBasicPlanRequest) returns (FindBasicPlanResponse);
|
||||
|
||||
// 计算套餐数量
|
||||
rpc countAllEnabledPlans(CountAllEnabledPlansRequest) returns (RPCCountResponse);
|
||||
|
||||
@@ -104,6 +107,15 @@ message FindEnabledPlanResponse {
|
||||
Plan plan = 1; // 套餐信息
|
||||
}
|
||||
|
||||
// 查找套餐基本信息
|
||||
message FindBasicPlanRequest {
|
||||
int64 planId = 1; // 套餐ID
|
||||
}
|
||||
|
||||
message FindBasicPlanResponse {
|
||||
Plan plan = 1; // 套餐信息(只读取基本信息)
|
||||
}
|
||||
|
||||
// 计算套餐数量
|
||||
message CountAllEnabledPlansRequest {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user