蛋蛋星球-客户端
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.
 
 
 
 
 
 

1960 lines
52 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.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.GetPublicPlatoonBasicResp:
  734. properties:
  735. is_open:
  736. description: 是否开启(1:开启 0:关闭)
  737. type: integer
  738. is_self_active_get_team_revenue:
  739. description: 会员本人没有日活,没有圈层奖励(1:开启 0:关闭)
  740. type: integer
  741. originator_uid:
  742. description: 创始人uid
  743. type: integer
  744. several_rows:
  745. description: 几排
  746. type: integer
  747. several_times:
  748. description: 几乘
  749. type: integer
  750. system_punish_replace:
  751. description: 是否位置滑落 被新用户替换 0否 1是
  752. type: integer
  753. system_punish_replace_value:
  754. description: xx天未活跃,处罚滑落
  755. type: integer
  756. type: object
  757. md.ListCommunityDividendsReq:
  758. properties:
  759. end_at:
  760. description: 结束时间
  761. type: string
  762. end_nums:
  763. description: 分红总量上限
  764. type: integer
  765. limit:
  766. description: 每页大小
  767. type: integer
  768. page:
  769. description: 页数
  770. type: integer
  771. start_at:
  772. description: 开始时间
  773. type: string
  774. start_nums:
  775. description: 分红总量下限
  776. type: integer
  777. type: object
  778. md.ListCommunityDividendsResp:
  779. properties:
  780. list:
  781. items:
  782. $ref: '#/definitions/md.EggEnergyCommunityDividends'
  783. type: array
  784. paginate:
  785. $ref: '#/definitions/applet_app_md_institutional_management_public_platoon.Paginate'
  786. type: object
  787. md.ListCommunityDividendsWithUserReq:
  788. properties:
  789. limit:
  790. type: integer
  791. page:
  792. type: integer
  793. phone:
  794. type: string
  795. uid:
  796. type: integer
  797. type: object
  798. md.ListCommunityDividendsWithUserResp:
  799. properties:
  800. list:
  801. items:
  802. $ref: '#/definitions/md.EggEnergyCommunityDividendsWithUser'
  803. type: array
  804. paginate:
  805. $ref: '#/definitions/applet_app_md_institutional_management_public_platoon.Paginate'
  806. type: object
  807. md.LoginReq:
  808. properties:
  809. code:
  810. example: 验证码
  811. type: string
  812. password:
  813. example: 登录密码
  814. type: string
  815. username:
  816. example: 登录账号
  817. type: string
  818. required:
  819. - password
  820. - username
  821. type: object
  822. md.LoginResponse:
  823. properties:
  824. token:
  825. type: string
  826. type: object
  827. md.NewUserRewardRules:
  828. properties:
  829. continue_days:
  830. description: 连续x天
  831. type: integer
  832. invite_user_reward_value:
  833. description: 拉新用户奖励x个活跃积分
  834. type: integer
  835. reward_coefficient:
  836. description: 奖励系数
  837. type: number
  838. type: object
  839. md.PriceSettingStruct:
  840. properties:
  841. marketplace_merchants_fund_exchange_marketplace_merchants_nums_value:
  842. description: 市商资金单笔x元自动兑换
  843. type: string
  844. marketplace_merchants_nums_exchange_marketplace_merchants_fund_value:
  845. description: 市商数量单笔x数量自动兑换
  846. type: string
  847. price_below_value:
  848. description: 低于x元
  849. type: string
  850. price_higher_than_value:
  851. description: 高于x元
  852. type: string
  853. type: object
  854. md.Response:
  855. properties:
  856. code:
  857. example: 响应码
  858. type: string
  859. data:
  860. description: 内容
  861. msg:
  862. example: 具体错误原因
  863. type: string
  864. type: object
  865. md.RewardSystemStruct:
  866. properties:
  867. level:
  868. description: 圈层
  869. type: integer
  870. reward_condition:
  871. description: 奖励条件
  872. type: string
  873. reward_value:
  874. description: 奖励值
  875. type: string
  876. type: object
  877. md.SelectData:
  878. properties:
  879. direction:
  880. items:
  881. additionalProperties:
  882. type: string
  883. type: object
  884. type: array
  885. type: object
  886. md.SonUserDailyActivityAnalysisNode:
  887. properties:
  888. activity_day_nums:
  889. description: 活跃子节点活跃天数
  890. type: integer
  891. nickname:
  892. example: 昵称
  893. type: string
  894. phone:
  895. example: 手机号
  896. type: string
  897. uid:
  898. description: 查询用户活跃子节点 ID
  899. type: integer
  900. type: object
  901. md.SubUser:
  902. properties:
  903. avatar_url:
  904. example: 头像
  905. type: string
  906. level:
  907. description: 整个系统中的等级
  908. type: integer
  909. nickname:
  910. example: 昵称
  911. type: string
  912. phone:
  913. example: 手机号
  914. type: string
  915. pid:
  916. type: integer
  917. position:
  918. description: 以pid1为创始人中网的位置
  919. type: integer
  920. uid:
  921. type: integer
  922. type: object
  923. md.TreeNode:
  924. properties:
  925. avatar_url:
  926. example: 头像
  927. type: string
  928. level:
  929. type: integer
  930. nickname:
  931. example: 昵称
  932. type: string
  933. phone:
  934. example: 手机号
  935. type: string
  936. pid:
  937. type: integer
  938. position:
  939. type: integer
  940. son:
  941. items:
  942. $ref: '#/definitions/md.TreeNode'
  943. type: array
  944. system_id:
  945. description: 公排网中id
  946. type: integer
  947. uid:
  948. type: integer
  949. type: object
  950. md.UpdateEggEnergyBasicReq:
  951. properties:
  952. basic_setting:
  953. allOf:
  954. - $ref: '#/definitions/applet_app_md_institutional_management_egg_energy.BasicSetting'
  955. description: 基础设置
  956. data_setting:
  957. allOf:
  958. - $ref: '#/definitions/md.DataSetting'
  959. description: 数据设置
  960. destruction_setting:
  961. allOf:
  962. - $ref: '#/definitions/md.DestructionSettingStruct'
  963. description: 销毁设置
  964. exchange_rules:
  965. allOf:
  966. - $ref: '#/definitions/md.ExchangeRulesStruct'
  967. description: 兑换规则
  968. new_user_incentive_rules:
  969. allOf:
  970. - $ref: '#/definitions/md.NewUserRewardRules'
  971. description: "新用户奖励规则\t\t\t\t\t\t\t\t\t\t\t // 新用户奖励规则"
  972. price_setting:
  973. allOf:
  974. - $ref: '#/definitions/md.PriceSettingStruct'
  975. description: 价格设置
  976. reward_system:
  977. allOf:
  978. - $ref: '#/definitions/md.RewardSystemStruct'
  979. description: 圈层奖励
  980. system_id:
  981. description: 该设置系统 ID
  982. type: integer
  983. video_reward_setting:
  984. allOf:
  985. - $ref: '#/definitions/md.VideoRewardSetting'
  986. description: 视频奖励
  987. type: object
  988. md.UpdatePublicPlatoonBasicReq:
  989. properties:
  990. is_open:
  991. description: 是否开启(1:开启 0:关闭)
  992. type: integer
  993. is_self_active_get_team_revenue:
  994. description: 会员本人没有日活,没有圈层奖励(1:开启 0:关闭)
  995. type: integer
  996. originator_uid:
  997. description: 创始人uid
  998. type: integer
  999. several_rows:
  1000. description: 几排
  1001. type: integer
  1002. several_times:
  1003. description: 几乘
  1004. type: integer
  1005. system_punish_replace:
  1006. description: 是否位置滑落 被新用户替换 0否 1是
  1007. type: integer
  1008. system_punish_replace_value:
  1009. description: xx天未活跃,处罚滑落
  1010. type: integer
  1011. type: object
  1012. md.UserDailyActivityAnalysisReq:
  1013. properties:
  1014. end_date:
  1015. example: 结束日期
  1016. type: string
  1017. page:
  1018. description: 页数
  1019. type: integer
  1020. page_size:
  1021. description: 每页大小
  1022. type: integer
  1023. start_date:
  1024. example: 开始日期
  1025. type: string
  1026. uid:
  1027. description: 查询用户 ID
  1028. type: integer
  1029. type: object
  1030. md.UserDailyActivityAnalysisResp:
  1031. properties:
  1032. son_user_data:
  1033. description: 被查询用户子节点信息
  1034. items:
  1035. $ref: '#/definitions/md.SonUserDailyActivityAnalysisNode'
  1036. type: array
  1037. top_data:
  1038. allOf:
  1039. - $ref: '#/definitions/md.DailyActivityAnalysisTopData'
  1040. description: 统计信息
  1041. type: object
  1042. md.UserVirtualCoinFlow:
  1043. properties:
  1044. after_amount:
  1045. example: 变更后数量
  1046. type: string
  1047. amount:
  1048. example: 变更数量
  1049. type: string
  1050. before_amount:
  1051. example: 变更前数量
  1052. type: string
  1053. coin_id:
  1054. description: 虚拟币 ID
  1055. type: integer
  1056. create_at:
  1057. example: 创建时间
  1058. type: string
  1059. direction:
  1060. description: 方向:1收入 2支出
  1061. type: integer
  1062. id:
  1063. type: integer
  1064. sys_fee:
  1065. example: 手续费
  1066. type: string
  1067. title:
  1068. example: 标题
  1069. type: string
  1070. transfer_type:
  1071. description: 转账类型
  1072. type: integer
  1073. uid:
  1074. description: 用户 ID
  1075. type: integer
  1076. update_at:
  1077. example: 更新时间
  1078. type: string
  1079. type: object
  1080. md.VideoRewardSetting:
  1081. properties:
  1082. video_reward_is_open:
  1083. description: 视频奖励是否开启(1:开启 0:关闭)
  1084. type: integer
  1085. video_reward_system:
  1086. allOf:
  1087. - $ref: '#/definitions/md.VideoRewardSystemStruct'
  1088. description: 视频奖励机制
  1089. type: object
  1090. md.VideoRewardSystemStruct:
  1091. properties:
  1092. each_round_hour:
  1093. description: 每一轮X个小时
  1094. type: string
  1095. interval_minutes:
  1096. description: 间隔X秒
  1097. type: string
  1098. reward_total_num:
  1099. description: 一共X个奖励视屏
  1100. type: string
  1101. reward_value:
  1102. description: 奖励X个活跃积分
  1103. type: string
  1104. type: object
  1105. md.VirtualCoin:
  1106. properties:
  1107. create_at:
  1108. type: string
  1109. exchange_ratio:
  1110. description: 兑换比例(与金额)
  1111. example: 兑换比例(与金额)
  1112. type: string
  1113. id:
  1114. type: integer
  1115. is_use:
  1116. description: '是否开启: 0否 1是'
  1117. type: integer
  1118. name:
  1119. description: 名称
  1120. type: string
  1121. update_at:
  1122. type: string
  1123. type: object
  1124. md.VirtualCoinListNode:
  1125. properties:
  1126. coin_id:
  1127. description: 货币类型 ID
  1128. type: integer
  1129. kind:
  1130. description: 货币序号
  1131. type: integer
  1132. name:
  1133. example: 货币类型名称
  1134. type: string
  1135. type: object
  1136. host: localhost:4001
  1137. info:
  1138. contact:
  1139. email: 1239118001@qq.com
  1140. name: dengbiao
  1141. url: http://www.swagger.io/support
  1142. description: 管理后台接口文档
  1143. license:
  1144. name: Apache 2.0
  1145. url: http://www.apache.org/licenses/LICENSE-2.0.html
  1146. termsOfService: http://swagger.io/terms/
  1147. title: 蛋蛋星球-管理后台
  1148. version: "1.0"
  1149. paths:
  1150. /api/demo:
  1151. post:
  1152. consumes:
  1153. - application/json
  1154. description: Demo样例测试
  1155. parameters:
  1156. - description: 用户名密码
  1157. in: body
  1158. name: req
  1159. required: true
  1160. schema: {}
  1161. produces:
  1162. - application/json
  1163. responses:
  1164. "200":
  1165. description: token
  1166. schema:
  1167. additionalProperties: true
  1168. type: object
  1169. "400":
  1170. description: 具体错误
  1171. schema:
  1172. $ref: '#/definitions/md.Response'
  1173. summary: Demo测试
  1174. tags:
  1175. - Demo
  1176. /api/institutionalManagement/eggEnergy/availableEnergy/list:
  1177. post:
  1178. consumes:
  1179. - application/json
  1180. description: 查询所有币种(获取)
  1181. parameters:
  1182. - description: 验证参数Bearer和token空格拼接
  1183. in: header
  1184. name: Authorization
  1185. required: true
  1186. type: string
  1187. produces:
  1188. - application/json
  1189. responses:
  1190. "200":
  1191. description: 成功返回
  1192. schema:
  1193. items:
  1194. $ref: '#/definitions/md.VirtualCoin'
  1195. type: array
  1196. "400":
  1197. description: 具体错误
  1198. schema:
  1199. $ref: '#/definitions/md.Response'
  1200. summary: 制度中心-蛋蛋能量-查询所有币种(获取)
  1201. tags:
  1202. - 蛋蛋能量
  1203. /api/institutionalManagement/eggEnergy/getBasic:
  1204. get:
  1205. consumes:
  1206. - application/json
  1207. description: 基础设置(获取)
  1208. parameters:
  1209. - description: 验证参数Bearer和token空格拼接
  1210. in: header
  1211. name: Authorization
  1212. required: true
  1213. type: string
  1214. produces:
  1215. - application/json
  1216. responses:
  1217. "200":
  1218. description: 具体数据
  1219. schema:
  1220. $ref: '#/definitions/md.GetEggEnergyBasicResp'
  1221. "400":
  1222. description: 具体错误
  1223. schema:
  1224. $ref: '#/definitions/md.Response'
  1225. summary: 制度中心-蛋蛋能量-基础设置(获取)
  1226. tags:
  1227. - 蛋蛋能量
  1228. /api/institutionalManagement/eggEnergy/globalData/coreDataList:
  1229. get:
  1230. consumes:
  1231. - application/json
  1232. description: 数据概览(获取)
  1233. parameters:
  1234. - description: 验证参数Bearer和token空格拼接
  1235. in: header
  1236. name: Authorization
  1237. required: true
  1238. type: string
  1239. produces:
  1240. - application/json
  1241. responses:
  1242. "200":
  1243. description: 具体数据
  1244. schema:
  1245. $ref: '#/definitions/md.GetEggCoreDataListResp'
  1246. "400":
  1247. description: 具体错误
  1248. schema:
  1249. $ref: '#/definitions/md.Response'
  1250. summary: 制度中心-蛋蛋能量-数据概览(获取)
  1251. tags:
  1252. - 蛋蛋能量
  1253. /api/institutionalManagement/eggEnergy/globalData/fundDataAdd:
  1254. post:
  1255. consumes:
  1256. - application/json
  1257. description: 价值明细数据(新增)
  1258. parameters:
  1259. - description: 验证参数Bearer和token空格拼接
  1260. in: header
  1261. name: Authorization
  1262. required: true
  1263. type: string
  1264. - description: 数据种类、金额、时长(最长24h)、执行次数必填,备注选填
  1265. in: body
  1266. name: req
  1267. required: true
  1268. schema:
  1269. $ref: '#/definitions/md.AddFundDataReq'
  1270. produces:
  1271. - application/json
  1272. responses:
  1273. "200":
  1274. description: 插入数据 id
  1275. schema:
  1276. type: int
  1277. "400":
  1278. description: 具体错误
  1279. schema:
  1280. $ref: '#/definitions/md.Response'
  1281. summary: 制度中心-蛋蛋能量-价值明细数据(新增)
  1282. tags:
  1283. - 蛋蛋能量
  1284. /api/institutionalManagement/eggEnergy/globalData/fundDataList:
  1285. post:
  1286. consumes:
  1287. - application/json
  1288. description: 新增数据列表(获取)
  1289. parameters:
  1290. - description: 验证参数Bearer和token空格拼接
  1291. in: header
  1292. name: Authorization
  1293. required: true
  1294. type: string
  1295. - description: 分页信息必填
  1296. in: body
  1297. name: req
  1298. required: true
  1299. schema:
  1300. $ref: '#/definitions/md.GetFundDataListReq'
  1301. produces:
  1302. - application/json
  1303. responses:
  1304. "200":
  1305. description: 具体数据
  1306. schema:
  1307. $ref: '#/definitions/md.GetFundDataListResp'
  1308. "400":
  1309. description: 具体错误
  1310. schema:
  1311. $ref: '#/definitions/md.Response'
  1312. summary: 制度中心-蛋蛋能量-新增数据列表(获取)
  1313. tags:
  1314. - 蛋蛋能量
  1315. /api/institutionalManagement/eggEnergy/globalData/fundDataRecordList:
  1316. post:
  1317. consumes:
  1318. - application/json
  1319. description: 新增数据列表详情(查询)
  1320. parameters:
  1321. - description: 验证参数Bearer和token空格拼接
  1322. in: header
  1323. name: Authorization
  1324. required: true
  1325. type: string
  1326. - description: 获取到的 system_id 以及分页信息
  1327. in: body
  1328. name: req
  1329. required: true
  1330. schema:
  1331. $ref: '#/definitions/md.GetFundDataRecordListReq'
  1332. produces:
  1333. - application/json
  1334. responses:
  1335. "200":
  1336. description: 具体数据
  1337. schema:
  1338. $ref: '#/definitions/md.GetFundDataRecordListResp'
  1339. "400":
  1340. description: 具体错误
  1341. schema:
  1342. $ref: '#/definitions/md.Response'
  1343. summary: 制度中心-蛋蛋能量-新增数据列表详情(查询)
  1344. tags:
  1345. - 蛋蛋能量
  1346. /api/institutionalManagement/eggEnergy/globalData/pointsCenterPriceCurve:
  1347. get:
  1348. consumes:
  1349. - application/json
  1350. description: 价格趋势(获取)
  1351. parameters:
  1352. - description: 验证参数Bearer和token空格拼接
  1353. in: header
  1354. name: Authorization
  1355. required: true
  1356. type: string
  1357. - description: 1:按天 2:按小时 3:按周
  1358. in: query
  1359. name: kind
  1360. type: string
  1361. produces:
  1362. - application/json
  1363. responses:
  1364. "200":
  1365. description: 具体数据
  1366. schema:
  1367. additionalProperties: true
  1368. type: object
  1369. "400":
  1370. description: 具体错误
  1371. schema:
  1372. $ref: '#/definitions/md.Response'
  1373. summary: 制度中心-蛋蛋能量-价格趋势(获取)
  1374. tags:
  1375. - 蛋蛋能量
  1376. /api/institutionalManagement/eggEnergy/updateBasic:
  1377. post:
  1378. consumes:
  1379. - application/json
  1380. description: 基础设置(更新)
  1381. parameters:
  1382. - description: 验证参数Bearer和token空格拼接
  1383. in: header
  1384. name: Authorization
  1385. required: true
  1386. type: string
  1387. - description: system_id 必填
  1388. in: body
  1389. name: req
  1390. required: true
  1391. schema:
  1392. $ref: '#/definitions/md.UpdateEggEnergyBasicReq'
  1393. produces:
  1394. - application/json
  1395. responses:
  1396. "200":
  1397. description: 修改数据条数
  1398. schema:
  1399. type: int
  1400. "400":
  1401. description: 具体错误
  1402. schema:
  1403. $ref: '#/definitions/md.Response'
  1404. summary: 制度中心-蛋蛋能量-基础设置(更新)
  1405. tags:
  1406. - 蛋蛋能量
  1407. /api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinFlowList:
  1408. post:
  1409. consumes:
  1410. - application/json
  1411. description: 活跃积分持有流水(查询)
  1412. parameters:
  1413. - description: 验证参数Bearer和token空格拼接
  1414. in: header
  1415. name: Authorization
  1416. required: true
  1417. type: string
  1418. - description: 至少传入 货币类型 ID 用户 UID 页数 每页大小
  1419. in: body
  1420. name: req
  1421. required: true
  1422. schema:
  1423. $ref: '#/definitions/md.GetActivePointsUserCoinFlowListReq'
  1424. produces:
  1425. - application/json
  1426. responses:
  1427. "200":
  1428. description: 成功返回
  1429. schema:
  1430. $ref: '#/definitions/md.GetActivePointsUserCoinFlowListResp'
  1431. "400":
  1432. description: 具体错误
  1433. schema:
  1434. $ref: '#/definitions/md.Response'
  1435. summary: 制度中心-活跃积分持有者明细-活跃积分持有流水(查询)
  1436. tags:
  1437. - 公排管理
  1438. /api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinList:
  1439. post:
  1440. consumes:
  1441. - application/json
  1442. description: 活跃积分持有(获取)
  1443. parameters:
  1444. - description: 验证参数Bearer和token空格拼接
  1445. in: header
  1446. name: Authorization
  1447. required: true
  1448. type: string
  1449. - description: 落地页不填页大小默认20条数据
  1450. in: body
  1451. name: req
  1452. schema:
  1453. $ref: '#/definitions/md.GetActivePointsUserCoinListReq'
  1454. produces:
  1455. - application/json
  1456. responses:
  1457. "200":
  1458. description: 成功返回
  1459. schema:
  1460. $ref: '#/definitions/md.GetActivePointsUserCoinListResp'
  1461. "400":
  1462. description: 具体错误
  1463. schema:
  1464. $ref: '#/definitions/md.Response'
  1465. summary: 制度中心-活跃积分持有者明细-活跃积分持有(获取)
  1466. tags:
  1467. - 公排管理
  1468. /api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinFlowList:
  1469. post:
  1470. consumes:
  1471. - application/json
  1472. description: 绿色能量持有流水(查询)
  1473. parameters:
  1474. - description: 验证参数Bearer和token空格拼接
  1475. in: header
  1476. name: Authorization
  1477. required: true
  1478. type: string
  1479. - description: 至少传入 货币类型 ID 用户 UID 页数 每页大小
  1480. in: body
  1481. name: req
  1482. required: true
  1483. schema:
  1484. $ref: '#/definitions/md.GetGreenEnergyUserCoinFlowListReq'
  1485. produces:
  1486. - application/json
  1487. responses:
  1488. "200":
  1489. description: 成功返回
  1490. schema:
  1491. $ref: '#/definitions/md.GetGreenEnergyUserCoinFlowListResp'
  1492. "400":
  1493. description: 具体错误
  1494. schema:
  1495. $ref: '#/definitions/md.Response'
  1496. summary: 制度中心-绿色能量持有者明细-绿色能量持有流水(查询)
  1497. tags:
  1498. - 公排管理
  1499. /api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinList:
  1500. post:
  1501. consumes:
  1502. - application/json
  1503. description: 绿色能量(获取)
  1504. parameters:
  1505. - description: 验证参数Bearer和token空格拼接
  1506. in: header
  1507. name: Authorization
  1508. required: true
  1509. type: string
  1510. - description: 落地页不填页大小默认20条数据
  1511. in: body
  1512. name: req
  1513. schema:
  1514. $ref: '#/definitions/md.GetGreenEnergyUserCoinListReq'
  1515. produces:
  1516. - application/json
  1517. responses:
  1518. "200":
  1519. description: 成功返回
  1520. schema:
  1521. $ref: '#/definitions/md.GetGreenEnergyUserCoinListResp'
  1522. "400":
  1523. description: 具体错误
  1524. schema:
  1525. $ref: '#/definitions/md.Response'
  1526. summary: 制度中心-绿色能量持有者明细-绿色能量(获取)
  1527. tags:
  1528. - 公排管理
  1529. /api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd:
  1530. post:
  1531. consumes:
  1532. - application/json
  1533. description: 社区分红(新增)
  1534. parameters:
  1535. - description: 验证参数Bearer和token空格拼接
  1536. in: header
  1537. name: Authorization
  1538. required: true
  1539. type: string
  1540. - description: 分红名称、分红总量
  1541. in: body
  1542. name: req
  1543. required: true
  1544. schema:
  1545. $ref: '#/definitions/md.AddCommunityDividendsReq'
  1546. produces:
  1547. - application/json
  1548. responses:
  1549. "200":
  1550. description: 成功
  1551. schema:
  1552. type: success
  1553. "400":
  1554. description: 具体错误
  1555. schema:
  1556. $ref: '#/definitions/md.Response'
  1557. summary: 制度中心-公排管理-社区分红(新增)
  1558. tags:
  1559. - 公排管理
  1560. /api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsList:
  1561. post:
  1562. consumes:
  1563. - application/json
  1564. description: 社区分红(查询)
  1565. parameters:
  1566. - description: 验证参数Bearer和token空格拼接
  1567. in: header
  1568. name: Authorization
  1569. required: true
  1570. type: string
  1571. - description: 页数、每页大小必填 起止时间、起止数量选填
  1572. in: body
  1573. name: req
  1574. required: true
  1575. schema:
  1576. $ref: '#/definitions/md.ListCommunityDividendsReq'
  1577. produces:
  1578. - application/json
  1579. responses:
  1580. "200":
  1581. description: 具体数据
  1582. schema:
  1583. $ref: '#/definitions/md.ListCommunityDividendsResp'
  1584. "400":
  1585. description: 具体错误
  1586. schema:
  1587. $ref: '#/definitions/md.Response'
  1588. summary: 制度中心-公排管理-社区分红(查询)
  1589. tags:
  1590. - 公排管理
  1591. /api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserAdd:
  1592. post:
  1593. consumes:
  1594. - application/json
  1595. description: 社区长列表(新增)
  1596. parameters:
  1597. - description: 验证参数Bearer和token空格拼接
  1598. in: header
  1599. name: Authorization
  1600. required: true
  1601. type: string
  1602. - description: 新增社区长 ID、备注
  1603. in: body
  1604. name: req
  1605. required: true
  1606. schema:
  1607. $ref: '#/definitions/md.AddCommunityDividendsWithUserReq'
  1608. produces:
  1609. - application/json
  1610. responses:
  1611. "200":
  1612. description: 插入数据 ID
  1613. schema:
  1614. type: int
  1615. "400":
  1616. description: 具体错误
  1617. schema:
  1618. $ref: '#/definitions/md.Response'
  1619. summary: 制度中心-公排管理-社区长列表(新增)
  1620. tags:
  1621. - 公排管理
  1622. /api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserList:
  1623. post:
  1624. consumes:
  1625. - application/json
  1626. description: 社区长列表(查询)
  1627. parameters:
  1628. - description: 验证参数Bearer和token空格拼接
  1629. in: header
  1630. name: Authorization
  1631. required: true
  1632. type: string
  1633. - description: 页数、每页大小必填 手机号、用户ID选填
  1634. in: body
  1635. name: req
  1636. required: true
  1637. schema:
  1638. $ref: '#/definitions/md.ListCommunityDividendsWithUserReq'
  1639. produces:
  1640. - application/json
  1641. responses:
  1642. "200":
  1643. description: 社区长列表
  1644. schema:
  1645. $ref: '#/definitions/md.ListCommunityDividendsWithUserResp'
  1646. "400":
  1647. description: 具体错误
  1648. schema:
  1649. $ref: '#/definitions/md.Response'
  1650. summary: 制度中心-公排管理-社区长列表(查询)
  1651. tags:
  1652. - 公排管理
  1653. /api/institutionalManagement/publicPlatoon/exchangeUserPosition:
  1654. post:
  1655. consumes:
  1656. - application/json
  1657. description: 关系分布图(位置转换)
  1658. parameters:
  1659. - description: 验证参数Bearer和token空格拼接
  1660. in: header
  1661. name: Authorization
  1662. required: true
  1663. type: string
  1664. - description: 需要交换的两个位置
  1665. in: body
  1666. name: req
  1667. required: true
  1668. schema:
  1669. $ref: '#/definitions/md.ExchangeUserPositionReq'
  1670. produces:
  1671. - application/json
  1672. responses:
  1673. "200":
  1674. description: 成功返回
  1675. schema:
  1676. type: ""
  1677. "400":
  1678. description: 具体错误
  1679. schema:
  1680. $ref: '#/definitions/md.Response'
  1681. summary: 制度中心-公排管理-关系分布图(位置转换)
  1682. tags:
  1683. - 公排管理
  1684. /api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap:
  1685. get:
  1686. consumes:
  1687. - application/json
  1688. description: 关系分布图(获取指定用户上级)
  1689. parameters:
  1690. - description: 验证参数Bearer和token空格拼接
  1691. in: header
  1692. name: Authorization
  1693. required: true
  1694. type: string
  1695. - description: 用户ID
  1696. in: query
  1697. name: uid
  1698. required: true
  1699. type: string
  1700. produces:
  1701. - application/json
  1702. responses:
  1703. "200":
  1704. description: 具体数据
  1705. schema:
  1706. $ref: '#/definitions/md.FindSubUserRelationshipMapResp'
  1707. "400":
  1708. description: 具体错误
  1709. schema:
  1710. $ref: '#/definitions/md.Response'
  1711. summary: 制度中心-公排管理-关系分布图(获取指定用户上级)
  1712. tags:
  1713. - 公排管理
  1714. /api/institutionalManagement/publicPlatoon/findUserRelationshipMap:
  1715. get:
  1716. consumes:
  1717. - application/json
  1718. description: 关系分布图(获取指定用户下级)
  1719. parameters:
  1720. - description: 验证参数Bearer和token空格拼接
  1721. in: header
  1722. name: Authorization
  1723. required: true
  1724. type: string
  1725. - description: 用户ID
  1726. in: query
  1727. name: uid
  1728. required: true
  1729. type: string
  1730. produces:
  1731. - application/json
  1732. responses:
  1733. "200":
  1734. description: 具体数据
  1735. schema:
  1736. $ref: '#/definitions/md.TreeNode'
  1737. "400":
  1738. description: 具体错误
  1739. schema:
  1740. $ref: '#/definitions/md.Response'
  1741. summary: 制度中心-公排管理-关系分布图(获取指定用户下级)
  1742. tags:
  1743. - 公排管理
  1744. /api/institutionalManagement/publicPlatoon/getBasic:
  1745. get:
  1746. consumes:
  1747. - application/json
  1748. description: 公排基础设置(获取)
  1749. parameters:
  1750. - description: 验证参数Bearer和token空格拼接
  1751. in: header
  1752. name: Authorization
  1753. required: true
  1754. type: string
  1755. produces:
  1756. - application/json
  1757. responses:
  1758. "200":
  1759. description: 具体数据
  1760. schema:
  1761. $ref: '#/definitions/md.GetPublicPlatoonBasicResp'
  1762. "400":
  1763. description: 具体错误
  1764. schema:
  1765. $ref: '#/definitions/md.Response'
  1766. summary: 制度中心-公排管理-公排基础设置(获取)
  1767. tags:
  1768. - 公排管理
  1769. /api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index:
  1770. post:
  1771. consumes:
  1772. - application/json
  1773. description: 免罚用户(查询)
  1774. parameters:
  1775. - description: 验证参数Bearer和token空格拼接
  1776. in: header
  1777. name: Authorization
  1778. required: true
  1779. type: string
  1780. - description: 页数和行数必填,uid选填
  1781. in: body
  1782. name: req
  1783. required: true
  1784. schema:
  1785. $ref: '#/definitions/md.GetFreePublishUserReq'
  1786. produces:
  1787. - application/json
  1788. responses:
  1789. "200":
  1790. description: 成功返回
  1791. schema:
  1792. $ref: '#/definitions/md.GetFreePublishUserResp'
  1793. "400":
  1794. description: 具体错误
  1795. schema:
  1796. $ref: '#/definitions/md.Response'
  1797. summary: 制度中心-公排管理-免罚用户(查询)
  1798. tags:
  1799. - 公排管理
  1800. /api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save:
  1801. post:
  1802. consumes:
  1803. - application/json
  1804. description: 免罚用户(新增)
  1805. parameters:
  1806. - description: 验证参数Bearer和token空格拼接
  1807. in: header
  1808. name: Authorization
  1809. required: true
  1810. type: string
  1811. - description: 页数和行数必填,uid选填
  1812. in: body
  1813. name: req
  1814. required: true
  1815. schema:
  1816. $ref: '#/definitions/md.AddFreePublishUserReq'
  1817. produces:
  1818. - application/json
  1819. responses:
  1820. "200":
  1821. description: 插入数据 ID
  1822. schema:
  1823. type: int
  1824. "400":
  1825. description: 具体错误
  1826. schema:
  1827. $ref: '#/definitions/md.Response'
  1828. summary: 制度中心-公排管理-免罚用户(新增)
  1829. tags:
  1830. - 公排管理
  1831. /api/institutionalManagement/publicPlatoon/relationshipMap:
  1832. get:
  1833. consumes:
  1834. - application/json
  1835. description: 关系分布图(获取)
  1836. parameters:
  1837. - description: 验证参数Bearer和token空格拼接
  1838. in: header
  1839. name: Authorization
  1840. required: true
  1841. type: string
  1842. - description: phone
  1843. in: query
  1844. name: phone
  1845. required: true
  1846. type: string
  1847. - description: uid
  1848. in: query
  1849. name: uid
  1850. required: true
  1851. type: string
  1852. produces:
  1853. - application/json
  1854. responses:
  1855. "200":
  1856. description: 具体数据
  1857. schema:
  1858. $ref: '#/definitions/md.TreeNode'
  1859. "400":
  1860. description: 具体错误
  1861. schema:
  1862. $ref: '#/definitions/md.Response'
  1863. summary: 制度中心-公排管理-关系分布图(获取)
  1864. tags:
  1865. - 公排管理
  1866. /api/institutionalManagement/publicPlatoon/updateBasic:
  1867. put:
  1868. consumes:
  1869. - application/json
  1870. description: 公排基础设置(修改)
  1871. parameters:
  1872. - description: 验证参数Bearer和token空格拼接
  1873. in: header
  1874. name: Authorization
  1875. required: true
  1876. type: string
  1877. - description: 公排设置表单内容
  1878. in: body
  1879. name: req
  1880. required: true
  1881. schema:
  1882. $ref: '#/definitions/md.UpdatePublicPlatoonBasicReq'
  1883. produces:
  1884. - application/json
  1885. responses:
  1886. "200":
  1887. description: success
  1888. schema:
  1889. type: string
  1890. "400":
  1891. description: 具体错误
  1892. schema:
  1893. $ref: '#/definitions/md.Response'
  1894. summary: 制度中心-公排管理-公排基础设置(修改)
  1895. tags:
  1896. - 公排管理
  1897. /api/institutionalManagement/publicPlatoon/userDailyActivityAnalysis/index:
  1898. post:
  1899. consumes:
  1900. - application/json
  1901. description: 日活分析
  1902. parameters:
  1903. - description: 验证参数Bearer和token空格拼接
  1904. in: header
  1905. name: Authorization
  1906. required: true
  1907. type: string
  1908. - description: 用户 ID、查询开始时间、结束时间(查询时间不超过30天)、页数、每页大小
  1909. in: body
  1910. name: req
  1911. required: true
  1912. schema:
  1913. $ref: '#/definitions/md.UserDailyActivityAnalysisReq'
  1914. produces:
  1915. - application/json
  1916. responses:
  1917. "200":
  1918. description: 具体数据
  1919. schema:
  1920. $ref: '#/definitions/md.UserDailyActivityAnalysisResp'
  1921. "400":
  1922. description: 具体错误
  1923. schema:
  1924. $ref: '#/definitions/md.Response'
  1925. summary: 制度中心-公排管理-日活分析
  1926. tags:
  1927. - 公排管理
  1928. /api/login:
  1929. post:
  1930. consumes:
  1931. - application/json
  1932. description: 登入
  1933. parameters:
  1934. - description: 用户名密码
  1935. in: body
  1936. name: req
  1937. required: true
  1938. schema:
  1939. $ref: '#/definitions/md.LoginReq'
  1940. produces:
  1941. - application/json
  1942. responses:
  1943. "200":
  1944. description: token
  1945. schema:
  1946. $ref: '#/definitions/md.LoginResponse'
  1947. "400":
  1948. description: 具体错误
  1949. schema:
  1950. $ref: '#/definitions/md.Response'
  1951. summary: 登陆
  1952. tags:
  1953. - 登录
  1954. securityDefinitions:
  1955. MasterID:
  1956. in: header
  1957. name: MasterID
  1958. type: apiKey
  1959. swagger: "2.0"