蛋蛋星球 后台端
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 

3471 satır
120 KiB

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