蛋蛋星球-客户端
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 
 

1364 рядки
36 KiB

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