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

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