蛋蛋星球 后台端
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.
 
 
 
 
 

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