蛋蛋星球 后台端
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.
 
 
 
 
 

1841 lines
63 KiB

  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "管理后台接口文档",
  5. "title": "蛋蛋星球-管理后台",
  6. "termsOfService": "http://swagger.io/terms/",
  7. "contact": {
  8. "name": "dengbiao",
  9. "url": "http://www.swagger.io/support",
  10. "email": "1239118001@qq.com"
  11. },
  12. "license": {
  13. "name": "Apache 2.0",
  14. "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
  15. },
  16. "version": "1.0"
  17. },
  18. "host": "localhost:4001",
  19. "paths": {
  20. "/api/demo": {
  21. "post": {
  22. "description": "Demo样例测试",
  23. "consumes": [
  24. "application/json"
  25. ],
  26. "produces": [
  27. "application/json"
  28. ],
  29. "tags": [
  30. "Demo"
  31. ],
  32. "summary": "Demo测试",
  33. "parameters": [
  34. {
  35. "description": "用户名密码",
  36. "name": "req",
  37. "in": "body",
  38. "required": true,
  39. "schema": {}
  40. }
  41. ],
  42. "responses": {
  43. "200": {
  44. "description": "token",
  45. "schema": {
  46. "type": "object",
  47. "additionalProperties": true
  48. }
  49. },
  50. "400": {
  51. "description": "具体错误",
  52. "schema": {
  53. "$ref": "#/definitions/md.Response"
  54. }
  55. }
  56. }
  57. }
  58. },
  59. "/api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinFlowList": {
  60. "post": {
  61. "description": "活跃积分持有流水(查询)",
  62. "consumes": [
  63. "application/json"
  64. ],
  65. "produces": [
  66. "application/json"
  67. ],
  68. "tags": [
  69. "公排管理"
  70. ],
  71. "summary": "制度中心-活跃积分持有者明细-活跃积分持有流水(查询)",
  72. "parameters": [
  73. {
  74. "type": "string",
  75. "description": "验证参数Bearer和token空格拼接",
  76. "name": "Authorization",
  77. "in": "header",
  78. "required": true
  79. },
  80. {
  81. "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小",
  82. "name": "req",
  83. "in": "body",
  84. "required": true,
  85. "schema": {
  86. "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListReq"
  87. }
  88. }
  89. ],
  90. "responses": {
  91. "200": {
  92. "description": "成功返回",
  93. "schema": {
  94. "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListResp"
  95. }
  96. },
  97. "400": {
  98. "description": "具体错误",
  99. "schema": {
  100. "$ref": "#/definitions/md.Response"
  101. }
  102. }
  103. }
  104. }
  105. },
  106. "/api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinList": {
  107. "post": {
  108. "description": "活跃积分持有(获取)",
  109. "consumes": [
  110. "application/json"
  111. ],
  112. "produces": [
  113. "application/json"
  114. ],
  115. "tags": [
  116. "公排管理"
  117. ],
  118. "summary": "制度中心-活跃积分持有者明细-活跃积分持有(获取)",
  119. "parameters": [
  120. {
  121. "type": "string",
  122. "description": "验证参数Bearer和token空格拼接",
  123. "name": "Authorization",
  124. "in": "header",
  125. "required": true
  126. },
  127. {
  128. "description": "落地页不填页大小默认20条数据",
  129. "name": "req",
  130. "in": "body",
  131. "schema": {
  132. "$ref": "#/definitions/md.GetActivePointsUserCoinListReq"
  133. }
  134. }
  135. ],
  136. "responses": {
  137. "200": {
  138. "description": "成功返回",
  139. "schema": {
  140. "$ref": "#/definitions/md.GetActivePointsUserCoinListResp"
  141. }
  142. },
  143. "400": {
  144. "description": "具体错误",
  145. "schema": {
  146. "$ref": "#/definitions/md.Response"
  147. }
  148. }
  149. }
  150. }
  151. },
  152. "/api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinFlowList": {
  153. "post": {
  154. "description": "绿色能量持有流水(查询)",
  155. "consumes": [
  156. "application/json"
  157. ],
  158. "produces": [
  159. "application/json"
  160. ],
  161. "tags": [
  162. "公排管理"
  163. ],
  164. "summary": "制度中心-绿色能量持有者明细-绿色能量持有流水(查询)",
  165. "parameters": [
  166. {
  167. "type": "string",
  168. "description": "验证参数Bearer和token空格拼接",
  169. "name": "Authorization",
  170. "in": "header",
  171. "required": true
  172. },
  173. {
  174. "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小",
  175. "name": "req",
  176. "in": "body",
  177. "required": true,
  178. "schema": {
  179. "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListReq"
  180. }
  181. }
  182. ],
  183. "responses": {
  184. "200": {
  185. "description": "成功返回",
  186. "schema": {
  187. "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListResp"
  188. }
  189. },
  190. "400": {
  191. "description": "具体错误",
  192. "schema": {
  193. "$ref": "#/definitions/md.Response"
  194. }
  195. }
  196. }
  197. }
  198. },
  199. "/api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinList": {
  200. "post": {
  201. "description": "绿色能量(获取)",
  202. "consumes": [
  203. "application/json"
  204. ],
  205. "produces": [
  206. "application/json"
  207. ],
  208. "tags": [
  209. "公排管理"
  210. ],
  211. "summary": "制度中心-绿色能量持有者明细-绿色能量(获取)",
  212. "parameters": [
  213. {
  214. "type": "string",
  215. "description": "验证参数Bearer和token空格拼接",
  216. "name": "Authorization",
  217. "in": "header",
  218. "required": true
  219. },
  220. {
  221. "description": "落地页不填页大小默认20条数据",
  222. "name": "req",
  223. "in": "body",
  224. "schema": {
  225. "$ref": "#/definitions/md.GetGreenEnergyUserCoinListReq"
  226. }
  227. }
  228. ],
  229. "responses": {
  230. "200": {
  231. "description": "成功返回",
  232. "schema": {
  233. "$ref": "#/definitions/md.GetGreenEnergyUserCoinListResp"
  234. }
  235. },
  236. "400": {
  237. "description": "具体错误",
  238. "schema": {
  239. "$ref": "#/definitions/md.Response"
  240. }
  241. }
  242. }
  243. }
  244. },
  245. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd": {
  246. "post": {
  247. "description": "社区分红(新增)",
  248. "consumes": [
  249. "application/json"
  250. ],
  251. "produces": [
  252. "application/json"
  253. ],
  254. "tags": [
  255. "公排管理"
  256. ],
  257. "summary": "制度中心-公排管理-社区分红(新增)",
  258. "parameters": [
  259. {
  260. "type": "string",
  261. "description": "验证参数Bearer和token空格拼接",
  262. "name": "Authorization",
  263. "in": "header",
  264. "required": true
  265. },
  266. {
  267. "description": "分红名称、分红总量",
  268. "name": "req",
  269. "in": "body",
  270. "required": true,
  271. "schema": {
  272. "$ref": "#/definitions/md.AddCommunityDividendsReq"
  273. }
  274. }
  275. ],
  276. "responses": {
  277. "200": {
  278. "description": "插入数据 ID",
  279. "schema": {
  280. "type": "int"
  281. }
  282. },
  283. "400": {
  284. "description": "具体错误",
  285. "schema": {
  286. "$ref": "#/definitions/md.Response"
  287. }
  288. }
  289. }
  290. }
  291. },
  292. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsList": {
  293. "post": {
  294. "description": "社区分红(查询)",
  295. "consumes": [
  296. "application/json"
  297. ],
  298. "produces": [
  299. "application/json"
  300. ],
  301. "tags": [
  302. "公排管理"
  303. ],
  304. "summary": "制度中心-公排管理-社区分红(查询)",
  305. "parameters": [
  306. {
  307. "type": "string",
  308. "description": "验证参数Bearer和token空格拼接",
  309. "name": "Authorization",
  310. "in": "header",
  311. "required": true
  312. },
  313. {
  314. "description": "页数、每页大小必填 起止时间、起止数量选填",
  315. "name": "req",
  316. "in": "body",
  317. "required": true,
  318. "schema": {
  319. "$ref": "#/definitions/md.ListCommunityDividendsReq"
  320. }
  321. }
  322. ],
  323. "responses": {
  324. "200": {
  325. "description": "具体数据",
  326. "schema": {
  327. "$ref": "#/definitions/md.ListCommunityDividendsResp"
  328. }
  329. },
  330. "400": {
  331. "description": "具体错误",
  332. "schema": {
  333. "$ref": "#/definitions/md.Response"
  334. }
  335. }
  336. }
  337. }
  338. },
  339. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserAdd": {
  340. "post": {
  341. "description": "社区长列表(新增)",
  342. "consumes": [
  343. "application/json"
  344. ],
  345. "produces": [
  346. "application/json"
  347. ],
  348. "tags": [
  349. "公排管理"
  350. ],
  351. "summary": "制度中心-公排管理-社区长列表(新增)",
  352. "parameters": [
  353. {
  354. "type": "string",
  355. "description": "验证参数Bearer和token空格拼接",
  356. "name": "Authorization",
  357. "in": "header",
  358. "required": true
  359. },
  360. {
  361. "description": "新增社区长 ID、备注",
  362. "name": "req",
  363. "in": "body",
  364. "required": true,
  365. "schema": {
  366. "$ref": "#/definitions/md.AddCommunityDividendsWithUserReq"
  367. }
  368. }
  369. ],
  370. "responses": {
  371. "200": {
  372. "description": "插入数据 ID",
  373. "schema": {
  374. "type": "int"
  375. }
  376. },
  377. "400": {
  378. "description": "具体错误",
  379. "schema": {
  380. "$ref": "#/definitions/md.Response"
  381. }
  382. }
  383. }
  384. }
  385. },
  386. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserList": {
  387. "post": {
  388. "description": "社区长列表(查询)",
  389. "consumes": [
  390. "application/json"
  391. ],
  392. "produces": [
  393. "application/json"
  394. ],
  395. "tags": [
  396. "公排管理"
  397. ],
  398. "summary": "制度中心-公排管理-社区长列表(查询)",
  399. "parameters": [
  400. {
  401. "type": "string",
  402. "description": "验证参数Bearer和token空格拼接",
  403. "name": "Authorization",
  404. "in": "header",
  405. "required": true
  406. },
  407. {
  408. "description": "页数、每页大小必填 手机号、用户ID选填",
  409. "name": "req",
  410. "in": "body",
  411. "required": true,
  412. "schema": {
  413. "$ref": "#/definitions/md.ListCommunityDividendsWithUserReq"
  414. }
  415. }
  416. ],
  417. "responses": {
  418. "200": {
  419. "description": "社区长列表",
  420. "schema": {
  421. "$ref": "#/definitions/md.ListCommunityDividendsWithUserResp"
  422. }
  423. },
  424. "400": {
  425. "description": "具体错误",
  426. "schema": {
  427. "$ref": "#/definitions/md.Response"
  428. }
  429. }
  430. }
  431. }
  432. },
  433. "/api/institutionalManagement/publicPlatoon/exchangeUserPosition": {
  434. "post": {
  435. "description": "关系分布图(位置转换)",
  436. "consumes": [
  437. "application/json"
  438. ],
  439. "produces": [
  440. "application/json"
  441. ],
  442. "tags": [
  443. "公排管理"
  444. ],
  445. "summary": "制度中心-公排管理-关系分布图(位置转换)",
  446. "parameters": [
  447. {
  448. "type": "string",
  449. "description": "验证参数Bearer和token空格拼接",
  450. "name": "Authorization",
  451. "in": "header",
  452. "required": true
  453. },
  454. {
  455. "description": "需要交换的两个位置",
  456. "name": "req",
  457. "in": "body",
  458. "required": true,
  459. "schema": {
  460. "$ref": "#/definitions/md.ExchangeUserPositionReq"
  461. }
  462. }
  463. ],
  464. "responses": {
  465. "200": {
  466. "description": "成功返回",
  467. "schema": {
  468. "type": ""
  469. }
  470. },
  471. "400": {
  472. "description": "具体错误",
  473. "schema": {
  474. "$ref": "#/definitions/md.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap": {
  481. "get": {
  482. "description": "关系分布图(获取指定用户上级)",
  483. "consumes": [
  484. "application/json"
  485. ],
  486. "produces": [
  487. "application/json"
  488. ],
  489. "tags": [
  490. "公排管理"
  491. ],
  492. "summary": "制度中心-公排管理-关系分布图(获取指定用户上级)",
  493. "parameters": [
  494. {
  495. "type": "string",
  496. "description": "验证参数Bearer和token空格拼接",
  497. "name": "Authorization",
  498. "in": "header",
  499. "required": true
  500. },
  501. {
  502. "type": "string",
  503. "description": "用户ID",
  504. "name": "uid",
  505. "in": "query",
  506. "required": true
  507. }
  508. ],
  509. "responses": {
  510. "200": {
  511. "description": "具体数据",
  512. "schema": {
  513. "$ref": "#/definitions/md.FindSubUserRelationshipMapResp"
  514. }
  515. },
  516. "400": {
  517. "description": "具体错误",
  518. "schema": {
  519. "$ref": "#/definitions/md.Response"
  520. }
  521. }
  522. }
  523. }
  524. },
  525. "/api/institutionalManagement/publicPlatoon/findUserRelationshipMap": {
  526. "get": {
  527. "description": "关系分布图(获取指定用户下级)",
  528. "consumes": [
  529. "application/json"
  530. ],
  531. "produces": [
  532. "application/json"
  533. ],
  534. "tags": [
  535. "公排管理"
  536. ],
  537. "summary": "制度中心-公排管理-关系分布图(获取指定用户下级)",
  538. "parameters": [
  539. {
  540. "type": "string",
  541. "description": "验证参数Bearer和token空格拼接",
  542. "name": "Authorization",
  543. "in": "header",
  544. "required": true
  545. },
  546. {
  547. "type": "string",
  548. "description": "用户ID",
  549. "name": "uid",
  550. "in": "query",
  551. "required": true
  552. }
  553. ],
  554. "responses": {
  555. "200": {
  556. "description": "具体数据",
  557. "schema": {
  558. "$ref": "#/definitions/md.TreeNode"
  559. }
  560. },
  561. "400": {
  562. "description": "具体错误",
  563. "schema": {
  564. "$ref": "#/definitions/md.Response"
  565. }
  566. }
  567. }
  568. }
  569. },
  570. "/api/institutionalManagement/publicPlatoon/getBasic": {
  571. "get": {
  572. "description": "公排基础设置(获取)",
  573. "consumes": [
  574. "application/json"
  575. ],
  576. "produces": [
  577. "application/json"
  578. ],
  579. "tags": [
  580. "公排管理"
  581. ],
  582. "summary": "制度中心-公排管理-公排基础设置(获取)",
  583. "parameters": [
  584. {
  585. "type": "string",
  586. "description": "验证参数Bearer和token空格拼接",
  587. "name": "Authorization",
  588. "in": "header",
  589. "required": true
  590. }
  591. ],
  592. "responses": {
  593. "200": {
  594. "description": "具体数据",
  595. "schema": {
  596. "$ref": "#/definitions/md.GetPublicPlatoonBasicResp"
  597. }
  598. },
  599. "400": {
  600. "description": "具体错误",
  601. "schema": {
  602. "$ref": "#/definitions/md.Response"
  603. }
  604. }
  605. }
  606. }
  607. },
  608. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index": {
  609. "post": {
  610. "description": "免罚用户(查询)",
  611. "consumes": [
  612. "application/json"
  613. ],
  614. "produces": [
  615. "application/json"
  616. ],
  617. "tags": [
  618. "公排管理"
  619. ],
  620. "summary": "制度中心-公排管理-免罚用户(查询)",
  621. "parameters": [
  622. {
  623. "type": "string",
  624. "description": "验证参数Bearer和token空格拼接",
  625. "name": "Authorization",
  626. "in": "header",
  627. "required": true
  628. },
  629. {
  630. "description": "页数和行数必填,uid选填",
  631. "name": "req",
  632. "in": "body",
  633. "required": true,
  634. "schema": {
  635. "$ref": "#/definitions/md.GetFreePublishUserReq"
  636. }
  637. }
  638. ],
  639. "responses": {
  640. "200": {
  641. "description": "成功返回",
  642. "schema": {
  643. "$ref": "#/definitions/md.GetFreePublishUserResp"
  644. }
  645. },
  646. "400": {
  647. "description": "具体错误",
  648. "schema": {
  649. "$ref": "#/definitions/md.Response"
  650. }
  651. }
  652. }
  653. }
  654. },
  655. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save": {
  656. "post": {
  657. "description": "免罚用户(新增)",
  658. "consumes": [
  659. "application/json"
  660. ],
  661. "produces": [
  662. "application/json"
  663. ],
  664. "tags": [
  665. "公排管理"
  666. ],
  667. "summary": "制度中心-公排管理-免罚用户(新增)",
  668. "parameters": [
  669. {
  670. "type": "string",
  671. "description": "验证参数Bearer和token空格拼接",
  672. "name": "Authorization",
  673. "in": "header",
  674. "required": true
  675. },
  676. {
  677. "description": "页数和行数必填,uid选填",
  678. "name": "req",
  679. "in": "body",
  680. "required": true,
  681. "schema": {
  682. "$ref": "#/definitions/md.AddFreePublishUserReq"
  683. }
  684. }
  685. ],
  686. "responses": {
  687. "200": {
  688. "description": "插入数据 ID",
  689. "schema": {
  690. "type": "int"
  691. }
  692. },
  693. "400": {
  694. "description": "具体错误",
  695. "schema": {
  696. "$ref": "#/definitions/md.Response"
  697. }
  698. }
  699. }
  700. }
  701. },
  702. "/api/institutionalManagement/publicPlatoon/relationshipMap": {
  703. "get": {
  704. "description": "关系分布图(获取)",
  705. "consumes": [
  706. "application/json"
  707. ],
  708. "produces": [
  709. "application/json"
  710. ],
  711. "tags": [
  712. "公排管理"
  713. ],
  714. "summary": "制度中心-公排管理-关系分布图(获取)",
  715. "parameters": [
  716. {
  717. "type": "string",
  718. "description": "验证参数Bearer和token空格拼接",
  719. "name": "Authorization",
  720. "in": "header",
  721. "required": true
  722. },
  723. {
  724. "type": "string",
  725. "description": "phone",
  726. "name": "phone",
  727. "in": "query",
  728. "required": true
  729. },
  730. {
  731. "type": "string",
  732. "description": "uid",
  733. "name": "uid",
  734. "in": "query",
  735. "required": true
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "具体数据",
  741. "schema": {
  742. "$ref": "#/definitions/md.TreeNode"
  743. }
  744. },
  745. "400": {
  746. "description": "具体错误",
  747. "schema": {
  748. "$ref": "#/definitions/md.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/api/institutionalManagement/publicPlatoon/updateBasic": {
  755. "put": {
  756. "description": "公排基础设置(修改)",
  757. "consumes": [
  758. "application/json"
  759. ],
  760. "produces": [
  761. "application/json"
  762. ],
  763. "tags": [
  764. "公排管理"
  765. ],
  766. "summary": "制度中心-公排管理-公排基础设置(修改)",
  767. "parameters": [
  768. {
  769. "type": "string",
  770. "description": "验证参数Bearer和token空格拼接",
  771. "name": "Authorization",
  772. "in": "header",
  773. "required": true
  774. },
  775. {
  776. "description": "公排设置表单内容",
  777. "name": "req",
  778. "in": "body",
  779. "required": true,
  780. "schema": {
  781. "$ref": "#/definitions/md.UpdatePublicPlatoonBasicReq"
  782. }
  783. }
  784. ],
  785. "responses": {
  786. "200": {
  787. "description": "success",
  788. "schema": {
  789. "type": "string"
  790. }
  791. },
  792. "400": {
  793. "description": "具体错误",
  794. "schema": {
  795. "$ref": "#/definitions/md.Response"
  796. }
  797. }
  798. }
  799. }
  800. },
  801. "/api/institutionalManagement/publicPlatoon/userDailyActivityAnalysis/index": {
  802. "post": {
  803. "description": "日活分析",
  804. "consumes": [
  805. "application/json"
  806. ],
  807. "produces": [
  808. "application/json"
  809. ],
  810. "tags": [
  811. "公排管理"
  812. ],
  813. "summary": "制度中心-公排管理-日活分析",
  814. "parameters": [
  815. {
  816. "type": "string",
  817. "description": "验证参数Bearer和token空格拼接",
  818. "name": "Authorization",
  819. "in": "header",
  820. "required": true
  821. },
  822. {
  823. "description": "用户 ID、查询开始时间、结束时间(查询时间不超过30天)、页数、每页大小",
  824. "name": "req",
  825. "in": "body",
  826. "required": true,
  827. "schema": {
  828. "$ref": "#/definitions/md.UserDailyActivityAnalysisReq"
  829. }
  830. }
  831. ],
  832. "responses": {
  833. "200": {
  834. "description": "具体数据",
  835. "schema": {
  836. "$ref": "#/definitions/md.UserDailyActivityAnalysisResp"
  837. }
  838. },
  839. "400": {
  840. "description": "具体错误",
  841. "schema": {
  842. "$ref": "#/definitions/md.Response"
  843. }
  844. }
  845. }
  846. }
  847. },
  848. "/api/login": {
  849. "post": {
  850. "description": "登入",
  851. "consumes": [
  852. "application/json"
  853. ],
  854. "produces": [
  855. "application/json"
  856. ],
  857. "tags": [
  858. "登录"
  859. ],
  860. "summary": "登陆",
  861. "parameters": [
  862. {
  863. "description": "用户名密码",
  864. "name": "req",
  865. "in": "body",
  866. "required": true,
  867. "schema": {
  868. "$ref": "#/definitions/md.LoginReq"
  869. }
  870. }
  871. ],
  872. "responses": {
  873. "200": {
  874. "description": "token",
  875. "schema": {
  876. "$ref": "#/definitions/md.LoginResponse"
  877. }
  878. },
  879. "400": {
  880. "description": "具体错误",
  881. "schema": {
  882. "$ref": "#/definitions/md.Response"
  883. }
  884. }
  885. }
  886. }
  887. }
  888. },
  889. "definitions": {
  890. "applet_app_md_institutional_management_egg_energy.Paginate": {
  891. "type": "object",
  892. "properties": {
  893. "limit": {
  894. "description": "每页大小",
  895. "type": "integer"
  896. },
  897. "page": {
  898. "description": "页数",
  899. "type": "integer"
  900. },
  901. "total": {
  902. "description": "总数据量",
  903. "type": "integer"
  904. }
  905. }
  906. },
  907. "applet_app_md_institutional_management_public_platoon.Paginate": {
  908. "type": "object",
  909. "properties": {
  910. "limit": {
  911. "description": "每页大小",
  912. "type": "integer"
  913. },
  914. "page": {
  915. "description": "页数",
  916. "type": "integer"
  917. },
  918. "total": {
  919. "description": "总数据量",
  920. "type": "integer"
  921. }
  922. }
  923. },
  924. "md.ActivePointsWalletNode": {
  925. "type": "object",
  926. "properties": {
  927. "amount": {
  928. "type": "string",
  929. "example": "账户余额"
  930. },
  931. "uid": {
  932. "description": "用户 ID",
  933. "type": "integer"
  934. },
  935. "user_name": {
  936. "type": "string",
  937. "example": "用户名"
  938. },
  939. "user_phone": {
  940. "type": "string",
  941. "example": "手机号"
  942. }
  943. }
  944. },
  945. "md.AddCommunityDividendsReq": {
  946. "type": "object",
  947. "properties": {
  948. "name": {
  949. "type": "string",
  950. "example": "社区分红名称"
  951. },
  952. "nums": {
  953. "description": "社区分红数量",
  954. "type": "integer"
  955. }
  956. }
  957. },
  958. "md.AddCommunityDividendsWithUserReq": {
  959. "type": "object",
  960. "properties": {
  961. "memo": {
  962. "type": "string",
  963. "example": "备注"
  964. },
  965. "uid": {
  966. "description": "新增社区长用户 ID",
  967. "type": "integer"
  968. }
  969. }
  970. },
  971. "md.AddFreePublishUserReq": {
  972. "type": "object",
  973. "properties": {
  974. "uid": {
  975. "type": "integer"
  976. }
  977. }
  978. },
  979. "md.BasicSetting": {
  980. "type": "object",
  981. "properties": {
  982. "id": {
  983. "type": "integer"
  984. },
  985. "is_open": {
  986. "description": "是否开启(1:开启 0:关闭)",
  987. "type": "integer"
  988. },
  989. "is_self_active_get_team_revenue": {
  990. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  991. "type": "integer"
  992. },
  993. "originator_uid": {
  994. "description": "创始人uid",
  995. "type": "integer"
  996. },
  997. "several_rows": {
  998. "description": "几排",
  999. "type": "integer"
  1000. },
  1001. "several_times": {
  1002. "description": "几乘",
  1003. "type": "integer"
  1004. },
  1005. "system_punish_replace": {
  1006. "description": "是否位置滑落 被新用户替换 0否 1是",
  1007. "type": "integer"
  1008. },
  1009. "system_punish_replace_value": {
  1010. "description": "xx天未活跃,处罚滑落",
  1011. "type": "integer"
  1012. }
  1013. }
  1014. },
  1015. "md.DailyActivityAnalysisTopData": {
  1016. "type": "object",
  1017. "properties": {
  1018. "activity_count": {
  1019. "description": "子节点活跃天数",
  1020. "type": "integer"
  1021. },
  1022. "team_activity_user_count": {
  1023. "description": "子节点活跃人数",
  1024. "type": "integer"
  1025. },
  1026. "team_user_count": {
  1027. "description": "团队人数",
  1028. "type": "integer"
  1029. }
  1030. }
  1031. },
  1032. "md.EggEnergyCommunityDividends": {
  1033. "type": "object",
  1034. "properties": {
  1035. "coin_id": {
  1036. "description": "虚拟币 id",
  1037. "type": "integer"
  1038. },
  1039. "create_at": {
  1040. "description": "分红时间",
  1041. "type": "string"
  1042. },
  1043. "id": {
  1044. "type": "integer"
  1045. },
  1046. "is_over": {
  1047. "description": "是否分红完毕",
  1048. "type": "integer"
  1049. },
  1050. "name": {
  1051. "type": "string",
  1052. "example": "名称"
  1053. },
  1054. "nums": {
  1055. "description": "分红数量",
  1056. "type": "integer"
  1057. },
  1058. "persons_num": {
  1059. "description": "分红人数",
  1060. "type": "integer"
  1061. },
  1062. "update_at": {
  1063. "type": "string"
  1064. }
  1065. }
  1066. },
  1067. "md.EggEnergyCommunityDividendsWithUser": {
  1068. "type": "object",
  1069. "properties": {
  1070. "id": {
  1071. "type": "integer"
  1072. },
  1073. "memo": {
  1074. "type": "string",
  1075. "example": "备注"
  1076. },
  1077. "nickname": {
  1078. "type": "string"
  1079. },
  1080. "phone": {
  1081. "type": "string"
  1082. },
  1083. "uid": {
  1084. "type": "integer"
  1085. }
  1086. }
  1087. },
  1088. "md.ExchangeUserPositionReq": {
  1089. "type": "object",
  1090. "properties": {
  1091. "position_1": {
  1092. "description": "位置1,具体值取返回数据中的 system_id",
  1093. "type": "integer"
  1094. },
  1095. "position_2": {
  1096. "description": "位置2,具体值取返回数据中的 system_id",
  1097. "type": "integer"
  1098. }
  1099. }
  1100. },
  1101. "md.FindSubUserRelationshipMapResp": {
  1102. "type": "object",
  1103. "properties": {
  1104. "basic_setting": {
  1105. "description": "公排设置",
  1106. "allOf": [
  1107. {
  1108. "$ref": "#/definitions/md.BasicSetting"
  1109. }
  1110. ]
  1111. },
  1112. "search_uid": {
  1113. "description": "查找的用户 ID",
  1114. "type": "string"
  1115. },
  1116. "sub_user": {
  1117. "description": "上级用户信息",
  1118. "allOf": [
  1119. {
  1120. "$ref": "#/definitions/md.SubUser"
  1121. }
  1122. ]
  1123. }
  1124. }
  1125. },
  1126. "md.FreePublishUserNode": {
  1127. "type": "object",
  1128. "properties": {
  1129. "nickname": {
  1130. "type": "string",
  1131. "example": "昵称"
  1132. },
  1133. "phone": {
  1134. "type": "string",
  1135. "example": "手机号"
  1136. },
  1137. "uid": {
  1138. "type": "integer"
  1139. }
  1140. }
  1141. },
  1142. "md.GetActivePointsUserCoinFlowListReq": {
  1143. "type": "object",
  1144. "properties": {
  1145. "coin_id": {
  1146. "description": "货币类型 ID",
  1147. "type": "integer"
  1148. },
  1149. "direction": {
  1150. "description": "流水方向:1收入 2支出",
  1151. "type": "integer"
  1152. },
  1153. "end_at": {
  1154. "description": "结束时间",
  1155. "type": "string"
  1156. },
  1157. "page": {
  1158. "description": "页数",
  1159. "type": "integer"
  1160. },
  1161. "page_size": {
  1162. "description": "每页大小",
  1163. "type": "integer"
  1164. },
  1165. "start_at": {
  1166. "description": "开始时间",
  1167. "type": "string"
  1168. },
  1169. "uid": {
  1170. "description": "用户 ID",
  1171. "type": "integer"
  1172. }
  1173. }
  1174. },
  1175. "md.GetActivePointsUserCoinFlowListResp": {
  1176. "type": "object",
  1177. "properties": {
  1178. "list": {
  1179. "description": "流水信息",
  1180. "type": "array",
  1181. "items": {
  1182. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1183. }
  1184. },
  1185. "paginate": {
  1186. "description": "分页信息",
  1187. "allOf": [
  1188. {
  1189. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1190. }
  1191. ]
  1192. },
  1193. "select_data": {
  1194. "description": "流水类型",
  1195. "allOf": [
  1196. {
  1197. "$ref": "#/definitions/md.SelectData"
  1198. }
  1199. ]
  1200. }
  1201. }
  1202. },
  1203. "md.GetActivePointsUserCoinListReq": {
  1204. "type": "object",
  1205. "properties": {
  1206. "end_coin": {
  1207. "type": "string",
  1208. "example": "最大金额"
  1209. },
  1210. "kind": {
  1211. "description": "虚拟币种类编号",
  1212. "type": "integer"
  1213. },
  1214. "page": {
  1215. "description": "页数",
  1216. "type": "integer"
  1217. },
  1218. "page_size": {
  1219. "description": "单页大小",
  1220. "type": "integer"
  1221. },
  1222. "start_coin": {
  1223. "type": "string",
  1224. "example": "最小金额"
  1225. },
  1226. "uid": {
  1227. "description": "指定查询用户 ID",
  1228. "type": "integer"
  1229. },
  1230. "user_name": {
  1231. "type": "string",
  1232. "example": "用户名称"
  1233. },
  1234. "user_phone": {
  1235. "type": "string",
  1236. "example": "手机号"
  1237. }
  1238. }
  1239. },
  1240. "md.GetActivePointsUserCoinListResp": {
  1241. "type": "object",
  1242. "properties": {
  1243. "kind_list": {
  1244. "description": "货币类型集合",
  1245. "type": "array",
  1246. "items": {
  1247. "$ref": "#/definitions/md.VirtualCoinListNode"
  1248. }
  1249. },
  1250. "list": {
  1251. "description": "余额集合",
  1252. "type": "array",
  1253. "items": {
  1254. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1255. }
  1256. },
  1257. "sum_user_amount": {
  1258. "description": "用户持有总数",
  1259. "type": "number"
  1260. },
  1261. "total": {
  1262. "description": "持有该类型用户数",
  1263. "type": "integer"
  1264. }
  1265. }
  1266. },
  1267. "md.GetFreePublishUserReq": {
  1268. "type": "object",
  1269. "properties": {
  1270. "limit": {
  1271. "description": "每页大小",
  1272. "type": "integer"
  1273. },
  1274. "page": {
  1275. "description": "当前页数",
  1276. "type": "integer"
  1277. },
  1278. "uid": {
  1279. "description": "筛选的用户 ID",
  1280. "type": "integer"
  1281. }
  1282. }
  1283. },
  1284. "md.GetFreePublishUserResp": {
  1285. "type": "object",
  1286. "properties": {
  1287. "list": {
  1288. "description": "免罚用户列表",
  1289. "type": "array",
  1290. "items": {
  1291. "$ref": "#/definitions/md.FreePublishUserNode"
  1292. }
  1293. },
  1294. "paginate": {
  1295. "description": "分页信息",
  1296. "allOf": [
  1297. {
  1298. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1299. }
  1300. ]
  1301. }
  1302. }
  1303. },
  1304. "md.GetGreenEnergyUserCoinFlowListReq": {
  1305. "type": "object",
  1306. "properties": {
  1307. "coin_id": {
  1308. "description": "货币类型 ID",
  1309. "type": "integer"
  1310. },
  1311. "direction": {
  1312. "description": "流水方向:1收入 2支出",
  1313. "type": "integer"
  1314. },
  1315. "end_at": {
  1316. "description": "结束时间",
  1317. "type": "string"
  1318. },
  1319. "page": {
  1320. "description": "页数",
  1321. "type": "integer"
  1322. },
  1323. "page_size": {
  1324. "description": "每页大小",
  1325. "type": "integer"
  1326. },
  1327. "start_at": {
  1328. "description": "开始时间",
  1329. "type": "string"
  1330. },
  1331. "uid": {
  1332. "description": "用户 ID",
  1333. "type": "integer"
  1334. }
  1335. }
  1336. },
  1337. "md.GetGreenEnergyUserCoinFlowListResp": {
  1338. "type": "object",
  1339. "properties": {
  1340. "list": {
  1341. "description": "流水信息",
  1342. "type": "array",
  1343. "items": {
  1344. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1345. }
  1346. },
  1347. "paginate": {
  1348. "description": "分页信息",
  1349. "allOf": [
  1350. {
  1351. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1352. }
  1353. ]
  1354. },
  1355. "select_data": {
  1356. "description": "流水类型",
  1357. "allOf": [
  1358. {
  1359. "$ref": "#/definitions/md.SelectData"
  1360. }
  1361. ]
  1362. }
  1363. }
  1364. },
  1365. "md.GetGreenEnergyUserCoinListReq": {
  1366. "type": "object",
  1367. "properties": {
  1368. "end_coin": {
  1369. "type": "string",
  1370. "example": "最大金额"
  1371. },
  1372. "kind": {
  1373. "description": "虚拟币种类编号",
  1374. "type": "integer"
  1375. },
  1376. "page": {
  1377. "description": "页数",
  1378. "type": "integer"
  1379. },
  1380. "page_size": {
  1381. "description": "单页大小",
  1382. "type": "integer"
  1383. },
  1384. "start_coin": {
  1385. "type": "string",
  1386. "example": "最小金额"
  1387. },
  1388. "uid": {
  1389. "description": "指定查询用户 ID",
  1390. "type": "integer"
  1391. },
  1392. "user_name": {
  1393. "type": "string",
  1394. "example": "用户名称"
  1395. },
  1396. "user_phone": {
  1397. "type": "string",
  1398. "example": "手机号"
  1399. }
  1400. }
  1401. },
  1402. "md.GetGreenEnergyUserCoinListResp": {
  1403. "type": "object",
  1404. "properties": {
  1405. "kind_list": {
  1406. "description": "货币类型集合",
  1407. "type": "array",
  1408. "items": {
  1409. "$ref": "#/definitions/md.VirtualCoinListNode"
  1410. }
  1411. },
  1412. "list": {
  1413. "description": "余额集合",
  1414. "type": "array",
  1415. "items": {
  1416. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1417. }
  1418. },
  1419. "sum_user_amount": {
  1420. "description": "用户持有总数",
  1421. "type": "number"
  1422. },
  1423. "total": {
  1424. "description": "持有该类型用户数",
  1425. "type": "integer"
  1426. }
  1427. }
  1428. },
  1429. "md.GetPublicPlatoonBasicResp": {
  1430. "type": "object",
  1431. "properties": {
  1432. "is_open": {
  1433. "description": "是否开启(1:开启 0:关闭)",
  1434. "type": "integer"
  1435. },
  1436. "is_self_active_get_team_revenue": {
  1437. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1438. "type": "integer"
  1439. },
  1440. "originator_uid": {
  1441. "description": "创始人uid",
  1442. "type": "integer"
  1443. },
  1444. "several_rows": {
  1445. "description": "几排",
  1446. "type": "integer"
  1447. },
  1448. "several_times": {
  1449. "description": "几乘",
  1450. "type": "integer"
  1451. },
  1452. "system_punish_replace": {
  1453. "description": "是否位置滑落 被新用户替换 0否 1是",
  1454. "type": "integer"
  1455. },
  1456. "system_punish_replace_value": {
  1457. "description": "xx天未活跃,处罚滑落",
  1458. "type": "integer"
  1459. }
  1460. }
  1461. },
  1462. "md.ListCommunityDividendsReq": {
  1463. "type": "object",
  1464. "properties": {
  1465. "end_at": {
  1466. "description": "结束时间",
  1467. "type": "string"
  1468. },
  1469. "end_nums": {
  1470. "description": "分红总量上限",
  1471. "type": "integer"
  1472. },
  1473. "limit": {
  1474. "description": "每页大小",
  1475. "type": "integer"
  1476. },
  1477. "page": {
  1478. "description": "页数",
  1479. "type": "integer"
  1480. },
  1481. "start_at": {
  1482. "description": "开始时间",
  1483. "type": "string"
  1484. },
  1485. "start_nums": {
  1486. "description": "分红总量下限",
  1487. "type": "integer"
  1488. }
  1489. }
  1490. },
  1491. "md.ListCommunityDividendsResp": {
  1492. "type": "object",
  1493. "properties": {
  1494. "list": {
  1495. "type": "array",
  1496. "items": {
  1497. "$ref": "#/definitions/md.EggEnergyCommunityDividends"
  1498. }
  1499. },
  1500. "paginate": {
  1501. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1502. }
  1503. }
  1504. },
  1505. "md.ListCommunityDividendsWithUserReq": {
  1506. "type": "object",
  1507. "properties": {
  1508. "limit": {
  1509. "type": "integer"
  1510. },
  1511. "page": {
  1512. "type": "integer"
  1513. },
  1514. "phone": {
  1515. "type": "string"
  1516. },
  1517. "uid": {
  1518. "type": "integer"
  1519. }
  1520. }
  1521. },
  1522. "md.ListCommunityDividendsWithUserResp": {
  1523. "type": "object",
  1524. "properties": {
  1525. "list": {
  1526. "type": "array",
  1527. "items": {
  1528. "$ref": "#/definitions/md.EggEnergyCommunityDividendsWithUser"
  1529. }
  1530. },
  1531. "paginate": {
  1532. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1533. }
  1534. }
  1535. },
  1536. "md.LoginReq": {
  1537. "type": "object",
  1538. "required": [
  1539. "password",
  1540. "username"
  1541. ],
  1542. "properties": {
  1543. "code": {
  1544. "type": "string",
  1545. "example": "验证码"
  1546. },
  1547. "password": {
  1548. "type": "string",
  1549. "example": "登录密码"
  1550. },
  1551. "username": {
  1552. "type": "string",
  1553. "example": "登录账号"
  1554. }
  1555. }
  1556. },
  1557. "md.LoginResponse": {
  1558. "type": "object",
  1559. "properties": {
  1560. "token": {
  1561. "type": "string"
  1562. }
  1563. }
  1564. },
  1565. "md.Response": {
  1566. "type": "object",
  1567. "properties": {
  1568. "code": {
  1569. "type": "string",
  1570. "example": "响应码"
  1571. },
  1572. "data": {
  1573. "description": "内容"
  1574. },
  1575. "msg": {
  1576. "type": "string",
  1577. "example": "具体错误原因"
  1578. }
  1579. }
  1580. },
  1581. "md.SelectData": {
  1582. "type": "object",
  1583. "properties": {
  1584. "direction": {
  1585. "type": "array",
  1586. "items": {
  1587. "type": "object",
  1588. "additionalProperties": {
  1589. "type": "string"
  1590. }
  1591. }
  1592. }
  1593. }
  1594. },
  1595. "md.SonUserDailyActivityAnalysisNode": {
  1596. "type": "object",
  1597. "properties": {
  1598. "activity_day_nums": {
  1599. "description": "活跃子节点活跃天数",
  1600. "type": "integer"
  1601. },
  1602. "nickname": {
  1603. "type": "string",
  1604. "example": "昵称"
  1605. },
  1606. "phone": {
  1607. "type": "string",
  1608. "example": "手机号"
  1609. },
  1610. "uid": {
  1611. "description": "查询用户活跃子节点 ID",
  1612. "type": "integer"
  1613. }
  1614. }
  1615. },
  1616. "md.SubUser": {
  1617. "type": "object",
  1618. "properties": {
  1619. "avatar_url": {
  1620. "type": "string",
  1621. "example": "头像"
  1622. },
  1623. "level": {
  1624. "description": "整个系统中的等级",
  1625. "type": "integer"
  1626. },
  1627. "nickname": {
  1628. "type": "string",
  1629. "example": "昵称"
  1630. },
  1631. "phone": {
  1632. "type": "string",
  1633. "example": "手机号"
  1634. },
  1635. "pid": {
  1636. "type": "integer"
  1637. },
  1638. "position": {
  1639. "description": "以pid1为创始人中网的位置",
  1640. "type": "integer"
  1641. },
  1642. "uid": {
  1643. "type": "integer"
  1644. }
  1645. }
  1646. },
  1647. "md.TreeNode": {
  1648. "type": "object",
  1649. "properties": {
  1650. "avatar_url": {
  1651. "type": "string",
  1652. "example": "头像"
  1653. },
  1654. "level": {
  1655. "type": "integer"
  1656. },
  1657. "nickname": {
  1658. "type": "string",
  1659. "example": "昵称"
  1660. },
  1661. "phone": {
  1662. "type": "string",
  1663. "example": "手机号"
  1664. },
  1665. "pid": {
  1666. "type": "integer"
  1667. },
  1668. "position": {
  1669. "type": "integer"
  1670. },
  1671. "son": {
  1672. "type": "array",
  1673. "items": {
  1674. "$ref": "#/definitions/md.TreeNode"
  1675. }
  1676. },
  1677. "system_id": {
  1678. "description": "公排网中id",
  1679. "type": "integer"
  1680. },
  1681. "uid": {
  1682. "type": "integer"
  1683. }
  1684. }
  1685. },
  1686. "md.UpdatePublicPlatoonBasicReq": {
  1687. "type": "object",
  1688. "properties": {
  1689. "is_open": {
  1690. "description": "是否开启(1:开启 0:关闭)",
  1691. "type": "integer"
  1692. },
  1693. "is_self_active_get_team_revenue": {
  1694. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1695. "type": "integer"
  1696. },
  1697. "originator_uid": {
  1698. "description": "创始人uid",
  1699. "type": "integer"
  1700. },
  1701. "several_rows": {
  1702. "description": "几排",
  1703. "type": "integer"
  1704. },
  1705. "several_times": {
  1706. "description": "几乘",
  1707. "type": "integer"
  1708. },
  1709. "system_punish_replace": {
  1710. "description": "是否位置滑落 被新用户替换 0否 1是",
  1711. "type": "integer"
  1712. },
  1713. "system_punish_replace_value": {
  1714. "description": "xx天未活跃,处罚滑落",
  1715. "type": "integer"
  1716. }
  1717. }
  1718. },
  1719. "md.UserDailyActivityAnalysisReq": {
  1720. "type": "object",
  1721. "properties": {
  1722. "end_date": {
  1723. "type": "string",
  1724. "example": "结束日期"
  1725. },
  1726. "page": {
  1727. "description": "页数",
  1728. "type": "integer"
  1729. },
  1730. "page_size": {
  1731. "description": "每页大小",
  1732. "type": "integer"
  1733. },
  1734. "start_date": {
  1735. "type": "string",
  1736. "example": "开始日期"
  1737. },
  1738. "uid": {
  1739. "description": "查询用户 ID",
  1740. "type": "integer"
  1741. }
  1742. }
  1743. },
  1744. "md.UserDailyActivityAnalysisResp": {
  1745. "type": "object",
  1746. "properties": {
  1747. "son_user_data": {
  1748. "description": "被查询用户子节点信息",
  1749. "type": "array",
  1750. "items": {
  1751. "$ref": "#/definitions/md.SonUserDailyActivityAnalysisNode"
  1752. }
  1753. },
  1754. "top_data": {
  1755. "description": "统计信息",
  1756. "allOf": [
  1757. {
  1758. "$ref": "#/definitions/md.DailyActivityAnalysisTopData"
  1759. }
  1760. ]
  1761. }
  1762. }
  1763. },
  1764. "md.UserVirtualCoinFlow": {
  1765. "type": "object",
  1766. "properties": {
  1767. "after_amount": {
  1768. "type": "string",
  1769. "example": "变更后数量"
  1770. },
  1771. "amount": {
  1772. "type": "string",
  1773. "example": "变更数量"
  1774. },
  1775. "before_amount": {
  1776. "type": "string",
  1777. "example": "变更前数量"
  1778. },
  1779. "coin_id": {
  1780. "description": "虚拟币 ID",
  1781. "type": "integer"
  1782. },
  1783. "create_at": {
  1784. "type": "string",
  1785. "example": "创建时间"
  1786. },
  1787. "direction": {
  1788. "description": "方向:1收入 2支出",
  1789. "type": "integer"
  1790. },
  1791. "id": {
  1792. "type": "integer"
  1793. },
  1794. "sys_fee": {
  1795. "type": "string",
  1796. "example": "手续费"
  1797. },
  1798. "title": {
  1799. "type": "string",
  1800. "example": "标题"
  1801. },
  1802. "transfer_type": {
  1803. "description": "转账类型",
  1804. "type": "integer"
  1805. },
  1806. "uid": {
  1807. "description": "用户 ID",
  1808. "type": "integer"
  1809. },
  1810. "update_at": {
  1811. "type": "string",
  1812. "example": "更新时间"
  1813. }
  1814. }
  1815. },
  1816. "md.VirtualCoinListNode": {
  1817. "type": "object",
  1818. "properties": {
  1819. "coin_id": {
  1820. "description": "货币类型 ID",
  1821. "type": "integer"
  1822. },
  1823. "kind": {
  1824. "description": "货币序号",
  1825. "type": "integer"
  1826. },
  1827. "name": {
  1828. "type": "string",
  1829. "example": "货币类型名称"
  1830. }
  1831. }
  1832. }
  1833. },
  1834. "securityDefinitions": {
  1835. "MasterID": {
  1836. "type": "apiKey",
  1837. "name": "MasterID",
  1838. "in": "header"
  1839. }
  1840. }
  1841. }