蛋蛋星球-客户端
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.
 
 
 
 
 
 

2016 line
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/eggEnergy/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. "example": "结束时间"
  1086. },
  1087. "kind": {
  1088. "description": "持有类型",
  1089. "type": "integer"
  1090. },
  1091. "page": {
  1092. "description": "页数",
  1093. "type": "integer"
  1094. },
  1095. "page_size": {
  1096. "description": "每页大小",
  1097. "type": "integer"
  1098. },
  1099. "start_at": {
  1100. "description": "开始时间",
  1101. "type": "string",
  1102. "example": "开始时间"
  1103. }
  1104. }
  1105. },
  1106. "md.DynamicDataFlowListResp": {
  1107. "type": "object",
  1108. "properties": {
  1109. "kind_list": {
  1110. "type": "array",
  1111. "items": {
  1112. "type": "object",
  1113. "additionalProperties": true
  1114. }
  1115. },
  1116. "list": {
  1117. "type": "array",
  1118. "items": {
  1119. "$ref": "#/definitions/md.EggEnergyAvailableEnergyFlow"
  1120. }
  1121. },
  1122. "paginate": {
  1123. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1124. }
  1125. }
  1126. },
  1127. "md.EggEnergyAvailableEnergyFlow": {
  1128. "type": "object",
  1129. "properties": {
  1130. "after_community_dividends": {
  1131. "type": "string"
  1132. },
  1133. "after_destruction_quantity_values": {
  1134. "type": "string"
  1135. },
  1136. "after_development_committee_values": {
  1137. "type": "string"
  1138. },
  1139. "after_marketplace_merchant_fund_values": {
  1140. "type": "string"
  1141. },
  1142. "after_marketplace_merchant_values": {
  1143. "type": "string"
  1144. },
  1145. "after_now_energy_total_nums": {
  1146. "type": "string"
  1147. },
  1148. "after_planet_total_value": {
  1149. "type": "string"
  1150. },
  1151. "after_price": {
  1152. "type": "string"
  1153. },
  1154. "after_public_welfare_and_charity_values": {
  1155. "type": "string"
  1156. },
  1157. "after_star_level_dividends_values": {
  1158. "type": "string"
  1159. },
  1160. "amount": {
  1161. "type": "string"
  1162. },
  1163. "before_community_dividends": {
  1164. "type": "string"
  1165. },
  1166. "before_destruction_quantity_values": {
  1167. "type": "string"
  1168. },
  1169. "before_development_committee_values": {
  1170. "type": "string"
  1171. },
  1172. "before_marketplace_merchant_fund_values": {
  1173. "type": "string"
  1174. },
  1175. "before_marketplace_merchant_values": {
  1176. "type": "string"
  1177. },
  1178. "before_now_energy_total_nums": {
  1179. "type": "string"
  1180. },
  1181. "before_planet_total_value": {
  1182. "type": "string"
  1183. },
  1184. "before_price": {
  1185. "type": "string"
  1186. },
  1187. "before_public_welfare_and_charity_values": {
  1188. "type": "string"
  1189. },
  1190. "before_star_level_dividends_values": {
  1191. "type": "string"
  1192. },
  1193. "create_time": {
  1194. "type": "string"
  1195. },
  1196. "id": {
  1197. "type": "integer"
  1198. },
  1199. "kind": {
  1200. "type": "integer"
  1201. },
  1202. "title": {
  1203. "type": "string"
  1204. }
  1205. }
  1206. },
  1207. "md.EggEnergyCommunityDividends": {
  1208. "type": "object",
  1209. "properties": {
  1210. "coin_id": {
  1211. "description": "虚拟币 id",
  1212. "type": "integer"
  1213. },
  1214. "create_at": {
  1215. "description": "分红时间",
  1216. "type": "string"
  1217. },
  1218. "id": {
  1219. "type": "integer"
  1220. },
  1221. "is_over": {
  1222. "description": "是否分红完毕",
  1223. "type": "integer"
  1224. },
  1225. "name": {
  1226. "type": "string",
  1227. "example": "名称"
  1228. },
  1229. "nums": {
  1230. "description": "分红数量",
  1231. "type": "integer"
  1232. },
  1233. "persons_num": {
  1234. "description": "分红人数",
  1235. "type": "integer"
  1236. },
  1237. "update_at": {
  1238. "type": "string"
  1239. }
  1240. }
  1241. },
  1242. "md.EggEnergyCommunityDividendsWithUser": {
  1243. "type": "object",
  1244. "properties": {
  1245. "id": {
  1246. "type": "integer"
  1247. },
  1248. "memo": {
  1249. "type": "string",
  1250. "example": "备注"
  1251. },
  1252. "nickname": {
  1253. "type": "string"
  1254. },
  1255. "phone": {
  1256. "type": "string"
  1257. },
  1258. "uid": {
  1259. "type": "integer"
  1260. }
  1261. }
  1262. },
  1263. "md.ExchangeUserPositionReq": {
  1264. "type": "object",
  1265. "properties": {
  1266. "position_1": {
  1267. "description": "位置1,具体值取返回数据中的 system_id",
  1268. "type": "integer"
  1269. },
  1270. "position_2": {
  1271. "description": "位置2,具体值取返回数据中的 system_id",
  1272. "type": "integer"
  1273. }
  1274. }
  1275. },
  1276. "md.FindSubUserRelationshipMapResp": {
  1277. "type": "object",
  1278. "properties": {
  1279. "basic_setting": {
  1280. "description": "公排设置",
  1281. "allOf": [
  1282. {
  1283. "$ref": "#/definitions/md.BasicSetting"
  1284. }
  1285. ]
  1286. },
  1287. "search_uid": {
  1288. "description": "查找的用户 ID",
  1289. "type": "string"
  1290. },
  1291. "sub_user": {
  1292. "description": "上级用户信息",
  1293. "allOf": [
  1294. {
  1295. "$ref": "#/definitions/md.SubUser"
  1296. }
  1297. ]
  1298. }
  1299. }
  1300. },
  1301. "md.FreePublishUserNode": {
  1302. "type": "object",
  1303. "properties": {
  1304. "nickname": {
  1305. "type": "string",
  1306. "example": "昵称"
  1307. },
  1308. "phone": {
  1309. "type": "string",
  1310. "example": "手机号"
  1311. },
  1312. "uid": {
  1313. "type": "integer"
  1314. }
  1315. }
  1316. },
  1317. "md.GetActivePointsUserCoinFlowListReq": {
  1318. "type": "object",
  1319. "properties": {
  1320. "coin_id": {
  1321. "description": "货币类型 ID",
  1322. "type": "integer"
  1323. },
  1324. "direction": {
  1325. "description": "流水方向:1收入 2支出",
  1326. "type": "integer"
  1327. },
  1328. "end_at": {
  1329. "description": "结束时间",
  1330. "type": "string"
  1331. },
  1332. "page": {
  1333. "description": "页数",
  1334. "type": "integer"
  1335. },
  1336. "page_size": {
  1337. "description": "每页大小",
  1338. "type": "integer"
  1339. },
  1340. "start_at": {
  1341. "description": "开始时间",
  1342. "type": "string"
  1343. },
  1344. "uid": {
  1345. "description": "用户 ID",
  1346. "type": "integer"
  1347. }
  1348. }
  1349. },
  1350. "md.GetActivePointsUserCoinFlowListResp": {
  1351. "type": "object",
  1352. "properties": {
  1353. "list": {
  1354. "description": "流水信息",
  1355. "type": "array",
  1356. "items": {
  1357. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1358. }
  1359. },
  1360. "paginate": {
  1361. "description": "分页信息",
  1362. "allOf": [
  1363. {
  1364. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1365. }
  1366. ]
  1367. },
  1368. "select_data": {
  1369. "description": "流水类型",
  1370. "allOf": [
  1371. {
  1372. "$ref": "#/definitions/md.SelectData"
  1373. }
  1374. ]
  1375. }
  1376. }
  1377. },
  1378. "md.GetActivePointsUserCoinListReq": {
  1379. "type": "object",
  1380. "properties": {
  1381. "end_coin": {
  1382. "type": "string",
  1383. "example": "最大金额"
  1384. },
  1385. "kind": {
  1386. "description": "虚拟币种类编号",
  1387. "type": "integer"
  1388. },
  1389. "page": {
  1390. "description": "页数",
  1391. "type": "integer"
  1392. },
  1393. "page_size": {
  1394. "description": "单页大小",
  1395. "type": "integer"
  1396. },
  1397. "start_coin": {
  1398. "type": "string",
  1399. "example": "最小金额"
  1400. },
  1401. "uid": {
  1402. "description": "指定查询用户 ID",
  1403. "type": "integer"
  1404. },
  1405. "user_name": {
  1406. "type": "string",
  1407. "example": "用户名称"
  1408. },
  1409. "user_phone": {
  1410. "type": "string",
  1411. "example": "手机号"
  1412. }
  1413. }
  1414. },
  1415. "md.GetActivePointsUserCoinListResp": {
  1416. "type": "object",
  1417. "properties": {
  1418. "kind_list": {
  1419. "description": "货币类型集合",
  1420. "type": "array",
  1421. "items": {
  1422. "$ref": "#/definitions/md.VirtualCoinListNode"
  1423. }
  1424. },
  1425. "list": {
  1426. "description": "余额集合",
  1427. "type": "array",
  1428. "items": {
  1429. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1430. }
  1431. },
  1432. "sum_user_amount": {
  1433. "description": "用户持有总数",
  1434. "type": "number"
  1435. },
  1436. "total": {
  1437. "description": "持有该类型用户数",
  1438. "type": "integer"
  1439. }
  1440. }
  1441. },
  1442. "md.GetFreePublishUserReq": {
  1443. "type": "object",
  1444. "properties": {
  1445. "limit": {
  1446. "description": "每页大小",
  1447. "type": "integer"
  1448. },
  1449. "page": {
  1450. "description": "当前页数",
  1451. "type": "integer"
  1452. },
  1453. "uid": {
  1454. "description": "筛选的用户 ID",
  1455. "type": "integer"
  1456. }
  1457. }
  1458. },
  1459. "md.GetFreePublishUserResp": {
  1460. "type": "object",
  1461. "properties": {
  1462. "list": {
  1463. "description": "免罚用户列表",
  1464. "type": "array",
  1465. "items": {
  1466. "$ref": "#/definitions/md.FreePublishUserNode"
  1467. }
  1468. },
  1469. "paginate": {
  1470. "description": "分页信息",
  1471. "allOf": [
  1472. {
  1473. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1474. }
  1475. ]
  1476. }
  1477. }
  1478. },
  1479. "md.GetGreenEnergyUserCoinFlowListReq": {
  1480. "type": "object",
  1481. "properties": {
  1482. "coin_id": {
  1483. "description": "货币类型 ID",
  1484. "type": "integer"
  1485. },
  1486. "direction": {
  1487. "description": "流水方向:1收入 2支出",
  1488. "type": "integer"
  1489. },
  1490. "end_at": {
  1491. "description": "结束时间",
  1492. "type": "string"
  1493. },
  1494. "page": {
  1495. "description": "页数",
  1496. "type": "integer"
  1497. },
  1498. "page_size": {
  1499. "description": "每页大小",
  1500. "type": "integer"
  1501. },
  1502. "start_at": {
  1503. "description": "开始时间",
  1504. "type": "string"
  1505. },
  1506. "uid": {
  1507. "description": "用户 ID",
  1508. "type": "integer"
  1509. }
  1510. }
  1511. },
  1512. "md.GetGreenEnergyUserCoinFlowListResp": {
  1513. "type": "object",
  1514. "properties": {
  1515. "list": {
  1516. "description": "流水信息",
  1517. "type": "array",
  1518. "items": {
  1519. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1520. }
  1521. },
  1522. "paginate": {
  1523. "description": "分页信息",
  1524. "allOf": [
  1525. {
  1526. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1527. }
  1528. ]
  1529. },
  1530. "select_data": {
  1531. "description": "流水类型",
  1532. "allOf": [
  1533. {
  1534. "$ref": "#/definitions/md.SelectData"
  1535. }
  1536. ]
  1537. }
  1538. }
  1539. },
  1540. "md.GetGreenEnergyUserCoinListReq": {
  1541. "type": "object",
  1542. "properties": {
  1543. "end_coin": {
  1544. "type": "string",
  1545. "example": "最大金额"
  1546. },
  1547. "kind": {
  1548. "description": "虚拟币种类编号",
  1549. "type": "integer"
  1550. },
  1551. "page": {
  1552. "description": "页数",
  1553. "type": "integer"
  1554. },
  1555. "page_size": {
  1556. "description": "单页大小",
  1557. "type": "integer"
  1558. },
  1559. "start_coin": {
  1560. "type": "string",
  1561. "example": "最小金额"
  1562. },
  1563. "uid": {
  1564. "description": "指定查询用户 ID",
  1565. "type": "integer"
  1566. },
  1567. "user_name": {
  1568. "type": "string",
  1569. "example": "用户名称"
  1570. },
  1571. "user_phone": {
  1572. "type": "string",
  1573. "example": "手机号"
  1574. }
  1575. }
  1576. },
  1577. "md.GetGreenEnergyUserCoinListResp": {
  1578. "type": "object",
  1579. "properties": {
  1580. "kind_list": {
  1581. "description": "货币类型集合",
  1582. "type": "array",
  1583. "items": {
  1584. "$ref": "#/definitions/md.VirtualCoinListNode"
  1585. }
  1586. },
  1587. "list": {
  1588. "description": "余额集合",
  1589. "type": "array",
  1590. "items": {
  1591. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1592. }
  1593. },
  1594. "sum_user_amount": {
  1595. "description": "用户持有总数",
  1596. "type": "number"
  1597. },
  1598. "total": {
  1599. "description": "持有该类型用户数",
  1600. "type": "integer"
  1601. }
  1602. }
  1603. },
  1604. "md.GetPublicPlatoonBasicResp": {
  1605. "type": "object",
  1606. "properties": {
  1607. "is_open": {
  1608. "description": "是否开启(1:开启 0:关闭)",
  1609. "type": "integer"
  1610. },
  1611. "is_self_active_get_team_revenue": {
  1612. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1613. "type": "integer"
  1614. },
  1615. "originator_uid": {
  1616. "description": "创始人uid",
  1617. "type": "integer"
  1618. },
  1619. "several_rows": {
  1620. "description": "几排",
  1621. "type": "integer"
  1622. },
  1623. "several_times": {
  1624. "description": "几乘",
  1625. "type": "integer"
  1626. },
  1627. "system_punish_replace": {
  1628. "description": "是否位置滑落 被新用户替换 0否 1是",
  1629. "type": "integer"
  1630. },
  1631. "system_punish_replace_value": {
  1632. "description": "xx天未活跃,处罚滑落",
  1633. "type": "integer"
  1634. }
  1635. }
  1636. },
  1637. "md.ListCommunityDividendsReq": {
  1638. "type": "object",
  1639. "properties": {
  1640. "end_at": {
  1641. "description": "结束时间",
  1642. "type": "string"
  1643. },
  1644. "end_nums": {
  1645. "description": "分红总量上限",
  1646. "type": "integer"
  1647. },
  1648. "limit": {
  1649. "description": "每页大小",
  1650. "type": "integer"
  1651. },
  1652. "page": {
  1653. "description": "页数",
  1654. "type": "integer"
  1655. },
  1656. "start_at": {
  1657. "description": "开始时间",
  1658. "type": "string"
  1659. },
  1660. "start_nums": {
  1661. "description": "分红总量下限",
  1662. "type": "integer"
  1663. }
  1664. }
  1665. },
  1666. "md.ListCommunityDividendsResp": {
  1667. "type": "object",
  1668. "properties": {
  1669. "list": {
  1670. "type": "array",
  1671. "items": {
  1672. "$ref": "#/definitions/md.EggEnergyCommunityDividends"
  1673. }
  1674. },
  1675. "paginate": {
  1676. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1677. }
  1678. }
  1679. },
  1680. "md.ListCommunityDividendsWithUserReq": {
  1681. "type": "object",
  1682. "properties": {
  1683. "limit": {
  1684. "type": "integer"
  1685. },
  1686. "page": {
  1687. "type": "integer"
  1688. },
  1689. "phone": {
  1690. "type": "string"
  1691. },
  1692. "uid": {
  1693. "type": "integer"
  1694. }
  1695. }
  1696. },
  1697. "md.ListCommunityDividendsWithUserResp": {
  1698. "type": "object",
  1699. "properties": {
  1700. "list": {
  1701. "type": "array",
  1702. "items": {
  1703. "$ref": "#/definitions/md.EggEnergyCommunityDividendsWithUser"
  1704. }
  1705. },
  1706. "paginate": {
  1707. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1708. }
  1709. }
  1710. },
  1711. "md.LoginReq": {
  1712. "type": "object",
  1713. "required": [
  1714. "password",
  1715. "username"
  1716. ],
  1717. "properties": {
  1718. "code": {
  1719. "type": "string",
  1720. "example": "验证码"
  1721. },
  1722. "password": {
  1723. "type": "string",
  1724. "example": "登录密码"
  1725. },
  1726. "username": {
  1727. "type": "string",
  1728. "example": "登录账号"
  1729. }
  1730. }
  1731. },
  1732. "md.LoginResponse": {
  1733. "type": "object",
  1734. "properties": {
  1735. "token": {
  1736. "type": "string"
  1737. }
  1738. }
  1739. },
  1740. "md.Response": {
  1741. "type": "object",
  1742. "properties": {
  1743. "code": {
  1744. "type": "string",
  1745. "example": "响应码"
  1746. },
  1747. "data": {
  1748. "description": "内容"
  1749. },
  1750. "msg": {
  1751. "type": "string",
  1752. "example": "具体错误原因"
  1753. }
  1754. }
  1755. },
  1756. "md.SelectData": {
  1757. "type": "object",
  1758. "properties": {
  1759. "direction": {
  1760. "type": "array",
  1761. "items": {
  1762. "type": "object",
  1763. "additionalProperties": {
  1764. "type": "string"
  1765. }
  1766. }
  1767. }
  1768. }
  1769. },
  1770. "md.SonUserDailyActivityAnalysisNode": {
  1771. "type": "object",
  1772. "properties": {
  1773. "activity_day_nums": {
  1774. "description": "活跃子节点活跃天数",
  1775. "type": "integer"
  1776. },
  1777. "nickname": {
  1778. "type": "string",
  1779. "example": "昵称"
  1780. },
  1781. "phone": {
  1782. "type": "string",
  1783. "example": "手机号"
  1784. },
  1785. "uid": {
  1786. "description": "查询用户活跃子节点 ID",
  1787. "type": "integer"
  1788. }
  1789. }
  1790. },
  1791. "md.SubUser": {
  1792. "type": "object",
  1793. "properties": {
  1794. "avatar_url": {
  1795. "type": "string",
  1796. "example": "头像"
  1797. },
  1798. "level": {
  1799. "description": "整个系统中的等级",
  1800. "type": "integer"
  1801. },
  1802. "nickname": {
  1803. "type": "string",
  1804. "example": "昵称"
  1805. },
  1806. "phone": {
  1807. "type": "string",
  1808. "example": "手机号"
  1809. },
  1810. "pid": {
  1811. "type": "integer"
  1812. },
  1813. "position": {
  1814. "description": "以pid1为创始人中网的位置",
  1815. "type": "integer"
  1816. },
  1817. "uid": {
  1818. "type": "integer"
  1819. }
  1820. }
  1821. },
  1822. "md.TreeNode": {
  1823. "type": "object",
  1824. "properties": {
  1825. "avatar_url": {
  1826. "type": "string",
  1827. "example": "头像"
  1828. },
  1829. "level": {
  1830. "type": "integer"
  1831. },
  1832. "nickname": {
  1833. "type": "string",
  1834. "example": "昵称"
  1835. },
  1836. "phone": {
  1837. "type": "string",
  1838. "example": "手机号"
  1839. },
  1840. "pid": {
  1841. "type": "integer"
  1842. },
  1843. "position": {
  1844. "type": "integer"
  1845. },
  1846. "son": {
  1847. "type": "array",
  1848. "items": {
  1849. "$ref": "#/definitions/md.TreeNode"
  1850. }
  1851. },
  1852. "system_id": {
  1853. "description": "公排网中id",
  1854. "type": "integer"
  1855. },
  1856. "uid": {
  1857. "type": "integer"
  1858. }
  1859. }
  1860. },
  1861. "md.UpdatePublicPlatoonBasicReq": {
  1862. "type": "object",
  1863. "properties": {
  1864. "is_open": {
  1865. "description": "是否开启(1:开启 0:关闭)",
  1866. "type": "integer"
  1867. },
  1868. "is_self_active_get_team_revenue": {
  1869. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1870. "type": "integer"
  1871. },
  1872. "originator_uid": {
  1873. "description": "创始人uid",
  1874. "type": "integer"
  1875. },
  1876. "several_rows": {
  1877. "description": "几排",
  1878. "type": "integer"
  1879. },
  1880. "several_times": {
  1881. "description": "几乘",
  1882. "type": "integer"
  1883. },
  1884. "system_punish_replace": {
  1885. "description": "是否位置滑落 被新用户替换 0否 1是",
  1886. "type": "integer"
  1887. },
  1888. "system_punish_replace_value": {
  1889. "description": "xx天未活跃,处罚滑落",
  1890. "type": "integer"
  1891. }
  1892. }
  1893. },
  1894. "md.UserDailyActivityAnalysisReq": {
  1895. "type": "object",
  1896. "properties": {
  1897. "end_date": {
  1898. "type": "string",
  1899. "example": "结束日期"
  1900. },
  1901. "page": {
  1902. "description": "页数",
  1903. "type": "integer"
  1904. },
  1905. "page_size": {
  1906. "description": "每页大小",
  1907. "type": "integer"
  1908. },
  1909. "start_date": {
  1910. "type": "string",
  1911. "example": "开始日期"
  1912. },
  1913. "uid": {
  1914. "description": "查询用户 ID",
  1915. "type": "integer"
  1916. }
  1917. }
  1918. },
  1919. "md.UserDailyActivityAnalysisResp": {
  1920. "type": "object",
  1921. "properties": {
  1922. "son_user_data": {
  1923. "description": "被查询用户子节点信息",
  1924. "type": "array",
  1925. "items": {
  1926. "$ref": "#/definitions/md.SonUserDailyActivityAnalysisNode"
  1927. }
  1928. },
  1929. "top_data": {
  1930. "description": "统计信息",
  1931. "allOf": [
  1932. {
  1933. "$ref": "#/definitions/md.DailyActivityAnalysisTopData"
  1934. }
  1935. ]
  1936. }
  1937. }
  1938. },
  1939. "md.UserVirtualCoinFlow": {
  1940. "type": "object",
  1941. "properties": {
  1942. "after_amount": {
  1943. "type": "string",
  1944. "example": "变更后数量"
  1945. },
  1946. "amount": {
  1947. "type": "string",
  1948. "example": "变更数量"
  1949. },
  1950. "before_amount": {
  1951. "type": "string",
  1952. "example": "变更前数量"
  1953. },
  1954. "coin_id": {
  1955. "description": "虚拟币 ID",
  1956. "type": "integer"
  1957. },
  1958. "create_at": {
  1959. "type": "string",
  1960. "example": "创建时间"
  1961. },
  1962. "direction": {
  1963. "description": "方向:1收入 2支出",
  1964. "type": "integer"
  1965. },
  1966. "id": {
  1967. "type": "integer"
  1968. },
  1969. "sys_fee": {
  1970. "type": "string",
  1971. "example": "手续费"
  1972. },
  1973. "title": {
  1974. "type": "string",
  1975. "example": "标题"
  1976. },
  1977. "transfer_type": {
  1978. "description": "转账类型",
  1979. "type": "integer"
  1980. },
  1981. "uid": {
  1982. "description": "用户 ID",
  1983. "type": "integer"
  1984. },
  1985. "update_at": {
  1986. "type": "string",
  1987. "example": "更新时间"
  1988. }
  1989. }
  1990. },
  1991. "md.VirtualCoinListNode": {
  1992. "type": "object",
  1993. "properties": {
  1994. "coin_id": {
  1995. "description": "货币类型 ID",
  1996. "type": "integer"
  1997. },
  1998. "kind": {
  1999. "description": "货币序号",
  2000. "type": "integer"
  2001. },
  2002. "name": {
  2003. "type": "string",
  2004. "example": "货币类型名称"
  2005. }
  2006. }
  2007. }
  2008. },
  2009. "securityDefinitions": {
  2010. "MasterID": {
  2011. "type": "apiKey",
  2012. "name": "MasterID",
  2013. "in": "header"
  2014. }
  2015. }
  2016. }