蛋蛋星球-客户端
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

swagger.yaml 29 KiB

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