蛋蛋星球-客户端
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 

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