蛋蛋星球-客户端
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

1625 行
55 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/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/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/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/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/communityDividendsWithUserAdd": {
  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": "新增社区长 ID、备注",
  315. "name": "req",
  316. "in": "body",
  317. "required": true,
  318. "schema": {
  319. "$ref": "#/definitions/md.AddCommunityDividendsWithUserReq"
  320. }
  321. }
  322. ],
  323. "responses": {
  324. "200": {
  325. "description": "插入数据 ID",
  326. "schema": {
  327. "type": "int"
  328. }
  329. },
  330. "400": {
  331. "description": "具体错误",
  332. "schema": {
  333. "$ref": "#/definitions/md.Response"
  334. }
  335. }
  336. }
  337. }
  338. },
  339. "/api/institutionalManagement/publicPlatoon/exchangeUserPosition": {
  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": "需要交换的两个位置",
  362. "name": "req",
  363. "in": "body",
  364. "required": true,
  365. "schema": {
  366. "$ref": "#/definitions/md.ExchangeUserPositionReq"
  367. }
  368. }
  369. ],
  370. "responses": {
  371. "200": {
  372. "description": "成功返回",
  373. "schema": {
  374. "type": ""
  375. }
  376. },
  377. "400": {
  378. "description": "具体错误",
  379. "schema": {
  380. "$ref": "#/definitions/md.Response"
  381. }
  382. }
  383. }
  384. }
  385. },
  386. "/api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap": {
  387. "get": {
  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. "type": "string",
  409. "description": "用户ID",
  410. "name": "uid",
  411. "in": "query",
  412. "required": true
  413. }
  414. ],
  415. "responses": {
  416. "200": {
  417. "description": "具体数据",
  418. "schema": {
  419. "$ref": "#/definitions/md.FindSubUserRelationshipMapResp"
  420. }
  421. },
  422. "400": {
  423. "description": "具体错误",
  424. "schema": {
  425. "$ref": "#/definitions/md.Response"
  426. }
  427. }
  428. }
  429. }
  430. },
  431. "/api/institutionalManagement/publicPlatoon/findUserRelationshipMap": {
  432. "get": {
  433. "description": "关系分布图(获取指定用户下级)",
  434. "consumes": [
  435. "application/json"
  436. ],
  437. "produces": [
  438. "application/json"
  439. ],
  440. "tags": [
  441. "公排管理"
  442. ],
  443. "summary": "制度中心-公排管理-关系分布图(获取指定用户下级)",
  444. "parameters": [
  445. {
  446. "type": "string",
  447. "description": "验证参数Bearer和token空格拼接",
  448. "name": "Authorization",
  449. "in": "header",
  450. "required": true
  451. },
  452. {
  453. "type": "string",
  454. "description": "用户ID",
  455. "name": "uid",
  456. "in": "query",
  457. "required": true
  458. }
  459. ],
  460. "responses": {
  461. "200": {
  462. "description": "具体数据",
  463. "schema": {
  464. "$ref": "#/definitions/md.TreeNode"
  465. }
  466. },
  467. "400": {
  468. "description": "具体错误",
  469. "schema": {
  470. "$ref": "#/definitions/md.Response"
  471. }
  472. }
  473. }
  474. }
  475. },
  476. "/api/institutionalManagement/publicPlatoon/getBasic": {
  477. "get": {
  478. "description": "公排基础设置(获取)",
  479. "consumes": [
  480. "application/json"
  481. ],
  482. "produces": [
  483. "application/json"
  484. ],
  485. "tags": [
  486. "公排管理"
  487. ],
  488. "summary": "制度中心-公排管理-公排基础设置(获取)",
  489. "parameters": [
  490. {
  491. "type": "string",
  492. "description": "验证参数Bearer和token空格拼接",
  493. "name": "Authorization",
  494. "in": "header",
  495. "required": true
  496. }
  497. ],
  498. "responses": {
  499. "200": {
  500. "description": "具体数据",
  501. "schema": {
  502. "$ref": "#/definitions/md.GetPublicPlatoonBasicResp"
  503. }
  504. },
  505. "400": {
  506. "description": "具体错误",
  507. "schema": {
  508. "$ref": "#/definitions/md.Response"
  509. }
  510. }
  511. }
  512. }
  513. },
  514. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index": {
  515. "post": {
  516. "description": "免罚用户(查询)",
  517. "consumes": [
  518. "application/json"
  519. ],
  520. "produces": [
  521. "application/json"
  522. ],
  523. "tags": [
  524. "公排管理"
  525. ],
  526. "summary": "制度中心-公排管理-免罚用户(查询)",
  527. "parameters": [
  528. {
  529. "type": "string",
  530. "description": "验证参数Bearer和token空格拼接",
  531. "name": "Authorization",
  532. "in": "header",
  533. "required": true
  534. },
  535. {
  536. "description": "页数和行数必填,uid选填",
  537. "name": "req",
  538. "in": "body",
  539. "required": true,
  540. "schema": {
  541. "$ref": "#/definitions/md.GetFreePublishUserReq"
  542. }
  543. }
  544. ],
  545. "responses": {
  546. "200": {
  547. "description": "成功返回",
  548. "schema": {
  549. "$ref": "#/definitions/md.GetFreePublishUserResp"
  550. }
  551. },
  552. "400": {
  553. "description": "具体错误",
  554. "schema": {
  555. "$ref": "#/definitions/md.Response"
  556. }
  557. }
  558. }
  559. }
  560. },
  561. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save": {
  562. "post": {
  563. "description": "免罚用户(新增)",
  564. "consumes": [
  565. "application/json"
  566. ],
  567. "produces": [
  568. "application/json"
  569. ],
  570. "tags": [
  571. "公排管理"
  572. ],
  573. "summary": "制度中心-公排管理-免罚用户(新增)",
  574. "parameters": [
  575. {
  576. "type": "string",
  577. "description": "验证参数Bearer和token空格拼接",
  578. "name": "Authorization",
  579. "in": "header",
  580. "required": true
  581. },
  582. {
  583. "description": "页数和行数必填,uid选填",
  584. "name": "req",
  585. "in": "body",
  586. "required": true,
  587. "schema": {
  588. "$ref": "#/definitions/md.AddFreePublishUserReq"
  589. }
  590. }
  591. ],
  592. "responses": {
  593. "200": {
  594. "description": "插入数据 ID",
  595. "schema": {
  596. "type": "int"
  597. }
  598. },
  599. "400": {
  600. "description": "具体错误",
  601. "schema": {
  602. "$ref": "#/definitions/md.Response"
  603. }
  604. }
  605. }
  606. }
  607. },
  608. "/api/institutionalManagement/publicPlatoon/relationshipMap": {
  609. "get": {
  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. "type": "string",
  631. "description": "phone",
  632. "name": "phone",
  633. "in": "query",
  634. "required": true
  635. },
  636. {
  637. "type": "string",
  638. "description": "uid",
  639. "name": "uid",
  640. "in": "query",
  641. "required": true
  642. }
  643. ],
  644. "responses": {
  645. "200": {
  646. "description": "具体数据",
  647. "schema": {
  648. "$ref": "#/definitions/md.TreeNode"
  649. }
  650. },
  651. "400": {
  652. "description": "具体错误",
  653. "schema": {
  654. "$ref": "#/definitions/md.Response"
  655. }
  656. }
  657. }
  658. }
  659. },
  660. "/api/institutionalManagement/publicPlatoon/updateBasic": {
  661. "put": {
  662. "description": "公排基础设置(修改)",
  663. "consumes": [
  664. "application/json"
  665. ],
  666. "produces": [
  667. "application/json"
  668. ],
  669. "tags": [
  670. "公排管理"
  671. ],
  672. "summary": "制度中心-公排管理-公排基础设置(修改)",
  673. "parameters": [
  674. {
  675. "type": "string",
  676. "description": "验证参数Bearer和token空格拼接",
  677. "name": "Authorization",
  678. "in": "header",
  679. "required": true
  680. },
  681. {
  682. "description": "公排设置表单内容",
  683. "name": "req",
  684. "in": "body",
  685. "required": true,
  686. "schema": {
  687. "$ref": "#/definitions/md.UpdatePublicPlatoonBasicReq"
  688. }
  689. }
  690. ],
  691. "responses": {
  692. "200": {
  693. "description": "success",
  694. "schema": {
  695. "type": "string"
  696. }
  697. },
  698. "400": {
  699. "description": "具体错误",
  700. "schema": {
  701. "$ref": "#/definitions/md.Response"
  702. }
  703. }
  704. }
  705. }
  706. },
  707. "/api/institutionalManagement/publicPlatoon/userDailyActivityAnalysis/index": {
  708. "post": {
  709. "description": "日活分析",
  710. "consumes": [
  711. "application/json"
  712. ],
  713. "produces": [
  714. "application/json"
  715. ],
  716. "tags": [
  717. "公排管理"
  718. ],
  719. "summary": "制度中心-公排管理-日活分析",
  720. "parameters": [
  721. {
  722. "type": "string",
  723. "description": "验证参数Bearer和token空格拼接",
  724. "name": "Authorization",
  725. "in": "header",
  726. "required": true
  727. },
  728. {
  729. "description": "用户 ID、查询开始时间、结束时间(查询时间不超过30天)、页数、每页大小",
  730. "name": "req",
  731. "in": "body",
  732. "required": true,
  733. "schema": {
  734. "$ref": "#/definitions/md.UserDailyActivityAnalysisReq"
  735. }
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "具体数据",
  741. "schema": {
  742. "$ref": "#/definitions/md.UserDailyActivityAnalysisResp"
  743. }
  744. },
  745. "400": {
  746. "description": "具体错误",
  747. "schema": {
  748. "$ref": "#/definitions/md.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/api/login": {
  755. "post": {
  756. "description": "登入",
  757. "consumes": [
  758. "application/json"
  759. ],
  760. "produces": [
  761. "application/json"
  762. ],
  763. "tags": [
  764. "登录"
  765. ],
  766. "summary": "登陆",
  767. "parameters": [
  768. {
  769. "description": "用户名密码",
  770. "name": "req",
  771. "in": "body",
  772. "required": true,
  773. "schema": {
  774. "$ref": "#/definitions/md.LoginReq"
  775. }
  776. }
  777. ],
  778. "responses": {
  779. "200": {
  780. "description": "token",
  781. "schema": {
  782. "$ref": "#/definitions/md.LoginResponse"
  783. }
  784. },
  785. "400": {
  786. "description": "具体错误",
  787. "schema": {
  788. "$ref": "#/definitions/md.Response"
  789. }
  790. }
  791. }
  792. }
  793. }
  794. },
  795. "definitions": {
  796. "applet_app_md_institutional_management_egg_energy.Paginate": {
  797. "type": "object",
  798. "properties": {
  799. "limit": {
  800. "description": "每页大小",
  801. "type": "integer"
  802. },
  803. "page": {
  804. "description": "页数",
  805. "type": "integer"
  806. },
  807. "total": {
  808. "description": "总数据量",
  809. "type": "integer"
  810. }
  811. }
  812. },
  813. "applet_app_md_institutional_management_public_platoon.Paginate": {
  814. "type": "object",
  815. "properties": {
  816. "limit": {
  817. "description": "每页大小",
  818. "type": "integer"
  819. },
  820. "page": {
  821. "description": "页数",
  822. "type": "integer"
  823. },
  824. "total": {
  825. "description": "总数据量",
  826. "type": "integer"
  827. }
  828. }
  829. },
  830. "md.ActivePointsWalletNode": {
  831. "type": "object",
  832. "properties": {
  833. "amount": {
  834. "type": "string",
  835. "example": "账户余额"
  836. },
  837. "uid": {
  838. "description": "用户 ID",
  839. "type": "integer"
  840. },
  841. "user_name": {
  842. "type": "string",
  843. "example": "用户名"
  844. },
  845. "user_phone": {
  846. "type": "string",
  847. "example": "手机号"
  848. }
  849. }
  850. },
  851. "md.AddCommunityDividendsReq": {
  852. "type": "object",
  853. "properties": {
  854. "name": {
  855. "type": "string",
  856. "example": "社区分红名称"
  857. },
  858. "nums": {
  859. "description": "社区分红数量",
  860. "type": "integer"
  861. }
  862. }
  863. },
  864. "md.AddCommunityDividendsWithUserReq": {
  865. "type": "object",
  866. "properties": {
  867. "memo": {
  868. "type": "string",
  869. "example": "备注"
  870. },
  871. "uid": {
  872. "description": "新增社区长用户 ID",
  873. "type": "integer"
  874. }
  875. }
  876. },
  877. "md.AddFreePublishUserReq": {
  878. "type": "object",
  879. "properties": {
  880. "uid": {
  881. "type": "integer"
  882. }
  883. }
  884. },
  885. "md.BasicSetting": {
  886. "type": "object",
  887. "properties": {
  888. "id": {
  889. "type": "integer"
  890. },
  891. "is_open": {
  892. "description": "是否开启(1:开启 0:关闭)",
  893. "type": "integer"
  894. },
  895. "is_self_active_get_team_revenue": {
  896. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  897. "type": "integer"
  898. },
  899. "originator_uid": {
  900. "description": "创始人uid",
  901. "type": "integer"
  902. },
  903. "several_rows": {
  904. "description": "几排",
  905. "type": "integer"
  906. },
  907. "several_times": {
  908. "description": "几乘",
  909. "type": "integer"
  910. },
  911. "system_punish_replace": {
  912. "description": "是否位置滑落 被新用户替换 0否 1是",
  913. "type": "integer"
  914. },
  915. "system_punish_replace_value": {
  916. "description": "xx天未活跃,处罚滑落",
  917. "type": "integer"
  918. }
  919. }
  920. },
  921. "md.DailyActivityAnalysisTopData": {
  922. "type": "object",
  923. "properties": {
  924. "activity_count": {
  925. "description": "子节点活跃天数",
  926. "type": "integer"
  927. },
  928. "team_activity_user_count": {
  929. "description": "子节点活跃人数",
  930. "type": "integer"
  931. },
  932. "team_user_count": {
  933. "description": "团队人数",
  934. "type": "integer"
  935. }
  936. }
  937. },
  938. "md.DirectionMap": {
  939. "type": "object",
  940. "properties": {
  941. "key": {
  942. "type": "string"
  943. },
  944. "value": {
  945. "type": "string"
  946. }
  947. }
  948. },
  949. "md.ExchangeUserPositionReq": {
  950. "type": "object",
  951. "properties": {
  952. "position_1": {
  953. "description": "位置1,具体值取返回数据中的 system_id",
  954. "type": "integer"
  955. },
  956. "position_2": {
  957. "description": "位置2,具体值取返回数据中的 system_id",
  958. "type": "integer"
  959. }
  960. }
  961. },
  962. "md.FindSubUserRelationshipMapResp": {
  963. "type": "object",
  964. "properties": {
  965. "basic_setting": {
  966. "description": "公排设置",
  967. "allOf": [
  968. {
  969. "$ref": "#/definitions/md.BasicSetting"
  970. }
  971. ]
  972. },
  973. "search_uid": {
  974. "description": "查找的用户 ID",
  975. "type": "string"
  976. },
  977. "sub_user": {
  978. "description": "上级用户信息",
  979. "allOf": [
  980. {
  981. "$ref": "#/definitions/md.SubUser"
  982. }
  983. ]
  984. }
  985. }
  986. },
  987. "md.FreePublishUserNode": {
  988. "type": "object",
  989. "properties": {
  990. "nickname": {
  991. "type": "string",
  992. "example": "昵称"
  993. },
  994. "phone": {
  995. "type": "string",
  996. "example": "手机号"
  997. },
  998. "uid": {
  999. "type": "integer"
  1000. }
  1001. }
  1002. },
  1003. "md.GetActivePointsUserCoinFlowListReq": {
  1004. "type": "object",
  1005. "properties": {
  1006. "coin_id": {
  1007. "description": "货币类型 ID",
  1008. "type": "integer"
  1009. },
  1010. "direction": {
  1011. "description": "流水方向:1收入 2支出",
  1012. "type": "integer"
  1013. },
  1014. "end_at": {
  1015. "description": "结束时间",
  1016. "type": "string"
  1017. },
  1018. "page": {
  1019. "description": "页数",
  1020. "type": "integer"
  1021. },
  1022. "page_size": {
  1023. "description": "每页大小",
  1024. "type": "integer"
  1025. },
  1026. "start_at": {
  1027. "description": "开始时间",
  1028. "type": "string"
  1029. },
  1030. "uid": {
  1031. "description": "用户 ID",
  1032. "type": "integer"
  1033. }
  1034. }
  1035. },
  1036. "md.GetActivePointsUserCoinFlowListResp": {
  1037. "type": "object",
  1038. "properties": {
  1039. "list": {
  1040. "description": "流水信息",
  1041. "type": "array",
  1042. "items": {
  1043. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1044. }
  1045. },
  1046. "paginate": {
  1047. "description": "分页信息",
  1048. "allOf": [
  1049. {
  1050. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1051. }
  1052. ]
  1053. },
  1054. "select_data": {
  1055. "description": "流水类型",
  1056. "allOf": [
  1057. {
  1058. "$ref": "#/definitions/md.SelectData"
  1059. }
  1060. ]
  1061. }
  1062. }
  1063. },
  1064. "md.GetActivePointsUserCoinListReq": {
  1065. "type": "object",
  1066. "properties": {
  1067. "end_coin": {
  1068. "type": "string",
  1069. "example": "最大金额"
  1070. },
  1071. "kind": {
  1072. "description": "虚拟币种类编号",
  1073. "type": "integer"
  1074. },
  1075. "page": {
  1076. "description": "页数",
  1077. "type": "integer"
  1078. },
  1079. "page_size": {
  1080. "description": "单页大小",
  1081. "type": "integer"
  1082. },
  1083. "start_coin": {
  1084. "type": "string",
  1085. "example": "最小金额"
  1086. },
  1087. "uid": {
  1088. "description": "指定查询用户 ID",
  1089. "type": "integer"
  1090. },
  1091. "user_name": {
  1092. "type": "string",
  1093. "example": "用户名称"
  1094. },
  1095. "user_phone": {
  1096. "type": "string",
  1097. "example": "手机号"
  1098. }
  1099. }
  1100. },
  1101. "md.GetActivePointsUserCoinListResp": {
  1102. "type": "object",
  1103. "properties": {
  1104. "kind_list": {
  1105. "description": "货币类型集合",
  1106. "type": "array",
  1107. "items": {
  1108. "$ref": "#/definitions/md.VirtualCoinListNode"
  1109. }
  1110. },
  1111. "list": {
  1112. "description": "余额集合",
  1113. "type": "array",
  1114. "items": {
  1115. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1116. }
  1117. },
  1118. "sum_user_amount": {
  1119. "description": "用户持有总数",
  1120. "type": "number"
  1121. },
  1122. "total": {
  1123. "description": "持有该类型用户数",
  1124. "type": "integer"
  1125. }
  1126. }
  1127. },
  1128. "md.GetFreePublishUserReq": {
  1129. "type": "object",
  1130. "properties": {
  1131. "limit": {
  1132. "description": "每页大小",
  1133. "type": "integer"
  1134. },
  1135. "page": {
  1136. "description": "当前页数",
  1137. "type": "integer"
  1138. },
  1139. "uid": {
  1140. "description": "筛选的用户 ID",
  1141. "type": "integer"
  1142. }
  1143. }
  1144. },
  1145. "md.GetFreePublishUserResp": {
  1146. "type": "object",
  1147. "properties": {
  1148. "list": {
  1149. "description": "免罚用户列表",
  1150. "type": "array",
  1151. "items": {
  1152. "$ref": "#/definitions/md.FreePublishUserNode"
  1153. }
  1154. },
  1155. "paginate": {
  1156. "description": "分页信息",
  1157. "allOf": [
  1158. {
  1159. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1160. }
  1161. ]
  1162. }
  1163. }
  1164. },
  1165. "md.GetGreenEnergyUserCoinFlowListReq": {
  1166. "type": "object",
  1167. "properties": {
  1168. "coin_id": {
  1169. "description": "货币类型 ID",
  1170. "type": "integer"
  1171. },
  1172. "direction": {
  1173. "description": "流水方向:1收入 2支出",
  1174. "type": "integer"
  1175. },
  1176. "end_at": {
  1177. "description": "结束时间",
  1178. "type": "string"
  1179. },
  1180. "page": {
  1181. "description": "页数",
  1182. "type": "integer"
  1183. },
  1184. "page_size": {
  1185. "description": "每页大小",
  1186. "type": "integer"
  1187. },
  1188. "start_at": {
  1189. "description": "开始时间",
  1190. "type": "string"
  1191. },
  1192. "uid": {
  1193. "description": "用户 ID",
  1194. "type": "integer"
  1195. }
  1196. }
  1197. },
  1198. "md.GetGreenEnergyUserCoinFlowListResp": {
  1199. "type": "object",
  1200. "properties": {
  1201. "list": {
  1202. "description": "流水信息",
  1203. "type": "array",
  1204. "items": {
  1205. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1206. }
  1207. },
  1208. "paginate": {
  1209. "description": "分页信息",
  1210. "allOf": [
  1211. {
  1212. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1213. }
  1214. ]
  1215. },
  1216. "select_data": {
  1217. "description": "流水类型",
  1218. "allOf": [
  1219. {
  1220. "$ref": "#/definitions/md.SelectData"
  1221. }
  1222. ]
  1223. }
  1224. }
  1225. },
  1226. "md.GetGreenEnergyUserCoinListReq": {
  1227. "type": "object",
  1228. "properties": {
  1229. "end_coin": {
  1230. "type": "string",
  1231. "example": "最大金额"
  1232. },
  1233. "kind": {
  1234. "description": "虚拟币种类编号",
  1235. "type": "integer"
  1236. },
  1237. "page": {
  1238. "description": "页数",
  1239. "type": "integer"
  1240. },
  1241. "page_size": {
  1242. "description": "单页大小",
  1243. "type": "integer"
  1244. },
  1245. "start_coin": {
  1246. "type": "string",
  1247. "example": "最小金额"
  1248. },
  1249. "uid": {
  1250. "description": "指定查询用户 ID",
  1251. "type": "integer"
  1252. },
  1253. "user_name": {
  1254. "type": "string",
  1255. "example": "用户名称"
  1256. },
  1257. "user_phone": {
  1258. "type": "string",
  1259. "example": "手机号"
  1260. }
  1261. }
  1262. },
  1263. "md.GetGreenEnergyUserCoinListResp": {
  1264. "type": "object",
  1265. "properties": {
  1266. "kind_list": {
  1267. "description": "货币类型集合",
  1268. "type": "array",
  1269. "items": {
  1270. "$ref": "#/definitions/md.VirtualCoinListNode"
  1271. }
  1272. },
  1273. "list": {
  1274. "description": "余额集合",
  1275. "type": "array",
  1276. "items": {
  1277. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1278. }
  1279. },
  1280. "sum_user_amount": {
  1281. "description": "用户持有总数",
  1282. "type": "number"
  1283. },
  1284. "total": {
  1285. "description": "持有该类型用户数",
  1286. "type": "integer"
  1287. }
  1288. }
  1289. },
  1290. "md.GetPublicPlatoonBasicResp": {
  1291. "type": "object",
  1292. "properties": {
  1293. "is_open": {
  1294. "description": "是否开启(1:开启 0:关闭)",
  1295. "type": "integer"
  1296. },
  1297. "is_self_active_get_team_revenue": {
  1298. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1299. "type": "integer"
  1300. },
  1301. "originator_uid": {
  1302. "description": "创始人uid",
  1303. "type": "integer"
  1304. },
  1305. "several_rows": {
  1306. "description": "几排",
  1307. "type": "integer"
  1308. },
  1309. "several_times": {
  1310. "description": "几乘",
  1311. "type": "integer"
  1312. },
  1313. "system_punish_replace": {
  1314. "description": "是否位置滑落 被新用户替换 0否 1是",
  1315. "type": "integer"
  1316. },
  1317. "system_punish_replace_value": {
  1318. "description": "xx天未活跃,处罚滑落",
  1319. "type": "integer"
  1320. }
  1321. }
  1322. },
  1323. "md.LoginReq": {
  1324. "type": "object",
  1325. "required": [
  1326. "password",
  1327. "username"
  1328. ],
  1329. "properties": {
  1330. "code": {
  1331. "type": "string",
  1332. "example": "验证码"
  1333. },
  1334. "password": {
  1335. "type": "string",
  1336. "example": "登录密码"
  1337. },
  1338. "username": {
  1339. "type": "string",
  1340. "example": "登录账号"
  1341. }
  1342. }
  1343. },
  1344. "md.LoginResponse": {
  1345. "type": "object",
  1346. "properties": {
  1347. "token": {
  1348. "type": "string"
  1349. }
  1350. }
  1351. },
  1352. "md.Response": {
  1353. "type": "object",
  1354. "properties": {
  1355. "code": {
  1356. "type": "string",
  1357. "example": "响应码"
  1358. },
  1359. "data": {
  1360. "description": "内容"
  1361. },
  1362. "msg": {
  1363. "type": "string",
  1364. "example": "具体错误原因"
  1365. }
  1366. }
  1367. },
  1368. "md.SelectData": {
  1369. "type": "object",
  1370. "properties": {
  1371. "direction": {
  1372. "type": "array",
  1373. "items": {
  1374. "$ref": "#/definitions/md.DirectionMap"
  1375. }
  1376. }
  1377. }
  1378. },
  1379. "md.SonUserDailyActivityAnalysisNode": {
  1380. "type": "object",
  1381. "properties": {
  1382. "activity_day_nums": {
  1383. "description": "活跃子节点活跃天数",
  1384. "type": "integer"
  1385. },
  1386. "nickname": {
  1387. "type": "string",
  1388. "example": "昵称"
  1389. },
  1390. "phone": {
  1391. "type": "string",
  1392. "example": "手机号"
  1393. },
  1394. "uid": {
  1395. "description": "查询用户活跃子节点 ID",
  1396. "type": "integer"
  1397. }
  1398. }
  1399. },
  1400. "md.SubUser": {
  1401. "type": "object",
  1402. "properties": {
  1403. "avatar_url": {
  1404. "type": "string",
  1405. "example": "头像"
  1406. },
  1407. "level": {
  1408. "description": "整个系统中的等级",
  1409. "type": "integer"
  1410. },
  1411. "nickname": {
  1412. "type": "string",
  1413. "example": "昵称"
  1414. },
  1415. "phone": {
  1416. "type": "string",
  1417. "example": "手机号"
  1418. },
  1419. "pid": {
  1420. "type": "integer"
  1421. },
  1422. "position": {
  1423. "description": "以pid1为创始人中网的位置",
  1424. "type": "integer"
  1425. },
  1426. "uid": {
  1427. "type": "integer"
  1428. }
  1429. }
  1430. },
  1431. "md.TreeNode": {
  1432. "type": "object",
  1433. "properties": {
  1434. "avatar_url": {
  1435. "type": "string",
  1436. "example": "头像"
  1437. },
  1438. "level": {
  1439. "type": "integer"
  1440. },
  1441. "nickname": {
  1442. "type": "string",
  1443. "example": "昵称"
  1444. },
  1445. "phone": {
  1446. "type": "string",
  1447. "example": "手机号"
  1448. },
  1449. "pid": {
  1450. "type": "integer"
  1451. },
  1452. "position": {
  1453. "type": "integer"
  1454. },
  1455. "son": {
  1456. "type": "array",
  1457. "items": {
  1458. "$ref": "#/definitions/md.TreeNode"
  1459. }
  1460. },
  1461. "system_id": {
  1462. "description": "公排网中id",
  1463. "type": "integer"
  1464. },
  1465. "uid": {
  1466. "type": "integer"
  1467. }
  1468. }
  1469. },
  1470. "md.UpdatePublicPlatoonBasicReq": {
  1471. "type": "object",
  1472. "properties": {
  1473. "is_open": {
  1474. "description": "是否开启(1:开启 0:关闭)",
  1475. "type": "integer"
  1476. },
  1477. "is_self_active_get_team_revenue": {
  1478. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1479. "type": "integer"
  1480. },
  1481. "originator_uid": {
  1482. "description": "创始人uid",
  1483. "type": "integer"
  1484. },
  1485. "several_rows": {
  1486. "description": "几排",
  1487. "type": "integer"
  1488. },
  1489. "several_times": {
  1490. "description": "几乘",
  1491. "type": "integer"
  1492. },
  1493. "system_punish_replace": {
  1494. "description": "是否位置滑落 被新用户替换 0否 1是",
  1495. "type": "integer"
  1496. },
  1497. "system_punish_replace_value": {
  1498. "description": "xx天未活跃,处罚滑落",
  1499. "type": "integer"
  1500. }
  1501. }
  1502. },
  1503. "md.UserDailyActivityAnalysisReq": {
  1504. "type": "object",
  1505. "properties": {
  1506. "end_date": {
  1507. "type": "string",
  1508. "example": "结束日期"
  1509. },
  1510. "page": {
  1511. "description": "页数",
  1512. "type": "integer"
  1513. },
  1514. "page_size": {
  1515. "description": "每页大小",
  1516. "type": "integer"
  1517. },
  1518. "start_date": {
  1519. "type": "string",
  1520. "example": "开始日期"
  1521. },
  1522. "uid": {
  1523. "description": "查询用户 ID",
  1524. "type": "integer"
  1525. }
  1526. }
  1527. },
  1528. "md.UserDailyActivityAnalysisResp": {
  1529. "type": "object",
  1530. "properties": {
  1531. "son_user_data": {
  1532. "description": "被查询用户子节点信息",
  1533. "type": "array",
  1534. "items": {
  1535. "$ref": "#/definitions/md.SonUserDailyActivityAnalysisNode"
  1536. }
  1537. },
  1538. "top_data": {
  1539. "description": "统计信息",
  1540. "allOf": [
  1541. {
  1542. "$ref": "#/definitions/md.DailyActivityAnalysisTopData"
  1543. }
  1544. ]
  1545. }
  1546. }
  1547. },
  1548. "md.UserVirtualCoinFlow": {
  1549. "type": "object",
  1550. "properties": {
  1551. "after_amount": {
  1552. "type": "string",
  1553. "example": "变更后数量"
  1554. },
  1555. "amount": {
  1556. "type": "string",
  1557. "example": "变更数量"
  1558. },
  1559. "before_amount": {
  1560. "type": "string",
  1561. "example": "变更前数量"
  1562. },
  1563. "coin_id": {
  1564. "description": "虚拟币 ID",
  1565. "type": "integer"
  1566. },
  1567. "create_at": {
  1568. "type": "string",
  1569. "example": "创建时间"
  1570. },
  1571. "direction": {
  1572. "description": "方向:1收入 2支出",
  1573. "type": "integer"
  1574. },
  1575. "id": {
  1576. "type": "integer"
  1577. },
  1578. "sys_fee": {
  1579. "type": "string",
  1580. "example": "手续费"
  1581. },
  1582. "title": {
  1583. "type": "string",
  1584. "example": "标题"
  1585. },
  1586. "transfer_type": {
  1587. "description": "转账类型",
  1588. "type": "integer"
  1589. },
  1590. "uid": {
  1591. "description": "用户 ID",
  1592. "type": "integer"
  1593. },
  1594. "update_at": {
  1595. "type": "string",
  1596. "example": "更新时间"
  1597. }
  1598. }
  1599. },
  1600. "md.VirtualCoinListNode": {
  1601. "type": "object",
  1602. "properties": {
  1603. "coin_id": {
  1604. "description": "货币类型 ID",
  1605. "type": "integer"
  1606. },
  1607. "kind": {
  1608. "description": "货币序号",
  1609. "type": "integer"
  1610. },
  1611. "name": {
  1612. "type": "string",
  1613. "example": "货币类型名称"
  1614. }
  1615. }
  1616. }
  1617. },
  1618. "securityDefinitions": {
  1619. "MasterID": {
  1620. "type": "apiKey",
  1621. "name": "MasterID",
  1622. "in": "header"
  1623. }
  1624. }
  1625. }