蛋蛋星球-客户端
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.
 
 
 
 
 

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