pmp.proto 54 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687
  1. syntax = "proto3";
  2. package gorpc;
  3. option go_package = "code.clickto.dev/nomo-server/go-service-pb/client";
  4. import "pb/common.proto";
  5. message I18nVo {
  6. string code = 1;
  7. string value = 2;
  8. }
  9. message ConfigGetReq {
  10. int64 id = 1; // ID
  11. string code = 2; // 类型标识
  12. }
  13. // GlobalParam
  14. message GlobalParamVo {
  15. int64 id = 1;
  16. string paramKey = 2;
  17. string paramValue = 3;
  18. string valueType = 4;
  19. float minValue = 5;
  20. float maxValue = 6;
  21. string name = 7;
  22. BoolInt editable = 8;
  23. BoolInt nullable = 9;
  24. BoolInt hidden = 10;
  25. BoolInt mutiLang = 11;
  26. int64 sort = 12;
  27. string remark = 13;
  28. BoolInt apiExport = 14;
  29. string apiExportName = 15;
  30. int64 createTime = 16;
  31. int64 updateTime = 17;
  32. // valueType 为 string、text、json、string[], 且 mutiLang 为 true 时,需要同时干查询/修改/插入多语言数据
  33. repeated I18nVo i18ns = 18;
  34. }
  35. message GlobalParamGetReq {
  36. GlobalParamVo vo = 1;
  37. string lang = 2;
  38. }
  39. message GlobalParamListReq {
  40. Page page = 1;
  41. GlobalParamVo vo = 2;
  42. repeated int64 excludeIds = 3; // 排除的ID
  43. };
  44. message GlobalParamListResp {
  45. int64 total = 1;
  46. repeated GlobalParamVo list = 2;
  47. };
  48. // end GlobalParam
  49. // Product
  50. message ProductVo {
  51. int64 id = 1;
  52. string code = 2;
  53. string name = 3;
  54. string domain = 4;
  55. Status status = 5;
  56. string langs = 6;
  57. string defaultLang = 7;
  58. string remark = 8;
  59. int64 createTime = 9;
  60. int64 updateTime = 10;
  61. }
  62. message ProductListReq {
  63. Page page = 1;
  64. ProductVo vo = 2;
  65. repeated string productCodes = 3;
  66. repeated int64 excludeIds = 4;
  67. }
  68. message ProductListResp {
  69. int64 total = 1;
  70. repeated ProductVo list = 2;
  71. }
  72. // end Product
  73. // ProductParam
  74. message ProductParamVo {
  75. int64 id = 1;
  76. string productCode = 2;
  77. string paramKey = 3;
  78. string paramValue = 4;
  79. string valueType = 5;
  80. float minValue = 6;
  81. float maxValue = 7;
  82. string name = 8;
  83. BoolInt editable = 9;
  84. BoolInt nullable = 10;
  85. BoolInt hidden = 11;
  86. BoolInt mutiLang = 12;
  87. int64 sort = 13;
  88. string remark = 14;
  89. BoolInt apiExport = 15;
  90. string apiExportName = 16;
  91. int64 createTime = 17;
  92. int64 updateTime = 18;
  93. // valueType 为 string、text、json、string[], 且 mutiLang 为 true
  94. // 时,需要同时干查询/修改/插入多语言数据
  95. repeated I18nVo i18ns = 19;
  96. }
  97. message ProductParamGetReq {
  98. ProductParamVo vo = 1;
  99. string lang = 2;
  100. }
  101. message ProductParamListReq {
  102. Page page = 1;
  103. ProductParamVo vo = 2;
  104. repeated string productCodes = 3;
  105. repeated int64 excludeIds = 4;
  106. };
  107. message ProductParamListResp {
  108. int64 total = 1;
  109. repeated ProductParamVo list = 2;
  110. };
  111. // end ProductParam
  112. // ProductAction
  113. message ProductActionVo {
  114. int64 id = 1;
  115. int64 groupId = 2;
  116. string productCode = 3;
  117. string imgUrl = 4;
  118. string actionType = 5;
  119. string actionData = 6;
  120. string title = 7;
  121. Status status = 8;
  122. int64 createTime = 9;
  123. int64 updateTime = 10;
  124. int64 sort = 11;
  125. string versionPolicy = 12;
  126. string platform = 13;
  127. string channel = 14;
  128. }
  129. message ProductActionReq { ProductActionVo vo = 1; }
  130. message ProductActionListReq {
  131. Page page = 1;
  132. ProductActionVo vo = 2;
  133. repeated string productCodes = 3;
  134. repeated int64 excludeIds = 4;
  135. repeated int64 groupIds = 5;
  136. }
  137. message ProductActionListResp {
  138. int64 total = 1;
  139. repeated ProductActionVo list = 2;
  140. }
  141. // end ProductAction
  142. // ProductActionGroup 产品行为分组
  143. message ProductActionGroupVo {
  144. int64 id = 1;
  145. string productCode = 2;
  146. string area = 3; // 地区,存储json字符串
  147. string platform = 4; // 平台,存储json字符串
  148. string channel = 5; // 渠道,存储json字符串
  149. string versionPolicy = 6; // 版本策略,存储json字符串
  150. int64 sort = 7; // 排序
  151. Status status = 8; // 状态 0未知 1正常 2禁用
  152. string title = 9; // 标题
  153. int64 createTime = 10;
  154. int64 updateTime = 11;
  155. }
  156. message ProductActionGroupReq { ProductActionGroupVo vo = 1; }
  157. message ProductActionGroupListReq {
  158. Page page = 1;
  159. ProductActionGroupVo vo = 2;
  160. repeated string productCodes = 3;
  161. repeated int64 excludeIds = 4;
  162. }
  163. message ProductActionGroupListResp {
  164. int64 total = 1;
  165. repeated ProductActionGroupVo list = 2;
  166. }
  167. message ProductActionGroupDisableReq { repeated int64 ids = 1; }
  168. message ProductActionGroupEnableReq { repeated int64 ids = 1; }
  169. // end ProductActionGroup
  170. // ProductActionPolicyGroup 产品行为策略分组
  171. message ProductActionPolicyGroupVo {
  172. int64 id = 1;
  173. string productCode = 2;
  174. int64 groupId = 3; // productActionGroupID
  175. string platform = 4; // 平台,存储json字符串
  176. string channel = 5; // 渠道,存储json字符串
  177. string versionPolicy = 6; // 版本策略,存储json字符串
  178. int64 sort = 7; // 排序
  179. Status status = 8; // 状态 0未知 1正常 2禁用
  180. string title = 9; // 标题
  181. int64 createTime = 10;
  182. int64 updateTime = 11;
  183. string Position = 12;
  184. }
  185. message ProductActionPolicyGroupReq { ProductActionPolicyGroupVo vo = 1; }
  186. message ProductActionPolicyGroupListReq {
  187. Page page = 1;
  188. ProductActionPolicyGroupVo vo = 2;
  189. repeated string productCodes = 3;
  190. repeated int64 excludeIds = 4;
  191. repeated int64 groupIds = 5;
  192. }
  193. message ProductActionPolicyGroupListResp {
  194. int64 total = 1;
  195. repeated ProductActionPolicyGroupVo list = 2;
  196. }
  197. message ProductActionPolicyGroupDisableReq { repeated int64 ids = 1; }
  198. message ProductActionPolicyGroupEnableReq { repeated int64 ids = 1; }
  199. // end ProductActionPolicyGroup
  200. // ProductActionType 产品行为类型
  201. message ProductActionTypeVo {
  202. int64 id = 1;
  203. string name = 2; // 名称
  204. string description = 3; // 描述
  205. int64 createTime = 4;
  206. int64 updateTime = 5;
  207. }
  208. message ProductActionTypeReq { ProductActionTypeVo vo = 1; }
  209. message ProductActionTypeListReq {
  210. Page page = 1;
  211. ProductActionTypeVo vo = 2;
  212. repeated int64 excludeIds = 3;
  213. }
  214. message ProductActionTypeListResp {
  215. int64 total = 1;
  216. repeated ProductActionTypeVo list = 2;
  217. }
  218. // end ProductActionType
  219. // AreaParam
  220. message AreaParamVo {
  221. int64 id = 1;
  222. string productCode = 2;
  223. string name = 3;
  224. string areas = 4;
  225. string paramValue = 5;
  226. Status status = 6;
  227. int64 sort = 7;
  228. string remark = 8;
  229. int64 createTime = 9;
  230. int64 updateTime = 10;
  231. string version = 11;
  232. }
  233. message AreaParamListReq {
  234. Page page = 1;
  235. AreaParamVo vo = 2;
  236. repeated string productCodes = 3; // 产品code
  237. repeated int64 excludeIds = 4; // 排除的ID
  238. }
  239. message AreaParamListResp {
  240. int64 total = 1;
  241. repeated AreaParamVo list = 2;
  242. }
  243. // end AreaParam
  244. // NationalLanguage
  245. message NationalLanguageVo {
  246. int64 id = 1;
  247. string tbName = 2;
  248. int64 tbRowId = 3;
  249. string tbFieldName = 4;
  250. string lan = 5;
  251. string value = 6;
  252. Status status = 7;
  253. int64 updateTime = 8;
  254. int64 createTime = 9;
  255. }
  256. message NationalLanguageListReq {
  257. Page page = 1;
  258. NationalLanguageVo vo = 2;
  259. repeated int64 excludeIds = 3; // 排除的ID
  260. }
  261. message NationalLanguageListResp {
  262. int64 total = 1;
  263. repeated NationalLanguageVo list = 2;
  264. }
  265. // end NationalLanguage
  266. // Tip
  267. message TipVo {
  268. int64 id = 1;
  269. string productCode = 2;
  270. string paramKey = 3;
  271. string paramValue = 4;
  272. string code = 5;
  273. int64 showType = 6;
  274. int64 sort = 7;
  275. string remark = 8;
  276. int64 createTime = 9;
  277. int64 updateTime = 10;
  278. repeated I18nVo i18ns = 11;
  279. }
  280. message TipGetReq {
  281. TipVo vo = 1;
  282. string lang = 2;
  283. }
  284. message TipListReq {
  285. Page page = 1;
  286. TipVo vo = 2;
  287. repeated string productCodes = 3;
  288. repeated int64 excludeIds = 4; // 排除的ID
  289. }
  290. message TipListResp {
  291. int64 total = 1;
  292. repeated TipVo list = 2;
  293. }
  294. // end Tip
  295. // Dict
  296. message DictVo {
  297. int64 id = 1;
  298. string productCode = 2;
  299. int64 parentId = 3;
  300. string dataType = 4;
  301. string name = 5;
  302. string payload = 6;
  303. int64 sort = 7;
  304. Status status = 8;
  305. string remark = 9;
  306. int64 createTime = 10;
  307. int64 updateTime = 11;
  308. string payloadJson = 12;
  309. }
  310. message DictGetReq { DictVo vo = 1; }
  311. message DictListReq {
  312. Page page = 1;
  313. DictVo vo = 2;
  314. repeated string productCodes = 3;
  315. repeated int64 excludeIds = 4;
  316. }
  317. message DictListResp {
  318. int64 total = 1;
  319. repeated DictVo list = 2;
  320. }
  321. // end Dict
  322. // message UpgradeResVo {
  323. // int64 id = 1;
  324. // string title = 2;
  325. // string path = 3;
  326. // string fileMd5 = 4;
  327. // string filePath = 5;
  328. // string metadataId = 6;
  329. // string createdAt = 7;
  330. // string runtimeVersion = 8;
  331. // int64 runtimeVersionCode = 9;
  332. // string appVersionName = 10;
  333. // int64 appVersionCode = 11;
  334. // Status status = 12;
  335. // string remark = 13;
  336. // int64 createTime = 14;
  337. // int64 updateTime = 15;
  338. // int64 resSize = 16;
  339. // }
  340. // message UpgradeResConfigVo {
  341. // int64 id = 1;
  342. // int64 productId = 2;
  343. // string platform = 3;
  344. // string channel = 4;
  345. // int64 resId = 5;
  346. // int64 isForceUpdate = 6;
  347. // string forceIntro = 7;
  348. // string areaConfigs = 8;
  349. // string versionConfigs = 9;
  350. // int64 interval = 10;
  351. // int64 upgradeRate = 11;
  352. // string intro = 12;
  353. // string apis = 13;
  354. // Status status = 14;
  355. // string remark = 15;
  356. // string userIds = 16;
  357. // int64 createTime = 17;
  358. // int64 updateTime = 18;
  359. // string forceVersionConfigs = 19;
  360. // string forceAreaConfigs = 20;
  361. // string runtimeVersionConfigs = 21;
  362. // string title = 22;
  363. // int64 isSilent = 23;
  364. // }
  365. // message UpgradePkgVo {
  366. // int64 id = 1;
  367. // int64 productId = 2;
  368. // string platform = 3;
  369. // string channel = 4;
  370. // int64 versionCode = 5;
  371. // string versionName = 6;
  372. // string fileMd5 = 7;
  373. // string areaConfigs = 8;
  374. // string versionConfigs = 9;
  375. // int64 interval = 10;
  376. // int64 upgradeRate = 11;
  377. // string intro = 12;
  378. // string appStoreUrl = 13;
  379. // string url = 14;
  380. // string onlineUrls = 15;
  381. // string userIds = 16;
  382. // int64 isForceUpdate = 17;
  383. // string forceIntro = 18;
  384. // string forceVersionConfigs = 19;
  385. // Status status = 20;
  386. // string remark = 21;
  387. // int64 createTime = 22;
  388. // int64 updateTime = 23;
  389. // string title = 24;
  390. // string forceAreaConfigs = 25;
  391. // }
  392. // message UpgradeResConfigGetReq {
  393. // Page page = 1;
  394. // int64 id = 2;
  395. // }
  396. // message UpgradeResConfigListReq {
  397. // Page page = 1;
  398. // UpgradeResConfigVo vo = 2;
  399. // }
  400. // message UpgradeResConfigListResp {
  401. // int64 total = 1;
  402. // repeated UpgradeResConfigVo list = 2;
  403. // }
  404. // message UpgradePkgGetReq { UpgradePkgVo vo = 1; }
  405. // message UpgradePkgListReq {
  406. // Page page = 1;
  407. // UpgradePkgVo vo = 2;
  408. // }
  409. // message UpgradePkgListResp {
  410. // int64 total = 1;
  411. // repeated UpgradePkgVo list = 2;
  412. // }
  413. // message UpgradeResGetReq { UpgradeResVo vo = 1; }
  414. // message UpgradeResListReq {
  415. // Page page = 1;
  416. // UpgradeResVo vo = 2;
  417. // }
  418. // message UpgradeResListResp {
  419. // int64 total = 1;
  420. // repeated UpgradeResVo list = 2;
  421. // }
  422. // message ResourceDelReq {
  423. // repeated int64 ids = 1;
  424. // string fileMd5 = 2;
  425. // }
  426. // UpgradePkgPlan
  427. message UpgradePkgPlanVo {
  428. int64 id = 1;
  429. string productCode = 2; // 产品code
  430. string areas = 3; // 地区列表
  431. int64 sort = 4;
  432. Status status = 5; // 状态
  433. string remark = 6;
  434. int64 createTime = 7;
  435. int64 updateTime = 8;
  436. }
  437. message UpgradePkgPlanListReq {
  438. Page page = 1;
  439. UpgradePkgPlanVo vo = 2;
  440. repeated string productCodes = 3;
  441. repeated int64 excludeIds = 4;
  442. }
  443. message UpgradePkgPlanListResp {
  444. int64 total = 1;
  445. repeated UpgradePkgPlanVo list = 2;
  446. }
  447. // end UpgradePkgPlan
  448. // UpgradePkgPlanDetail
  449. message UpgradePkgPlanDetailVo {
  450. int64 id = 1;
  451. int64 planId = 2; // 方案ID
  452. string platform = 3; // 平台
  453. string channel = 4; // 渠道
  454. string name = 5; // 名称
  455. int64 ver = 6; // 版本号
  456. string url = 7; // 商店地址
  457. string websiteUrl = 8; // 官网地址
  458. string directUrl = 9; // 直接下载地址
  459. string md5 = 10; // MD5
  460. string info = 11; // 更新信息
  461. string testUpgradePolicyConfig = 12; // 测试更新策略配置
  462. string upgradePolicyConfig = 13; // 更新策略配置
  463. string forceUpgradePolicyConfig = 14; // 强制更新策略
  464. Status status = 15; // 状态
  465. string remark = 16;
  466. int64 createTime = 17;
  467. int64 updateTime = 18;
  468. }
  469. message UpgradePkgPlanDetailListReq {
  470. Page page = 1;
  471. UpgradePkgPlanDetailVo vo = 2;
  472. repeated int64 planIds = 3;
  473. }
  474. message UpgradePkgPlanDetailListResp {
  475. int64 total = 1;
  476. repeated UpgradePkgPlanDetailVo list = 2;
  477. }
  478. // end UpgradePkgPlanDetail
  479. // UpgradeResPlan
  480. message UpgradeResPlanVo {
  481. int64 id = 1;
  482. string productCode = 2; // 产品code
  483. string areas = 3; // 地区列表
  484. int64 sort = 4;
  485. Status status = 5; // 状态
  486. string remark = 6;
  487. int64 createTime = 7;
  488. int64 updateTime = 8;
  489. }
  490. message UpgradeResPlanListReq {
  491. Page page = 1;
  492. UpgradeResPlanVo vo = 2;
  493. repeated string productCodes = 3;
  494. repeated int64 excludeIds = 4;
  495. }
  496. message UpgradeResPlanListResp {
  497. int64 total = 1;
  498. repeated UpgradeResPlanVo list = 2;
  499. }
  500. // end UpgradeResPlan
  501. // UpgradeResPlanDetail
  502. message UpgradeResPlanDetailVo {
  503. int64 id = 1; // ID
  504. int64 planId = 2; // 方案ID
  505. string platform = 3; // 平台
  506. string channel = 4; // 渠道
  507. string name = 5; // 名称
  508. int64 ver = 6; // 资源版本号
  509. string url = 7; // 资源地址
  510. string info = 8; // 更新信息
  511. string md5 = 9; // 资源 md5值
  512. int64 size = 10; // 资源大小
  513. string testUpgradePolicyConfig = 11; // 测试更新策略配置
  514. string upgradePolicyConfig = 12; // 更新策略配置
  515. string forceUpgradePolicyConfig = 13; // 强制更新策略
  516. Status status = 14; // 状态,1=正常,2=冻结
  517. string remark = 15; // 备注
  518. int64 createTime = 16; // 创建时间秒
  519. int64 updateTime = 17; // 修改时间秒
  520. }
  521. message UpgradeResPlanDetailListReq {
  522. Page page = 1;
  523. UpgradeResPlanDetailVo vo = 2;
  524. repeated int64 planIds = 3;
  525. }
  526. message UpgradeResPlanDetailListResp {
  527. int64 total = 1;
  528. repeated UpgradeResPlanDetailVo list = 2;
  529. }
  530. // end UpgradeResPlanDetail
  531. // AdPlan
  532. message AdPlanVo {
  533. int64 id = 1;
  534. string productCode = 2; // 产品code
  535. string areas = 3; // 地区列表
  536. string config = 4; // 配置
  537. int64 sort = 5;
  538. Status status = 6; // 状态
  539. string remark = 7;
  540. int64 createTime = 8;
  541. int64 updateTime = 9;
  542. }
  543. message AdPlanListReq {
  544. Page page = 1;
  545. AdPlanVo vo = 2;
  546. repeated string productCodes = 3;
  547. repeated int64 excludeIds = 4;
  548. }
  549. message AdPlanListResp {
  550. int64 total = 1;
  551. repeated AdPlanVo list = 2;
  552. }
  553. // end AdPlan
  554. // AdPlanDetail
  555. message AdPlanDetailVo {
  556. int64 id = 1;
  557. int64 planId = 2; // 方案ID
  558. string adPlatform = 3; // 平台
  559. string adType = 4; // 广告类型
  560. string adSlot = 5; // 广告位置
  561. string adDatas = 6; // 广告资源
  562. string testPolicyConfig = 7; // 策略配置
  563. string policyConfig = 8; // 策略配置
  564. int64 sort = 9; // 排序
  565. Status status = 10; // 0未知,1正常,2暂停
  566. string remark = 11;
  567. int64 createTime = 12;
  568. int64 updateTime = 13;
  569. string version = 14;
  570. }
  571. message AdPlanDetailListReq {
  572. Page page = 1;
  573. AdPlanDetailVo vo = 2;
  574. repeated int64 planIds = 3;
  575. }
  576. message AdPlanDetailListResp {
  577. int64 total = 1;
  578. repeated AdPlanDetailVo list = 2;
  579. }
  580. // end AdPlanDetail
  581. // AdGlobalConfig
  582. message AdGlobalConfigVo {
  583. int64 id = 1;
  584. string productCode = 2; // 产品code
  585. string platforms = 3; // 按平台分类的广告配置JSON
  586. string remark = 4; // 备注
  587. int64 createTime = 5; // 创建时间
  588. int64 updateTime = 6; // 更新时间
  589. }
  590. message AdGlobalConfigGetReq {
  591. string productCode = 1; // 产品代码
  592. }
  593. // end AdGlobalConfig
  594. // JobBatch
  595. message JobBatchVo {
  596. int64 id = 1; // ID
  597. string name = 2; // 作业名称
  598. string type = 3; // 作业类型
  599. string initParams = 4; // 作业初始化参数
  600. string contextData = 5; // 上下文数据,可用于存储此次批量作业的任务过程中产生的通用的中间数据
  601. string beginHandler = 6; // 预处理函数/URL
  602. string afterHandler = 7; // 后处理函数/URL
  603. int64 concurrency = 8; // 并发控制数
  604. string retryPolicy = 9; // 子任务重试策略
  605. int64 startedTime = 10; // 批量作业开始时间
  606. int64 finishedTime = 11; // 批量作业完成时间
  607. string result = 12; // 批量作业返回结果
  608. string status = 13; // 批量作业完成状态
  609. string remark = 14; // 备注
  610. int64 createAt = 15; // 创建者ID
  611. int64 updateAt = 16; // 更新者ID
  612. int64 createTime = 17; // 创建时间
  613. int64 updateTime = 18; // 更新时间
  614. }
  615. message JobBatchWithTasksVo {
  616. JobBatchVo jobBatch = 1;
  617. repeated JobTasksVo jobTasks = 2;
  618. }
  619. message TimeRange {
  620. int64 start = 1;
  621. int64 end = 2;
  622. }
  623. message JobBatchListReq {
  624. Page page = 1;
  625. JobBatchVo vo = 2;
  626. TimeRange startedTimeRange = 3;
  627. TimeRange finishedTimeRange = 4;
  628. repeated string statuses = 5;
  629. repeated int64 excludeIds = 6;
  630. }
  631. message JobBatchListResp {
  632. int64 total = 1;
  633. repeated JobBatchVo list = 2;
  634. }
  635. message JobBatchListWithTasksResp {
  636. int64 total = 1;
  637. repeated JobBatchWithTasksVo list = 2;
  638. }
  639. // end JobBatch
  640. // JobTasks
  641. message JobTasksVo {
  642. int64 id = 1; // 任务id
  643. int64 batchId = 2; // 批量作业Id
  644. string name = 3; // 任务名称
  645. string initParams = 4; // 任务初始化配置及数据
  646. string runtimeData = 5; // 任务运行时数据,用于临时存储任务过程中各个关键节点的中间数据
  647. string externalRefs = 6; // 外部系统引用,用于记录与外部系统交互产生的关联标识
  648. int64 startedTime = 7; // 任务开始时间
  649. int64 finishedTime = 8; // 任务结束时间
  650. int64 retryCount = 9; // 当前已重试次数
  651. string result = 10; // 任务执行结果
  652. string status = 11; // 任务状态
  653. string remark = 12; // 备注
  654. int64 createAt = 13; // 创建者ID
  655. int64 updateAt = 14; // 更新者ID
  656. int64 createTime = 15; // 创建时间
  657. int64 updateTime = 16; // 更新时间
  658. }
  659. message JobTasksListReq {
  660. Page page = 1;
  661. JobTasksVo vo = 2;
  662. TimeRange startedTimeRange = 3;
  663. TimeRange finishedTimeRange = 4;
  664. repeated string statuses = 5;
  665. repeated int64 excludeIds = 6;
  666. }
  667. message JobTasksListResp {
  668. int64 total = 1;
  669. repeated JobTasksVo list = 2;
  670. }
  671. // end JobTasks
  672. // DeployConfig
  673. message DeployConfigVo {
  674. int64 id = 1; // ID
  675. string name = 2; // 名称
  676. string type = 3; // 类型
  677. string data = 4; // 数据
  678. Status status = 5; // 状态
  679. string remark = 6; // 备注
  680. int64 createTime = 7; // 创建时间
  681. int64 updateTime = 8; // 更新时间
  682. }
  683. message DeployConfigListReq {
  684. Page page = 1;
  685. DeployConfigVo vo = 2;
  686. repeated int64 excludeIds = 3;
  687. }
  688. message DeployConfigListResp {
  689. int64 total = 1;
  690. repeated DeployConfigVo list = 2;
  691. }
  692. // end DeployConfig
  693. // OperationLog
  694. message OperationLogVo {
  695. int64 id = 1;
  696. int64 sysUserId = 2;
  697. string productCode = 3;
  698. string model = 4;
  699. string action = 5;
  700. string details = 6;
  701. string result = 7;
  702. int64 updateTime = 8;
  703. int64 createTime = 9;
  704. }
  705. message OperationLogListReq {
  706. Page page = 1;
  707. OperationLogVo vo = 2;
  708. repeated string productCodes = 3;
  709. repeated int64 excludeIds = 4;
  710. }
  711. message OperationLogListResp {
  712. int64 total = 1;
  713. repeated OperationLogVo list = 2;
  714. }
  715. // end OperationLog
  716. // AnnouncePlan
  717. message AnnouncePlanVo {
  718. int64 id = 1;
  719. string productCode = 2; // 产品code
  720. string areas = 3; // 地区列表
  721. int64 sort = 4;
  722. Status status = 5; // 状态
  723. string remark = 6;
  724. int64 createTime = 7;
  725. int64 updateTime = 8;
  726. }
  727. message AnnouncePlanListReq {
  728. Page page = 1;
  729. AnnouncePlanVo vo = 2;
  730. repeated string productCodes = 3;
  731. repeated int64 excludeIds = 4;
  732. }
  733. message AnnouncePlanListResp {
  734. int64 total = 1;
  735. repeated AnnouncePlanVo list = 2;
  736. }
  737. // end AnnouncePlan
  738. // AnnouncePlanDetail
  739. message AnnouncePlanDetailVo {
  740. int64 id = 1;
  741. int64 planId = 2; // 方案ID
  742. string platforms = 3; // 平台
  743. string channels = 4; // 渠道
  744. string icon = 5; // 图标
  745. string title = 6; // 标题
  746. string content = 7; // 内容
  747. string url = 8; // 商店地址
  748. string buttonText = 9; // 按钮文本
  749. int64 closeable = 10; // 是否可关闭
  750. int64 sort = 11; // 排序
  751. string policyConfig = 12; // 更新策略配置
  752. Status status = 13; // 状态
  753. string remark = 14;
  754. int64 createTime = 15;
  755. int64 updateTime = 16;
  756. }
  757. message AnnouncePlanDetailListReq {
  758. Page page = 1;
  759. AnnouncePlanDetailVo vo = 2;
  760. repeated int64 planIds = 3;
  761. }
  762. message AnnouncePlanDetailListResp {
  763. int64 total = 1;
  764. repeated AnnouncePlanDetailVo list = 2;
  765. }
  766. // end AnnouncePlanDetail
  767. // ServiceTypes
  768. message ServiceTypesVo {
  769. int64 id = 1; // ID
  770. string productCode = 2; // 产品标识
  771. string code = 3; // 权益标识
  772. string name = 4; // 权益名称
  773. int64 sort = 5; // 排序
  774. Status status = 6; // 状态 1启用 2禁用
  775. string remark = 7; // 备注
  776. int64 createTime = 8; // 创建时间
  777. int64 createAt = 9; // 创建者ID
  778. int64 updateTime = 10; // 更新时间
  779. int64 updateAt = 11; // 更新者ID
  780. }
  781. message ServiceTypesWithValueVo {
  782. ServiceTypesVo vo = 1;
  783. int64 value = 2;
  784. }
  785. message ServiceTypesGetReq { ServiceTypesVo vo = 1; }
  786. message ServiceTypesGetResp { ServiceTypesVo vo = 1; }
  787. message ServiceTypesGetWithValueReq {
  788. int64 planId = 1;
  789. string productCode = 2;
  790. string servicePlanCode = 3;
  791. int64 serviceTypeId = 4;
  792. string serviceTypeCode = 5;
  793. }
  794. message ServiceTypesGetWithValueResp {
  795. ServiceTypesVo vo = 1;
  796. int64 value = 2;
  797. }
  798. message ServiceTypesAddReq { ServiceTypesVo vo = 1; }
  799. message ServiceTypesAddResp { ServiceTypesVo vo = 1; }
  800. message ServiceTypesUpdateReq { ServiceTypesVo vo = 1; }
  801. message ServiceTypesUpdateResp { ServiceTypesVo vo = 1; }
  802. message ServiceTypesDelReq { repeated int64 ids = 1; }
  803. message ServiceTypesListReq {
  804. Page page = 1;
  805. ServiceTypesVo vo = 2;
  806. repeated string productCodes = 3;
  807. repeated int64 excludeIds = 4;
  808. }
  809. message ServiceTypesListResp {
  810. int64 total = 1;
  811. repeated ServiceTypesVo list = 2;
  812. }
  813. message ServiceTypesListWithValueReq {
  814. Page page = 1;
  815. ServiceTypesVo vo = 2;
  816. repeated int64 planIds = 3;
  817. repeated string productCodes = 4;
  818. repeated string servicePlanCodes = 5;
  819. repeated int64 excludeIds = 6;
  820. }
  821. message ServiceTypesListWithValueResp {
  822. int64 total = 1;
  823. repeated ServiceTypesWithValueVo list = 2;
  824. }
  825. // end ServiceTypes
  826. // ServicePlan
  827. message ServicePlanVo {
  828. int64 id = 1; // ID
  829. string productCode = 2; // 产品标识
  830. string code = 3; // 套餐标识
  831. string name = 4; // 套餐名称
  832. int64 sort = 5; // 排序
  833. Status status = 6; // 状态 1启用 2禁用
  834. string remark = 7; // 备注
  835. int64 createTime = 8; // 创建时间
  836. int64 createAt = 9; // 创建者ID
  837. int64 updateTime = 10; // 更新时间
  838. int64 updateAt = 11; // 更新者ID
  839. }
  840. message ServicePlanWithDetailsVo {
  841. ServicePlanVo servicePlan = 1;
  842. repeated ServiceTypesWithValueVo serviceTypes = 2;
  843. }
  844. message ServicePlanWithDurationVo {
  845. ServicePlanVo servicePlan = 1;
  846. int64 licenseDurationDay = 2;
  847. int64 licenseDurationMinutes = 3;
  848. }
  849. message ServicePlanWithDurationAndDetailsVo {
  850. ServicePlanWithDurationVo servicePlan = 1;
  851. repeated ServiceTypesWithValueVo serviceTypes = 2;
  852. }
  853. message ServicePlanGetReq { ServicePlanVo vo = 1; }
  854. message ServicePlanGetResp { ServicePlanVo vo = 1; }
  855. message ServicePlanGetWithDetailsReq {
  856. ServicePlanVo vo = 1;
  857. }
  858. message ServicePlanGetWithDetailsResp {
  859. ServicePlanVo servicePlan = 1;
  860. repeated ServiceTypesWithValueVo serviceTypes = 2;
  861. }
  862. message ServicePlanAddReq { ServicePlanVo vo = 1; }
  863. message ServicePlanAddResp { ServicePlanVo vo = 1; }
  864. message ServicePlanAddWithDetailsReq {
  865. ServicePlanVo servicePlan = 1;
  866. repeated ServiceTypesWithValueVo serviceTypes = 2;
  867. }
  868. message ServicePlanAddWithDetailsResp {
  869. ServicePlanVo servicePlan = 1;
  870. repeated ServiceTypesWithValueVo serviceTypes = 2;
  871. }
  872. message ServicePlanUpdateReq { ServicePlanVo vo = 1; }
  873. message ServicePlanUpdateResp { ServicePlanVo vo = 1; }
  874. message ServicePlanUpdateWithDetailsReq {
  875. ServicePlanVo servicePlan = 1;
  876. repeated ServiceTypesWithValueVo serviceTypes = 2;
  877. }
  878. message ServicePlanUpdateWithDetailsResp {
  879. ServicePlanVo servicePlan = 1;
  880. repeated ServiceTypesWithValueVo serviceTypes = 2;
  881. }
  882. message ServicePlanDelReq { repeated int64 ids = 1; }
  883. message ServicePlanListReq {
  884. Page page = 1;
  885. ServicePlanVo vo = 2;
  886. repeated string productCodes = 3;
  887. repeated int64 excludeIds = 4;
  888. }
  889. message ServicePlanListResp {
  890. int64 total = 1;
  891. repeated ServicePlanVo list = 2;
  892. }
  893. message ServicePlanListWithDetailsReq {
  894. Page page = 1;
  895. ServicePlanVo vo = 2;
  896. repeated string productCodes = 3;
  897. repeated int64 excludeIds = 4;
  898. }
  899. message ServicePlanListWithDetailsResp {
  900. int64 total = 1;
  901. repeated ServicePlanWithDetailsVo list = 2;
  902. }
  903. // end ServicePlan
  904. // ServicePlanTypes
  905. message ServicePlanTypesVo {
  906. int64 id = 1; // ID
  907. int64 servicePlanId = 2; // 套餐ID
  908. int64 serviceTypeId = 3; // 权益ID
  909. int64 serviceValue = 4; // 权益值 根据不同的 serviceTypeId,这里的值的含义不同
  910. int64 createTime = 5; // 创建时间
  911. int64 createAt = 6; // 创建者ID
  912. int64 updateTime = 7; // 更新时间
  913. int64 updateAt = 8; // 更新者ID
  914. }
  915. message ServicePlanTypesGetReq { ServicePlanTypesVo vo = 1; }
  916. message ServicePlanTypesGetResp { ServicePlanTypesVo vo = 1; }
  917. message ServicePlanTypesAddReq { ServicePlanTypesVo vo = 1; }
  918. message ServicePlanTypesAddResp { ServicePlanTypesVo vo = 1; }
  919. message ServicePlanTypesUpdateReq { ServicePlanTypesVo vo = 1; }
  920. message ServicePlanTypesUpdateResp { ServicePlanTypesVo vo = 1; }
  921. message ServicePlanTypesDelReq { repeated int64 ids = 1; }
  922. message ServicePlanTypesListReq {
  923. Page page = 1;
  924. ServicePlanTypesVo vo = 2;
  925. repeated int64 servicePlanIds = 3;
  926. repeated int64 serviceTypeIds = 4;
  927. repeated int64 excludeIds = 5;
  928. }
  929. message ServicePlanTypesListResp {
  930. int64 total = 1;
  931. repeated ServicePlanTypesVo list = 2;
  932. }
  933. // end ServicePlanTypes
  934. // SubscribePeriodType 订阅周期类型
  935. enum SubscribePeriodType {
  936. SubscribePeriodTypeUnknown = 0;
  937. SubscribePeriodTypeDay = 1;
  938. SubscribePeriodTypeWeek = 2;
  939. SubscribePeriodTypeMonth = 3;
  940. SubscribePeriodTypeYear = 4;
  941. }
  942. // ServiceGoods
  943. message ServiceGoodsVo {
  944. int64 id = 1; // ID
  945. string productCode = 2; // 产品标识
  946. string code = 3; // 商品code
  947. string name = 4; // 商品名称
  948. string title = 5; // 标题(默认值,对外显示)
  949. string subTitle = 6; // 副标题(默认值,对外显示)
  950. string introduce = 7; // 简介(默认值,对外显示)
  951. string tag = 8; // 标签内容(默认值,对外显示)
  952. float orgPrice = 9; // 原价(默认值)
  953. float price = 10; // 现价(默认值)
  954. int64 currency = 11; // 价格货币类型(默认值)
  955. BoolInt recommend = 12; // 是否推荐商品(默认值) 1推荐 2不推荐
  956. BoolInt isDefault = 13; // 是否默认商品(默认值) 1默认 2不默认
  957. BoolInt subscribeType = 14; // 订阅类型 1订阅类型 2非订阅类型
  958. SubscribePeriodType subscribePeriodType = 15; // 订阅周期类型 1Day 2Week 3Month 4Year(仅当订阅类型为1时有效)
  959. int64 subscribePeriodValue = 16; // 订阅周期值(仅当订阅类型为1时有效)
  960. int64 priority = 17; // 商品消费优先级
  961. int64 mergeRule = 18; // 商品合并规则(规则一样的商品包含的权益可以合并到一起)
  962. int64 sort = 19; // 排序
  963. Status status = 20; // 状态 1启用 2禁用
  964. string remark = 21; // 备注
  965. int64 createTime = 22; // 创建时间
  966. int64 createAt = 23; // 创建者ID
  967. int64 updateTime = 24; // 更新时间
  968. int64 updateAt = 25; // 更新者ID
  969. }
  970. message ServiceGoodsWithPlansVo {
  971. ServiceGoodsVo serviceGoods = 1;
  972. repeated ServicePlanWithDurationVo servicePlans = 2;
  973. }
  974. message ServiceGoodsWithPlansAndDetailsVo {
  975. ServiceGoodsVo serviceGoods = 1;
  976. repeated ServicePlanWithDurationAndDetailsVo servicePlans = 2;
  977. }
  978. message ServiceGoodsGetReq { ServiceGoodsVo vo = 1; }
  979. message ServiceGoodsGetResp { ServiceGoodsVo vo = 1; }
  980. message ServiceGoodsGetWithPlansReq { ServiceGoodsVo vo = 1; }
  981. message ServiceGoodsGetWithPlansResp {
  982. ServiceGoodsVo serviceGoods = 1;
  983. repeated ServicePlanWithDurationVo servicePlans = 2;
  984. }
  985. message ServiceGoodsGetWithPlansAndDetailsReq { ServiceGoodsVo vo = 1; }
  986. message ServiceGoodsGetWithPlansAndDetailsResp {
  987. ServiceGoodsVo serviceGoods = 1;
  988. repeated ServicePlanWithDurationAndDetailsVo servicePlans = 2;
  989. }
  990. message ServiceGoodsAddReq { ServiceGoodsVo vo = 1; }
  991. message ServiceGoodsAddResp { ServiceGoodsVo vo = 1; }
  992. message ServiceGoodsAddWithPlansReq {
  993. ServiceGoodsVo serviceGoods = 1;
  994. repeated ServicePlanWithDurationVo servicePlans = 2;
  995. }
  996. message ServiceGoodsAddWithPlansResp {
  997. ServiceGoodsVo serviceGoods = 1;
  998. repeated ServicePlanWithDurationVo servicePlans = 2;
  999. }
  1000. message ServiceGoodsAddWithPlansAndDetailsReq {
  1001. ServiceGoodsVo serviceGoods = 1;
  1002. repeated ServicePlanWithDurationAndDetailsVo servicePlans = 2;
  1003. }
  1004. message ServiceGoodsAddWithPlansAndDetailsResp {
  1005. ServiceGoodsVo serviceGoods = 1;
  1006. repeated ServicePlanWithDurationAndDetailsVo servicePlans = 2;
  1007. }
  1008. message ServiceGoodsUpdateReq { ServiceGoodsVo vo = 1; }
  1009. message ServiceGoodsUpdateResp { ServiceGoodsVo vo = 1; }
  1010. message ServiceGoodsUpdateWithPlansReq {
  1011. ServiceGoodsVo serviceGoods = 1;
  1012. repeated ServicePlanWithDurationVo servicePlans = 2;
  1013. }
  1014. message ServiceGoodsUpdateWithPlansResp {
  1015. ServiceGoodsVo serviceGoods = 1;
  1016. repeated ServicePlanWithDurationVo servicePlans = 2;
  1017. }
  1018. message ServiceGoodsUpdateWithPlansAndDetailsReq {
  1019. ServiceGoodsVo serviceGoods = 1;
  1020. repeated ServicePlanWithDurationAndDetailsVo servicePlans = 2;
  1021. }
  1022. message ServiceGoodsUpdateWithPlansAndDetailsResp {
  1023. ServiceGoodsVo serviceGoods = 1;
  1024. repeated ServicePlanWithDurationAndDetailsVo servicePlans = 2;
  1025. }
  1026. message ServiceGoodsDelReq { repeated int64 ids = 1; }
  1027. message ServiceGoodsListReq {
  1028. Page page = 1;
  1029. ServiceGoodsVo vo = 2;
  1030. repeated string productCodes = 3;
  1031. repeated int64 excludeIds = 4;
  1032. }
  1033. message ServiceGoodsListResp {
  1034. int64 total = 1;
  1035. repeated ServiceGoodsVo list = 2;
  1036. }
  1037. message ServiceGoodsListWithPlansReq {
  1038. Page page = 1;
  1039. ServiceGoodsVo vo = 2;
  1040. repeated string productCodes = 3;
  1041. repeated int64 excludeIds = 4;
  1042. }
  1043. message ServiceGoodsListWithPlansResp {
  1044. int64 total = 1;
  1045. repeated ServiceGoodsWithPlansVo list = 2;
  1046. }
  1047. message ServiceGoodsListWithPlansAndDetailsReq {
  1048. Page page = 1;
  1049. ServiceGoodsVo vo = 2;
  1050. repeated string productCodes = 3;
  1051. repeated int64 excludeIds = 4;
  1052. }
  1053. message ServiceGoodsListWithPlansAndDetailsResp {
  1054. int64 total = 1;
  1055. repeated ServiceGoodsWithPlansAndDetailsVo list = 2;
  1056. }
  1057. // end ServiceGoods
  1058. // ServiceGoodsPlans
  1059. message ServiceGoodsPlansVo {
  1060. int64 id = 1; // ID
  1061. int64 serviceGoodsId = 2; // 商品ID
  1062. int64 servicePlanId = 3; // 套餐ID
  1063. int64 licenseDurationDay = 4; // 套餐持续天数
  1064. int64 licenseDurationMinutes = 5; // 套餐额外持续分钟数
  1065. int64 createTime = 6; // 创建时间
  1066. int64 createAt = 7; // 创建者ID
  1067. int64 updateTime = 8; // 更新时间
  1068. int64 updateAt = 9; // 更新者ID
  1069. }
  1070. message ServiceGoodsPlansGetReq { ServiceGoodsPlansVo vo = 1; }
  1071. message ServiceGoodsPlansGetResp { ServiceGoodsPlansVo vo = 1; }
  1072. message ServiceGoodsPlansAddReq { ServiceGoodsPlansVo vo = 1; }
  1073. message ServiceGoodsPlansAddResp { ServiceGoodsPlansVo vo = 1; }
  1074. message ServiceGoodsPlansUpdateReq { ServiceGoodsPlansVo vo = 1; }
  1075. message ServiceGoodsPlansUpdateResp { ServiceGoodsPlansVo vo = 1; }
  1076. message ServiceGoodsPlansDelReq { repeated int64 ids = 1; }
  1077. message ServiceGoodsPlansListReq {
  1078. Page page = 1;
  1079. ServiceGoodsPlansVo vo = 2;
  1080. repeated int64 serviceGoodsIds = 3;
  1081. repeated int64 servicePlanIds = 4;
  1082. repeated int64 excludeIds = 5;
  1083. }
  1084. message ServiceGoodsPlansListResp {
  1085. int64 total = 1;
  1086. repeated ServiceGoodsPlansVo list = 2;
  1087. }
  1088. // end ServiceGoodsPlans
  1089. // ServiceGoodsChannel
  1090. message ServiceGoodsChannelVo {
  1091. int64 id = 1; // ID
  1092. string productCode = 2; // 产品标识
  1093. string channel = 3; // 渠道标识
  1094. string channelItemId = 4; // 商品唯一ID或商店SKUID
  1095. int64 serviceGoodsId = 5; // 商品ID
  1096. string title = 6; // 自定义标题(对外显示)
  1097. string subTitle = 7; // 自定义副标题(对外显示)
  1098. string introduce = 8; // 自定义简介(对外显示)
  1099. string tag = 9; // 自定义标签内容(对外显示)
  1100. float orgPrice = 10; // 在该渠道下的原价
  1101. float price = 11; // 在该渠道下的现价
  1102. int64 currency = 12; // 价格货币类型
  1103. BoolInt recommend = 13; // 是否推荐商品(默认值) 1推荐 2不推荐
  1104. BoolInt isDefault = 14; // 是否默认商品(默认值) 1默认 2不默认
  1105. string displayPolicyConfig = 15; // 显示策略
  1106. int64 sort = 16; // 排序
  1107. Status status = 17; // 状态 1启用 2禁用
  1108. string remark = 18; // 备注
  1109. int64 createTime = 19; // 创建时间
  1110. int64 createAt = 20; // 创建者ID
  1111. int64 updateTime = 21; // 更新时间
  1112. int64 updateAt = 22; // 更新者ID
  1113. }
  1114. message ServiceGoodsChannelWithGoodsVo {
  1115. ServiceGoodsChannelVo serviceGoodsChannel = 1;
  1116. ServiceGoodsVo serviceGoods = 2;
  1117. }
  1118. message ServiceGoodsChannelWithGoodsAndPlansVo {
  1119. ServiceGoodsChannelVo serviceGoodsChannel = 1;
  1120. ServiceGoodsVo serviceGoods = 2;
  1121. repeated ServicePlanWithDurationVo servicePlans = 3;
  1122. }
  1123. message ServiceGoodsChannelWithGoodsAndPlansAndDetailsVo {
  1124. ServiceGoodsChannelVo serviceGoodsChannel = 1;
  1125. ServiceGoodsVo serviceGoods = 2;
  1126. repeated ServicePlanWithDurationAndDetailsVo servicePlans = 3;
  1127. }
  1128. message ServiceGoodsChannelGetReq { ServiceGoodsChannelVo vo = 1; }
  1129. message ServiceGoodsChannelGetResp { ServiceGoodsChannelVo vo = 1; }
  1130. message ServiceGoodsChannelGetWithGoodsReq { ServiceGoodsChannelVo vo = 1; }
  1131. message ServiceGoodsChannelGetWithGoodsResp {
  1132. ServiceGoodsChannelVo serviceGoodsChannel = 1;
  1133. ServiceGoodsVo serviceGoods = 2;
  1134. }
  1135. message ServiceGoodsChannelGetWithGoodsAndPlansReq { ServiceGoodsChannelVo vo = 1; }
  1136. message ServiceGoodsChannelGetWithGoodsAndPlansResp {
  1137. ServiceGoodsChannelVo serviceGoodsChannel = 1;
  1138. ServiceGoodsVo serviceGoods = 2;
  1139. repeated ServicePlanWithDurationVo servicePlans = 3;
  1140. }
  1141. message ServiceGoodsChannelGetWithGoodsAndPlansAndDetailsReq { ServiceGoodsChannelVo vo = 1; }
  1142. message ServiceGoodsChannelGetWithGoodsAndPlansAndDetailsResp {
  1143. ServiceGoodsChannelVo serviceGoodsChannel = 1;
  1144. ServiceGoodsVo serviceGoods = 2;
  1145. repeated ServicePlanWithDurationAndDetailsVo servicePlans = 3;
  1146. }
  1147. message ServiceGoodsChannelAddReq { ServiceGoodsChannelVo vo = 1; }
  1148. message ServiceGoodsChannelAddResp { ServiceGoodsChannelVo vo = 1; }
  1149. message ServiceGoodsChannelUpdateReq { ServiceGoodsChannelVo vo = 1; }
  1150. message ServiceGoodsChannelUpdateResp { ServiceGoodsChannelVo vo = 1; }
  1151. message ServiceGoodsChannelDelReq { repeated int64 ids = 1; }
  1152. message ServiceGoodsChannelListReq {
  1153. Page page = 1;
  1154. ServiceGoodsChannelVo vo = 2;
  1155. repeated string productCodes = 3;
  1156. repeated string channels = 4;
  1157. repeated int64 serviceGoodsIds = 5;
  1158. repeated int64 excludeIds = 6;
  1159. }
  1160. message ServiceGoodsChannelListResp {
  1161. int64 total = 1;
  1162. repeated ServiceGoodsChannelVo list = 2;
  1163. }
  1164. message ServiceGoodsChannelListWithGoodsReq {
  1165. Page page = 1;
  1166. ServiceGoodsChannelVo vo = 2;
  1167. repeated string productCodes = 3;
  1168. repeated string channels = 4;
  1169. repeated int64 serviceGoodsIds = 5;
  1170. repeated int64 excludeIds = 6;
  1171. }
  1172. message ServiceGoodsChannelListWithGoodsResp {
  1173. int64 total = 1;
  1174. repeated ServiceGoodsChannelWithGoodsVo list = 2;
  1175. }
  1176. message ServiceGoodsChannelListWithGoodsAndPlansReq {
  1177. Page page = 1;
  1178. ServiceGoodsChannelVo vo = 2;
  1179. repeated string productCodes = 3;
  1180. repeated string channels = 4;
  1181. repeated int64 serviceGoodsIds = 5;
  1182. repeated int64 excludeIds = 6;
  1183. }
  1184. message ServiceGoodsChannelListWithGoodsAndPlansResp {
  1185. int64 total = 1;
  1186. repeated ServiceGoodsChannelWithGoodsAndPlansVo list = 2;
  1187. }
  1188. message ServiceGoodsChannelListWithGoodsAndPlansAndDetailsReq {
  1189. Page page = 1;
  1190. ServiceGoodsChannelVo vo = 2;
  1191. repeated string productCodes = 3;
  1192. repeated string channels = 4;
  1193. repeated int64 serviceGoodsIds = 5;
  1194. repeated int64 excludeIds = 6;
  1195. }
  1196. message ServiceGoodsChannelListWithGoodsAndPlansAndDetailsResp {
  1197. int64 total = 1;
  1198. repeated ServiceGoodsChannelWithGoodsAndPlansAndDetailsVo list = 2;
  1199. }
  1200. // end ServiceGoodsChannel
  1201. message MessagePushVo {
  1202. int64 id = 1;
  1203. string status = 2;
  1204. int64 operator = 3;
  1205. string module = 4;
  1206. string title = 5;
  1207. string message = 6;
  1208. string imgUrl = 7;
  1209. string data = 8;
  1210. string productCode = 9;
  1211. int64 areaParam = 10;
  1212. repeated string topics = 11;
  1213. repeated string firebaseTokens = 12;
  1214. int64 publishTime = 13;
  1215. int64 createTime = 14;
  1216. int64 updateTime = 15;
  1217. string pushType = 16;
  1218. int64 publishCount = 17;
  1219. string exData = 18;
  1220. }
  1221. message MessagePushListReq {
  1222. Page page = 1;
  1223. MessagePushVo vo = 2;
  1224. }
  1225. message MessagePushListResp {
  1226. int64 total = 1;
  1227. repeated MessagePushVo list = 2;
  1228. }
  1229. // 基础服务: 产品管理,产品配置,升级配置、更新资源管理,资源版本管理,全局配置
  1230. service GoPmpClient {
  1231. rpc Ping(Request) returns (Response);
  1232. // GlobalParamVo Model
  1233. // GlobalParamAdd
  1234. rpc GlobalParamAdd(GlobalParamVo) returns (GlobalParamVo);
  1235. rpc GlobalParamUpdate(GlobalParamVo) returns (GlobalParamVo);
  1236. rpc GlobalParamDel(Ids) returns (Empty);
  1237. rpc GlobalParamGet(GlobalParamVo) returns (GlobalParamVo); // 兼容旧接口,新版本代码中请不要调用
  1238. rpc GlobalParamGetWithLang(GlobalParamGetReq) returns (GlobalParamVo);
  1239. rpc GlobalParamList(GlobalParamListReq) returns (GlobalParamListResp);
  1240. // ProductVo Model
  1241. // ProductAdd
  1242. rpc ProductAdd(ProductVo) returns (ProductVo);
  1243. rpc ProductUpdate(ProductVo) returns (ProductVo);
  1244. rpc ProductDel(Ids) returns (Empty);
  1245. rpc ProductGet(ProductVo) returns (ProductVo);
  1246. rpc ProductList(ProductListReq) returns (ProductListResp);
  1247. rpc ProductAll(Request) returns (ProductListResp);
  1248. // ProductParamVo Model
  1249. // ProductParamAdd
  1250. rpc ProductParamAdd(ProductParamVo) returns (ProductParamVo);
  1251. rpc ProductParamUpdate(ProductParamVo) returns (ProductParamVo);
  1252. rpc ProductParamDel(Ids) returns (Empty);
  1253. rpc ProductParamGet(ProductParamVo) returns (ProductParamVo); // 兼容旧接口,新版本代码中请不要调用
  1254. rpc ProductParamGetWithLang(ProductParamGetReq) returns (ProductParamVo);
  1255. rpc ProductParamList(ProductParamListReq) returns (ProductParamListResp);
  1256. // ProductAction 产品行为配置
  1257. rpc ProductActionAdd(ProductActionVo) returns (ProductActionVo);
  1258. rpc ProductActionUpdate(ProductActionVo) returns (ProductActionVo);
  1259. rpc ProductActionDel(Ids) returns (Empty);
  1260. rpc ProductActionGet(ProductActionReq) returns (ProductActionVo);
  1261. rpc ProductActionList(ProductActionListReq) returns (ProductActionListResp);
  1262. // ProductActionGroup 产品行为分组
  1263. rpc ProductActionGroupAdd(ProductActionGroupVo) returns (ProductActionGroupVo);
  1264. rpc ProductActionGroupUpdate(ProductActionGroupVo) returns (ProductActionGroupVo);
  1265. rpc ProductActionGroupDel(Ids) returns (Empty);
  1266. rpc ProductActionGroupGet(ProductActionGroupReq) returns (ProductActionGroupVo);
  1267. rpc ProductActionGroupList(ProductActionGroupListReq) returns (ProductActionGroupListResp);
  1268. rpc ProductActionGroupDisable(ProductActionGroupDisableReq) returns (Empty);
  1269. rpc ProductActionGroupEnable(ProductActionGroupEnableReq) returns (Empty);
  1270. // ProductActionPolicyGroup 产品行为策略分组
  1271. rpc ProductActionPolicyGroupAdd(ProductActionPolicyGroupVo) returns (ProductActionPolicyGroupVo);
  1272. rpc ProductActionPolicyGroupUpdate(ProductActionPolicyGroupVo) returns (ProductActionPolicyGroupVo);
  1273. rpc ProductActionPolicyGroupDel(Ids) returns (Empty);
  1274. rpc ProductActionPolicyGroupGet(ProductActionPolicyGroupReq) returns (ProductActionPolicyGroupVo);
  1275. rpc ProductActionPolicyGroupList(ProductActionPolicyGroupListReq) returns (ProductActionPolicyGroupListResp);
  1276. rpc ProductActionPolicyGroupDisable(ProductActionPolicyGroupDisableReq) returns (Empty);
  1277. rpc ProductActionPolicyGroupEnable(ProductActionPolicyGroupEnableReq) returns (Empty);
  1278. // ProductActionType 产品行为类型
  1279. rpc ProductActionTypeAdd(ProductActionTypeVo) returns (ProductActionTypeVo);
  1280. rpc ProductActionTypeUpdate(ProductActionTypeVo) returns (ProductActionTypeVo);
  1281. rpc ProductActionTypeDel(Ids) returns (Empty);
  1282. rpc ProductActionTypeGet(ProductActionTypeReq) returns (ProductActionTypeVo);
  1283. rpc ProductActionTypeList(ProductActionTypeListReq) returns (ProductActionTypeListResp);
  1284. // AreaParamVo Model
  1285. // AreaParamAdd
  1286. rpc AreaParamAdd(AreaParamVo) returns (AreaParamVo);
  1287. rpc AreaParamUpdate(AreaParamVo) returns (AreaParamVo);
  1288. rpc AreaParamDel(Ids) returns (Empty);
  1289. rpc AreaParamGet(AreaParamVo) returns (AreaParamVo);
  1290. rpc AreaParamList(AreaParamListReq) returns (AreaParamListResp);
  1291. // NationalLanguage Model
  1292. // NationalLanguageAdd
  1293. rpc NationalLanguageAdd(NationalLanguageVo) returns (NationalLanguageVo);
  1294. rpc NationalLanguageUpdate(NationalLanguageVo) returns (NationalLanguageVo);
  1295. rpc NationalLanguageDel(Ids) returns (Empty);
  1296. rpc NationalLanguageGet(NationalLanguageVo) returns (NationalLanguageVo);
  1297. rpc NationalLanguageList(NationalLanguageListReq) returns (NationalLanguageListResp);
  1298. // Tip Model
  1299. // TipAdd
  1300. rpc TipAdd(TipVo) returns (TipVo);
  1301. rpc TipUpdate(TipVo) returns (TipVo);
  1302. rpc TipDel(Ids) returns (Empty);
  1303. rpc TipGet(TipGetReq) returns (TipVo);
  1304. rpc TipList(TipListReq) returns (TipListResp);
  1305. // Dict Model
  1306. // DictAdd
  1307. rpc DictAdd(DictVo) returns (DictVo);
  1308. rpc DictUpdate(DictVo) returns (DictVo);
  1309. rpc DictDel(Ids) returns (Empty);
  1310. rpc DictGet(DictGetReq) returns (DictVo);
  1311. rpc DictList(DictListReq) returns (DictListResp);
  1312. // // UpgradeRes 热更新代码资源管理
  1313. // rpc UpgradeResAdd(UpgradeResVo) returns (UpgradeResVo);
  1314. // rpc UpgradeResUpdate(UpgradeResVo) returns (Empty);
  1315. // rpc UpgradeResDel(ResourceDelReq) returns (Empty);
  1316. // rpc UpgradeResGet(UpgradeResGetReq) returns (UpgradeResVo);
  1317. // rpc UpgradeResList(UpgradeResListReq) returns (UpgradeResListResp);
  1318. // // UpgradePkg app 包更新管理
  1319. // rpc UpgradePkgAdd(UpgradePkgVo) returns (UpgradePkgVo);
  1320. // rpc UpgradePkgUpdate(UpgradePkgVo) returns (Empty);
  1321. // rpc UpgradePkgDel(Ids) returns (Empty);
  1322. // rpc UpgradePkgGet(UpgradePkgGetReq) returns (UpgradePkgVo);
  1323. // rpc UpgradePkgList(UpgradePkgListReq) returns (UpgradePkgListResp);
  1324. // // UpgradeResConfig Model
  1325. // // UpgradeResConfigAdd
  1326. // 热更新【代码资源】配置管理,控制哪些版本地区的用户可以更新
  1327. // rpc UpgradeResConfigAdd(UpgradeResConfigVo) returns (UpgradeResConfigVo);
  1328. // rpc UpgradeResConfigUpdate(UpgradeResConfigVo) returns (Empty);
  1329. // rpc UpgradeResConfigDel(Ids) returns (Empty);
  1330. // rpc UpgradeResConfigGet(UpgradeResConfigGetReq) returns (UpgradeResConfigVo);
  1331. // rpc UpgradeResConfigList(UpgradeResConfigListReq) returns (UpgradeResConfigListResp);
  1332. // UpgradePkgPlan Model
  1333. // UpgradePkgPlanAdd
  1334. rpc UpgradePkgPlanAdd(UpgradePkgPlanVo) returns (UpgradePkgPlanVo);
  1335. rpc UpgradePkgPlanUpdate(UpgradePkgPlanVo) returns (UpgradePkgPlanVo);
  1336. rpc UpgradePkgPlanDel(Ids) returns (Empty);
  1337. rpc UpgradePkgPlanGet(UpgradePkgPlanVo) returns (UpgradePkgPlanVo);
  1338. rpc UpgradePkgPlanList(UpgradePkgPlanListReq) returns (UpgradePkgPlanListResp);
  1339. // UpgradePkgPlanDetail Model
  1340. // UpgradePkgPlanDetailAdd
  1341. rpc UpgradePkgPlanDetailAdd(UpgradePkgPlanDetailVo) returns (UpgradePkgPlanDetailVo);
  1342. rpc UpgradePkgPlanDetailUpdate(UpgradePkgPlanDetailVo) returns (UpgradePkgPlanDetailVo);
  1343. rpc UpgradePkgPlanDetailDel(Ids) returns (Empty);
  1344. rpc UpgradePkgPlanDetailGet(UpgradePkgPlanDetailVo) returns (UpgradePkgPlanDetailVo);
  1345. rpc UpgradePkgPlanDetailList(UpgradePkgPlanDetailListReq) returns (UpgradePkgPlanDetailListResp);
  1346. // UpgradeResPlan Model
  1347. // UpgradeResPlanAdd
  1348. rpc UpgradeResPlanAdd(UpgradeResPlanVo) returns (UpgradeResPlanVo);
  1349. rpc UpgradeResPlanUpdate(UpgradeResPlanVo) returns (UpgradeResPlanVo);
  1350. rpc UpgradeResPlanDel(Ids) returns (Empty);
  1351. rpc UpgradeResPlanGet(UpgradeResPlanVo) returns (UpgradeResPlanVo);
  1352. rpc UpgradeResPlanList(UpgradeResPlanListReq) returns (UpgradeResPlanListResp);
  1353. // UpgradeResPlanDetail Model
  1354. // UpgradeResPlanDetailAdd
  1355. rpc UpgradeResPlanDetailAdd(UpgradeResPlanDetailVo) returns (UpgradeResPlanDetailVo);
  1356. rpc UpgradeResPlanDetailUpdate(UpgradeResPlanDetailVo) returns (UpgradeResPlanDetailVo);
  1357. rpc UpgradeResPlanDetailDel(Ids) returns (Empty);
  1358. rpc UpgradeResPlanDetailGet(UpgradeResPlanDetailVo) returns (UpgradeResPlanDetailVo);
  1359. rpc UpgradeResPlanDetailList(UpgradeResPlanDetailListReq) returns (UpgradeResPlanDetailListResp);
  1360. // AdPlan Model
  1361. // AdPlanAdd
  1362. rpc AdPlanAdd(AdPlanVo) returns (AdPlanVo);
  1363. rpc AdPlanUpdate(AdPlanVo) returns (AdPlanVo);
  1364. rpc AdPlanDel(Ids) returns (Empty);
  1365. rpc AdPlanGet(AdPlanVo) returns (AdPlanVo);
  1366. rpc AdPlanList(AdPlanListReq) returns (AdPlanListResp);
  1367. // AdPlanDetail Model
  1368. // AdPlanDetailAdd
  1369. rpc AdPlanDetailAdd(AdPlanDetailVo) returns (AdPlanDetailVo);
  1370. rpc AdPlanDetailUpdate(AdPlanDetailVo) returns (AdPlanDetailVo);
  1371. rpc AdPlanDetailDel(Ids) returns (Empty);
  1372. rpc AdPlanDetailGet(AdPlanDetailVo) returns (AdPlanDetailVo);
  1373. rpc AdPlanDetailList(AdPlanDetailListReq) returns (AdPlanDetailListResp);
  1374. // AdGlobalConfig Model
  1375. // AdGlobalConfigGet
  1376. rpc AdGlobalConfigGet(AdGlobalConfigGetReq) returns (AdGlobalConfigVo);
  1377. rpc AdGlobalConfigUpdate(AdGlobalConfigVo) returns (AdGlobalConfigVo);
  1378. // JobBatch Model
  1379. // JobBatchAdd
  1380. rpc JobBatchAdd(JobBatchVo) returns (JobBatchVo);
  1381. rpc JobBatchAddWithTasks(JobBatchWithTasksVo) returns (JobBatchWithTasksVo);
  1382. rpc JobBatchUpdate(JobBatchVo) returns (JobBatchVo);
  1383. rpc JobBatchDel(Ids) returns (Empty);
  1384. rpc JobBatchGet(JobBatchVo) returns (JobBatchVo);
  1385. rpc JobBatchGetWithTasks(JobBatchVo) returns (JobBatchWithTasksVo);
  1386. rpc JobBatchList(JobBatchListReq) returns (JobBatchListResp);
  1387. rpc JobBatchListWithTasks(JobBatchListReq) returns (JobBatchListWithTasksResp);
  1388. // JobTasks Model
  1389. // JobTasksAdd
  1390. rpc JobTasksAdd(JobTasksVo) returns (JobTasksVo);
  1391. rpc JobTasksUpdate(JobTasksVo) returns (JobTasksVo);
  1392. rpc JobTasksDel(Ids) returns (Empty);
  1393. rpc JobTasksGet(JobTasksVo) returns (JobTasksVo);
  1394. rpc JobTasksList(JobTasksListReq) returns (JobTasksListResp);
  1395. // DeployConfig Model
  1396. // DeployConfigAdd
  1397. rpc DeployConfigAdd(DeployConfigVo) returns (DeployConfigVo);
  1398. rpc DeployConfigUpdate(DeployConfigVo) returns (DeployConfigVo);
  1399. rpc DeployConfigDel(Ids) returns (Empty);
  1400. rpc DeployConfigGet(DeployConfigVo) returns (DeployConfigVo);
  1401. rpc DeployConfigList(DeployConfigListReq) returns (DeployConfigListResp);
  1402. // OperationLog Model
  1403. // OperationLogAdd
  1404. rpc OperationLogAdd(OperationLogVo) returns (OperationLogVo);
  1405. rpc OperationLogUpdate(OperationLogVo) returns (OperationLogVo);
  1406. rpc OperationLogGet(OperationLogVo) returns (OperationLogVo);
  1407. rpc OperationLogList(OperationLogListReq) returns (OperationLogListResp);
  1408. // AnnouncePlan Model
  1409. // AnnouncePlanAdd
  1410. rpc AnnouncePlanAdd(AnnouncePlanVo) returns (AnnouncePlanVo);
  1411. rpc AnnouncePlanUpdate(AnnouncePlanVo) returns (AnnouncePlanVo);
  1412. rpc AnnouncePlanDel(Ids) returns (Empty);
  1413. rpc AnnouncePlanGet(AnnouncePlanVo) returns (AnnouncePlanVo);
  1414. rpc AnnouncePlanList(AnnouncePlanListReq) returns (AnnouncePlanListResp);
  1415. // AnnouncePlanDetail Model
  1416. // AnnouncePlanDetailAdd
  1417. rpc AnnouncePlanDetailAdd(AnnouncePlanDetailVo) returns (AnnouncePlanDetailVo);
  1418. rpc AnnouncePlanDetailUpdate(AnnouncePlanDetailVo) returns (AnnouncePlanDetailVo);
  1419. rpc AnnouncePlanDetailDel(Ids) returns (Empty);
  1420. rpc AnnouncePlanDetailGet(AnnouncePlanDetailVo) returns (AnnouncePlanDetailVo);
  1421. rpc AnnouncePlanDetailList(AnnouncePlanDetailListReq) returns (AnnouncePlanDetailListResp);
  1422. // ServiceTypes Model
  1423. // ServiceTypesAdd
  1424. rpc ServiceTypesAdd(ServiceTypesAddReq) returns (ServiceTypesAddResp);
  1425. rpc ServiceTypesUpdate(ServiceTypesUpdateReq) returns (ServiceTypesUpdateResp);
  1426. rpc ServiceTypesDel(ServiceTypesDelReq) returns (Empty);
  1427. rpc ServiceTypesGet(ServiceTypesGetReq) returns (ServiceTypesGetResp);
  1428. rpc ServiceTypesGetWithValue(ServiceTypesGetWithValueReq) returns (ServiceTypesGetWithValueResp);
  1429. rpc ServiceTypesList(ServiceTypesListReq) returns (ServiceTypesListResp);
  1430. rpc ServiceTypesListWithValue(ServiceTypesListWithValueReq) returns (ServiceTypesListWithValueResp);
  1431. // ServicePlan Model
  1432. // ServicePlanAdd
  1433. rpc ServicePlanAdd(ServicePlanAddReq) returns (ServicePlanAddResp);
  1434. rpc ServicePlanAddWithDetails(ServicePlanAddWithDetailsReq) returns (ServicePlanAddWithDetailsResp);
  1435. rpc ServicePlanUpdate(ServicePlanUpdateReq) returns (ServicePlanUpdateResp);
  1436. rpc ServicePlanUpdateWithDetails(ServicePlanUpdateWithDetailsReq) returns (ServicePlanUpdateWithDetailsResp);
  1437. rpc ServicePlanDel(ServicePlanDelReq) returns (Empty);
  1438. rpc ServicePlanGet(ServicePlanGetReq) returns (ServicePlanGetResp);
  1439. rpc ServicePlanGetWithDetails(ServicePlanGetWithDetailsReq) returns (ServicePlanGetWithDetailsResp);
  1440. rpc ServicePlanList(ServicePlanListReq) returns (ServicePlanListResp);
  1441. rpc ServicePlanListWithDetails(ServicePlanListWithDetailsReq) returns (ServicePlanListWithDetailsResp);
  1442. // ServicePlanTypes Model
  1443. // ServicePlanTypesAdd
  1444. rpc ServicePlanTypesAdd(ServicePlanTypesAddReq) returns (ServicePlanTypesAddResp);
  1445. rpc ServicePlanTypesUpdate(ServicePlanTypesUpdateReq) returns (ServicePlanTypesUpdateResp);
  1446. rpc ServicePlanTypesDel(ServicePlanTypesDelReq) returns (Empty);
  1447. rpc ServicePlanTypesGet(ServicePlanTypesGetReq) returns (ServicePlanTypesGetResp);
  1448. rpc ServicePlanTypesList(ServicePlanTypesListReq) returns (ServicePlanTypesListResp);
  1449. // ServiceGoods Model
  1450. // ServiceGoodsAdd
  1451. rpc ServiceGoodsAdd(ServiceGoodsAddReq) returns (ServiceGoodsAddResp);
  1452. rpc ServiceGoodsAddWithPlans(ServiceGoodsAddWithPlansReq) returns (ServiceGoodsAddWithPlansResp);
  1453. rpc ServiceGoodsAddWithPlansAndDetails(ServiceGoodsAddWithPlansAndDetailsReq) returns (ServiceGoodsAddWithPlansAndDetailsResp);
  1454. rpc ServiceGoodsUpdate(ServiceGoodsUpdateReq) returns (ServiceGoodsUpdateResp);
  1455. rpc ServiceGoodsUpdateWithPlans(ServiceGoodsUpdateWithPlansReq) returns (ServiceGoodsUpdateWithPlansResp);
  1456. rpc ServiceGoodsUpdateWithPlansAndDetails(ServiceGoodsUpdateWithPlansAndDetailsReq) returns (ServiceGoodsUpdateWithPlansAndDetailsResp);
  1457. rpc ServiceGoodsDel(ServiceGoodsDelReq) returns (Empty);
  1458. rpc ServiceGoodsGet(ServiceGoodsGetReq) returns (ServiceGoodsGetResp);
  1459. rpc ServiceGoodsGetWithPlans(ServiceGoodsGetWithPlansReq) returns (ServiceGoodsGetWithPlansResp);
  1460. rpc ServiceGoodsGetWithPlansAndDetails(ServiceGoodsGetWithPlansAndDetailsReq) returns (ServiceGoodsGetWithPlansAndDetailsResp);
  1461. rpc ServiceGoodsList(ServiceGoodsListReq) returns (ServiceGoodsListResp);
  1462. rpc ServiceGoodsListWithPlans(ServiceGoodsListWithPlansReq) returns (ServiceGoodsListWithPlansResp);
  1463. rpc ServiceGoodsListWithPlansAndDetails(ServiceGoodsListWithPlansAndDetailsReq) returns (ServiceGoodsListWithPlansAndDetailsResp);
  1464. // ServiceGoodsPlans Model
  1465. // ServiceGoodsPlansAdd
  1466. rpc ServiceGoodsPlansAdd(ServiceGoodsPlansAddReq) returns (ServiceGoodsPlansAddResp);
  1467. rpc ServiceGoodsPlansUpdate(ServiceGoodsPlansUpdateReq) returns (ServiceGoodsPlansUpdateResp);
  1468. rpc ServiceGoodsPlansDel(ServiceGoodsPlansDelReq) returns (Empty);
  1469. rpc ServiceGoodsPlansGet(ServiceGoodsPlansGetReq) returns (ServiceGoodsPlansGetResp);
  1470. rpc ServiceGoodsPlansList(ServiceGoodsPlansListReq) returns (ServiceGoodsPlansListResp);
  1471. // ServiceGoodsChannel Model
  1472. // ServiceGoodsChannelAdd
  1473. rpc ServiceGoodsChannelAdd(ServiceGoodsChannelAddReq) returns (ServiceGoodsChannelAddResp);
  1474. rpc ServiceGoodsChannelUpdate(ServiceGoodsChannelUpdateReq) returns (ServiceGoodsChannelUpdateResp);
  1475. rpc ServiceGoodsChannelDel(ServiceGoodsChannelDelReq) returns (Empty);
  1476. rpc ServiceGoodsChannelGet(ServiceGoodsChannelGetReq) returns (ServiceGoodsChannelGetResp);
  1477. rpc ServiceGoodsChannelGetWithGoods(ServiceGoodsChannelGetWithGoodsReq) returns (ServiceGoodsChannelGetWithGoodsResp);
  1478. rpc ServiceGoodsChannelGetWithGoodsAndPlans(ServiceGoodsChannelGetWithGoodsAndPlansReq) returns (ServiceGoodsChannelGetWithGoodsAndPlansResp);
  1479. rpc ServiceGoodsChannelGetWithGoodsAndPlansAndDetails(ServiceGoodsChannelGetWithGoodsAndPlansAndDetailsReq) returns (ServiceGoodsChannelGetWithGoodsAndPlansAndDetailsResp);
  1480. rpc ServiceGoodsChannelList(ServiceGoodsChannelListReq) returns (ServiceGoodsChannelListResp);
  1481. rpc ServiceGoodsChannelListWithGoods(ServiceGoodsChannelListWithGoodsReq) returns (ServiceGoodsChannelListWithGoodsResp);
  1482. rpc ServiceGoodsChannelListWithGoodsAndPlans(ServiceGoodsChannelListWithGoodsAndPlansReq) returns (ServiceGoodsChannelListWithGoodsAndPlansResp);
  1483. rpc ServiceGoodsChannelListWithGoodsAndPlansAndDetails(ServiceGoodsChannelListWithGoodsAndPlansAndDetailsReq) returns (ServiceGoodsChannelListWithGoodsAndPlansAndDetailsResp);
  1484. // MessagePush Model
  1485. // MessagePushAdd
  1486. rpc MessagePushAdd(MessagePushVo) returns (MessagePushVo);
  1487. rpc MessagePushUpdate(MessagePushVo) returns (MessagePushVo);
  1488. rpc MessagePushList(MessagePushListReq) returns (MessagePushListResp);
  1489. }