蛋蛋星球 后台端
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

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