蛋蛋星球-客户端
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

2439 lignes
84 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. "responses": {
  82. "200": {
  83. "description": "成功返回",
  84. "schema": {
  85. "type": "array",
  86. "items": {
  87. "$ref": "#/definitions/md.VirtualCoin"
  88. }
  89. }
  90. },
  91. "400": {
  92. "description": "具体错误",
  93. "schema": {
  94. "$ref": "#/definitions/md.Response"
  95. }
  96. }
  97. }
  98. }
  99. },
  100. "/api/institutionalManagement/eggEnergy/getBasic": {
  101. "get": {
  102. "description": "基础设置(获取)",
  103. "consumes": [
  104. "application/json"
  105. ],
  106. "produces": [
  107. "application/json"
  108. ],
  109. "tags": [
  110. "蛋蛋能量"
  111. ],
  112. "summary": "制度中心-蛋蛋能量-基础设置(获取)",
  113. "parameters": [
  114. {
  115. "type": "string",
  116. "description": "验证参数Bearer和token空格拼接",
  117. "name": "Authorization",
  118. "in": "header",
  119. "required": true
  120. }
  121. ],
  122. "responses": {
  123. "200": {
  124. "description": "具体数据",
  125. "schema": {
  126. "$ref": "#/definitions/md.GetEggEnergyBasicResp"
  127. }
  128. },
  129. "400": {
  130. "description": "具体错误",
  131. "schema": {
  132. "$ref": "#/definitions/md.Response"
  133. }
  134. }
  135. }
  136. }
  137. },
  138. "/api/institutionalManagement/eggEnergy/updateBasic": {
  139. "post": {
  140. "description": "基础设置(获取)",
  141. "consumes": [
  142. "application/json"
  143. ],
  144. "produces": [
  145. "application/json"
  146. ],
  147. "tags": [
  148. "蛋蛋能量"
  149. ],
  150. "summary": "制度中心-蛋蛋能量-基础设置(获取)",
  151. "parameters": [
  152. {
  153. "type": "string",
  154. "description": "验证参数Bearer和token空格拼接",
  155. "name": "Authorization",
  156. "in": "header",
  157. "required": true
  158. },
  159. {
  160. "description": "system_id 必填",
  161. "name": "req",
  162. "in": "body",
  163. "required": true,
  164. "schema": {
  165. "$ref": "#/definitions/md.UpdateEggEnergyBasicReq"
  166. }
  167. }
  168. ],
  169. "responses": {
  170. "200": {
  171. "description": "修改数据条数",
  172. "schema": {
  173. "type": "int"
  174. }
  175. },
  176. "400": {
  177. "description": "具体错误",
  178. "schema": {
  179. "$ref": "#/definitions/md.Response"
  180. }
  181. }
  182. }
  183. }
  184. },
  185. "/api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinFlowList": {
  186. "post": {
  187. "description": "活跃积分持有流水(查询)",
  188. "consumes": [
  189. "application/json"
  190. ],
  191. "produces": [
  192. "application/json"
  193. ],
  194. "tags": [
  195. "公排管理"
  196. ],
  197. "summary": "制度中心-活跃积分持有者明细-活跃积分持有流水(查询)",
  198. "parameters": [
  199. {
  200. "type": "string",
  201. "description": "验证参数Bearer和token空格拼接",
  202. "name": "Authorization",
  203. "in": "header",
  204. "required": true
  205. },
  206. {
  207. "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小",
  208. "name": "req",
  209. "in": "body",
  210. "required": true,
  211. "schema": {
  212. "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListReq"
  213. }
  214. }
  215. ],
  216. "responses": {
  217. "200": {
  218. "description": "成功返回",
  219. "schema": {
  220. "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListResp"
  221. }
  222. },
  223. "400": {
  224. "description": "具体错误",
  225. "schema": {
  226. "$ref": "#/definitions/md.Response"
  227. }
  228. }
  229. }
  230. }
  231. },
  232. "/api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinList": {
  233. "post": {
  234. "description": "活跃积分持有(获取)",
  235. "consumes": [
  236. "application/json"
  237. ],
  238. "produces": [
  239. "application/json"
  240. ],
  241. "tags": [
  242. "公排管理"
  243. ],
  244. "summary": "制度中心-活跃积分持有者明细-活跃积分持有(获取)",
  245. "parameters": [
  246. {
  247. "type": "string",
  248. "description": "验证参数Bearer和token空格拼接",
  249. "name": "Authorization",
  250. "in": "header",
  251. "required": true
  252. },
  253. {
  254. "description": "落地页不填页大小默认20条数据",
  255. "name": "req",
  256. "in": "body",
  257. "schema": {
  258. "$ref": "#/definitions/md.GetActivePointsUserCoinListReq"
  259. }
  260. }
  261. ],
  262. "responses": {
  263. "200": {
  264. "description": "成功返回",
  265. "schema": {
  266. "$ref": "#/definitions/md.GetActivePointsUserCoinListResp"
  267. }
  268. },
  269. "400": {
  270. "description": "具体错误",
  271. "schema": {
  272. "$ref": "#/definitions/md.Response"
  273. }
  274. }
  275. }
  276. }
  277. },
  278. "/api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinFlowList": {
  279. "post": {
  280. "description": "绿色能量持有流水(查询)",
  281. "consumes": [
  282. "application/json"
  283. ],
  284. "produces": [
  285. "application/json"
  286. ],
  287. "tags": [
  288. "公排管理"
  289. ],
  290. "summary": "制度中心-绿色能量持有者明细-绿色能量持有流水(查询)",
  291. "parameters": [
  292. {
  293. "type": "string",
  294. "description": "验证参数Bearer和token空格拼接",
  295. "name": "Authorization",
  296. "in": "header",
  297. "required": true
  298. },
  299. {
  300. "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小",
  301. "name": "req",
  302. "in": "body",
  303. "required": true,
  304. "schema": {
  305. "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListReq"
  306. }
  307. }
  308. ],
  309. "responses": {
  310. "200": {
  311. "description": "成功返回",
  312. "schema": {
  313. "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListResp"
  314. }
  315. },
  316. "400": {
  317. "description": "具体错误",
  318. "schema": {
  319. "$ref": "#/definitions/md.Response"
  320. }
  321. }
  322. }
  323. }
  324. },
  325. "/api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinList": {
  326. "post": {
  327. "description": "绿色能量(获取)",
  328. "consumes": [
  329. "application/json"
  330. ],
  331. "produces": [
  332. "application/json"
  333. ],
  334. "tags": [
  335. "公排管理"
  336. ],
  337. "summary": "制度中心-绿色能量持有者明细-绿色能量(获取)",
  338. "parameters": [
  339. {
  340. "type": "string",
  341. "description": "验证参数Bearer和token空格拼接",
  342. "name": "Authorization",
  343. "in": "header",
  344. "required": true
  345. },
  346. {
  347. "description": "落地页不填页大小默认20条数据",
  348. "name": "req",
  349. "in": "body",
  350. "schema": {
  351. "$ref": "#/definitions/md.GetGreenEnergyUserCoinListReq"
  352. }
  353. }
  354. ],
  355. "responses": {
  356. "200": {
  357. "description": "成功返回",
  358. "schema": {
  359. "$ref": "#/definitions/md.GetGreenEnergyUserCoinListResp"
  360. }
  361. },
  362. "400": {
  363. "description": "具体错误",
  364. "schema": {
  365. "$ref": "#/definitions/md.Response"
  366. }
  367. }
  368. }
  369. }
  370. },
  371. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd": {
  372. "post": {
  373. "description": "社区分红(新增)",
  374. "consumes": [
  375. "application/json"
  376. ],
  377. "produces": [
  378. "application/json"
  379. ],
  380. "tags": [
  381. "公排管理"
  382. ],
  383. "summary": "制度中心-公排管理-社区分红(新增)",
  384. "parameters": [
  385. {
  386. "type": "string",
  387. "description": "验证参数Bearer和token空格拼接",
  388. "name": "Authorization",
  389. "in": "header",
  390. "required": true
  391. },
  392. {
  393. "description": "分红名称、分红总量",
  394. "name": "req",
  395. "in": "body",
  396. "required": true,
  397. "schema": {
  398. "$ref": "#/definitions/md.AddCommunityDividendsReq"
  399. }
  400. }
  401. ],
  402. "responses": {
  403. "200": {
  404. "description": "成功",
  405. "schema": {
  406. "type": "success"
  407. }
  408. },
  409. "400": {
  410. "description": "具体错误",
  411. "schema": {
  412. "$ref": "#/definitions/md.Response"
  413. }
  414. }
  415. }
  416. }
  417. },
  418. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsList": {
  419. "post": {
  420. "description": "社区分红(查询)",
  421. "consumes": [
  422. "application/json"
  423. ],
  424. "produces": [
  425. "application/json"
  426. ],
  427. "tags": [
  428. "公排管理"
  429. ],
  430. "summary": "制度中心-公排管理-社区分红(查询)",
  431. "parameters": [
  432. {
  433. "type": "string",
  434. "description": "验证参数Bearer和token空格拼接",
  435. "name": "Authorization",
  436. "in": "header",
  437. "required": true
  438. },
  439. {
  440. "description": "页数、每页大小必填 起止时间、起止数量选填",
  441. "name": "req",
  442. "in": "body",
  443. "required": true,
  444. "schema": {
  445. "$ref": "#/definitions/md.ListCommunityDividendsReq"
  446. }
  447. }
  448. ],
  449. "responses": {
  450. "200": {
  451. "description": "具体数据",
  452. "schema": {
  453. "$ref": "#/definitions/md.ListCommunityDividendsResp"
  454. }
  455. },
  456. "400": {
  457. "description": "具体错误",
  458. "schema": {
  459. "$ref": "#/definitions/md.Response"
  460. }
  461. }
  462. }
  463. }
  464. },
  465. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserAdd": {
  466. "post": {
  467. "description": "社区长列表(新增)",
  468. "consumes": [
  469. "application/json"
  470. ],
  471. "produces": [
  472. "application/json"
  473. ],
  474. "tags": [
  475. "公排管理"
  476. ],
  477. "summary": "制度中心-公排管理-社区长列表(新增)",
  478. "parameters": [
  479. {
  480. "type": "string",
  481. "description": "验证参数Bearer和token空格拼接",
  482. "name": "Authorization",
  483. "in": "header",
  484. "required": true
  485. },
  486. {
  487. "description": "新增社区长 ID、备注",
  488. "name": "req",
  489. "in": "body",
  490. "required": true,
  491. "schema": {
  492. "$ref": "#/definitions/md.AddCommunityDividendsWithUserReq"
  493. }
  494. }
  495. ],
  496. "responses": {
  497. "200": {
  498. "description": "插入数据 ID",
  499. "schema": {
  500. "type": "int"
  501. }
  502. },
  503. "400": {
  504. "description": "具体错误",
  505. "schema": {
  506. "$ref": "#/definitions/md.Response"
  507. }
  508. }
  509. }
  510. }
  511. },
  512. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserList": {
  513. "post": {
  514. "description": "社区长列表(查询)",
  515. "consumes": [
  516. "application/json"
  517. ],
  518. "produces": [
  519. "application/json"
  520. ],
  521. "tags": [
  522. "公排管理"
  523. ],
  524. "summary": "制度中心-公排管理-社区长列表(查询)",
  525. "parameters": [
  526. {
  527. "type": "string",
  528. "description": "验证参数Bearer和token空格拼接",
  529. "name": "Authorization",
  530. "in": "header",
  531. "required": true
  532. },
  533. {
  534. "description": "页数、每页大小必填 手机号、用户ID选填",
  535. "name": "req",
  536. "in": "body",
  537. "required": true,
  538. "schema": {
  539. "$ref": "#/definitions/md.ListCommunityDividendsWithUserReq"
  540. }
  541. }
  542. ],
  543. "responses": {
  544. "200": {
  545. "description": "社区长列表",
  546. "schema": {
  547. "$ref": "#/definitions/md.ListCommunityDividendsWithUserResp"
  548. }
  549. },
  550. "400": {
  551. "description": "具体错误",
  552. "schema": {
  553. "$ref": "#/definitions/md.Response"
  554. }
  555. }
  556. }
  557. }
  558. },
  559. "/api/institutionalManagement/publicPlatoon/exchangeUserPosition": {
  560. "post": {
  561. "description": "关系分布图(位置转换)",
  562. "consumes": [
  563. "application/json"
  564. ],
  565. "produces": [
  566. "application/json"
  567. ],
  568. "tags": [
  569. "公排管理"
  570. ],
  571. "summary": "制度中心-公排管理-关系分布图(位置转换)",
  572. "parameters": [
  573. {
  574. "type": "string",
  575. "description": "验证参数Bearer和token空格拼接",
  576. "name": "Authorization",
  577. "in": "header",
  578. "required": true
  579. },
  580. {
  581. "description": "需要交换的两个位置",
  582. "name": "req",
  583. "in": "body",
  584. "required": true,
  585. "schema": {
  586. "$ref": "#/definitions/md.ExchangeUserPositionReq"
  587. }
  588. }
  589. ],
  590. "responses": {
  591. "200": {
  592. "description": "成功返回",
  593. "schema": {
  594. "type": ""
  595. }
  596. },
  597. "400": {
  598. "description": "具体错误",
  599. "schema": {
  600. "$ref": "#/definitions/md.Response"
  601. }
  602. }
  603. }
  604. }
  605. },
  606. "/api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap": {
  607. "get": {
  608. "description": "关系分布图(获取指定用户上级)",
  609. "consumes": [
  610. "application/json"
  611. ],
  612. "produces": [
  613. "application/json"
  614. ],
  615. "tags": [
  616. "公排管理"
  617. ],
  618. "summary": "制度中心-公排管理-关系分布图(获取指定用户上级)",
  619. "parameters": [
  620. {
  621. "type": "string",
  622. "description": "验证参数Bearer和token空格拼接",
  623. "name": "Authorization",
  624. "in": "header",
  625. "required": true
  626. },
  627. {
  628. "type": "string",
  629. "description": "用户ID",
  630. "name": "uid",
  631. "in": "query",
  632. "required": true
  633. }
  634. ],
  635. "responses": {
  636. "200": {
  637. "description": "具体数据",
  638. "schema": {
  639. "$ref": "#/definitions/md.FindSubUserRelationshipMapResp"
  640. }
  641. },
  642. "400": {
  643. "description": "具体错误",
  644. "schema": {
  645. "$ref": "#/definitions/md.Response"
  646. }
  647. }
  648. }
  649. }
  650. },
  651. "/api/institutionalManagement/publicPlatoon/findUserRelationshipMap": {
  652. "get": {
  653. "description": "关系分布图(获取指定用户下级)",
  654. "consumes": [
  655. "application/json"
  656. ],
  657. "produces": [
  658. "application/json"
  659. ],
  660. "tags": [
  661. "公排管理"
  662. ],
  663. "summary": "制度中心-公排管理-关系分布图(获取指定用户下级)",
  664. "parameters": [
  665. {
  666. "type": "string",
  667. "description": "验证参数Bearer和token空格拼接",
  668. "name": "Authorization",
  669. "in": "header",
  670. "required": true
  671. },
  672. {
  673. "type": "string",
  674. "description": "用户ID",
  675. "name": "uid",
  676. "in": "query",
  677. "required": true
  678. }
  679. ],
  680. "responses": {
  681. "200": {
  682. "description": "具体数据",
  683. "schema": {
  684. "$ref": "#/definitions/md.TreeNode"
  685. }
  686. },
  687. "400": {
  688. "description": "具体错误",
  689. "schema": {
  690. "$ref": "#/definitions/md.Response"
  691. }
  692. }
  693. }
  694. }
  695. },
  696. "/api/institutionalManagement/publicPlatoon/getBasic": {
  697. "get": {
  698. "description": "公排基础设置(获取)",
  699. "consumes": [
  700. "application/json"
  701. ],
  702. "produces": [
  703. "application/json"
  704. ],
  705. "tags": [
  706. "公排管理"
  707. ],
  708. "summary": "制度中心-公排管理-公排基础设置(获取)",
  709. "parameters": [
  710. {
  711. "type": "string",
  712. "description": "验证参数Bearer和token空格拼接",
  713. "name": "Authorization",
  714. "in": "header",
  715. "required": true
  716. }
  717. ],
  718. "responses": {
  719. "200": {
  720. "description": "具体数据",
  721. "schema": {
  722. "$ref": "#/definitions/md.GetPublicPlatoonBasicResp"
  723. }
  724. },
  725. "400": {
  726. "description": "具体错误",
  727. "schema": {
  728. "$ref": "#/definitions/md.Response"
  729. }
  730. }
  731. }
  732. }
  733. },
  734. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index": {
  735. "post": {
  736. "description": "免罚用户(查询)",
  737. "consumes": [
  738. "application/json"
  739. ],
  740. "produces": [
  741. "application/json"
  742. ],
  743. "tags": [
  744. "公排管理"
  745. ],
  746. "summary": "制度中心-公排管理-免罚用户(查询)",
  747. "parameters": [
  748. {
  749. "type": "string",
  750. "description": "验证参数Bearer和token空格拼接",
  751. "name": "Authorization",
  752. "in": "header",
  753. "required": true
  754. },
  755. {
  756. "description": "页数和行数必填,uid选填",
  757. "name": "req",
  758. "in": "body",
  759. "required": true,
  760. "schema": {
  761. "$ref": "#/definitions/md.GetFreePublishUserReq"
  762. }
  763. }
  764. ],
  765. "responses": {
  766. "200": {
  767. "description": "成功返回",
  768. "schema": {
  769. "$ref": "#/definitions/md.GetFreePublishUserResp"
  770. }
  771. },
  772. "400": {
  773. "description": "具体错误",
  774. "schema": {
  775. "$ref": "#/definitions/md.Response"
  776. }
  777. }
  778. }
  779. }
  780. },
  781. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save": {
  782. "post": {
  783. "description": "免罚用户(新增)",
  784. "consumes": [
  785. "application/json"
  786. ],
  787. "produces": [
  788. "application/json"
  789. ],
  790. "tags": [
  791. "公排管理"
  792. ],
  793. "summary": "制度中心-公排管理-免罚用户(新增)",
  794. "parameters": [
  795. {
  796. "type": "string",
  797. "description": "验证参数Bearer和token空格拼接",
  798. "name": "Authorization",
  799. "in": "header",
  800. "required": true
  801. },
  802. {
  803. "description": "页数和行数必填,uid选填",
  804. "name": "req",
  805. "in": "body",
  806. "required": true,
  807. "schema": {
  808. "$ref": "#/definitions/md.AddFreePublishUserReq"
  809. }
  810. }
  811. ],
  812. "responses": {
  813. "200": {
  814. "description": "插入数据 ID",
  815. "schema": {
  816. "type": "int"
  817. }
  818. },
  819. "400": {
  820. "description": "具体错误",
  821. "schema": {
  822. "$ref": "#/definitions/md.Response"
  823. }
  824. }
  825. }
  826. }
  827. },
  828. "/api/institutionalManagement/publicPlatoon/relationshipMap": {
  829. "get": {
  830. "description": "关系分布图(获取)",
  831. "consumes": [
  832. "application/json"
  833. ],
  834. "produces": [
  835. "application/json"
  836. ],
  837. "tags": [
  838. "公排管理"
  839. ],
  840. "summary": "制度中心-公排管理-关系分布图(获取)",
  841. "parameters": [
  842. {
  843. "type": "string",
  844. "description": "验证参数Bearer和token空格拼接",
  845. "name": "Authorization",
  846. "in": "header",
  847. "required": true
  848. },
  849. {
  850. "type": "string",
  851. "description": "phone",
  852. "name": "phone",
  853. "in": "query",
  854. "required": true
  855. },
  856. {
  857. "type": "string",
  858. "description": "uid",
  859. "name": "uid",
  860. "in": "query",
  861. "required": true
  862. }
  863. ],
  864. "responses": {
  865. "200": {
  866. "description": "具体数据",
  867. "schema": {
  868. "$ref": "#/definitions/md.TreeNode"
  869. }
  870. },
  871. "400": {
  872. "description": "具体错误",
  873. "schema": {
  874. "$ref": "#/definitions/md.Response"
  875. }
  876. }
  877. }
  878. }
  879. },
  880. "/api/institutionalManagement/publicPlatoon/updateBasic": {
  881. "put": {
  882. "description": "公排基础设置(修改)",
  883. "consumes": [
  884. "application/json"
  885. ],
  886. "produces": [
  887. "application/json"
  888. ],
  889. "tags": [
  890. "公排管理"
  891. ],
  892. "summary": "制度中心-公排管理-公排基础设置(修改)",
  893. "parameters": [
  894. {
  895. "type": "string",
  896. "description": "验证参数Bearer和token空格拼接",
  897. "name": "Authorization",
  898. "in": "header",
  899. "required": true
  900. },
  901. {
  902. "description": "公排设置表单内容",
  903. "name": "req",
  904. "in": "body",
  905. "required": true,
  906. "schema": {
  907. "$ref": "#/definitions/md.UpdatePublicPlatoonBasicReq"
  908. }
  909. }
  910. ],
  911. "responses": {
  912. "200": {
  913. "description": "success",
  914. "schema": {
  915. "type": "string"
  916. }
  917. },
  918. "400": {
  919. "description": "具体错误",
  920. "schema": {
  921. "$ref": "#/definitions/md.Response"
  922. }
  923. }
  924. }
  925. }
  926. },
  927. "/api/institutionalManagement/publicPlatoon/userDailyActivityAnalysis/index": {
  928. "post": {
  929. "description": "日活分析",
  930. "consumes": [
  931. "application/json"
  932. ],
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "公排管理"
  938. ],
  939. "summary": "制度中心-公排管理-日活分析",
  940. "parameters": [
  941. {
  942. "type": "string",
  943. "description": "验证参数Bearer和token空格拼接",
  944. "name": "Authorization",
  945. "in": "header",
  946. "required": true
  947. },
  948. {
  949. "description": "用户 ID、查询开始时间、结束时间(查询时间不超过30天)、页数、每页大小",
  950. "name": "req",
  951. "in": "body",
  952. "required": true,
  953. "schema": {
  954. "$ref": "#/definitions/md.UserDailyActivityAnalysisReq"
  955. }
  956. }
  957. ],
  958. "responses": {
  959. "200": {
  960. "description": "具体数据",
  961. "schema": {
  962. "$ref": "#/definitions/md.UserDailyActivityAnalysisResp"
  963. }
  964. },
  965. "400": {
  966. "description": "具体错误",
  967. "schema": {
  968. "$ref": "#/definitions/md.Response"
  969. }
  970. }
  971. }
  972. }
  973. },
  974. "/api/login": {
  975. "post": {
  976. "description": "登入",
  977. "consumes": [
  978. "application/json"
  979. ],
  980. "produces": [
  981. "application/json"
  982. ],
  983. "tags": [
  984. "登录"
  985. ],
  986. "summary": "登陆",
  987. "parameters": [
  988. {
  989. "description": "用户名密码",
  990. "name": "req",
  991. "in": "body",
  992. "required": true,
  993. "schema": {
  994. "$ref": "#/definitions/md.LoginReq"
  995. }
  996. }
  997. ],
  998. "responses": {
  999. "200": {
  1000. "description": "token",
  1001. "schema": {
  1002. "$ref": "#/definitions/md.LoginResponse"
  1003. }
  1004. },
  1005. "400": {
  1006. "description": "具体错误",
  1007. "schema": {
  1008. "$ref": "#/definitions/md.Response"
  1009. }
  1010. }
  1011. }
  1012. }
  1013. }
  1014. },
  1015. "definitions": {
  1016. "applet_app_md_institutional_management_egg_energy.BasicSetting": {
  1017. "type": "object",
  1018. "properties": {
  1019. "direct_push_reward": {
  1020. "description": "直推奖励",
  1021. "type": "string"
  1022. },
  1023. "is_open": {
  1024. "description": "是否开启(1:开启 0:关闭)",
  1025. "type": "integer"
  1026. },
  1027. "person_egg_energy_coin_id": {
  1028. "description": "个人蛋蛋能量对应虚拟币 id",
  1029. "type": "integer"
  1030. },
  1031. "person_egg_points_coin_id": {
  1032. "description": "个人蛋蛋积分对应虚拟币 id",
  1033. "type": "integer"
  1034. },
  1035. "team_egg_energy_coin_id": {
  1036. "description": "团队蛋蛋能量对应虚拟币 id",
  1037. "type": "integer"
  1038. },
  1039. "team_egg_points_coin_id": {
  1040. "description": "团队蛋蛋积分对应虚拟币 id",
  1041. "type": "integer"
  1042. }
  1043. }
  1044. },
  1045. "applet_app_md_institutional_management_egg_energy.Paginate": {
  1046. "type": "object",
  1047. "properties": {
  1048. "limit": {
  1049. "description": "每页大小",
  1050. "type": "integer"
  1051. },
  1052. "page": {
  1053. "description": "页数",
  1054. "type": "integer"
  1055. },
  1056. "total": {
  1057. "description": "总数据量",
  1058. "type": "integer"
  1059. }
  1060. }
  1061. },
  1062. "applet_app_md_institutional_management_public_platoon.BasicSetting": {
  1063. "type": "object",
  1064. "properties": {
  1065. "id": {
  1066. "type": "integer"
  1067. },
  1068. "is_open": {
  1069. "description": "是否开启(1:开启 0:关闭)",
  1070. "type": "integer"
  1071. },
  1072. "is_self_active_get_team_revenue": {
  1073. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1074. "type": "integer"
  1075. },
  1076. "originator_uid": {
  1077. "description": "创始人uid",
  1078. "type": "integer"
  1079. },
  1080. "several_rows": {
  1081. "description": "几排",
  1082. "type": "integer"
  1083. },
  1084. "several_times": {
  1085. "description": "几乘",
  1086. "type": "integer"
  1087. },
  1088. "system_punish_replace": {
  1089. "description": "是否位置滑落 被新用户替换 0否 1是",
  1090. "type": "integer"
  1091. },
  1092. "system_punish_replace_value": {
  1093. "description": "xx天未活跃,处罚滑落",
  1094. "type": "integer"
  1095. }
  1096. }
  1097. },
  1098. "applet_app_md_institutional_management_public_platoon.Paginate": {
  1099. "type": "object",
  1100. "properties": {
  1101. "limit": {
  1102. "description": "每页大小",
  1103. "type": "integer"
  1104. },
  1105. "page": {
  1106. "description": "页数",
  1107. "type": "integer"
  1108. },
  1109. "total": {
  1110. "description": "总数据量",
  1111. "type": "integer"
  1112. }
  1113. }
  1114. },
  1115. "md.ActivePointsWalletNode": {
  1116. "type": "object",
  1117. "properties": {
  1118. "amount": {
  1119. "type": "string",
  1120. "example": "账户余额"
  1121. },
  1122. "uid": {
  1123. "description": "用户 ID",
  1124. "type": "integer"
  1125. },
  1126. "user_name": {
  1127. "type": "string",
  1128. "example": "用户名"
  1129. },
  1130. "user_phone": {
  1131. "type": "string",
  1132. "example": "手机号"
  1133. }
  1134. }
  1135. },
  1136. "md.AddCommunityDividendsReq": {
  1137. "type": "object",
  1138. "properties": {
  1139. "name": {
  1140. "type": "string",
  1141. "example": "社区分红名称"
  1142. },
  1143. "nums": {
  1144. "description": "社区分红数量",
  1145. "type": "string"
  1146. }
  1147. }
  1148. },
  1149. "md.AddCommunityDividendsWithUserReq": {
  1150. "type": "object",
  1151. "properties": {
  1152. "memo": {
  1153. "type": "string",
  1154. "example": "备注"
  1155. },
  1156. "uid": {
  1157. "description": "新增社区长用户 ID",
  1158. "type": "integer"
  1159. }
  1160. }
  1161. },
  1162. "md.AddFreePublishUserReq": {
  1163. "type": "object",
  1164. "properties": {
  1165. "uid": {
  1166. "type": "integer"
  1167. }
  1168. }
  1169. },
  1170. "md.DailyActivityAnalysisTopData": {
  1171. "type": "object",
  1172. "properties": {
  1173. "activity_count": {
  1174. "description": "子节点活跃天数",
  1175. "type": "integer"
  1176. },
  1177. "team_activity_user_count": {
  1178. "description": "子节点活跃人数",
  1179. "type": "integer"
  1180. },
  1181. "team_user_count": {
  1182. "description": "团队人数",
  1183. "type": "integer"
  1184. }
  1185. }
  1186. },
  1187. "md.DataSetting": {
  1188. "type": "object",
  1189. "properties": {
  1190. "total_angel_investor": {
  1191. "description": "天使投资人",
  1192. "type": "string"
  1193. },
  1194. "total_ecological_development": {
  1195. "description": "生态建设",
  1196. "type": "string"
  1197. },
  1198. "total_issuance_amount": {
  1199. "description": "总发行量",
  1200. "type": "string"
  1201. },
  1202. "total_operate_fund": {
  1203. "description": "运营资金",
  1204. "type": "string"
  1205. },
  1206. "total_technology_team": {
  1207. "description": "技术团队",
  1208. "type": "string"
  1209. },
  1210. "total_user_for_person": {
  1211. "description": "个人区域",
  1212. "type": "string"
  1213. },
  1214. "total_user_for_team": {
  1215. "description": "团队区域",
  1216. "type": "string"
  1217. }
  1218. }
  1219. },
  1220. "md.DestructionSettingStruct": {
  1221. "type": "object",
  1222. "properties": {
  1223. "community_dividends": {
  1224. "description": "社区分红百分比",
  1225. "type": "string"
  1226. },
  1227. "destruction_quantity": {
  1228. "description": "销毁百分比",
  1229. "type": "string"
  1230. },
  1231. "development_committee": {
  1232. "description": "发展委员会百分比",
  1233. "type": "string"
  1234. },
  1235. "marketplace_merchant": {
  1236. "description": "市商数量百分比",
  1237. "type": "string"
  1238. },
  1239. "public_welfare_and_charity": {
  1240. "description": "公益慈善百分比",
  1241. "type": "string"
  1242. },
  1243. "star_level_dividends": {
  1244. "description": "星级分红百分比",
  1245. "type": "string"
  1246. }
  1247. }
  1248. },
  1249. "md.DynamicDataFlowListReq": {
  1250. "type": "object",
  1251. "properties": {
  1252. "end_at": {
  1253. "description": "结束时间",
  1254. "type": "string",
  1255. "example": "结束时间"
  1256. },
  1257. "kind": {
  1258. "description": "持有类型",
  1259. "type": "integer"
  1260. },
  1261. "page": {
  1262. "description": "页数",
  1263. "type": "integer"
  1264. },
  1265. "page_size": {
  1266. "description": "每页大小",
  1267. "type": "integer"
  1268. },
  1269. "start_at": {
  1270. "description": "开始时间",
  1271. "type": "string",
  1272. "example": "开始时间"
  1273. }
  1274. }
  1275. },
  1276. "md.DynamicDataFlowListResp": {
  1277. "type": "object",
  1278. "properties": {
  1279. "kind_list": {
  1280. "type": "array",
  1281. "items": {
  1282. "type": "object",
  1283. "additionalProperties": true
  1284. }
  1285. },
  1286. "list": {
  1287. "type": "array",
  1288. "items": {
  1289. "$ref": "#/definitions/md.EggEnergyAvailableEnergyFlow"
  1290. }
  1291. },
  1292. "paginate": {
  1293. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1294. }
  1295. }
  1296. },
  1297. "md.EggEnergyAvailableEnergyFlow": {
  1298. "type": "object",
  1299. "properties": {
  1300. "after_community_dividends": {
  1301. "type": "string"
  1302. },
  1303. "after_destruction_quantity_values": {
  1304. "type": "string"
  1305. },
  1306. "after_development_committee_values": {
  1307. "type": "string"
  1308. },
  1309. "after_marketplace_merchant_fund_values": {
  1310. "type": "string"
  1311. },
  1312. "after_marketplace_merchant_values": {
  1313. "type": "string"
  1314. },
  1315. "after_now_energy_total_nums": {
  1316. "type": "string"
  1317. },
  1318. "after_planet_total_value": {
  1319. "type": "string"
  1320. },
  1321. "after_price": {
  1322. "type": "string"
  1323. },
  1324. "after_public_welfare_and_charity_values": {
  1325. "type": "string"
  1326. },
  1327. "after_star_level_dividends_values": {
  1328. "type": "string"
  1329. },
  1330. "amount": {
  1331. "type": "string"
  1332. },
  1333. "before_community_dividends": {
  1334. "type": "string"
  1335. },
  1336. "before_destruction_quantity_values": {
  1337. "type": "string"
  1338. },
  1339. "before_development_committee_values": {
  1340. "type": "string"
  1341. },
  1342. "before_marketplace_merchant_fund_values": {
  1343. "type": "string"
  1344. },
  1345. "before_marketplace_merchant_values": {
  1346. "type": "string"
  1347. },
  1348. "before_now_energy_total_nums": {
  1349. "type": "string"
  1350. },
  1351. "before_planet_total_value": {
  1352. "type": "string"
  1353. },
  1354. "before_price": {
  1355. "type": "string"
  1356. },
  1357. "before_public_welfare_and_charity_values": {
  1358. "type": "string"
  1359. },
  1360. "before_star_level_dividends_values": {
  1361. "type": "string"
  1362. },
  1363. "create_time": {
  1364. "type": "string"
  1365. },
  1366. "id": {
  1367. "type": "integer"
  1368. },
  1369. "kind": {
  1370. "type": "integer"
  1371. },
  1372. "title": {
  1373. "type": "string"
  1374. }
  1375. }
  1376. },
  1377. "md.EggEnergyCommunityDividends": {
  1378. "type": "object",
  1379. "properties": {
  1380. "coin_id": {
  1381. "description": "虚拟币 id",
  1382. "type": "integer"
  1383. },
  1384. "create_at": {
  1385. "description": "分红时间",
  1386. "type": "string"
  1387. },
  1388. "id": {
  1389. "type": "integer"
  1390. },
  1391. "is_over": {
  1392. "description": "是否分红完毕",
  1393. "type": "integer"
  1394. },
  1395. "name": {
  1396. "type": "string",
  1397. "example": "名称"
  1398. },
  1399. "nums": {
  1400. "description": "分红数量",
  1401. "type": "integer"
  1402. },
  1403. "persons_num": {
  1404. "description": "分红人数",
  1405. "type": "integer"
  1406. },
  1407. "update_at": {
  1408. "type": "string"
  1409. }
  1410. }
  1411. },
  1412. "md.EggEnergyCommunityDividendsWithUser": {
  1413. "type": "object",
  1414. "properties": {
  1415. "id": {
  1416. "type": "integer"
  1417. },
  1418. "memo": {
  1419. "type": "string",
  1420. "example": "备注"
  1421. },
  1422. "nickname": {
  1423. "type": "string"
  1424. },
  1425. "phone": {
  1426. "type": "string"
  1427. },
  1428. "uid": {
  1429. "type": "integer"
  1430. }
  1431. }
  1432. },
  1433. "md.ExchangeRulesStruct": {
  1434. "type": "object",
  1435. "properties": {
  1436. "auto_exchange_nums_by_person": {
  1437. "description": "个人数量X个,自动兑换可用蛋蛋能量",
  1438. "type": "string"
  1439. },
  1440. "auto_exchange_nums_by_team": {
  1441. "description": "团队数量X个,自动兑换团队蛋蛋能量",
  1442. "type": "string"
  1443. },
  1444. "auto_exchange_rate_by_person": {
  1445. "description": "个人数量百分比,自动兑换可用蛋蛋能量",
  1446. "type": "string"
  1447. },
  1448. "auto_exchange_rate_by_team": {
  1449. "description": "团队数量百分比,自动兑换团队蛋蛋能量",
  1450. "type": "string"
  1451. }
  1452. }
  1453. },
  1454. "md.ExchangeUserPositionReq": {
  1455. "type": "object",
  1456. "properties": {
  1457. "position_1": {
  1458. "description": "位置1,具体值取返回数据中的 system_id",
  1459. "type": "integer"
  1460. },
  1461. "position_2": {
  1462. "description": "位置2,具体值取返回数据中的 system_id",
  1463. "type": "integer"
  1464. }
  1465. }
  1466. },
  1467. "md.FindSubUserRelationshipMapResp": {
  1468. "type": "object",
  1469. "properties": {
  1470. "basic_setting": {
  1471. "description": "公排设置",
  1472. "allOf": [
  1473. {
  1474. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.BasicSetting"
  1475. }
  1476. ]
  1477. },
  1478. "search_uid": {
  1479. "description": "查找的用户 ID",
  1480. "type": "string"
  1481. },
  1482. "sub_user": {
  1483. "description": "上级用户信息",
  1484. "allOf": [
  1485. {
  1486. "$ref": "#/definitions/md.SubUser"
  1487. }
  1488. ]
  1489. }
  1490. }
  1491. },
  1492. "md.FreePublishUserNode": {
  1493. "type": "object",
  1494. "properties": {
  1495. "nickname": {
  1496. "type": "string",
  1497. "example": "昵称"
  1498. },
  1499. "phone": {
  1500. "type": "string",
  1501. "example": "手机号"
  1502. },
  1503. "uid": {
  1504. "type": "integer"
  1505. }
  1506. }
  1507. },
  1508. "md.GetActivePointsUserCoinFlowListReq": {
  1509. "type": "object",
  1510. "properties": {
  1511. "coin_id": {
  1512. "description": "货币类型 ID",
  1513. "type": "integer"
  1514. },
  1515. "direction": {
  1516. "description": "流水方向:1收入 2支出",
  1517. "type": "integer"
  1518. },
  1519. "end_at": {
  1520. "description": "结束时间",
  1521. "type": "string"
  1522. },
  1523. "page": {
  1524. "description": "页数",
  1525. "type": "integer"
  1526. },
  1527. "page_size": {
  1528. "description": "每页大小",
  1529. "type": "integer"
  1530. },
  1531. "start_at": {
  1532. "description": "开始时间",
  1533. "type": "string"
  1534. },
  1535. "uid": {
  1536. "description": "用户 ID",
  1537. "type": "integer"
  1538. }
  1539. }
  1540. },
  1541. "md.GetActivePointsUserCoinFlowListResp": {
  1542. "type": "object",
  1543. "properties": {
  1544. "list": {
  1545. "description": "流水信息",
  1546. "type": "array",
  1547. "items": {
  1548. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1549. }
  1550. },
  1551. "paginate": {
  1552. "description": "分页信息",
  1553. "allOf": [
  1554. {
  1555. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1556. }
  1557. ]
  1558. },
  1559. "select_data": {
  1560. "description": "流水类型",
  1561. "allOf": [
  1562. {
  1563. "$ref": "#/definitions/md.SelectData"
  1564. }
  1565. ]
  1566. }
  1567. }
  1568. },
  1569. "md.GetActivePointsUserCoinListReq": {
  1570. "type": "object",
  1571. "properties": {
  1572. "end_coin": {
  1573. "type": "string",
  1574. "example": "最大金额"
  1575. },
  1576. "kind": {
  1577. "description": "虚拟币种类编号",
  1578. "type": "integer"
  1579. },
  1580. "page": {
  1581. "description": "页数",
  1582. "type": "integer"
  1583. },
  1584. "page_size": {
  1585. "description": "单页大小",
  1586. "type": "integer"
  1587. },
  1588. "start_coin": {
  1589. "type": "string",
  1590. "example": "最小金额"
  1591. },
  1592. "uid": {
  1593. "description": "指定查询用户 ID",
  1594. "type": "integer"
  1595. },
  1596. "user_name": {
  1597. "type": "string",
  1598. "example": "用户名称"
  1599. },
  1600. "user_phone": {
  1601. "type": "string",
  1602. "example": "手机号"
  1603. }
  1604. }
  1605. },
  1606. "md.GetActivePointsUserCoinListResp": {
  1607. "type": "object",
  1608. "properties": {
  1609. "kind_list": {
  1610. "description": "货币类型集合",
  1611. "type": "array",
  1612. "items": {
  1613. "$ref": "#/definitions/md.VirtualCoinListNode"
  1614. }
  1615. },
  1616. "list": {
  1617. "description": "余额集合",
  1618. "type": "array",
  1619. "items": {
  1620. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1621. }
  1622. },
  1623. "sum_user_amount": {
  1624. "description": "用户持有总数",
  1625. "type": "number"
  1626. },
  1627. "total": {
  1628. "description": "持有该类型用户数",
  1629. "type": "integer"
  1630. }
  1631. }
  1632. },
  1633. "md.GetEggEnergyBasicResp": {
  1634. "type": "object",
  1635. "properties": {
  1636. "basic_setting": {
  1637. "description": "基础设置",
  1638. "allOf": [
  1639. {
  1640. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.BasicSetting"
  1641. }
  1642. ]
  1643. },
  1644. "data_setting": {
  1645. "description": "数据设置",
  1646. "allOf": [
  1647. {
  1648. "$ref": "#/definitions/md.DataSetting"
  1649. }
  1650. ]
  1651. },
  1652. "destruction_setting": {
  1653. "description": "销毁设置",
  1654. "allOf": [
  1655. {
  1656. "$ref": "#/definitions/md.DestructionSettingStruct"
  1657. }
  1658. ]
  1659. },
  1660. "exchange_rules": {
  1661. "description": "兑换规则",
  1662. "allOf": [
  1663. {
  1664. "$ref": "#/definitions/md.ExchangeRulesStruct"
  1665. }
  1666. ]
  1667. },
  1668. "price_setting": {
  1669. "description": "价格设置",
  1670. "allOf": [
  1671. {
  1672. "$ref": "#/definitions/md.PriceSettingStruct"
  1673. }
  1674. ]
  1675. },
  1676. "reward_system": {
  1677. "description": "圈层奖励",
  1678. "allOf": [
  1679. {
  1680. "$ref": "#/definitions/md.RewardSystemStruct"
  1681. }
  1682. ]
  1683. },
  1684. "system_id": {
  1685. "description": "该设置系统 ID",
  1686. "type": "integer"
  1687. },
  1688. "video_reward_setting": {
  1689. "description": "视频奖励",
  1690. "allOf": [
  1691. {
  1692. "$ref": "#/definitions/md.VideoRewardSetting"
  1693. }
  1694. ]
  1695. }
  1696. }
  1697. },
  1698. "md.GetFreePublishUserReq": {
  1699. "type": "object",
  1700. "properties": {
  1701. "limit": {
  1702. "description": "每页大小",
  1703. "type": "integer"
  1704. },
  1705. "page": {
  1706. "description": "当前页数",
  1707. "type": "integer"
  1708. },
  1709. "uid": {
  1710. "description": "筛选的用户 ID",
  1711. "type": "integer"
  1712. }
  1713. }
  1714. },
  1715. "md.GetFreePublishUserResp": {
  1716. "type": "object",
  1717. "properties": {
  1718. "list": {
  1719. "description": "免罚用户列表",
  1720. "type": "array",
  1721. "items": {
  1722. "$ref": "#/definitions/md.FreePublishUserNode"
  1723. }
  1724. },
  1725. "paginate": {
  1726. "description": "分页信息",
  1727. "allOf": [
  1728. {
  1729. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1730. }
  1731. ]
  1732. }
  1733. }
  1734. },
  1735. "md.GetGreenEnergyUserCoinFlowListReq": {
  1736. "type": "object",
  1737. "properties": {
  1738. "coin_id": {
  1739. "description": "货币类型 ID",
  1740. "type": "integer"
  1741. },
  1742. "direction": {
  1743. "description": "流水方向:1收入 2支出",
  1744. "type": "integer"
  1745. },
  1746. "end_at": {
  1747. "description": "结束时间",
  1748. "type": "string"
  1749. },
  1750. "page": {
  1751. "description": "页数",
  1752. "type": "integer"
  1753. },
  1754. "page_size": {
  1755. "description": "每页大小",
  1756. "type": "integer"
  1757. },
  1758. "start_at": {
  1759. "description": "开始时间",
  1760. "type": "string"
  1761. },
  1762. "uid": {
  1763. "description": "用户 ID",
  1764. "type": "integer"
  1765. }
  1766. }
  1767. },
  1768. "md.GetGreenEnergyUserCoinFlowListResp": {
  1769. "type": "object",
  1770. "properties": {
  1771. "list": {
  1772. "description": "流水信息",
  1773. "type": "array",
  1774. "items": {
  1775. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1776. }
  1777. },
  1778. "paginate": {
  1779. "description": "分页信息",
  1780. "allOf": [
  1781. {
  1782. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1783. }
  1784. ]
  1785. },
  1786. "select_data": {
  1787. "description": "流水类型",
  1788. "allOf": [
  1789. {
  1790. "$ref": "#/definitions/md.SelectData"
  1791. }
  1792. ]
  1793. }
  1794. }
  1795. },
  1796. "md.GetGreenEnergyUserCoinListReq": {
  1797. "type": "object",
  1798. "properties": {
  1799. "end_coin": {
  1800. "type": "string",
  1801. "example": "最大金额"
  1802. },
  1803. "kind": {
  1804. "description": "虚拟币种类编号",
  1805. "type": "integer"
  1806. },
  1807. "page": {
  1808. "description": "页数",
  1809. "type": "integer"
  1810. },
  1811. "page_size": {
  1812. "description": "单页大小",
  1813. "type": "integer"
  1814. },
  1815. "start_coin": {
  1816. "type": "string",
  1817. "example": "最小金额"
  1818. },
  1819. "uid": {
  1820. "description": "指定查询用户 ID",
  1821. "type": "integer"
  1822. },
  1823. "user_name": {
  1824. "type": "string",
  1825. "example": "用户名称"
  1826. },
  1827. "user_phone": {
  1828. "type": "string",
  1829. "example": "手机号"
  1830. }
  1831. }
  1832. },
  1833. "md.GetGreenEnergyUserCoinListResp": {
  1834. "type": "object",
  1835. "properties": {
  1836. "kind_list": {
  1837. "description": "货币类型集合",
  1838. "type": "array",
  1839. "items": {
  1840. "$ref": "#/definitions/md.VirtualCoinListNode"
  1841. }
  1842. },
  1843. "list": {
  1844. "description": "余额集合",
  1845. "type": "array",
  1846. "items": {
  1847. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1848. }
  1849. },
  1850. "sum_user_amount": {
  1851. "description": "用户持有总数",
  1852. "type": "number"
  1853. },
  1854. "total": {
  1855. "description": "持有该类型用户数",
  1856. "type": "integer"
  1857. }
  1858. }
  1859. },
  1860. "md.GetPublicPlatoonBasicResp": {
  1861. "type": "object",
  1862. "properties": {
  1863. "is_open": {
  1864. "description": "是否开启(1:开启 0:关闭)",
  1865. "type": "integer"
  1866. },
  1867. "is_self_active_get_team_revenue": {
  1868. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1869. "type": "integer"
  1870. },
  1871. "originator_uid": {
  1872. "description": "创始人uid",
  1873. "type": "integer"
  1874. },
  1875. "several_rows": {
  1876. "description": "几排",
  1877. "type": "integer"
  1878. },
  1879. "several_times": {
  1880. "description": "几乘",
  1881. "type": "integer"
  1882. },
  1883. "system_punish_replace": {
  1884. "description": "是否位置滑落 被新用户替换 0否 1是",
  1885. "type": "integer"
  1886. },
  1887. "system_punish_replace_value": {
  1888. "description": "xx天未活跃,处罚滑落",
  1889. "type": "integer"
  1890. }
  1891. }
  1892. },
  1893. "md.ListCommunityDividendsReq": {
  1894. "type": "object",
  1895. "properties": {
  1896. "end_at": {
  1897. "description": "结束时间",
  1898. "type": "string"
  1899. },
  1900. "end_nums": {
  1901. "description": "分红总量上限",
  1902. "type": "integer"
  1903. },
  1904. "limit": {
  1905. "description": "每页大小",
  1906. "type": "integer"
  1907. },
  1908. "page": {
  1909. "description": "页数",
  1910. "type": "integer"
  1911. },
  1912. "start_at": {
  1913. "description": "开始时间",
  1914. "type": "string"
  1915. },
  1916. "start_nums": {
  1917. "description": "分红总量下限",
  1918. "type": "integer"
  1919. }
  1920. }
  1921. },
  1922. "md.ListCommunityDividendsResp": {
  1923. "type": "object",
  1924. "properties": {
  1925. "list": {
  1926. "type": "array",
  1927. "items": {
  1928. "$ref": "#/definitions/md.EggEnergyCommunityDividends"
  1929. }
  1930. },
  1931. "paginate": {
  1932. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1933. }
  1934. }
  1935. },
  1936. "md.ListCommunityDividendsWithUserReq": {
  1937. "type": "object",
  1938. "properties": {
  1939. "limit": {
  1940. "type": "integer"
  1941. },
  1942. "page": {
  1943. "type": "integer"
  1944. },
  1945. "phone": {
  1946. "type": "string"
  1947. },
  1948. "uid": {
  1949. "type": "integer"
  1950. }
  1951. }
  1952. },
  1953. "md.ListCommunityDividendsWithUserResp": {
  1954. "type": "object",
  1955. "properties": {
  1956. "list": {
  1957. "type": "array",
  1958. "items": {
  1959. "$ref": "#/definitions/md.EggEnergyCommunityDividendsWithUser"
  1960. }
  1961. },
  1962. "paginate": {
  1963. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1964. }
  1965. }
  1966. },
  1967. "md.LoginReq": {
  1968. "type": "object",
  1969. "required": [
  1970. "password",
  1971. "username"
  1972. ],
  1973. "properties": {
  1974. "code": {
  1975. "type": "string",
  1976. "example": "验证码"
  1977. },
  1978. "password": {
  1979. "type": "string",
  1980. "example": "登录密码"
  1981. },
  1982. "username": {
  1983. "type": "string",
  1984. "example": "登录账号"
  1985. }
  1986. }
  1987. },
  1988. "md.LoginResponse": {
  1989. "type": "object",
  1990. "properties": {
  1991. "token": {
  1992. "type": "string"
  1993. }
  1994. }
  1995. },
  1996. "md.PriceSettingStruct": {
  1997. "type": "object",
  1998. "properties": {
  1999. "marketplace_merchants_fund_exchange_marketplace_merchants_nums_value": {
  2000. "description": "市商资金单笔x元自动兑换",
  2001. "type": "string"
  2002. },
  2003. "marketplace_merchants_nums_exchange_marketplace_merchants_fund_value": {
  2004. "description": "市商数量单笔x数量自动兑换",
  2005. "type": "string"
  2006. },
  2007. "price_below_value": {
  2008. "description": "低于x元",
  2009. "type": "string"
  2010. },
  2011. "price_higher_than_value": {
  2012. "description": "高于x元",
  2013. "type": "string"
  2014. }
  2015. }
  2016. },
  2017. "md.Response": {
  2018. "type": "object",
  2019. "properties": {
  2020. "code": {
  2021. "type": "string",
  2022. "example": "响应码"
  2023. },
  2024. "data": {
  2025. "description": "内容"
  2026. },
  2027. "msg": {
  2028. "type": "string",
  2029. "example": "具体错误原因"
  2030. }
  2031. }
  2032. },
  2033. "md.RewardSystemStruct": {
  2034. "type": "object",
  2035. "properties": {
  2036. "level": {
  2037. "description": "圈层",
  2038. "type": "integer"
  2039. },
  2040. "reward_condition": {
  2041. "description": "奖励条件",
  2042. "type": "string"
  2043. },
  2044. "reward_value": {
  2045. "description": "奖励值",
  2046. "type": "string"
  2047. }
  2048. }
  2049. },
  2050. "md.SelectData": {
  2051. "type": "object",
  2052. "properties": {
  2053. "direction": {
  2054. "type": "array",
  2055. "items": {
  2056. "type": "object",
  2057. "additionalProperties": {
  2058. "type": "string"
  2059. }
  2060. }
  2061. }
  2062. }
  2063. },
  2064. "md.SonUserDailyActivityAnalysisNode": {
  2065. "type": "object",
  2066. "properties": {
  2067. "activity_day_nums": {
  2068. "description": "活跃子节点活跃天数",
  2069. "type": "integer"
  2070. },
  2071. "nickname": {
  2072. "type": "string",
  2073. "example": "昵称"
  2074. },
  2075. "phone": {
  2076. "type": "string",
  2077. "example": "手机号"
  2078. },
  2079. "uid": {
  2080. "description": "查询用户活跃子节点 ID",
  2081. "type": "integer"
  2082. }
  2083. }
  2084. },
  2085. "md.SubUser": {
  2086. "type": "object",
  2087. "properties": {
  2088. "avatar_url": {
  2089. "type": "string",
  2090. "example": "头像"
  2091. },
  2092. "level": {
  2093. "description": "整个系统中的等级",
  2094. "type": "integer"
  2095. },
  2096. "nickname": {
  2097. "type": "string",
  2098. "example": "昵称"
  2099. },
  2100. "phone": {
  2101. "type": "string",
  2102. "example": "手机号"
  2103. },
  2104. "pid": {
  2105. "type": "integer"
  2106. },
  2107. "position": {
  2108. "description": "以pid1为创始人中网的位置",
  2109. "type": "integer"
  2110. },
  2111. "uid": {
  2112. "type": "integer"
  2113. }
  2114. }
  2115. },
  2116. "md.TreeNode": {
  2117. "type": "object",
  2118. "properties": {
  2119. "avatar_url": {
  2120. "type": "string",
  2121. "example": "头像"
  2122. },
  2123. "level": {
  2124. "type": "integer"
  2125. },
  2126. "nickname": {
  2127. "type": "string",
  2128. "example": "昵称"
  2129. },
  2130. "phone": {
  2131. "type": "string",
  2132. "example": "手机号"
  2133. },
  2134. "pid": {
  2135. "type": "integer"
  2136. },
  2137. "position": {
  2138. "type": "integer"
  2139. },
  2140. "son": {
  2141. "type": "array",
  2142. "items": {
  2143. "$ref": "#/definitions/md.TreeNode"
  2144. }
  2145. },
  2146. "system_id": {
  2147. "description": "公排网中id",
  2148. "type": "integer"
  2149. },
  2150. "uid": {
  2151. "type": "integer"
  2152. }
  2153. }
  2154. },
  2155. "md.UpdateEggEnergyBasicReq": {
  2156. "type": "object",
  2157. "properties": {
  2158. "basic_setting": {
  2159. "description": "基础设置",
  2160. "allOf": [
  2161. {
  2162. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.BasicSetting"
  2163. }
  2164. ]
  2165. },
  2166. "data_setting": {
  2167. "description": "数据设置",
  2168. "allOf": [
  2169. {
  2170. "$ref": "#/definitions/md.DataSetting"
  2171. }
  2172. ]
  2173. },
  2174. "destruction_setting": {
  2175. "description": "销毁设置",
  2176. "allOf": [
  2177. {
  2178. "$ref": "#/definitions/md.DestructionSettingStruct"
  2179. }
  2180. ]
  2181. },
  2182. "exchange_rules": {
  2183. "description": "兑换规则",
  2184. "allOf": [
  2185. {
  2186. "$ref": "#/definitions/md.ExchangeRulesStruct"
  2187. }
  2188. ]
  2189. },
  2190. "price_setting": {
  2191. "description": "价格设置",
  2192. "allOf": [
  2193. {
  2194. "$ref": "#/definitions/md.PriceSettingStruct"
  2195. }
  2196. ]
  2197. },
  2198. "reward_system": {
  2199. "description": "圈层奖励",
  2200. "allOf": [
  2201. {
  2202. "$ref": "#/definitions/md.RewardSystemStruct"
  2203. }
  2204. ]
  2205. },
  2206. "system_id": {
  2207. "description": "该设置系统 ID",
  2208. "type": "integer"
  2209. },
  2210. "video_reward_setting": {
  2211. "description": "视频奖励",
  2212. "allOf": [
  2213. {
  2214. "$ref": "#/definitions/md.VideoRewardSetting"
  2215. }
  2216. ]
  2217. }
  2218. }
  2219. },
  2220. "md.UpdatePublicPlatoonBasicReq": {
  2221. "type": "object",
  2222. "properties": {
  2223. "is_open": {
  2224. "description": "是否开启(1:开启 0:关闭)",
  2225. "type": "integer"
  2226. },
  2227. "is_self_active_get_team_revenue": {
  2228. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  2229. "type": "integer"
  2230. },
  2231. "originator_uid": {
  2232. "description": "创始人uid",
  2233. "type": "integer"
  2234. },
  2235. "several_rows": {
  2236. "description": "几排",
  2237. "type": "integer"
  2238. },
  2239. "several_times": {
  2240. "description": "几乘",
  2241. "type": "integer"
  2242. },
  2243. "system_punish_replace": {
  2244. "description": "是否位置滑落 被新用户替换 0否 1是",
  2245. "type": "integer"
  2246. },
  2247. "system_punish_replace_value": {
  2248. "description": "xx天未活跃,处罚滑落",
  2249. "type": "integer"
  2250. }
  2251. }
  2252. },
  2253. "md.UserDailyActivityAnalysisReq": {
  2254. "type": "object",
  2255. "properties": {
  2256. "end_date": {
  2257. "type": "string",
  2258. "example": "结束日期"
  2259. },
  2260. "page": {
  2261. "description": "页数",
  2262. "type": "integer"
  2263. },
  2264. "page_size": {
  2265. "description": "每页大小",
  2266. "type": "integer"
  2267. },
  2268. "start_date": {
  2269. "type": "string",
  2270. "example": "开始日期"
  2271. },
  2272. "uid": {
  2273. "description": "查询用户 ID",
  2274. "type": "integer"
  2275. }
  2276. }
  2277. },
  2278. "md.UserDailyActivityAnalysisResp": {
  2279. "type": "object",
  2280. "properties": {
  2281. "son_user_data": {
  2282. "description": "被查询用户子节点信息",
  2283. "type": "array",
  2284. "items": {
  2285. "$ref": "#/definitions/md.SonUserDailyActivityAnalysisNode"
  2286. }
  2287. },
  2288. "top_data": {
  2289. "description": "统计信息",
  2290. "allOf": [
  2291. {
  2292. "$ref": "#/definitions/md.DailyActivityAnalysisTopData"
  2293. }
  2294. ]
  2295. }
  2296. }
  2297. },
  2298. "md.UserVirtualCoinFlow": {
  2299. "type": "object",
  2300. "properties": {
  2301. "after_amount": {
  2302. "type": "string",
  2303. "example": "变更后数量"
  2304. },
  2305. "amount": {
  2306. "type": "string",
  2307. "example": "变更数量"
  2308. },
  2309. "before_amount": {
  2310. "type": "string",
  2311. "example": "变更前数量"
  2312. },
  2313. "coin_id": {
  2314. "description": "虚拟币 ID",
  2315. "type": "integer"
  2316. },
  2317. "create_at": {
  2318. "type": "string",
  2319. "example": "创建时间"
  2320. },
  2321. "direction": {
  2322. "description": "方向:1收入 2支出",
  2323. "type": "integer"
  2324. },
  2325. "id": {
  2326. "type": "integer"
  2327. },
  2328. "sys_fee": {
  2329. "type": "string",
  2330. "example": "手续费"
  2331. },
  2332. "title": {
  2333. "type": "string",
  2334. "example": "标题"
  2335. },
  2336. "transfer_type": {
  2337. "description": "转账类型",
  2338. "type": "integer"
  2339. },
  2340. "uid": {
  2341. "description": "用户 ID",
  2342. "type": "integer"
  2343. },
  2344. "update_at": {
  2345. "type": "string",
  2346. "example": "更新时间"
  2347. }
  2348. }
  2349. },
  2350. "md.VideoRewardSetting": {
  2351. "type": "object",
  2352. "properties": {
  2353. "video_reward_is_open": {
  2354. "description": "视频奖励是否开启(1:开启 0:关闭)",
  2355. "type": "integer"
  2356. },
  2357. "video_reward_system": {
  2358. "description": "视频奖励机制",
  2359. "allOf": [
  2360. {
  2361. "$ref": "#/definitions/md.VideoRewardSystemStruct"
  2362. }
  2363. ]
  2364. }
  2365. }
  2366. },
  2367. "md.VideoRewardSystemStruct": {
  2368. "type": "object",
  2369. "properties": {
  2370. "each_round_hour": {
  2371. "description": "每一轮X个小时",
  2372. "type": "string"
  2373. },
  2374. "interval_minutes": {
  2375. "description": "间隔X秒",
  2376. "type": "string"
  2377. },
  2378. "reward_total_num": {
  2379. "description": "一共X个奖励视屏",
  2380. "type": "string"
  2381. },
  2382. "reward_value": {
  2383. "description": "奖励X个活跃积分",
  2384. "type": "string"
  2385. }
  2386. }
  2387. },
  2388. "md.VirtualCoin": {
  2389. "type": "object",
  2390. "properties": {
  2391. "create_at": {
  2392. "type": "string"
  2393. },
  2394. "exchange_ratio": {
  2395. "description": "兑换比例(与金额)",
  2396. "type": "string"
  2397. },
  2398. "id": {
  2399. "type": "integer"
  2400. },
  2401. "is_use": {
  2402. "description": "是否开启: 0否 1是",
  2403. "type": "integer"
  2404. },
  2405. "name": {
  2406. "description": "名称",
  2407. "type": "string"
  2408. },
  2409. "update_at": {
  2410. "type": "string"
  2411. }
  2412. }
  2413. },
  2414. "md.VirtualCoinListNode": {
  2415. "type": "object",
  2416. "properties": {
  2417. "coin_id": {
  2418. "description": "货币类型 ID",
  2419. "type": "integer"
  2420. },
  2421. "kind": {
  2422. "description": "货币序号",
  2423. "type": "integer"
  2424. },
  2425. "name": {
  2426. "type": "string",
  2427. "example": "货币类型名称"
  2428. }
  2429. }
  2430. }
  2431. },
  2432. "securityDefinitions": {
  2433. "MasterID": {
  2434. "type": "apiKey",
  2435. "name": "MasterID",
  2436. "in": "header"
  2437. }
  2438. }
  2439. }