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

3445 lignes
119 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/comm/getOssUrl": {
  21. "get": {
  22. "description": "上传许可链接(获取)",
  23. "consumes": [
  24. "application/json"
  25. ],
  26. "produces": [
  27. "application/json"
  28. ],
  29. "tags": [
  30. "对象存储"
  31. ],
  32. "summary": "通用请求-对象存储-上传许可链接(获取)",
  33. "parameters": [
  34. {
  35. "type": "string",
  36. "description": "验证参数Bearer和token空格拼接",
  37. "name": "Authorization",
  38. "in": "header",
  39. "required": true
  40. }
  41. ],
  42. "responses": {
  43. "200": {
  44. "description": "许可链接",
  45. "schema": {
  46. "type": "string"
  47. }
  48. },
  49. "400": {
  50. "description": "具体错误",
  51. "schema": {
  52. "$ref": "#/definitions/md.Response"
  53. }
  54. }
  55. }
  56. }
  57. },
  58. "/api/comm/oss/getBasic": {
  59. "get": {
  60. "description": "对象存储设置(获取)",
  61. "consumes": [
  62. "application/json"
  63. ],
  64. "produces": [
  65. "application/json"
  66. ],
  67. "tags": [
  68. "对象存储"
  69. ],
  70. "summary": "设置中心-对象存储-对象存储设置(获取)",
  71. "parameters": [
  72. {
  73. "type": "string",
  74. "description": "验证参数Bearer和token空格拼接",
  75. "name": "Authorization",
  76. "in": "header",
  77. "required": true
  78. }
  79. ],
  80. "responses": {
  81. "200": {
  82. "description": "设置列表",
  83. "schema": {
  84. "$ref": "#/definitions/md.GetBasicResp"
  85. }
  86. },
  87. "400": {
  88. "description": "具体错误",
  89. "schema": {
  90. "$ref": "#/definitions/md.Response"
  91. }
  92. }
  93. }
  94. }
  95. },
  96. "/api/comm/oss/setBasic": {
  97. "post": {
  98. "description": "对象存储设置(更新)",
  99. "consumes": [
  100. "application/json"
  101. ],
  102. "produces": [
  103. "application/json"
  104. ],
  105. "tags": [
  106. "对象存储"
  107. ],
  108. "summary": "设置中心-对象存储-对象存储设置(更新)",
  109. "parameters": [
  110. {
  111. "type": "string",
  112. "description": "验证参数Bearer和token空格拼接",
  113. "name": "Authorization",
  114. "in": "header",
  115. "required": true
  116. },
  117. {
  118. "description": "上传需要修改的信息",
  119. "name": "req",
  120. "in": "body",
  121. "required": true,
  122. "schema": {
  123. "$ref": "#/definitions/md.SetBasicReq"
  124. }
  125. }
  126. ],
  127. "responses": {
  128. "200": {
  129. "description": "success",
  130. "schema": {
  131. "type": "string"
  132. }
  133. },
  134. "400": {
  135. "description": "具体错误",
  136. "schema": {
  137. "$ref": "#/definitions/md.Response"
  138. }
  139. }
  140. }
  141. }
  142. },
  143. "/api/demo": {
  144. "post": {
  145. "description": "Demo样例测试",
  146. "consumes": [
  147. "application/json"
  148. ],
  149. "produces": [
  150. "application/json"
  151. ],
  152. "tags": [
  153. "Demo"
  154. ],
  155. "summary": "Demo测试",
  156. "parameters": [
  157. {
  158. "description": "用户名密码",
  159. "name": "req",
  160. "in": "body",
  161. "required": true,
  162. "schema": {}
  163. }
  164. ],
  165. "responses": {
  166. "200": {
  167. "description": "token",
  168. "schema": {
  169. "type": "object",
  170. "additionalProperties": true
  171. }
  172. },
  173. "400": {
  174. "description": "具体错误",
  175. "schema": {
  176. "$ref": "#/definitions/md.Response"
  177. }
  178. }
  179. }
  180. }
  181. },
  182. "/api/institutionalManagement/eggEnergy/availableEnergy/list": {
  183. "post": {
  184. "description": "动态数据流水(获取)",
  185. "consumes": [
  186. "application/json"
  187. ],
  188. "produces": [
  189. "application/json"
  190. ],
  191. "tags": [
  192. "公排管理"
  193. ],
  194. "summary": "制度中心-动态数据-动态数据流水(获取)",
  195. "parameters": [
  196. {
  197. "type": "string",
  198. "description": "验证参数Bearer和token空格拼接",
  199. "name": "Authorization",
  200. "in": "header",
  201. "required": true
  202. },
  203. {
  204. "description": "页数、每页大小必传 起止时间、持有类型选传",
  205. "name": "req",
  206. "in": "body",
  207. "required": true,
  208. "schema": {
  209. "$ref": "#/definitions/md.DynamicDataFlowListReq"
  210. }
  211. }
  212. ],
  213. "responses": {
  214. "200": {
  215. "description": "成功返回",
  216. "schema": {
  217. "$ref": "#/definitions/md.DynamicDataFlowListResp"
  218. }
  219. },
  220. "400": {
  221. "description": "具体错误",
  222. "schema": {
  223. "$ref": "#/definitions/md.Response"
  224. }
  225. }
  226. }
  227. }
  228. },
  229. "/api/institutionalManagement/eggEnergy/getBasic": {
  230. "get": {
  231. "description": "基础设置(获取)",
  232. "consumes": [
  233. "application/json"
  234. ],
  235. "produces": [
  236. "application/json"
  237. ],
  238. "tags": [
  239. "蛋蛋能量"
  240. ],
  241. "summary": "制度中心-蛋蛋能量-基础设置(获取)",
  242. "parameters": [
  243. {
  244. "type": "string",
  245. "description": "验证参数Bearer和token空格拼接",
  246. "name": "Authorization",
  247. "in": "header",
  248. "required": true
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "具体数据",
  254. "schema": {
  255. "$ref": "#/definitions/md.GetEggEnergyBasicResp"
  256. }
  257. },
  258. "400": {
  259. "description": "具体错误",
  260. "schema": {
  261. "$ref": "#/definitions/md.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/api/institutionalManagement/eggEnergy/getVirtualCoinList": {
  268. "get": {
  269. "description": "查询所有币种(获取)",
  270. "consumes": [
  271. "application/json"
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "蛋蛋能量"
  278. ],
  279. "summary": "制度中心-蛋蛋能量-查询所有币种(获取)",
  280. "parameters": [
  281. {
  282. "type": "string",
  283. "description": "验证参数Bearer和token空格拼接",
  284. "name": "Authorization",
  285. "in": "header",
  286. "required": true
  287. }
  288. ],
  289. "responses": {
  290. "200": {
  291. "description": "成功返回",
  292. "schema": {
  293. "type": "array",
  294. "items": {
  295. "$ref": "#/definitions/md.VirtualCoin"
  296. }
  297. }
  298. },
  299. "400": {
  300. "description": "具体错误",
  301. "schema": {
  302. "$ref": "#/definitions/md.Response"
  303. }
  304. }
  305. }
  306. }
  307. },
  308. "/api/institutionalManagement/eggEnergy/globalData/coreDataList": {
  309. "get": {
  310. "description": "数据概览(获取)",
  311. "consumes": [
  312. "application/json"
  313. ],
  314. "produces": [
  315. "application/json"
  316. ],
  317. "tags": [
  318. "蛋蛋能量"
  319. ],
  320. "summary": "制度中心-蛋蛋能量-数据概览(获取)",
  321. "parameters": [
  322. {
  323. "type": "string",
  324. "description": "验证参数Bearer和token空格拼接",
  325. "name": "Authorization",
  326. "in": "header",
  327. "required": true
  328. }
  329. ],
  330. "responses": {
  331. "200": {
  332. "description": "具体数据",
  333. "schema": {
  334. "$ref": "#/definitions/md.GetEggCoreDataListResp"
  335. }
  336. },
  337. "400": {
  338. "description": "具体错误",
  339. "schema": {
  340. "$ref": "#/definitions/md.Response"
  341. }
  342. }
  343. }
  344. }
  345. },
  346. "/api/institutionalManagement/eggEnergy/globalData/fundDataAdd": {
  347. "post": {
  348. "description": "价值明细数据(新增)",
  349. "consumes": [
  350. "application/json"
  351. ],
  352. "produces": [
  353. "application/json"
  354. ],
  355. "tags": [
  356. "蛋蛋能量"
  357. ],
  358. "summary": "制度中心-蛋蛋能量-价值明细数据(新增)",
  359. "parameters": [
  360. {
  361. "type": "string",
  362. "description": "验证参数Bearer和token空格拼接",
  363. "name": "Authorization",
  364. "in": "header",
  365. "required": true
  366. },
  367. {
  368. "description": "数据种类、金额、时长(最长24h)、执行次数必填,备注选填",
  369. "name": "req",
  370. "in": "body",
  371. "required": true,
  372. "schema": {
  373. "$ref": "#/definitions/md.AddFundDataReq"
  374. }
  375. }
  376. ],
  377. "responses": {
  378. "200": {
  379. "description": "插入数据 id",
  380. "schema": {
  381. "type": "int"
  382. }
  383. },
  384. "400": {
  385. "description": "具体错误",
  386. "schema": {
  387. "$ref": "#/definitions/md.Response"
  388. }
  389. }
  390. }
  391. }
  392. },
  393. "/api/institutionalManagement/eggEnergy/globalData/fundDataList": {
  394. "post": {
  395. "description": "新增数据列表(获取)",
  396. "consumes": [
  397. "application/json"
  398. ],
  399. "produces": [
  400. "application/json"
  401. ],
  402. "tags": [
  403. "蛋蛋能量"
  404. ],
  405. "summary": "制度中心-蛋蛋能量-新增数据列表(获取)",
  406. "parameters": [
  407. {
  408. "type": "string",
  409. "description": "验证参数Bearer和token空格拼接",
  410. "name": "Authorization",
  411. "in": "header",
  412. "required": true
  413. },
  414. {
  415. "description": "分页信息必填",
  416. "name": "req",
  417. "in": "body",
  418. "required": true,
  419. "schema": {
  420. "$ref": "#/definitions/md.GetFundDataListReq"
  421. }
  422. }
  423. ],
  424. "responses": {
  425. "200": {
  426. "description": "具体数据",
  427. "schema": {
  428. "$ref": "#/definitions/md.GetFundDataListResp"
  429. }
  430. },
  431. "400": {
  432. "description": "具体错误",
  433. "schema": {
  434. "$ref": "#/definitions/md.Response"
  435. }
  436. }
  437. }
  438. }
  439. },
  440. "/api/institutionalManagement/eggEnergy/globalData/fundDataRecordList": {
  441. "post": {
  442. "description": "新增数据列表详情(查询)",
  443. "consumes": [
  444. "application/json"
  445. ],
  446. "produces": [
  447. "application/json"
  448. ],
  449. "tags": [
  450. "蛋蛋能量"
  451. ],
  452. "summary": "制度中心-蛋蛋能量-新增数据列表详情(查询)",
  453. "parameters": [
  454. {
  455. "type": "string",
  456. "description": "验证参数Bearer和token空格拼接",
  457. "name": "Authorization",
  458. "in": "header",
  459. "required": true
  460. },
  461. {
  462. "description": "获取到的 system_id 以及分页信息",
  463. "name": "req",
  464. "in": "body",
  465. "required": true,
  466. "schema": {
  467. "$ref": "#/definitions/md.GetFundDataRecordListReq"
  468. }
  469. }
  470. ],
  471. "responses": {
  472. "200": {
  473. "description": "具体数据",
  474. "schema": {
  475. "$ref": "#/definitions/md.GetFundDataRecordListResp"
  476. }
  477. },
  478. "400": {
  479. "description": "具体错误",
  480. "schema": {
  481. "$ref": "#/definitions/md.Response"
  482. }
  483. }
  484. }
  485. }
  486. },
  487. "/api/institutionalManagement/eggEnergy/globalData/platformRevenueList": {
  488. "post": {
  489. "description": "平台营收数据(获取)",
  490. "consumes": [
  491. "application/json"
  492. ],
  493. "produces": [
  494. "application/json"
  495. ],
  496. "tags": [
  497. "蛋蛋能量"
  498. ],
  499. "summary": "制度中心-蛋蛋能量-平台营收数据(获取)",
  500. "parameters": [
  501. {
  502. "type": "string",
  503. "description": "验证参数Bearer和token空格拼接",
  504. "name": "Authorization",
  505. "in": "header",
  506. "required": true
  507. },
  508. {
  509. "description": "分页信息必填",
  510. "name": "req",
  511. "in": "body",
  512. "required": true,
  513. "schema": {
  514. "$ref": "#/definitions/md.ListPlatformRevenueReq"
  515. }
  516. }
  517. ],
  518. "responses": {
  519. "200": {
  520. "description": "具体数据",
  521. "schema": {
  522. "$ref": "#/definitions/md.ListPlatformRevenueResp"
  523. }
  524. },
  525. "400": {
  526. "description": "具体错误",
  527. "schema": {
  528. "$ref": "#/definitions/md.Response"
  529. }
  530. }
  531. }
  532. }
  533. },
  534. "/api/institutionalManagement/eggEnergy/globalData/pointsCenterPriceCurve": {
  535. "get": {
  536. "description": "价格趋势(获取)",
  537. "consumes": [
  538. "application/json"
  539. ],
  540. "produces": [
  541. "application/json"
  542. ],
  543. "tags": [
  544. "蛋蛋能量"
  545. ],
  546. "summary": "制度中心-蛋蛋能量-价格趋势(获取)",
  547. "parameters": [
  548. {
  549. "type": "string",
  550. "description": "验证参数Bearer和token空格拼接",
  551. "name": "Authorization",
  552. "in": "header",
  553. "required": true
  554. },
  555. {
  556. "type": "string",
  557. "description": "1:按天 2:按小时 3:按周",
  558. "name": "kind",
  559. "in": "query"
  560. }
  561. ],
  562. "responses": {
  563. "200": {
  564. "description": "具体数据",
  565. "schema": {
  566. "$ref": "#/definitions/md.GetPriceCurveResp"
  567. }
  568. },
  569. "400": {
  570. "description": "具体错误",
  571. "schema": {
  572. "$ref": "#/definitions/md.Response"
  573. }
  574. }
  575. }
  576. }
  577. },
  578. "/api/institutionalManagement/eggEnergy/platformRevenue/PlatformRevenueAdd": {
  579. "post": {
  580. "description": "平台营收数据(新增)",
  581. "consumes": [
  582. "application/json"
  583. ],
  584. "produces": [
  585. "application/json"
  586. ],
  587. "tags": [
  588. "蛋蛋能量"
  589. ],
  590. "summary": "制度中心-蛋蛋能量-平台营收数据(新增)",
  591. "parameters": [
  592. {
  593. "type": "string",
  594. "description": "验证参数Bearer和token空格拼接",
  595. "name": "Authorization",
  596. "in": "header",
  597. "required": true
  598. },
  599. {
  600. "description": "数据种类、金额、时长(最长24h)、执行次数必填,备注选填",
  601. "name": "req",
  602. "in": "body",
  603. "required": true,
  604. "schema": {
  605. "$ref": "#/definitions/md.AddPlatformRevenueReq"
  606. }
  607. }
  608. ],
  609. "responses": {
  610. "200": {
  611. "description": "插入数据 id",
  612. "schema": {
  613. "type": "int"
  614. }
  615. },
  616. "400": {
  617. "description": "具体错误",
  618. "schema": {
  619. "$ref": "#/definitions/md.Response"
  620. }
  621. }
  622. }
  623. }
  624. },
  625. "/api/institutionalManagement/eggEnergy/platformRevenue/SetVideoReward": {
  626. "post": {
  627. "description": "激励视频(设置)",
  628. "consumes": [
  629. "application/json"
  630. ],
  631. "produces": [
  632. "application/json"
  633. ],
  634. "tags": [
  635. "蛋蛋能量"
  636. ],
  637. "summary": "制度中心-蛋蛋能量-激励视频(设置)",
  638. "parameters": [
  639. {
  640. "type": "string",
  641. "description": "验证参数Bearer和token空格拼接",
  642. "name": "Authorization",
  643. "in": "header",
  644. "required": true
  645. },
  646. {
  647. "description": "落地页不填页大小默认20条数据",
  648. "name": "req",
  649. "in": "body",
  650. "required": true,
  651. "schema": {
  652. "$ref": "#/definitions/md.SetVideoRewardReq"
  653. }
  654. }
  655. ],
  656. "responses": {
  657. "200": {
  658. "description": "success",
  659. "schema": {
  660. "type": "string"
  661. }
  662. },
  663. "400": {
  664. "description": "具体错误",
  665. "schema": {
  666. "$ref": "#/definitions/md.Response"
  667. }
  668. }
  669. }
  670. }
  671. },
  672. "/api/institutionalManagement/eggEnergy/updateBasic": {
  673. "post": {
  674. "description": "基础设置(更新)",
  675. "consumes": [
  676. "application/json"
  677. ],
  678. "produces": [
  679. "application/json"
  680. ],
  681. "tags": [
  682. "蛋蛋能量"
  683. ],
  684. "summary": "制度中心-蛋蛋能量-基础设置(更新)",
  685. "parameters": [
  686. {
  687. "type": "string",
  688. "description": "验证参数Bearer和token空格拼接",
  689. "name": "Authorization",
  690. "in": "header",
  691. "required": true
  692. },
  693. {
  694. "description": "system_id 必填",
  695. "name": "req",
  696. "in": "body",
  697. "required": true,
  698. "schema": {
  699. "$ref": "#/definitions/md.UpdateEggEnergyBasicReq"
  700. }
  701. }
  702. ],
  703. "responses": {
  704. "200": {
  705. "description": "修改数据条数",
  706. "schema": {
  707. "type": "int"
  708. }
  709. },
  710. "400": {
  711. "description": "具体错误",
  712. "schema": {
  713. "$ref": "#/definitions/md.Response"
  714. }
  715. }
  716. }
  717. }
  718. },
  719. "/api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinFlowList": {
  720. "post": {
  721. "description": "活跃积分持有流水(查询)",
  722. "consumes": [
  723. "application/json"
  724. ],
  725. "produces": [
  726. "application/json"
  727. ],
  728. "tags": [
  729. "公排管理"
  730. ],
  731. "summary": "制度中心-活跃积分持有者明细-活跃积分持有流水(查询)",
  732. "parameters": [
  733. {
  734. "type": "string",
  735. "description": "验证参数Bearer和token空格拼接",
  736. "name": "Authorization",
  737. "in": "header",
  738. "required": true
  739. },
  740. {
  741. "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小",
  742. "name": "req",
  743. "in": "body",
  744. "required": true,
  745. "schema": {
  746. "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListReq"
  747. }
  748. }
  749. ],
  750. "responses": {
  751. "200": {
  752. "description": "成功返回",
  753. "schema": {
  754. "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListResp"
  755. }
  756. },
  757. "400": {
  758. "description": "具体错误",
  759. "schema": {
  760. "$ref": "#/definitions/md.Response"
  761. }
  762. }
  763. }
  764. }
  765. },
  766. "/api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinList": {
  767. "post": {
  768. "description": "活跃积分持有(获取)",
  769. "consumes": [
  770. "application/json"
  771. ],
  772. "produces": [
  773. "application/json"
  774. ],
  775. "tags": [
  776. "公排管理"
  777. ],
  778. "summary": "制度中心-活跃积分持有者明细-活跃积分持有(获取)",
  779. "parameters": [
  780. {
  781. "type": "string",
  782. "description": "验证参数Bearer和token空格拼接",
  783. "name": "Authorization",
  784. "in": "header",
  785. "required": true
  786. },
  787. {
  788. "description": "落地页不填页大小默认20条数据",
  789. "name": "req",
  790. "in": "body",
  791. "schema": {
  792. "$ref": "#/definitions/md.GetActivePointsUserCoinListReq"
  793. }
  794. }
  795. ],
  796. "responses": {
  797. "200": {
  798. "description": "成功返回",
  799. "schema": {
  800. "$ref": "#/definitions/md.GetActivePointsUserCoinListResp"
  801. }
  802. },
  803. "400": {
  804. "description": "具体错误",
  805. "schema": {
  806. "$ref": "#/definitions/md.Response"
  807. }
  808. }
  809. }
  810. }
  811. },
  812. "/api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinFlowList": {
  813. "post": {
  814. "description": "绿色能量持有流水(查询)",
  815. "consumes": [
  816. "application/json"
  817. ],
  818. "produces": [
  819. "application/json"
  820. ],
  821. "tags": [
  822. "公排管理"
  823. ],
  824. "summary": "制度中心-绿色能量持有者明细-绿色能量持有流水(查询)",
  825. "parameters": [
  826. {
  827. "type": "string",
  828. "description": "验证参数Bearer和token空格拼接",
  829. "name": "Authorization",
  830. "in": "header",
  831. "required": true
  832. },
  833. {
  834. "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小",
  835. "name": "req",
  836. "in": "body",
  837. "required": true,
  838. "schema": {
  839. "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListReq"
  840. }
  841. }
  842. ],
  843. "responses": {
  844. "200": {
  845. "description": "成功返回",
  846. "schema": {
  847. "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListResp"
  848. }
  849. },
  850. "400": {
  851. "description": "具体错误",
  852. "schema": {
  853. "$ref": "#/definitions/md.Response"
  854. }
  855. }
  856. }
  857. }
  858. },
  859. "/api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinList": {
  860. "post": {
  861. "description": "绿色能量(获取)",
  862. "consumes": [
  863. "application/json"
  864. ],
  865. "produces": [
  866. "application/json"
  867. ],
  868. "tags": [
  869. "公排管理"
  870. ],
  871. "summary": "制度中心-绿色能量持有者明细-绿色能量(获取)",
  872. "parameters": [
  873. {
  874. "type": "string",
  875. "description": "验证参数Bearer和token空格拼接",
  876. "name": "Authorization",
  877. "in": "header",
  878. "required": true
  879. },
  880. {
  881. "description": "落地页不填页大小默认20条数据",
  882. "name": "req",
  883. "in": "body",
  884. "schema": {
  885. "$ref": "#/definitions/md.GetGreenEnergyUserCoinListReq"
  886. }
  887. }
  888. ],
  889. "responses": {
  890. "200": {
  891. "description": "成功返回",
  892. "schema": {
  893. "$ref": "#/definitions/md.GetGreenEnergyUserCoinListResp"
  894. }
  895. },
  896. "400": {
  897. "description": "具体错误",
  898. "schema": {
  899. "$ref": "#/definitions/md.Response"
  900. }
  901. }
  902. }
  903. }
  904. },
  905. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd": {
  906. "post": {
  907. "description": "社区分红(新增)",
  908. "consumes": [
  909. "application/json"
  910. ],
  911. "produces": [
  912. "application/json"
  913. ],
  914. "tags": [
  915. "公排管理"
  916. ],
  917. "summary": "制度中心-公排管理-社区分红(新增)",
  918. "parameters": [
  919. {
  920. "type": "string",
  921. "description": "验证参数Bearer和token空格拼接",
  922. "name": "Authorization",
  923. "in": "header",
  924. "required": true
  925. },
  926. {
  927. "description": "分红名称、分红总量",
  928. "name": "req",
  929. "in": "body",
  930. "required": true,
  931. "schema": {
  932. "$ref": "#/definitions/md.AddCommunityDividendsReq"
  933. }
  934. }
  935. ],
  936. "responses": {
  937. "200": {
  938. "description": "成功",
  939. "schema": {
  940. "type": "success"
  941. }
  942. },
  943. "400": {
  944. "description": "具体错误",
  945. "schema": {
  946. "$ref": "#/definitions/md.Response"
  947. }
  948. }
  949. }
  950. }
  951. },
  952. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsList": {
  953. "post": {
  954. "description": "社区分红(查询)",
  955. "consumes": [
  956. "application/json"
  957. ],
  958. "produces": [
  959. "application/json"
  960. ],
  961. "tags": [
  962. "公排管理"
  963. ],
  964. "summary": "制度中心-公排管理-社区分红(查询)",
  965. "parameters": [
  966. {
  967. "type": "string",
  968. "description": "验证参数Bearer和token空格拼接",
  969. "name": "Authorization",
  970. "in": "header",
  971. "required": true
  972. },
  973. {
  974. "description": "页数、每页大小必填 起止时间、起止数量选填",
  975. "name": "req",
  976. "in": "body",
  977. "required": true,
  978. "schema": {
  979. "$ref": "#/definitions/md.ListCommunityDividendsReq"
  980. }
  981. }
  982. ],
  983. "responses": {
  984. "200": {
  985. "description": "具体数据",
  986. "schema": {
  987. "$ref": "#/definitions/md.ListCommunityDividendsResp"
  988. }
  989. },
  990. "400": {
  991. "description": "具体错误",
  992. "schema": {
  993. "$ref": "#/definitions/md.Response"
  994. }
  995. }
  996. }
  997. }
  998. },
  999. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserAdd": {
  1000. "post": {
  1001. "description": "社区长列表(新增)",
  1002. "consumes": [
  1003. "application/json"
  1004. ],
  1005. "produces": [
  1006. "application/json"
  1007. ],
  1008. "tags": [
  1009. "公排管理"
  1010. ],
  1011. "summary": "制度中心-公排管理-社区长列表(新增)",
  1012. "parameters": [
  1013. {
  1014. "type": "string",
  1015. "description": "验证参数Bearer和token空格拼接",
  1016. "name": "Authorization",
  1017. "in": "header",
  1018. "required": true
  1019. },
  1020. {
  1021. "description": "新增社区长 ID、备注",
  1022. "name": "req",
  1023. "in": "body",
  1024. "required": true,
  1025. "schema": {
  1026. "$ref": "#/definitions/md.AddCommunityDividendsWithUserReq"
  1027. }
  1028. }
  1029. ],
  1030. "responses": {
  1031. "200": {
  1032. "description": "插入数据 ID",
  1033. "schema": {
  1034. "type": "int"
  1035. }
  1036. },
  1037. "400": {
  1038. "description": "具体错误",
  1039. "schema": {
  1040. "$ref": "#/definitions/md.Response"
  1041. }
  1042. }
  1043. }
  1044. }
  1045. },
  1046. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserList": {
  1047. "post": {
  1048. "description": "社区长列表(查询)",
  1049. "consumes": [
  1050. "application/json"
  1051. ],
  1052. "produces": [
  1053. "application/json"
  1054. ],
  1055. "tags": [
  1056. "公排管理"
  1057. ],
  1058. "summary": "制度中心-公排管理-社区长列表(查询)",
  1059. "parameters": [
  1060. {
  1061. "type": "string",
  1062. "description": "验证参数Bearer和token空格拼接",
  1063. "name": "Authorization",
  1064. "in": "header",
  1065. "required": true
  1066. },
  1067. {
  1068. "description": "页数、每页大小必填 手机号、用户ID选填",
  1069. "name": "req",
  1070. "in": "body",
  1071. "required": true,
  1072. "schema": {
  1073. "$ref": "#/definitions/md.ListCommunityDividendsWithUserReq"
  1074. }
  1075. }
  1076. ],
  1077. "responses": {
  1078. "200": {
  1079. "description": "社区长列表",
  1080. "schema": {
  1081. "$ref": "#/definitions/md.ListCommunityDividendsWithUserResp"
  1082. }
  1083. },
  1084. "400": {
  1085. "description": "具体错误",
  1086. "schema": {
  1087. "$ref": "#/definitions/md.Response"
  1088. }
  1089. }
  1090. }
  1091. }
  1092. },
  1093. "/api/institutionalManagement/publicPlatoon/exchangeUserPosition": {
  1094. "post": {
  1095. "description": "关系分布图(位置转换)",
  1096. "consumes": [
  1097. "application/json"
  1098. ],
  1099. "produces": [
  1100. "application/json"
  1101. ],
  1102. "tags": [
  1103. "公排管理"
  1104. ],
  1105. "summary": "制度中心-公排管理-关系分布图(位置转换)",
  1106. "parameters": [
  1107. {
  1108. "type": "string",
  1109. "description": "验证参数Bearer和token空格拼接",
  1110. "name": "Authorization",
  1111. "in": "header",
  1112. "required": true
  1113. },
  1114. {
  1115. "description": "需要交换的两个位置",
  1116. "name": "req",
  1117. "in": "body",
  1118. "required": true,
  1119. "schema": {
  1120. "$ref": "#/definitions/md.ExchangeUserPositionReq"
  1121. }
  1122. }
  1123. ],
  1124. "responses": {
  1125. "200": {
  1126. "description": "成功返回",
  1127. "schema": {
  1128. "type": ""
  1129. }
  1130. },
  1131. "400": {
  1132. "description": "具体错误",
  1133. "schema": {
  1134. "$ref": "#/definitions/md.Response"
  1135. }
  1136. }
  1137. }
  1138. }
  1139. },
  1140. "/api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap": {
  1141. "get": {
  1142. "description": "关系分布图(获取指定用户上级)",
  1143. "consumes": [
  1144. "application/json"
  1145. ],
  1146. "produces": [
  1147. "application/json"
  1148. ],
  1149. "tags": [
  1150. "公排管理"
  1151. ],
  1152. "summary": "制度中心-公排管理-关系分布图(获取指定用户上级)",
  1153. "parameters": [
  1154. {
  1155. "type": "string",
  1156. "description": "验证参数Bearer和token空格拼接",
  1157. "name": "Authorization",
  1158. "in": "header",
  1159. "required": true
  1160. },
  1161. {
  1162. "type": "string",
  1163. "description": "用户ID",
  1164. "name": "uid",
  1165. "in": "query",
  1166. "required": true
  1167. }
  1168. ],
  1169. "responses": {
  1170. "200": {
  1171. "description": "具体数据",
  1172. "schema": {
  1173. "$ref": "#/definitions/md.FindSubUserRelationshipMapResp"
  1174. }
  1175. },
  1176. "400": {
  1177. "description": "具体错误",
  1178. "schema": {
  1179. "$ref": "#/definitions/md.Response"
  1180. }
  1181. }
  1182. }
  1183. }
  1184. },
  1185. "/api/institutionalManagement/publicPlatoon/findUserRelationshipMap": {
  1186. "get": {
  1187. "description": "关系分布图(获取指定用户下级)",
  1188. "consumes": [
  1189. "application/json"
  1190. ],
  1191. "produces": [
  1192. "application/json"
  1193. ],
  1194. "tags": [
  1195. "公排管理"
  1196. ],
  1197. "summary": "制度中心-公排管理-关系分布图(获取指定用户下级)",
  1198. "parameters": [
  1199. {
  1200. "type": "string",
  1201. "description": "验证参数Bearer和token空格拼接",
  1202. "name": "Authorization",
  1203. "in": "header",
  1204. "required": true
  1205. },
  1206. {
  1207. "type": "string",
  1208. "description": "用户ID",
  1209. "name": "uid",
  1210. "in": "query",
  1211. "required": true
  1212. }
  1213. ],
  1214. "responses": {
  1215. "200": {
  1216. "description": "具体数据",
  1217. "schema": {
  1218. "$ref": "#/definitions/md.TreeNode"
  1219. }
  1220. },
  1221. "400": {
  1222. "description": "具体错误",
  1223. "schema": {
  1224. "$ref": "#/definitions/md.Response"
  1225. }
  1226. }
  1227. }
  1228. }
  1229. },
  1230. "/api/institutionalManagement/publicPlatoon/getBasic": {
  1231. "get": {
  1232. "description": "公排基础设置(获取)",
  1233. "consumes": [
  1234. "application/json"
  1235. ],
  1236. "produces": [
  1237. "application/json"
  1238. ],
  1239. "tags": [
  1240. "公排管理"
  1241. ],
  1242. "summary": "制度中心-公排管理-公排基础设置(获取)",
  1243. "parameters": [
  1244. {
  1245. "type": "string",
  1246. "description": "验证参数Bearer和token空格拼接",
  1247. "name": "Authorization",
  1248. "in": "header",
  1249. "required": true
  1250. }
  1251. ],
  1252. "responses": {
  1253. "200": {
  1254. "description": "具体数据",
  1255. "schema": {
  1256. "$ref": "#/definitions/md.GetPublicPlatoonBasicResp"
  1257. }
  1258. },
  1259. "400": {
  1260. "description": "具体错误",
  1261. "schema": {
  1262. "$ref": "#/definitions/md.Response"
  1263. }
  1264. }
  1265. }
  1266. }
  1267. },
  1268. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index": {
  1269. "post": {
  1270. "description": "免罚用户(查询)",
  1271. "consumes": [
  1272. "application/json"
  1273. ],
  1274. "produces": [
  1275. "application/json"
  1276. ],
  1277. "tags": [
  1278. "公排管理"
  1279. ],
  1280. "summary": "制度中心-公排管理-免罚用户(查询)",
  1281. "parameters": [
  1282. {
  1283. "type": "string",
  1284. "description": "验证参数Bearer和token空格拼接",
  1285. "name": "Authorization",
  1286. "in": "header",
  1287. "required": true
  1288. },
  1289. {
  1290. "description": "页数和行数必填,uid选填",
  1291. "name": "req",
  1292. "in": "body",
  1293. "required": true,
  1294. "schema": {
  1295. "$ref": "#/definitions/md.GetFreePublishUserReq"
  1296. }
  1297. }
  1298. ],
  1299. "responses": {
  1300. "200": {
  1301. "description": "成功返回",
  1302. "schema": {
  1303. "$ref": "#/definitions/md.GetFreePublishUserResp"
  1304. }
  1305. },
  1306. "400": {
  1307. "description": "具体错误",
  1308. "schema": {
  1309. "$ref": "#/definitions/md.Response"
  1310. }
  1311. }
  1312. }
  1313. }
  1314. },
  1315. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save": {
  1316. "post": {
  1317. "description": "免罚用户(新增)",
  1318. "consumes": [
  1319. "application/json"
  1320. ],
  1321. "produces": [
  1322. "application/json"
  1323. ],
  1324. "tags": [
  1325. "公排管理"
  1326. ],
  1327. "summary": "制度中心-公排管理-免罚用户(新增)",
  1328. "parameters": [
  1329. {
  1330. "type": "string",
  1331. "description": "验证参数Bearer和token空格拼接",
  1332. "name": "Authorization",
  1333. "in": "header",
  1334. "required": true
  1335. },
  1336. {
  1337. "description": "页数和行数必填,uid选填",
  1338. "name": "req",
  1339. "in": "body",
  1340. "required": true,
  1341. "schema": {
  1342. "$ref": "#/definitions/md.AddFreePublishUserReq"
  1343. }
  1344. }
  1345. ],
  1346. "responses": {
  1347. "200": {
  1348. "description": "插入数据 ID",
  1349. "schema": {
  1350. "type": "int"
  1351. }
  1352. },
  1353. "400": {
  1354. "description": "具体错误",
  1355. "schema": {
  1356. "$ref": "#/definitions/md.Response"
  1357. }
  1358. }
  1359. }
  1360. }
  1361. },
  1362. "/api/institutionalManagement/publicPlatoon/relationshipMap": {
  1363. "get": {
  1364. "description": "关系分布图(获取)",
  1365. "consumes": [
  1366. "application/json"
  1367. ],
  1368. "produces": [
  1369. "application/json"
  1370. ],
  1371. "tags": [
  1372. "公排管理"
  1373. ],
  1374. "summary": "制度中心-公排管理-关系分布图(获取)",
  1375. "parameters": [
  1376. {
  1377. "type": "string",
  1378. "description": "验证参数Bearer和token空格拼接",
  1379. "name": "Authorization",
  1380. "in": "header",
  1381. "required": true
  1382. },
  1383. {
  1384. "type": "string",
  1385. "description": "phone",
  1386. "name": "phone",
  1387. "in": "query",
  1388. "required": true
  1389. },
  1390. {
  1391. "type": "string",
  1392. "description": "uid",
  1393. "name": "uid",
  1394. "in": "query",
  1395. "required": true
  1396. }
  1397. ],
  1398. "responses": {
  1399. "200": {
  1400. "description": "具体数据",
  1401. "schema": {
  1402. "$ref": "#/definitions/md.TreeNode"
  1403. }
  1404. },
  1405. "400": {
  1406. "description": "具体错误",
  1407. "schema": {
  1408. "$ref": "#/definitions/md.Response"
  1409. }
  1410. }
  1411. }
  1412. }
  1413. },
  1414. "/api/institutionalManagement/publicPlatoon/updateBasic": {
  1415. "put": {
  1416. "description": "公排基础设置(修改)",
  1417. "consumes": [
  1418. "application/json"
  1419. ],
  1420. "produces": [
  1421. "application/json"
  1422. ],
  1423. "tags": [
  1424. "公排管理"
  1425. ],
  1426. "summary": "制度中心-公排管理-公排基础设置(修改)",
  1427. "parameters": [
  1428. {
  1429. "type": "string",
  1430. "description": "验证参数Bearer和token空格拼接",
  1431. "name": "Authorization",
  1432. "in": "header",
  1433. "required": true
  1434. },
  1435. {
  1436. "description": "公排设置表单内容",
  1437. "name": "req",
  1438. "in": "body",
  1439. "required": true,
  1440. "schema": {
  1441. "$ref": "#/definitions/md.UpdatePublicPlatoonBasicReq"
  1442. }
  1443. }
  1444. ],
  1445. "responses": {
  1446. "200": {
  1447. "description": "success",
  1448. "schema": {
  1449. "type": "string"
  1450. }
  1451. },
  1452. "400": {
  1453. "description": "具体错误",
  1454. "schema": {
  1455. "$ref": "#/definitions/md.Response"
  1456. }
  1457. }
  1458. }
  1459. }
  1460. },
  1461. "/api/institutionalManagement/publicPlatoon/userDailyActivityAnalysis/index": {
  1462. "post": {
  1463. "description": "日活分析",
  1464. "consumes": [
  1465. "application/json"
  1466. ],
  1467. "produces": [
  1468. "application/json"
  1469. ],
  1470. "tags": [
  1471. "公排管理"
  1472. ],
  1473. "summary": "制度中心-公排管理-日活分析",
  1474. "parameters": [
  1475. {
  1476. "type": "string",
  1477. "description": "验证参数Bearer和token空格拼接",
  1478. "name": "Authorization",
  1479. "in": "header",
  1480. "required": true
  1481. },
  1482. {
  1483. "description": "用户 ID、查询开始时间、结束时间(查询时间不超过30天)、页数、每页大小",
  1484. "name": "req",
  1485. "in": "body",
  1486. "required": true,
  1487. "schema": {
  1488. "$ref": "#/definitions/md.UserDailyActivityAnalysisReq"
  1489. }
  1490. }
  1491. ],
  1492. "responses": {
  1493. "200": {
  1494. "description": "具体数据",
  1495. "schema": {
  1496. "$ref": "#/definitions/md.UserDailyActivityAnalysisResp"
  1497. }
  1498. },
  1499. "400": {
  1500. "description": "具体错误",
  1501. "schema": {
  1502. "$ref": "#/definitions/md.Response"
  1503. }
  1504. }
  1505. }
  1506. }
  1507. },
  1508. "/api/login": {
  1509. "post": {
  1510. "description": "登入",
  1511. "consumes": [
  1512. "application/json"
  1513. ],
  1514. "produces": [
  1515. "application/json"
  1516. ],
  1517. "tags": [
  1518. "登录"
  1519. ],
  1520. "summary": "登陆",
  1521. "parameters": [
  1522. {
  1523. "description": "用户名密码",
  1524. "name": "req",
  1525. "in": "body",
  1526. "required": true,
  1527. "schema": {
  1528. "$ref": "#/definitions/md.LoginReq"
  1529. }
  1530. }
  1531. ],
  1532. "responses": {
  1533. "200": {
  1534. "description": "token",
  1535. "schema": {
  1536. "$ref": "#/definitions/md.LoginResponse"
  1537. }
  1538. },
  1539. "400": {
  1540. "description": "具体错误",
  1541. "schema": {
  1542. "$ref": "#/definitions/md.Response"
  1543. }
  1544. }
  1545. }
  1546. }
  1547. }
  1548. },
  1549. "definitions": {
  1550. "applet_app_md_institutional_management_egg_energy.BasicSetting": {
  1551. "type": "object",
  1552. "properties": {
  1553. "direct_push_reward": {
  1554. "description": "直推奖励",
  1555. "allOf": [
  1556. {
  1557. "$ref": "#/definitions/md.TeamRewardSettingStruct"
  1558. }
  1559. ]
  1560. },
  1561. "is_open": {
  1562. "description": "是否开启(1:开启 0:关闭)",
  1563. "type": "integer"
  1564. },
  1565. "person_egg_energy_coin_id": {
  1566. "description": "个人蛋蛋能量对应虚拟币 id",
  1567. "type": "integer"
  1568. },
  1569. "person_egg_points_coin_id": {
  1570. "description": "个人蛋蛋积分对应虚拟币 id",
  1571. "type": "integer"
  1572. },
  1573. "team_egg_energy_coin_id": {
  1574. "description": "团队蛋蛋能量对应虚拟币 id",
  1575. "type": "integer"
  1576. },
  1577. "team_egg_points_coin_id": {
  1578. "description": "团队蛋蛋积分对应虚拟币 id",
  1579. "type": "integer"
  1580. }
  1581. }
  1582. },
  1583. "applet_app_md_institutional_management_egg_energy.Paginate": {
  1584. "type": "object",
  1585. "properties": {
  1586. "limit": {
  1587. "description": "每页大小",
  1588. "type": "integer"
  1589. },
  1590. "page": {
  1591. "description": "页数",
  1592. "type": "integer"
  1593. },
  1594. "total": {
  1595. "description": "总数据量",
  1596. "type": "integer"
  1597. }
  1598. }
  1599. },
  1600. "applet_app_md_institutional_management_public_platoon.BasicSetting": {
  1601. "type": "object",
  1602. "properties": {
  1603. "id": {
  1604. "type": "integer"
  1605. },
  1606. "is_open": {
  1607. "description": "是否开启(1:开启 0:关闭)",
  1608. "type": "integer"
  1609. },
  1610. "is_self_active_get_team_revenue": {
  1611. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1612. "type": "integer"
  1613. },
  1614. "originator_uid": {
  1615. "description": "创始人uid",
  1616. "type": "integer"
  1617. },
  1618. "several_rows": {
  1619. "description": "几排",
  1620. "type": "integer"
  1621. },
  1622. "several_times": {
  1623. "description": "几乘",
  1624. "type": "integer"
  1625. },
  1626. "system_punish_replace": {
  1627. "description": "是否位置滑落 被新用户替换 0否 1是",
  1628. "type": "integer"
  1629. },
  1630. "system_punish_replace_value": {
  1631. "description": "xx天未活跃,处罚滑落",
  1632. "type": "integer"
  1633. }
  1634. }
  1635. },
  1636. "applet_app_md_institutional_management_public_platoon.Paginate": {
  1637. "type": "object",
  1638. "properties": {
  1639. "limit": {
  1640. "description": "每页大小",
  1641. "type": "integer"
  1642. },
  1643. "page": {
  1644. "description": "页数",
  1645. "type": "integer"
  1646. },
  1647. "total": {
  1648. "description": "总数据量",
  1649. "type": "integer"
  1650. }
  1651. }
  1652. },
  1653. "md.ActivePointsWalletNode": {
  1654. "type": "object",
  1655. "properties": {
  1656. "amount": {
  1657. "type": "string",
  1658. "example": "账户余额"
  1659. },
  1660. "uid": {
  1661. "description": "用户 ID",
  1662. "type": "integer"
  1663. },
  1664. "user_name": {
  1665. "type": "string",
  1666. "example": "用户名"
  1667. },
  1668. "user_phone": {
  1669. "type": "string",
  1670. "example": "手机号"
  1671. }
  1672. }
  1673. },
  1674. "md.AddCommunityDividendsReq": {
  1675. "type": "object",
  1676. "properties": {
  1677. "amount": {
  1678. "description": "社区分红数量",
  1679. "type": "string"
  1680. },
  1681. "name": {
  1682. "type": "string",
  1683. "example": "社区分红名称"
  1684. }
  1685. }
  1686. },
  1687. "md.AddCommunityDividendsWithUserReq": {
  1688. "type": "object",
  1689. "properties": {
  1690. "memo": {
  1691. "type": "string",
  1692. "example": "备注"
  1693. },
  1694. "uid": {
  1695. "description": "新增社区长用户 ID",
  1696. "type": "integer"
  1697. }
  1698. }
  1699. },
  1700. "md.AddFreePublishUserReq": {
  1701. "type": "object",
  1702. "properties": {
  1703. "uid": {
  1704. "type": "integer"
  1705. }
  1706. }
  1707. },
  1708. "md.AddFundDataReq": {
  1709. "type": "object",
  1710. "properties": {
  1711. "frequency": {
  1712. "description": "频率(分钟)",
  1713. "type": "integer"
  1714. },
  1715. "hours": {
  1716. "description": "时长(小时)",
  1717. "type": "integer"
  1718. },
  1719. "kind": {
  1720. "description": "种类(1:公司补贴 2:资方投资 3:市场期望)",
  1721. "type": "integer"
  1722. },
  1723. "memo": {
  1724. "type": "string",
  1725. "example": "备注"
  1726. },
  1727. "total_amount": {
  1728. "description": "金额",
  1729. "type": "string"
  1730. }
  1731. }
  1732. },
  1733. "md.AddPlatformRevenueReq": {
  1734. "type": "object",
  1735. "properties": {
  1736. "frequency": {
  1737. "description": "频率(分钟)",
  1738. "type": "integer"
  1739. },
  1740. "hours": {
  1741. "description": "时长(小时)",
  1742. "type": "integer"
  1743. },
  1744. "kind": {
  1745. "description": "种类(1:开屏广告 2:banner 广告 3:信息流广告 4:插屏广告)",
  1746. "type": "integer"
  1747. },
  1748. "memo": {
  1749. "type": "string",
  1750. "example": "备注"
  1751. },
  1752. "total_amount": {
  1753. "description": "金额",
  1754. "type": "string"
  1755. }
  1756. }
  1757. },
  1758. "md.DailyActivityAnalysisTopData": {
  1759. "type": "object",
  1760. "properties": {
  1761. "activity_count": {
  1762. "description": "子节点活跃天数",
  1763. "type": "integer"
  1764. },
  1765. "team_activity_user_count": {
  1766. "description": "子节点活跃人数",
  1767. "type": "integer"
  1768. },
  1769. "team_user_count": {
  1770. "description": "团队人数",
  1771. "type": "integer"
  1772. }
  1773. }
  1774. },
  1775. "md.DataSetting": {
  1776. "type": "object",
  1777. "properties": {
  1778. "total_angel_investor": {
  1779. "description": "天使投资人",
  1780. "type": "string",
  1781. "example": "天使投资人"
  1782. },
  1783. "total_ecological_development": {
  1784. "description": "生态建设",
  1785. "type": "string",
  1786. "example": "当前价格"
  1787. },
  1788. "total_issuance_amount": {
  1789. "description": "总发行量",
  1790. "type": "string",
  1791. "example": "总发行量"
  1792. },
  1793. "total_operate_fund": {
  1794. "description": "运营资金",
  1795. "type": "string",
  1796. "example": "运营资金"
  1797. },
  1798. "total_technology_team": {
  1799. "description": "技术团队",
  1800. "type": "string",
  1801. "example": "技术团队"
  1802. },
  1803. "total_user_for_person": {
  1804. "description": "TotalTeamDividends string`json:\"total_team_dividends\" example:\"团队分红\"` // 团队分红",
  1805. "type": "string",
  1806. "example": "个人区域"
  1807. },
  1808. "total_user_for_team": {
  1809. "description": "团队区域",
  1810. "type": "string",
  1811. "example": "团队区域"
  1812. }
  1813. }
  1814. },
  1815. "md.DestructionSettingStruct": {
  1816. "type": "object",
  1817. "properties": {
  1818. "community_dividends": {
  1819. "description": "社区分红百分比",
  1820. "type": "string"
  1821. },
  1822. "destruction_quantity": {
  1823. "description": "销毁百分比",
  1824. "type": "string"
  1825. },
  1826. "development_committee": {
  1827. "description": "发展委员会百分比",
  1828. "type": "string"
  1829. },
  1830. "marketplace_merchant": {
  1831. "description": "市商数量百分比",
  1832. "type": "string"
  1833. },
  1834. "public_welfare_and_charity": {
  1835. "description": "公益慈善百分比",
  1836. "type": "string"
  1837. },
  1838. "star_level_dividends": {
  1839. "description": "星级分红百分比",
  1840. "type": "string"
  1841. }
  1842. }
  1843. },
  1844. "md.DynamicDataFlowListReq": {
  1845. "type": "object",
  1846. "properties": {
  1847. "end_at": {
  1848. "description": "结束时间",
  1849. "type": "string",
  1850. "example": "结束时间"
  1851. },
  1852. "kind": {
  1853. "description": "持有类型",
  1854. "type": "integer"
  1855. },
  1856. "page": {
  1857. "description": "页数",
  1858. "type": "integer"
  1859. },
  1860. "page_size": {
  1861. "description": "每页大小",
  1862. "type": "integer"
  1863. },
  1864. "start_at": {
  1865. "description": "开始时间",
  1866. "type": "string",
  1867. "example": "开始时间"
  1868. }
  1869. }
  1870. },
  1871. "md.DynamicDataFlowListResp": {
  1872. "type": "object",
  1873. "properties": {
  1874. "kind_list": {
  1875. "type": "array",
  1876. "items": {
  1877. "type": "object",
  1878. "additionalProperties": true
  1879. }
  1880. },
  1881. "list": {
  1882. "type": "array",
  1883. "items": {
  1884. "$ref": "#/definitions/md.EggEnergyAvailableEnergyFlow"
  1885. }
  1886. },
  1887. "paginate": {
  1888. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1889. }
  1890. }
  1891. },
  1892. "md.EggEnergyAvailableEnergyFlow": {
  1893. "type": "object",
  1894. "properties": {
  1895. "after_community_dividends": {
  1896. "type": "string"
  1897. },
  1898. "after_destruction_quantity_values": {
  1899. "type": "string"
  1900. },
  1901. "after_development_committee_values": {
  1902. "type": "string"
  1903. },
  1904. "after_marketplace_merchant_fund_values": {
  1905. "type": "string"
  1906. },
  1907. "after_marketplace_merchant_values": {
  1908. "type": "string"
  1909. },
  1910. "after_now_energy_total_nums": {
  1911. "type": "string"
  1912. },
  1913. "after_planet_total_value": {
  1914. "type": "string"
  1915. },
  1916. "after_price": {
  1917. "type": "string"
  1918. },
  1919. "after_public_welfare_and_charity_values": {
  1920. "type": "string"
  1921. },
  1922. "after_star_level_dividends_values": {
  1923. "type": "string"
  1924. },
  1925. "amount": {
  1926. "type": "string"
  1927. },
  1928. "before_community_dividends": {
  1929. "type": "string"
  1930. },
  1931. "before_destruction_quantity_values": {
  1932. "type": "string"
  1933. },
  1934. "before_development_committee_values": {
  1935. "type": "string"
  1936. },
  1937. "before_marketplace_merchant_fund_values": {
  1938. "type": "string"
  1939. },
  1940. "before_marketplace_merchant_values": {
  1941. "type": "string"
  1942. },
  1943. "before_now_energy_total_nums": {
  1944. "type": "string"
  1945. },
  1946. "before_planet_total_value": {
  1947. "type": "string"
  1948. },
  1949. "before_price": {
  1950. "type": "string"
  1951. },
  1952. "before_public_welfare_and_charity_values": {
  1953. "type": "string"
  1954. },
  1955. "before_star_level_dividends_values": {
  1956. "type": "string"
  1957. },
  1958. "create_time": {
  1959. "type": "string"
  1960. },
  1961. "id": {
  1962. "type": "integer"
  1963. },
  1964. "kind": {
  1965. "type": "integer"
  1966. },
  1967. "title": {
  1968. "type": "string"
  1969. }
  1970. }
  1971. },
  1972. "md.EggEnergyCommunityDividends": {
  1973. "type": "object",
  1974. "properties": {
  1975. "amount": {
  1976. "description": "分红数量",
  1977. "type": "string"
  1978. },
  1979. "coin_id": {
  1980. "description": "虚拟币 id",
  1981. "type": "integer"
  1982. },
  1983. "create_at": {
  1984. "description": "分红时间",
  1985. "type": "string"
  1986. },
  1987. "id": {
  1988. "type": "integer"
  1989. },
  1990. "is_over": {
  1991. "description": "是否分红完毕",
  1992. "type": "integer"
  1993. },
  1994. "name": {
  1995. "type": "string",
  1996. "example": "名称"
  1997. },
  1998. "persons_num": {
  1999. "description": "分红人数",
  2000. "type": "integer"
  2001. },
  2002. "update_at": {
  2003. "type": "string"
  2004. }
  2005. }
  2006. },
  2007. "md.EggEnergyCommunityDividendsWithUser": {
  2008. "type": "object",
  2009. "properties": {
  2010. "id": {
  2011. "type": "integer"
  2012. },
  2013. "memo": {
  2014. "type": "string",
  2015. "example": "备注"
  2016. },
  2017. "nickname": {
  2018. "type": "string"
  2019. },
  2020. "phone": {
  2021. "type": "string"
  2022. },
  2023. "uid": {
  2024. "type": "integer"
  2025. }
  2026. }
  2027. },
  2028. "md.ExchangeRulesStruct": {
  2029. "type": "object",
  2030. "properties": {
  2031. "auto_exchange_nums_by_person": {
  2032. "description": "个人数量X个,自动兑换可用蛋蛋能量",
  2033. "type": "string"
  2034. },
  2035. "auto_exchange_nums_by_team": {
  2036. "description": "团队数量X个,自动兑换团队蛋蛋能量",
  2037. "type": "string"
  2038. },
  2039. "auto_exchange_rate_by_person": {
  2040. "description": "个人数量百分比,自动兑换可用蛋蛋能量",
  2041. "type": "string"
  2042. },
  2043. "auto_exchange_rate_by_team": {
  2044. "description": "团队数量百分比,自动兑换团队蛋蛋能量",
  2045. "type": "string"
  2046. }
  2047. }
  2048. },
  2049. "md.ExchangeUserPositionReq": {
  2050. "type": "object",
  2051. "properties": {
  2052. "position_1": {
  2053. "description": "位置1,具体值取返回数据中的 system_id",
  2054. "type": "integer"
  2055. },
  2056. "position_2": {
  2057. "description": "位置2,具体值取返回数据中的 system_id",
  2058. "type": "integer"
  2059. }
  2060. }
  2061. },
  2062. "md.FindSubUserRelationshipMapResp": {
  2063. "type": "object",
  2064. "properties": {
  2065. "basic_setting": {
  2066. "description": "公排设置",
  2067. "allOf": [
  2068. {
  2069. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.BasicSetting"
  2070. }
  2071. ]
  2072. },
  2073. "search_uid": {
  2074. "description": "查找的用户 ID",
  2075. "type": "string"
  2076. },
  2077. "sub_user": {
  2078. "description": "上级用户信息",
  2079. "allOf": [
  2080. {
  2081. "$ref": "#/definitions/md.SubUser"
  2082. }
  2083. ]
  2084. }
  2085. }
  2086. },
  2087. "md.FreePublishUserNode": {
  2088. "type": "object",
  2089. "properties": {
  2090. "nickname": {
  2091. "type": "string",
  2092. "example": "昵称"
  2093. },
  2094. "phone": {
  2095. "type": "string",
  2096. "example": "手机号"
  2097. },
  2098. "uid": {
  2099. "type": "integer"
  2100. }
  2101. }
  2102. },
  2103. "md.FundDataNode": {
  2104. "type": "object",
  2105. "properties": {
  2106. "balance_amount": {
  2107. "description": "余额",
  2108. "type": "string"
  2109. },
  2110. "balance_times": {
  2111. "description": "剩余执行次数",
  2112. "type": "integer"
  2113. },
  2114. "create_at": {
  2115. "description": "创建时间",
  2116. "type": "string"
  2117. },
  2118. "hours": {
  2119. "description": "时长",
  2120. "type": "integer"
  2121. },
  2122. "kind": {
  2123. "description": "种类(1:公司补贴 2:资方投资 3:市场期望)",
  2124. "type": "integer"
  2125. },
  2126. "memo": {
  2127. "description": "备注",
  2128. "type": "string"
  2129. },
  2130. "system_id": {
  2131. "type": "integer"
  2132. },
  2133. "total_amount": {
  2134. "description": "金额",
  2135. "type": "string"
  2136. }
  2137. }
  2138. },
  2139. "md.FundDataRecordNode": {
  2140. "type": "object",
  2141. "properties": {
  2142. "after_planet_total_value": {
  2143. "description": "执行后-星球价值",
  2144. "type": "string"
  2145. },
  2146. "after_price": {
  2147. "description": "执行后-价格",
  2148. "type": "string"
  2149. },
  2150. "balance_amount": {
  2151. "description": "余额",
  2152. "type": "string"
  2153. },
  2154. "balance_times": {
  2155. "description": "剩余执行次数",
  2156. "type": "integer"
  2157. },
  2158. "before_planet_total_value": {
  2159. "description": "执行前-星球价值",
  2160. "type": "string"
  2161. },
  2162. "before_price": {
  2163. "description": "执行前-价格",
  2164. "type": "string"
  2165. },
  2166. "create_at": {
  2167. "type": "string"
  2168. },
  2169. "total_amount": {
  2170. "description": "金额",
  2171. "type": "string"
  2172. }
  2173. }
  2174. },
  2175. "md.GetActivePointsUserCoinFlowListReq": {
  2176. "type": "object",
  2177. "properties": {
  2178. "coin_id": {
  2179. "description": "货币类型 ID",
  2180. "type": "integer"
  2181. },
  2182. "direction": {
  2183. "description": "流水方向:1收入 2支出",
  2184. "type": "integer"
  2185. },
  2186. "end_at": {
  2187. "description": "结束时间",
  2188. "type": "string"
  2189. },
  2190. "page": {
  2191. "description": "页数",
  2192. "type": "integer"
  2193. },
  2194. "page_size": {
  2195. "description": "每页大小",
  2196. "type": "integer"
  2197. },
  2198. "start_at": {
  2199. "description": "开始时间",
  2200. "type": "string"
  2201. },
  2202. "uid": {
  2203. "description": "用户 ID",
  2204. "type": "integer"
  2205. }
  2206. }
  2207. },
  2208. "md.GetActivePointsUserCoinFlowListResp": {
  2209. "type": "object",
  2210. "properties": {
  2211. "list": {
  2212. "description": "流水信息",
  2213. "type": "array",
  2214. "items": {
  2215. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  2216. }
  2217. },
  2218. "paginate": {
  2219. "description": "分页信息",
  2220. "allOf": [
  2221. {
  2222. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  2223. }
  2224. ]
  2225. },
  2226. "select_data": {
  2227. "description": "流水类型",
  2228. "allOf": [
  2229. {
  2230. "$ref": "#/definitions/md.SelectData"
  2231. }
  2232. ]
  2233. }
  2234. }
  2235. },
  2236. "md.GetActivePointsUserCoinListReq": {
  2237. "type": "object",
  2238. "properties": {
  2239. "end_coin": {
  2240. "type": "string",
  2241. "example": "最大金额"
  2242. },
  2243. "kind": {
  2244. "description": "虚拟币种类编号",
  2245. "type": "integer"
  2246. },
  2247. "page": {
  2248. "description": "页数",
  2249. "type": "integer"
  2250. },
  2251. "page_size": {
  2252. "description": "单页大小",
  2253. "type": "integer"
  2254. },
  2255. "start_coin": {
  2256. "type": "string",
  2257. "example": "最小金额"
  2258. },
  2259. "uid": {
  2260. "description": "指定查询用户 ID",
  2261. "type": "integer"
  2262. },
  2263. "user_name": {
  2264. "type": "string",
  2265. "example": "用户名称"
  2266. },
  2267. "user_phone": {
  2268. "type": "string",
  2269. "example": "手机号"
  2270. }
  2271. }
  2272. },
  2273. "md.GetActivePointsUserCoinListResp": {
  2274. "type": "object",
  2275. "properties": {
  2276. "kind_list": {
  2277. "description": "货币类型集合",
  2278. "type": "array",
  2279. "items": {
  2280. "$ref": "#/definitions/md.VirtualCoinListNode"
  2281. }
  2282. },
  2283. "list": {
  2284. "description": "余额集合",
  2285. "type": "array",
  2286. "items": {
  2287. "$ref": "#/definitions/md.ActivePointsWalletNode"
  2288. }
  2289. },
  2290. "sum_user_amount": {
  2291. "description": "用户持有总数",
  2292. "type": "number"
  2293. },
  2294. "total": {
  2295. "description": "持有该类型用户数",
  2296. "type": "integer"
  2297. }
  2298. }
  2299. },
  2300. "md.GetBasicResp": {
  2301. "type": "object",
  2302. "properties": {
  2303. "oss_access_key_id": {
  2304. "type": "string",
  2305. "example": "oss访问秘钥id"
  2306. },
  2307. "oss_access_key_secret": {
  2308. "type": "string",
  2309. "example": "oss访问秘钥"
  2310. },
  2311. "oss_bucket_name": {
  2312. "type": "string",
  2313. "example": "oss存储桶名称"
  2314. },
  2315. "oss_bucket_scheme": {
  2316. "type": "string",
  2317. "example": "oss上传方式"
  2318. },
  2319. "oss_endpoint": {
  2320. "type": "string",
  2321. "example": "oss地域节点"
  2322. },
  2323. "oss_object_domain": {
  2324. "type": "string",
  2325. "example": "oss域名"
  2326. }
  2327. }
  2328. },
  2329. "md.GetEggCoreDataListResp": {
  2330. "type": "object",
  2331. "properties": {
  2332. "now_energy_total_nums": {
  2333. "description": "现行总量",
  2334. "type": "string",
  2335. "example": "现行总量"
  2336. },
  2337. "now_price": {
  2338. "description": "当前价格",
  2339. "type": "string",
  2340. "example": "当前价格"
  2341. },
  2342. "planet_total_value": {
  2343. "description": "星球价值",
  2344. "type": "string",
  2345. "example": "星球价值"
  2346. },
  2347. "user_hold_total_nums": {
  2348. "description": "用户持有总量",
  2349. "type": "object",
  2350. "additionalProperties": {
  2351. "type": "string"
  2352. }
  2353. }
  2354. }
  2355. },
  2356. "md.GetEggEnergyBasicResp": {
  2357. "type": "object",
  2358. "properties": {
  2359. "basic_setting": {
  2360. "description": "基础设置",
  2361. "allOf": [
  2362. {
  2363. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.BasicSetting"
  2364. }
  2365. ]
  2366. },
  2367. "data_setting": {
  2368. "description": "数据设置",
  2369. "allOf": [
  2370. {
  2371. "$ref": "#/definitions/md.DataSetting"
  2372. }
  2373. ]
  2374. },
  2375. "destruction_setting": {
  2376. "description": "销毁设置",
  2377. "allOf": [
  2378. {
  2379. "$ref": "#/definitions/md.DestructionSettingStruct"
  2380. }
  2381. ]
  2382. },
  2383. "exchange_rules": {
  2384. "description": "兑换规则",
  2385. "allOf": [
  2386. {
  2387. "$ref": "#/definitions/md.ExchangeRulesStruct"
  2388. }
  2389. ]
  2390. },
  2391. "new_user_incentive_rules": {
  2392. "description": "新用户奖励规则",
  2393. "allOf": [
  2394. {
  2395. "$ref": "#/definitions/md.NewUserRewardRules"
  2396. }
  2397. ]
  2398. },
  2399. "price_setting": {
  2400. "description": "价格设置",
  2401. "allOf": [
  2402. {
  2403. "$ref": "#/definitions/md.PriceSettingStruct"
  2404. }
  2405. ]
  2406. },
  2407. "reward_system": {
  2408. "description": "圈层奖励",
  2409. "allOf": [
  2410. {
  2411. "$ref": "#/definitions/md.RewardSystemStruct"
  2412. }
  2413. ]
  2414. },
  2415. "system_id": {
  2416. "description": "该设置系统 ID",
  2417. "type": "integer"
  2418. },
  2419. "video_reward_setting": {
  2420. "description": "视频奖励",
  2421. "allOf": [
  2422. {
  2423. "$ref": "#/definitions/md.VideoRewardSetting"
  2424. }
  2425. ]
  2426. }
  2427. }
  2428. },
  2429. "md.GetFreePublishUserReq": {
  2430. "type": "object",
  2431. "properties": {
  2432. "limit": {
  2433. "description": "每页大小",
  2434. "type": "integer"
  2435. },
  2436. "page": {
  2437. "description": "当前页数",
  2438. "type": "integer"
  2439. },
  2440. "uid": {
  2441. "description": "筛选的用户 ID",
  2442. "type": "integer"
  2443. }
  2444. }
  2445. },
  2446. "md.GetFreePublishUserResp": {
  2447. "type": "object",
  2448. "properties": {
  2449. "list": {
  2450. "description": "免罚用户列表",
  2451. "type": "array",
  2452. "items": {
  2453. "$ref": "#/definitions/md.FreePublishUserNode"
  2454. }
  2455. },
  2456. "paginate": {
  2457. "description": "分页信息",
  2458. "allOf": [
  2459. {
  2460. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  2461. }
  2462. ]
  2463. }
  2464. }
  2465. },
  2466. "md.GetFundDataListReq": {
  2467. "type": "object",
  2468. "properties": {
  2469. "end_at": {
  2470. "type": "string",
  2471. "example": "结束时间"
  2472. },
  2473. "kind": {
  2474. "description": "数据类型",
  2475. "type": "integer"
  2476. },
  2477. "limit": {
  2478. "description": "每页大小",
  2479. "type": "integer"
  2480. },
  2481. "page": {
  2482. "description": "页数",
  2483. "type": "integer"
  2484. },
  2485. "start_at": {
  2486. "type": "string",
  2487. "example": "开始时间"
  2488. }
  2489. }
  2490. },
  2491. "md.GetFundDataListResp": {
  2492. "type": "object",
  2493. "properties": {
  2494. "kind_list": {
  2495. "description": "类型列表",
  2496. "type": "array",
  2497. "items": {
  2498. "type": "object",
  2499. "additionalProperties": true
  2500. }
  2501. },
  2502. "list": {
  2503. "description": "数据列表",
  2504. "type": "array",
  2505. "items": {
  2506. "$ref": "#/definitions/md.FundDataNode"
  2507. }
  2508. },
  2509. "paginate": {
  2510. "description": "分页数据",
  2511. "allOf": [
  2512. {
  2513. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  2514. }
  2515. ]
  2516. }
  2517. }
  2518. },
  2519. "md.GetFundDataRecordListReq": {
  2520. "type": "object",
  2521. "properties": {
  2522. "limit": {
  2523. "description": "页面大小",
  2524. "type": "integer"
  2525. },
  2526. "page": {
  2527. "description": "页数",
  2528. "type": "integer"
  2529. },
  2530. "system_id": {
  2531. "description": "数据在系统中的 ID",
  2532. "type": "integer"
  2533. }
  2534. }
  2535. },
  2536. "md.GetFundDataRecordListResp": {
  2537. "type": "object",
  2538. "properties": {
  2539. "list": {
  2540. "type": "array",
  2541. "items": {
  2542. "$ref": "#/definitions/md.FundDataRecordNode"
  2543. }
  2544. },
  2545. "paginate": {
  2546. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  2547. }
  2548. }
  2549. },
  2550. "md.GetGreenEnergyUserCoinFlowListReq": {
  2551. "type": "object",
  2552. "properties": {
  2553. "coin_id": {
  2554. "description": "货币类型 ID",
  2555. "type": "integer"
  2556. },
  2557. "direction": {
  2558. "description": "流水方向:1收入 2支出",
  2559. "type": "integer"
  2560. },
  2561. "end_at": {
  2562. "description": "结束时间",
  2563. "type": "string"
  2564. },
  2565. "page": {
  2566. "description": "页数",
  2567. "type": "integer"
  2568. },
  2569. "page_size": {
  2570. "description": "每页大小",
  2571. "type": "integer"
  2572. },
  2573. "start_at": {
  2574. "description": "开始时间",
  2575. "type": "string"
  2576. },
  2577. "uid": {
  2578. "description": "用户 ID",
  2579. "type": "integer"
  2580. }
  2581. }
  2582. },
  2583. "md.GetGreenEnergyUserCoinFlowListResp": {
  2584. "type": "object",
  2585. "properties": {
  2586. "list": {
  2587. "description": "流水信息",
  2588. "type": "array",
  2589. "items": {
  2590. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  2591. }
  2592. },
  2593. "paginate": {
  2594. "description": "分页信息",
  2595. "allOf": [
  2596. {
  2597. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  2598. }
  2599. ]
  2600. },
  2601. "select_data": {
  2602. "description": "流水类型",
  2603. "allOf": [
  2604. {
  2605. "$ref": "#/definitions/md.SelectData"
  2606. }
  2607. ]
  2608. }
  2609. }
  2610. },
  2611. "md.GetGreenEnergyUserCoinListReq": {
  2612. "type": "object",
  2613. "properties": {
  2614. "end_coin": {
  2615. "type": "string",
  2616. "example": "最大金额"
  2617. },
  2618. "kind": {
  2619. "description": "虚拟币种类编号",
  2620. "type": "integer"
  2621. },
  2622. "page": {
  2623. "description": "页数",
  2624. "type": "integer"
  2625. },
  2626. "page_size": {
  2627. "description": "单页大小",
  2628. "type": "integer"
  2629. },
  2630. "start_coin": {
  2631. "type": "string",
  2632. "example": "最小金额"
  2633. },
  2634. "uid": {
  2635. "description": "指定查询用户 ID",
  2636. "type": "integer"
  2637. },
  2638. "user_name": {
  2639. "type": "string",
  2640. "example": "用户名称"
  2641. },
  2642. "user_phone": {
  2643. "type": "string",
  2644. "example": "手机号"
  2645. }
  2646. }
  2647. },
  2648. "md.GetGreenEnergyUserCoinListResp": {
  2649. "type": "object",
  2650. "properties": {
  2651. "kind_list": {
  2652. "description": "货币类型集合",
  2653. "type": "array",
  2654. "items": {
  2655. "$ref": "#/definitions/md.VirtualCoinListNode"
  2656. }
  2657. },
  2658. "list": {
  2659. "description": "余额集合",
  2660. "type": "array",
  2661. "items": {
  2662. "$ref": "#/definitions/md.ActivePointsWalletNode"
  2663. }
  2664. },
  2665. "sum_user_amount": {
  2666. "description": "用户持有总数",
  2667. "type": "number"
  2668. },
  2669. "total": {
  2670. "description": "持有该类型用户数",
  2671. "type": "integer"
  2672. }
  2673. }
  2674. },
  2675. "md.GetPriceCurveResp": {
  2676. "type": "object",
  2677. "properties": {
  2678. "x_data": {
  2679. "type": "array",
  2680. "items": {}
  2681. },
  2682. "y_data": {
  2683. "type": "array",
  2684. "items": {}
  2685. }
  2686. }
  2687. },
  2688. "md.GetPublicPlatoonBasicResp": {
  2689. "type": "object",
  2690. "properties": {
  2691. "is_open": {
  2692. "description": "是否开启(1:开启 0:关闭)",
  2693. "type": "integer"
  2694. },
  2695. "is_self_active_get_team_revenue": {
  2696. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  2697. "type": "integer"
  2698. },
  2699. "originator_uid": {
  2700. "description": "创始人uid",
  2701. "type": "integer"
  2702. },
  2703. "several_rows": {
  2704. "description": "几排",
  2705. "type": "integer"
  2706. },
  2707. "several_times": {
  2708. "description": "几乘",
  2709. "type": "integer"
  2710. },
  2711. "system_punish_replace": {
  2712. "description": "是否位置滑落 被新用户替换 0否 1是",
  2713. "type": "integer"
  2714. },
  2715. "system_punish_replace_value": {
  2716. "description": "xx天未活跃,处罚滑落",
  2717. "type": "integer"
  2718. }
  2719. }
  2720. },
  2721. "md.ListCommunityDividendsReq": {
  2722. "type": "object",
  2723. "properties": {
  2724. "end_at": {
  2725. "description": "结束时间",
  2726. "type": "string"
  2727. },
  2728. "end_nums": {
  2729. "description": "分红总量上限",
  2730. "type": "integer"
  2731. },
  2732. "limit": {
  2733. "description": "每页大小",
  2734. "type": "integer"
  2735. },
  2736. "page": {
  2737. "description": "页数",
  2738. "type": "integer"
  2739. },
  2740. "start_at": {
  2741. "description": "开始时间",
  2742. "type": "string"
  2743. },
  2744. "start_nums": {
  2745. "description": "分红总量下限",
  2746. "type": "integer"
  2747. }
  2748. }
  2749. },
  2750. "md.ListCommunityDividendsResp": {
  2751. "type": "object",
  2752. "properties": {
  2753. "list": {
  2754. "type": "array",
  2755. "items": {
  2756. "$ref": "#/definitions/md.EggEnergyCommunityDividends"
  2757. }
  2758. },
  2759. "paginate": {
  2760. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  2761. }
  2762. }
  2763. },
  2764. "md.ListCommunityDividendsWithUserReq": {
  2765. "type": "object",
  2766. "properties": {
  2767. "limit": {
  2768. "type": "integer"
  2769. },
  2770. "page": {
  2771. "type": "integer"
  2772. },
  2773. "phone": {
  2774. "type": "string"
  2775. },
  2776. "uid": {
  2777. "type": "integer"
  2778. }
  2779. }
  2780. },
  2781. "md.ListCommunityDividendsWithUserResp": {
  2782. "type": "object",
  2783. "properties": {
  2784. "list": {
  2785. "type": "array",
  2786. "items": {
  2787. "$ref": "#/definitions/md.EggEnergyCommunityDividendsWithUser"
  2788. }
  2789. },
  2790. "paginate": {
  2791. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  2792. }
  2793. }
  2794. },
  2795. "md.ListPlatformRevenueReq": {
  2796. "type": "object",
  2797. "properties": {
  2798. "end_at": {
  2799. "type": "string",
  2800. "example": "结束时间"
  2801. },
  2802. "kind": {
  2803. "description": "数据类型",
  2804. "type": "integer"
  2805. },
  2806. "limit": {
  2807. "description": "每页大小",
  2808. "type": "integer"
  2809. },
  2810. "page": {
  2811. "description": "页数",
  2812. "type": "integer"
  2813. },
  2814. "start_at": {
  2815. "type": "string",
  2816. "example": "开始时间"
  2817. }
  2818. }
  2819. },
  2820. "md.ListPlatformRevenueResp": {
  2821. "type": "object",
  2822. "properties": {
  2823. "kind_list": {
  2824. "description": "类型列表",
  2825. "type": "array",
  2826. "items": {
  2827. "type": "object",
  2828. "additionalProperties": true
  2829. }
  2830. },
  2831. "list": {
  2832. "description": "数据列表",
  2833. "type": "array",
  2834. "items": {
  2835. "$ref": "#/definitions/md.PlatformRevenueDataNode"
  2836. }
  2837. },
  2838. "paginate": {
  2839. "description": "分页数据",
  2840. "allOf": [
  2841. {
  2842. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  2843. }
  2844. ]
  2845. }
  2846. }
  2847. },
  2848. "md.LoginReq": {
  2849. "type": "object",
  2850. "required": [
  2851. "password",
  2852. "username"
  2853. ],
  2854. "properties": {
  2855. "code": {
  2856. "type": "string",
  2857. "example": "验证码"
  2858. },
  2859. "password": {
  2860. "type": "string",
  2861. "example": "登录密码"
  2862. },
  2863. "username": {
  2864. "type": "string",
  2865. "example": "登录账号"
  2866. }
  2867. }
  2868. },
  2869. "md.LoginResponse": {
  2870. "type": "object",
  2871. "properties": {
  2872. "token": {
  2873. "type": "string"
  2874. }
  2875. }
  2876. },
  2877. "md.NewUserRewardRules": {
  2878. "type": "object",
  2879. "properties": {
  2880. "continue_days": {
  2881. "description": "连续x天",
  2882. "type": "integer"
  2883. },
  2884. "invite_user_reward_value": {
  2885. "description": "拉新用户奖励x个活跃积分",
  2886. "type": "integer"
  2887. },
  2888. "reward_coefficient": {
  2889. "description": "奖励系数",
  2890. "type": "number"
  2891. }
  2892. }
  2893. },
  2894. "md.PlatformRevenueDataNode": {
  2895. "type": "object",
  2896. "properties": {
  2897. "balance_amount": {
  2898. "description": "余额",
  2899. "type": "string"
  2900. },
  2901. "balance_times": {
  2902. "description": "剩余执行次数",
  2903. "type": "integer"
  2904. },
  2905. "create_at": {
  2906. "description": "创建时间",
  2907. "type": "string"
  2908. },
  2909. "hours": {
  2910. "description": "时长",
  2911. "type": "integer"
  2912. },
  2913. "kind": {
  2914. "description": "种类(1:开屏广告 2:banner 广告 3:信息流广告 4:插屏广告)",
  2915. "type": "integer"
  2916. },
  2917. "memo": {
  2918. "description": "备注",
  2919. "type": "string"
  2920. },
  2921. "system_id": {
  2922. "type": "integer"
  2923. },
  2924. "total_amount": {
  2925. "description": "金额",
  2926. "type": "string"
  2927. }
  2928. }
  2929. },
  2930. "md.PriceSettingStruct": {
  2931. "type": "object",
  2932. "properties": {
  2933. "marketplace_merchants_fund_exchange_marketplace_merchants_nums_value": {
  2934. "description": "市商资金单笔x元自动兑换",
  2935. "type": "string"
  2936. },
  2937. "marketplace_merchants_nums_exchange_marketplace_merchants_fund_value": {
  2938. "description": "市商数量单笔x数量自动兑换",
  2939. "type": "string"
  2940. },
  2941. "price_below_value": {
  2942. "description": "低于x元",
  2943. "type": "string"
  2944. },
  2945. "price_higher_than_value": {
  2946. "description": "高于x元",
  2947. "type": "string"
  2948. }
  2949. }
  2950. },
  2951. "md.Response": {
  2952. "type": "object",
  2953. "properties": {
  2954. "code": {
  2955. "type": "string",
  2956. "example": "响应码"
  2957. },
  2958. "data": {
  2959. "description": "内容"
  2960. },
  2961. "msg": {
  2962. "type": "string",
  2963. "example": "具体错误原因"
  2964. }
  2965. }
  2966. },
  2967. "md.RewardSystemStruct": {
  2968. "type": "object",
  2969. "properties": {
  2970. "level": {
  2971. "description": "圈层",
  2972. "type": "integer"
  2973. },
  2974. "reward_condition": {
  2975. "description": "奖励条件",
  2976. "type": "string"
  2977. },
  2978. "reward_value": {
  2979. "description": "奖励值",
  2980. "type": "string"
  2981. }
  2982. }
  2983. },
  2984. "md.SelectData": {
  2985. "type": "object",
  2986. "properties": {
  2987. "direction": {
  2988. "type": "array",
  2989. "items": {
  2990. "type": "object",
  2991. "additionalProperties": {
  2992. "type": "string"
  2993. }
  2994. }
  2995. }
  2996. }
  2997. },
  2998. "md.SetBasicReq": {
  2999. "type": "object",
  3000. "properties": {
  3001. "oss_access_key_id": {
  3002. "type": "string",
  3003. "example": "oss访问秘钥id"
  3004. },
  3005. "oss_access_key_secret": {
  3006. "type": "string",
  3007. "example": "oss访问秘钥"
  3008. },
  3009. "oss_bucket_name": {
  3010. "type": "string",
  3011. "example": "oss存储桶名称"
  3012. },
  3013. "oss_bucket_scheme": {
  3014. "type": "string",
  3015. "example": "oss上传方式"
  3016. },
  3017. "oss_endpoint": {
  3018. "type": "string",
  3019. "example": "oss地域节点"
  3020. },
  3021. "oss_object_domain": {
  3022. "type": "string",
  3023. "example": "oss域名"
  3024. }
  3025. }
  3026. },
  3027. "md.SetVideoRewardReq": {
  3028. "type": "object",
  3029. "properties": {
  3030. "ecmp": {
  3031. "description": "当前 Ecmp 值",
  3032. "type": "string"
  3033. },
  3034. "unit_price": {
  3035. "description": "单价",
  3036. "type": "string"
  3037. }
  3038. }
  3039. },
  3040. "md.SonUserDailyActivityAnalysisNode": {
  3041. "type": "object",
  3042. "properties": {
  3043. "activity_day_nums": {
  3044. "description": "活跃子节点活跃天数",
  3045. "type": "integer"
  3046. },
  3047. "nickname": {
  3048. "type": "string",
  3049. "example": "昵称"
  3050. },
  3051. "phone": {
  3052. "type": "string",
  3053. "example": "手机号"
  3054. },
  3055. "uid": {
  3056. "description": "查询用户活跃子节点 ID",
  3057. "type": "integer"
  3058. }
  3059. }
  3060. },
  3061. "md.SubUser": {
  3062. "type": "object",
  3063. "properties": {
  3064. "avatar_url": {
  3065. "type": "string",
  3066. "example": "头像"
  3067. },
  3068. "level": {
  3069. "description": "整个系统中的等级",
  3070. "type": "integer"
  3071. },
  3072. "nickname": {
  3073. "type": "string",
  3074. "example": "昵称"
  3075. },
  3076. "phone": {
  3077. "type": "string",
  3078. "example": "手机号"
  3079. },
  3080. "pid": {
  3081. "type": "integer"
  3082. },
  3083. "position": {
  3084. "description": "以pid1为创始人中网的位置",
  3085. "type": "integer"
  3086. },
  3087. "uid": {
  3088. "type": "integer"
  3089. }
  3090. }
  3091. },
  3092. "md.TeamRewardSettingStruct": {
  3093. "type": "object",
  3094. "properties": {
  3095. "member_self_is_open_get_team_reward": {
  3096. "description": "会员是否活跃得到团队奖励",
  3097. "type": "string"
  3098. },
  3099. "one_round_duration": {
  3100. "description": "一轮持续时间",
  3101. "type": "string"
  3102. },
  3103. "reward_decrement_value": {
  3104. "description": "递减百分比",
  3105. "type": "string"
  3106. },
  3107. "reward_end_value": {
  3108. "description": "奖励结束值",
  3109. "type": "string"
  3110. }
  3111. }
  3112. },
  3113. "md.TreeNode": {
  3114. "type": "object",
  3115. "properties": {
  3116. "avatar_url": {
  3117. "type": "string",
  3118. "example": "头像"
  3119. },
  3120. "level": {
  3121. "type": "integer"
  3122. },
  3123. "nickname": {
  3124. "type": "string",
  3125. "example": "昵称"
  3126. },
  3127. "phone": {
  3128. "type": "string",
  3129. "example": "手机号"
  3130. },
  3131. "pid": {
  3132. "type": "integer"
  3133. },
  3134. "position": {
  3135. "type": "integer"
  3136. },
  3137. "son": {
  3138. "type": "array",
  3139. "items": {
  3140. "$ref": "#/definitions/md.TreeNode"
  3141. }
  3142. },
  3143. "system_id": {
  3144. "description": "公排网中id",
  3145. "type": "integer"
  3146. },
  3147. "uid": {
  3148. "type": "integer"
  3149. }
  3150. }
  3151. },
  3152. "md.UpdateEggEnergyBasicReq": {
  3153. "type": "object",
  3154. "properties": {
  3155. "basic_setting": {
  3156. "description": "基础设置",
  3157. "allOf": [
  3158. {
  3159. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.BasicSetting"
  3160. }
  3161. ]
  3162. },
  3163. "data_setting": {
  3164. "description": "数据设置",
  3165. "allOf": [
  3166. {
  3167. "$ref": "#/definitions/md.DataSetting"
  3168. }
  3169. ]
  3170. },
  3171. "destruction_setting": {
  3172. "description": "销毁设置",
  3173. "allOf": [
  3174. {
  3175. "$ref": "#/definitions/md.DestructionSettingStruct"
  3176. }
  3177. ]
  3178. },
  3179. "exchange_rules": {
  3180. "description": "兑换规则",
  3181. "allOf": [
  3182. {
  3183. "$ref": "#/definitions/md.ExchangeRulesStruct"
  3184. }
  3185. ]
  3186. },
  3187. "new_user_incentive_rules": {
  3188. "description": "新用户奖励规则\t\t\t\t\t\t\t\t\t\t\t // 新用户奖励规则",
  3189. "allOf": [
  3190. {
  3191. "$ref": "#/definitions/md.NewUserRewardRules"
  3192. }
  3193. ]
  3194. },
  3195. "price_setting": {
  3196. "description": "价格设置",
  3197. "allOf": [
  3198. {
  3199. "$ref": "#/definitions/md.PriceSettingStruct"
  3200. }
  3201. ]
  3202. },
  3203. "reward_system": {
  3204. "description": "圈层奖励",
  3205. "allOf": [
  3206. {
  3207. "$ref": "#/definitions/md.RewardSystemStruct"
  3208. }
  3209. ]
  3210. },
  3211. "system_id": {
  3212. "description": "该设置系统 ID",
  3213. "type": "integer"
  3214. },
  3215. "video_reward_setting": {
  3216. "description": "视频奖励",
  3217. "allOf": [
  3218. {
  3219. "$ref": "#/definitions/md.VideoRewardSetting"
  3220. }
  3221. ]
  3222. }
  3223. }
  3224. },
  3225. "md.UpdatePublicPlatoonBasicReq": {
  3226. "type": "object",
  3227. "properties": {
  3228. "is_open": {
  3229. "description": "是否开启(1:开启 0:关闭)",
  3230. "type": "integer"
  3231. },
  3232. "is_self_active_get_team_revenue": {
  3233. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  3234. "type": "integer"
  3235. },
  3236. "originator_uid": {
  3237. "description": "创始人uid",
  3238. "type": "integer"
  3239. },
  3240. "several_rows": {
  3241. "description": "几排",
  3242. "type": "integer"
  3243. },
  3244. "several_times": {
  3245. "description": "几乘",
  3246. "type": "integer"
  3247. },
  3248. "system_punish_replace": {
  3249. "description": "是否位置滑落 被新用户替换 0否 1是",
  3250. "type": "integer"
  3251. },
  3252. "system_punish_replace_value": {
  3253. "description": "xx天未活跃,处罚滑落",
  3254. "type": "integer"
  3255. }
  3256. }
  3257. },
  3258. "md.UserDailyActivityAnalysisReq": {
  3259. "type": "object",
  3260. "properties": {
  3261. "end_date": {
  3262. "type": "string",
  3263. "example": "结束日期"
  3264. },
  3265. "page": {
  3266. "description": "页数",
  3267. "type": "integer"
  3268. },
  3269. "page_size": {
  3270. "description": "每页大小",
  3271. "type": "integer"
  3272. },
  3273. "start_date": {
  3274. "type": "string",
  3275. "example": "开始日期"
  3276. },
  3277. "uid": {
  3278. "description": "查询用户 ID",
  3279. "type": "integer"
  3280. }
  3281. }
  3282. },
  3283. "md.UserDailyActivityAnalysisResp": {
  3284. "type": "object",
  3285. "properties": {
  3286. "son_user_data": {
  3287. "description": "被查询用户子节点信息",
  3288. "type": "array",
  3289. "items": {
  3290. "$ref": "#/definitions/md.SonUserDailyActivityAnalysisNode"
  3291. }
  3292. },
  3293. "top_data": {
  3294. "description": "统计信息",
  3295. "allOf": [
  3296. {
  3297. "$ref": "#/definitions/md.DailyActivityAnalysisTopData"
  3298. }
  3299. ]
  3300. }
  3301. }
  3302. },
  3303. "md.UserVirtualCoinFlow": {
  3304. "type": "object",
  3305. "properties": {
  3306. "after_amount": {
  3307. "type": "string",
  3308. "example": "变更后数量"
  3309. },
  3310. "amount": {
  3311. "type": "string",
  3312. "example": "变更数量"
  3313. },
  3314. "before_amount": {
  3315. "type": "string",
  3316. "example": "变更前数量"
  3317. },
  3318. "coin_id": {
  3319. "description": "虚拟币 ID",
  3320. "type": "integer"
  3321. },
  3322. "create_at": {
  3323. "type": "string",
  3324. "example": "创建时间"
  3325. },
  3326. "direction": {
  3327. "description": "方向:1收入 2支出",
  3328. "type": "integer"
  3329. },
  3330. "id": {
  3331. "type": "integer"
  3332. },
  3333. "sys_fee": {
  3334. "type": "string",
  3335. "example": "手续费"
  3336. },
  3337. "title": {
  3338. "type": "string",
  3339. "example": "标题"
  3340. },
  3341. "transfer_type": {
  3342. "description": "转账类型",
  3343. "type": "integer"
  3344. },
  3345. "uid": {
  3346. "description": "用户 ID",
  3347. "type": "integer"
  3348. },
  3349. "update_at": {
  3350. "type": "string",
  3351. "example": "更新时间"
  3352. }
  3353. }
  3354. },
  3355. "md.VideoRewardSetting": {
  3356. "type": "object",
  3357. "properties": {
  3358. "video_reward_is_open": {
  3359. "description": "视频奖励是否开启(1:开启 0:关闭)",
  3360. "type": "integer"
  3361. },
  3362. "video_reward_system": {
  3363. "description": "视频奖励机制",
  3364. "allOf": [
  3365. {
  3366. "$ref": "#/definitions/md.VideoRewardSystemStruct"
  3367. }
  3368. ]
  3369. }
  3370. }
  3371. },
  3372. "md.VideoRewardSystemStruct": {
  3373. "type": "object",
  3374. "properties": {
  3375. "each_round_hour": {
  3376. "description": "每一轮X个小时",
  3377. "type": "string"
  3378. },
  3379. "interval_minutes": {
  3380. "description": "间隔X秒",
  3381. "type": "string"
  3382. },
  3383. "reward_total_num": {
  3384. "description": "一共X个奖励视屏",
  3385. "type": "string"
  3386. },
  3387. "reward_value": {
  3388. "description": "奖励X个活跃积分",
  3389. "type": "string"
  3390. }
  3391. }
  3392. },
  3393. "md.VirtualCoin": {
  3394. "type": "object",
  3395. "properties": {
  3396. "create_at": {
  3397. "type": "string"
  3398. },
  3399. "exchange_ratio": {
  3400. "description": "兑换比例(与金额)",
  3401. "type": "string",
  3402. "example": "兑换比例(与金额)"
  3403. },
  3404. "id": {
  3405. "type": "integer"
  3406. },
  3407. "is_use": {
  3408. "description": "是否开启: 0否 1是",
  3409. "type": "integer"
  3410. },
  3411. "name": {
  3412. "description": "名称",
  3413. "type": "string"
  3414. },
  3415. "update_at": {
  3416. "type": "string"
  3417. }
  3418. }
  3419. },
  3420. "md.VirtualCoinListNode": {
  3421. "type": "object",
  3422. "properties": {
  3423. "coin_id": {
  3424. "description": "货币类型 ID",
  3425. "type": "integer"
  3426. },
  3427. "kind": {
  3428. "description": "货币序号",
  3429. "type": "integer"
  3430. },
  3431. "name": {
  3432. "type": "string",
  3433. "example": "货币类型名称"
  3434. }
  3435. }
  3436. }
  3437. },
  3438. "securityDefinitions": {
  3439. "MasterID": {
  3440. "type": "apiKey",
  3441. "name": "MasterID",
  3442. "in": "header"
  3443. }
  3444. }
  3445. }