蛋蛋星球-客户端
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

2043 řádky
70 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/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. "description": "页数、每页大小必传 起止时间、持有类型选传",
  87. "name": "req",
  88. "in": "body",
  89. "required": true,
  90. "schema": {
  91. "$ref": "#/definitions/md.DynamicDataFlowListReq"
  92. }
  93. }
  94. ],
  95. "responses": {
  96. "200": {
  97. "description": "成功返回",
  98. "schema": {
  99. "$ref": "#/definitions/md.DynamicDataFlowListResp"
  100. }
  101. },
  102. "400": {
  103. "description": "具体错误",
  104. "schema": {
  105. "$ref": "#/definitions/md.Response"
  106. }
  107. }
  108. }
  109. }
  110. },
  111. "/api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinFlowList": {
  112. "post": {
  113. "description": "活跃积分持有流水(查询)",
  114. "consumes": [
  115. "application/json"
  116. ],
  117. "produces": [
  118. "application/json"
  119. ],
  120. "tags": [
  121. "公排管理"
  122. ],
  123. "summary": "制度中心-活跃积分持有者明细-活跃积分持有流水(查询)",
  124. "parameters": [
  125. {
  126. "type": "string",
  127. "description": "验证参数Bearer和token空格拼接",
  128. "name": "Authorization",
  129. "in": "header",
  130. "required": true
  131. },
  132. {
  133. "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小",
  134. "name": "req",
  135. "in": "body",
  136. "required": true,
  137. "schema": {
  138. "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListReq"
  139. }
  140. }
  141. ],
  142. "responses": {
  143. "200": {
  144. "description": "成功返回",
  145. "schema": {
  146. "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListResp"
  147. }
  148. },
  149. "400": {
  150. "description": "具体错误",
  151. "schema": {
  152. "$ref": "#/definitions/md.Response"
  153. }
  154. }
  155. }
  156. }
  157. },
  158. "/api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinList": {
  159. "post": {
  160. "description": "活跃积分持有(获取)",
  161. "consumes": [
  162. "application/json"
  163. ],
  164. "produces": [
  165. "application/json"
  166. ],
  167. "tags": [
  168. "公排管理"
  169. ],
  170. "summary": "制度中心-活跃积分持有者明细-活跃积分持有(获取)",
  171. "parameters": [
  172. {
  173. "type": "string",
  174. "description": "验证参数Bearer和token空格拼接",
  175. "name": "Authorization",
  176. "in": "header",
  177. "required": true
  178. },
  179. {
  180. "description": "落地页不填页大小默认20条数据",
  181. "name": "req",
  182. "in": "body",
  183. "schema": {
  184. "$ref": "#/definitions/md.GetActivePointsUserCoinListReq"
  185. }
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "成功返回",
  191. "schema": {
  192. "$ref": "#/definitions/md.GetActivePointsUserCoinListResp"
  193. }
  194. },
  195. "400": {
  196. "description": "具体错误",
  197. "schema": {
  198. "$ref": "#/definitions/md.Response"
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "/api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinFlowList": {
  205. "post": {
  206. "description": "绿色能量持有流水(查询)",
  207. "consumes": [
  208. "application/json"
  209. ],
  210. "produces": [
  211. "application/json"
  212. ],
  213. "tags": [
  214. "公排管理"
  215. ],
  216. "summary": "制度中心-绿色能量持有者明细-绿色能量持有流水(查询)",
  217. "parameters": [
  218. {
  219. "type": "string",
  220. "description": "验证参数Bearer和token空格拼接",
  221. "name": "Authorization",
  222. "in": "header",
  223. "required": true
  224. },
  225. {
  226. "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小",
  227. "name": "req",
  228. "in": "body",
  229. "required": true,
  230. "schema": {
  231. "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListReq"
  232. }
  233. }
  234. ],
  235. "responses": {
  236. "200": {
  237. "description": "成功返回",
  238. "schema": {
  239. "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListResp"
  240. }
  241. },
  242. "400": {
  243. "description": "具体错误",
  244. "schema": {
  245. "$ref": "#/definitions/md.Response"
  246. }
  247. }
  248. }
  249. }
  250. },
  251. "/api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinList": {
  252. "post": {
  253. "description": "绿色能量(获取)",
  254. "consumes": [
  255. "application/json"
  256. ],
  257. "produces": [
  258. "application/json"
  259. ],
  260. "tags": [
  261. "公排管理"
  262. ],
  263. "summary": "制度中心-绿色能量持有者明细-绿色能量(获取)",
  264. "parameters": [
  265. {
  266. "type": "string",
  267. "description": "验证参数Bearer和token空格拼接",
  268. "name": "Authorization",
  269. "in": "header",
  270. "required": true
  271. },
  272. {
  273. "description": "落地页不填页大小默认20条数据",
  274. "name": "req",
  275. "in": "body",
  276. "schema": {
  277. "$ref": "#/definitions/md.GetGreenEnergyUserCoinListReq"
  278. }
  279. }
  280. ],
  281. "responses": {
  282. "200": {
  283. "description": "成功返回",
  284. "schema": {
  285. "$ref": "#/definitions/md.GetGreenEnergyUserCoinListResp"
  286. }
  287. },
  288. "400": {
  289. "description": "具体错误",
  290. "schema": {
  291. "$ref": "#/definitions/md.Response"
  292. }
  293. }
  294. }
  295. }
  296. },
  297. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd": {
  298. "post": {
  299. "description": "社区分红(新增)",
  300. "consumes": [
  301. "application/json"
  302. ],
  303. "produces": [
  304. "application/json"
  305. ],
  306. "tags": [
  307. "公排管理"
  308. ],
  309. "summary": "制度中心-公排管理-社区分红(新增)",
  310. "parameters": [
  311. {
  312. "type": "string",
  313. "description": "验证参数Bearer和token空格拼接",
  314. "name": "Authorization",
  315. "in": "header",
  316. "required": true
  317. },
  318. {
  319. "description": "分红名称、分红总量",
  320. "name": "req",
  321. "in": "body",
  322. "required": true,
  323. "schema": {
  324. "$ref": "#/definitions/md.AddCommunityDividendsReq"
  325. }
  326. }
  327. ],
  328. "responses": {
  329. "200": {
  330. "description": "插入数据 ID",
  331. "schema": {
  332. "type": "int"
  333. }
  334. },
  335. "400": {
  336. "description": "具体错误",
  337. "schema": {
  338. "$ref": "#/definitions/md.Response"
  339. }
  340. }
  341. }
  342. }
  343. },
  344. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsList": {
  345. "post": {
  346. "description": "社区分红(查询)",
  347. "consumes": [
  348. "application/json"
  349. ],
  350. "produces": [
  351. "application/json"
  352. ],
  353. "tags": [
  354. "公排管理"
  355. ],
  356. "summary": "制度中心-公排管理-社区分红(查询)",
  357. "parameters": [
  358. {
  359. "type": "string",
  360. "description": "验证参数Bearer和token空格拼接",
  361. "name": "Authorization",
  362. "in": "header",
  363. "required": true
  364. },
  365. {
  366. "description": "页数、每页大小必填 起止时间、起止数量选填",
  367. "name": "req",
  368. "in": "body",
  369. "required": true,
  370. "schema": {
  371. "$ref": "#/definitions/md.ListCommunityDividendsReq"
  372. }
  373. }
  374. ],
  375. "responses": {
  376. "200": {
  377. "description": "具体数据",
  378. "schema": {
  379. "$ref": "#/definitions/md.ListCommunityDividendsResp"
  380. }
  381. },
  382. "400": {
  383. "description": "具体错误",
  384. "schema": {
  385. "$ref": "#/definitions/md.Response"
  386. }
  387. }
  388. }
  389. }
  390. },
  391. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserAdd": {
  392. "post": {
  393. "description": "社区长列表(新增)",
  394. "consumes": [
  395. "application/json"
  396. ],
  397. "produces": [
  398. "application/json"
  399. ],
  400. "tags": [
  401. "公排管理"
  402. ],
  403. "summary": "制度中心-公排管理-社区长列表(新增)",
  404. "parameters": [
  405. {
  406. "type": "string",
  407. "description": "验证参数Bearer和token空格拼接",
  408. "name": "Authorization",
  409. "in": "header",
  410. "required": true
  411. },
  412. {
  413. "description": "新增社区长 ID、备注",
  414. "name": "req",
  415. "in": "body",
  416. "required": true,
  417. "schema": {
  418. "$ref": "#/definitions/md.AddCommunityDividendsWithUserReq"
  419. }
  420. }
  421. ],
  422. "responses": {
  423. "200": {
  424. "description": "插入数据 ID",
  425. "schema": {
  426. "type": "int"
  427. }
  428. },
  429. "400": {
  430. "description": "具体错误",
  431. "schema": {
  432. "$ref": "#/definitions/md.Response"
  433. }
  434. }
  435. }
  436. }
  437. },
  438. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserList": {
  439. "post": {
  440. "description": "社区长列表(查询)",
  441. "consumes": [
  442. "application/json"
  443. ],
  444. "produces": [
  445. "application/json"
  446. ],
  447. "tags": [
  448. "公排管理"
  449. ],
  450. "summary": "制度中心-公排管理-社区长列表(查询)",
  451. "parameters": [
  452. {
  453. "type": "string",
  454. "description": "验证参数Bearer和token空格拼接",
  455. "name": "Authorization",
  456. "in": "header",
  457. "required": true
  458. },
  459. {
  460. "description": "页数、每页大小必填 手机号、用户ID选填",
  461. "name": "req",
  462. "in": "body",
  463. "required": true,
  464. "schema": {
  465. "$ref": "#/definitions/md.ListCommunityDividendsWithUserReq"
  466. }
  467. }
  468. ],
  469. "responses": {
  470. "200": {
  471. "description": "社区长列表",
  472. "schema": {
  473. "$ref": "#/definitions/md.ListCommunityDividendsWithUserResp"
  474. }
  475. },
  476. "400": {
  477. "description": "具体错误",
  478. "schema": {
  479. "$ref": "#/definitions/md.Response"
  480. }
  481. }
  482. }
  483. }
  484. },
  485. "/api/institutionalManagement/publicPlatoon/exchangeUserPosition": {
  486. "post": {
  487. "description": "关系分布图(位置转换)",
  488. "consumes": [
  489. "application/json"
  490. ],
  491. "produces": [
  492. "application/json"
  493. ],
  494. "tags": [
  495. "公排管理"
  496. ],
  497. "summary": "制度中心-公排管理-关系分布图(位置转换)",
  498. "parameters": [
  499. {
  500. "type": "string",
  501. "description": "验证参数Bearer和token空格拼接",
  502. "name": "Authorization",
  503. "in": "header",
  504. "required": true
  505. },
  506. {
  507. "description": "需要交换的两个位置",
  508. "name": "req",
  509. "in": "body",
  510. "required": true,
  511. "schema": {
  512. "$ref": "#/definitions/md.ExchangeUserPositionReq"
  513. }
  514. }
  515. ],
  516. "responses": {
  517. "200": {
  518. "description": "成功返回",
  519. "schema": {
  520. "type": ""
  521. }
  522. },
  523. "400": {
  524. "description": "具体错误",
  525. "schema": {
  526. "$ref": "#/definitions/md.Response"
  527. }
  528. }
  529. }
  530. }
  531. },
  532. "/api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap": {
  533. "get": {
  534. "description": "关系分布图(获取指定用户上级)",
  535. "consumes": [
  536. "application/json"
  537. ],
  538. "produces": [
  539. "application/json"
  540. ],
  541. "tags": [
  542. "公排管理"
  543. ],
  544. "summary": "制度中心-公排管理-关系分布图(获取指定用户上级)",
  545. "parameters": [
  546. {
  547. "type": "string",
  548. "description": "验证参数Bearer和token空格拼接",
  549. "name": "Authorization",
  550. "in": "header",
  551. "required": true
  552. },
  553. {
  554. "type": "string",
  555. "description": "用户ID",
  556. "name": "uid",
  557. "in": "query",
  558. "required": true
  559. }
  560. ],
  561. "responses": {
  562. "200": {
  563. "description": "具体数据",
  564. "schema": {
  565. "$ref": "#/definitions/md.FindSubUserRelationshipMapResp"
  566. }
  567. },
  568. "400": {
  569. "description": "具体错误",
  570. "schema": {
  571. "$ref": "#/definitions/md.Response"
  572. }
  573. }
  574. }
  575. }
  576. },
  577. "/api/institutionalManagement/publicPlatoon/findUserRelationshipMap": {
  578. "get": {
  579. "description": "关系分布图(获取指定用户下级)",
  580. "consumes": [
  581. "application/json"
  582. ],
  583. "produces": [
  584. "application/json"
  585. ],
  586. "tags": [
  587. "公排管理"
  588. ],
  589. "summary": "制度中心-公排管理-关系分布图(获取指定用户下级)",
  590. "parameters": [
  591. {
  592. "type": "string",
  593. "description": "验证参数Bearer和token空格拼接",
  594. "name": "Authorization",
  595. "in": "header",
  596. "required": true
  597. },
  598. {
  599. "type": "string",
  600. "description": "用户ID",
  601. "name": "uid",
  602. "in": "query",
  603. "required": true
  604. }
  605. ],
  606. "responses": {
  607. "200": {
  608. "description": "具体数据",
  609. "schema": {
  610. "$ref": "#/definitions/md.TreeNode"
  611. }
  612. },
  613. "400": {
  614. "description": "具体错误",
  615. "schema": {
  616. "$ref": "#/definitions/md.Response"
  617. }
  618. }
  619. }
  620. }
  621. },
  622. "/api/institutionalManagement/publicPlatoon/getBasic": {
  623. "get": {
  624. "description": "公排基础设置(获取)",
  625. "consumes": [
  626. "application/json"
  627. ],
  628. "produces": [
  629. "application/json"
  630. ],
  631. "tags": [
  632. "公排管理"
  633. ],
  634. "summary": "制度中心-公排管理-公排基础设置(获取)",
  635. "parameters": [
  636. {
  637. "type": "string",
  638. "description": "验证参数Bearer和token空格拼接",
  639. "name": "Authorization",
  640. "in": "header",
  641. "required": true
  642. }
  643. ],
  644. "responses": {
  645. "200": {
  646. "description": "具体数据",
  647. "schema": {
  648. "$ref": "#/definitions/md.GetPublicPlatoonBasicResp"
  649. }
  650. },
  651. "400": {
  652. "description": "具体错误",
  653. "schema": {
  654. "$ref": "#/definitions/md.Response"
  655. }
  656. }
  657. }
  658. }
  659. },
  660. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index": {
  661. "post": {
  662. "description": "免罚用户(查询)",
  663. "consumes": [
  664. "application/json"
  665. ],
  666. "produces": [
  667. "application/json"
  668. ],
  669. "tags": [
  670. "公排管理"
  671. ],
  672. "summary": "制度中心-公排管理-免罚用户(查询)",
  673. "parameters": [
  674. {
  675. "type": "string",
  676. "description": "验证参数Bearer和token空格拼接",
  677. "name": "Authorization",
  678. "in": "header",
  679. "required": true
  680. },
  681. {
  682. "description": "页数和行数必填,uid选填",
  683. "name": "req",
  684. "in": "body",
  685. "required": true,
  686. "schema": {
  687. "$ref": "#/definitions/md.GetFreePublishUserReq"
  688. }
  689. }
  690. ],
  691. "responses": {
  692. "200": {
  693. "description": "成功返回",
  694. "schema": {
  695. "$ref": "#/definitions/md.GetFreePublishUserResp"
  696. }
  697. },
  698. "400": {
  699. "description": "具体错误",
  700. "schema": {
  701. "$ref": "#/definitions/md.Response"
  702. }
  703. }
  704. }
  705. }
  706. },
  707. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save": {
  708. "post": {
  709. "description": "免罚用户(新增)",
  710. "consumes": [
  711. "application/json"
  712. ],
  713. "produces": [
  714. "application/json"
  715. ],
  716. "tags": [
  717. "公排管理"
  718. ],
  719. "summary": "制度中心-公排管理-免罚用户(新增)",
  720. "parameters": [
  721. {
  722. "type": "string",
  723. "description": "验证参数Bearer和token空格拼接",
  724. "name": "Authorization",
  725. "in": "header",
  726. "required": true
  727. },
  728. {
  729. "description": "页数和行数必填,uid选填",
  730. "name": "req",
  731. "in": "body",
  732. "required": true,
  733. "schema": {
  734. "$ref": "#/definitions/md.AddFreePublishUserReq"
  735. }
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "插入数据 ID",
  741. "schema": {
  742. "type": "int"
  743. }
  744. },
  745. "400": {
  746. "description": "具体错误",
  747. "schema": {
  748. "$ref": "#/definitions/md.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/api/institutionalManagement/publicPlatoon/relationshipMap": {
  755. "get": {
  756. "description": "关系分布图(获取)",
  757. "consumes": [
  758. "application/json"
  759. ],
  760. "produces": [
  761. "application/json"
  762. ],
  763. "tags": [
  764. "公排管理"
  765. ],
  766. "summary": "制度中心-公排管理-关系分布图(获取)",
  767. "parameters": [
  768. {
  769. "type": "string",
  770. "description": "验证参数Bearer和token空格拼接",
  771. "name": "Authorization",
  772. "in": "header",
  773. "required": true
  774. },
  775. {
  776. "type": "string",
  777. "description": "phone",
  778. "name": "phone",
  779. "in": "query",
  780. "required": true
  781. },
  782. {
  783. "type": "string",
  784. "description": "uid",
  785. "name": "uid",
  786. "in": "query",
  787. "required": true
  788. }
  789. ],
  790. "responses": {
  791. "200": {
  792. "description": "具体数据",
  793. "schema": {
  794. "$ref": "#/definitions/md.TreeNode"
  795. }
  796. },
  797. "400": {
  798. "description": "具体错误",
  799. "schema": {
  800. "$ref": "#/definitions/md.Response"
  801. }
  802. }
  803. }
  804. }
  805. },
  806. "/api/institutionalManagement/publicPlatoon/updateBasic": {
  807. "put": {
  808. "description": "公排基础设置(修改)",
  809. "consumes": [
  810. "application/json"
  811. ],
  812. "produces": [
  813. "application/json"
  814. ],
  815. "tags": [
  816. "公排管理"
  817. ],
  818. "summary": "制度中心-公排管理-公排基础设置(修改)",
  819. "parameters": [
  820. {
  821. "type": "string",
  822. "description": "验证参数Bearer和token空格拼接",
  823. "name": "Authorization",
  824. "in": "header",
  825. "required": true
  826. },
  827. {
  828. "description": "公排设置表单内容",
  829. "name": "req",
  830. "in": "body",
  831. "required": true,
  832. "schema": {
  833. "$ref": "#/definitions/md.UpdatePublicPlatoonBasicReq"
  834. }
  835. }
  836. ],
  837. "responses": {
  838. "200": {
  839. "description": "success",
  840. "schema": {
  841. "type": "string"
  842. }
  843. },
  844. "400": {
  845. "description": "具体错误",
  846. "schema": {
  847. "$ref": "#/definitions/md.Response"
  848. }
  849. }
  850. }
  851. }
  852. },
  853. "/api/institutionalManagement/publicPlatoon/userDailyActivityAnalysis/index": {
  854. "post": {
  855. "description": "日活分析",
  856. "consumes": [
  857. "application/json"
  858. ],
  859. "produces": [
  860. "application/json"
  861. ],
  862. "tags": [
  863. "公排管理"
  864. ],
  865. "summary": "制度中心-公排管理-日活分析",
  866. "parameters": [
  867. {
  868. "type": "string",
  869. "description": "验证参数Bearer和token空格拼接",
  870. "name": "Authorization",
  871. "in": "header",
  872. "required": true
  873. },
  874. {
  875. "description": "用户 ID、查询开始时间、结束时间(查询时间不超过30天)、页数、每页大小",
  876. "name": "req",
  877. "in": "body",
  878. "required": true,
  879. "schema": {
  880. "$ref": "#/definitions/md.UserDailyActivityAnalysisReq"
  881. }
  882. }
  883. ],
  884. "responses": {
  885. "200": {
  886. "description": "具体数据",
  887. "schema": {
  888. "$ref": "#/definitions/md.UserDailyActivityAnalysisResp"
  889. }
  890. },
  891. "400": {
  892. "description": "具体错误",
  893. "schema": {
  894. "$ref": "#/definitions/md.Response"
  895. }
  896. }
  897. }
  898. }
  899. },
  900. "/api/login": {
  901. "post": {
  902. "description": "登入",
  903. "consumes": [
  904. "application/json"
  905. ],
  906. "produces": [
  907. "application/json"
  908. ],
  909. "tags": [
  910. "登录"
  911. ],
  912. "summary": "登陆",
  913. "parameters": [
  914. {
  915. "description": "用户名密码",
  916. "name": "req",
  917. "in": "body",
  918. "required": true,
  919. "schema": {
  920. "$ref": "#/definitions/md.LoginReq"
  921. }
  922. }
  923. ],
  924. "responses": {
  925. "200": {
  926. "description": "token",
  927. "schema": {
  928. "$ref": "#/definitions/md.LoginResponse"
  929. }
  930. },
  931. "400": {
  932. "description": "具体错误",
  933. "schema": {
  934. "$ref": "#/definitions/md.Response"
  935. }
  936. }
  937. }
  938. }
  939. }
  940. },
  941. "definitions": {
  942. "applet_app_md_institutional_management_egg_energy.Paginate": {
  943. "type": "object",
  944. "properties": {
  945. "limit": {
  946. "description": "每页大小",
  947. "type": "integer"
  948. },
  949. "page": {
  950. "description": "页数",
  951. "type": "integer"
  952. },
  953. "total": {
  954. "description": "总数据量",
  955. "type": "integer"
  956. }
  957. }
  958. },
  959. "applet_app_md_institutional_management_public_platoon.Paginate": {
  960. "type": "object",
  961. "properties": {
  962. "limit": {
  963. "description": "每页大小",
  964. "type": "integer"
  965. },
  966. "page": {
  967. "description": "页数",
  968. "type": "integer"
  969. },
  970. "total": {
  971. "description": "总数据量",
  972. "type": "integer"
  973. }
  974. }
  975. },
  976. "md.ActivePointsWalletNode": {
  977. "type": "object",
  978. "properties": {
  979. "amount": {
  980. "type": "string",
  981. "example": "账户余额"
  982. },
  983. "uid": {
  984. "description": "用户 ID",
  985. "type": "integer"
  986. },
  987. "user_name": {
  988. "type": "string",
  989. "example": "用户名"
  990. },
  991. "user_phone": {
  992. "type": "string",
  993. "example": "手机号"
  994. }
  995. }
  996. },
  997. "md.AddCommunityDividendsReq": {
  998. "type": "object",
  999. "properties": {
  1000. "name": {
  1001. "type": "string",
  1002. "example": "社区分红名称"
  1003. },
  1004. "nums": {
  1005. "description": "社区分红数量",
  1006. "type": "integer"
  1007. }
  1008. }
  1009. },
  1010. "md.AddCommunityDividendsWithUserReq": {
  1011. "type": "object",
  1012. "properties": {
  1013. "memo": {
  1014. "type": "string",
  1015. "example": "备注"
  1016. },
  1017. "uid": {
  1018. "description": "新增社区长用户 ID",
  1019. "type": "integer"
  1020. }
  1021. }
  1022. },
  1023. "md.AddFreePublishUserReq": {
  1024. "type": "object",
  1025. "properties": {
  1026. "uid": {
  1027. "type": "integer"
  1028. }
  1029. }
  1030. },
  1031. "md.BasicSetting": {
  1032. "type": "object",
  1033. "properties": {
  1034. "id": {
  1035. "type": "integer"
  1036. },
  1037. "is_open": {
  1038. "description": "是否开启(1:开启 0:关闭)",
  1039. "type": "integer"
  1040. },
  1041. "is_self_active_get_team_revenue": {
  1042. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1043. "type": "integer"
  1044. },
  1045. "originator_uid": {
  1046. "description": "创始人uid",
  1047. "type": "integer"
  1048. },
  1049. "several_rows": {
  1050. "description": "几排",
  1051. "type": "integer"
  1052. },
  1053. "several_times": {
  1054. "description": "几乘",
  1055. "type": "integer"
  1056. },
  1057. "system_punish_replace": {
  1058. "description": "是否位置滑落 被新用户替换 0否 1是",
  1059. "type": "integer"
  1060. },
  1061. "system_punish_replace_value": {
  1062. "description": "xx天未活跃,处罚滑落",
  1063. "type": "integer"
  1064. }
  1065. }
  1066. },
  1067. "md.DailyActivityAnalysisTopData": {
  1068. "type": "object",
  1069. "properties": {
  1070. "activity_count": {
  1071. "description": "子节点活跃天数",
  1072. "type": "integer"
  1073. },
  1074. "team_activity_user_count": {
  1075. "description": "子节点活跃人数",
  1076. "type": "integer"
  1077. },
  1078. "team_user_count": {
  1079. "description": "团队人数",
  1080. "type": "integer"
  1081. }
  1082. }
  1083. },
  1084. "md.DynamicDataFlowListReq": {
  1085. "type": "object",
  1086. "properties": {
  1087. "end_at": {
  1088. "description": "结束时间",
  1089. "type": "string"
  1090. },
  1091. "kind": {
  1092. "description": "持有类型",
  1093. "type": "integer"
  1094. },
  1095. "page": {
  1096. "description": "页数",
  1097. "type": "integer"
  1098. },
  1099. "page_size": {
  1100. "description": "每页大小",
  1101. "type": "integer"
  1102. },
  1103. "start_at": {
  1104. "description": "开始时间",
  1105. "type": "string"
  1106. }
  1107. }
  1108. },
  1109. "md.DynamicDataFlowListResp": {
  1110. "type": "object",
  1111. "properties": {
  1112. "kind_list": {
  1113. "type": "array",
  1114. "items": {
  1115. "type": "object",
  1116. "additionalProperties": true
  1117. }
  1118. },
  1119. "list": {
  1120. "type": "array",
  1121. "items": {
  1122. "$ref": "#/definitions/md.EggEnergyAvailableEnergyFlow"
  1123. }
  1124. },
  1125. "paginate": {
  1126. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1127. }
  1128. }
  1129. },
  1130. "md.EggEnergyAvailableEnergyFlow": {
  1131. "type": "object",
  1132. "properties": {
  1133. "after_community_dividends": {
  1134. "type": "string"
  1135. },
  1136. "after_destruction_quantity_values": {
  1137. "type": "string"
  1138. },
  1139. "after_development_committee_values": {
  1140. "type": "string"
  1141. },
  1142. "after_marketplace_merchant_fund_values": {
  1143. "type": "string"
  1144. },
  1145. "after_marketplace_merchant_values": {
  1146. "type": "string"
  1147. },
  1148. "after_now_energy_total_nums": {
  1149. "type": "string"
  1150. },
  1151. "after_planet_total_value": {
  1152. "type": "string"
  1153. },
  1154. "after_price": {
  1155. "type": "string"
  1156. },
  1157. "after_public_welfare_and_charity_values": {
  1158. "type": "string"
  1159. },
  1160. "after_star_level_dividends_values": {
  1161. "type": "string"
  1162. },
  1163. "amount": {
  1164. "type": "string"
  1165. },
  1166. "before_community_dividends": {
  1167. "type": "string"
  1168. },
  1169. "before_destruction_quantity_values": {
  1170. "type": "string"
  1171. },
  1172. "before_development_committee_values": {
  1173. "type": "string"
  1174. },
  1175. "before_marketplace_merchant_fund_values": {
  1176. "type": "string"
  1177. },
  1178. "before_marketplace_merchant_values": {
  1179. "type": "string"
  1180. },
  1181. "before_now_energy_total_nums": {
  1182. "type": "string"
  1183. },
  1184. "before_planet_total_value": {
  1185. "type": "string"
  1186. },
  1187. "before_price": {
  1188. "type": "string"
  1189. },
  1190. "before_public_welfare_and_charity_values": {
  1191. "type": "string"
  1192. },
  1193. "before_star_level_dividends_values": {
  1194. "type": "string"
  1195. },
  1196. "coin_id": {
  1197. "type": "integer"
  1198. },
  1199. "create_time": {
  1200. "type": "string"
  1201. },
  1202. "id": {
  1203. "type": "integer"
  1204. },
  1205. "kind": {
  1206. "type": "integer"
  1207. },
  1208. "title": {
  1209. "type": "string"
  1210. }
  1211. }
  1212. },
  1213. "md.EggEnergyCommunityDividends": {
  1214. "type": "object",
  1215. "properties": {
  1216. "coin_id": {
  1217. "description": "虚拟币 id",
  1218. "type": "integer"
  1219. },
  1220. "create_at": {
  1221. "description": "分红时间",
  1222. "type": "string"
  1223. },
  1224. "id": {
  1225. "type": "integer"
  1226. },
  1227. "is_over": {
  1228. "description": "是否分红完毕",
  1229. "type": "integer"
  1230. },
  1231. "name": {
  1232. "type": "string",
  1233. "example": "名称"
  1234. },
  1235. "nums": {
  1236. "description": "分红数量",
  1237. "type": "integer"
  1238. },
  1239. "persons_num": {
  1240. "description": "分红人数",
  1241. "type": "integer"
  1242. },
  1243. "update_at": {
  1244. "type": "string"
  1245. }
  1246. }
  1247. },
  1248. "md.EggEnergyCommunityDividendsWithUser": {
  1249. "type": "object",
  1250. "properties": {
  1251. "id": {
  1252. "type": "integer"
  1253. },
  1254. "memo": {
  1255. "type": "string",
  1256. "example": "备注"
  1257. },
  1258. "nickname": {
  1259. "type": "string"
  1260. },
  1261. "phone": {
  1262. "type": "string"
  1263. },
  1264. "uid": {
  1265. "type": "integer"
  1266. }
  1267. }
  1268. },
  1269. "md.ExchangeUserPositionReq": {
  1270. "type": "object",
  1271. "properties": {
  1272. "position_1": {
  1273. "description": "位置1,具体值取返回数据中的 system_id",
  1274. "type": "integer"
  1275. },
  1276. "position_2": {
  1277. "description": "位置2,具体值取返回数据中的 system_id",
  1278. "type": "integer"
  1279. }
  1280. }
  1281. },
  1282. "md.FindSubUserRelationshipMapResp": {
  1283. "type": "object",
  1284. "properties": {
  1285. "basic_setting": {
  1286. "description": "公排设置",
  1287. "allOf": [
  1288. {
  1289. "$ref": "#/definitions/md.BasicSetting"
  1290. }
  1291. ]
  1292. },
  1293. "search_uid": {
  1294. "description": "查找的用户 ID",
  1295. "type": "string"
  1296. },
  1297. "sub_user": {
  1298. "description": "上级用户信息",
  1299. "allOf": [
  1300. {
  1301. "$ref": "#/definitions/md.SubUser"
  1302. }
  1303. ]
  1304. }
  1305. }
  1306. },
  1307. "md.FreePublishUserNode": {
  1308. "type": "object",
  1309. "properties": {
  1310. "nickname": {
  1311. "type": "string",
  1312. "example": "昵称"
  1313. },
  1314. "phone": {
  1315. "type": "string",
  1316. "example": "手机号"
  1317. },
  1318. "uid": {
  1319. "type": "integer"
  1320. }
  1321. }
  1322. },
  1323. "md.GetActivePointsUserCoinFlowListReq": {
  1324. "type": "object",
  1325. "properties": {
  1326. "coin_id": {
  1327. "description": "货币类型 ID",
  1328. "type": "integer"
  1329. },
  1330. "direction": {
  1331. "description": "流水方向:1收入 2支出",
  1332. "type": "integer"
  1333. },
  1334. "end_at": {
  1335. "description": "结束时间",
  1336. "type": "string"
  1337. },
  1338. "page": {
  1339. "description": "页数",
  1340. "type": "integer"
  1341. },
  1342. "page_size": {
  1343. "description": "每页大小",
  1344. "type": "integer"
  1345. },
  1346. "start_at": {
  1347. "description": "开始时间",
  1348. "type": "string"
  1349. },
  1350. "uid": {
  1351. "description": "用户 ID",
  1352. "type": "integer"
  1353. }
  1354. }
  1355. },
  1356. "md.GetActivePointsUserCoinFlowListResp": {
  1357. "type": "object",
  1358. "properties": {
  1359. "list": {
  1360. "description": "流水信息",
  1361. "type": "array",
  1362. "items": {
  1363. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1364. }
  1365. },
  1366. "paginate": {
  1367. "description": "分页信息",
  1368. "allOf": [
  1369. {
  1370. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1371. }
  1372. ]
  1373. },
  1374. "select_data": {
  1375. "description": "流水类型",
  1376. "allOf": [
  1377. {
  1378. "$ref": "#/definitions/md.SelectData"
  1379. }
  1380. ]
  1381. }
  1382. }
  1383. },
  1384. "md.GetActivePointsUserCoinListReq": {
  1385. "type": "object",
  1386. "properties": {
  1387. "end_coin": {
  1388. "type": "string",
  1389. "example": "最大金额"
  1390. },
  1391. "kind": {
  1392. "description": "虚拟币种类编号",
  1393. "type": "integer"
  1394. },
  1395. "page": {
  1396. "description": "页数",
  1397. "type": "integer"
  1398. },
  1399. "page_size": {
  1400. "description": "单页大小",
  1401. "type": "integer"
  1402. },
  1403. "start_coin": {
  1404. "type": "string",
  1405. "example": "最小金额"
  1406. },
  1407. "uid": {
  1408. "description": "指定查询用户 ID",
  1409. "type": "integer"
  1410. },
  1411. "user_name": {
  1412. "type": "string",
  1413. "example": "用户名称"
  1414. },
  1415. "user_phone": {
  1416. "type": "string",
  1417. "example": "手机号"
  1418. }
  1419. }
  1420. },
  1421. "md.GetActivePointsUserCoinListResp": {
  1422. "type": "object",
  1423. "properties": {
  1424. "kind_list": {
  1425. "description": "货币类型集合",
  1426. "type": "array",
  1427. "items": {
  1428. "$ref": "#/definitions/md.VirtualCoinListNode"
  1429. }
  1430. },
  1431. "list": {
  1432. "description": "余额集合",
  1433. "type": "array",
  1434. "items": {
  1435. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1436. }
  1437. },
  1438. "sum_user_amount": {
  1439. "description": "用户持有总数",
  1440. "type": "number"
  1441. },
  1442. "total": {
  1443. "description": "持有该类型用户数",
  1444. "type": "integer"
  1445. }
  1446. }
  1447. },
  1448. "md.GetFreePublishUserReq": {
  1449. "type": "object",
  1450. "properties": {
  1451. "limit": {
  1452. "description": "每页大小",
  1453. "type": "integer"
  1454. },
  1455. "page": {
  1456. "description": "当前页数",
  1457. "type": "integer"
  1458. },
  1459. "uid": {
  1460. "description": "筛选的用户 ID",
  1461. "type": "integer"
  1462. }
  1463. }
  1464. },
  1465. "md.GetFreePublishUserResp": {
  1466. "type": "object",
  1467. "properties": {
  1468. "list": {
  1469. "description": "免罚用户列表",
  1470. "type": "array",
  1471. "items": {
  1472. "$ref": "#/definitions/md.FreePublishUserNode"
  1473. }
  1474. },
  1475. "paginate": {
  1476. "description": "分页信息",
  1477. "allOf": [
  1478. {
  1479. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1480. }
  1481. ]
  1482. }
  1483. }
  1484. },
  1485. "md.GetGreenEnergyUserCoinFlowListReq": {
  1486. "type": "object",
  1487. "properties": {
  1488. "coin_id": {
  1489. "description": "货币类型 ID",
  1490. "type": "integer"
  1491. },
  1492. "direction": {
  1493. "description": "流水方向:1收入 2支出",
  1494. "type": "integer"
  1495. },
  1496. "end_at": {
  1497. "description": "结束时间",
  1498. "type": "string"
  1499. },
  1500. "page": {
  1501. "description": "页数",
  1502. "type": "integer"
  1503. },
  1504. "page_size": {
  1505. "description": "每页大小",
  1506. "type": "integer"
  1507. },
  1508. "start_at": {
  1509. "description": "开始时间",
  1510. "type": "string"
  1511. },
  1512. "uid": {
  1513. "description": "用户 ID",
  1514. "type": "integer"
  1515. }
  1516. }
  1517. },
  1518. "md.GetGreenEnergyUserCoinFlowListResp": {
  1519. "type": "object",
  1520. "properties": {
  1521. "list": {
  1522. "description": "流水信息",
  1523. "type": "array",
  1524. "items": {
  1525. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1526. }
  1527. },
  1528. "paginate": {
  1529. "description": "分页信息",
  1530. "allOf": [
  1531. {
  1532. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1533. }
  1534. ]
  1535. },
  1536. "select_data": {
  1537. "description": "流水类型",
  1538. "allOf": [
  1539. {
  1540. "$ref": "#/definitions/md.SelectData"
  1541. }
  1542. ]
  1543. }
  1544. }
  1545. },
  1546. "md.GetGreenEnergyUserCoinListReq": {
  1547. "type": "object",
  1548. "properties": {
  1549. "end_coin": {
  1550. "type": "string",
  1551. "example": "最大金额"
  1552. },
  1553. "kind": {
  1554. "description": "虚拟币种类编号",
  1555. "type": "integer"
  1556. },
  1557. "page": {
  1558. "description": "页数",
  1559. "type": "integer"
  1560. },
  1561. "page_size": {
  1562. "description": "单页大小",
  1563. "type": "integer"
  1564. },
  1565. "start_coin": {
  1566. "type": "string",
  1567. "example": "最小金额"
  1568. },
  1569. "uid": {
  1570. "description": "指定查询用户 ID",
  1571. "type": "integer"
  1572. },
  1573. "user_name": {
  1574. "type": "string",
  1575. "example": "用户名称"
  1576. },
  1577. "user_phone": {
  1578. "type": "string",
  1579. "example": "手机号"
  1580. }
  1581. }
  1582. },
  1583. "md.GetGreenEnergyUserCoinListResp": {
  1584. "type": "object",
  1585. "properties": {
  1586. "kind_list": {
  1587. "description": "货币类型集合",
  1588. "type": "array",
  1589. "items": {
  1590. "$ref": "#/definitions/md.VirtualCoinListNode"
  1591. }
  1592. },
  1593. "list": {
  1594. "description": "余额集合",
  1595. "type": "array",
  1596. "items": {
  1597. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1598. }
  1599. },
  1600. "sum_user_amount": {
  1601. "description": "用户持有总数",
  1602. "type": "number"
  1603. },
  1604. "total": {
  1605. "description": "持有该类型用户数",
  1606. "type": "integer"
  1607. }
  1608. }
  1609. },
  1610. "md.GetPublicPlatoonBasicResp": {
  1611. "type": "object",
  1612. "properties": {
  1613. "is_open": {
  1614. "description": "是否开启(1:开启 0:关闭)",
  1615. "type": "integer"
  1616. },
  1617. "is_self_active_get_team_revenue": {
  1618. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1619. "type": "integer"
  1620. },
  1621. "originator_uid": {
  1622. "description": "创始人uid",
  1623. "type": "integer"
  1624. },
  1625. "several_rows": {
  1626. "description": "几排",
  1627. "type": "integer"
  1628. },
  1629. "several_times": {
  1630. "description": "几乘",
  1631. "type": "integer"
  1632. },
  1633. "system_punish_replace": {
  1634. "description": "是否位置滑落 被新用户替换 0否 1是",
  1635. "type": "integer"
  1636. },
  1637. "system_punish_replace_value": {
  1638. "description": "xx天未活跃,处罚滑落",
  1639. "type": "integer"
  1640. }
  1641. }
  1642. },
  1643. "md.ListCommunityDividendsReq": {
  1644. "type": "object",
  1645. "properties": {
  1646. "end_at": {
  1647. "description": "结束时间",
  1648. "type": "string"
  1649. },
  1650. "end_nums": {
  1651. "description": "分红总量上限",
  1652. "type": "integer"
  1653. },
  1654. "limit": {
  1655. "description": "每页大小",
  1656. "type": "integer"
  1657. },
  1658. "page": {
  1659. "description": "页数",
  1660. "type": "integer"
  1661. },
  1662. "start_at": {
  1663. "description": "开始时间",
  1664. "type": "string"
  1665. },
  1666. "start_nums": {
  1667. "description": "分红总量下限",
  1668. "type": "integer"
  1669. }
  1670. }
  1671. },
  1672. "md.ListCommunityDividendsResp": {
  1673. "type": "object",
  1674. "properties": {
  1675. "list": {
  1676. "type": "array",
  1677. "items": {
  1678. "$ref": "#/definitions/md.EggEnergyCommunityDividends"
  1679. }
  1680. },
  1681. "paginate": {
  1682. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1683. }
  1684. }
  1685. },
  1686. "md.ListCommunityDividendsWithUserReq": {
  1687. "type": "object",
  1688. "properties": {
  1689. "limit": {
  1690. "type": "integer"
  1691. },
  1692. "page": {
  1693. "type": "integer"
  1694. },
  1695. "phone": {
  1696. "type": "string"
  1697. },
  1698. "uid": {
  1699. "type": "integer"
  1700. }
  1701. }
  1702. },
  1703. "md.ListCommunityDividendsWithUserResp": {
  1704. "type": "object",
  1705. "properties": {
  1706. "list": {
  1707. "type": "array",
  1708. "items": {
  1709. "$ref": "#/definitions/md.EggEnergyCommunityDividendsWithUser"
  1710. }
  1711. },
  1712. "paginate": {
  1713. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1714. }
  1715. }
  1716. },
  1717. "md.LoginReq": {
  1718. "type": "object",
  1719. "required": [
  1720. "password",
  1721. "username"
  1722. ],
  1723. "properties": {
  1724. "code": {
  1725. "type": "string",
  1726. "example": "验证码"
  1727. },
  1728. "password": {
  1729. "type": "string",
  1730. "example": "登录密码"
  1731. },
  1732. "username": {
  1733. "type": "string",
  1734. "example": "登录账号"
  1735. }
  1736. }
  1737. },
  1738. "md.LoginResponse": {
  1739. "type": "object",
  1740. "properties": {
  1741. "token": {
  1742. "type": "string"
  1743. }
  1744. }
  1745. },
  1746. "md.Response": {
  1747. "type": "object",
  1748. "properties": {
  1749. "code": {
  1750. "type": "string",
  1751. "example": "响应码"
  1752. },
  1753. "data": {
  1754. "description": "内容"
  1755. },
  1756. "msg": {
  1757. "type": "string",
  1758. "example": "具体错误原因"
  1759. }
  1760. }
  1761. },
  1762. "md.SelectData": {
  1763. "type": "object",
  1764. "properties": {
  1765. "direction": {
  1766. "type": "array",
  1767. "items": {
  1768. "type": "object",
  1769. "additionalProperties": {
  1770. "type": "string"
  1771. }
  1772. }
  1773. }
  1774. }
  1775. },
  1776. "md.SonUserDailyActivityAnalysisNode": {
  1777. "type": "object",
  1778. "properties": {
  1779. "activity_day_nums": {
  1780. "description": "活跃子节点活跃天数",
  1781. "type": "integer"
  1782. },
  1783. "nickname": {
  1784. "type": "string",
  1785. "example": "昵称"
  1786. },
  1787. "phone": {
  1788. "type": "string",
  1789. "example": "手机号"
  1790. },
  1791. "uid": {
  1792. "description": "查询用户活跃子节点 ID",
  1793. "type": "integer"
  1794. }
  1795. }
  1796. },
  1797. "md.SubUser": {
  1798. "type": "object",
  1799. "properties": {
  1800. "avatar_url": {
  1801. "type": "string",
  1802. "example": "头像"
  1803. },
  1804. "level": {
  1805. "description": "整个系统中的等级",
  1806. "type": "integer"
  1807. },
  1808. "nickname": {
  1809. "type": "string",
  1810. "example": "昵称"
  1811. },
  1812. "phone": {
  1813. "type": "string",
  1814. "example": "手机号"
  1815. },
  1816. "pid": {
  1817. "type": "integer"
  1818. },
  1819. "position": {
  1820. "description": "以pid1为创始人中网的位置",
  1821. "type": "integer"
  1822. },
  1823. "uid": {
  1824. "type": "integer"
  1825. }
  1826. }
  1827. },
  1828. "md.TreeNode": {
  1829. "type": "object",
  1830. "properties": {
  1831. "avatar_url": {
  1832. "type": "string",
  1833. "example": "头像"
  1834. },
  1835. "level": {
  1836. "type": "integer"
  1837. },
  1838. "nickname": {
  1839. "type": "string",
  1840. "example": "昵称"
  1841. },
  1842. "phone": {
  1843. "type": "string",
  1844. "example": "手机号"
  1845. },
  1846. "pid": {
  1847. "type": "integer"
  1848. },
  1849. "position": {
  1850. "type": "integer"
  1851. },
  1852. "son": {
  1853. "type": "array",
  1854. "items": {
  1855. "$ref": "#/definitions/md.TreeNode"
  1856. }
  1857. },
  1858. "system_id": {
  1859. "description": "公排网中id",
  1860. "type": "integer"
  1861. },
  1862. "uid": {
  1863. "type": "integer"
  1864. }
  1865. }
  1866. },
  1867. "md.UpdatePublicPlatoonBasicReq": {
  1868. "type": "object",
  1869. "properties": {
  1870. "is_open": {
  1871. "description": "是否开启(1:开启 0:关闭)",
  1872. "type": "integer"
  1873. },
  1874. "is_self_active_get_team_revenue": {
  1875. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1876. "type": "integer"
  1877. },
  1878. "originator_uid": {
  1879. "description": "创始人uid",
  1880. "type": "integer"
  1881. },
  1882. "several_rows": {
  1883. "description": "几排",
  1884. "type": "integer"
  1885. },
  1886. "several_times": {
  1887. "description": "几乘",
  1888. "type": "integer"
  1889. },
  1890. "system_punish_replace": {
  1891. "description": "是否位置滑落 被新用户替换 0否 1是",
  1892. "type": "integer"
  1893. },
  1894. "system_punish_replace_value": {
  1895. "description": "xx天未活跃,处罚滑落",
  1896. "type": "integer"
  1897. }
  1898. }
  1899. },
  1900. "md.UserDailyActivityAnalysisReq": {
  1901. "type": "object",
  1902. "properties": {
  1903. "end_date": {
  1904. "type": "string",
  1905. "example": "结束日期"
  1906. },
  1907. "page": {
  1908. "description": "页数",
  1909. "type": "integer"
  1910. },
  1911. "page_size": {
  1912. "description": "每页大小",
  1913. "type": "integer"
  1914. },
  1915. "start_date": {
  1916. "type": "string",
  1917. "example": "开始日期"
  1918. },
  1919. "uid": {
  1920. "description": "查询用户 ID",
  1921. "type": "integer"
  1922. }
  1923. }
  1924. },
  1925. "md.UserDailyActivityAnalysisResp": {
  1926. "type": "object",
  1927. "properties": {
  1928. "son_user_data": {
  1929. "description": "被查询用户子节点信息",
  1930. "type": "array",
  1931. "items": {
  1932. "$ref": "#/definitions/md.SonUserDailyActivityAnalysisNode"
  1933. }
  1934. },
  1935. "top_data": {
  1936. "description": "统计信息",
  1937. "allOf": [
  1938. {
  1939. "$ref": "#/definitions/md.DailyActivityAnalysisTopData"
  1940. }
  1941. ]
  1942. }
  1943. }
  1944. },
  1945. "md.UserVirtualCoinFlow": {
  1946. "type": "object",
  1947. "properties": {
  1948. "after_amount": {
  1949. "type": "string",
  1950. "example": "变更后数量"
  1951. },
  1952. "amount": {
  1953. "type": "string",
  1954. "example": "变更数量"
  1955. },
  1956. "before_amount": {
  1957. "type": "string",
  1958. "example": "变更前数量"
  1959. },
  1960. "coin_id": {
  1961. "description": "虚拟币 ID",
  1962. "type": "integer"
  1963. },
  1964. "create_at": {
  1965. "type": "string",
  1966. "example": "创建时间"
  1967. },
  1968. "direction": {
  1969. "description": "方向:1收入 2支出",
  1970. "type": "integer"
  1971. },
  1972. "id": {
  1973. "type": "integer"
  1974. },
  1975. "sys_fee": {
  1976. "type": "string",
  1977. "example": "手续费"
  1978. },
  1979. "title": {
  1980. "type": "string",
  1981. "example": "标题"
  1982. },
  1983. "transfer_type": {
  1984. "description": "转账类型",
  1985. "type": "integer"
  1986. },
  1987. "uid": {
  1988. "description": "用户 ID",
  1989. "type": "integer"
  1990. },
  1991. "update_at": {
  1992. "type": "string",
  1993. "example": "更新时间"
  1994. }
  1995. }
  1996. },
  1997. "md.VirtualCoinListNode": {
  1998. "type": "object",
  1999. "properties": {
  2000. "coin_id": {
  2001. "description": "货币类型 ID",
  2002. "type": "integer"
  2003. },
  2004. "kind": {
  2005. "description": "货币序号",
  2006. "type": "integer"
  2007. },
  2008. "name": {
  2009. "type": "string",
  2010. "example": "货币类型名称"
  2011. }
  2012. }
  2013. }
  2014. },
  2015. "securityDefinitions": {
  2016. "MasterID": {
  2017. "type": "apiKey",
  2018. "name": "MasterID",
  2019. "in": "header"
  2020. }
  2021. }
  2022. }`
  2023. // SwaggerInfo holds exported Swagger Info so clients can modify it
  2024. var SwaggerInfo = &swag.Spec{
  2025. Version: "1.0",
  2026. Host: "localhost:4001",
  2027. BasePath: "",
  2028. Schemes: []string{},
  2029. Title: "蛋蛋星球-管理后台",
  2030. Description: "管理后台接口文档",
  2031. InfoInstanceName: "swagger",
  2032. SwaggerTemplate: docTemplate,
  2033. LeftDelim: "{{",
  2034. RightDelim: "}}",
  2035. }
  2036. func init() {
  2037. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  2038. }