蛋蛋星球-客户端
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

2017 wiersze
69 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/availableEnergy/list": {
  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": "页数、每页大小必传 起止时间、持有类型选传",
  82. "name": "req",
  83. "in": "body",
  84. "required": true,
  85. "schema": {
  86. "$ref": "#/definitions/md.DynamicDataFlowListReq"
  87. }
  88. }
  89. ],
  90. "responses": {
  91. "200": {
  92. "description": "成功返回",
  93. "schema": {
  94. "$ref": "#/definitions/md.DynamicDataFlowListResp"
  95. }
  96. },
  97. "400": {
  98. "description": "具体错误",
  99. "schema": {
  100. "$ref": "#/definitions/md.Response"
  101. }
  102. }
  103. }
  104. }
  105. },
  106. "/api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinFlowList": {
  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": "至少传入 货币类型 ID 用户 UID 页数 每页大小",
  129. "name": "req",
  130. "in": "body",
  131. "required": true,
  132. "schema": {
  133. "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListReq"
  134. }
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "成功返回",
  140. "schema": {
  141. "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListResp"
  142. }
  143. },
  144. "400": {
  145. "description": "具体错误",
  146. "schema": {
  147. "$ref": "#/definitions/md.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinList": {
  154. "post": {
  155. "description": "活跃积分持有(获取)",
  156. "consumes": [
  157. "application/json"
  158. ],
  159. "produces": [
  160. "application/json"
  161. ],
  162. "tags": [
  163. "公排管理"
  164. ],
  165. "summary": "制度中心-活跃积分持有者明细-活跃积分持有(获取)",
  166. "parameters": [
  167. {
  168. "type": "string",
  169. "description": "验证参数Bearer和token空格拼接",
  170. "name": "Authorization",
  171. "in": "header",
  172. "required": true
  173. },
  174. {
  175. "description": "落地页不填页大小默认20条数据",
  176. "name": "req",
  177. "in": "body",
  178. "schema": {
  179. "$ref": "#/definitions/md.GetActivePointsUserCoinListReq"
  180. }
  181. }
  182. ],
  183. "responses": {
  184. "200": {
  185. "description": "成功返回",
  186. "schema": {
  187. "$ref": "#/definitions/md.GetActivePointsUserCoinListResp"
  188. }
  189. },
  190. "400": {
  191. "description": "具体错误",
  192. "schema": {
  193. "$ref": "#/definitions/md.Response"
  194. }
  195. }
  196. }
  197. }
  198. },
  199. "/api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinFlowList": {
  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": "至少传入 货币类型 ID 用户 UID 页数 每页大小",
  222. "name": "req",
  223. "in": "body",
  224. "required": true,
  225. "schema": {
  226. "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListReq"
  227. }
  228. }
  229. ],
  230. "responses": {
  231. "200": {
  232. "description": "成功返回",
  233. "schema": {
  234. "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListResp"
  235. }
  236. },
  237. "400": {
  238. "description": "具体错误",
  239. "schema": {
  240. "$ref": "#/definitions/md.Response"
  241. }
  242. }
  243. }
  244. }
  245. },
  246. "/api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinList": {
  247. "post": {
  248. "description": "绿色能量(获取)",
  249. "consumes": [
  250. "application/json"
  251. ],
  252. "produces": [
  253. "application/json"
  254. ],
  255. "tags": [
  256. "公排管理"
  257. ],
  258. "summary": "制度中心-绿色能量持有者明细-绿色能量(获取)",
  259. "parameters": [
  260. {
  261. "type": "string",
  262. "description": "验证参数Bearer和token空格拼接",
  263. "name": "Authorization",
  264. "in": "header",
  265. "required": true
  266. },
  267. {
  268. "description": "落地页不填页大小默认20条数据",
  269. "name": "req",
  270. "in": "body",
  271. "schema": {
  272. "$ref": "#/definitions/md.GetGreenEnergyUserCoinListReq"
  273. }
  274. }
  275. ],
  276. "responses": {
  277. "200": {
  278. "description": "成功返回",
  279. "schema": {
  280. "$ref": "#/definitions/md.GetGreenEnergyUserCoinListResp"
  281. }
  282. },
  283. "400": {
  284. "description": "具体错误",
  285. "schema": {
  286. "$ref": "#/definitions/md.Response"
  287. }
  288. }
  289. }
  290. }
  291. },
  292. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd": {
  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.AddCommunityDividendsReq"
  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/communityDividends/communityDividendsList": {
  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.ListCommunityDividendsReq"
  367. }
  368. }
  369. ],
  370. "responses": {
  371. "200": {
  372. "description": "具体数据",
  373. "schema": {
  374. "$ref": "#/definitions/md.ListCommunityDividendsResp"
  375. }
  376. },
  377. "400": {
  378. "description": "具体错误",
  379. "schema": {
  380. "$ref": "#/definitions/md.Response"
  381. }
  382. }
  383. }
  384. }
  385. },
  386. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserAdd": {
  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.AddCommunityDividendsWithUserReq"
  414. }
  415. }
  416. ],
  417. "responses": {
  418. "200": {
  419. "description": "插入数据 ID",
  420. "schema": {
  421. "type": "int"
  422. }
  423. },
  424. "400": {
  425. "description": "具体错误",
  426. "schema": {
  427. "$ref": "#/definitions/md.Response"
  428. }
  429. }
  430. }
  431. }
  432. },
  433. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserList": {
  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": "页数、每页大小必填 手机号、用户ID选填",
  456. "name": "req",
  457. "in": "body",
  458. "required": true,
  459. "schema": {
  460. "$ref": "#/definitions/md.ListCommunityDividendsWithUserReq"
  461. }
  462. }
  463. ],
  464. "responses": {
  465. "200": {
  466. "description": "社区长列表",
  467. "schema": {
  468. "$ref": "#/definitions/md.ListCommunityDividendsWithUserResp"
  469. }
  470. },
  471. "400": {
  472. "description": "具体错误",
  473. "schema": {
  474. "$ref": "#/definitions/md.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/api/institutionalManagement/publicPlatoon/exchangeUserPosition": {
  481. "post": {
  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. "description": "需要交换的两个位置",
  503. "name": "req",
  504. "in": "body",
  505. "required": true,
  506. "schema": {
  507. "$ref": "#/definitions/md.ExchangeUserPositionReq"
  508. }
  509. }
  510. ],
  511. "responses": {
  512. "200": {
  513. "description": "成功返回",
  514. "schema": {
  515. "type": ""
  516. }
  517. },
  518. "400": {
  519. "description": "具体错误",
  520. "schema": {
  521. "$ref": "#/definitions/md.Response"
  522. }
  523. }
  524. }
  525. }
  526. },
  527. "/api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap": {
  528. "get": {
  529. "description": "关系分布图(获取指定用户上级)",
  530. "consumes": [
  531. "application/json"
  532. ],
  533. "produces": [
  534. "application/json"
  535. ],
  536. "tags": [
  537. "公排管理"
  538. ],
  539. "summary": "制度中心-公排管理-关系分布图(获取指定用户上级)",
  540. "parameters": [
  541. {
  542. "type": "string",
  543. "description": "验证参数Bearer和token空格拼接",
  544. "name": "Authorization",
  545. "in": "header",
  546. "required": true
  547. },
  548. {
  549. "type": "string",
  550. "description": "用户ID",
  551. "name": "uid",
  552. "in": "query",
  553. "required": true
  554. }
  555. ],
  556. "responses": {
  557. "200": {
  558. "description": "具体数据",
  559. "schema": {
  560. "$ref": "#/definitions/md.FindSubUserRelationshipMapResp"
  561. }
  562. },
  563. "400": {
  564. "description": "具体错误",
  565. "schema": {
  566. "$ref": "#/definitions/md.Response"
  567. }
  568. }
  569. }
  570. }
  571. },
  572. "/api/institutionalManagement/publicPlatoon/findUserRelationshipMap": {
  573. "get": {
  574. "description": "关系分布图(获取指定用户下级)",
  575. "consumes": [
  576. "application/json"
  577. ],
  578. "produces": [
  579. "application/json"
  580. ],
  581. "tags": [
  582. "公排管理"
  583. ],
  584. "summary": "制度中心-公排管理-关系分布图(获取指定用户下级)",
  585. "parameters": [
  586. {
  587. "type": "string",
  588. "description": "验证参数Bearer和token空格拼接",
  589. "name": "Authorization",
  590. "in": "header",
  591. "required": true
  592. },
  593. {
  594. "type": "string",
  595. "description": "用户ID",
  596. "name": "uid",
  597. "in": "query",
  598. "required": true
  599. }
  600. ],
  601. "responses": {
  602. "200": {
  603. "description": "具体数据",
  604. "schema": {
  605. "$ref": "#/definitions/md.TreeNode"
  606. }
  607. },
  608. "400": {
  609. "description": "具体错误",
  610. "schema": {
  611. "$ref": "#/definitions/md.Response"
  612. }
  613. }
  614. }
  615. }
  616. },
  617. "/api/institutionalManagement/publicPlatoon/getBasic": {
  618. "get": {
  619. "description": "公排基础设置(获取)",
  620. "consumes": [
  621. "application/json"
  622. ],
  623. "produces": [
  624. "application/json"
  625. ],
  626. "tags": [
  627. "公排管理"
  628. ],
  629. "summary": "制度中心-公排管理-公排基础设置(获取)",
  630. "parameters": [
  631. {
  632. "type": "string",
  633. "description": "验证参数Bearer和token空格拼接",
  634. "name": "Authorization",
  635. "in": "header",
  636. "required": true
  637. }
  638. ],
  639. "responses": {
  640. "200": {
  641. "description": "具体数据",
  642. "schema": {
  643. "$ref": "#/definitions/md.GetPublicPlatoonBasicResp"
  644. }
  645. },
  646. "400": {
  647. "description": "具体错误",
  648. "schema": {
  649. "$ref": "#/definitions/md.Response"
  650. }
  651. }
  652. }
  653. }
  654. },
  655. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index": {
  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.GetFreePublishUserReq"
  683. }
  684. }
  685. ],
  686. "responses": {
  687. "200": {
  688. "description": "成功返回",
  689. "schema": {
  690. "$ref": "#/definitions/md.GetFreePublishUserResp"
  691. }
  692. },
  693. "400": {
  694. "description": "具体错误",
  695. "schema": {
  696. "$ref": "#/definitions/md.Response"
  697. }
  698. }
  699. }
  700. }
  701. },
  702. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save": {
  703. "post": {
  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. "description": "页数和行数必填,uid选填",
  725. "name": "req",
  726. "in": "body",
  727. "required": true,
  728. "schema": {
  729. "$ref": "#/definitions/md.AddFreePublishUserReq"
  730. }
  731. }
  732. ],
  733. "responses": {
  734. "200": {
  735. "description": "插入数据 ID",
  736. "schema": {
  737. "type": "int"
  738. }
  739. },
  740. "400": {
  741. "description": "具体错误",
  742. "schema": {
  743. "$ref": "#/definitions/md.Response"
  744. }
  745. }
  746. }
  747. }
  748. },
  749. "/api/institutionalManagement/publicPlatoon/relationshipMap": {
  750. "get": {
  751. "description": "关系分布图(获取)",
  752. "consumes": [
  753. "application/json"
  754. ],
  755. "produces": [
  756. "application/json"
  757. ],
  758. "tags": [
  759. "公排管理"
  760. ],
  761. "summary": "制度中心-公排管理-关系分布图(获取)",
  762. "parameters": [
  763. {
  764. "type": "string",
  765. "description": "验证参数Bearer和token空格拼接",
  766. "name": "Authorization",
  767. "in": "header",
  768. "required": true
  769. },
  770. {
  771. "type": "string",
  772. "description": "phone",
  773. "name": "phone",
  774. "in": "query",
  775. "required": true
  776. },
  777. {
  778. "type": "string",
  779. "description": "uid",
  780. "name": "uid",
  781. "in": "query",
  782. "required": true
  783. }
  784. ],
  785. "responses": {
  786. "200": {
  787. "description": "具体数据",
  788. "schema": {
  789. "$ref": "#/definitions/md.TreeNode"
  790. }
  791. },
  792. "400": {
  793. "description": "具体错误",
  794. "schema": {
  795. "$ref": "#/definitions/md.Response"
  796. }
  797. }
  798. }
  799. }
  800. },
  801. "/api/institutionalManagement/publicPlatoon/updateBasic": {
  802. "put": {
  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": "公排设置表单内容",
  824. "name": "req",
  825. "in": "body",
  826. "required": true,
  827. "schema": {
  828. "$ref": "#/definitions/md.UpdatePublicPlatoonBasicReq"
  829. }
  830. }
  831. ],
  832. "responses": {
  833. "200": {
  834. "description": "success",
  835. "schema": {
  836. "type": "string"
  837. }
  838. },
  839. "400": {
  840. "description": "具体错误",
  841. "schema": {
  842. "$ref": "#/definitions/md.Response"
  843. }
  844. }
  845. }
  846. }
  847. },
  848. "/api/institutionalManagement/publicPlatoon/userDailyActivityAnalysis/index": {
  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. "type": "string",
  864. "description": "验证参数Bearer和token空格拼接",
  865. "name": "Authorization",
  866. "in": "header",
  867. "required": true
  868. },
  869. {
  870. "description": "用户 ID、查询开始时间、结束时间(查询时间不超过30天)、页数、每页大小",
  871. "name": "req",
  872. "in": "body",
  873. "required": true,
  874. "schema": {
  875. "$ref": "#/definitions/md.UserDailyActivityAnalysisReq"
  876. }
  877. }
  878. ],
  879. "responses": {
  880. "200": {
  881. "description": "具体数据",
  882. "schema": {
  883. "$ref": "#/definitions/md.UserDailyActivityAnalysisResp"
  884. }
  885. },
  886. "400": {
  887. "description": "具体错误",
  888. "schema": {
  889. "$ref": "#/definitions/md.Response"
  890. }
  891. }
  892. }
  893. }
  894. },
  895. "/api/login": {
  896. "post": {
  897. "description": "登入",
  898. "consumes": [
  899. "application/json"
  900. ],
  901. "produces": [
  902. "application/json"
  903. ],
  904. "tags": [
  905. "登录"
  906. ],
  907. "summary": "登陆",
  908. "parameters": [
  909. {
  910. "description": "用户名密码",
  911. "name": "req",
  912. "in": "body",
  913. "required": true,
  914. "schema": {
  915. "$ref": "#/definitions/md.LoginReq"
  916. }
  917. }
  918. ],
  919. "responses": {
  920. "200": {
  921. "description": "token",
  922. "schema": {
  923. "$ref": "#/definitions/md.LoginResponse"
  924. }
  925. },
  926. "400": {
  927. "description": "具体错误",
  928. "schema": {
  929. "$ref": "#/definitions/md.Response"
  930. }
  931. }
  932. }
  933. }
  934. }
  935. },
  936. "definitions": {
  937. "applet_app_md_institutional_management_egg_energy.Paginate": {
  938. "type": "object",
  939. "properties": {
  940. "limit": {
  941. "description": "每页大小",
  942. "type": "integer"
  943. },
  944. "page": {
  945. "description": "页数",
  946. "type": "integer"
  947. },
  948. "total": {
  949. "description": "总数据量",
  950. "type": "integer"
  951. }
  952. }
  953. },
  954. "applet_app_md_institutional_management_public_platoon.Paginate": {
  955. "type": "object",
  956. "properties": {
  957. "limit": {
  958. "description": "每页大小",
  959. "type": "integer"
  960. },
  961. "page": {
  962. "description": "页数",
  963. "type": "integer"
  964. },
  965. "total": {
  966. "description": "总数据量",
  967. "type": "integer"
  968. }
  969. }
  970. },
  971. "md.ActivePointsWalletNode": {
  972. "type": "object",
  973. "properties": {
  974. "amount": {
  975. "type": "string",
  976. "example": "账户余额"
  977. },
  978. "uid": {
  979. "description": "用户 ID",
  980. "type": "integer"
  981. },
  982. "user_name": {
  983. "type": "string",
  984. "example": "用户名"
  985. },
  986. "user_phone": {
  987. "type": "string",
  988. "example": "手机号"
  989. }
  990. }
  991. },
  992. "md.AddCommunityDividendsReq": {
  993. "type": "object",
  994. "properties": {
  995. "name": {
  996. "type": "string",
  997. "example": "社区分红名称"
  998. },
  999. "nums": {
  1000. "description": "社区分红数量",
  1001. "type": "integer"
  1002. }
  1003. }
  1004. },
  1005. "md.AddCommunityDividendsWithUserReq": {
  1006. "type": "object",
  1007. "properties": {
  1008. "memo": {
  1009. "type": "string",
  1010. "example": "备注"
  1011. },
  1012. "uid": {
  1013. "description": "新增社区长用户 ID",
  1014. "type": "integer"
  1015. }
  1016. }
  1017. },
  1018. "md.AddFreePublishUserReq": {
  1019. "type": "object",
  1020. "properties": {
  1021. "uid": {
  1022. "type": "integer"
  1023. }
  1024. }
  1025. },
  1026. "md.BasicSetting": {
  1027. "type": "object",
  1028. "properties": {
  1029. "id": {
  1030. "type": "integer"
  1031. },
  1032. "is_open": {
  1033. "description": "是否开启(1:开启 0:关闭)",
  1034. "type": "integer"
  1035. },
  1036. "is_self_active_get_team_revenue": {
  1037. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1038. "type": "integer"
  1039. },
  1040. "originator_uid": {
  1041. "description": "创始人uid",
  1042. "type": "integer"
  1043. },
  1044. "several_rows": {
  1045. "description": "几排",
  1046. "type": "integer"
  1047. },
  1048. "several_times": {
  1049. "description": "几乘",
  1050. "type": "integer"
  1051. },
  1052. "system_punish_replace": {
  1053. "description": "是否位置滑落 被新用户替换 0否 1是",
  1054. "type": "integer"
  1055. },
  1056. "system_punish_replace_value": {
  1057. "description": "xx天未活跃,处罚滑落",
  1058. "type": "integer"
  1059. }
  1060. }
  1061. },
  1062. "md.DailyActivityAnalysisTopData": {
  1063. "type": "object",
  1064. "properties": {
  1065. "activity_count": {
  1066. "description": "子节点活跃天数",
  1067. "type": "integer"
  1068. },
  1069. "team_activity_user_count": {
  1070. "description": "子节点活跃人数",
  1071. "type": "integer"
  1072. },
  1073. "team_user_count": {
  1074. "description": "团队人数",
  1075. "type": "integer"
  1076. }
  1077. }
  1078. },
  1079. "md.DynamicDataFlowListReq": {
  1080. "type": "object",
  1081. "properties": {
  1082. "end_at": {
  1083. "description": "结束时间",
  1084. "type": "string"
  1085. },
  1086. "kind": {
  1087. "description": "持有类型",
  1088. "type": "integer"
  1089. },
  1090. "page": {
  1091. "description": "页数",
  1092. "type": "integer"
  1093. },
  1094. "page_size": {
  1095. "description": "每页大小",
  1096. "type": "integer"
  1097. },
  1098. "start_at": {
  1099. "description": "开始时间",
  1100. "type": "string"
  1101. }
  1102. }
  1103. },
  1104. "md.DynamicDataFlowListResp": {
  1105. "type": "object",
  1106. "properties": {
  1107. "kind_list": {
  1108. "type": "array",
  1109. "items": {
  1110. "type": "object",
  1111. "additionalProperties": true
  1112. }
  1113. },
  1114. "list": {
  1115. "type": "array",
  1116. "items": {
  1117. "$ref": "#/definitions/md.EggEnergyAvailableEnergyFlow"
  1118. }
  1119. },
  1120. "paginate": {
  1121. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1122. }
  1123. }
  1124. },
  1125. "md.EggEnergyAvailableEnergyFlow": {
  1126. "type": "object",
  1127. "properties": {
  1128. "after_community_dividends": {
  1129. "type": "string"
  1130. },
  1131. "after_destruction_quantity_values": {
  1132. "type": "string"
  1133. },
  1134. "after_development_committee_values": {
  1135. "type": "string"
  1136. },
  1137. "after_marketplace_merchant_fund_values": {
  1138. "type": "string"
  1139. },
  1140. "after_marketplace_merchant_values": {
  1141. "type": "string"
  1142. },
  1143. "after_now_energy_total_nums": {
  1144. "type": "string"
  1145. },
  1146. "after_planet_total_value": {
  1147. "type": "string"
  1148. },
  1149. "after_price": {
  1150. "type": "string"
  1151. },
  1152. "after_public_welfare_and_charity_values": {
  1153. "type": "string"
  1154. },
  1155. "after_star_level_dividends_values": {
  1156. "type": "string"
  1157. },
  1158. "amount": {
  1159. "type": "string"
  1160. },
  1161. "before_community_dividends": {
  1162. "type": "string"
  1163. },
  1164. "before_destruction_quantity_values": {
  1165. "type": "string"
  1166. },
  1167. "before_development_committee_values": {
  1168. "type": "string"
  1169. },
  1170. "before_marketplace_merchant_fund_values": {
  1171. "type": "string"
  1172. },
  1173. "before_marketplace_merchant_values": {
  1174. "type": "string"
  1175. },
  1176. "before_now_energy_total_nums": {
  1177. "type": "string"
  1178. },
  1179. "before_planet_total_value": {
  1180. "type": "string"
  1181. },
  1182. "before_price": {
  1183. "type": "string"
  1184. },
  1185. "before_public_welfare_and_charity_values": {
  1186. "type": "string"
  1187. },
  1188. "before_star_level_dividends_values": {
  1189. "type": "string"
  1190. },
  1191. "coin_id": {
  1192. "type": "integer"
  1193. },
  1194. "create_time": {
  1195. "type": "string"
  1196. },
  1197. "id": {
  1198. "type": "integer"
  1199. },
  1200. "kind": {
  1201. "type": "integer"
  1202. },
  1203. "title": {
  1204. "type": "string"
  1205. }
  1206. }
  1207. },
  1208. "md.EggEnergyCommunityDividends": {
  1209. "type": "object",
  1210. "properties": {
  1211. "coin_id": {
  1212. "description": "虚拟币 id",
  1213. "type": "integer"
  1214. },
  1215. "create_at": {
  1216. "description": "分红时间",
  1217. "type": "string"
  1218. },
  1219. "id": {
  1220. "type": "integer"
  1221. },
  1222. "is_over": {
  1223. "description": "是否分红完毕",
  1224. "type": "integer"
  1225. },
  1226. "name": {
  1227. "type": "string",
  1228. "example": "名称"
  1229. },
  1230. "nums": {
  1231. "description": "分红数量",
  1232. "type": "integer"
  1233. },
  1234. "persons_num": {
  1235. "description": "分红人数",
  1236. "type": "integer"
  1237. },
  1238. "update_at": {
  1239. "type": "string"
  1240. }
  1241. }
  1242. },
  1243. "md.EggEnergyCommunityDividendsWithUser": {
  1244. "type": "object",
  1245. "properties": {
  1246. "id": {
  1247. "type": "integer"
  1248. },
  1249. "memo": {
  1250. "type": "string",
  1251. "example": "备注"
  1252. },
  1253. "nickname": {
  1254. "type": "string"
  1255. },
  1256. "phone": {
  1257. "type": "string"
  1258. },
  1259. "uid": {
  1260. "type": "integer"
  1261. }
  1262. }
  1263. },
  1264. "md.ExchangeUserPositionReq": {
  1265. "type": "object",
  1266. "properties": {
  1267. "position_1": {
  1268. "description": "位置1,具体值取返回数据中的 system_id",
  1269. "type": "integer"
  1270. },
  1271. "position_2": {
  1272. "description": "位置2,具体值取返回数据中的 system_id",
  1273. "type": "integer"
  1274. }
  1275. }
  1276. },
  1277. "md.FindSubUserRelationshipMapResp": {
  1278. "type": "object",
  1279. "properties": {
  1280. "basic_setting": {
  1281. "description": "公排设置",
  1282. "allOf": [
  1283. {
  1284. "$ref": "#/definitions/md.BasicSetting"
  1285. }
  1286. ]
  1287. },
  1288. "search_uid": {
  1289. "description": "查找的用户 ID",
  1290. "type": "string"
  1291. },
  1292. "sub_user": {
  1293. "description": "上级用户信息",
  1294. "allOf": [
  1295. {
  1296. "$ref": "#/definitions/md.SubUser"
  1297. }
  1298. ]
  1299. }
  1300. }
  1301. },
  1302. "md.FreePublishUserNode": {
  1303. "type": "object",
  1304. "properties": {
  1305. "nickname": {
  1306. "type": "string",
  1307. "example": "昵称"
  1308. },
  1309. "phone": {
  1310. "type": "string",
  1311. "example": "手机号"
  1312. },
  1313. "uid": {
  1314. "type": "integer"
  1315. }
  1316. }
  1317. },
  1318. "md.GetActivePointsUserCoinFlowListReq": {
  1319. "type": "object",
  1320. "properties": {
  1321. "coin_id": {
  1322. "description": "货币类型 ID",
  1323. "type": "integer"
  1324. },
  1325. "direction": {
  1326. "description": "流水方向:1收入 2支出",
  1327. "type": "integer"
  1328. },
  1329. "end_at": {
  1330. "description": "结束时间",
  1331. "type": "string"
  1332. },
  1333. "page": {
  1334. "description": "页数",
  1335. "type": "integer"
  1336. },
  1337. "page_size": {
  1338. "description": "每页大小",
  1339. "type": "integer"
  1340. },
  1341. "start_at": {
  1342. "description": "开始时间",
  1343. "type": "string"
  1344. },
  1345. "uid": {
  1346. "description": "用户 ID",
  1347. "type": "integer"
  1348. }
  1349. }
  1350. },
  1351. "md.GetActivePointsUserCoinFlowListResp": {
  1352. "type": "object",
  1353. "properties": {
  1354. "list": {
  1355. "description": "流水信息",
  1356. "type": "array",
  1357. "items": {
  1358. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1359. }
  1360. },
  1361. "paginate": {
  1362. "description": "分页信息",
  1363. "allOf": [
  1364. {
  1365. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1366. }
  1367. ]
  1368. },
  1369. "select_data": {
  1370. "description": "流水类型",
  1371. "allOf": [
  1372. {
  1373. "$ref": "#/definitions/md.SelectData"
  1374. }
  1375. ]
  1376. }
  1377. }
  1378. },
  1379. "md.GetActivePointsUserCoinListReq": {
  1380. "type": "object",
  1381. "properties": {
  1382. "end_coin": {
  1383. "type": "string",
  1384. "example": "最大金额"
  1385. },
  1386. "kind": {
  1387. "description": "虚拟币种类编号",
  1388. "type": "integer"
  1389. },
  1390. "page": {
  1391. "description": "页数",
  1392. "type": "integer"
  1393. },
  1394. "page_size": {
  1395. "description": "单页大小",
  1396. "type": "integer"
  1397. },
  1398. "start_coin": {
  1399. "type": "string",
  1400. "example": "最小金额"
  1401. },
  1402. "uid": {
  1403. "description": "指定查询用户 ID",
  1404. "type": "integer"
  1405. },
  1406. "user_name": {
  1407. "type": "string",
  1408. "example": "用户名称"
  1409. },
  1410. "user_phone": {
  1411. "type": "string",
  1412. "example": "手机号"
  1413. }
  1414. }
  1415. },
  1416. "md.GetActivePointsUserCoinListResp": {
  1417. "type": "object",
  1418. "properties": {
  1419. "kind_list": {
  1420. "description": "货币类型集合",
  1421. "type": "array",
  1422. "items": {
  1423. "$ref": "#/definitions/md.VirtualCoinListNode"
  1424. }
  1425. },
  1426. "list": {
  1427. "description": "余额集合",
  1428. "type": "array",
  1429. "items": {
  1430. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1431. }
  1432. },
  1433. "sum_user_amount": {
  1434. "description": "用户持有总数",
  1435. "type": "number"
  1436. },
  1437. "total": {
  1438. "description": "持有该类型用户数",
  1439. "type": "integer"
  1440. }
  1441. }
  1442. },
  1443. "md.GetFreePublishUserReq": {
  1444. "type": "object",
  1445. "properties": {
  1446. "limit": {
  1447. "description": "每页大小",
  1448. "type": "integer"
  1449. },
  1450. "page": {
  1451. "description": "当前页数",
  1452. "type": "integer"
  1453. },
  1454. "uid": {
  1455. "description": "筛选的用户 ID",
  1456. "type": "integer"
  1457. }
  1458. }
  1459. },
  1460. "md.GetFreePublishUserResp": {
  1461. "type": "object",
  1462. "properties": {
  1463. "list": {
  1464. "description": "免罚用户列表",
  1465. "type": "array",
  1466. "items": {
  1467. "$ref": "#/definitions/md.FreePublishUserNode"
  1468. }
  1469. },
  1470. "paginate": {
  1471. "description": "分页信息",
  1472. "allOf": [
  1473. {
  1474. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1475. }
  1476. ]
  1477. }
  1478. }
  1479. },
  1480. "md.GetGreenEnergyUserCoinFlowListReq": {
  1481. "type": "object",
  1482. "properties": {
  1483. "coin_id": {
  1484. "description": "货币类型 ID",
  1485. "type": "integer"
  1486. },
  1487. "direction": {
  1488. "description": "流水方向:1收入 2支出",
  1489. "type": "integer"
  1490. },
  1491. "end_at": {
  1492. "description": "结束时间",
  1493. "type": "string"
  1494. },
  1495. "page": {
  1496. "description": "页数",
  1497. "type": "integer"
  1498. },
  1499. "page_size": {
  1500. "description": "每页大小",
  1501. "type": "integer"
  1502. },
  1503. "start_at": {
  1504. "description": "开始时间",
  1505. "type": "string"
  1506. },
  1507. "uid": {
  1508. "description": "用户 ID",
  1509. "type": "integer"
  1510. }
  1511. }
  1512. },
  1513. "md.GetGreenEnergyUserCoinFlowListResp": {
  1514. "type": "object",
  1515. "properties": {
  1516. "list": {
  1517. "description": "流水信息",
  1518. "type": "array",
  1519. "items": {
  1520. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1521. }
  1522. },
  1523. "paginate": {
  1524. "description": "分页信息",
  1525. "allOf": [
  1526. {
  1527. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1528. }
  1529. ]
  1530. },
  1531. "select_data": {
  1532. "description": "流水类型",
  1533. "allOf": [
  1534. {
  1535. "$ref": "#/definitions/md.SelectData"
  1536. }
  1537. ]
  1538. }
  1539. }
  1540. },
  1541. "md.GetGreenEnergyUserCoinListReq": {
  1542. "type": "object",
  1543. "properties": {
  1544. "end_coin": {
  1545. "type": "string",
  1546. "example": "最大金额"
  1547. },
  1548. "kind": {
  1549. "description": "虚拟币种类编号",
  1550. "type": "integer"
  1551. },
  1552. "page": {
  1553. "description": "页数",
  1554. "type": "integer"
  1555. },
  1556. "page_size": {
  1557. "description": "单页大小",
  1558. "type": "integer"
  1559. },
  1560. "start_coin": {
  1561. "type": "string",
  1562. "example": "最小金额"
  1563. },
  1564. "uid": {
  1565. "description": "指定查询用户 ID",
  1566. "type": "integer"
  1567. },
  1568. "user_name": {
  1569. "type": "string",
  1570. "example": "用户名称"
  1571. },
  1572. "user_phone": {
  1573. "type": "string",
  1574. "example": "手机号"
  1575. }
  1576. }
  1577. },
  1578. "md.GetGreenEnergyUserCoinListResp": {
  1579. "type": "object",
  1580. "properties": {
  1581. "kind_list": {
  1582. "description": "货币类型集合",
  1583. "type": "array",
  1584. "items": {
  1585. "$ref": "#/definitions/md.VirtualCoinListNode"
  1586. }
  1587. },
  1588. "list": {
  1589. "description": "余额集合",
  1590. "type": "array",
  1591. "items": {
  1592. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1593. }
  1594. },
  1595. "sum_user_amount": {
  1596. "description": "用户持有总数",
  1597. "type": "number"
  1598. },
  1599. "total": {
  1600. "description": "持有该类型用户数",
  1601. "type": "integer"
  1602. }
  1603. }
  1604. },
  1605. "md.GetPublicPlatoonBasicResp": {
  1606. "type": "object",
  1607. "properties": {
  1608. "is_open": {
  1609. "description": "是否开启(1:开启 0:关闭)",
  1610. "type": "integer"
  1611. },
  1612. "is_self_active_get_team_revenue": {
  1613. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1614. "type": "integer"
  1615. },
  1616. "originator_uid": {
  1617. "description": "创始人uid",
  1618. "type": "integer"
  1619. },
  1620. "several_rows": {
  1621. "description": "几排",
  1622. "type": "integer"
  1623. },
  1624. "several_times": {
  1625. "description": "几乘",
  1626. "type": "integer"
  1627. },
  1628. "system_punish_replace": {
  1629. "description": "是否位置滑落 被新用户替换 0否 1是",
  1630. "type": "integer"
  1631. },
  1632. "system_punish_replace_value": {
  1633. "description": "xx天未活跃,处罚滑落",
  1634. "type": "integer"
  1635. }
  1636. }
  1637. },
  1638. "md.ListCommunityDividendsReq": {
  1639. "type": "object",
  1640. "properties": {
  1641. "end_at": {
  1642. "description": "结束时间",
  1643. "type": "string"
  1644. },
  1645. "end_nums": {
  1646. "description": "分红总量上限",
  1647. "type": "integer"
  1648. },
  1649. "limit": {
  1650. "description": "每页大小",
  1651. "type": "integer"
  1652. },
  1653. "page": {
  1654. "description": "页数",
  1655. "type": "integer"
  1656. },
  1657. "start_at": {
  1658. "description": "开始时间",
  1659. "type": "string"
  1660. },
  1661. "start_nums": {
  1662. "description": "分红总量下限",
  1663. "type": "integer"
  1664. }
  1665. }
  1666. },
  1667. "md.ListCommunityDividendsResp": {
  1668. "type": "object",
  1669. "properties": {
  1670. "list": {
  1671. "type": "array",
  1672. "items": {
  1673. "$ref": "#/definitions/md.EggEnergyCommunityDividends"
  1674. }
  1675. },
  1676. "paginate": {
  1677. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1678. }
  1679. }
  1680. },
  1681. "md.ListCommunityDividendsWithUserReq": {
  1682. "type": "object",
  1683. "properties": {
  1684. "limit": {
  1685. "type": "integer"
  1686. },
  1687. "page": {
  1688. "type": "integer"
  1689. },
  1690. "phone": {
  1691. "type": "string"
  1692. },
  1693. "uid": {
  1694. "type": "integer"
  1695. }
  1696. }
  1697. },
  1698. "md.ListCommunityDividendsWithUserResp": {
  1699. "type": "object",
  1700. "properties": {
  1701. "list": {
  1702. "type": "array",
  1703. "items": {
  1704. "$ref": "#/definitions/md.EggEnergyCommunityDividendsWithUser"
  1705. }
  1706. },
  1707. "paginate": {
  1708. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1709. }
  1710. }
  1711. },
  1712. "md.LoginReq": {
  1713. "type": "object",
  1714. "required": [
  1715. "password",
  1716. "username"
  1717. ],
  1718. "properties": {
  1719. "code": {
  1720. "type": "string",
  1721. "example": "验证码"
  1722. },
  1723. "password": {
  1724. "type": "string",
  1725. "example": "登录密码"
  1726. },
  1727. "username": {
  1728. "type": "string",
  1729. "example": "登录账号"
  1730. }
  1731. }
  1732. },
  1733. "md.LoginResponse": {
  1734. "type": "object",
  1735. "properties": {
  1736. "token": {
  1737. "type": "string"
  1738. }
  1739. }
  1740. },
  1741. "md.Response": {
  1742. "type": "object",
  1743. "properties": {
  1744. "code": {
  1745. "type": "string",
  1746. "example": "响应码"
  1747. },
  1748. "data": {
  1749. "description": "内容"
  1750. },
  1751. "msg": {
  1752. "type": "string",
  1753. "example": "具体错误原因"
  1754. }
  1755. }
  1756. },
  1757. "md.SelectData": {
  1758. "type": "object",
  1759. "properties": {
  1760. "direction": {
  1761. "type": "array",
  1762. "items": {
  1763. "type": "object",
  1764. "additionalProperties": {
  1765. "type": "string"
  1766. }
  1767. }
  1768. }
  1769. }
  1770. },
  1771. "md.SonUserDailyActivityAnalysisNode": {
  1772. "type": "object",
  1773. "properties": {
  1774. "activity_day_nums": {
  1775. "description": "活跃子节点活跃天数",
  1776. "type": "integer"
  1777. },
  1778. "nickname": {
  1779. "type": "string",
  1780. "example": "昵称"
  1781. },
  1782. "phone": {
  1783. "type": "string",
  1784. "example": "手机号"
  1785. },
  1786. "uid": {
  1787. "description": "查询用户活跃子节点 ID",
  1788. "type": "integer"
  1789. }
  1790. }
  1791. },
  1792. "md.SubUser": {
  1793. "type": "object",
  1794. "properties": {
  1795. "avatar_url": {
  1796. "type": "string",
  1797. "example": "头像"
  1798. },
  1799. "level": {
  1800. "description": "整个系统中的等级",
  1801. "type": "integer"
  1802. },
  1803. "nickname": {
  1804. "type": "string",
  1805. "example": "昵称"
  1806. },
  1807. "phone": {
  1808. "type": "string",
  1809. "example": "手机号"
  1810. },
  1811. "pid": {
  1812. "type": "integer"
  1813. },
  1814. "position": {
  1815. "description": "以pid1为创始人中网的位置",
  1816. "type": "integer"
  1817. },
  1818. "uid": {
  1819. "type": "integer"
  1820. }
  1821. }
  1822. },
  1823. "md.TreeNode": {
  1824. "type": "object",
  1825. "properties": {
  1826. "avatar_url": {
  1827. "type": "string",
  1828. "example": "头像"
  1829. },
  1830. "level": {
  1831. "type": "integer"
  1832. },
  1833. "nickname": {
  1834. "type": "string",
  1835. "example": "昵称"
  1836. },
  1837. "phone": {
  1838. "type": "string",
  1839. "example": "手机号"
  1840. },
  1841. "pid": {
  1842. "type": "integer"
  1843. },
  1844. "position": {
  1845. "type": "integer"
  1846. },
  1847. "son": {
  1848. "type": "array",
  1849. "items": {
  1850. "$ref": "#/definitions/md.TreeNode"
  1851. }
  1852. },
  1853. "system_id": {
  1854. "description": "公排网中id",
  1855. "type": "integer"
  1856. },
  1857. "uid": {
  1858. "type": "integer"
  1859. }
  1860. }
  1861. },
  1862. "md.UpdatePublicPlatoonBasicReq": {
  1863. "type": "object",
  1864. "properties": {
  1865. "is_open": {
  1866. "description": "是否开启(1:开启 0:关闭)",
  1867. "type": "integer"
  1868. },
  1869. "is_self_active_get_team_revenue": {
  1870. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1871. "type": "integer"
  1872. },
  1873. "originator_uid": {
  1874. "description": "创始人uid",
  1875. "type": "integer"
  1876. },
  1877. "several_rows": {
  1878. "description": "几排",
  1879. "type": "integer"
  1880. },
  1881. "several_times": {
  1882. "description": "几乘",
  1883. "type": "integer"
  1884. },
  1885. "system_punish_replace": {
  1886. "description": "是否位置滑落 被新用户替换 0否 1是",
  1887. "type": "integer"
  1888. },
  1889. "system_punish_replace_value": {
  1890. "description": "xx天未活跃,处罚滑落",
  1891. "type": "integer"
  1892. }
  1893. }
  1894. },
  1895. "md.UserDailyActivityAnalysisReq": {
  1896. "type": "object",
  1897. "properties": {
  1898. "end_date": {
  1899. "type": "string",
  1900. "example": "结束日期"
  1901. },
  1902. "page": {
  1903. "description": "页数",
  1904. "type": "integer"
  1905. },
  1906. "page_size": {
  1907. "description": "每页大小",
  1908. "type": "integer"
  1909. },
  1910. "start_date": {
  1911. "type": "string",
  1912. "example": "开始日期"
  1913. },
  1914. "uid": {
  1915. "description": "查询用户 ID",
  1916. "type": "integer"
  1917. }
  1918. }
  1919. },
  1920. "md.UserDailyActivityAnalysisResp": {
  1921. "type": "object",
  1922. "properties": {
  1923. "son_user_data": {
  1924. "description": "被查询用户子节点信息",
  1925. "type": "array",
  1926. "items": {
  1927. "$ref": "#/definitions/md.SonUserDailyActivityAnalysisNode"
  1928. }
  1929. },
  1930. "top_data": {
  1931. "description": "统计信息",
  1932. "allOf": [
  1933. {
  1934. "$ref": "#/definitions/md.DailyActivityAnalysisTopData"
  1935. }
  1936. ]
  1937. }
  1938. }
  1939. },
  1940. "md.UserVirtualCoinFlow": {
  1941. "type": "object",
  1942. "properties": {
  1943. "after_amount": {
  1944. "type": "string",
  1945. "example": "变更后数量"
  1946. },
  1947. "amount": {
  1948. "type": "string",
  1949. "example": "变更数量"
  1950. },
  1951. "before_amount": {
  1952. "type": "string",
  1953. "example": "变更前数量"
  1954. },
  1955. "coin_id": {
  1956. "description": "虚拟币 ID",
  1957. "type": "integer"
  1958. },
  1959. "create_at": {
  1960. "type": "string",
  1961. "example": "创建时间"
  1962. },
  1963. "direction": {
  1964. "description": "方向:1收入 2支出",
  1965. "type": "integer"
  1966. },
  1967. "id": {
  1968. "type": "integer"
  1969. },
  1970. "sys_fee": {
  1971. "type": "string",
  1972. "example": "手续费"
  1973. },
  1974. "title": {
  1975. "type": "string",
  1976. "example": "标题"
  1977. },
  1978. "transfer_type": {
  1979. "description": "转账类型",
  1980. "type": "integer"
  1981. },
  1982. "uid": {
  1983. "description": "用户 ID",
  1984. "type": "integer"
  1985. },
  1986. "update_at": {
  1987. "type": "string",
  1988. "example": "更新时间"
  1989. }
  1990. }
  1991. },
  1992. "md.VirtualCoinListNode": {
  1993. "type": "object",
  1994. "properties": {
  1995. "coin_id": {
  1996. "description": "货币类型 ID",
  1997. "type": "integer"
  1998. },
  1999. "kind": {
  2000. "description": "货币序号",
  2001. "type": "integer"
  2002. },
  2003. "name": {
  2004. "type": "string",
  2005. "example": "货币类型名称"
  2006. }
  2007. }
  2008. }
  2009. },
  2010. "securityDefinitions": {
  2011. "MasterID": {
  2012. "type": "apiKey",
  2013. "name": "MasterID",
  2014. "in": "header"
  2015. }
  2016. }
  2017. }