蛋蛋星球 后台端
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

swagger.yaml 53 KiB

2ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
1ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
2ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
2ヶ月前
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967
  1. definitions:
  2. applet_app_md_institutional_management_egg_energy.BasicSetting:
  3. properties:
  4. direct_push_reward:
  5. description: 直推奖励
  6. example: 直推奖励
  7. type: string
  8. is_open:
  9. description: 是否开启(1:开启 0:关闭)
  10. type: integer
  11. person_egg_energy_coin_id:
  12. description: 个人蛋蛋能量对应虚拟币 id
  13. type: integer
  14. person_egg_points_coin_id:
  15. description: 个人蛋蛋积分对应虚拟币 id
  16. type: integer
  17. team_egg_energy_coin_id:
  18. description: 团队蛋蛋能量对应虚拟币 id
  19. type: integer
  20. team_egg_points_coin_id:
  21. description: 团队蛋蛋积分对应虚拟币 id
  22. type: integer
  23. type: object
  24. applet_app_md_institutional_management_egg_energy.Paginate:
  25. properties:
  26. limit:
  27. description: 每页大小
  28. type: integer
  29. page:
  30. description: 页数
  31. type: integer
  32. total:
  33. description: 总数据量
  34. type: integer
  35. type: object
  36. applet_app_md_institutional_management_public_platoon.BasicSetting:
  37. properties:
  38. id:
  39. type: integer
  40. is_open:
  41. description: 是否开启(1:开启 0:关闭)
  42. type: integer
  43. is_self_active_get_team_revenue:
  44. description: 会员本人没有日活,没有圈层奖励(1:开启 0:关闭)
  45. type: integer
  46. originator_uid:
  47. description: 创始人uid
  48. type: integer
  49. several_rows:
  50. description: 几排
  51. type: integer
  52. several_times:
  53. description: 几乘
  54. type: integer
  55. system_punish_replace:
  56. description: 是否位置滑落 被新用户替换 0否 1是
  57. type: integer
  58. system_punish_replace_value:
  59. description: xx天未活跃,处罚滑落
  60. type: integer
  61. type: object
  62. applet_app_md_institutional_management_public_platoon.Paginate:
  63. properties:
  64. limit:
  65. description: 每页大小
  66. type: integer
  67. page:
  68. description: 页数
  69. type: integer
  70. total:
  71. description: 总数据量
  72. type: integer
  73. type: object
  74. md.ActivePointsWalletNode:
  75. properties:
  76. amount:
  77. example: 账户余额
  78. type: string
  79. uid:
  80. description: 用户 ID
  81. type: integer
  82. user_name:
  83. example: 用户名
  84. type: string
  85. user_phone:
  86. example: 手机号
  87. type: string
  88. type: object
  89. md.AddCommunityDividendsReq:
  90. properties:
  91. amount:
  92. description: 社区分红数量
  93. type: string
  94. name:
  95. example: 社区分红名称
  96. type: string
  97. type: object
  98. md.AddCommunityDividendsWithUserReq:
  99. properties:
  100. memo:
  101. example: 备注
  102. type: string
  103. uid:
  104. description: 新增社区长用户 ID
  105. type: integer
  106. type: object
  107. md.AddFreePublishUserReq:
  108. properties:
  109. uid:
  110. type: integer
  111. type: object
  112. md.AddFundDataReq:
  113. properties:
  114. hours:
  115. description: 时长(小时)
  116. type: integer
  117. kind:
  118. description: 种类(1:公司补贴 2:资方投资 3:市场期望)
  119. type: integer
  120. memo:
  121. example: 备注
  122. type: string
  123. times:
  124. description: 剩余执行次数
  125. type: integer
  126. total_amount:
  127. description: 金额
  128. type: string
  129. type: object
  130. md.DailyActivityAnalysisTopData:
  131. properties:
  132. activity_count:
  133. description: 子节点活跃天数
  134. type: integer
  135. team_activity_user_count:
  136. description: 子节点活跃人数
  137. type: integer
  138. team_user_count:
  139. description: 团队人数
  140. type: integer
  141. type: object
  142. md.DataSetting:
  143. properties:
  144. total_angel_investor:
  145. description: 天使投资人
  146. example: 天使投资人
  147. type: string
  148. total_ecological_development:
  149. description: 生态建设
  150. example: 当前价格
  151. type: string
  152. total_issuance_amount:
  153. description: 总发行量
  154. example: 总发行量
  155. type: string
  156. total_operate_fund:
  157. description: 运营资金
  158. example: 运营资金
  159. type: string
  160. total_technology_team:
  161. description: 技术团队
  162. example: 技术团队
  163. type: string
  164. total_user_for_person:
  165. description: TotalTeamDividends string`json:"total_team_dividends" example:"团队分红"`
  166. // 团队分红
  167. example: 个人区域
  168. type: string
  169. total_user_for_team:
  170. description: 团队区域
  171. example: 团队区域
  172. type: string
  173. type: object
  174. md.DestructionSettingStruct:
  175. properties:
  176. community_dividends:
  177. description: 社区分红百分比
  178. type: string
  179. destruction_quantity:
  180. description: 销毁百分比
  181. type: string
  182. development_committee:
  183. description: 发展委员会百分比
  184. type: string
  185. marketplace_merchant:
  186. description: 市商数量百分比
  187. type: string
  188. public_welfare_and_charity:
  189. description: 公益慈善百分比
  190. type: string
  191. star_level_dividends:
  192. description: 星级分红百分比
  193. type: string
  194. type: object
  195. md.DynamicDataFlowListReq:
  196. properties:
  197. end_at:
  198. description: 结束时间
  199. example: 结束时间
  200. type: string
  201. kind:
  202. description: 持有类型
  203. type: integer
  204. page:
  205. description: 页数
  206. type: integer
  207. page_size:
  208. description: 每页大小
  209. type: integer
  210. start_at:
  211. description: 开始时间
  212. example: 开始时间
  213. type: string
  214. type: object
  215. md.DynamicDataFlowListResp:
  216. properties:
  217. kind_list:
  218. items:
  219. additionalProperties: true
  220. type: object
  221. type: array
  222. list:
  223. items:
  224. $ref: '#/definitions/md.EggEnergyAvailableEnergyFlow'
  225. type: array
  226. paginate:
  227. $ref: '#/definitions/applet_app_md_institutional_management_egg_energy.Paginate'
  228. type: object
  229. md.EggEnergyAvailableEnergyFlow:
  230. properties:
  231. after_community_dividends:
  232. type: string
  233. after_destruction_quantity_values:
  234. type: string
  235. after_development_committee_values:
  236. type: string
  237. after_marketplace_merchant_fund_values:
  238. type: string
  239. after_marketplace_merchant_values:
  240. type: string
  241. after_now_energy_total_nums:
  242. type: string
  243. after_planet_total_value:
  244. type: string
  245. after_price:
  246. type: string
  247. after_public_welfare_and_charity_values:
  248. type: string
  249. after_star_level_dividends_values:
  250. type: string
  251. amount:
  252. type: string
  253. before_community_dividends:
  254. type: string
  255. before_destruction_quantity_values:
  256. type: string
  257. before_development_committee_values:
  258. type: string
  259. before_marketplace_merchant_fund_values:
  260. type: string
  261. before_marketplace_merchant_values:
  262. type: string
  263. before_now_energy_total_nums:
  264. type: string
  265. before_planet_total_value:
  266. type: string
  267. before_price:
  268. type: string
  269. before_public_welfare_and_charity_values:
  270. type: string
  271. before_star_level_dividends_values:
  272. type: string
  273. create_time:
  274. type: string
  275. id:
  276. type: integer
  277. kind:
  278. type: integer
  279. title:
  280. type: string
  281. type: object
  282. md.EggEnergyCommunityDividends:
  283. properties:
  284. amount:
  285. description: 分红数量
  286. type: string
  287. coin_id:
  288. description: 虚拟币 id
  289. type: integer
  290. create_at:
  291. description: 分红时间
  292. type: string
  293. id:
  294. type: integer
  295. is_over:
  296. description: 是否分红完毕
  297. type: integer
  298. name:
  299. example: 名称
  300. type: string
  301. persons_num:
  302. description: 分红人数
  303. type: integer
  304. update_at:
  305. type: string
  306. type: object
  307. md.EggEnergyCommunityDividendsWithUser:
  308. properties:
  309. id:
  310. type: integer
  311. memo:
  312. example: 备注
  313. type: string
  314. nickname:
  315. type: string
  316. phone:
  317. type: string
  318. uid:
  319. type: integer
  320. type: object
  321. md.ExchangeRulesStruct:
  322. properties:
  323. auto_exchange_nums_by_person:
  324. description: 个人数量X个,自动兑换可用蛋蛋能量
  325. type: string
  326. auto_exchange_nums_by_team:
  327. description: 团队数量X个,自动兑换团队蛋蛋能量
  328. type: string
  329. auto_exchange_rate_by_person:
  330. description: 个人数量百分比,自动兑换可用蛋蛋能量
  331. type: string
  332. auto_exchange_rate_by_team:
  333. description: 团队数量百分比,自动兑换团队蛋蛋能量
  334. type: string
  335. type: object
  336. md.ExchangeUserPositionReq:
  337. properties:
  338. position_1:
  339. description: 位置1,具体值取返回数据中的 system_id
  340. type: integer
  341. position_2:
  342. description: 位置2,具体值取返回数据中的 system_id
  343. type: integer
  344. type: object
  345. md.FindSubUserRelationshipMapResp:
  346. properties:
  347. basic_setting:
  348. allOf:
  349. - $ref: '#/definitions/applet_app_md_institutional_management_public_platoon.BasicSetting'
  350. description: 公排设置
  351. search_uid:
  352. description: 查找的用户 ID
  353. type: string
  354. sub_user:
  355. allOf:
  356. - $ref: '#/definitions/md.SubUser'
  357. description: 上级用户信息
  358. type: object
  359. md.FreePublishUserNode:
  360. properties:
  361. nickname:
  362. example: 昵称
  363. type: string
  364. phone:
  365. example: 手机号
  366. type: string
  367. uid:
  368. type: integer
  369. type: object
  370. md.FundDataNode:
  371. properties:
  372. balance_amount:
  373. description: 余额
  374. type: string
  375. balance_times:
  376. description: 剩余执行次数
  377. type: integer
  378. create_at:
  379. description: 创建时间
  380. type: string
  381. hours:
  382. description: 时长
  383. type: integer
  384. kind:
  385. description: 种类(1:公司补贴 2:资方投资 3:市场期望)
  386. type: integer
  387. memo:
  388. description: 备注
  389. type: string
  390. system_id:
  391. type: integer
  392. total_amount:
  393. description: 金额
  394. type: string
  395. type: object
  396. md.FundDataRecordNode:
  397. properties:
  398. after_planet_total_value:
  399. description: 执行后-星球价值
  400. type: string
  401. after_price:
  402. description: 执行后-价格
  403. type: string
  404. balance_amount:
  405. description: 余额
  406. type: string
  407. balance_times:
  408. description: 剩余执行次数
  409. type: integer
  410. before_planet_total_value:
  411. description: 执行前-星球价值
  412. type: string
  413. before_price:
  414. description: 执行前-价格
  415. type: string
  416. create_at:
  417. type: string
  418. total_amount:
  419. description: 金额
  420. type: string
  421. type: object
  422. md.GetActivePointsUserCoinFlowListReq:
  423. properties:
  424. coin_id:
  425. description: 货币类型 ID
  426. type: integer
  427. direction:
  428. description: 流水方向:1收入 2支出
  429. type: integer
  430. end_at:
  431. description: 结束时间
  432. type: string
  433. page:
  434. description: 页数
  435. type: integer
  436. page_size:
  437. description: 每页大小
  438. type: integer
  439. start_at:
  440. description: 开始时间
  441. type: string
  442. uid:
  443. description: 用户 ID
  444. type: integer
  445. type: object
  446. md.GetActivePointsUserCoinFlowListResp:
  447. properties:
  448. list:
  449. description: 流水信息
  450. items:
  451. $ref: '#/definitions/md.UserVirtualCoinFlow'
  452. type: array
  453. paginate:
  454. allOf:
  455. - $ref: '#/definitions/applet_app_md_institutional_management_egg_energy.Paginate'
  456. description: 分页信息
  457. select_data:
  458. allOf:
  459. - $ref: '#/definitions/md.SelectData'
  460. description: 流水类型
  461. type: object
  462. md.GetActivePointsUserCoinListReq:
  463. properties:
  464. end_coin:
  465. example: 最大金额
  466. type: string
  467. kind:
  468. description: 虚拟币种类编号
  469. type: integer
  470. page:
  471. description: 页数
  472. type: integer
  473. page_size:
  474. description: 单页大小
  475. type: integer
  476. start_coin:
  477. example: 最小金额
  478. type: string
  479. uid:
  480. description: 指定查询用户 ID
  481. type: integer
  482. user_name:
  483. example: 用户名称
  484. type: string
  485. user_phone:
  486. example: 手机号
  487. type: string
  488. type: object
  489. md.GetActivePointsUserCoinListResp:
  490. properties:
  491. kind_list:
  492. description: 货币类型集合
  493. items:
  494. $ref: '#/definitions/md.VirtualCoinListNode'
  495. type: array
  496. list:
  497. description: 余额集合
  498. items:
  499. $ref: '#/definitions/md.ActivePointsWalletNode'
  500. type: array
  501. sum_user_amount:
  502. description: 用户持有总数
  503. type: number
  504. total:
  505. description: 持有该类型用户数
  506. type: integer
  507. type: object
  508. md.GetEggCoreDataListResp:
  509. properties:
  510. now_energy_total_nums:
  511. description: 现行总量
  512. example: 现行总量
  513. type: string
  514. now_price:
  515. description: 当前价格
  516. example: 当前价格
  517. type: string
  518. planet_total_value:
  519. description: 星球价值
  520. example: 星球价值
  521. type: string
  522. user_hold_total_nums:
  523. additionalProperties:
  524. type: string
  525. description: 用户持有总量
  526. type: object
  527. type: object
  528. md.GetEggEnergyBasicResp:
  529. properties:
  530. basic_setting:
  531. allOf:
  532. - $ref: '#/definitions/applet_app_md_institutional_management_egg_energy.BasicSetting'
  533. description: 基础设置
  534. data_setting:
  535. allOf:
  536. - $ref: '#/definitions/md.DataSetting'
  537. description: 数据设置
  538. destruction_setting:
  539. allOf:
  540. - $ref: '#/definitions/md.DestructionSettingStruct'
  541. description: 销毁设置
  542. exchange_rules:
  543. allOf:
  544. - $ref: '#/definitions/md.ExchangeRulesStruct'
  545. description: 兑换规则
  546. new_user_incentive_rules:
  547. allOf:
  548. - $ref: '#/definitions/md.NewUserRewardRules'
  549. description: 新用户奖励规则
  550. price_setting:
  551. allOf:
  552. - $ref: '#/definitions/md.PriceSettingStruct'
  553. description: 价格设置
  554. reward_system:
  555. allOf:
  556. - $ref: '#/definitions/md.RewardSystemStruct'
  557. description: 圈层奖励
  558. system_id:
  559. description: 该设置系统 ID
  560. type: integer
  561. video_reward_setting:
  562. allOf:
  563. - $ref: '#/definitions/md.VideoRewardSetting'
  564. description: 视频奖励
  565. type: object
  566. md.GetFreePublishUserReq:
  567. properties:
  568. limit:
  569. description: 每页大小
  570. type: integer
  571. page:
  572. description: 当前页数
  573. type: integer
  574. uid:
  575. description: 筛选的用户 ID
  576. type: integer
  577. type: object
  578. md.GetFreePublishUserResp:
  579. properties:
  580. list:
  581. description: 免罚用户列表
  582. items:
  583. $ref: '#/definitions/md.FreePublishUserNode'
  584. type: array
  585. paginate:
  586. allOf:
  587. - $ref: '#/definitions/applet_app_md_institutional_management_public_platoon.Paginate'
  588. description: 分页信息
  589. type: object
  590. md.GetFundDataListReq:
  591. properties:
  592. end_at:
  593. example: 结束时间
  594. type: string
  595. kind:
  596. description: 数据类型
  597. type: integer
  598. limit:
  599. description: 每页大小
  600. type: integer
  601. page:
  602. description: 页数
  603. type: integer
  604. start_at:
  605. example: 开始时间
  606. type: string
  607. type: object
  608. md.GetFundDataListResp:
  609. properties:
  610. kind_list:
  611. description: 类型列表
  612. items:
  613. additionalProperties: true
  614. type: object
  615. type: array
  616. list:
  617. description: 数据列表
  618. items:
  619. $ref: '#/definitions/md.FundDataNode'
  620. type: array
  621. paginate:
  622. allOf:
  623. - $ref: '#/definitions/applet_app_md_institutional_management_egg_energy.Paginate'
  624. description: 分页数据
  625. type: object
  626. md.GetFundDataRecordListReq:
  627. properties:
  628. limit:
  629. description: 页面大小
  630. type: integer
  631. page:
  632. description: 页数
  633. type: integer
  634. system_id:
  635. description: 数据在系统中的 ID
  636. type: integer
  637. type: object
  638. md.GetFundDataRecordListResp:
  639. properties:
  640. list:
  641. items:
  642. $ref: '#/definitions/md.FundDataRecordNode'
  643. type: array
  644. paginate:
  645. $ref: '#/definitions/applet_app_md_institutional_management_egg_energy.Paginate'
  646. type: object
  647. md.GetGreenEnergyUserCoinFlowListReq:
  648. properties:
  649. coin_id:
  650. description: 货币类型 ID
  651. type: integer
  652. direction:
  653. description: 流水方向:1收入 2支出
  654. type: integer
  655. end_at:
  656. description: 结束时间
  657. type: string
  658. page:
  659. description: 页数
  660. type: integer
  661. page_size:
  662. description: 每页大小
  663. type: integer
  664. start_at:
  665. description: 开始时间
  666. type: string
  667. uid:
  668. description: 用户 ID
  669. type: integer
  670. type: object
  671. md.GetGreenEnergyUserCoinFlowListResp:
  672. properties:
  673. list:
  674. description: 流水信息
  675. items:
  676. $ref: '#/definitions/md.UserVirtualCoinFlow'
  677. type: array
  678. paginate:
  679. allOf:
  680. - $ref: '#/definitions/applet_app_md_institutional_management_egg_energy.Paginate'
  681. description: 分页信息
  682. select_data:
  683. allOf:
  684. - $ref: '#/definitions/md.SelectData'
  685. description: 流水类型
  686. type: object
  687. md.GetGreenEnergyUserCoinListReq:
  688. properties:
  689. end_coin:
  690. example: 最大金额
  691. type: string
  692. kind:
  693. description: 虚拟币种类编号
  694. type: integer
  695. page:
  696. description: 页数
  697. type: integer
  698. page_size:
  699. description: 单页大小
  700. type: integer
  701. start_coin:
  702. example: 最小金额
  703. type: string
  704. uid:
  705. description: 指定查询用户 ID
  706. type: integer
  707. user_name:
  708. example: 用户名称
  709. type: string
  710. user_phone:
  711. example: 手机号
  712. type: string
  713. type: object
  714. md.GetGreenEnergyUserCoinListResp:
  715. properties:
  716. kind_list:
  717. description: 货币类型集合
  718. items:
  719. $ref: '#/definitions/md.VirtualCoinListNode'
  720. type: array
  721. list:
  722. description: 余额集合
  723. items:
  724. $ref: '#/definitions/md.ActivePointsWalletNode'
  725. type: array
  726. sum_user_amount:
  727. description: 用户持有总数
  728. type: number
  729. total:
  730. description: 持有该类型用户数
  731. type: integer
  732. type: object
  733. md.GetPriceCurveResp:
  734. properties:
  735. x_data:
  736. items: {}
  737. type: array
  738. y_data:
  739. items: {}
  740. type: array
  741. type: object
  742. md.GetPublicPlatoonBasicResp:
  743. properties:
  744. is_open:
  745. description: 是否开启(1:开启 0:关闭)
  746. type: integer
  747. is_self_active_get_team_revenue:
  748. description: 会员本人没有日活,没有圈层奖励(1:开启 0:关闭)
  749. type: integer
  750. originator_uid:
  751. description: 创始人uid
  752. type: integer
  753. several_rows:
  754. description: 几排
  755. type: integer
  756. several_times:
  757. description: 几乘
  758. type: integer
  759. system_punish_replace:
  760. description: 是否位置滑落 被新用户替换 0否 1是
  761. type: integer
  762. system_punish_replace_value:
  763. description: xx天未活跃,处罚滑落
  764. type: integer
  765. type: object
  766. md.ListCommunityDividendsReq:
  767. properties:
  768. end_at:
  769. description: 结束时间
  770. type: string
  771. end_nums:
  772. description: 分红总量上限
  773. type: integer
  774. limit:
  775. description: 每页大小
  776. type: integer
  777. page:
  778. description: 页数
  779. type: integer
  780. start_at:
  781. description: 开始时间
  782. type: string
  783. start_nums:
  784. description: 分红总量下限
  785. type: integer
  786. type: object
  787. md.ListCommunityDividendsResp:
  788. properties:
  789. list:
  790. items:
  791. $ref: '#/definitions/md.EggEnergyCommunityDividends'
  792. type: array
  793. paginate:
  794. $ref: '#/definitions/applet_app_md_institutional_management_public_platoon.Paginate'
  795. type: object
  796. md.ListCommunityDividendsWithUserReq:
  797. properties:
  798. limit:
  799. type: integer
  800. page:
  801. type: integer
  802. phone:
  803. type: string
  804. uid:
  805. type: integer
  806. type: object
  807. md.ListCommunityDividendsWithUserResp:
  808. properties:
  809. list:
  810. items:
  811. $ref: '#/definitions/md.EggEnergyCommunityDividendsWithUser'
  812. type: array
  813. paginate:
  814. $ref: '#/definitions/applet_app_md_institutional_management_public_platoon.Paginate'
  815. type: object
  816. md.LoginReq:
  817. properties:
  818. code:
  819. example: 验证码
  820. type: string
  821. password:
  822. example: 登录密码
  823. type: string
  824. username:
  825. example: 登录账号
  826. type: string
  827. required:
  828. - password
  829. - username
  830. type: object
  831. md.LoginResponse:
  832. properties:
  833. token:
  834. type: string
  835. type: object
  836. md.NewUserRewardRules:
  837. properties:
  838. continue_days:
  839. description: 连续x天
  840. type: integer
  841. invite_user_reward_value:
  842. description: 拉新用户奖励x个活跃积分
  843. type: integer
  844. reward_coefficient:
  845. description: 奖励系数
  846. type: number
  847. type: object
  848. md.PriceSettingStruct:
  849. properties:
  850. marketplace_merchants_fund_exchange_marketplace_merchants_nums_value:
  851. description: 市商资金单笔x元自动兑换
  852. type: string
  853. marketplace_merchants_nums_exchange_marketplace_merchants_fund_value:
  854. description: 市商数量单笔x数量自动兑换
  855. type: string
  856. price_below_value:
  857. description: 低于x元
  858. type: string
  859. price_higher_than_value:
  860. description: 高于x元
  861. type: string
  862. type: object
  863. md.Response:
  864. properties:
  865. code:
  866. example: 响应码
  867. type: string
  868. data:
  869. description: 内容
  870. msg:
  871. example: 具体错误原因
  872. type: string
  873. type: object
  874. md.RewardSystemStruct:
  875. properties:
  876. level:
  877. description: 圈层
  878. type: integer
  879. reward_condition:
  880. description: 奖励条件
  881. type: string
  882. reward_value:
  883. description: 奖励值
  884. type: string
  885. type: object
  886. md.SelectData:
  887. properties:
  888. direction:
  889. items:
  890. additionalProperties:
  891. type: string
  892. type: object
  893. type: array
  894. type: object
  895. md.SonUserDailyActivityAnalysisNode:
  896. properties:
  897. activity_day_nums:
  898. description: 活跃子节点活跃天数
  899. type: integer
  900. nickname:
  901. example: 昵称
  902. type: string
  903. phone:
  904. example: 手机号
  905. type: string
  906. uid:
  907. description: 查询用户活跃子节点 ID
  908. type: integer
  909. type: object
  910. md.SubUser:
  911. properties:
  912. avatar_url:
  913. example: 头像
  914. type: string
  915. level:
  916. description: 整个系统中的等级
  917. type: integer
  918. nickname:
  919. example: 昵称
  920. type: string
  921. phone:
  922. example: 手机号
  923. type: string
  924. pid:
  925. type: integer
  926. position:
  927. description: 以pid1为创始人中网的位置
  928. type: integer
  929. uid:
  930. type: integer
  931. type: object
  932. md.TreeNode:
  933. properties:
  934. avatar_url:
  935. example: 头像
  936. type: string
  937. level:
  938. type: integer
  939. nickname:
  940. example: 昵称
  941. type: string
  942. phone:
  943. example: 手机号
  944. type: string
  945. pid:
  946. type: integer
  947. position:
  948. type: integer
  949. son:
  950. items:
  951. $ref: '#/definitions/md.TreeNode'
  952. type: array
  953. system_id:
  954. description: 公排网中id
  955. type: integer
  956. uid:
  957. type: integer
  958. type: object
  959. md.UpdateEggEnergyBasicReq:
  960. properties:
  961. basic_setting:
  962. allOf:
  963. - $ref: '#/definitions/applet_app_md_institutional_management_egg_energy.BasicSetting'
  964. description: 基础设置
  965. data_setting:
  966. allOf:
  967. - $ref: '#/definitions/md.DataSetting'
  968. description: 数据设置
  969. destruction_setting:
  970. allOf:
  971. - $ref: '#/definitions/md.DestructionSettingStruct'
  972. description: 销毁设置
  973. exchange_rules:
  974. allOf:
  975. - $ref: '#/definitions/md.ExchangeRulesStruct'
  976. description: 兑换规则
  977. new_user_incentive_rules:
  978. allOf:
  979. - $ref: '#/definitions/md.NewUserRewardRules'
  980. description: "新用户奖励规则\t\t\t\t\t\t\t\t\t\t\t // 新用户奖励规则"
  981. price_setting:
  982. allOf:
  983. - $ref: '#/definitions/md.PriceSettingStruct'
  984. description: 价格设置
  985. reward_system:
  986. allOf:
  987. - $ref: '#/definitions/md.RewardSystemStruct'
  988. description: 圈层奖励
  989. system_id:
  990. description: 该设置系统 ID
  991. type: integer
  992. video_reward_setting:
  993. allOf:
  994. - $ref: '#/definitions/md.VideoRewardSetting'
  995. description: 视频奖励
  996. type: object
  997. md.UpdatePublicPlatoonBasicReq:
  998. properties:
  999. is_open:
  1000. description: 是否开启(1:开启 0:关闭)
  1001. type: integer
  1002. is_self_active_get_team_revenue:
  1003. description: 会员本人没有日活,没有圈层奖励(1:开启 0:关闭)
  1004. type: integer
  1005. originator_uid:
  1006. description: 创始人uid
  1007. type: integer
  1008. several_rows:
  1009. description: 几排
  1010. type: integer
  1011. several_times:
  1012. description: 几乘
  1013. type: integer
  1014. system_punish_replace:
  1015. description: 是否位置滑落 被新用户替换 0否 1是
  1016. type: integer
  1017. system_punish_replace_value:
  1018. description: xx天未活跃,处罚滑落
  1019. type: integer
  1020. type: object
  1021. md.UserDailyActivityAnalysisReq:
  1022. properties:
  1023. end_date:
  1024. example: 结束日期
  1025. type: string
  1026. page:
  1027. description: 页数
  1028. type: integer
  1029. page_size:
  1030. description: 每页大小
  1031. type: integer
  1032. start_date:
  1033. example: 开始日期
  1034. type: string
  1035. uid:
  1036. description: 查询用户 ID
  1037. type: integer
  1038. type: object
  1039. md.UserDailyActivityAnalysisResp:
  1040. properties:
  1041. son_user_data:
  1042. description: 被查询用户子节点信息
  1043. items:
  1044. $ref: '#/definitions/md.SonUserDailyActivityAnalysisNode'
  1045. type: array
  1046. top_data:
  1047. allOf:
  1048. - $ref: '#/definitions/md.DailyActivityAnalysisTopData'
  1049. description: 统计信息
  1050. type: object
  1051. md.UserVirtualCoinFlow:
  1052. properties:
  1053. after_amount:
  1054. example: 变更后数量
  1055. type: string
  1056. amount:
  1057. example: 变更数量
  1058. type: string
  1059. before_amount:
  1060. example: 变更前数量
  1061. type: string
  1062. coin_id:
  1063. description: 虚拟币 ID
  1064. type: integer
  1065. create_at:
  1066. example: 创建时间
  1067. type: string
  1068. direction:
  1069. description: 方向:1收入 2支出
  1070. type: integer
  1071. id:
  1072. type: integer
  1073. sys_fee:
  1074. example: 手续费
  1075. type: string
  1076. title:
  1077. example: 标题
  1078. type: string
  1079. transfer_type:
  1080. description: 转账类型
  1081. type: integer
  1082. uid:
  1083. description: 用户 ID
  1084. type: integer
  1085. update_at:
  1086. example: 更新时间
  1087. type: string
  1088. type: object
  1089. md.VideoRewardSetting:
  1090. properties:
  1091. video_reward_is_open:
  1092. description: 视频奖励是否开启(1:开启 0:关闭)
  1093. type: integer
  1094. video_reward_system:
  1095. allOf:
  1096. - $ref: '#/definitions/md.VideoRewardSystemStruct'
  1097. description: 视频奖励机制
  1098. type: object
  1099. md.VideoRewardSystemStruct:
  1100. properties:
  1101. each_round_hour:
  1102. description: 每一轮X个小时
  1103. type: string
  1104. interval_minutes:
  1105. description: 间隔X秒
  1106. type: string
  1107. reward_total_num:
  1108. description: 一共X个奖励视屏
  1109. type: string
  1110. reward_value:
  1111. description: 奖励X个活跃积分
  1112. type: string
  1113. type: object
  1114. md.VirtualCoin:
  1115. properties:
  1116. create_at:
  1117. type: string
  1118. exchange_ratio:
  1119. description: 兑换比例(与金额)
  1120. example: 兑换比例(与金额)
  1121. type: string
  1122. id:
  1123. type: integer
  1124. is_use:
  1125. description: '是否开启: 0否 1是'
  1126. type: integer
  1127. name:
  1128. description: 名称
  1129. type: string
  1130. update_at:
  1131. type: string
  1132. type: object
  1133. md.VirtualCoinListNode:
  1134. properties:
  1135. coin_id:
  1136. description: 货币类型 ID
  1137. type: integer
  1138. kind:
  1139. description: 货币序号
  1140. type: integer
  1141. name:
  1142. example: 货币类型名称
  1143. type: string
  1144. type: object
  1145. host: localhost:4001
  1146. info:
  1147. contact:
  1148. email: 1239118001@qq.com
  1149. name: dengbiao
  1150. url: http://www.swagger.io/support
  1151. description: 管理后台接口文档
  1152. license:
  1153. name: Apache 2.0
  1154. url: http://www.apache.org/licenses/LICENSE-2.0.html
  1155. termsOfService: http://swagger.io/terms/
  1156. title: 蛋蛋星球-管理后台
  1157. version: "1.0"
  1158. paths:
  1159. /api/demo:
  1160. post:
  1161. consumes:
  1162. - application/json
  1163. description: Demo样例测试
  1164. parameters:
  1165. - description: 用户名密码
  1166. in: body
  1167. name: req
  1168. required: true
  1169. schema: {}
  1170. produces:
  1171. - application/json
  1172. responses:
  1173. "200":
  1174. description: token
  1175. schema:
  1176. additionalProperties: true
  1177. type: object
  1178. "400":
  1179. description: 具体错误
  1180. schema:
  1181. $ref: '#/definitions/md.Response'
  1182. summary: Demo测试
  1183. tags:
  1184. - Demo
  1185. /api/institutionalManagement/eggEnergy/availableEnergy/list:
  1186. post:
  1187. consumes:
  1188. - application/json
  1189. description: 查询所有币种(获取)
  1190. parameters:
  1191. - description: 验证参数Bearer和token空格拼接
  1192. in: header
  1193. name: Authorization
  1194. required: true
  1195. type: string
  1196. produces:
  1197. - application/json
  1198. responses:
  1199. "200":
  1200. description: 成功返回
  1201. schema:
  1202. items:
  1203. $ref: '#/definitions/md.VirtualCoin'
  1204. type: array
  1205. "400":
  1206. description: 具体错误
  1207. schema:
  1208. $ref: '#/definitions/md.Response'
  1209. summary: 制度中心-蛋蛋能量-查询所有币种(获取)
  1210. tags:
  1211. - 蛋蛋能量
  1212. /api/institutionalManagement/eggEnergy/getBasic:
  1213. get:
  1214. consumes:
  1215. - application/json
  1216. description: 基础设置(获取)
  1217. parameters:
  1218. - description: 验证参数Bearer和token空格拼接
  1219. in: header
  1220. name: Authorization
  1221. required: true
  1222. type: string
  1223. produces:
  1224. - application/json
  1225. responses:
  1226. "200":
  1227. description: 具体数据
  1228. schema:
  1229. $ref: '#/definitions/md.GetEggEnergyBasicResp'
  1230. "400":
  1231. description: 具体错误
  1232. schema:
  1233. $ref: '#/definitions/md.Response'
  1234. summary: 制度中心-蛋蛋能量-基础设置(获取)
  1235. tags:
  1236. - 蛋蛋能量
  1237. /api/institutionalManagement/eggEnergy/globalData/coreDataList:
  1238. get:
  1239. consumes:
  1240. - application/json
  1241. description: 数据概览(获取)
  1242. parameters:
  1243. - description: 验证参数Bearer和token空格拼接
  1244. in: header
  1245. name: Authorization
  1246. required: true
  1247. type: string
  1248. produces:
  1249. - application/json
  1250. responses:
  1251. "200":
  1252. description: 具体数据
  1253. schema:
  1254. $ref: '#/definitions/md.GetEggCoreDataListResp'
  1255. "400":
  1256. description: 具体错误
  1257. schema:
  1258. $ref: '#/definitions/md.Response'
  1259. summary: 制度中心-蛋蛋能量-数据概览(获取)
  1260. tags:
  1261. - 蛋蛋能量
  1262. /api/institutionalManagement/eggEnergy/globalData/fundDataAdd:
  1263. post:
  1264. consumes:
  1265. - application/json
  1266. description: 价值明细数据(新增)
  1267. parameters:
  1268. - description: 验证参数Bearer和token空格拼接
  1269. in: header
  1270. name: Authorization
  1271. required: true
  1272. type: string
  1273. - description: 数据种类、金额、时长(最长24h)、执行次数必填,备注选填
  1274. in: body
  1275. name: req
  1276. required: true
  1277. schema:
  1278. $ref: '#/definitions/md.AddFundDataReq'
  1279. produces:
  1280. - application/json
  1281. responses:
  1282. "200":
  1283. description: 插入数据 id
  1284. schema:
  1285. type: int
  1286. "400":
  1287. description: 具体错误
  1288. schema:
  1289. $ref: '#/definitions/md.Response'
  1290. summary: 制度中心-蛋蛋能量-价值明细数据(新增)
  1291. tags:
  1292. - 蛋蛋能量
  1293. /api/institutionalManagement/eggEnergy/globalData/fundDataList:
  1294. post:
  1295. consumes:
  1296. - application/json
  1297. description: 新增数据列表(获取)
  1298. parameters:
  1299. - description: 验证参数Bearer和token空格拼接
  1300. in: header
  1301. name: Authorization
  1302. required: true
  1303. type: string
  1304. - description: 分页信息必填
  1305. in: body
  1306. name: req
  1307. required: true
  1308. schema:
  1309. $ref: '#/definitions/md.GetFundDataListReq'
  1310. produces:
  1311. - application/json
  1312. responses:
  1313. "200":
  1314. description: 具体数据
  1315. schema:
  1316. $ref: '#/definitions/md.GetFundDataListResp'
  1317. "400":
  1318. description: 具体错误
  1319. schema:
  1320. $ref: '#/definitions/md.Response'
  1321. summary: 制度中心-蛋蛋能量-新增数据列表(获取)
  1322. tags:
  1323. - 蛋蛋能量
  1324. /api/institutionalManagement/eggEnergy/globalData/fundDataRecordList:
  1325. post:
  1326. consumes:
  1327. - application/json
  1328. description: 新增数据列表详情(查询)
  1329. parameters:
  1330. - description: 验证参数Bearer和token空格拼接
  1331. in: header
  1332. name: Authorization
  1333. required: true
  1334. type: string
  1335. - description: 获取到的 system_id 以及分页信息
  1336. in: body
  1337. name: req
  1338. required: true
  1339. schema:
  1340. $ref: '#/definitions/md.GetFundDataRecordListReq'
  1341. produces:
  1342. - application/json
  1343. responses:
  1344. "200":
  1345. description: 具体数据
  1346. schema:
  1347. $ref: '#/definitions/md.GetFundDataRecordListResp'
  1348. "400":
  1349. description: 具体错误
  1350. schema:
  1351. $ref: '#/definitions/md.Response'
  1352. summary: 制度中心-蛋蛋能量-新增数据列表详情(查询)
  1353. tags:
  1354. - 蛋蛋能量
  1355. /api/institutionalManagement/eggEnergy/globalData/pointsCenterPriceCurve:
  1356. get:
  1357. consumes:
  1358. - application/json
  1359. description: 价格趋势(获取)
  1360. parameters:
  1361. - description: 验证参数Bearer和token空格拼接
  1362. in: header
  1363. name: Authorization
  1364. required: true
  1365. type: string
  1366. - description: 1:按天 2:按小时 3:按周
  1367. in: query
  1368. name: kind
  1369. type: string
  1370. produces:
  1371. - application/json
  1372. responses:
  1373. "200":
  1374. description: 具体数据
  1375. schema:
  1376. $ref: '#/definitions/md.GetPriceCurveResp'
  1377. "400":
  1378. description: 具体错误
  1379. schema:
  1380. $ref: '#/definitions/md.Response'
  1381. summary: 制度中心-蛋蛋能量-价格趋势(获取)
  1382. tags:
  1383. - 蛋蛋能量
  1384. /api/institutionalManagement/eggEnergy/updateBasic:
  1385. post:
  1386. consumes:
  1387. - application/json
  1388. description: 基础设置(更新)
  1389. parameters:
  1390. - description: 验证参数Bearer和token空格拼接
  1391. in: header
  1392. name: Authorization
  1393. required: true
  1394. type: string
  1395. - description: system_id 必填
  1396. in: body
  1397. name: req
  1398. required: true
  1399. schema:
  1400. $ref: '#/definitions/md.UpdateEggEnergyBasicReq'
  1401. produces:
  1402. - application/json
  1403. responses:
  1404. "200":
  1405. description: 修改数据条数
  1406. schema:
  1407. type: int
  1408. "400":
  1409. description: 具体错误
  1410. schema:
  1411. $ref: '#/definitions/md.Response'
  1412. summary: 制度中心-蛋蛋能量-基础设置(更新)
  1413. tags:
  1414. - 蛋蛋能量
  1415. /api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinFlowList:
  1416. post:
  1417. consumes:
  1418. - application/json
  1419. description: 活跃积分持有流水(查询)
  1420. parameters:
  1421. - description: 验证参数Bearer和token空格拼接
  1422. in: header
  1423. name: Authorization
  1424. required: true
  1425. type: string
  1426. - description: 至少传入 货币类型 ID 用户 UID 页数 每页大小
  1427. in: body
  1428. name: req
  1429. required: true
  1430. schema:
  1431. $ref: '#/definitions/md.GetActivePointsUserCoinFlowListReq'
  1432. produces:
  1433. - application/json
  1434. responses:
  1435. "200":
  1436. description: 成功返回
  1437. schema:
  1438. $ref: '#/definitions/md.GetActivePointsUserCoinFlowListResp'
  1439. "400":
  1440. description: 具体错误
  1441. schema:
  1442. $ref: '#/definitions/md.Response'
  1443. summary: 制度中心-活跃积分持有者明细-活跃积分持有流水(查询)
  1444. tags:
  1445. - 公排管理
  1446. /api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinList:
  1447. post:
  1448. consumes:
  1449. - application/json
  1450. description: 活跃积分持有(获取)
  1451. parameters:
  1452. - description: 验证参数Bearer和token空格拼接
  1453. in: header
  1454. name: Authorization
  1455. required: true
  1456. type: string
  1457. - description: 落地页不填页大小默认20条数据
  1458. in: body
  1459. name: req
  1460. schema:
  1461. $ref: '#/definitions/md.GetActivePointsUserCoinListReq'
  1462. produces:
  1463. - application/json
  1464. responses:
  1465. "200":
  1466. description: 成功返回
  1467. schema:
  1468. $ref: '#/definitions/md.GetActivePointsUserCoinListResp'
  1469. "400":
  1470. description: 具体错误
  1471. schema:
  1472. $ref: '#/definitions/md.Response'
  1473. summary: 制度中心-活跃积分持有者明细-活跃积分持有(获取)
  1474. tags:
  1475. - 公排管理
  1476. /api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinFlowList:
  1477. post:
  1478. consumes:
  1479. - application/json
  1480. description: 绿色能量持有流水(查询)
  1481. parameters:
  1482. - description: 验证参数Bearer和token空格拼接
  1483. in: header
  1484. name: Authorization
  1485. required: true
  1486. type: string
  1487. - description: 至少传入 货币类型 ID 用户 UID 页数 每页大小
  1488. in: body
  1489. name: req
  1490. required: true
  1491. schema:
  1492. $ref: '#/definitions/md.GetGreenEnergyUserCoinFlowListReq'
  1493. produces:
  1494. - application/json
  1495. responses:
  1496. "200":
  1497. description: 成功返回
  1498. schema:
  1499. $ref: '#/definitions/md.GetGreenEnergyUserCoinFlowListResp'
  1500. "400":
  1501. description: 具体错误
  1502. schema:
  1503. $ref: '#/definitions/md.Response'
  1504. summary: 制度中心-绿色能量持有者明细-绿色能量持有流水(查询)
  1505. tags:
  1506. - 公排管理
  1507. /api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinList:
  1508. post:
  1509. consumes:
  1510. - application/json
  1511. description: 绿色能量(获取)
  1512. parameters:
  1513. - description: 验证参数Bearer和token空格拼接
  1514. in: header
  1515. name: Authorization
  1516. required: true
  1517. type: string
  1518. - description: 落地页不填页大小默认20条数据
  1519. in: body
  1520. name: req
  1521. schema:
  1522. $ref: '#/definitions/md.GetGreenEnergyUserCoinListReq'
  1523. produces:
  1524. - application/json
  1525. responses:
  1526. "200":
  1527. description: 成功返回
  1528. schema:
  1529. $ref: '#/definitions/md.GetGreenEnergyUserCoinListResp'
  1530. "400":
  1531. description: 具体错误
  1532. schema:
  1533. $ref: '#/definitions/md.Response'
  1534. summary: 制度中心-绿色能量持有者明细-绿色能量(获取)
  1535. tags:
  1536. - 公排管理
  1537. /api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd:
  1538. post:
  1539. consumes:
  1540. - application/json
  1541. description: 社区分红(新增)
  1542. parameters:
  1543. - description: 验证参数Bearer和token空格拼接
  1544. in: header
  1545. name: Authorization
  1546. required: true
  1547. type: string
  1548. - description: 分红名称、分红总量
  1549. in: body
  1550. name: req
  1551. required: true
  1552. schema:
  1553. $ref: '#/definitions/md.AddCommunityDividendsReq'
  1554. produces:
  1555. - application/json
  1556. responses:
  1557. "200":
  1558. description: 成功
  1559. schema:
  1560. type: success
  1561. "400":
  1562. description: 具体错误
  1563. schema:
  1564. $ref: '#/definitions/md.Response'
  1565. summary: 制度中心-公排管理-社区分红(新增)
  1566. tags:
  1567. - 公排管理
  1568. /api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsList:
  1569. post:
  1570. consumes:
  1571. - application/json
  1572. description: 社区分红(查询)
  1573. parameters:
  1574. - description: 验证参数Bearer和token空格拼接
  1575. in: header
  1576. name: Authorization
  1577. required: true
  1578. type: string
  1579. - description: 页数、每页大小必填 起止时间、起止数量选填
  1580. in: body
  1581. name: req
  1582. required: true
  1583. schema:
  1584. $ref: '#/definitions/md.ListCommunityDividendsReq'
  1585. produces:
  1586. - application/json
  1587. responses:
  1588. "200":
  1589. description: 具体数据
  1590. schema:
  1591. $ref: '#/definitions/md.ListCommunityDividendsResp'
  1592. "400":
  1593. description: 具体错误
  1594. schema:
  1595. $ref: '#/definitions/md.Response'
  1596. summary: 制度中心-公排管理-社区分红(查询)
  1597. tags:
  1598. - 公排管理
  1599. /api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserAdd:
  1600. post:
  1601. consumes:
  1602. - application/json
  1603. description: 社区长列表(新增)
  1604. parameters:
  1605. - description: 验证参数Bearer和token空格拼接
  1606. in: header
  1607. name: Authorization
  1608. required: true
  1609. type: string
  1610. - description: 新增社区长 ID、备注
  1611. in: body
  1612. name: req
  1613. required: true
  1614. schema:
  1615. $ref: '#/definitions/md.AddCommunityDividendsWithUserReq'
  1616. produces:
  1617. - application/json
  1618. responses:
  1619. "200":
  1620. description: 插入数据 ID
  1621. schema:
  1622. type: int
  1623. "400":
  1624. description: 具体错误
  1625. schema:
  1626. $ref: '#/definitions/md.Response'
  1627. summary: 制度中心-公排管理-社区长列表(新增)
  1628. tags:
  1629. - 公排管理
  1630. /api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserList:
  1631. post:
  1632. consumes:
  1633. - application/json
  1634. description: 社区长列表(查询)
  1635. parameters:
  1636. - description: 验证参数Bearer和token空格拼接
  1637. in: header
  1638. name: Authorization
  1639. required: true
  1640. type: string
  1641. - description: 页数、每页大小必填 手机号、用户ID选填
  1642. in: body
  1643. name: req
  1644. required: true
  1645. schema:
  1646. $ref: '#/definitions/md.ListCommunityDividendsWithUserReq'
  1647. produces:
  1648. - application/json
  1649. responses:
  1650. "200":
  1651. description: 社区长列表
  1652. schema:
  1653. $ref: '#/definitions/md.ListCommunityDividendsWithUserResp'
  1654. "400":
  1655. description: 具体错误
  1656. schema:
  1657. $ref: '#/definitions/md.Response'
  1658. summary: 制度中心-公排管理-社区长列表(查询)
  1659. tags:
  1660. - 公排管理
  1661. /api/institutionalManagement/publicPlatoon/exchangeUserPosition:
  1662. post:
  1663. consumes:
  1664. - application/json
  1665. description: 关系分布图(位置转换)
  1666. parameters:
  1667. - description: 验证参数Bearer和token空格拼接
  1668. in: header
  1669. name: Authorization
  1670. required: true
  1671. type: string
  1672. - description: 需要交换的两个位置
  1673. in: body
  1674. name: req
  1675. required: true
  1676. schema:
  1677. $ref: '#/definitions/md.ExchangeUserPositionReq'
  1678. produces:
  1679. - application/json
  1680. responses:
  1681. "200":
  1682. description: 成功返回
  1683. schema:
  1684. type: ""
  1685. "400":
  1686. description: 具体错误
  1687. schema:
  1688. $ref: '#/definitions/md.Response'
  1689. summary: 制度中心-公排管理-关系分布图(位置转换)
  1690. tags:
  1691. - 公排管理
  1692. /api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap:
  1693. get:
  1694. consumes:
  1695. - application/json
  1696. description: 关系分布图(获取指定用户上级)
  1697. parameters:
  1698. - description: 验证参数Bearer和token空格拼接
  1699. in: header
  1700. name: Authorization
  1701. required: true
  1702. type: string
  1703. - description: 用户ID
  1704. in: query
  1705. name: uid
  1706. required: true
  1707. type: string
  1708. produces:
  1709. - application/json
  1710. responses:
  1711. "200":
  1712. description: 具体数据
  1713. schema:
  1714. $ref: '#/definitions/md.FindSubUserRelationshipMapResp'
  1715. "400":
  1716. description: 具体错误
  1717. schema:
  1718. $ref: '#/definitions/md.Response'
  1719. summary: 制度中心-公排管理-关系分布图(获取指定用户上级)
  1720. tags:
  1721. - 公排管理
  1722. /api/institutionalManagement/publicPlatoon/findUserRelationshipMap:
  1723. get:
  1724. consumes:
  1725. - application/json
  1726. description: 关系分布图(获取指定用户下级)
  1727. parameters:
  1728. - description: 验证参数Bearer和token空格拼接
  1729. in: header
  1730. name: Authorization
  1731. required: true
  1732. type: string
  1733. - description: 用户ID
  1734. in: query
  1735. name: uid
  1736. required: true
  1737. type: string
  1738. produces:
  1739. - application/json
  1740. responses:
  1741. "200":
  1742. description: 具体数据
  1743. schema:
  1744. $ref: '#/definitions/md.TreeNode'
  1745. "400":
  1746. description: 具体错误
  1747. schema:
  1748. $ref: '#/definitions/md.Response'
  1749. summary: 制度中心-公排管理-关系分布图(获取指定用户下级)
  1750. tags:
  1751. - 公排管理
  1752. /api/institutionalManagement/publicPlatoon/getBasic:
  1753. get:
  1754. consumes:
  1755. - application/json
  1756. description: 公排基础设置(获取)
  1757. parameters:
  1758. - description: 验证参数Bearer和token空格拼接
  1759. in: header
  1760. name: Authorization
  1761. required: true
  1762. type: string
  1763. produces:
  1764. - application/json
  1765. responses:
  1766. "200":
  1767. description: 具体数据
  1768. schema:
  1769. $ref: '#/definitions/md.GetPublicPlatoonBasicResp'
  1770. "400":
  1771. description: 具体错误
  1772. schema:
  1773. $ref: '#/definitions/md.Response'
  1774. summary: 制度中心-公排管理-公排基础设置(获取)
  1775. tags:
  1776. - 公排管理
  1777. /api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index:
  1778. post:
  1779. consumes:
  1780. - application/json
  1781. description: 免罚用户(查询)
  1782. parameters:
  1783. - description: 验证参数Bearer和token空格拼接
  1784. in: header
  1785. name: Authorization
  1786. required: true
  1787. type: string
  1788. - description: 页数和行数必填,uid选填
  1789. in: body
  1790. name: req
  1791. required: true
  1792. schema:
  1793. $ref: '#/definitions/md.GetFreePublishUserReq'
  1794. produces:
  1795. - application/json
  1796. responses:
  1797. "200":
  1798. description: 成功返回
  1799. schema:
  1800. $ref: '#/definitions/md.GetFreePublishUserResp'
  1801. "400":
  1802. description: 具体错误
  1803. schema:
  1804. $ref: '#/definitions/md.Response'
  1805. summary: 制度中心-公排管理-免罚用户(查询)
  1806. tags:
  1807. - 公排管理
  1808. /api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save:
  1809. post:
  1810. consumes:
  1811. - application/json
  1812. description: 免罚用户(新增)
  1813. parameters:
  1814. - description: 验证参数Bearer和token空格拼接
  1815. in: header
  1816. name: Authorization
  1817. required: true
  1818. type: string
  1819. - description: 页数和行数必填,uid选填
  1820. in: body
  1821. name: req
  1822. required: true
  1823. schema:
  1824. $ref: '#/definitions/md.AddFreePublishUserReq'
  1825. produces:
  1826. - application/json
  1827. responses:
  1828. "200":
  1829. description: 插入数据 ID
  1830. schema:
  1831. type: int
  1832. "400":
  1833. description: 具体错误
  1834. schema:
  1835. $ref: '#/definitions/md.Response'
  1836. summary: 制度中心-公排管理-免罚用户(新增)
  1837. tags:
  1838. - 公排管理
  1839. /api/institutionalManagement/publicPlatoon/relationshipMap:
  1840. get:
  1841. consumes:
  1842. - application/json
  1843. description: 关系分布图(获取)
  1844. parameters:
  1845. - description: 验证参数Bearer和token空格拼接
  1846. in: header
  1847. name: Authorization
  1848. required: true
  1849. type: string
  1850. - description: phone
  1851. in: query
  1852. name: phone
  1853. required: true
  1854. type: string
  1855. - description: uid
  1856. in: query
  1857. name: uid
  1858. required: true
  1859. type: string
  1860. produces:
  1861. - application/json
  1862. responses:
  1863. "200":
  1864. description: 具体数据
  1865. schema:
  1866. $ref: '#/definitions/md.TreeNode'
  1867. "400":
  1868. description: 具体错误
  1869. schema:
  1870. $ref: '#/definitions/md.Response'
  1871. summary: 制度中心-公排管理-关系分布图(获取)
  1872. tags:
  1873. - 公排管理
  1874. /api/institutionalManagement/publicPlatoon/updateBasic:
  1875. put:
  1876. consumes:
  1877. - application/json
  1878. description: 公排基础设置(修改)
  1879. parameters:
  1880. - description: 验证参数Bearer和token空格拼接
  1881. in: header
  1882. name: Authorization
  1883. required: true
  1884. type: string
  1885. - description: 公排设置表单内容
  1886. in: body
  1887. name: req
  1888. required: true
  1889. schema:
  1890. $ref: '#/definitions/md.UpdatePublicPlatoonBasicReq'
  1891. produces:
  1892. - application/json
  1893. responses:
  1894. "200":
  1895. description: success
  1896. schema:
  1897. type: string
  1898. "400":
  1899. description: 具体错误
  1900. schema:
  1901. $ref: '#/definitions/md.Response'
  1902. summary: 制度中心-公排管理-公排基础设置(修改)
  1903. tags:
  1904. - 公排管理
  1905. /api/institutionalManagement/publicPlatoon/userDailyActivityAnalysis/index:
  1906. post:
  1907. consumes:
  1908. - application/json
  1909. description: 日活分析
  1910. parameters:
  1911. - description: 验证参数Bearer和token空格拼接
  1912. in: header
  1913. name: Authorization
  1914. required: true
  1915. type: string
  1916. - description: 用户 ID、查询开始时间、结束时间(查询时间不超过30天)、页数、每页大小
  1917. in: body
  1918. name: req
  1919. required: true
  1920. schema:
  1921. $ref: '#/definitions/md.UserDailyActivityAnalysisReq'
  1922. produces:
  1923. - application/json
  1924. responses:
  1925. "200":
  1926. description: 具体数据
  1927. schema:
  1928. $ref: '#/definitions/md.UserDailyActivityAnalysisResp'
  1929. "400":
  1930. description: 具体错误
  1931. schema:
  1932. $ref: '#/definitions/md.Response'
  1933. summary: 制度中心-公排管理-日活分析
  1934. tags:
  1935. - 公排管理
  1936. /api/login:
  1937. post:
  1938. consumes:
  1939. - application/json
  1940. description: 登入
  1941. parameters:
  1942. - description: 用户名密码
  1943. in: body
  1944. name: req
  1945. required: true
  1946. schema:
  1947. $ref: '#/definitions/md.LoginReq'
  1948. produces:
  1949. - application/json
  1950. responses:
  1951. "200":
  1952. description: token
  1953. schema:
  1954. $ref: '#/definitions/md.LoginResponse'
  1955. "400":
  1956. description: 具体错误
  1957. schema:
  1958. $ref: '#/definitions/md.Response'
  1959. summary: 登陆
  1960. tags:
  1961. - 登录
  1962. securityDefinitions:
  1963. MasterID:
  1964. in: header
  1965. name: MasterID
  1966. type: apiKey
  1967. swagger: "2.0"