蛋蛋星球-客户端
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

2042 rindas
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/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. "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. "example": "结束时间"
  1091. },
  1092. "kind": {
  1093. "description": "持有类型",
  1094. "type": "integer"
  1095. },
  1096. "page": {
  1097. "description": "页数",
  1098. "type": "integer"
  1099. },
  1100. "page_size": {
  1101. "description": "每页大小",
  1102. "type": "integer"
  1103. },
  1104. "start_at": {
  1105. "description": "开始时间",
  1106. "type": "string",
  1107. "example": "开始时间"
  1108. }
  1109. }
  1110. },
  1111. "md.DynamicDataFlowListResp": {
  1112. "type": "object",
  1113. "properties": {
  1114. "kind_list": {
  1115. "type": "array",
  1116. "items": {
  1117. "type": "object",
  1118. "additionalProperties": true
  1119. }
  1120. },
  1121. "list": {
  1122. "type": "array",
  1123. "items": {
  1124. "$ref": "#/definitions/model.EggEnergyAvailableEnergyFlow"
  1125. }
  1126. },
  1127. "paginate": {
  1128. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1129. }
  1130. }
  1131. },
  1132. "md.EggEnergyCommunityDividends": {
  1133. "type": "object",
  1134. "properties": {
  1135. "coin_id": {
  1136. "description": "虚拟币 id",
  1137. "type": "integer"
  1138. },
  1139. "create_at": {
  1140. "description": "分红时间",
  1141. "type": "string"
  1142. },
  1143. "id": {
  1144. "type": "integer"
  1145. },
  1146. "is_over": {
  1147. "description": "是否分红完毕",
  1148. "type": "integer"
  1149. },
  1150. "name": {
  1151. "type": "string",
  1152. "example": "名称"
  1153. },
  1154. "nums": {
  1155. "description": "分红数量",
  1156. "type": "integer"
  1157. },
  1158. "persons_num": {
  1159. "description": "分红人数",
  1160. "type": "integer"
  1161. },
  1162. "update_at": {
  1163. "type": "string"
  1164. }
  1165. }
  1166. },
  1167. "md.EggEnergyCommunityDividendsWithUser": {
  1168. "type": "object",
  1169. "properties": {
  1170. "id": {
  1171. "type": "integer"
  1172. },
  1173. "memo": {
  1174. "type": "string",
  1175. "example": "备注"
  1176. },
  1177. "nickname": {
  1178. "type": "string"
  1179. },
  1180. "phone": {
  1181. "type": "string"
  1182. },
  1183. "uid": {
  1184. "type": "integer"
  1185. }
  1186. }
  1187. },
  1188. "md.ExchangeUserPositionReq": {
  1189. "type": "object",
  1190. "properties": {
  1191. "position_1": {
  1192. "description": "位置1,具体值取返回数据中的 system_id",
  1193. "type": "integer"
  1194. },
  1195. "position_2": {
  1196. "description": "位置2,具体值取返回数据中的 system_id",
  1197. "type": "integer"
  1198. }
  1199. }
  1200. },
  1201. "md.FindSubUserRelationshipMapResp": {
  1202. "type": "object",
  1203. "properties": {
  1204. "basic_setting": {
  1205. "description": "公排设置",
  1206. "allOf": [
  1207. {
  1208. "$ref": "#/definitions/md.BasicSetting"
  1209. }
  1210. ]
  1211. },
  1212. "search_uid": {
  1213. "description": "查找的用户 ID",
  1214. "type": "string"
  1215. },
  1216. "sub_user": {
  1217. "description": "上级用户信息",
  1218. "allOf": [
  1219. {
  1220. "$ref": "#/definitions/md.SubUser"
  1221. }
  1222. ]
  1223. }
  1224. }
  1225. },
  1226. "md.FreePublishUserNode": {
  1227. "type": "object",
  1228. "properties": {
  1229. "nickname": {
  1230. "type": "string",
  1231. "example": "昵称"
  1232. },
  1233. "phone": {
  1234. "type": "string",
  1235. "example": "手机号"
  1236. },
  1237. "uid": {
  1238. "type": "integer"
  1239. }
  1240. }
  1241. },
  1242. "md.GetActivePointsUserCoinFlowListReq": {
  1243. "type": "object",
  1244. "properties": {
  1245. "coin_id": {
  1246. "description": "货币类型 ID",
  1247. "type": "integer"
  1248. },
  1249. "direction": {
  1250. "description": "流水方向:1收入 2支出",
  1251. "type": "integer"
  1252. },
  1253. "end_at": {
  1254. "description": "结束时间",
  1255. "type": "string"
  1256. },
  1257. "page": {
  1258. "description": "页数",
  1259. "type": "integer"
  1260. },
  1261. "page_size": {
  1262. "description": "每页大小",
  1263. "type": "integer"
  1264. },
  1265. "start_at": {
  1266. "description": "开始时间",
  1267. "type": "string"
  1268. },
  1269. "uid": {
  1270. "description": "用户 ID",
  1271. "type": "integer"
  1272. }
  1273. }
  1274. },
  1275. "md.GetActivePointsUserCoinFlowListResp": {
  1276. "type": "object",
  1277. "properties": {
  1278. "list": {
  1279. "description": "流水信息",
  1280. "type": "array",
  1281. "items": {
  1282. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1283. }
  1284. },
  1285. "paginate": {
  1286. "description": "分页信息",
  1287. "allOf": [
  1288. {
  1289. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1290. }
  1291. ]
  1292. },
  1293. "select_data": {
  1294. "description": "流水类型",
  1295. "allOf": [
  1296. {
  1297. "$ref": "#/definitions/md.SelectData"
  1298. }
  1299. ]
  1300. }
  1301. }
  1302. },
  1303. "md.GetActivePointsUserCoinListReq": {
  1304. "type": "object",
  1305. "properties": {
  1306. "end_coin": {
  1307. "type": "string",
  1308. "example": "最大金额"
  1309. },
  1310. "kind": {
  1311. "description": "虚拟币种类编号",
  1312. "type": "integer"
  1313. },
  1314. "page": {
  1315. "description": "页数",
  1316. "type": "integer"
  1317. },
  1318. "page_size": {
  1319. "description": "单页大小",
  1320. "type": "integer"
  1321. },
  1322. "start_coin": {
  1323. "type": "string",
  1324. "example": "最小金额"
  1325. },
  1326. "uid": {
  1327. "description": "指定查询用户 ID",
  1328. "type": "integer"
  1329. },
  1330. "user_name": {
  1331. "type": "string",
  1332. "example": "用户名称"
  1333. },
  1334. "user_phone": {
  1335. "type": "string",
  1336. "example": "手机号"
  1337. }
  1338. }
  1339. },
  1340. "md.GetActivePointsUserCoinListResp": {
  1341. "type": "object",
  1342. "properties": {
  1343. "kind_list": {
  1344. "description": "货币类型集合",
  1345. "type": "array",
  1346. "items": {
  1347. "$ref": "#/definitions/md.VirtualCoinListNode"
  1348. }
  1349. },
  1350. "list": {
  1351. "description": "余额集合",
  1352. "type": "array",
  1353. "items": {
  1354. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1355. }
  1356. },
  1357. "sum_user_amount": {
  1358. "description": "用户持有总数",
  1359. "type": "number"
  1360. },
  1361. "total": {
  1362. "description": "持有该类型用户数",
  1363. "type": "integer"
  1364. }
  1365. }
  1366. },
  1367. "md.GetFreePublishUserReq": {
  1368. "type": "object",
  1369. "properties": {
  1370. "limit": {
  1371. "description": "每页大小",
  1372. "type": "integer"
  1373. },
  1374. "page": {
  1375. "description": "当前页数",
  1376. "type": "integer"
  1377. },
  1378. "uid": {
  1379. "description": "筛选的用户 ID",
  1380. "type": "integer"
  1381. }
  1382. }
  1383. },
  1384. "md.GetFreePublishUserResp": {
  1385. "type": "object",
  1386. "properties": {
  1387. "list": {
  1388. "description": "免罚用户列表",
  1389. "type": "array",
  1390. "items": {
  1391. "$ref": "#/definitions/md.FreePublishUserNode"
  1392. }
  1393. },
  1394. "paginate": {
  1395. "description": "分页信息",
  1396. "allOf": [
  1397. {
  1398. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1399. }
  1400. ]
  1401. }
  1402. }
  1403. },
  1404. "md.GetGreenEnergyUserCoinFlowListReq": {
  1405. "type": "object",
  1406. "properties": {
  1407. "coin_id": {
  1408. "description": "货币类型 ID",
  1409. "type": "integer"
  1410. },
  1411. "direction": {
  1412. "description": "流水方向:1收入 2支出",
  1413. "type": "integer"
  1414. },
  1415. "end_at": {
  1416. "description": "结束时间",
  1417. "type": "string"
  1418. },
  1419. "page": {
  1420. "description": "页数",
  1421. "type": "integer"
  1422. },
  1423. "page_size": {
  1424. "description": "每页大小",
  1425. "type": "integer"
  1426. },
  1427. "start_at": {
  1428. "description": "开始时间",
  1429. "type": "string"
  1430. },
  1431. "uid": {
  1432. "description": "用户 ID",
  1433. "type": "integer"
  1434. }
  1435. }
  1436. },
  1437. "md.GetGreenEnergyUserCoinFlowListResp": {
  1438. "type": "object",
  1439. "properties": {
  1440. "list": {
  1441. "description": "流水信息",
  1442. "type": "array",
  1443. "items": {
  1444. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1445. }
  1446. },
  1447. "paginate": {
  1448. "description": "分页信息",
  1449. "allOf": [
  1450. {
  1451. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1452. }
  1453. ]
  1454. },
  1455. "select_data": {
  1456. "description": "流水类型",
  1457. "allOf": [
  1458. {
  1459. "$ref": "#/definitions/md.SelectData"
  1460. }
  1461. ]
  1462. }
  1463. }
  1464. },
  1465. "md.GetGreenEnergyUserCoinListReq": {
  1466. "type": "object",
  1467. "properties": {
  1468. "end_coin": {
  1469. "type": "string",
  1470. "example": "最大金额"
  1471. },
  1472. "kind": {
  1473. "description": "虚拟币种类编号",
  1474. "type": "integer"
  1475. },
  1476. "page": {
  1477. "description": "页数",
  1478. "type": "integer"
  1479. },
  1480. "page_size": {
  1481. "description": "单页大小",
  1482. "type": "integer"
  1483. },
  1484. "start_coin": {
  1485. "type": "string",
  1486. "example": "最小金额"
  1487. },
  1488. "uid": {
  1489. "description": "指定查询用户 ID",
  1490. "type": "integer"
  1491. },
  1492. "user_name": {
  1493. "type": "string",
  1494. "example": "用户名称"
  1495. },
  1496. "user_phone": {
  1497. "type": "string",
  1498. "example": "手机号"
  1499. }
  1500. }
  1501. },
  1502. "md.GetGreenEnergyUserCoinListResp": {
  1503. "type": "object",
  1504. "properties": {
  1505. "kind_list": {
  1506. "description": "货币类型集合",
  1507. "type": "array",
  1508. "items": {
  1509. "$ref": "#/definitions/md.VirtualCoinListNode"
  1510. }
  1511. },
  1512. "list": {
  1513. "description": "余额集合",
  1514. "type": "array",
  1515. "items": {
  1516. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1517. }
  1518. },
  1519. "sum_user_amount": {
  1520. "description": "用户持有总数",
  1521. "type": "number"
  1522. },
  1523. "total": {
  1524. "description": "持有该类型用户数",
  1525. "type": "integer"
  1526. }
  1527. }
  1528. },
  1529. "md.GetPublicPlatoonBasicResp": {
  1530. "type": "object",
  1531. "properties": {
  1532. "is_open": {
  1533. "description": "是否开启(1:开启 0:关闭)",
  1534. "type": "integer"
  1535. },
  1536. "is_self_active_get_team_revenue": {
  1537. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1538. "type": "integer"
  1539. },
  1540. "originator_uid": {
  1541. "description": "创始人uid",
  1542. "type": "integer"
  1543. },
  1544. "several_rows": {
  1545. "description": "几排",
  1546. "type": "integer"
  1547. },
  1548. "several_times": {
  1549. "description": "几乘",
  1550. "type": "integer"
  1551. },
  1552. "system_punish_replace": {
  1553. "description": "是否位置滑落 被新用户替换 0否 1是",
  1554. "type": "integer"
  1555. },
  1556. "system_punish_replace_value": {
  1557. "description": "xx天未活跃,处罚滑落",
  1558. "type": "integer"
  1559. }
  1560. }
  1561. },
  1562. "md.ListCommunityDividendsReq": {
  1563. "type": "object",
  1564. "properties": {
  1565. "end_at": {
  1566. "description": "结束时间",
  1567. "type": "string"
  1568. },
  1569. "end_nums": {
  1570. "description": "分红总量上限",
  1571. "type": "integer"
  1572. },
  1573. "limit": {
  1574. "description": "每页大小",
  1575. "type": "integer"
  1576. },
  1577. "page": {
  1578. "description": "页数",
  1579. "type": "integer"
  1580. },
  1581. "start_at": {
  1582. "description": "开始时间",
  1583. "type": "string"
  1584. },
  1585. "start_nums": {
  1586. "description": "分红总量下限",
  1587. "type": "integer"
  1588. }
  1589. }
  1590. },
  1591. "md.ListCommunityDividendsResp": {
  1592. "type": "object",
  1593. "properties": {
  1594. "list": {
  1595. "type": "array",
  1596. "items": {
  1597. "$ref": "#/definitions/md.EggEnergyCommunityDividends"
  1598. }
  1599. },
  1600. "paginate": {
  1601. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1602. }
  1603. }
  1604. },
  1605. "md.ListCommunityDividendsWithUserReq": {
  1606. "type": "object",
  1607. "properties": {
  1608. "limit": {
  1609. "type": "integer"
  1610. },
  1611. "page": {
  1612. "type": "integer"
  1613. },
  1614. "phone": {
  1615. "type": "string"
  1616. },
  1617. "uid": {
  1618. "type": "integer"
  1619. }
  1620. }
  1621. },
  1622. "md.ListCommunityDividendsWithUserResp": {
  1623. "type": "object",
  1624. "properties": {
  1625. "list": {
  1626. "type": "array",
  1627. "items": {
  1628. "$ref": "#/definitions/md.EggEnergyCommunityDividendsWithUser"
  1629. }
  1630. },
  1631. "paginate": {
  1632. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1633. }
  1634. }
  1635. },
  1636. "md.LoginReq": {
  1637. "type": "object",
  1638. "required": [
  1639. "password",
  1640. "username"
  1641. ],
  1642. "properties": {
  1643. "code": {
  1644. "type": "string",
  1645. "example": "验证码"
  1646. },
  1647. "password": {
  1648. "type": "string",
  1649. "example": "登录密码"
  1650. },
  1651. "username": {
  1652. "type": "string",
  1653. "example": "登录账号"
  1654. }
  1655. }
  1656. },
  1657. "md.LoginResponse": {
  1658. "type": "object",
  1659. "properties": {
  1660. "token": {
  1661. "type": "string"
  1662. }
  1663. }
  1664. },
  1665. "md.Response": {
  1666. "type": "object",
  1667. "properties": {
  1668. "code": {
  1669. "type": "string",
  1670. "example": "响应码"
  1671. },
  1672. "data": {
  1673. "description": "内容"
  1674. },
  1675. "msg": {
  1676. "type": "string",
  1677. "example": "具体错误原因"
  1678. }
  1679. }
  1680. },
  1681. "md.SelectData": {
  1682. "type": "object",
  1683. "properties": {
  1684. "direction": {
  1685. "type": "array",
  1686. "items": {
  1687. "type": "object",
  1688. "additionalProperties": {
  1689. "type": "string"
  1690. }
  1691. }
  1692. }
  1693. }
  1694. },
  1695. "md.SonUserDailyActivityAnalysisNode": {
  1696. "type": "object",
  1697. "properties": {
  1698. "activity_day_nums": {
  1699. "description": "活跃子节点活跃天数",
  1700. "type": "integer"
  1701. },
  1702. "nickname": {
  1703. "type": "string",
  1704. "example": "昵称"
  1705. },
  1706. "phone": {
  1707. "type": "string",
  1708. "example": "手机号"
  1709. },
  1710. "uid": {
  1711. "description": "查询用户活跃子节点 ID",
  1712. "type": "integer"
  1713. }
  1714. }
  1715. },
  1716. "md.SubUser": {
  1717. "type": "object",
  1718. "properties": {
  1719. "avatar_url": {
  1720. "type": "string",
  1721. "example": "头像"
  1722. },
  1723. "level": {
  1724. "description": "整个系统中的等级",
  1725. "type": "integer"
  1726. },
  1727. "nickname": {
  1728. "type": "string",
  1729. "example": "昵称"
  1730. },
  1731. "phone": {
  1732. "type": "string",
  1733. "example": "手机号"
  1734. },
  1735. "pid": {
  1736. "type": "integer"
  1737. },
  1738. "position": {
  1739. "description": "以pid1为创始人中网的位置",
  1740. "type": "integer"
  1741. },
  1742. "uid": {
  1743. "type": "integer"
  1744. }
  1745. }
  1746. },
  1747. "md.TreeNode": {
  1748. "type": "object",
  1749. "properties": {
  1750. "avatar_url": {
  1751. "type": "string",
  1752. "example": "头像"
  1753. },
  1754. "level": {
  1755. "type": "integer"
  1756. },
  1757. "nickname": {
  1758. "type": "string",
  1759. "example": "昵称"
  1760. },
  1761. "phone": {
  1762. "type": "string",
  1763. "example": "手机号"
  1764. },
  1765. "pid": {
  1766. "type": "integer"
  1767. },
  1768. "position": {
  1769. "type": "integer"
  1770. },
  1771. "son": {
  1772. "type": "array",
  1773. "items": {
  1774. "$ref": "#/definitions/md.TreeNode"
  1775. }
  1776. },
  1777. "system_id": {
  1778. "description": "公排网中id",
  1779. "type": "integer"
  1780. },
  1781. "uid": {
  1782. "type": "integer"
  1783. }
  1784. }
  1785. },
  1786. "md.UpdatePublicPlatoonBasicReq": {
  1787. "type": "object",
  1788. "properties": {
  1789. "is_open": {
  1790. "description": "是否开启(1:开启 0:关闭)",
  1791. "type": "integer"
  1792. },
  1793. "is_self_active_get_team_revenue": {
  1794. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1795. "type": "integer"
  1796. },
  1797. "originator_uid": {
  1798. "description": "创始人uid",
  1799. "type": "integer"
  1800. },
  1801. "several_rows": {
  1802. "description": "几排",
  1803. "type": "integer"
  1804. },
  1805. "several_times": {
  1806. "description": "几乘",
  1807. "type": "integer"
  1808. },
  1809. "system_punish_replace": {
  1810. "description": "是否位置滑落 被新用户替换 0否 1是",
  1811. "type": "integer"
  1812. },
  1813. "system_punish_replace_value": {
  1814. "description": "xx天未活跃,处罚滑落",
  1815. "type": "integer"
  1816. }
  1817. }
  1818. },
  1819. "md.UserDailyActivityAnalysisReq": {
  1820. "type": "object",
  1821. "properties": {
  1822. "end_date": {
  1823. "type": "string",
  1824. "example": "结束日期"
  1825. },
  1826. "page": {
  1827. "description": "页数",
  1828. "type": "integer"
  1829. },
  1830. "page_size": {
  1831. "description": "每页大小",
  1832. "type": "integer"
  1833. },
  1834. "start_date": {
  1835. "type": "string",
  1836. "example": "开始日期"
  1837. },
  1838. "uid": {
  1839. "description": "查询用户 ID",
  1840. "type": "integer"
  1841. }
  1842. }
  1843. },
  1844. "md.UserDailyActivityAnalysisResp": {
  1845. "type": "object",
  1846. "properties": {
  1847. "son_user_data": {
  1848. "description": "被查询用户子节点信息",
  1849. "type": "array",
  1850. "items": {
  1851. "$ref": "#/definitions/md.SonUserDailyActivityAnalysisNode"
  1852. }
  1853. },
  1854. "top_data": {
  1855. "description": "统计信息",
  1856. "allOf": [
  1857. {
  1858. "$ref": "#/definitions/md.DailyActivityAnalysisTopData"
  1859. }
  1860. ]
  1861. }
  1862. }
  1863. },
  1864. "md.UserVirtualCoinFlow": {
  1865. "type": "object",
  1866. "properties": {
  1867. "after_amount": {
  1868. "type": "string",
  1869. "example": "变更后数量"
  1870. },
  1871. "amount": {
  1872. "type": "string",
  1873. "example": "变更数量"
  1874. },
  1875. "before_amount": {
  1876. "type": "string",
  1877. "example": "变更前数量"
  1878. },
  1879. "coin_id": {
  1880. "description": "虚拟币 ID",
  1881. "type": "integer"
  1882. },
  1883. "create_at": {
  1884. "type": "string",
  1885. "example": "创建时间"
  1886. },
  1887. "direction": {
  1888. "description": "方向:1收入 2支出",
  1889. "type": "integer"
  1890. },
  1891. "id": {
  1892. "type": "integer"
  1893. },
  1894. "sys_fee": {
  1895. "type": "string",
  1896. "example": "手续费"
  1897. },
  1898. "title": {
  1899. "type": "string",
  1900. "example": "标题"
  1901. },
  1902. "transfer_type": {
  1903. "description": "转账类型",
  1904. "type": "integer"
  1905. },
  1906. "uid": {
  1907. "description": "用户 ID",
  1908. "type": "integer"
  1909. },
  1910. "update_at": {
  1911. "type": "string",
  1912. "example": "更新时间"
  1913. }
  1914. }
  1915. },
  1916. "md.VirtualCoinListNode": {
  1917. "type": "object",
  1918. "properties": {
  1919. "coin_id": {
  1920. "description": "货币类型 ID",
  1921. "type": "integer"
  1922. },
  1923. "kind": {
  1924. "description": "货币序号",
  1925. "type": "integer"
  1926. },
  1927. "name": {
  1928. "type": "string",
  1929. "example": "货币类型名称"
  1930. }
  1931. }
  1932. },
  1933. "model.EggEnergyAvailableEnergyFlow": {
  1934. "type": "object",
  1935. "properties": {
  1936. "after_community_dividends": {
  1937. "type": "string"
  1938. },
  1939. "after_destruction_quantity_values": {
  1940. "type": "string"
  1941. },
  1942. "after_development_committee_values": {
  1943. "type": "string"
  1944. },
  1945. "after_marketplace_merchant_fund_values": {
  1946. "type": "string"
  1947. },
  1948. "after_marketplace_merchant_values": {
  1949. "type": "string"
  1950. },
  1951. "after_now_energy_total_nums": {
  1952. "type": "string"
  1953. },
  1954. "after_planet_total_value": {
  1955. "type": "string"
  1956. },
  1957. "after_price": {
  1958. "type": "string"
  1959. },
  1960. "after_public_welfare_and_charity_values": {
  1961. "type": "string"
  1962. },
  1963. "after_star_level_dividends_values": {
  1964. "type": "string"
  1965. },
  1966. "amount": {
  1967. "type": "string"
  1968. },
  1969. "before_community_dividends": {
  1970. "type": "string"
  1971. },
  1972. "before_destruction_quantity_values": {
  1973. "type": "string"
  1974. },
  1975. "before_development_committee_values": {
  1976. "type": "string"
  1977. },
  1978. "before_marketplace_merchant_fund_values": {
  1979. "type": "string"
  1980. },
  1981. "before_marketplace_merchant_values": {
  1982. "type": "string"
  1983. },
  1984. "before_now_energy_total_nums": {
  1985. "type": "string"
  1986. },
  1987. "before_planet_total_value": {
  1988. "type": "string"
  1989. },
  1990. "before_price": {
  1991. "type": "string"
  1992. },
  1993. "before_public_welfare_and_charity_values": {
  1994. "type": "string"
  1995. },
  1996. "before_star_level_dividends_values": {
  1997. "type": "string"
  1998. },
  1999. "create_time": {
  2000. "type": "string"
  2001. },
  2002. "id": {
  2003. "type": "integer"
  2004. },
  2005. "kind": {
  2006. "type": "integer"
  2007. },
  2008. "title": {
  2009. "type": "string"
  2010. }
  2011. }
  2012. }
  2013. },
  2014. "securityDefinitions": {
  2015. "MasterID": {
  2016. "type": "apiKey",
  2017. "name": "MasterID",
  2018. "in": "header"
  2019. }
  2020. }
  2021. }`
  2022. // SwaggerInfo holds exported Swagger Info so clients can modify it
  2023. var SwaggerInfo = &swag.Spec{
  2024. Version: "1.0",
  2025. Host: "localhost:4001",
  2026. BasePath: "",
  2027. Schemes: []string{},
  2028. Title: "蛋蛋星球-管理后台",
  2029. Description: "管理后台接口文档",
  2030. InfoInstanceName: "swagger",
  2031. SwaggerTemplate: docTemplate,
  2032. LeftDelim: "{{",
  2033. RightDelim: "}}",
  2034. }
  2035. func init() {
  2036. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  2037. }