蛋蛋星球 后台端
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.
 
 
 
 
 

1717 lines
46 KiB

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