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

2939 lines
101 KiB

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