蛋蛋星球-客户端
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 
 

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