蛋蛋星球 后台端
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 

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