蛋蛋星球 后台端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1635 regels
44 KiB

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