蛋蛋星球 后台端
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 

2951 satır
102 KiB

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