| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687 |
- syntax = "proto3";
- package gorpc;
- option go_package = "code.clickto.dev/nomo-server/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;
- int64 groupId = 2;
- string productCode = 3;
- string imgUrl = 4;
- string actionType = 5;
- string actionData = 6;
- string title = 7;
- Status status = 8;
- int64 createTime = 9;
- int64 updateTime = 10;
- int64 sort = 11;
- string versionPolicy = 12;
- string platform = 13;
- string channel = 14;
- }
- message ProductActionReq { ProductActionVo vo = 1; }
- message ProductActionListReq {
- Page page = 1;
- ProductActionVo vo = 2;
- repeated string productCodes = 3;
- repeated int64 excludeIds = 4;
- repeated int64 groupIds = 5;
- }
- message ProductActionListResp {
- int64 total = 1;
- repeated ProductActionVo list = 2;
- }
- // end ProductAction
- // ProductActionGroup 产品行为分组
- message ProductActionGroupVo {
- int64 id = 1;
- string productCode = 2;
- string area = 3; // 地区,存储json字符串
- string platform = 4; // 平台,存储json字符串
- string channel = 5; // 渠道,存储json字符串
- string versionPolicy = 6; // 版本策略,存储json字符串
- int64 sort = 7; // 排序
- Status status = 8; // 状态 0未知 1正常 2禁用
- string title = 9; // 标题
- int64 createTime = 10;
- int64 updateTime = 11;
- }
- message ProductActionGroupReq { ProductActionGroupVo vo = 1; }
- message ProductActionGroupListReq {
- Page page = 1;
- ProductActionGroupVo vo = 2;
- repeated string productCodes = 3;
- repeated int64 excludeIds = 4;
- }
- message ProductActionGroupListResp {
- int64 total = 1;
- repeated ProductActionGroupVo list = 2;
- }
- message ProductActionGroupDisableReq { repeated int64 ids = 1; }
- message ProductActionGroupEnableReq { repeated int64 ids = 1; }
- // end ProductActionGroup
- // ProductActionPolicyGroup 产品行为策略分组
- message ProductActionPolicyGroupVo {
- int64 id = 1;
- string productCode = 2;
- int64 groupId = 3; // productActionGroupID
- string platform = 4; // 平台,存储json字符串
- string channel = 5; // 渠道,存储json字符串
- string versionPolicy = 6; // 版本策略,存储json字符串
- int64 sort = 7; // 排序
- Status status = 8; // 状态 0未知 1正常 2禁用
- string title = 9; // 标题
- int64 createTime = 10;
- int64 updateTime = 11;
- string Position = 12;
- }
- message ProductActionPolicyGroupReq { ProductActionPolicyGroupVo vo = 1; }
- message ProductActionPolicyGroupListReq {
- Page page = 1;
- ProductActionPolicyGroupVo vo = 2;
- repeated string productCodes = 3;
- repeated int64 excludeIds = 4;
- repeated int64 groupIds = 5;
- }
- message ProductActionPolicyGroupListResp {
- int64 total = 1;
- repeated ProductActionPolicyGroupVo list = 2;
- }
- message ProductActionPolicyGroupDisableReq { repeated int64 ids = 1; }
- message ProductActionPolicyGroupEnableReq { repeated int64 ids = 1; }
- // end ProductActionPolicyGroup
- // ProductActionType 产品行为类型
- message ProductActionTypeVo {
- int64 id = 1;
- string name = 2; // 名称
- string description = 3; // 描述
- int64 createTime = 4;
- int64 updateTime = 5;
- }
- message ProductActionTypeReq { ProductActionTypeVo vo = 1; }
- message ProductActionTypeListReq {
- Page page = 1;
- ProductActionTypeVo vo = 2;
- repeated int64 excludeIds = 3;
- }
- message ProductActionTypeListResp {
- int64 total = 1;
- repeated ProductActionTypeVo list = 2;
- }
- // end ProductActionType
- // 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; // ID
- string productCode = 2; // 产品标识
- string code = 3; // 权益标识
- string name = 4; // 权益名称
- int64 sort = 5; // 排序
- Status status = 6; // 状态 1启用 2禁用
- string remark = 7; // 备注
- int64 createTime = 8; // 创建时间
- int64 createAt = 9; // 创建者ID
- int64 updateTime = 10; // 更新时间
- int64 updateAt = 11; // 更新者ID
- }
- message ServiceTypesWithValueVo {
- ServiceTypesVo vo = 1;
- int64 value = 2;
- }
- message ServiceTypesGetReq { ServiceTypesVo vo = 1; }
- message ServiceTypesGetResp { ServiceTypesVo vo = 1; }
- message ServiceTypesGetWithValueReq {
- int64 planId = 1;
- string productCode = 2;
- string servicePlanCode = 3;
- int64 serviceTypeId = 4;
- string serviceTypeCode = 5;
- }
- message ServiceTypesGetWithValueResp {
- ServiceTypesVo vo = 1;
- int64 value = 2;
- }
- message ServiceTypesAddReq { ServiceTypesVo vo = 1; }
- message ServiceTypesAddResp { ServiceTypesVo vo = 1; }
- message ServiceTypesUpdateReq { ServiceTypesVo vo = 1; }
- message ServiceTypesUpdateResp { ServiceTypesVo vo = 1; }
- message ServiceTypesDelReq { repeated int64 ids = 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 ServiceTypesListWithValueReq {
- Page page = 1;
- ServiceTypesVo vo = 2;
- repeated int64 planIds = 3;
- repeated string productCodes = 4;
- repeated string servicePlanCodes = 5;
- repeated int64 excludeIds = 6;
- }
- message ServiceTypesListWithValueResp {
- int64 total = 1;
- repeated ServiceTypesWithValueVo list = 2;
- }
- // end ServiceTypes
- // ServicePlan
- message ServicePlanVo {
- int64 id = 1; // ID
- string productCode = 2; // 产品标识
- string code = 3; // 套餐标识
- string name = 4; // 套餐名称
- int64 sort = 5; // 排序
- Status status = 6; // 状态 1启用 2禁用
- string remark = 7; // 备注
- int64 createTime = 8; // 创建时间
- int64 createAt = 9; // 创建者ID
- int64 updateTime = 10; // 更新时间
- int64 updateAt = 11; // 更新者ID
- }
- message ServicePlanWithDetailsVo {
- ServicePlanVo servicePlan = 1;
- repeated ServiceTypesWithValueVo serviceTypes = 2;
- }
- message ServicePlanWithDurationVo {
- ServicePlanVo servicePlan = 1;
- int64 licenseDurationDay = 2;
- int64 licenseDurationMinutes = 3;
- }
- message ServicePlanWithDurationAndDetailsVo {
- ServicePlanWithDurationVo servicePlan = 1;
- repeated ServiceTypesWithValueVo serviceTypes = 2;
- }
- message ServicePlanGetReq { ServicePlanVo vo = 1; }
- message ServicePlanGetResp { ServicePlanVo vo = 1; }
- message ServicePlanGetWithDetailsReq {
- ServicePlanVo vo = 1;
- }
- message ServicePlanGetWithDetailsResp {
- ServicePlanVo servicePlan = 1;
- repeated ServiceTypesWithValueVo serviceTypes = 2;
- }
- message ServicePlanAddReq { ServicePlanVo vo = 1; }
- message ServicePlanAddResp { ServicePlanVo vo = 1; }
- message ServicePlanAddWithDetailsReq {
- ServicePlanVo servicePlan = 1;
- repeated ServiceTypesWithValueVo serviceTypes = 2;
- }
- message ServicePlanAddWithDetailsResp {
- ServicePlanVo servicePlan = 1;
- repeated ServiceTypesWithValueVo serviceTypes = 2;
- }
- message ServicePlanUpdateReq { ServicePlanVo vo = 1; }
- message ServicePlanUpdateResp { ServicePlanVo vo = 1; }
- message ServicePlanUpdateWithDetailsReq {
- ServicePlanVo servicePlan = 1;
- repeated ServiceTypesWithValueVo serviceTypes = 2;
- }
- message ServicePlanUpdateWithDetailsResp {
- ServicePlanVo servicePlan = 1;
- repeated ServiceTypesWithValueVo serviceTypes = 2;
- }
- message ServicePlanDelReq { repeated int64 ids = 1; }
- message ServicePlanListReq {
- Page page = 1;
- ServicePlanVo vo = 2;
- repeated string productCodes = 3;
- repeated int64 excludeIds = 4;
- }
- message ServicePlanListResp {
- int64 total = 1;
- repeated ServicePlanVo list = 2;
- }
- message ServicePlanListWithDetailsReq {
- Page page = 1;
- ServicePlanVo vo = 2;
- repeated string productCodes = 3;
- repeated int64 excludeIds = 4;
- }
- message ServicePlanListWithDetailsResp {
- int64 total = 1;
- repeated ServicePlanWithDetailsVo list = 2;
- }
- // end ServicePlan
- // ServicePlanTypes
- message ServicePlanTypesVo {
- int64 id = 1; // ID
- int64 servicePlanId = 2; // 套餐ID
- int64 serviceTypeId = 3; // 权益ID
- int64 serviceValue = 4; // 权益值 根据不同的 serviceTypeId,这里的值的含义不同
- int64 createTime = 5; // 创建时间
- int64 createAt = 6; // 创建者ID
- int64 updateTime = 7; // 更新时间
- int64 updateAt = 8; // 更新者ID
- }
- message ServicePlanTypesGetReq { ServicePlanTypesVo vo = 1; }
- message ServicePlanTypesGetResp { ServicePlanTypesVo vo = 1; }
- message ServicePlanTypesAddReq { ServicePlanTypesVo vo = 1; }
- message ServicePlanTypesAddResp { ServicePlanTypesVo vo = 1; }
- message ServicePlanTypesUpdateReq { ServicePlanTypesVo vo = 1; }
- message ServicePlanTypesUpdateResp { ServicePlanTypesVo vo = 1; }
- message ServicePlanTypesDelReq { repeated int64 ids = 1; }
- message ServicePlanTypesListReq {
- Page page = 1;
- ServicePlanTypesVo vo = 2;
- repeated int64 servicePlanIds = 3;
- repeated int64 serviceTypeIds = 4;
- repeated int64 excludeIds = 5;
- }
- message ServicePlanTypesListResp {
- int64 total = 1;
- repeated ServicePlanTypesVo list = 2;
- }
- // end ServicePlanTypes
- // SubscribePeriodType 订阅周期类型
- enum SubscribePeriodType {
- SubscribePeriodTypeUnknown = 0;
- SubscribePeriodTypeDay = 1;
- SubscribePeriodTypeWeek = 2;
- SubscribePeriodTypeMonth = 3;
- SubscribePeriodTypeYear = 4;
- }
- // ServiceGoods
- message ServiceGoodsVo {
- int64 id = 1; // ID
- string productCode = 2; // 产品标识
- string code = 3; // 商品code
- string name = 4; // 商品名称
- string title = 5; // 标题(默认值,对外显示)
- string subTitle = 6; // 副标题(默认值,对外显示)
- string introduce = 7; // 简介(默认值,对外显示)
- string tag = 8; // 标签内容(默认值,对外显示)
- float orgPrice = 9; // 原价(默认值)
- float price = 10; // 现价(默认值)
- int64 currency = 11; // 价格货币类型(默认值)
- BoolInt recommend = 12; // 是否推荐商品(默认值) 1推荐 2不推荐
- BoolInt isDefault = 13; // 是否默认商品(默认值) 1默认 2不默认
- BoolInt subscribeType = 14; // 订阅类型 1订阅类型 2非订阅类型
- SubscribePeriodType subscribePeriodType = 15; // 订阅周期类型 1Day 2Week 3Month 4Year(仅当订阅类型为1时有效)
- int64 subscribePeriodValue = 16; // 订阅周期值(仅当订阅类型为1时有效)
- int64 priority = 17; // 商品消费优先级
- int64 mergeRule = 18; // 商品合并规则(规则一样的商品包含的权益可以合并到一起)
- int64 sort = 19; // 排序
- Status status = 20; // 状态 1启用 2禁用
- string remark = 21; // 备注
- int64 createTime = 22; // 创建时间
- int64 createAt = 23; // 创建者ID
- int64 updateTime = 24; // 更新时间
- int64 updateAt = 25; // 更新者ID
- }
- message ServiceGoodsWithPlansVo {
- ServiceGoodsVo serviceGoods = 1;
- repeated ServicePlanWithDurationVo servicePlans = 2;
- }
- message ServiceGoodsWithPlansAndDetailsVo {
- ServiceGoodsVo serviceGoods = 1;
- repeated ServicePlanWithDurationAndDetailsVo servicePlans = 2;
- }
- message ServiceGoodsGetReq { ServiceGoodsVo vo = 1; }
- message ServiceGoodsGetResp { ServiceGoodsVo vo = 1; }
- message ServiceGoodsGetWithPlansReq { ServiceGoodsVo vo = 1; }
- message ServiceGoodsGetWithPlansResp {
- ServiceGoodsVo serviceGoods = 1;
- repeated ServicePlanWithDurationVo servicePlans = 2;
- }
- message ServiceGoodsGetWithPlansAndDetailsReq { ServiceGoodsVo vo = 1; }
- message ServiceGoodsGetWithPlansAndDetailsResp {
- ServiceGoodsVo serviceGoods = 1;
- repeated ServicePlanWithDurationAndDetailsVo servicePlans = 2;
- }
- message ServiceGoodsAddReq { ServiceGoodsVo vo = 1; }
- message ServiceGoodsAddResp { ServiceGoodsVo vo = 1; }
- message ServiceGoodsAddWithPlansReq {
- ServiceGoodsVo serviceGoods = 1;
- repeated ServicePlanWithDurationVo servicePlans = 2;
- }
- message ServiceGoodsAddWithPlansResp {
- ServiceGoodsVo serviceGoods = 1;
- repeated ServicePlanWithDurationVo servicePlans = 2;
- }
- message ServiceGoodsAddWithPlansAndDetailsReq {
- ServiceGoodsVo serviceGoods = 1;
- repeated ServicePlanWithDurationAndDetailsVo servicePlans = 2;
- }
- message ServiceGoodsAddWithPlansAndDetailsResp {
- ServiceGoodsVo serviceGoods = 1;
- repeated ServicePlanWithDurationAndDetailsVo servicePlans = 2;
- }
- message ServiceGoodsUpdateReq { ServiceGoodsVo vo = 1; }
- message ServiceGoodsUpdateResp { ServiceGoodsVo vo = 1; }
- message ServiceGoodsUpdateWithPlansReq {
- ServiceGoodsVo serviceGoods = 1;
- repeated ServicePlanWithDurationVo servicePlans = 2;
- }
- message ServiceGoodsUpdateWithPlansResp {
- ServiceGoodsVo serviceGoods = 1;
- repeated ServicePlanWithDurationVo servicePlans = 2;
- }
- message ServiceGoodsUpdateWithPlansAndDetailsReq {
- ServiceGoodsVo serviceGoods = 1;
- repeated ServicePlanWithDurationAndDetailsVo servicePlans = 2;
- }
- message ServiceGoodsUpdateWithPlansAndDetailsResp {
- ServiceGoodsVo serviceGoods = 1;
- repeated ServicePlanWithDurationAndDetailsVo servicePlans = 2;
- }
- message ServiceGoodsDelReq { repeated int64 ids = 1; }
- message ServiceGoodsListReq {
- Page page = 1;
- ServiceGoodsVo vo = 2;
- repeated string productCodes = 3;
- repeated int64 excludeIds = 4;
- }
- message ServiceGoodsListResp {
- int64 total = 1;
- repeated ServiceGoodsVo list = 2;
- }
- message ServiceGoodsListWithPlansReq {
- Page page = 1;
- ServiceGoodsVo vo = 2;
- repeated string productCodes = 3;
- repeated int64 excludeIds = 4;
- }
- message ServiceGoodsListWithPlansResp {
- int64 total = 1;
- repeated ServiceGoodsWithPlansVo list = 2;
- }
- message ServiceGoodsListWithPlansAndDetailsReq {
- Page page = 1;
- ServiceGoodsVo vo = 2;
- repeated string productCodes = 3;
- repeated int64 excludeIds = 4;
- }
- message ServiceGoodsListWithPlansAndDetailsResp {
- int64 total = 1;
- repeated ServiceGoodsWithPlansAndDetailsVo list = 2;
- }
- // end ServiceGoods
- // ServiceGoodsPlans
- message ServiceGoodsPlansVo {
- int64 id = 1; // ID
- int64 serviceGoodsId = 2; // 商品ID
- int64 servicePlanId = 3; // 套餐ID
- int64 licenseDurationDay = 4; // 套餐持续天数
- int64 licenseDurationMinutes = 5; // 套餐额外持续分钟数
- int64 createTime = 6; // 创建时间
- int64 createAt = 7; // 创建者ID
- int64 updateTime = 8; // 更新时间
- int64 updateAt = 9; // 更新者ID
- }
- message ServiceGoodsPlansGetReq { ServiceGoodsPlansVo vo = 1; }
- message ServiceGoodsPlansGetResp { ServiceGoodsPlansVo vo = 1; }
- message ServiceGoodsPlansAddReq { ServiceGoodsPlansVo vo = 1; }
- message ServiceGoodsPlansAddResp { ServiceGoodsPlansVo vo = 1; }
- message ServiceGoodsPlansUpdateReq { ServiceGoodsPlansVo vo = 1; }
- message ServiceGoodsPlansUpdateResp { ServiceGoodsPlansVo vo = 1; }
- message ServiceGoodsPlansDelReq { repeated int64 ids = 1; }
- message ServiceGoodsPlansListReq {
- Page page = 1;
- ServiceGoodsPlansVo vo = 2;
- repeated int64 serviceGoodsIds = 3;
- repeated int64 servicePlanIds = 4;
- repeated int64 excludeIds = 5;
- }
- message ServiceGoodsPlansListResp {
- int64 total = 1;
- repeated ServiceGoodsPlansVo list = 2;
- }
- // end ServiceGoodsPlans
- // ServiceGoodsChannel
- message ServiceGoodsChannelVo {
- int64 id = 1; // ID
- string productCode = 2; // 产品标识
- string channel = 3; // 渠道标识
- string channelItemId = 4; // 商品唯一ID或商店SKUID
- int64 serviceGoodsId = 5; // 商品ID
- string title = 6; // 自定义标题(对外显示)
- string subTitle = 7; // 自定义副标题(对外显示)
- string introduce = 8; // 自定义简介(对外显示)
- string tag = 9; // 自定义标签内容(对外显示)
- float orgPrice = 10; // 在该渠道下的原价
- float price = 11; // 在该渠道下的现价
- int64 currency = 12; // 价格货币类型
- BoolInt recommend = 13; // 是否推荐商品(默认值) 1推荐 2不推荐
- BoolInt isDefault = 14; // 是否默认商品(默认值) 1默认 2不默认
- string displayPolicyConfig = 15; // 显示策略
- int64 sort = 16; // 排序
- Status status = 17; // 状态 1启用 2禁用
- string remark = 18; // 备注
- int64 createTime = 19; // 创建时间
- int64 createAt = 20; // 创建者ID
- int64 updateTime = 21; // 更新时间
- int64 updateAt = 22; // 更新者ID
- }
- message ServiceGoodsChannelWithGoodsVo {
- ServiceGoodsChannelVo serviceGoodsChannel = 1;
- ServiceGoodsVo serviceGoods = 2;
- }
- message ServiceGoodsChannelWithGoodsAndPlansVo {
- ServiceGoodsChannelVo serviceGoodsChannel = 1;
- ServiceGoodsVo serviceGoods = 2;
- repeated ServicePlanWithDurationVo servicePlans = 3;
- }
- message ServiceGoodsChannelWithGoodsAndPlansAndDetailsVo {
- ServiceGoodsChannelVo serviceGoodsChannel = 1;
- ServiceGoodsVo serviceGoods = 2;
- repeated ServicePlanWithDurationAndDetailsVo servicePlans = 3;
- }
- message ServiceGoodsChannelGetReq { ServiceGoodsChannelVo vo = 1; }
- message ServiceGoodsChannelGetResp { ServiceGoodsChannelVo vo = 1; }
- message ServiceGoodsChannelGetWithGoodsReq { ServiceGoodsChannelVo vo = 1; }
- message ServiceGoodsChannelGetWithGoodsResp {
- ServiceGoodsChannelVo serviceGoodsChannel = 1;
- ServiceGoodsVo serviceGoods = 2;
- }
- message ServiceGoodsChannelGetWithGoodsAndPlansReq { ServiceGoodsChannelVo vo = 1; }
- message ServiceGoodsChannelGetWithGoodsAndPlansResp {
- ServiceGoodsChannelVo serviceGoodsChannel = 1;
- ServiceGoodsVo serviceGoods = 2;
- repeated ServicePlanWithDurationVo servicePlans = 3;
- }
- message ServiceGoodsChannelGetWithGoodsAndPlansAndDetailsReq { ServiceGoodsChannelVo vo = 1; }
- message ServiceGoodsChannelGetWithGoodsAndPlansAndDetailsResp {
- ServiceGoodsChannelVo serviceGoodsChannel = 1;
- ServiceGoodsVo serviceGoods = 2;
- repeated ServicePlanWithDurationAndDetailsVo servicePlans = 3;
- }
- message ServiceGoodsChannelAddReq { ServiceGoodsChannelVo vo = 1; }
- message ServiceGoodsChannelAddResp { ServiceGoodsChannelVo vo = 1; }
- message ServiceGoodsChannelUpdateReq { ServiceGoodsChannelVo vo = 1; }
- message ServiceGoodsChannelUpdateResp { ServiceGoodsChannelVo vo = 1; }
- message ServiceGoodsChannelDelReq { repeated int64 ids = 1; }
- message ServiceGoodsChannelListReq {
- Page page = 1;
- ServiceGoodsChannelVo vo = 2;
- repeated string productCodes = 3;
- repeated string channels = 4;
- repeated int64 serviceGoodsIds = 5;
- repeated int64 excludeIds = 6;
- }
- message ServiceGoodsChannelListResp {
- int64 total = 1;
- repeated ServiceGoodsChannelVo list = 2;
- }
- message ServiceGoodsChannelListWithGoodsReq {
- Page page = 1;
- ServiceGoodsChannelVo vo = 2;
- repeated string productCodes = 3;
- repeated string channels = 4;
- repeated int64 serviceGoodsIds = 5;
- repeated int64 excludeIds = 6;
- }
- message ServiceGoodsChannelListWithGoodsResp {
- int64 total = 1;
- repeated ServiceGoodsChannelWithGoodsVo list = 2;
- }
- message ServiceGoodsChannelListWithGoodsAndPlansReq {
- Page page = 1;
- ServiceGoodsChannelVo vo = 2;
- repeated string productCodes = 3;
- repeated string channels = 4;
- repeated int64 serviceGoodsIds = 5;
- repeated int64 excludeIds = 6;
- }
- message ServiceGoodsChannelListWithGoodsAndPlansResp {
- int64 total = 1;
- repeated ServiceGoodsChannelWithGoodsAndPlansVo list = 2;
- }
- message ServiceGoodsChannelListWithGoodsAndPlansAndDetailsReq {
- Page page = 1;
- ServiceGoodsChannelVo vo = 2;
- repeated string productCodes = 3;
- repeated string channels = 4;
- repeated int64 serviceGoodsIds = 5;
- repeated int64 excludeIds = 6;
- }
- message ServiceGoodsChannelListWithGoodsAndPlansAndDetailsResp {
- int64 total = 1;
- repeated ServiceGoodsChannelWithGoodsAndPlansAndDetailsVo list = 2;
- }
- // end ServiceGoodsChannel
- 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;
- string pushType = 16;
- int64 publishCount = 17;
- string exData = 18;
- }
- 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 Model
- // GlobalParamAdd
- 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 Model
- // ProductAdd
- 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 Model
- // ProductParamAdd
- 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);
- // ProductActionGroup 产品行为分组
- rpc ProductActionGroupAdd(ProductActionGroupVo) returns (ProductActionGroupVo);
- rpc ProductActionGroupUpdate(ProductActionGroupVo) returns (ProductActionGroupVo);
- rpc ProductActionGroupDel(Ids) returns (Empty);
- rpc ProductActionGroupGet(ProductActionGroupReq) returns (ProductActionGroupVo);
- rpc ProductActionGroupList(ProductActionGroupListReq) returns (ProductActionGroupListResp);
- rpc ProductActionGroupDisable(ProductActionGroupDisableReq) returns (Empty);
- rpc ProductActionGroupEnable(ProductActionGroupEnableReq) returns (Empty);
- // ProductActionPolicyGroup 产品行为策略分组
- rpc ProductActionPolicyGroupAdd(ProductActionPolicyGroupVo) returns (ProductActionPolicyGroupVo);
- rpc ProductActionPolicyGroupUpdate(ProductActionPolicyGroupVo) returns (ProductActionPolicyGroupVo);
- rpc ProductActionPolicyGroupDel(Ids) returns (Empty);
- rpc ProductActionPolicyGroupGet(ProductActionPolicyGroupReq) returns (ProductActionPolicyGroupVo);
- rpc ProductActionPolicyGroupList(ProductActionPolicyGroupListReq) returns (ProductActionPolicyGroupListResp);
- rpc ProductActionPolicyGroupDisable(ProductActionPolicyGroupDisableReq) returns (Empty);
- rpc ProductActionPolicyGroupEnable(ProductActionPolicyGroupEnableReq) returns (Empty);
- // ProductActionType 产品行为类型
- rpc ProductActionTypeAdd(ProductActionTypeVo) returns (ProductActionTypeVo);
- rpc ProductActionTypeUpdate(ProductActionTypeVo) returns (ProductActionTypeVo);
- rpc ProductActionTypeDel(Ids) returns (Empty);
- rpc ProductActionTypeGet(ProductActionTypeReq) returns (ProductActionTypeVo);
- rpc ProductActionTypeList(ProductActionTypeListReq) returns (ProductActionTypeListResp);
- // AreaParamVo Model
- // AreaParamAdd
- 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 Model
- // NationalLanguageAdd
- 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 Model
- // TipAdd
- 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 Model
- // DictAdd
- 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 Model
- // // UpgradeResConfigAdd
- // 热更新【代码资源】配置管理,控制哪些版本地区的用户可以更新
- // 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 Model
- // UpgradePkgPlanAdd
- 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 Model
- // UpgradePkgPlanDetailAdd
- 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 Model
- // UpgradeResPlanAdd
- 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 Model
- // UpgradeResPlanDetailAdd
- 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 Model
- // AdPlanAdd
- 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 Model
- // AdPlanDetailAdd
- 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 Model
- // AdGlobalConfigGet
- rpc AdGlobalConfigGet(AdGlobalConfigGetReq) returns (AdGlobalConfigVo);
- rpc AdGlobalConfigUpdate(AdGlobalConfigVo) returns (AdGlobalConfigVo);
- // JobBatch Model
- // JobBatchAdd
- 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 Model
- // JobTasksAdd
- 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 Model
- // DeployConfigAdd
- 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 Model
- // OperationLogAdd
- rpc OperationLogAdd(OperationLogVo) returns (OperationLogVo);
- rpc OperationLogUpdate(OperationLogVo) returns (OperationLogVo);
- rpc OperationLogGet(OperationLogVo) returns (OperationLogVo);
- rpc OperationLogList(OperationLogListReq) returns (OperationLogListResp);
- // AnnouncePlan Model
- // AnnouncePlanAdd
- 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 Model
- // AnnouncePlanDetailAdd
- 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 Model
- // ServiceTypesAdd
- rpc ServiceTypesAdd(ServiceTypesAddReq) returns (ServiceTypesAddResp);
- rpc ServiceTypesUpdate(ServiceTypesUpdateReq) returns (ServiceTypesUpdateResp);
- rpc ServiceTypesDel(ServiceTypesDelReq) returns (Empty);
- rpc ServiceTypesGet(ServiceTypesGetReq) returns (ServiceTypesGetResp);
- rpc ServiceTypesGetWithValue(ServiceTypesGetWithValueReq) returns (ServiceTypesGetWithValueResp);
- rpc ServiceTypesList(ServiceTypesListReq) returns (ServiceTypesListResp);
- rpc ServiceTypesListWithValue(ServiceTypesListWithValueReq) returns (ServiceTypesListWithValueResp);
- // ServicePlan Model
- // ServicePlanAdd
- rpc ServicePlanAdd(ServicePlanAddReq) returns (ServicePlanAddResp);
- rpc ServicePlanAddWithDetails(ServicePlanAddWithDetailsReq) returns (ServicePlanAddWithDetailsResp);
- rpc ServicePlanUpdate(ServicePlanUpdateReq) returns (ServicePlanUpdateResp);
- rpc ServicePlanUpdateWithDetails(ServicePlanUpdateWithDetailsReq) returns (ServicePlanUpdateWithDetailsResp);
- rpc ServicePlanDel(ServicePlanDelReq) returns (Empty);
- rpc ServicePlanGet(ServicePlanGetReq) returns (ServicePlanGetResp);
- rpc ServicePlanGetWithDetails(ServicePlanGetWithDetailsReq) returns (ServicePlanGetWithDetailsResp);
- rpc ServicePlanList(ServicePlanListReq) returns (ServicePlanListResp);
- rpc ServicePlanListWithDetails(ServicePlanListWithDetailsReq) returns (ServicePlanListWithDetailsResp);
- // ServicePlanTypes Model
- // ServicePlanTypesAdd
- rpc ServicePlanTypesAdd(ServicePlanTypesAddReq) returns (ServicePlanTypesAddResp);
- rpc ServicePlanTypesUpdate(ServicePlanTypesUpdateReq) returns (ServicePlanTypesUpdateResp);
- rpc ServicePlanTypesDel(ServicePlanTypesDelReq) returns (Empty);
- rpc ServicePlanTypesGet(ServicePlanTypesGetReq) returns (ServicePlanTypesGetResp);
- rpc ServicePlanTypesList(ServicePlanTypesListReq) returns (ServicePlanTypesListResp);
- // ServiceGoods Model
- // ServiceGoodsAdd
- rpc ServiceGoodsAdd(ServiceGoodsAddReq) returns (ServiceGoodsAddResp);
- rpc ServiceGoodsAddWithPlans(ServiceGoodsAddWithPlansReq) returns (ServiceGoodsAddWithPlansResp);
- rpc ServiceGoodsAddWithPlansAndDetails(ServiceGoodsAddWithPlansAndDetailsReq) returns (ServiceGoodsAddWithPlansAndDetailsResp);
- rpc ServiceGoodsUpdate(ServiceGoodsUpdateReq) returns (ServiceGoodsUpdateResp);
- rpc ServiceGoodsUpdateWithPlans(ServiceGoodsUpdateWithPlansReq) returns (ServiceGoodsUpdateWithPlansResp);
- rpc ServiceGoodsUpdateWithPlansAndDetails(ServiceGoodsUpdateWithPlansAndDetailsReq) returns (ServiceGoodsUpdateWithPlansAndDetailsResp);
- rpc ServiceGoodsDel(ServiceGoodsDelReq) returns (Empty);
- rpc ServiceGoodsGet(ServiceGoodsGetReq) returns (ServiceGoodsGetResp);
- rpc ServiceGoodsGetWithPlans(ServiceGoodsGetWithPlansReq) returns (ServiceGoodsGetWithPlansResp);
- rpc ServiceGoodsGetWithPlansAndDetails(ServiceGoodsGetWithPlansAndDetailsReq) returns (ServiceGoodsGetWithPlansAndDetailsResp);
- rpc ServiceGoodsList(ServiceGoodsListReq) returns (ServiceGoodsListResp);
- rpc ServiceGoodsListWithPlans(ServiceGoodsListWithPlansReq) returns (ServiceGoodsListWithPlansResp);
- rpc ServiceGoodsListWithPlansAndDetails(ServiceGoodsListWithPlansAndDetailsReq) returns (ServiceGoodsListWithPlansAndDetailsResp);
- // ServiceGoodsPlans Model
- // ServiceGoodsPlansAdd
- rpc ServiceGoodsPlansAdd(ServiceGoodsPlansAddReq) returns (ServiceGoodsPlansAddResp);
- rpc ServiceGoodsPlansUpdate(ServiceGoodsPlansUpdateReq) returns (ServiceGoodsPlansUpdateResp);
- rpc ServiceGoodsPlansDel(ServiceGoodsPlansDelReq) returns (Empty);
- rpc ServiceGoodsPlansGet(ServiceGoodsPlansGetReq) returns (ServiceGoodsPlansGetResp);
- rpc ServiceGoodsPlansList(ServiceGoodsPlansListReq) returns (ServiceGoodsPlansListResp);
- // ServiceGoodsChannel Model
- // ServiceGoodsChannelAdd
- rpc ServiceGoodsChannelAdd(ServiceGoodsChannelAddReq) returns (ServiceGoodsChannelAddResp);
- rpc ServiceGoodsChannelUpdate(ServiceGoodsChannelUpdateReq) returns (ServiceGoodsChannelUpdateResp);
- rpc ServiceGoodsChannelDel(ServiceGoodsChannelDelReq) returns (Empty);
- rpc ServiceGoodsChannelGet(ServiceGoodsChannelGetReq) returns (ServiceGoodsChannelGetResp);
- rpc ServiceGoodsChannelGetWithGoods(ServiceGoodsChannelGetWithGoodsReq) returns (ServiceGoodsChannelGetWithGoodsResp);
- rpc ServiceGoodsChannelGetWithGoodsAndPlans(ServiceGoodsChannelGetWithGoodsAndPlansReq) returns (ServiceGoodsChannelGetWithGoodsAndPlansResp);
- rpc ServiceGoodsChannelGetWithGoodsAndPlansAndDetails(ServiceGoodsChannelGetWithGoodsAndPlansAndDetailsReq) returns (ServiceGoodsChannelGetWithGoodsAndPlansAndDetailsResp);
- rpc ServiceGoodsChannelList(ServiceGoodsChannelListReq) returns (ServiceGoodsChannelListResp);
- rpc ServiceGoodsChannelListWithGoods(ServiceGoodsChannelListWithGoodsReq) returns (ServiceGoodsChannelListWithGoodsResp);
- rpc ServiceGoodsChannelListWithGoodsAndPlans(ServiceGoodsChannelListWithGoodsAndPlansReq) returns (ServiceGoodsChannelListWithGoodsAndPlansResp);
- rpc ServiceGoodsChannelListWithGoodsAndPlansAndDetails(ServiceGoodsChannelListWithGoodsAndPlansAndDetailsReq) returns (ServiceGoodsChannelListWithGoodsAndPlansAndDetailsResp);
- // MessagePush Model
- // MessagePushAdd
- rpc MessagePushAdd(MessagePushVo) returns (MessagePushVo);
- rpc MessagePushUpdate(MessagePushVo) returns (MessagePushVo);
- rpc MessagePushList(MessagePushListReq) returns (MessagePushListResp);
- }
|