syntax = "proto3"; package gorpc; option go_package = "git.goio.dev/pb/go-service-pb/client"; import "pb/common.proto"; message I18nVo { string code = 1; string value = 2; } message ConfigGetReq { int64 id = 1; // ID string code = 2; // 类型标识 } // GlobalParam message GlobalParamVo { int64 id = 1; string paramKey = 2; string paramValue = 3; string valueType = 4; float minValue = 5; float maxValue = 6; string name = 7; BoolInt editable = 8; BoolInt nullable = 9; BoolInt hidden = 10; BoolInt mutiLang = 11; int64 sort = 12; string remark = 13; BoolInt apiExport = 14; string apiExportName = 15; int64 createTime = 16; int64 updateTime = 17; // valueType 为 string、text、json、string[], 且 mutiLang 为 true // 时,需要同时干查询/修改/插入多语言数据 repeated I18nVo i18ns = 18; } message GlobalParamGetReq { GlobalParamVo vo = 1; string lang = 2; } message GlobalParamListReq { Page page = 1; GlobalParamVo vo = 2; repeated int64 excludeIds = 3; // 排除的ID }; message GlobalParamListResp { int64 total = 1; repeated GlobalParamVo list = 2; }; // end GlobalParam // Product message ProductVo { int64 id = 1; string code = 2; string name = 3; string domain = 4; Status status = 5; string langs = 6; string defaultLang = 7; string remark = 8; int64 createTime = 9; int64 updateTime = 10; } message ProductListReq { Page page = 1; ProductVo vo = 2; repeated string productCodes = 3; repeated int64 excludeIds = 4; } message ProductListResp { int64 total = 1; repeated ProductVo list = 2; } // end Product // ProductParam message ProductParamVo { int64 id = 1; string productCode = 2; string paramKey = 3; string paramValue = 4; string valueType = 5; float minValue = 6; float maxValue = 7; string name = 8; BoolInt editable = 9; BoolInt nullable = 10; BoolInt hidden = 11; BoolInt mutiLang = 12; int64 sort = 13; string remark = 14; BoolInt apiExport = 15; string apiExportName = 16; int64 createTime = 17; int64 updateTime = 18; // valueType 为 string、text、json、string[], 且 mutiLang 为 true // 时,需要同时干查询/修改/插入多语言数据 repeated I18nVo i18ns = 19; } message ProductParamGetReq { ProductParamVo vo = 1; string lang = 2; } message ProductParamListReq { Page page = 1; ProductParamVo vo = 2; repeated string productCodes = 3; repeated int64 excludeIds = 4; }; message ProductParamListResp { int64 total = 1; repeated ProductParamVo list = 2; }; // end ProductParam // ProductAction message ProductActionVo { int64 id = 1; string productCode = 2; string imgUrl = 3; string actionType = 4; string actionData = 5; string title = 6; Status status = 7; int64 createTime = 8; int64 updateTime = 9; int64 sort = 10; } message ProductActionReq { ProductActionVo vo = 1; } message ProductActionListReq { Page page = 1; ProductActionVo vo = 2; repeated string productCodes = 3; repeated int64 excludeIds = 4; } message ProductActionListResp { int64 total = 1; repeated ProductActionVo list = 2; } // end ProductAction // AreaParam message AreaParamVo { int64 id = 1; string productCode = 2; string name = 3; string areas = 4; string paramValue = 5; Status status = 6; int64 sort = 7; string remark = 8; int64 createTime = 9; int64 updateTime = 10; string version = 11; } message AreaParamListReq { Page page = 1; AreaParamVo vo = 2; repeated string productCodes = 3; // 产品code repeated int64 excludeIds = 4; // 排除的ID } message AreaParamListResp { int64 total = 1; repeated AreaParamVo list = 2; } // end AreaParam // NationalLanguage message NationalLanguageVo { int64 id = 1; string tbName = 2; int64 tbRowId = 3; string tbFieldName = 4; string lan = 5; string value = 6; Status status = 7; int64 updateTime = 8; int64 createTime = 9; } message NationalLanguageListReq { Page page = 1; NationalLanguageVo vo = 2; repeated int64 excludeIds = 3; // 排除的ID } message NationalLanguageListResp { int64 total = 1; repeated NationalLanguageVo list = 2; } // end NationalLanguage // Tip message TipVo { int64 id = 1; string productCode = 2; string paramKey = 3; string paramValue = 4; string code = 5; int64 showType = 6; int64 sort = 7; string remark = 8; int64 createTime = 9; int64 updateTime = 10; repeated I18nVo i18ns = 11; } message TipGetReq { TipVo vo = 1; string lang = 2; } message TipListReq { Page page = 1; TipVo vo = 2; repeated string productCodes = 3; repeated int64 excludeIds = 4; // 排除的ID } message TipListResp { int64 total = 1; repeated TipVo list = 2; } // end Tip // Dict message DictVo { int64 id = 1; string productCode = 2; int64 parentId = 3; string dataType = 4; string name = 5; string payload = 6; int64 sort = 7; Status status = 8; string remark = 9; int64 createTime = 10; int64 updateTime = 11; string payloadJson = 12; } message DictGetReq { DictVo vo = 1; } message DictListReq { Page page = 1; DictVo vo = 2; repeated string productCodes = 3; repeated int64 excludeIds = 4; } message DictListResp { int64 total = 1; repeated DictVo list = 2; } // end Dict // message UpgradeResVo { // int64 id = 1; // string title = 2; // string path = 3; // string fileMd5 = 4; // string filePath = 5; // string metadataId = 6; // string createdAt = 7; // string runtimeVersion = 8; // int64 runtimeVersionCode = 9; // string appVersionName = 10; // int64 appVersionCode = 11; // Status status = 12; // string remark = 13; // int64 createTime = 14; // int64 updateTime = 15; // int64 resSize = 16; // } // message UpgradeResConfigVo { // int64 id = 1; // int64 productId = 2; // string platform = 3; // string channel = 4; // int64 resId = 5; // int64 isForceUpdate = 6; // string forceIntro = 7; // string areaConfigs = 8; // string versionConfigs = 9; // int64 interval = 10; // int64 upgradeRate = 11; // string intro = 12; // string apis = 13; // Status status = 14; // string remark = 15; // string userIds = 16; // int64 createTime = 17; // int64 updateTime = 18; // string forceVersionConfigs = 19; // string forceAreaConfigs = 20; // string runtimeVersionConfigs = 21; // string title = 22; // int64 isSilent = 23; // } // message UpgradePkgVo { // int64 id = 1; // int64 productId = 2; // string platform = 3; // string channel = 4; // int64 versionCode = 5; // string versionName = 6; // string fileMd5 = 7; // string areaConfigs = 8; // string versionConfigs = 9; // int64 interval = 10; // int64 upgradeRate = 11; // string intro = 12; // string appStoreUrl = 13; // string url = 14; // string onlineUrls = 15; // string userIds = 16; // int64 isForceUpdate = 17; // string forceIntro = 18; // string forceVersionConfigs = 19; // Status status = 20; // string remark = 21; // int64 createTime = 22; // int64 updateTime = 23; // string title = 24; // string forceAreaConfigs = 25; // } // message UpgradeResConfigGetReq { // Page page = 1; // int64 id = 2; // } // message UpgradeResConfigListReq { // Page page = 1; // UpgradeResConfigVo vo = 2; // } // message UpgradeResConfigListResp { // int64 total = 1; // repeated UpgradeResConfigVo list = 2; // } // message UpgradePkgGetReq { UpgradePkgVo vo = 1; } // message UpgradePkgListReq { // Page page = 1; // UpgradePkgVo vo = 2; // } // message UpgradePkgListResp { // int64 total = 1; // repeated UpgradePkgVo list = 2; // } // message UpgradeResGetReq { UpgradeResVo vo = 1; } // message UpgradeResListReq { // Page page = 1; // UpgradeResVo vo = 2; // } // message UpgradeResListResp { // int64 total = 1; // repeated UpgradeResVo list = 2; // } // message ResourceDelReq { // repeated int64 ids = 1; // string fileMd5 = 2; // } // UpgradePkgPlan message UpgradePkgPlanVo { int64 id = 1; string productCode = 2; // 产品code string areas = 3; // 地区列表 int64 sort = 4; Status status = 5; // 状态 string remark = 6; int64 createTime = 7; int64 updateTime = 8; } message UpgradePkgPlanListReq { Page page = 1; UpgradePkgPlanVo vo = 2; repeated string productCodes = 3; repeated int64 excludeIds = 4; } message UpgradePkgPlanListResp { int64 total = 1; repeated UpgradePkgPlanVo list = 2; } // end UpgradePkgPlan // UpgradePkgPlanDetail message UpgradePkgPlanDetailVo { int64 id = 1; int64 planId = 2; // 方案ID string platform = 3; // 平台 string channel = 4; // 渠道 string name = 5; // 名称 int64 ver = 6; // 版本号 string url = 7; // 商店地址 string websiteUrl = 8; // 官网地址 string directUrl = 9; // 直接下载地址 string md5 = 10; // MD5 string info = 11; // 更新信息 string testUpgradePolicyConfig = 12; // 测试更新策略配置 string upgradePolicyConfig = 13; // 更新策略配置 string forceUpgradePolicyConfig = 14; // 强制更新策略 Status status = 15; // 状态 string remark = 16; int64 createTime = 17; int64 updateTime = 18; } message UpgradePkgPlanDetailListReq { Page page = 1; UpgradePkgPlanDetailVo vo = 2; repeated int64 planIds = 3; } message UpgradePkgPlanDetailListResp { int64 total = 1; repeated UpgradePkgPlanDetailVo list = 2; } // end UpgradePkgPlanDetail // UpgradeResPlan message UpgradeResPlanVo { int64 id = 1; string productCode = 2; // 产品code string areas = 3; // 地区列表 int64 sort = 4; Status status = 5; // 状态 string remark = 6; int64 createTime = 7; int64 updateTime = 8; } message UpgradeResPlanListReq { Page page = 1; UpgradeResPlanVo vo = 2; repeated string productCodes = 3; repeated int64 excludeIds = 4; } message UpgradeResPlanListResp { int64 total = 1; repeated UpgradeResPlanVo list = 2; } // end UpgradeResPlan // UpgradeResPlanDetail message UpgradeResPlanDetailVo { int64 id = 1; // ID int64 planId = 2; // 方案ID string platform = 3; // 平台 string channel = 4; // 渠道 string name = 5; // 名称 int64 ver = 6; // 资源版本号 string url = 7; // 资源地址 string info = 8; // 更新信息 string md5 = 9; // 资源 md5值 int64 size = 10; // 资源大小 string testUpgradePolicyConfig = 11; // 测试更新策略配置 string upgradePolicyConfig = 12; // 更新策略配置 string forceUpgradePolicyConfig = 13; // 强制更新策略 Status status = 14; // 状态,1=正常,2=冻结 string remark = 15; // 备注 int64 createTime = 16; // 创建时间秒 int64 updateTime = 17; // 修改时间秒 } message UpgradeResPlanDetailListReq { Page page = 1; UpgradeResPlanDetailVo vo = 2; repeated int64 planIds = 3; } message UpgradeResPlanDetailListResp { int64 total = 1; repeated UpgradeResPlanDetailVo list = 2; } // end UpgradeResPlanDetail // AdPlan message AdPlanVo { int64 id = 1; string productCode = 2; // 产品code string areas = 3; // 地区列表 string config = 4; // 配置 int64 sort = 5; Status status = 6; // 状态 string remark = 7; int64 createTime = 8; int64 updateTime = 9; } message AdPlanListReq { Page page = 1; AdPlanVo vo = 2; repeated string productCodes = 3; repeated int64 excludeIds = 4; } message AdPlanListResp { int64 total = 1; repeated AdPlanVo list = 2; } // end AdPlan // AdPlanDetail message AdPlanDetailVo { int64 id = 1; int64 planId = 2; // 方案ID string adPlatform = 3; // 平台 string adType = 4; // 广告类型 string adSlot = 5; // 广告位置 string adDatas = 6; // 广告资源 string testPolicyConfig = 7; // 策略配置 string policyConfig = 8; // 策略配置 int64 sort = 9; // 排序 Status status = 10; // 0未知,1正常,2暂停 string remark = 11; int64 createTime = 12; int64 updateTime = 13; string version = 14; } message AdPlanDetailListReq { Page page = 1; AdPlanDetailVo vo = 2; repeated int64 planIds = 3; } message AdPlanDetailListResp { int64 total = 1; repeated AdPlanDetailVo list = 2; } // end AdPlanDetail // AdGlobalConfig message AdGlobalConfigVo { int64 id = 1; string productCode = 2; // 产品code string platforms = 3; // 按平台分类的广告配置JSON string remark = 4; // 备注 int64 createTime = 5; // 创建时间 int64 updateTime = 6; // 更新时间 } message AdGlobalConfigGetReq { string productCode = 1; // 产品代码 } // end AdGlobalConfig // JobBatch message JobBatchVo { int64 id = 1; // ID string name = 2; // 作业名称 string type = 3; // 作业类型 string initParams = 4; // 作业初始化参数 string contextData = 5; // 上下文数据,可用于存储此次批量作业的任务过程中产生的通用的中间数据 string beginHandler = 6; // 预处理函数/URL string afterHandler = 7; // 后处理函数/URL int64 concurrency = 8; // 并发控制数 string retryPolicy = 9; // 子任务重试策略 int64 startedTime = 10; // 批量作业开始时间 int64 finishedTime = 11; // 批量作业完成时间 string result = 12; // 批量作业返回结果 string status = 13; // 批量作业完成状态 string remark = 14; // 备注 int64 createAt = 15; // 创建者ID int64 updateAt = 16; // 更新者ID int64 createTime = 17; // 创建时间 int64 updateTime = 18; // 更新时间 } message JobBatchWithTasksVo { JobBatchVo jobBatch = 1; repeated JobTasksVo jobTasks = 2; } message TimeRange { int64 start = 1; int64 end = 2; } message JobBatchListReq { Page page = 1; JobBatchVo vo = 2; TimeRange startedTimeRange = 3; TimeRange finishedTimeRange = 4; repeated string statuses = 5; repeated int64 excludeIds = 6; } message JobBatchListResp { int64 total = 1; repeated JobBatchVo list = 2; } message JobBatchListWithTasksResp { int64 total = 1; repeated JobBatchWithTasksVo list = 2; } // end JobBatch // JobTasks message JobTasksVo { int64 id = 1; // 任务id int64 batchId = 2; // 批量作业Id string name = 3; // 任务名称 string initParams = 4; // 任务初始化配置及数据 string runtimeData = 5; // 任务运行时数据,用于临时存储任务过程中各个关键节点的中间数据 string externalRefs = 6; // 外部系统引用,用于记录与外部系统交互产生的关联标识 int64 startedTime = 7; // 任务开始时间 int64 finishedTime = 8; // 任务结束时间 int64 retryCount = 9; // 当前已重试次数 string result = 10; // 任务执行结果 string status = 11; // 任务状态 string remark = 12; // 备注 int64 createAt = 13; // 创建者ID int64 updateAt = 14; // 更新者ID int64 createTime = 15; // 创建时间 int64 updateTime = 16; // 更新时间 } message JobTasksListReq { Page page = 1; JobTasksVo vo = 2; TimeRange startedTimeRange = 3; TimeRange finishedTimeRange = 4; repeated string statuses = 5; repeated int64 excludeIds = 6; } message JobTasksListResp { int64 total = 1; repeated JobTasksVo list = 2; } // end JobTasks // DeployConfig message DeployConfigVo { int64 id = 1; // ID string name = 2; // 名称 string type = 3; // 类型 string data = 4; // 数据 Status status = 5; // 状态 string remark = 6; // 备注 int64 createTime = 7; // 创建时间 int64 updateTime = 8; // 更新时间 } message DeployConfigListReq { Page page = 1; DeployConfigVo vo = 2; repeated int64 excludeIds = 3; } message DeployConfigListResp { int64 total = 1; repeated DeployConfigVo list = 2; } // end DeployConfig // OperationLog message OperationLogVo { int64 id = 1; int64 sysUserId = 2; string productCode = 3; string model = 4; string action = 5; string details = 6; string result = 7; int64 updateTime = 8; int64 createTime = 9; } message OperationLogListReq { Page page = 1; OperationLogVo vo = 2; repeated string productCodes = 3; repeated int64 excludeIds = 4; } message OperationLogListResp { int64 total = 1; repeated OperationLogVo list = 2; } // end OperationLog // AnnouncePlan message AnnouncePlanVo { int64 id = 1; string productCode = 2; // 产品code string areas = 3; // 地区列表 int64 sort = 4; Status status = 5; // 状态 string remark = 6; int64 createTime = 7; int64 updateTime = 8; } message AnnouncePlanListReq { Page page = 1; AnnouncePlanVo vo = 2; repeated string productCodes = 3; repeated int64 excludeIds = 4; } message AnnouncePlanListResp { int64 total = 1; repeated AnnouncePlanVo list = 2; } // end AnnouncePlan // AnnouncePlanDetail message AnnouncePlanDetailVo { int64 id = 1; int64 planId = 2; // 方案ID string platforms = 3; // 平台 string channels = 4; // 渠道 string icon = 5; // 图标 string title = 6; // 标题 string content = 7; // 内容 string url = 8; // 商店地址 string buttonText = 9; // 按钮文本 int64 closeable = 10; // 是否可关闭 int64 sort = 11; // 排序 string policyConfig = 12; // 更新策略配置 Status status = 13; // 状态 string remark = 14; int64 createTime = 15; int64 updateTime = 16; } message AnnouncePlanDetailListReq { Page page = 1; AnnouncePlanDetailVo vo = 2; repeated int64 planIds = 3; } message AnnouncePlanDetailListResp { int64 total = 1; repeated AnnouncePlanDetailVo list = 2; } // end AnnouncePlanDetail // ServiceTypes message ServiceTypesVo { int64 id = 1; string productCode = 2; string name = 3; int64 userLevel = 4; int64 deviceLimit = 5; // 可选字段,Go中是 *int64 int64 sort = 6; string config = 7; Status status = 8; string remark = 9; int64 createTime = 10; int64 updateTime = 11; } message ServiceTypesGetReq { int64 id = 1; } message ServiceTypesListReq { Page page = 1; ServiceTypesVo vo = 2; repeated string productCodes = 3; repeated int64 excludeIds = 4; } message ServiceTypesListResp { int64 total = 1; repeated ServiceTypesVo list = 2; } message ServiceTypesAddReq { ServiceTypesVo vo = 1; } message ServiceTypesUpdateReq { ServiceTypesVo vo = 1; } message ServiceTypesDelReq { int64 id = 1; } // end ServiceTypes // ServiceSets message ServiceSetsVo { int64 id = 1; string productCode = 2; int64 serviceTypeId = 3; string name = 4; int64 licenseDays = 5; string channel = 6; string channelItemId = 7; int64 refPortalServiceSetId = 8; // Go中是 sql.int64,转换为 int64 string appleChannelItemId = 9; string googleChannelItemId = 10; string title = 11; string subTitle = 12; string introduce = 13; float orgPrice = 14; float price = 15; BoolInt display = 16; BoolInt isDefault = 17; BoolInt recommend = 18; BoolInt hidden = 19; int64 sort = 20; Status status = 21; string remark = 22; int64 createTime = 23; int64 updateTime = 24; } message ServiceSetsGetReq { int64 id = 1; } message ServiceSetsListReq { Page page = 1; ServiceSetsVo vo = 2; repeated string productCodes = 3; repeated int64 serviceTypeIds = 4; repeated int64 excludeIds = 5; } message ServiceSetsListResp { int64 total = 1; repeated ServiceSetsVo list = 2; } message ServiceSetsAddReq { ServiceSetsVo vo = 1; } message ServiceSetsUpdateReq { ServiceSetsVo vo = 1; } message ServiceSetsDelReq { int64 id = 1; } // end ServiceSets message MessagePushVo { int64 id = 1; string status = 2; int64 operator = 3; string module = 4; string title = 5; string message = 6; string imgUrl = 7; string data = 8; string productCode = 9; int64 areaParam = 10; repeated string topics = 11; repeated string firebaseTokens = 12; int64 publishTime = 13; int64 createTime = 14; int64 updateTime = 15; } message MessagePushListReq { Page page = 1; MessagePushVo vo = 2; } message MessagePushListResp { int64 total = 1; repeated MessagePushVo list = 2; } // 基础服务: 产品管理,产品配置,升级配置、更新资源管理,资源版本管理,全局配置 service GoPmpClient { rpc Ping(Request) returns (Response); // GlobalParamVo rpc GlobalParamAdd(GlobalParamVo) returns (GlobalParamVo); rpc GlobalParamUpdate(GlobalParamVo) returns (GlobalParamVo); rpc GlobalParamDel(Ids) returns (Empty); rpc GlobalParamGet(GlobalParamVo) returns (GlobalParamVo); // 兼容旧接口,新版本代码中请不要调用 rpc GlobalParamGetWithLang(GlobalParamGetReq) returns (GlobalParamVo); rpc GlobalParamList(GlobalParamListReq) returns (GlobalParamListResp); // ProductVo rpc ProductAdd(ProductVo) returns (ProductVo); rpc ProductUpdate(ProductVo) returns (ProductVo); rpc ProductDel(Ids) returns (Empty); rpc ProductGet(ProductVo) returns (ProductVo); rpc ProductList(ProductListReq) returns (ProductListResp); rpc ProductAll(Request) returns (ProductListResp); // ProductParamVo rpc ProductParamAdd(ProductParamVo) returns (ProductParamVo); rpc ProductParamUpdate(ProductParamVo) returns (ProductParamVo); rpc ProductParamDel(Ids) returns (Empty); rpc ProductParamGet(ProductParamVo) returns (ProductParamVo); // 兼容旧接口,新版本代码中请不要调用 rpc ProductParamGetWithLang(ProductParamGetReq) returns (ProductParamVo); rpc ProductParamList(ProductParamListReq) returns (ProductParamListResp); // ProductAction 产品行为配置 rpc ProductActionAdd(ProductActionVo) returns (ProductActionVo); rpc ProductActionUpdate(ProductActionVo) returns (ProductActionVo); rpc ProductActionDel(Ids) returns (Empty); rpc ProductActionGet(ProductActionReq) returns (ProductActionVo); rpc ProductActionList(ProductActionListReq) returns (ProductActionListResp); // AreaParamVo rpc AreaParamAdd(AreaParamVo) returns (AreaParamVo); rpc AreaParamUpdate(AreaParamVo) returns (AreaParamVo); rpc AreaParamDel(Ids) returns (Empty); rpc AreaParamGet(AreaParamVo) returns (AreaParamVo); rpc AreaParamList(AreaParamListReq) returns (AreaParamListResp); // NationalLanguage rpc NationalLanguageAdd(NationalLanguageVo) returns (NationalLanguageVo); rpc NationalLanguageUpdate(NationalLanguageVo) returns (NationalLanguageVo); rpc NationalLanguageDel(Ids) returns (Empty); rpc NationalLanguageGet(NationalLanguageVo) returns (NationalLanguageVo); rpc NationalLanguageList(NationalLanguageListReq) returns (NationalLanguageListResp); // Tip rpc TipAdd(TipVo) returns (TipVo); rpc TipUpdate(TipVo) returns (TipVo); rpc TipDel(Ids) returns (Empty); rpc TipGet(TipGetReq) returns (TipVo); rpc TipList(TipListReq) returns (TipListResp); // Dict rpc DictAdd(DictVo) returns (DictVo); rpc DictUpdate(DictVo) returns (DictVo); rpc DictDel(Ids) returns (Empty); rpc DictGet(DictGetReq) returns (DictVo); rpc DictList(DictListReq) returns (DictListResp); // // UpgradeRes 热更新代码资源管理 // rpc UpgradeResAdd(UpgradeResVo) returns (UpgradeResVo); // rpc UpgradeResUpdate(UpgradeResVo) returns (Empty); // rpc UpgradeResDel(ResourceDelReq) returns (Empty); // rpc UpgradeResGet(UpgradeResGetReq) returns (UpgradeResVo); // rpc UpgradeResList(UpgradeResListReq) returns (UpgradeResListResp); // // UpgradePkg app 包更新管理 // rpc UpgradePkgAdd(UpgradePkgVo) returns (UpgradePkgVo); // rpc UpgradePkgUpdate(UpgradePkgVo) returns (Empty); // rpc UpgradePkgDel(Ids) returns (Empty); // rpc UpgradePkgGet(UpgradePkgGetReq) returns (UpgradePkgVo); // rpc UpgradePkgList(UpgradePkgListReq) returns (UpgradePkgListResp); // // UpgradeResConfig // 热更新【代码资源】配置管理,控制哪些版本地区的用户可以更新 rpc // UpgradeResConfigAdd(UpgradeResConfigVo) returns (UpgradeResConfigVo); rpc // UpgradeResConfigUpdate(UpgradeResConfigVo) returns (Empty); rpc // UpgradeResConfigDel(Ids) returns (Empty); rpc // UpgradeResConfigGet(UpgradeResConfigGetReq) returns (UpgradeResConfigVo); // rpc UpgradeResConfigList(UpgradeResConfigListReq) // returns (UpgradeResConfigListResp); // UpgradePkgPlan rpc UpgradePkgPlanAdd(UpgradePkgPlanVo) returns (UpgradePkgPlanVo); rpc UpgradePkgPlanUpdate(UpgradePkgPlanVo) returns (UpgradePkgPlanVo); rpc UpgradePkgPlanDel(Ids) returns (Empty); rpc UpgradePkgPlanGet(UpgradePkgPlanVo) returns (UpgradePkgPlanVo); rpc UpgradePkgPlanList(UpgradePkgPlanListReq) returns (UpgradePkgPlanListResp); // UpgradePkgPlanDetail rpc UpgradePkgPlanDetailAdd(UpgradePkgPlanDetailVo) returns (UpgradePkgPlanDetailVo); rpc UpgradePkgPlanDetailUpdate(UpgradePkgPlanDetailVo) returns (UpgradePkgPlanDetailVo); rpc UpgradePkgPlanDetailDel(Ids) returns (Empty); rpc UpgradePkgPlanDetailGet(UpgradePkgPlanDetailVo) returns (UpgradePkgPlanDetailVo); rpc UpgradePkgPlanDetailList(UpgradePkgPlanDetailListReq) returns (UpgradePkgPlanDetailListResp); // UpgradeResPlan rpc UpgradeResPlanAdd(UpgradeResPlanVo) returns (UpgradeResPlanVo); rpc UpgradeResPlanUpdate(UpgradeResPlanVo) returns (UpgradeResPlanVo); rpc UpgradeResPlanDel(Ids) returns (Empty); rpc UpgradeResPlanGet(UpgradeResPlanVo) returns (UpgradeResPlanVo); rpc UpgradeResPlanList(UpgradeResPlanListReq) returns (UpgradeResPlanListResp); // UpgradeResPlanDetail rpc UpgradeResPlanDetailAdd(UpgradeResPlanDetailVo) returns (UpgradeResPlanDetailVo); rpc UpgradeResPlanDetailUpdate(UpgradeResPlanDetailVo) returns (UpgradeResPlanDetailVo); rpc UpgradeResPlanDetailDel(Ids) returns (Empty); rpc UpgradeResPlanDetailGet(UpgradeResPlanDetailVo) returns (UpgradeResPlanDetailVo); rpc UpgradeResPlanDetailList(UpgradeResPlanDetailListReq) returns (UpgradeResPlanDetailListResp); // AdPlan rpc AdPlanAdd(AdPlanVo) returns (AdPlanVo); rpc AdPlanUpdate(AdPlanVo) returns (AdPlanVo); rpc AdPlanDel(Ids) returns (Empty); rpc AdPlanGet(AdPlanVo) returns (AdPlanVo); rpc AdPlanList(AdPlanListReq) returns (AdPlanListResp); // AdPlanDetail rpc AdPlanDetailAdd(AdPlanDetailVo) returns (AdPlanDetailVo); rpc AdPlanDetailUpdate(AdPlanDetailVo) returns (AdPlanDetailVo); rpc AdPlanDetailDel(Ids) returns (Empty); rpc AdPlanDetailGet(AdPlanDetailVo) returns (AdPlanDetailVo); rpc AdPlanDetailList(AdPlanDetailListReq) returns (AdPlanDetailListResp); // AdGlobalConfig rpc AdGlobalConfigGet(AdGlobalConfigGetReq) returns (AdGlobalConfigVo); rpc AdGlobalConfigUpdate(AdGlobalConfigVo) returns (AdGlobalConfigVo); // JobBatch rpc JobBatchAdd(JobBatchVo) returns (JobBatchVo); rpc JobBatchAddWithTasks(JobBatchWithTasksVo) returns (JobBatchWithTasksVo); rpc JobBatchUpdate(JobBatchVo) returns (JobBatchVo); rpc JobBatchDel(Ids) returns (Empty); rpc JobBatchGet(JobBatchVo) returns (JobBatchVo); rpc JobBatchGetWithTasks(JobBatchVo) returns (JobBatchWithTasksVo); rpc JobBatchList(JobBatchListReq) returns (JobBatchListResp); rpc JobBatchListWithTasks(JobBatchListReq) returns (JobBatchListWithTasksResp); // JobTasks rpc JobTasksAdd(JobTasksVo) returns (JobTasksVo); rpc JobTasksUpdate(JobTasksVo) returns (JobTasksVo); rpc JobTasksDel(Ids) returns (Empty); rpc JobTasksGet(JobTasksVo) returns (JobTasksVo); rpc JobTasksList(JobTasksListReq) returns (JobTasksListResp); // DeployConfig rpc DeployConfigAdd(DeployConfigVo) returns (DeployConfigVo); rpc DeployConfigUpdate(DeployConfigVo) returns (DeployConfigVo); rpc DeployConfigDel(Ids) returns (Empty); rpc DeployConfigGet(DeployConfigVo) returns (DeployConfigVo); rpc DeployConfigList(DeployConfigListReq) returns (DeployConfigListResp); // OperationLog rpc OperationLogAdd(OperationLogVo) returns (OperationLogVo); rpc OperationLogUpdate(OperationLogVo) returns (OperationLogVo); rpc OperationLogGet(OperationLogVo) returns (OperationLogVo); rpc OperationLogList(OperationLogListReq) returns (OperationLogListResp); // AnnouncePlan rpc AnnouncePlanAdd(AnnouncePlanVo) returns (AnnouncePlanVo); rpc AnnouncePlanUpdate(AnnouncePlanVo) returns (AnnouncePlanVo); rpc AnnouncePlanDel(Ids) returns (Empty); rpc AnnouncePlanGet(AnnouncePlanVo) returns (AnnouncePlanVo); rpc AnnouncePlanList(AnnouncePlanListReq) returns (AnnouncePlanListResp); // AnnouncePlanDetail rpc AnnouncePlanDetailAdd(AnnouncePlanDetailVo) returns (AnnouncePlanDetailVo); rpc AnnouncePlanDetailUpdate(AnnouncePlanDetailVo) returns (AnnouncePlanDetailVo); rpc AnnouncePlanDetailDel(Ids) returns (Empty); rpc AnnouncePlanDetailGet(AnnouncePlanDetailVo) returns (AnnouncePlanDetailVo); rpc AnnouncePlanDetailList(AnnouncePlanDetailListReq) returns (AnnouncePlanDetailListResp); // ServiceTypes rpc ServiceTypesAdd(ServiceTypesAddReq) returns (ServiceTypesVo); rpc ServiceTypesUpdate(ServiceTypesUpdateReq) returns (ServiceTypesVo); rpc ServiceTypesDel(ServiceTypesDelReq) returns (Empty); rpc ServiceTypesGet(ServiceTypesGetReq) returns (ServiceTypesVo); rpc ServiceTypesList(ServiceTypesListReq) returns (ServiceTypesListResp); // ServiceSets rpc ServiceSetsAdd(ServiceSetsAddReq) returns (ServiceSetsVo); rpc ServiceSetsUpdate(ServiceSetsUpdateReq) returns (ServiceSetsVo); rpc ServiceSetsDel(ServiceSetsDelReq) returns (Empty); rpc ServiceSetsGet(ServiceSetsGetReq) returns (ServiceSetsVo); rpc ServiceSetsList(ServiceSetsListReq) returns (ServiceSetsListResp); // MessagePush rpc MessagePushAdd(MessagePushVo) returns (MessagePushVo); rpc MessagePushUpdate(MessagePushVo) returns (MessagePushVo); rpc MessagePushList(MessagePushListReq) returns (MessagePushListResp); }