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

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