pmp.proto 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221
  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;
  770. string productCode = 2;
  771. string name = 3;
  772. int64 userLevel = 4;
  773. int64 deviceLimit = 5; // 可选字段,Go中是 *int64
  774. int64 sort = 6;
  775. string config = 7;
  776. Status status = 8;
  777. string remark = 9;
  778. int64 createTime = 10;
  779. int64 updateTime = 11;
  780. }
  781. message ServiceTypesGetReq { int64 id = 1; }
  782. message ServiceTypesListReq {
  783. Page page = 1;
  784. ServiceTypesVo vo = 2;
  785. repeated string productCodes = 3;
  786. repeated int64 excludeIds = 4;
  787. }
  788. message ServiceTypesListResp {
  789. int64 total = 1;
  790. repeated ServiceTypesVo list = 2;
  791. }
  792. message ServiceTypesAddReq { ServiceTypesVo vo = 1; }
  793. message ServiceTypesUpdateReq { ServiceTypesVo vo = 1; }
  794. message ServiceTypesDelReq { int64 id = 1; }
  795. // end ServiceTypes
  796. // ServiceSets
  797. message ServiceSetsVo {
  798. int64 id = 1;
  799. string productCode = 2;
  800. int64 serviceTypeId = 3;
  801. string name = 4;
  802. int64 licenseDays = 5;
  803. string channel = 6;
  804. string channelItemId = 7;
  805. int64 refPortalServiceSetId = 8; // Go中是 sql.int64,转换为 int64
  806. string appleChannelItemId = 9;
  807. string googleChannelItemId = 10;
  808. string title = 11;
  809. string subTitle = 12;
  810. string introduce = 13;
  811. float orgPrice = 14;
  812. float price = 15;
  813. BoolInt display = 16;
  814. BoolInt isDefault = 17;
  815. BoolInt recommend = 18;
  816. BoolInt hidden = 19;
  817. int64 sort = 20;
  818. Status status = 21;
  819. string remark = 22;
  820. int64 createTime = 23;
  821. int64 updateTime = 24;
  822. }
  823. message ServiceSetsGetReq { int64 id = 1; }
  824. message ServiceSetsListReq {
  825. Page page = 1;
  826. ServiceSetsVo vo = 2;
  827. repeated string productCodes = 3;
  828. repeated int64 serviceTypeIds = 4;
  829. repeated int64 excludeIds = 5;
  830. }
  831. message ServiceSetsListResp {
  832. int64 total = 1;
  833. repeated ServiceSetsVo list = 2;
  834. }
  835. message ServiceSetsAddReq { ServiceSetsVo vo = 1; }
  836. message ServiceSetsUpdateReq { ServiceSetsVo vo = 1; }
  837. message ServiceSetsDelReq { int64 id = 1; }
  838. // end ServiceSets
  839. message MessagePushVo {
  840. int64 id = 1;
  841. string status = 2;
  842. int64 operator = 3;
  843. string module = 4;
  844. string title = 5;
  845. string message = 6;
  846. string imgUrl = 7;
  847. string data = 8;
  848. string productCode = 9;
  849. int64 areaParam = 10;
  850. repeated string topics = 11;
  851. repeated string firebaseTokens = 12;
  852. int64 publishTime = 13;
  853. int64 createTime = 14;
  854. int64 updateTime = 15;
  855. string pushType = 16;
  856. int64 publishCount = 17;
  857. string exData = 18;
  858. }
  859. message MessagePushListReq {
  860. Page page = 1;
  861. MessagePushVo vo = 2;
  862. }
  863. message MessagePushListResp {
  864. int64 total = 1;
  865. repeated MessagePushVo list = 2;
  866. }
  867. // 基础服务: 产品管理,产品配置,升级配置、更新资源管理,资源版本管理,全局配置
  868. service GoPmpClient {
  869. rpc Ping(Request) returns (Response);
  870. // GlobalParamVo Model
  871. // GlobalParamAdd
  872. rpc GlobalParamAdd(GlobalParamVo) returns (GlobalParamVo);
  873. rpc GlobalParamUpdate(GlobalParamVo) returns (GlobalParamVo);
  874. rpc GlobalParamDel(Ids) returns (Empty);
  875. rpc GlobalParamGet(GlobalParamVo) returns (GlobalParamVo); // 兼容旧接口,新版本代码中请不要调用
  876. rpc GlobalParamGetWithLang(GlobalParamGetReq) returns (GlobalParamVo);
  877. rpc GlobalParamList(GlobalParamListReq) returns (GlobalParamListResp);
  878. // ProductVo Model
  879. // ProductAdd
  880. rpc ProductAdd(ProductVo) returns (ProductVo);
  881. rpc ProductUpdate(ProductVo) returns (ProductVo);
  882. rpc ProductDel(Ids) returns (Empty);
  883. rpc ProductGet(ProductVo) returns (ProductVo);
  884. rpc ProductList(ProductListReq) returns (ProductListResp);
  885. rpc ProductAll(Request) returns (ProductListResp);
  886. // ProductParamVo Model
  887. // ProductParamAdd
  888. rpc ProductParamAdd(ProductParamVo) returns (ProductParamVo);
  889. rpc ProductParamUpdate(ProductParamVo) returns (ProductParamVo);
  890. rpc ProductParamDel(Ids) returns (Empty);
  891. rpc ProductParamGet(ProductParamVo) returns (ProductParamVo); // 兼容旧接口,新版本代码中请不要调用
  892. rpc ProductParamGetWithLang(ProductParamGetReq) returns (ProductParamVo);
  893. rpc ProductParamList(ProductParamListReq) returns (ProductParamListResp);
  894. // ProductAction 产品行为配置
  895. rpc ProductActionAdd(ProductActionVo) returns (ProductActionVo);
  896. rpc ProductActionUpdate(ProductActionVo) returns (ProductActionVo);
  897. rpc ProductActionDel(Ids) returns (Empty);
  898. rpc ProductActionGet(ProductActionReq) returns (ProductActionVo);
  899. rpc ProductActionList(ProductActionListReq) returns (ProductActionListResp);
  900. // ProductActionGroup 产品行为分组
  901. rpc ProductActionGroupAdd(ProductActionGroupVo) returns (ProductActionGroupVo);
  902. rpc ProductActionGroupUpdate(ProductActionGroupVo) returns (ProductActionGroupVo);
  903. rpc ProductActionGroupDel(Ids) returns (Empty);
  904. rpc ProductActionGroupGet(ProductActionGroupReq) returns (ProductActionGroupVo);
  905. rpc ProductActionGroupList(ProductActionGroupListReq) returns (ProductActionGroupListResp);
  906. rpc ProductActionGroupDisable(ProductActionGroupDisableReq) returns (Empty);
  907. rpc ProductActionGroupEnable(ProductActionGroupEnableReq) returns (Empty);
  908. // ProductActionPolicyGroup 产品行为策略分组
  909. rpc ProductActionPolicyGroupAdd(ProductActionPolicyGroupVo) returns (ProductActionPolicyGroupVo);
  910. rpc ProductActionPolicyGroupUpdate(ProductActionPolicyGroupVo) returns (ProductActionPolicyGroupVo);
  911. rpc ProductActionPolicyGroupDel(Ids) returns (Empty);
  912. rpc ProductActionPolicyGroupGet(ProductActionPolicyGroupReq) returns (ProductActionPolicyGroupVo);
  913. rpc ProductActionPolicyGroupList(ProductActionPolicyGroupListReq) returns (ProductActionPolicyGroupListResp);
  914. rpc ProductActionPolicyGroupDisable(ProductActionPolicyGroupDisableReq) returns (Empty);
  915. rpc ProductActionPolicyGroupEnable(ProductActionPolicyGroupEnableReq) returns (Empty);
  916. // ProductActionType 产品行为类型
  917. rpc ProductActionTypeAdd(ProductActionTypeVo) returns (ProductActionTypeVo);
  918. rpc ProductActionTypeUpdate(ProductActionTypeVo) returns (ProductActionTypeVo);
  919. rpc ProductActionTypeDel(Ids) returns (Empty);
  920. rpc ProductActionTypeGet(ProductActionTypeReq) returns (ProductActionTypeVo);
  921. rpc ProductActionTypeList(ProductActionTypeListReq) returns (ProductActionTypeListResp);
  922. // AreaParamVo Model
  923. // AreaParamAdd
  924. rpc AreaParamAdd(AreaParamVo) returns (AreaParamVo);
  925. rpc AreaParamUpdate(AreaParamVo) returns (AreaParamVo);
  926. rpc AreaParamDel(Ids) returns (Empty);
  927. rpc AreaParamGet(AreaParamVo) returns (AreaParamVo);
  928. rpc AreaParamList(AreaParamListReq) returns (AreaParamListResp);
  929. // NationalLanguage Model
  930. // NationalLanguageAdd
  931. rpc NationalLanguageAdd(NationalLanguageVo) returns (NationalLanguageVo);
  932. rpc NationalLanguageUpdate(NationalLanguageVo) returns (NationalLanguageVo);
  933. rpc NationalLanguageDel(Ids) returns (Empty);
  934. rpc NationalLanguageGet(NationalLanguageVo) returns (NationalLanguageVo);
  935. rpc NationalLanguageList(NationalLanguageListReq) returns (NationalLanguageListResp);
  936. // Tip Model
  937. // TipAdd
  938. rpc TipAdd(TipVo) returns (TipVo);
  939. rpc TipUpdate(TipVo) returns (TipVo);
  940. rpc TipDel(Ids) returns (Empty);
  941. rpc TipGet(TipGetReq) returns (TipVo);
  942. rpc TipList(TipListReq) returns (TipListResp);
  943. // Dict Model
  944. // DictAdd
  945. rpc DictAdd(DictVo) returns (DictVo);
  946. rpc DictUpdate(DictVo) returns (DictVo);
  947. rpc DictDel(Ids) returns (Empty);
  948. rpc DictGet(DictGetReq) returns (DictVo);
  949. rpc DictList(DictListReq) returns (DictListResp);
  950. // // UpgradeRes 热更新代码资源管理
  951. // rpc UpgradeResAdd(UpgradeResVo) returns (UpgradeResVo);
  952. // rpc UpgradeResUpdate(UpgradeResVo) returns (Empty);
  953. // rpc UpgradeResDel(ResourceDelReq) returns (Empty);
  954. // rpc UpgradeResGet(UpgradeResGetReq) returns (UpgradeResVo);
  955. // rpc UpgradeResList(UpgradeResListReq) returns (UpgradeResListResp);
  956. // // UpgradePkg app 包更新管理
  957. // rpc UpgradePkgAdd(UpgradePkgVo) returns (UpgradePkgVo);
  958. // rpc UpgradePkgUpdate(UpgradePkgVo) returns (Empty);
  959. // rpc UpgradePkgDel(Ids) returns (Empty);
  960. // rpc UpgradePkgGet(UpgradePkgGetReq) returns (UpgradePkgVo);
  961. // rpc UpgradePkgList(UpgradePkgListReq) returns (UpgradePkgListResp);
  962. // // UpgradeResConfig Model
  963. // // UpgradeResConfigAdd
  964. // 热更新【代码资源】配置管理,控制哪些版本地区的用户可以更新
  965. // rpc UpgradeResConfigAdd(UpgradeResConfigVo) returns (UpgradeResConfigVo);
  966. // rpc UpgradeResConfigUpdate(UpgradeResConfigVo) returns (Empty);
  967. // rpc UpgradeResConfigDel(Ids) returns (Empty);
  968. // rpc UpgradeResConfigGet(UpgradeResConfigGetReq) returns (UpgradeResConfigVo);
  969. // rpc UpgradeResConfigList(UpgradeResConfigListReq) returns (UpgradeResConfigListResp);
  970. // UpgradePkgPlan Model
  971. // UpgradePkgPlanAdd
  972. rpc UpgradePkgPlanAdd(UpgradePkgPlanVo) returns (UpgradePkgPlanVo);
  973. rpc UpgradePkgPlanUpdate(UpgradePkgPlanVo) returns (UpgradePkgPlanVo);
  974. rpc UpgradePkgPlanDel(Ids) returns (Empty);
  975. rpc UpgradePkgPlanGet(UpgradePkgPlanVo) returns (UpgradePkgPlanVo);
  976. rpc UpgradePkgPlanList(UpgradePkgPlanListReq) returns (UpgradePkgPlanListResp);
  977. // UpgradePkgPlanDetail Model
  978. // UpgradePkgPlanDetailAdd
  979. rpc UpgradePkgPlanDetailAdd(UpgradePkgPlanDetailVo) returns (UpgradePkgPlanDetailVo);
  980. rpc UpgradePkgPlanDetailUpdate(UpgradePkgPlanDetailVo) returns (UpgradePkgPlanDetailVo);
  981. rpc UpgradePkgPlanDetailDel(Ids) returns (Empty);
  982. rpc UpgradePkgPlanDetailGet(UpgradePkgPlanDetailVo) returns (UpgradePkgPlanDetailVo);
  983. rpc UpgradePkgPlanDetailList(UpgradePkgPlanDetailListReq) returns (UpgradePkgPlanDetailListResp);
  984. // UpgradeResPlan Model
  985. // UpgradeResPlanAdd
  986. rpc UpgradeResPlanAdd(UpgradeResPlanVo) returns (UpgradeResPlanVo);
  987. rpc UpgradeResPlanUpdate(UpgradeResPlanVo) returns (UpgradeResPlanVo);
  988. rpc UpgradeResPlanDel(Ids) returns (Empty);
  989. rpc UpgradeResPlanGet(UpgradeResPlanVo) returns (UpgradeResPlanVo);
  990. rpc UpgradeResPlanList(UpgradeResPlanListReq) returns (UpgradeResPlanListResp);
  991. // UpgradeResPlanDetail Model
  992. // UpgradeResPlanDetailAdd
  993. rpc UpgradeResPlanDetailAdd(UpgradeResPlanDetailVo) returns (UpgradeResPlanDetailVo);
  994. rpc UpgradeResPlanDetailUpdate(UpgradeResPlanDetailVo) returns (UpgradeResPlanDetailVo);
  995. rpc UpgradeResPlanDetailDel(Ids) returns (Empty);
  996. rpc UpgradeResPlanDetailGet(UpgradeResPlanDetailVo) returns (UpgradeResPlanDetailVo);
  997. rpc UpgradeResPlanDetailList(UpgradeResPlanDetailListReq) returns (UpgradeResPlanDetailListResp);
  998. // AdPlan Model
  999. // AdPlanAdd
  1000. rpc AdPlanAdd(AdPlanVo) returns (AdPlanVo);
  1001. rpc AdPlanUpdate(AdPlanVo) returns (AdPlanVo);
  1002. rpc AdPlanDel(Ids) returns (Empty);
  1003. rpc AdPlanGet(AdPlanVo) returns (AdPlanVo);
  1004. rpc AdPlanList(AdPlanListReq) returns (AdPlanListResp);
  1005. // AdPlanDetail Model
  1006. // AdPlanDetailAdd
  1007. rpc AdPlanDetailAdd(AdPlanDetailVo) returns (AdPlanDetailVo);
  1008. rpc AdPlanDetailUpdate(AdPlanDetailVo) returns (AdPlanDetailVo);
  1009. rpc AdPlanDetailDel(Ids) returns (Empty);
  1010. rpc AdPlanDetailGet(AdPlanDetailVo) returns (AdPlanDetailVo);
  1011. rpc AdPlanDetailList(AdPlanDetailListReq) returns (AdPlanDetailListResp);
  1012. // AdGlobalConfig Model
  1013. // AdGlobalConfigGet
  1014. rpc AdGlobalConfigGet(AdGlobalConfigGetReq) returns (AdGlobalConfigVo);
  1015. rpc AdGlobalConfigUpdate(AdGlobalConfigVo) returns (AdGlobalConfigVo);
  1016. // JobBatch Model
  1017. // JobBatchAdd
  1018. rpc JobBatchAdd(JobBatchVo) returns (JobBatchVo);
  1019. rpc JobBatchAddWithTasks(JobBatchWithTasksVo) returns (JobBatchWithTasksVo);
  1020. rpc JobBatchUpdate(JobBatchVo) returns (JobBatchVo);
  1021. rpc JobBatchDel(Ids) returns (Empty);
  1022. rpc JobBatchGet(JobBatchVo) returns (JobBatchVo);
  1023. rpc JobBatchGetWithTasks(JobBatchVo) returns (JobBatchWithTasksVo);
  1024. rpc JobBatchList(JobBatchListReq) returns (JobBatchListResp);
  1025. rpc JobBatchListWithTasks(JobBatchListReq) returns (JobBatchListWithTasksResp);
  1026. // JobTasks Model
  1027. // JobTasksAdd
  1028. rpc JobTasksAdd(JobTasksVo) returns (JobTasksVo);
  1029. rpc JobTasksUpdate(JobTasksVo) returns (JobTasksVo);
  1030. rpc JobTasksDel(Ids) returns (Empty);
  1031. rpc JobTasksGet(JobTasksVo) returns (JobTasksVo);
  1032. rpc JobTasksList(JobTasksListReq) returns (JobTasksListResp);
  1033. // DeployConfig Model
  1034. // DeployConfigAdd
  1035. rpc DeployConfigAdd(DeployConfigVo) returns (DeployConfigVo);
  1036. rpc DeployConfigUpdate(DeployConfigVo) returns (DeployConfigVo);
  1037. rpc DeployConfigDel(Ids) returns (Empty);
  1038. rpc DeployConfigGet(DeployConfigVo) returns (DeployConfigVo);
  1039. rpc DeployConfigList(DeployConfigListReq) returns (DeployConfigListResp);
  1040. // OperationLog Model
  1041. // OperationLogAdd
  1042. rpc OperationLogAdd(OperationLogVo) returns (OperationLogVo);
  1043. rpc OperationLogUpdate(OperationLogVo) returns (OperationLogVo);
  1044. rpc OperationLogGet(OperationLogVo) returns (OperationLogVo);
  1045. rpc OperationLogList(OperationLogListReq) returns (OperationLogListResp);
  1046. // AnnouncePlan Model
  1047. // AnnouncePlanAdd
  1048. rpc AnnouncePlanAdd(AnnouncePlanVo) returns (AnnouncePlanVo);
  1049. rpc AnnouncePlanUpdate(AnnouncePlanVo) returns (AnnouncePlanVo);
  1050. rpc AnnouncePlanDel(Ids) returns (Empty);
  1051. rpc AnnouncePlanGet(AnnouncePlanVo) returns (AnnouncePlanVo);
  1052. rpc AnnouncePlanList(AnnouncePlanListReq) returns (AnnouncePlanListResp);
  1053. // AnnouncePlanDetail Model
  1054. // AnnouncePlanDetailAdd
  1055. rpc AnnouncePlanDetailAdd(AnnouncePlanDetailVo) returns (AnnouncePlanDetailVo);
  1056. rpc AnnouncePlanDetailUpdate(AnnouncePlanDetailVo) returns (AnnouncePlanDetailVo);
  1057. rpc AnnouncePlanDetailDel(Ids) returns (Empty);
  1058. rpc AnnouncePlanDetailGet(AnnouncePlanDetailVo) returns (AnnouncePlanDetailVo);
  1059. rpc AnnouncePlanDetailList(AnnouncePlanDetailListReq) returns (AnnouncePlanDetailListResp);
  1060. // ServiceTypes Model
  1061. // ServiceTypesAdd
  1062. rpc ServiceTypesAdd(ServiceTypesAddReq) returns (ServiceTypesVo);
  1063. rpc ServiceTypesUpdate(ServiceTypesUpdateReq) returns (ServiceTypesVo);
  1064. rpc ServiceTypesDel(ServiceTypesDelReq) returns (Empty);
  1065. rpc ServiceTypesGet(ServiceTypesGetReq) returns (ServiceTypesVo);
  1066. rpc ServiceTypesList(ServiceTypesListReq) returns (ServiceTypesListResp);
  1067. // ServiceSets Model
  1068. // ServiceSetsAdd
  1069. rpc ServiceSetsAdd(ServiceSetsAddReq) returns (ServiceSetsVo);
  1070. rpc ServiceSetsUpdate(ServiceSetsUpdateReq) returns (ServiceSetsVo);
  1071. rpc ServiceSetsDel(ServiceSetsDelReq) returns (Empty);
  1072. rpc ServiceSetsGet(ServiceSetsGetReq) returns (ServiceSetsVo);
  1073. rpc ServiceSetsList(ServiceSetsListReq) returns (ServiceSetsListResp);
  1074. // MessagePush Model
  1075. // MessagePushAdd
  1076. rpc MessagePushAdd(MessagePushVo) returns (MessagePushVo);
  1077. rpc MessagePushUpdate(MessagePushVo) returns (MessagePushVo);
  1078. rpc MessagePushList(MessagePushListReq) returns (MessagePushListResp);
  1079. }