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

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