蛋蛋星球-客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

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