蛋蛋星球 后台端
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 

3092 líneas
106 KiB

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