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

swagger.yaml 33 KiB

1ヶ月前
2週間前
2週間前
2週間前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
2週間前
2週間前
2週間前
2週間前
1週間前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
2週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
2週間前
2週間前
2週間前
2週間前
2週間前
2週間前
2週間前
2週間前
2週間前
2週間前
2週間前
2週間前
2週間前
2週間前
2週間前
2週間前
2週間前
2週間前
2週間前
2週間前
1週間前
1週間前
1ヶ月前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245
  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"