蛋蛋星球-客户端
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

1651 wiersze
56 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/activePointsUserCoinFlowList": {
  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": "至少传入 货币类型 ID 用户 UID 页数 每页大小",
  87. "name": "req",
  88. "in": "body",
  89. "required": true,
  90. "schema": {
  91. "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListReq"
  92. }
  93. }
  94. ],
  95. "responses": {
  96. "200": {
  97. "description": "成功返回",
  98. "schema": {
  99. "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListResp"
  100. }
  101. },
  102. "400": {
  103. "description": "具体错误",
  104. "schema": {
  105. "$ref": "#/definitions/md.Response"
  106. }
  107. }
  108. }
  109. }
  110. },
  111. "/api/institutionalManagement/eggEnergy/activePointsUserCoinList": {
  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": "落地页不填页大小默认20条数据",
  134. "name": "req",
  135. "in": "body",
  136. "schema": {
  137. "$ref": "#/definitions/md.GetActivePointsUserCoinListReq"
  138. }
  139. }
  140. ],
  141. "responses": {
  142. "200": {
  143. "description": "成功返回",
  144. "schema": {
  145. "$ref": "#/definitions/md.GetActivePointsUserCoinListResp"
  146. }
  147. },
  148. "400": {
  149. "description": "具体错误",
  150. "schema": {
  151. "$ref": "#/definitions/md.Response"
  152. }
  153. }
  154. }
  155. }
  156. },
  157. "/api/institutionalManagement/eggEnergy/greenEnergyUserCoinFlowList": {
  158. "post": {
  159. "description": "绿色能量持有流水(查询)",
  160. "consumes": [
  161. "application/json"
  162. ],
  163. "produces": [
  164. "application/json"
  165. ],
  166. "tags": [
  167. "公排管理"
  168. ],
  169. "summary": "制度中心-绿色能量持有者明细-绿色能量持有流水(查询)",
  170. "parameters": [
  171. {
  172. "type": "string",
  173. "description": "验证参数Bearer和token空格拼接",
  174. "name": "Authorization",
  175. "in": "header",
  176. "required": true
  177. },
  178. {
  179. "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小",
  180. "name": "req",
  181. "in": "body",
  182. "required": true,
  183. "schema": {
  184. "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListReq"
  185. }
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "成功返回",
  191. "schema": {
  192. "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListResp"
  193. }
  194. },
  195. "400": {
  196. "description": "具体错误",
  197. "schema": {
  198. "$ref": "#/definitions/md.Response"
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "/api/institutionalManagement/eggEnergy/greenEnergyUserCoinList": {
  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": "落地页不填页大小默认20条数据",
  227. "name": "req",
  228. "in": "body",
  229. "schema": {
  230. "$ref": "#/definitions/md.GetGreenEnergyUserCoinListReq"
  231. }
  232. }
  233. ],
  234. "responses": {
  235. "200": {
  236. "description": "成功返回",
  237. "schema": {
  238. "$ref": "#/definitions/md.GetGreenEnergyUserCoinListResp"
  239. }
  240. },
  241. "400": {
  242. "description": "具体错误",
  243. "schema": {
  244. "$ref": "#/definitions/md.Response"
  245. }
  246. }
  247. }
  248. }
  249. },
  250. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd": {
  251. "post": {
  252. "description": "社区分红(新增)",
  253. "consumes": [
  254. "application/json"
  255. ],
  256. "produces": [
  257. "application/json"
  258. ],
  259. "tags": [
  260. "公排管理"
  261. ],
  262. "summary": "制度中心-公排管理-社区分红(新增)",
  263. "parameters": [
  264. {
  265. "type": "string",
  266. "description": "验证参数Bearer和token空格拼接",
  267. "name": "Authorization",
  268. "in": "header",
  269. "required": true
  270. },
  271. {
  272. "description": "分红名称、分红总量",
  273. "name": "req",
  274. "in": "body",
  275. "required": true,
  276. "schema": {
  277. "$ref": "#/definitions/md.AddCommunityDividendsReq"
  278. }
  279. }
  280. ],
  281. "responses": {
  282. "200": {
  283. "description": "插入数据 ID",
  284. "schema": {
  285. "type": "int"
  286. }
  287. },
  288. "400": {
  289. "description": "具体错误",
  290. "schema": {
  291. "$ref": "#/definitions/md.Response"
  292. }
  293. }
  294. }
  295. }
  296. },
  297. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserAdd": {
  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": "新增社区长 ID、备注",
  320. "name": "req",
  321. "in": "body",
  322. "required": true,
  323. "schema": {
  324. "$ref": "#/definitions/md.AddCommunityDividendsWithUserReq"
  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/exchangeUserPosition": {
  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.ExchangeUserPositionReq"
  372. }
  373. }
  374. ],
  375. "responses": {
  376. "200": {
  377. "description": "成功返回",
  378. "schema": {
  379. "type": ""
  380. }
  381. },
  382. "400": {
  383. "description": "具体错误",
  384. "schema": {
  385. "$ref": "#/definitions/md.Response"
  386. }
  387. }
  388. }
  389. }
  390. },
  391. "/api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap": {
  392. "get": {
  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. "type": "string",
  414. "description": "用户ID",
  415. "name": "uid",
  416. "in": "query",
  417. "required": true
  418. }
  419. ],
  420. "responses": {
  421. "200": {
  422. "description": "具体数据",
  423. "schema": {
  424. "$ref": "#/definitions/md.FindSubUserRelationshipMapResp"
  425. }
  426. },
  427. "400": {
  428. "description": "具体错误",
  429. "schema": {
  430. "$ref": "#/definitions/md.Response"
  431. }
  432. }
  433. }
  434. }
  435. },
  436. "/api/institutionalManagement/publicPlatoon/findUserRelationshipMap": {
  437. "get": {
  438. "description": "关系分布图(获取指定用户下级)",
  439. "consumes": [
  440. "application/json"
  441. ],
  442. "produces": [
  443. "application/json"
  444. ],
  445. "tags": [
  446. "公排管理"
  447. ],
  448. "summary": "制度中心-公排管理-关系分布图(获取指定用户下级)",
  449. "parameters": [
  450. {
  451. "type": "string",
  452. "description": "验证参数Bearer和token空格拼接",
  453. "name": "Authorization",
  454. "in": "header",
  455. "required": true
  456. },
  457. {
  458. "type": "string",
  459. "description": "用户ID",
  460. "name": "uid",
  461. "in": "query",
  462. "required": true
  463. }
  464. ],
  465. "responses": {
  466. "200": {
  467. "description": "具体数据",
  468. "schema": {
  469. "$ref": "#/definitions/md.TreeNode"
  470. }
  471. },
  472. "400": {
  473. "description": "具体错误",
  474. "schema": {
  475. "$ref": "#/definitions/md.Response"
  476. }
  477. }
  478. }
  479. }
  480. },
  481. "/api/institutionalManagement/publicPlatoon/getBasic": {
  482. "get": {
  483. "description": "公排基础设置(获取)",
  484. "consumes": [
  485. "application/json"
  486. ],
  487. "produces": [
  488. "application/json"
  489. ],
  490. "tags": [
  491. "公排管理"
  492. ],
  493. "summary": "制度中心-公排管理-公排基础设置(获取)",
  494. "parameters": [
  495. {
  496. "type": "string",
  497. "description": "验证参数Bearer和token空格拼接",
  498. "name": "Authorization",
  499. "in": "header",
  500. "required": true
  501. }
  502. ],
  503. "responses": {
  504. "200": {
  505. "description": "具体数据",
  506. "schema": {
  507. "$ref": "#/definitions/md.GetPublicPlatoonBasicResp"
  508. }
  509. },
  510. "400": {
  511. "description": "具体错误",
  512. "schema": {
  513. "$ref": "#/definitions/md.Response"
  514. }
  515. }
  516. }
  517. }
  518. },
  519. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index": {
  520. "post": {
  521. "description": "免罚用户(查询)",
  522. "consumes": [
  523. "application/json"
  524. ],
  525. "produces": [
  526. "application/json"
  527. ],
  528. "tags": [
  529. "公排管理"
  530. ],
  531. "summary": "制度中心-公排管理-免罚用户(查询)",
  532. "parameters": [
  533. {
  534. "type": "string",
  535. "description": "验证参数Bearer和token空格拼接",
  536. "name": "Authorization",
  537. "in": "header",
  538. "required": true
  539. },
  540. {
  541. "description": "页数和行数必填,uid选填",
  542. "name": "req",
  543. "in": "body",
  544. "required": true,
  545. "schema": {
  546. "$ref": "#/definitions/md.GetFreePublishUserReq"
  547. }
  548. }
  549. ],
  550. "responses": {
  551. "200": {
  552. "description": "成功返回",
  553. "schema": {
  554. "$ref": "#/definitions/md.GetFreePublishUserResp"
  555. }
  556. },
  557. "400": {
  558. "description": "具体错误",
  559. "schema": {
  560. "$ref": "#/definitions/md.Response"
  561. }
  562. }
  563. }
  564. }
  565. },
  566. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save": {
  567. "post": {
  568. "description": "免罚用户(新增)",
  569. "consumes": [
  570. "application/json"
  571. ],
  572. "produces": [
  573. "application/json"
  574. ],
  575. "tags": [
  576. "公排管理"
  577. ],
  578. "summary": "制度中心-公排管理-免罚用户(新增)",
  579. "parameters": [
  580. {
  581. "type": "string",
  582. "description": "验证参数Bearer和token空格拼接",
  583. "name": "Authorization",
  584. "in": "header",
  585. "required": true
  586. },
  587. {
  588. "description": "页数和行数必填,uid选填",
  589. "name": "req",
  590. "in": "body",
  591. "required": true,
  592. "schema": {
  593. "$ref": "#/definitions/md.AddFreePublishUserReq"
  594. }
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "插入数据 ID",
  600. "schema": {
  601. "type": "int"
  602. }
  603. },
  604. "400": {
  605. "description": "具体错误",
  606. "schema": {
  607. "$ref": "#/definitions/md.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/api/institutionalManagement/publicPlatoon/relationshipMap": {
  614. "get": {
  615. "description": "关系分布图(获取)",
  616. "consumes": [
  617. "application/json"
  618. ],
  619. "produces": [
  620. "application/json"
  621. ],
  622. "tags": [
  623. "公排管理"
  624. ],
  625. "summary": "制度中心-公排管理-关系分布图(获取)",
  626. "parameters": [
  627. {
  628. "type": "string",
  629. "description": "验证参数Bearer和token空格拼接",
  630. "name": "Authorization",
  631. "in": "header",
  632. "required": true
  633. },
  634. {
  635. "type": "string",
  636. "description": "phone",
  637. "name": "phone",
  638. "in": "query",
  639. "required": true
  640. },
  641. {
  642. "type": "string",
  643. "description": "uid",
  644. "name": "uid",
  645. "in": "query",
  646. "required": true
  647. }
  648. ],
  649. "responses": {
  650. "200": {
  651. "description": "具体数据",
  652. "schema": {
  653. "$ref": "#/definitions/md.TreeNode"
  654. }
  655. },
  656. "400": {
  657. "description": "具体错误",
  658. "schema": {
  659. "$ref": "#/definitions/md.Response"
  660. }
  661. }
  662. }
  663. }
  664. },
  665. "/api/institutionalManagement/publicPlatoon/updateBasic": {
  666. "put": {
  667. "description": "公排基础设置(修改)",
  668. "consumes": [
  669. "application/json"
  670. ],
  671. "produces": [
  672. "application/json"
  673. ],
  674. "tags": [
  675. "公排管理"
  676. ],
  677. "summary": "制度中心-公排管理-公排基础设置(修改)",
  678. "parameters": [
  679. {
  680. "type": "string",
  681. "description": "验证参数Bearer和token空格拼接",
  682. "name": "Authorization",
  683. "in": "header",
  684. "required": true
  685. },
  686. {
  687. "description": "公排设置表单内容",
  688. "name": "req",
  689. "in": "body",
  690. "required": true,
  691. "schema": {
  692. "$ref": "#/definitions/md.UpdatePublicPlatoonBasicReq"
  693. }
  694. }
  695. ],
  696. "responses": {
  697. "200": {
  698. "description": "success",
  699. "schema": {
  700. "type": "string"
  701. }
  702. },
  703. "400": {
  704. "description": "具体错误",
  705. "schema": {
  706. "$ref": "#/definitions/md.Response"
  707. }
  708. }
  709. }
  710. }
  711. },
  712. "/api/institutionalManagement/publicPlatoon/userDailyActivityAnalysis/index": {
  713. "post": {
  714. "description": "日活分析",
  715. "consumes": [
  716. "application/json"
  717. ],
  718. "produces": [
  719. "application/json"
  720. ],
  721. "tags": [
  722. "公排管理"
  723. ],
  724. "summary": "制度中心-公排管理-日活分析",
  725. "parameters": [
  726. {
  727. "type": "string",
  728. "description": "验证参数Bearer和token空格拼接",
  729. "name": "Authorization",
  730. "in": "header",
  731. "required": true
  732. },
  733. {
  734. "description": "用户 ID、查询开始时间、结束时间(查询时间不超过30天)、页数、每页大小",
  735. "name": "req",
  736. "in": "body",
  737. "required": true,
  738. "schema": {
  739. "$ref": "#/definitions/md.UserDailyActivityAnalysisReq"
  740. }
  741. }
  742. ],
  743. "responses": {
  744. "200": {
  745. "description": "具体数据",
  746. "schema": {
  747. "$ref": "#/definitions/md.UserDailyActivityAnalysisResp"
  748. }
  749. },
  750. "400": {
  751. "description": "具体错误",
  752. "schema": {
  753. "$ref": "#/definitions/md.Response"
  754. }
  755. }
  756. }
  757. }
  758. },
  759. "/api/login": {
  760. "post": {
  761. "description": "登入",
  762. "consumes": [
  763. "application/json"
  764. ],
  765. "produces": [
  766. "application/json"
  767. ],
  768. "tags": [
  769. "登录"
  770. ],
  771. "summary": "登陆",
  772. "parameters": [
  773. {
  774. "description": "用户名密码",
  775. "name": "req",
  776. "in": "body",
  777. "required": true,
  778. "schema": {
  779. "$ref": "#/definitions/md.LoginReq"
  780. }
  781. }
  782. ],
  783. "responses": {
  784. "200": {
  785. "description": "token",
  786. "schema": {
  787. "$ref": "#/definitions/md.LoginResponse"
  788. }
  789. },
  790. "400": {
  791. "description": "具体错误",
  792. "schema": {
  793. "$ref": "#/definitions/md.Response"
  794. }
  795. }
  796. }
  797. }
  798. }
  799. },
  800. "definitions": {
  801. "applet_app_md_institutional_management_egg_energy.Paginate": {
  802. "type": "object",
  803. "properties": {
  804. "limit": {
  805. "description": "每页大小",
  806. "type": "integer"
  807. },
  808. "page": {
  809. "description": "页数",
  810. "type": "integer"
  811. },
  812. "total": {
  813. "description": "总数据量",
  814. "type": "integer"
  815. }
  816. }
  817. },
  818. "applet_app_md_institutional_management_public_platoon.Paginate": {
  819. "type": "object",
  820. "properties": {
  821. "limit": {
  822. "description": "每页大小",
  823. "type": "integer"
  824. },
  825. "page": {
  826. "description": "页数",
  827. "type": "integer"
  828. },
  829. "total": {
  830. "description": "总数据量",
  831. "type": "integer"
  832. }
  833. }
  834. },
  835. "md.ActivePointsWalletNode": {
  836. "type": "object",
  837. "properties": {
  838. "amount": {
  839. "type": "string",
  840. "example": "账户余额"
  841. },
  842. "uid": {
  843. "description": "用户 ID",
  844. "type": "integer"
  845. },
  846. "user_name": {
  847. "type": "string",
  848. "example": "用户名"
  849. },
  850. "user_phone": {
  851. "type": "string",
  852. "example": "手机号"
  853. }
  854. }
  855. },
  856. "md.AddCommunityDividendsReq": {
  857. "type": "object",
  858. "properties": {
  859. "name": {
  860. "type": "string",
  861. "example": "社区分红名称"
  862. },
  863. "nums": {
  864. "description": "社区分红数量",
  865. "type": "integer"
  866. }
  867. }
  868. },
  869. "md.AddCommunityDividendsWithUserReq": {
  870. "type": "object",
  871. "properties": {
  872. "memo": {
  873. "type": "string",
  874. "example": "备注"
  875. },
  876. "uid": {
  877. "description": "新增社区长用户 ID",
  878. "type": "integer"
  879. }
  880. }
  881. },
  882. "md.AddFreePublishUserReq": {
  883. "type": "object",
  884. "properties": {
  885. "uid": {
  886. "type": "integer"
  887. }
  888. }
  889. },
  890. "md.BasicSetting": {
  891. "type": "object",
  892. "properties": {
  893. "id": {
  894. "type": "integer"
  895. },
  896. "is_open": {
  897. "description": "是否开启(1:开启 0:关闭)",
  898. "type": "integer"
  899. },
  900. "is_self_active_get_team_revenue": {
  901. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  902. "type": "integer"
  903. },
  904. "originator_uid": {
  905. "description": "创始人uid",
  906. "type": "integer"
  907. },
  908. "several_rows": {
  909. "description": "几排",
  910. "type": "integer"
  911. },
  912. "several_times": {
  913. "description": "几乘",
  914. "type": "integer"
  915. },
  916. "system_punish_replace": {
  917. "description": "是否位置滑落 被新用户替换 0否 1是",
  918. "type": "integer"
  919. },
  920. "system_punish_replace_value": {
  921. "description": "xx天未活跃,处罚滑落",
  922. "type": "integer"
  923. }
  924. }
  925. },
  926. "md.DailyActivityAnalysisTopData": {
  927. "type": "object",
  928. "properties": {
  929. "activity_count": {
  930. "description": "子节点活跃天数",
  931. "type": "integer"
  932. },
  933. "team_activity_user_count": {
  934. "description": "子节点活跃人数",
  935. "type": "integer"
  936. },
  937. "team_user_count": {
  938. "description": "团队人数",
  939. "type": "integer"
  940. }
  941. }
  942. },
  943. "md.DirectionMap": {
  944. "type": "object",
  945. "properties": {
  946. "key": {
  947. "type": "string"
  948. },
  949. "value": {
  950. "type": "string"
  951. }
  952. }
  953. },
  954. "md.ExchangeUserPositionReq": {
  955. "type": "object",
  956. "properties": {
  957. "position_1": {
  958. "description": "位置1,具体值取返回数据中的 system_id",
  959. "type": "integer"
  960. },
  961. "position_2": {
  962. "description": "位置2,具体值取返回数据中的 system_id",
  963. "type": "integer"
  964. }
  965. }
  966. },
  967. "md.FindSubUserRelationshipMapResp": {
  968. "type": "object",
  969. "properties": {
  970. "basic_setting": {
  971. "description": "公排设置",
  972. "allOf": [
  973. {
  974. "$ref": "#/definitions/md.BasicSetting"
  975. }
  976. ]
  977. },
  978. "search_uid": {
  979. "description": "查找的用户 ID",
  980. "type": "string"
  981. },
  982. "sub_user": {
  983. "description": "上级用户信息",
  984. "allOf": [
  985. {
  986. "$ref": "#/definitions/md.SubUser"
  987. }
  988. ]
  989. }
  990. }
  991. },
  992. "md.FreePublishUserNode": {
  993. "type": "object",
  994. "properties": {
  995. "nickname": {
  996. "type": "string",
  997. "example": "昵称"
  998. },
  999. "phone": {
  1000. "type": "string",
  1001. "example": "手机号"
  1002. },
  1003. "uid": {
  1004. "type": "integer"
  1005. }
  1006. }
  1007. },
  1008. "md.GetActivePointsUserCoinFlowListReq": {
  1009. "type": "object",
  1010. "properties": {
  1011. "coin_id": {
  1012. "description": "货币类型 ID",
  1013. "type": "integer"
  1014. },
  1015. "direction": {
  1016. "description": "流水方向:1收入 2支出",
  1017. "type": "integer"
  1018. },
  1019. "end_at": {
  1020. "description": "结束时间",
  1021. "type": "string"
  1022. },
  1023. "page": {
  1024. "description": "页数",
  1025. "type": "integer"
  1026. },
  1027. "page_size": {
  1028. "description": "每页大小",
  1029. "type": "integer"
  1030. },
  1031. "start_at": {
  1032. "description": "开始时间",
  1033. "type": "string"
  1034. },
  1035. "uid": {
  1036. "description": "用户 ID",
  1037. "type": "integer"
  1038. }
  1039. }
  1040. },
  1041. "md.GetActivePointsUserCoinFlowListResp": {
  1042. "type": "object",
  1043. "properties": {
  1044. "list": {
  1045. "description": "流水信息",
  1046. "type": "array",
  1047. "items": {
  1048. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1049. }
  1050. },
  1051. "paginate": {
  1052. "description": "分页信息",
  1053. "allOf": [
  1054. {
  1055. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1056. }
  1057. ]
  1058. },
  1059. "select_data": {
  1060. "description": "流水类型",
  1061. "allOf": [
  1062. {
  1063. "$ref": "#/definitions/md.SelectData"
  1064. }
  1065. ]
  1066. }
  1067. }
  1068. },
  1069. "md.GetActivePointsUserCoinListReq": {
  1070. "type": "object",
  1071. "properties": {
  1072. "end_coin": {
  1073. "type": "string",
  1074. "example": "最大金额"
  1075. },
  1076. "kind": {
  1077. "description": "虚拟币种类编号",
  1078. "type": "integer"
  1079. },
  1080. "page": {
  1081. "description": "页数",
  1082. "type": "integer"
  1083. },
  1084. "page_size": {
  1085. "description": "单页大小",
  1086. "type": "integer"
  1087. },
  1088. "start_coin": {
  1089. "type": "string",
  1090. "example": "最小金额"
  1091. },
  1092. "uid": {
  1093. "description": "指定查询用户 ID",
  1094. "type": "integer"
  1095. },
  1096. "user_name": {
  1097. "type": "string",
  1098. "example": "用户名称"
  1099. },
  1100. "user_phone": {
  1101. "type": "string",
  1102. "example": "手机号"
  1103. }
  1104. }
  1105. },
  1106. "md.GetActivePointsUserCoinListResp": {
  1107. "type": "object",
  1108. "properties": {
  1109. "kind_list": {
  1110. "description": "货币类型集合",
  1111. "type": "array",
  1112. "items": {
  1113. "$ref": "#/definitions/md.VirtualCoinListNode"
  1114. }
  1115. },
  1116. "list": {
  1117. "description": "余额集合",
  1118. "type": "array",
  1119. "items": {
  1120. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1121. }
  1122. },
  1123. "sum_user_amount": {
  1124. "description": "用户持有总数",
  1125. "type": "number"
  1126. },
  1127. "total": {
  1128. "description": "持有该类型用户数",
  1129. "type": "integer"
  1130. }
  1131. }
  1132. },
  1133. "md.GetFreePublishUserReq": {
  1134. "type": "object",
  1135. "properties": {
  1136. "limit": {
  1137. "description": "每页大小",
  1138. "type": "integer"
  1139. },
  1140. "page": {
  1141. "description": "当前页数",
  1142. "type": "integer"
  1143. },
  1144. "uid": {
  1145. "description": "筛选的用户 ID",
  1146. "type": "integer"
  1147. }
  1148. }
  1149. },
  1150. "md.GetFreePublishUserResp": {
  1151. "type": "object",
  1152. "properties": {
  1153. "list": {
  1154. "description": "免罚用户列表",
  1155. "type": "array",
  1156. "items": {
  1157. "$ref": "#/definitions/md.FreePublishUserNode"
  1158. }
  1159. },
  1160. "paginate": {
  1161. "description": "分页信息",
  1162. "allOf": [
  1163. {
  1164. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1165. }
  1166. ]
  1167. }
  1168. }
  1169. },
  1170. "md.GetGreenEnergyUserCoinFlowListReq": {
  1171. "type": "object",
  1172. "properties": {
  1173. "coin_id": {
  1174. "description": "货币类型 ID",
  1175. "type": "integer"
  1176. },
  1177. "direction": {
  1178. "description": "流水方向:1收入 2支出",
  1179. "type": "integer"
  1180. },
  1181. "end_at": {
  1182. "description": "结束时间",
  1183. "type": "string"
  1184. },
  1185. "page": {
  1186. "description": "页数",
  1187. "type": "integer"
  1188. },
  1189. "page_size": {
  1190. "description": "每页大小",
  1191. "type": "integer"
  1192. },
  1193. "start_at": {
  1194. "description": "开始时间",
  1195. "type": "string"
  1196. },
  1197. "uid": {
  1198. "description": "用户 ID",
  1199. "type": "integer"
  1200. }
  1201. }
  1202. },
  1203. "md.GetGreenEnergyUserCoinFlowListResp": {
  1204. "type": "object",
  1205. "properties": {
  1206. "list": {
  1207. "description": "流水信息",
  1208. "type": "array",
  1209. "items": {
  1210. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1211. }
  1212. },
  1213. "paginate": {
  1214. "description": "分页信息",
  1215. "allOf": [
  1216. {
  1217. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1218. }
  1219. ]
  1220. },
  1221. "select_data": {
  1222. "description": "流水类型",
  1223. "allOf": [
  1224. {
  1225. "$ref": "#/definitions/md.SelectData"
  1226. }
  1227. ]
  1228. }
  1229. }
  1230. },
  1231. "md.GetGreenEnergyUserCoinListReq": {
  1232. "type": "object",
  1233. "properties": {
  1234. "end_coin": {
  1235. "type": "string",
  1236. "example": "最大金额"
  1237. },
  1238. "kind": {
  1239. "description": "虚拟币种类编号",
  1240. "type": "integer"
  1241. },
  1242. "page": {
  1243. "description": "页数",
  1244. "type": "integer"
  1245. },
  1246. "page_size": {
  1247. "description": "单页大小",
  1248. "type": "integer"
  1249. },
  1250. "start_coin": {
  1251. "type": "string",
  1252. "example": "最小金额"
  1253. },
  1254. "uid": {
  1255. "description": "指定查询用户 ID",
  1256. "type": "integer"
  1257. },
  1258. "user_name": {
  1259. "type": "string",
  1260. "example": "用户名称"
  1261. },
  1262. "user_phone": {
  1263. "type": "string",
  1264. "example": "手机号"
  1265. }
  1266. }
  1267. },
  1268. "md.GetGreenEnergyUserCoinListResp": {
  1269. "type": "object",
  1270. "properties": {
  1271. "kind_list": {
  1272. "description": "货币类型集合",
  1273. "type": "array",
  1274. "items": {
  1275. "$ref": "#/definitions/md.VirtualCoinListNode"
  1276. }
  1277. },
  1278. "list": {
  1279. "description": "余额集合",
  1280. "type": "array",
  1281. "items": {
  1282. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1283. }
  1284. },
  1285. "sum_user_amount": {
  1286. "description": "用户持有总数",
  1287. "type": "number"
  1288. },
  1289. "total": {
  1290. "description": "持有该类型用户数",
  1291. "type": "integer"
  1292. }
  1293. }
  1294. },
  1295. "md.GetPublicPlatoonBasicResp": {
  1296. "type": "object",
  1297. "properties": {
  1298. "is_open": {
  1299. "description": "是否开启(1:开启 0:关闭)",
  1300. "type": "integer"
  1301. },
  1302. "is_self_active_get_team_revenue": {
  1303. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1304. "type": "integer"
  1305. },
  1306. "originator_uid": {
  1307. "description": "创始人uid",
  1308. "type": "integer"
  1309. },
  1310. "several_rows": {
  1311. "description": "几排",
  1312. "type": "integer"
  1313. },
  1314. "several_times": {
  1315. "description": "几乘",
  1316. "type": "integer"
  1317. },
  1318. "system_punish_replace": {
  1319. "description": "是否位置滑落 被新用户替换 0否 1是",
  1320. "type": "integer"
  1321. },
  1322. "system_punish_replace_value": {
  1323. "description": "xx天未活跃,处罚滑落",
  1324. "type": "integer"
  1325. }
  1326. }
  1327. },
  1328. "md.LoginReq": {
  1329. "type": "object",
  1330. "required": [
  1331. "password",
  1332. "username"
  1333. ],
  1334. "properties": {
  1335. "code": {
  1336. "type": "string",
  1337. "example": "验证码"
  1338. },
  1339. "password": {
  1340. "type": "string",
  1341. "example": "登录密码"
  1342. },
  1343. "username": {
  1344. "type": "string",
  1345. "example": "登录账号"
  1346. }
  1347. }
  1348. },
  1349. "md.LoginResponse": {
  1350. "type": "object",
  1351. "properties": {
  1352. "token": {
  1353. "type": "string"
  1354. }
  1355. }
  1356. },
  1357. "md.Response": {
  1358. "type": "object",
  1359. "properties": {
  1360. "code": {
  1361. "type": "string",
  1362. "example": "响应码"
  1363. },
  1364. "data": {
  1365. "description": "内容"
  1366. },
  1367. "msg": {
  1368. "type": "string",
  1369. "example": "具体错误原因"
  1370. }
  1371. }
  1372. },
  1373. "md.SelectData": {
  1374. "type": "object",
  1375. "properties": {
  1376. "direction": {
  1377. "type": "array",
  1378. "items": {
  1379. "$ref": "#/definitions/md.DirectionMap"
  1380. }
  1381. }
  1382. }
  1383. },
  1384. "md.SonUserDailyActivityAnalysisNode": {
  1385. "type": "object",
  1386. "properties": {
  1387. "activity_day_nums": {
  1388. "description": "活跃子节点活跃天数",
  1389. "type": "integer"
  1390. },
  1391. "nickname": {
  1392. "type": "string",
  1393. "example": "昵称"
  1394. },
  1395. "phone": {
  1396. "type": "string",
  1397. "example": "手机号"
  1398. },
  1399. "uid": {
  1400. "description": "查询用户活跃子节点 ID",
  1401. "type": "integer"
  1402. }
  1403. }
  1404. },
  1405. "md.SubUser": {
  1406. "type": "object",
  1407. "properties": {
  1408. "avatar_url": {
  1409. "type": "string",
  1410. "example": "头像"
  1411. },
  1412. "level": {
  1413. "description": "整个系统中的等级",
  1414. "type": "integer"
  1415. },
  1416. "nickname": {
  1417. "type": "string",
  1418. "example": "昵称"
  1419. },
  1420. "phone": {
  1421. "type": "string",
  1422. "example": "手机号"
  1423. },
  1424. "pid": {
  1425. "type": "integer"
  1426. },
  1427. "position": {
  1428. "description": "以pid1为创始人中网的位置",
  1429. "type": "integer"
  1430. },
  1431. "uid": {
  1432. "type": "integer"
  1433. }
  1434. }
  1435. },
  1436. "md.TreeNode": {
  1437. "type": "object",
  1438. "properties": {
  1439. "avatar_url": {
  1440. "type": "string",
  1441. "example": "头像"
  1442. },
  1443. "level": {
  1444. "type": "integer"
  1445. },
  1446. "nickname": {
  1447. "type": "string",
  1448. "example": "昵称"
  1449. },
  1450. "phone": {
  1451. "type": "string",
  1452. "example": "手机号"
  1453. },
  1454. "pid": {
  1455. "type": "integer"
  1456. },
  1457. "position": {
  1458. "type": "integer"
  1459. },
  1460. "son": {
  1461. "type": "array",
  1462. "items": {
  1463. "$ref": "#/definitions/md.TreeNode"
  1464. }
  1465. },
  1466. "system_id": {
  1467. "description": "公排网中id",
  1468. "type": "integer"
  1469. },
  1470. "uid": {
  1471. "type": "integer"
  1472. }
  1473. }
  1474. },
  1475. "md.UpdatePublicPlatoonBasicReq": {
  1476. "type": "object",
  1477. "properties": {
  1478. "is_open": {
  1479. "description": "是否开启(1:开启 0:关闭)",
  1480. "type": "integer"
  1481. },
  1482. "is_self_active_get_team_revenue": {
  1483. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1484. "type": "integer"
  1485. },
  1486. "originator_uid": {
  1487. "description": "创始人uid",
  1488. "type": "integer"
  1489. },
  1490. "several_rows": {
  1491. "description": "几排",
  1492. "type": "integer"
  1493. },
  1494. "several_times": {
  1495. "description": "几乘",
  1496. "type": "integer"
  1497. },
  1498. "system_punish_replace": {
  1499. "description": "是否位置滑落 被新用户替换 0否 1是",
  1500. "type": "integer"
  1501. },
  1502. "system_punish_replace_value": {
  1503. "description": "xx天未活跃,处罚滑落",
  1504. "type": "integer"
  1505. }
  1506. }
  1507. },
  1508. "md.UserDailyActivityAnalysisReq": {
  1509. "type": "object",
  1510. "properties": {
  1511. "end_date": {
  1512. "type": "string",
  1513. "example": "结束日期"
  1514. },
  1515. "page": {
  1516. "description": "页数",
  1517. "type": "integer"
  1518. },
  1519. "page_size": {
  1520. "description": "每页大小",
  1521. "type": "integer"
  1522. },
  1523. "start_date": {
  1524. "type": "string",
  1525. "example": "开始日期"
  1526. },
  1527. "uid": {
  1528. "description": "查询用户 ID",
  1529. "type": "integer"
  1530. }
  1531. }
  1532. },
  1533. "md.UserDailyActivityAnalysisResp": {
  1534. "type": "object",
  1535. "properties": {
  1536. "son_user_data": {
  1537. "description": "被查询用户子节点信息",
  1538. "type": "array",
  1539. "items": {
  1540. "$ref": "#/definitions/md.SonUserDailyActivityAnalysisNode"
  1541. }
  1542. },
  1543. "top_data": {
  1544. "description": "统计信息",
  1545. "allOf": [
  1546. {
  1547. "$ref": "#/definitions/md.DailyActivityAnalysisTopData"
  1548. }
  1549. ]
  1550. }
  1551. }
  1552. },
  1553. "md.UserVirtualCoinFlow": {
  1554. "type": "object",
  1555. "properties": {
  1556. "after_amount": {
  1557. "type": "string",
  1558. "example": "变更后数量"
  1559. },
  1560. "amount": {
  1561. "type": "string",
  1562. "example": "变更数量"
  1563. },
  1564. "before_amount": {
  1565. "type": "string",
  1566. "example": "变更前数量"
  1567. },
  1568. "coin_id": {
  1569. "description": "虚拟币 ID",
  1570. "type": "integer"
  1571. },
  1572. "create_at": {
  1573. "type": "string",
  1574. "example": "创建时间"
  1575. },
  1576. "direction": {
  1577. "description": "方向:1收入 2支出",
  1578. "type": "integer"
  1579. },
  1580. "id": {
  1581. "type": "integer"
  1582. },
  1583. "sys_fee": {
  1584. "type": "string",
  1585. "example": "手续费"
  1586. },
  1587. "title": {
  1588. "type": "string",
  1589. "example": "标题"
  1590. },
  1591. "transfer_type": {
  1592. "description": "转账类型",
  1593. "type": "integer"
  1594. },
  1595. "uid": {
  1596. "description": "用户 ID",
  1597. "type": "integer"
  1598. },
  1599. "update_at": {
  1600. "type": "string",
  1601. "example": "更新时间"
  1602. }
  1603. }
  1604. },
  1605. "md.VirtualCoinListNode": {
  1606. "type": "object",
  1607. "properties": {
  1608. "coin_id": {
  1609. "description": "货币类型 ID",
  1610. "type": "integer"
  1611. },
  1612. "kind": {
  1613. "description": "货币序号",
  1614. "type": "integer"
  1615. },
  1616. "name": {
  1617. "type": "string",
  1618. "example": "货币类型名称"
  1619. }
  1620. }
  1621. }
  1622. },
  1623. "securityDefinitions": {
  1624. "MasterID": {
  1625. "type": "apiKey",
  1626. "name": "MasterID",
  1627. "in": "header"
  1628. }
  1629. }
  1630. }`
  1631. // SwaggerInfo holds exported Swagger Info so clients can modify it
  1632. var SwaggerInfo = &swag.Spec{
  1633. Version: "1.0",
  1634. Host: "localhost:4001",
  1635. BasePath: "",
  1636. Schemes: []string{},
  1637. Title: "蛋蛋星球-管理后台",
  1638. Description: "管理后台接口文档",
  1639. InfoInstanceName: "swagger",
  1640. SwaggerTemplate: docTemplate,
  1641. LeftDelim: "{{",
  1642. RightDelim: "}}",
  1643. }
  1644. func init() {
  1645. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  1646. }