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

2796 lines
93 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/v1/addFriend/basalRate": {
  26. "get": {
  27. "description": "基础速率(获取)",
  28. "consumes": [
  29. "application/json"
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "添加好友"
  36. ],
  37. "summary": "蛋蛋星球-添加好友-基础速率(获取)",
  38. "parameters": [
  39. {
  40. "type": "string",
  41. "description": "验证参数Bearer和token空格拼接",
  42. "name": "Authorization",
  43. "in": "header",
  44. "required": true
  45. }
  46. ],
  47. "responses": {
  48. "200": {
  49. "description": "具体数据",
  50. "schema": {
  51. "$ref": "#/definitions/md.BasalRateResp"
  52. }
  53. },
  54. "400": {
  55. "description": "具体错误",
  56. "schema": {
  57. "$ref": "#/definitions/md.Response"
  58. }
  59. }
  60. }
  61. }
  62. },
  63. "/api/v1/addFriend/eggEnergyDetails": {
  64. "post": {
  65. "description": "蛋蛋能量明细(获取)",
  66. "consumes": [
  67. "application/json"
  68. ],
  69. "produces": [
  70. "application/json"
  71. ],
  72. "tags": [
  73. "添加好友"
  74. ],
  75. "summary": "蛋蛋星球-添加好友-蛋蛋能量明细(获取)",
  76. "parameters": [
  77. {
  78. "type": "string",
  79. "description": "验证参数Bearer和token空格拼接",
  80. "name": "Authorization",
  81. "in": "header",
  82. "required": true
  83. },
  84. {
  85. "description": "分页类型必填",
  86. "name": "req",
  87. "in": "body",
  88. "required": true,
  89. "schema": {
  90. "$ref": "#/definitions/md.EggEnergyDetailReq"
  91. }
  92. }
  93. ],
  94. "responses": {
  95. "200": {
  96. "description": "具体数据",
  97. "schema": {
  98. "$ref": "#/definitions/md.EggEnergyDetailResp"
  99. }
  100. },
  101. "400": {
  102. "description": "具体错误",
  103. "schema": {
  104. "$ref": "#/definitions/md.Response"
  105. }
  106. }
  107. }
  108. }
  109. },
  110. "/api/v1/addFriend/eggPointDetails": {
  111. "post": {
  112. "description": "蛋蛋积分明细(获取)",
  113. "consumes": [
  114. "application/json"
  115. ],
  116. "produces": [
  117. "application/json"
  118. ],
  119. "tags": [
  120. "添加好友"
  121. ],
  122. "summary": "蛋蛋星球-添加好友-蛋蛋积分明细(获取)",
  123. "parameters": [
  124. {
  125. "type": "string",
  126. "description": "验证参数Bearer和token空格拼接",
  127. "name": "Authorization",
  128. "in": "header",
  129. "required": true
  130. },
  131. {
  132. "description": "分页类型必填",
  133. "name": "req",
  134. "in": "body",
  135. "required": true,
  136. "schema": {
  137. "$ref": "#/definitions/md.EggPointDetailsReq"
  138. }
  139. }
  140. ],
  141. "responses": {
  142. "200": {
  143. "description": "具体数据",
  144. "schema": {
  145. "$ref": "#/definitions/md.EggPointDetailsResp"
  146. }
  147. },
  148. "400": {
  149. "description": "具体错误",
  150. "schema": {
  151. "$ref": "#/definitions/md.Response"
  152. }
  153. }
  154. }
  155. }
  156. },
  157. "/api/v1/addFriend/myFans": {
  158. "get": {
  159. "description": "团队加速速率(获取)",
  160. "consumes": [
  161. "application/json"
  162. ],
  163. "produces": [
  164. "application/json"
  165. ],
  166. "tags": [
  167. "添加好友"
  168. ],
  169. "summary": "蛋蛋星球-添加好友-粉丝团队-我的粉丝-团队加速速率(获取)",
  170. "parameters": [
  171. {
  172. "type": "string",
  173. "description": "验证参数Bearer和token空格拼接",
  174. "name": "Authorization",
  175. "in": "header",
  176. "required": true
  177. }
  178. ],
  179. "responses": {
  180. "200": {
  181. "description": "具体数据",
  182. "schema": {
  183. "$ref": "#/definitions/md.MyFansResp"
  184. }
  185. },
  186. "400": {
  187. "description": "具体错误",
  188. "schema": {
  189. "$ref": "#/definitions/md.Response"
  190. }
  191. }
  192. }
  193. }
  194. },
  195. "/api/v1/addFriend/myFansUserList": {
  196. "get": {
  197. "description": "在线好友列表(获取)",
  198. "consumes": [
  199. "application/json"
  200. ],
  201. "produces": [
  202. "application/json"
  203. ],
  204. "tags": [
  205. "添加好友"
  206. ],
  207. "summary": "蛋蛋星球-添加好友-粉丝团队-我的粉丝-在线好友列表(获取)",
  208. "parameters": [
  209. {
  210. "type": "string",
  211. "description": "验证参数Bearer和token空格拼接",
  212. "name": "Authorization",
  213. "in": "header",
  214. "required": true
  215. },
  216. {
  217. "type": "integer",
  218. "description": "每页大小",
  219. "name": "limit",
  220. "in": "query",
  221. "required": true
  222. },
  223. {
  224. "type": "integer",
  225. "description": "页数",
  226. "name": "page",
  227. "in": "query",
  228. "required": true
  229. }
  230. ],
  231. "responses": {
  232. "200": {
  233. "description": "具体数据",
  234. "schema": {
  235. "$ref": "#/definitions/md.MyFansUserListResp"
  236. }
  237. },
  238. "400": {
  239. "description": "具体错误",
  240. "schema": {
  241. "$ref": "#/definitions/md.Response"
  242. }
  243. }
  244. }
  245. }
  246. },
  247. "/api/v1/addFriend/nineDimensionalSpace": {
  248. "get": {
  249. "description": "九维空间(获取)",
  250. "consumes": [
  251. "application/json"
  252. ],
  253. "produces": [
  254. "application/json"
  255. ],
  256. "tags": [
  257. "添加好友"
  258. ],
  259. "summary": "蛋蛋星球-添加好友-粉丝团队-九维空间(获取)",
  260. "parameters": [
  261. {
  262. "type": "string",
  263. "description": "验证参数Bearer和token空格拼接",
  264. "name": "Authorization",
  265. "in": "header",
  266. "required": true
  267. }
  268. ],
  269. "responses": {
  270. "200": {
  271. "description": "具体数据",
  272. "schema": {
  273. "$ref": "#/definitions/md.NineDimensionalSpaceResp"
  274. }
  275. },
  276. "400": {
  277. "description": "具体错误",
  278. "schema": {
  279. "$ref": "#/definitions/md.Response"
  280. }
  281. }
  282. }
  283. }
  284. },
  285. "/api/v1/addFriend/totalRate": {
  286. "get": {
  287. "description": "总速率(获取)",
  288. "consumes": [
  289. "application/json"
  290. ],
  291. "produces": [
  292. "application/json"
  293. ],
  294. "tags": [
  295. "添加好友"
  296. ],
  297. "summary": "蛋蛋星球-添加好友-总速率(获取)",
  298. "parameters": [
  299. {
  300. "type": "string",
  301. "description": "验证参数Bearer和token空格拼接",
  302. "name": "Authorization",
  303. "in": "header",
  304. "required": true
  305. }
  306. ],
  307. "responses": {
  308. "200": {
  309. "description": "具体数据",
  310. "schema": {
  311. "$ref": "#/definitions/md.TotalRateResp"
  312. }
  313. },
  314. "400": {
  315. "description": "具体错误",
  316. "schema": {
  317. "$ref": "#/definitions/md.Response"
  318. }
  319. }
  320. }
  321. }
  322. },
  323. "/api/v1/advertising": {
  324. "get": {
  325. "description": "广告位",
  326. "consumes": [
  327. "application/json"
  328. ],
  329. "produces": [
  330. "application/json"
  331. ],
  332. "tags": [
  333. "广告位"
  334. ],
  335. "summary": "广告位",
  336. "parameters": [
  337. {
  338. "type": "string",
  339. "description": "验证参数Bearer和token空格拼接",
  340. "name": "Authorization",
  341. "in": "header",
  342. "required": true
  343. }
  344. ],
  345. "responses": {
  346. "200": {
  347. "description": "具体数据",
  348. "schema": {
  349. "$ref": "#/definitions/md.AdvertisingResp"
  350. }
  351. },
  352. "400": {
  353. "description": "具体错误",
  354. "schema": {
  355. "$ref": "#/definitions/md.Response"
  356. }
  357. }
  358. }
  359. }
  360. },
  361. "/api/v1/advertising/detail": {
  362. "post": {
  363. "description": "广告位详情",
  364. "consumes": [
  365. "application/json"
  366. ],
  367. "produces": [
  368. "application/json"
  369. ],
  370. "tags": [
  371. "广告位详情"
  372. ],
  373. "summary": "广告位详情",
  374. "parameters": [
  375. {
  376. "type": "string",
  377. "description": "验证参数Bearer和token空格拼接",
  378. "name": "Authorization",
  379. "in": "header",
  380. "required": true
  381. },
  382. {
  383. "description": "注册参数",
  384. "name": "req",
  385. "in": "body",
  386. "required": true,
  387. "schema": {
  388. "$ref": "#/definitions/md.AdvertisingReq"
  389. }
  390. }
  391. ],
  392. "responses": {
  393. "200": {
  394. "description": "具体数据",
  395. "schema": {
  396. "$ref": "#/definitions/md.AdvertisingSpace"
  397. }
  398. },
  399. "400": {
  400. "description": "具体错误",
  401. "schema": {
  402. "$ref": "#/definitions/md.Response"
  403. }
  404. }
  405. }
  406. }
  407. },
  408. "/api/v1/comm/getOssUrl": {
  409. "get": {
  410. "description": "上传许可链接(获取)",
  411. "consumes": [
  412. "application/json"
  413. ],
  414. "produces": [
  415. "application/json"
  416. ],
  417. "tags": [
  418. "对象存储"
  419. ],
  420. "summary": "通用请求-对象存储-上传许可链接(获取)",
  421. "parameters": [
  422. {
  423. "type": "string",
  424. "description": "验证参数Bearer和token空格拼接",
  425. "name": "Authorization",
  426. "in": "header",
  427. "required": true
  428. }
  429. ],
  430. "responses": {
  431. "200": {
  432. "description": "许可链接",
  433. "schema": {
  434. "type": "string"
  435. }
  436. },
  437. "400": {
  438. "description": "具体错误",
  439. "schema": {
  440. "$ref": "#/definitions/md.Response"
  441. }
  442. }
  443. }
  444. }
  445. },
  446. "/api/v1/config": {
  447. "get": {
  448. "description": "基本配置",
  449. "consumes": [
  450. "application/json"
  451. ],
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "基本配置"
  457. ],
  458. "summary": "基本配置",
  459. "parameters": [
  460. {
  461. "type": "string",
  462. "description": "验证参数Bearer和token空格拼接",
  463. "name": "Authorization",
  464. "in": "header",
  465. "required": true
  466. }
  467. ],
  468. "responses": {
  469. "200": {
  470. "description": "具体数据",
  471. "schema": {
  472. "$ref": "#/definitions/md.ConfigResp"
  473. }
  474. },
  475. "400": {
  476. "description": "具体错误",
  477. "schema": {
  478. "$ref": "#/definitions/md.Response"
  479. }
  480. }
  481. }
  482. }
  483. },
  484. "/api/v1/fastLogin": {
  485. "post": {
  486. "description": "一键登录",
  487. "consumes": [
  488. "application/json"
  489. ],
  490. "produces": [
  491. "application/json"
  492. ],
  493. "tags": [
  494. "一键登录"
  495. ],
  496. "summary": "一键登录",
  497. "parameters": [
  498. {
  499. "description": "注册参数",
  500. "name": "req",
  501. "in": "body",
  502. "required": true,
  503. "schema": {
  504. "$ref": "#/definitions/md.FastLoginReq"
  505. }
  506. }
  507. ],
  508. "responses": {
  509. "200": {
  510. "description": "登录成功返回",
  511. "schema": {
  512. "$ref": "#/definitions/md.LoginResponse"
  513. }
  514. },
  515. "400": {
  516. "description": "具体错误",
  517. "schema": {
  518. "$ref": "#/definitions/md.Response"
  519. }
  520. }
  521. }
  522. }
  523. },
  524. "/api/v1/findPassword": {
  525. "post": {
  526. "description": "注册",
  527. "consumes": [
  528. "application/json"
  529. ],
  530. "produces": [
  531. "application/json"
  532. ],
  533. "tags": [
  534. "注册"
  535. ],
  536. "summary": "注册",
  537. "parameters": [
  538. {
  539. "description": "注册参数",
  540. "name": "req",
  541. "in": "body",
  542. "required": true,
  543. "schema": {
  544. "$ref": "#/definitions/md.FindPasswordReq"
  545. }
  546. }
  547. ],
  548. "responses": {
  549. "200": {
  550. "description": "登录成功返回",
  551. "schema": {
  552. "type": "string"
  553. }
  554. },
  555. "400": {
  556. "description": "具体错误",
  557. "schema": {
  558. "$ref": "#/definitions/md.Response"
  559. }
  560. }
  561. }
  562. }
  563. },
  564. "/api/v1/homePage/adRule": {
  565. "get": {
  566. "description": "视频奖励规则(获取)",
  567. "consumes": [
  568. "application/json"
  569. ],
  570. "produces": [
  571. "application/json"
  572. ],
  573. "tags": [
  574. "主页"
  575. ],
  576. "summary": "蛋蛋星球-主页-视频奖励规则(获取)",
  577. "parameters": [
  578. {
  579. "type": "string",
  580. "description": "验证参数Bearer和token空格拼接",
  581. "name": "Authorization",
  582. "in": "header",
  583. "required": true
  584. }
  585. ],
  586. "responses": {
  587. "200": {
  588. "description": "具体数据",
  589. "schema": {
  590. "$ref": "#/definitions/md.HomePageWatchAdRuleResp"
  591. }
  592. },
  593. "400": {
  594. "description": "具体错误",
  595. "schema": {
  596. "$ref": "#/definitions/md.Response"
  597. }
  598. }
  599. }
  600. }
  601. },
  602. "/api/v1/homePage/index": {
  603. "get": {
  604. "description": "基础信息(获取)",
  605. "consumes": [
  606. "application/json"
  607. ],
  608. "produces": [
  609. "application/json"
  610. ],
  611. "tags": [
  612. "主页"
  613. ],
  614. "summary": "蛋蛋星球-主页-基础信息(获取)",
  615. "parameters": [
  616. {
  617. "type": "string",
  618. "description": "验证参数Bearer和token空格拼接",
  619. "name": "Authorization",
  620. "in": "header",
  621. "required": true
  622. }
  623. ],
  624. "responses": {
  625. "200": {
  626. "description": "具体数据",
  627. "schema": {
  628. "$ref": "#/definitions/md.HomePageResp"
  629. }
  630. },
  631. "400": {
  632. "description": "具体错误",
  633. "schema": {
  634. "$ref": "#/definitions/md.Response"
  635. }
  636. }
  637. }
  638. }
  639. },
  640. "/api/v1/homePage/isCanGetRedPackage": {
  641. "get": {
  642. "description": "是否可以领取红包(获取)",
  643. "consumes": [
  644. "application/json"
  645. ],
  646. "produces": [
  647. "application/json"
  648. ],
  649. "tags": [
  650. "主页"
  651. ],
  652. "summary": "蛋蛋星球-主页-是否领取红包(获取)",
  653. "parameters": [
  654. {
  655. "type": "string",
  656. "description": "验证参数Bearer和token空格拼接",
  657. "name": "Authorization",
  658. "in": "header",
  659. "required": true
  660. }
  661. ],
  662. "responses": {
  663. "200": {
  664. "description": "具体数据",
  665. "schema": {
  666. "$ref": "#/definitions/md.IsCanGetRedPackageResp"
  667. }
  668. },
  669. "400": {
  670. "description": "具体错误",
  671. "schema": {
  672. "$ref": "#/definitions/md.Response"
  673. }
  674. }
  675. }
  676. }
  677. },
  678. "/api/v1/homePage/isCanSignIn": {
  679. "get": {
  680. "description": "是否可以签到(获取)",
  681. "consumes": [
  682. "application/json"
  683. ],
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "主页"
  689. ],
  690. "summary": "蛋蛋星球-主页-是否能签到(获取)",
  691. "parameters": [
  692. {
  693. "type": "string",
  694. "description": "验证参数Bearer和token空格拼接",
  695. "name": "Authorization",
  696. "in": "header",
  697. "required": true
  698. }
  699. ],
  700. "responses": {
  701. "200": {
  702. "description": "具体数据",
  703. "schema": {
  704. "$ref": "#/definitions/md.IsCanSignInResp"
  705. }
  706. },
  707. "400": {
  708. "description": "具体错误",
  709. "schema": {
  710. "$ref": "#/definitions/md.Response"
  711. }
  712. }
  713. }
  714. }
  715. },
  716. "/api/v1/homePage/realTimePrice": {
  717. "get": {
  718. "description": "实时数据(获取)",
  719. "consumes": [
  720. "application/json"
  721. ],
  722. "produces": [
  723. "application/json"
  724. ],
  725. "tags": [
  726. "主页"
  727. ],
  728. "summary": "蛋蛋星球-主页-实时数据(获取)",
  729. "parameters": [
  730. {
  731. "type": "string",
  732. "description": "验证参数Bearer和token空格拼接",
  733. "name": "Authorization",
  734. "in": "header",
  735. "required": true
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "具体数据",
  741. "schema": {
  742. "$ref": "#/definitions/md.RealTimePriceResp"
  743. }
  744. },
  745. "400": {
  746. "description": "具体错误",
  747. "schema": {
  748. "$ref": "#/definitions/md.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/api/v1/login": {
  755. "post": {
  756. "description": "登入",
  757. "consumes": [
  758. "application/json"
  759. ],
  760. "produces": [
  761. "application/json"
  762. ],
  763. "tags": [
  764. "登录"
  765. ],
  766. "summary": "登陆",
  767. "parameters": [
  768. {
  769. "description": "用户名密码",
  770. "name": "req",
  771. "in": "body",
  772. "required": true,
  773. "schema": {
  774. "$ref": "#/definitions/md.LoginReq"
  775. }
  776. }
  777. ],
  778. "responses": {
  779. "200": {
  780. "description": "token",
  781. "schema": {
  782. "$ref": "#/definitions/md.LoginResponse"
  783. }
  784. },
  785. "400": {
  786. "description": "具体错误",
  787. "schema": {
  788. "$ref": "#/definitions/md.Response"
  789. }
  790. }
  791. }
  792. }
  793. },
  794. "/api/v1/memberCenter/getBasic": {
  795. "get": {
  796. "description": "基础数据(获取)",
  797. "consumes": [
  798. "application/json"
  799. ],
  800. "produces": [
  801. "application/json"
  802. ],
  803. "tags": [
  804. "会员中心"
  805. ],
  806. "summary": "蛋蛋星球-会员中心-基础数据(获取)",
  807. "parameters": [
  808. {
  809. "type": "string",
  810. "description": "验证参数Bearer和token空格拼接",
  811. "name": "Authorization",
  812. "in": "header",
  813. "required": true
  814. }
  815. ],
  816. "responses": {
  817. "200": {
  818. "description": "具体数据",
  819. "schema": {
  820. "$ref": "#/definitions/md.MemberCenterGetBasicResp"
  821. }
  822. },
  823. "400": {
  824. "description": "具体错误",
  825. "schema": {
  826. "$ref": "#/definitions/md.Response"
  827. }
  828. }
  829. }
  830. }
  831. },
  832. "/api/v1/pointsCenter/basic": {
  833. "get": {
  834. "description": "上部分基础信息(获取)",
  835. "consumes": [
  836. "application/json"
  837. ],
  838. "produces": [
  839. "application/json"
  840. ],
  841. "tags": [
  842. "积分中心"
  843. ],
  844. "summary": "蛋蛋星球-积分中心-上部分基础信息(获取)",
  845. "parameters": [
  846. {
  847. "type": "string",
  848. "description": "验证参数Bearer和token空格拼接",
  849. "name": "Authorization",
  850. "in": "header",
  851. "required": true
  852. }
  853. ],
  854. "responses": {
  855. "200": {
  856. "description": "具体数据",
  857. "schema": {
  858. "$ref": "#/definitions/md.PointsCenterGetBasicResp"
  859. }
  860. },
  861. "400": {
  862. "description": "具体错误",
  863. "schema": {
  864. "$ref": "#/definitions/md.Response"
  865. }
  866. }
  867. }
  868. }
  869. },
  870. "/api/v1/pointsCenter/contributionValue": {
  871. "get": {
  872. "description": "贡献值(获取)",
  873. "consumes": [
  874. "application/json"
  875. ],
  876. "produces": [
  877. "application/json"
  878. ],
  879. "tags": [
  880. "积分中心"
  881. ],
  882. "summary": "蛋蛋星球-积分中心-贡献值(获取)",
  883. "parameters": [
  884. {
  885. "type": "string",
  886. "description": "验证参数Bearer和token空格拼接",
  887. "name": "Authorization",
  888. "in": "header",
  889. "required": true
  890. }
  891. ],
  892. "responses": {
  893. "200": {
  894. "description": "具体数据",
  895. "schema": {
  896. "$ref": "#/definitions/md.GetContributionValueResp"
  897. }
  898. },
  899. "400": {
  900. "description": "具体错误",
  901. "schema": {
  902. "$ref": "#/definitions/md.Response"
  903. }
  904. }
  905. }
  906. }
  907. },
  908. "/api/v1/pointsCenter/contributionValueFlow": {
  909. "get": {
  910. "description": "贡献值明细(获取)",
  911. "consumes": [
  912. "application/json"
  913. ],
  914. "produces": [
  915. "application/json"
  916. ],
  917. "tags": [
  918. "积分中心"
  919. ],
  920. "summary": "蛋蛋星球-积分中心-贡献值明细(获取)",
  921. "parameters": [
  922. {
  923. "type": "string",
  924. "description": "验证参数Bearer和token空格拼接",
  925. "name": "Authorization",
  926. "in": "header",
  927. "required": true
  928. },
  929. {
  930. "type": "string",
  931. "description": "每页大小",
  932. "name": "limit",
  933. "in": "query",
  934. "required": true
  935. },
  936. {
  937. "type": "string",
  938. "description": "页数",
  939. "name": "page",
  940. "in": "query",
  941. "required": true
  942. }
  943. ],
  944. "responses": {
  945. "200": {
  946. "description": "具体数据",
  947. "schema": {
  948. "$ref": "#/definitions/md.GetContributionValueFlowResp"
  949. }
  950. },
  951. "400": {
  952. "description": "具体错误",
  953. "schema": {
  954. "$ref": "#/definitions/md.Response"
  955. }
  956. }
  957. }
  958. }
  959. },
  960. "/api/v1/pointsCenter/dynamicData": {
  961. "get": {
  962. "description": "动态数据(获取)",
  963. "consumes": [
  964. "application/json"
  965. ],
  966. "produces": [
  967. "application/json"
  968. ],
  969. "tags": [
  970. "积分中心"
  971. ],
  972. "summary": "蛋蛋星球-积分中心-动态数据(获取)",
  973. "parameters": [
  974. {
  975. "type": "string",
  976. "description": "验证参数Bearer和token空格拼接",
  977. "name": "Authorization",
  978. "in": "header",
  979. "required": true
  980. }
  981. ],
  982. "responses": {
  983. "200": {
  984. "description": "具体数据",
  985. "schema": {
  986. "$ref": "#/definitions/md.DynamicDataResp"
  987. }
  988. },
  989. "400": {
  990. "description": "具体错误",
  991. "schema": {
  992. "$ref": "#/definitions/md.Response"
  993. }
  994. }
  995. }
  996. }
  997. },
  998. "/api/v1/pointsCenter/energyFlow": {
  999. "get": {
  1000. "description": "收支明细(获取)",
  1001. "consumes": [
  1002. "application/json"
  1003. ],
  1004. "produces": [
  1005. "application/json"
  1006. ],
  1007. "tags": [
  1008. "积分中心"
  1009. ],
  1010. "summary": "蛋蛋星球-积分中心-收支明细(获取)",
  1011. "parameters": [
  1012. {
  1013. "type": "string",
  1014. "description": "验证参数Bearer和token空格拼接",
  1015. "name": "Authorization",
  1016. "in": "header",
  1017. "required": true
  1018. },
  1019. {
  1020. "type": "string",
  1021. "description": "每页大小",
  1022. "name": "limit",
  1023. "in": "query",
  1024. "required": true
  1025. },
  1026. {
  1027. "type": "string",
  1028. "description": "页数",
  1029. "name": "page",
  1030. "in": "query",
  1031. "required": true
  1032. },
  1033. {
  1034. "type": "string",
  1035. "description": "开始时间",
  1036. "name": "startAt",
  1037. "in": "query"
  1038. },
  1039. {
  1040. "type": "string",
  1041. "description": "结束时间",
  1042. "name": "endAt",
  1043. "in": "query"
  1044. },
  1045. {
  1046. "type": "string",
  1047. "description": "流水方向(1.收入 2.支出 0.全部)",
  1048. "name": "direction",
  1049. "in": "query"
  1050. }
  1051. ],
  1052. "responses": {
  1053. "200": {
  1054. "description": "具体数据",
  1055. "schema": {
  1056. "$ref": "#/definitions/md.GetEggEnergyFlowResp"
  1057. }
  1058. },
  1059. "400": {
  1060. "description": "具体错误",
  1061. "schema": {
  1062. "$ref": "#/definitions/md.Response"
  1063. }
  1064. }
  1065. }
  1066. }
  1067. },
  1068. "/api/v1/pointsCenter/exchangeEnergy": {
  1069. "post": {
  1070. "description": "能量兑换",
  1071. "consumes": [
  1072. "application/json"
  1073. ],
  1074. "produces": [
  1075. "application/json"
  1076. ],
  1077. "tags": [
  1078. "积分中心"
  1079. ],
  1080. "summary": "蛋蛋星球-积分中心-能量兑换",
  1081. "parameters": [
  1082. {
  1083. "type": "string",
  1084. "description": "验证参数Bearer和token空格拼接",
  1085. "name": "Authorization",
  1086. "in": "header",
  1087. "required": true
  1088. },
  1089. {
  1090. "description": "需要兑换的能量值",
  1091. "name": "req",
  1092. "in": "body",
  1093. "required": true,
  1094. "schema": {
  1095. "$ref": "#/definitions/md.ExchangeEnergyReq"
  1096. }
  1097. }
  1098. ],
  1099. "responses": {
  1100. "200": {
  1101. "description": "success",
  1102. "schema": {
  1103. "type": "string"
  1104. }
  1105. },
  1106. "400": {
  1107. "description": "具体错误",
  1108. "schema": {
  1109. "$ref": "#/definitions/md.Response"
  1110. }
  1111. }
  1112. }
  1113. }
  1114. },
  1115. "/api/v1/pointsCenter/initialData": {
  1116. "get": {
  1117. "description": "初始数据(获取)",
  1118. "consumes": [
  1119. "application/json"
  1120. ],
  1121. "produces": [
  1122. "application/json"
  1123. ],
  1124. "tags": [
  1125. "积分中心"
  1126. ],
  1127. "summary": "蛋蛋星球-积分中心-初始数据(获取)",
  1128. "parameters": [
  1129. {
  1130. "type": "string",
  1131. "description": "验证参数Bearer和token空格拼接",
  1132. "name": "Authorization",
  1133. "in": "header",
  1134. "required": true
  1135. }
  1136. ],
  1137. "responses": {
  1138. "200": {
  1139. "description": "具体数据",
  1140. "schema": {
  1141. "$ref": "#/definitions/md.InitialDataResp"
  1142. }
  1143. },
  1144. "400": {
  1145. "description": "具体错误",
  1146. "schema": {
  1147. "$ref": "#/definitions/md.Response"
  1148. }
  1149. }
  1150. }
  1151. }
  1152. },
  1153. "/api/v1/pointsCenter/pointsExchangeBasic": {
  1154. "get": {
  1155. "description": "积分兑换基础信息(获取)",
  1156. "consumes": [
  1157. "application/json"
  1158. ],
  1159. "produces": [
  1160. "application/json"
  1161. ],
  1162. "tags": [
  1163. "积分中心"
  1164. ],
  1165. "summary": "蛋蛋星球-积分中心-积分兑换基础信息(获取)",
  1166. "parameters": [
  1167. {
  1168. "type": "string",
  1169. "description": "验证参数Bearer和token空格拼接",
  1170. "name": "Authorization",
  1171. "in": "header",
  1172. "required": true
  1173. }
  1174. ],
  1175. "responses": {
  1176. "200": {
  1177. "description": "具体数据",
  1178. "schema": {
  1179. "$ref": "#/definitions/md.PointsExchangeGetBasicResp"
  1180. }
  1181. },
  1182. "400": {
  1183. "description": "具体错误",
  1184. "schema": {
  1185. "$ref": "#/definitions/md.Response"
  1186. }
  1187. }
  1188. }
  1189. }
  1190. },
  1191. "/api/v1/pointsCenter/priceCurve": {
  1192. "get": {
  1193. "description": "价格趋势(获取)",
  1194. "consumes": [
  1195. "application/json"
  1196. ],
  1197. "produces": [
  1198. "application/json"
  1199. ],
  1200. "tags": [
  1201. "积分中心"
  1202. ],
  1203. "summary": "蛋蛋星球-积分中心-价格趋势(获取)",
  1204. "parameters": [
  1205. {
  1206. "type": "string",
  1207. "description": "验证参数Bearer和token空格拼接",
  1208. "name": "Authorization",
  1209. "in": "header",
  1210. "required": true
  1211. },
  1212. {
  1213. "type": "string",
  1214. "description": "1:按天 2:按小时 3:按周",
  1215. "name": "kind",
  1216. "in": "query"
  1217. }
  1218. ],
  1219. "responses": {
  1220. "200": {
  1221. "description": "具体数据",
  1222. "schema": {
  1223. "$ref": "#/definitions/md.GetPriceCurveResp"
  1224. }
  1225. },
  1226. "400": {
  1227. "description": "具体错误",
  1228. "schema": {
  1229. "$ref": "#/definitions/md.Response"
  1230. }
  1231. }
  1232. }
  1233. }
  1234. },
  1235. "/api/v1/pointsCenter/record": {
  1236. "get": {
  1237. "description": "蛋蛋分明细(获取)",
  1238. "consumes": [
  1239. "application/json"
  1240. ],
  1241. "produces": [
  1242. "application/json"
  1243. ],
  1244. "tags": [
  1245. "积分中心"
  1246. ],
  1247. "summary": "蛋蛋星球-积分中心-蛋蛋分明细(获取)",
  1248. "parameters": [
  1249. {
  1250. "type": "string",
  1251. "description": "验证参数Bearer和token空格拼接",
  1252. "name": "Authorization",
  1253. "in": "header",
  1254. "required": true
  1255. },
  1256. {
  1257. "type": "string",
  1258. "description": "每页大小",
  1259. "name": "limit",
  1260. "in": "query",
  1261. "required": true
  1262. },
  1263. {
  1264. "type": "string",
  1265. "description": "页数",
  1266. "name": "page",
  1267. "in": "query",
  1268. "required": true
  1269. }
  1270. ],
  1271. "responses": {
  1272. "200": {
  1273. "description": "具体数据",
  1274. "schema": {
  1275. "$ref": "#/definitions/md.GetEggPointRecordResp"
  1276. }
  1277. },
  1278. "400": {
  1279. "description": "具体错误",
  1280. "schema": {
  1281. "$ref": "#/definitions/md.Response"
  1282. }
  1283. }
  1284. }
  1285. }
  1286. },
  1287. "/api/v1/register": {
  1288. "post": {
  1289. "description": "注册",
  1290. "consumes": [
  1291. "application/json"
  1292. ],
  1293. "produces": [
  1294. "application/json"
  1295. ],
  1296. "tags": [
  1297. "注册"
  1298. ],
  1299. "summary": "注册",
  1300. "parameters": [
  1301. {
  1302. "description": "注册参数",
  1303. "name": "req",
  1304. "in": "body",
  1305. "required": true,
  1306. "schema": {
  1307. "$ref": "#/definitions/md.RegisterReq"
  1308. }
  1309. }
  1310. ],
  1311. "responses": {
  1312. "200": {
  1313. "description": "登录成功返回",
  1314. "schema": {
  1315. "$ref": "#/definitions/md.LoginResponse"
  1316. }
  1317. },
  1318. "400": {
  1319. "description": "具体错误",
  1320. "schema": {
  1321. "$ref": "#/definitions/md.Response"
  1322. }
  1323. }
  1324. }
  1325. }
  1326. },
  1327. "/api/v1/smsSend": {
  1328. "post": {
  1329. "description": "发送短信",
  1330. "consumes": [
  1331. "application/json"
  1332. ],
  1333. "produces": [
  1334. "application/json"
  1335. ],
  1336. "tags": [
  1337. "发送短信"
  1338. ],
  1339. "summary": "发送短信",
  1340. "parameters": [
  1341. {
  1342. "description": "注册参数",
  1343. "name": "req",
  1344. "in": "body",
  1345. "required": true,
  1346. "schema": {
  1347. "$ref": "#/definitions/md.SmsSendReq"
  1348. }
  1349. }
  1350. ],
  1351. "responses": {
  1352. "200": {
  1353. "description": "成功返回",
  1354. "schema": {
  1355. "type": "string"
  1356. }
  1357. },
  1358. "400": {
  1359. "description": "具体错误",
  1360. "schema": {
  1361. "$ref": "#/definitions/md.Response"
  1362. }
  1363. }
  1364. }
  1365. }
  1366. },
  1367. "/api/v1/test": {
  1368. "get": {
  1369. "description": "Demo样例测试",
  1370. "consumes": [
  1371. "application/json"
  1372. ],
  1373. "produces": [
  1374. "application/json"
  1375. ],
  1376. "tags": [
  1377. "Demo"
  1378. ],
  1379. "summary": "Demo测试",
  1380. "parameters": [
  1381. {
  1382. "description": "任意参数",
  1383. "name": "req",
  1384. "in": "body",
  1385. "required": true,
  1386. "schema": {}
  1387. }
  1388. ],
  1389. "responses": {
  1390. "200": {
  1391. "description": "返回任意参数",
  1392. "schema": {
  1393. "type": "object",
  1394. "additionalProperties": true
  1395. }
  1396. },
  1397. "400": {
  1398. "description": "具体错误",
  1399. "schema": {
  1400. "$ref": "#/definitions/md.Response"
  1401. }
  1402. }
  1403. }
  1404. }
  1405. },
  1406. "/api/v1/userInfo": {
  1407. "get": {
  1408. "description": "用户信息",
  1409. "consumes": [
  1410. "application/json"
  1411. ],
  1412. "produces": [
  1413. "application/json"
  1414. ],
  1415. "tags": [
  1416. "用户信息"
  1417. ],
  1418. "summary": "用户信息",
  1419. "parameters": [
  1420. {
  1421. "type": "string",
  1422. "description": "验证参数Bearer和token空格拼接",
  1423. "name": "Authorization",
  1424. "in": "header",
  1425. "required": true
  1426. }
  1427. ],
  1428. "responses": {
  1429. "200": {
  1430. "description": "具体数据",
  1431. "schema": {
  1432. "$ref": "#/definitions/md.UserInfoResp"
  1433. }
  1434. },
  1435. "400": {
  1436. "description": "具体错误",
  1437. "schema": {
  1438. "$ref": "#/definitions/md.Response"
  1439. }
  1440. }
  1441. }
  1442. }
  1443. },
  1444. "/api/v1/wallet/amountFlow": {
  1445. "get": {
  1446. "description": "余额明细(获取)",
  1447. "consumes": [
  1448. "application/json"
  1449. ],
  1450. "produces": [
  1451. "application/json"
  1452. ],
  1453. "tags": [
  1454. "钱包"
  1455. ],
  1456. "summary": "蛋蛋星球-钱包-余额明细(获取)",
  1457. "parameters": [
  1458. {
  1459. "type": "string",
  1460. "description": "验证参数Bearer和token空格拼接",
  1461. "name": "Authorization",
  1462. "in": "header",
  1463. "required": true
  1464. },
  1465. {
  1466. "type": "string",
  1467. "description": "每页大小",
  1468. "name": "limit",
  1469. "in": "query",
  1470. "required": true
  1471. },
  1472. {
  1473. "type": "string",
  1474. "description": "页数",
  1475. "name": "page",
  1476. "in": "query",
  1477. "required": true
  1478. },
  1479. {
  1480. "type": "string",
  1481. "description": "开始时间",
  1482. "name": "startAt",
  1483. "in": "query"
  1484. },
  1485. {
  1486. "type": "string",
  1487. "description": "结束时间",
  1488. "name": "endAt",
  1489. "in": "query"
  1490. },
  1491. {
  1492. "type": "string",
  1493. "description": "流水方向(1.收入 2.支出 0.全部)",
  1494. "name": "direction",
  1495. "in": "query"
  1496. }
  1497. ],
  1498. "responses": {
  1499. "200": {
  1500. "description": "具体数据",
  1501. "schema": {
  1502. "$ref": "#/definitions/md.GetAmountFlowResp"
  1503. }
  1504. },
  1505. "400": {
  1506. "description": "具体错误",
  1507. "schema": {
  1508. "$ref": "#/definitions/md.Response"
  1509. }
  1510. }
  1511. }
  1512. }
  1513. },
  1514. "/api/v1/wechatLogin": {
  1515. "post": {
  1516. "description": "微信登陆",
  1517. "consumes": [
  1518. "application/json"
  1519. ],
  1520. "produces": [
  1521. "application/json"
  1522. ],
  1523. "tags": [
  1524. "微信登陆"
  1525. ],
  1526. "summary": "微信登陆",
  1527. "parameters": [
  1528. {
  1529. "description": "注册参数",
  1530. "name": "req",
  1531. "in": "body",
  1532. "required": true,
  1533. "schema": {
  1534. "$ref": "#/definitions/md.WechatLoginReq"
  1535. }
  1536. }
  1537. ],
  1538. "responses": {
  1539. "200": {
  1540. "description": "登录成功返回",
  1541. "schema": {
  1542. "$ref": "#/definitions/md.LoginResponse"
  1543. }
  1544. },
  1545. "400": {
  1546. "description": "具体错误",
  1547. "schema": {
  1548. "$ref": "#/definitions/md.Response"
  1549. }
  1550. }
  1551. }
  1552. }
  1553. }
  1554. },
  1555. "definitions": {
  1556. "applet_app_md.Paginate": {
  1557. "type": "object",
  1558. "properties": {
  1559. "limit": {
  1560. "description": "每页大小",
  1561. "type": "integer"
  1562. },
  1563. "page": {
  1564. "description": "页数",
  1565. "type": "integer"
  1566. },
  1567. "total": {
  1568. "description": "总数据量",
  1569. "type": "integer"
  1570. }
  1571. }
  1572. },
  1573. "md.AdvertisingBasic": {
  1574. "type": "object",
  1575. "properties": {
  1576. "android_ad_is_open": {
  1577. "type": "string",
  1578. "example": "安卓广告是否开启(1:开启 0:不开启)"
  1579. },
  1580. "android_open_ad_is_open": {
  1581. "type": "string",
  1582. "example": "安卓开屏广告是否开启(1:开启 0:不开启)"
  1583. },
  1584. "info": {
  1585. "type": "object",
  1586. "additionalProperties": true
  1587. },
  1588. "ios_ad_is_open": {
  1589. "type": "string",
  1590. "example": "ios广告是否开启(1:开启 0:不开启)"
  1591. },
  1592. "ios_open_ad_is_open": {
  1593. "type": "string",
  1594. "example": "ios开屏广告是否开启(1:开启 0:不开启)"
  1595. },
  1596. "voice": {
  1597. "type": "string",
  1598. "example": "领取声音"
  1599. }
  1600. }
  1601. },
  1602. "md.AdvertisingFunction": {
  1603. "type": "object",
  1604. "properties": {
  1605. "ad_id": {
  1606. "type": "string",
  1607. "example": "广告id"
  1608. },
  1609. "name": {
  1610. "type": "string",
  1611. "example": "名称"
  1612. },
  1613. "type": {
  1614. "type": "string",
  1615. "example": "位置"
  1616. }
  1617. }
  1618. },
  1619. "md.AdvertisingLimit": {
  1620. "type": "object",
  1621. "properties": {
  1622. "public_img": {
  1623. "type": "string",
  1624. "example": "公共弹窗图"
  1625. },
  1626. "public_str": {
  1627. "type": "string",
  1628. "example": "公共弹窗文字"
  1629. },
  1630. "withdraw_img": {
  1631. "type": "string",
  1632. "example": "提现弹窗图"
  1633. },
  1634. "withdraw_str": {
  1635. "type": "string",
  1636. "example": "提现弹窗文字"
  1637. }
  1638. }
  1639. },
  1640. "md.AdvertisingReq": {
  1641. "type": "object",
  1642. "properties": {
  1643. "id": {
  1644. "type": "string"
  1645. }
  1646. }
  1647. },
  1648. "md.AdvertisingResp": {
  1649. "type": "object",
  1650. "properties": {
  1651. "basic": {
  1652. "$ref": "#/definitions/md.AdvertisingBasic"
  1653. },
  1654. "function": {
  1655. "type": "array",
  1656. "items": {
  1657. "$ref": "#/definitions/md.AdvertisingFunction"
  1658. }
  1659. },
  1660. "pop": {
  1661. "$ref": "#/definitions/md.AdvertisingLimit"
  1662. },
  1663. "space": {
  1664. "type": "array",
  1665. "items": {
  1666. "$ref": "#/definitions/md.AdvertisingSpace"
  1667. }
  1668. }
  1669. }
  1670. },
  1671. "md.AdvertisingSpace": {
  1672. "type": "object",
  1673. "properties": {
  1674. "counting_down": {
  1675. "type": "string",
  1676. "example": "倒计时 x秒"
  1677. },
  1678. "id": {
  1679. "type": "string",
  1680. "example": "id"
  1681. },
  1682. "info": {
  1683. "type": "object",
  1684. "additionalProperties": true
  1685. },
  1686. "kind": {
  1687. "type": "string",
  1688. "example": "广告类型(1:开屏广告 2:插屏广告 3:激励视频 4:信息流广告)"
  1689. },
  1690. "name": {
  1691. "type": "string",
  1692. "example": "名称"
  1693. }
  1694. }
  1695. },
  1696. "md.BasalRateResp": {
  1697. "type": "object",
  1698. "properties": {
  1699. "basal_rate": {
  1700. "description": "基础速率",
  1701. "type": "string"
  1702. },
  1703. "consumed_egg_energy": {
  1704. "description": "收益蛋蛋能量",
  1705. "type": "string"
  1706. },
  1707. "consumed_egg_point": {
  1708. "description": "消耗蛋蛋积分",
  1709. "type": "string"
  1710. },
  1711. "consumed_time": {
  1712. "description": "消耗时间/小时",
  1713. "type": "string"
  1714. },
  1715. "estimated_revenue": {
  1716. "description": "预估收益蛋蛋能量",
  1717. "type": "string"
  1718. },
  1719. "remaining_egg_energy": {
  1720. "description": "剩余蛋蛋能量",
  1721. "type": "string"
  1722. },
  1723. "remaining_time": {
  1724. "description": "剩余时间/小时",
  1725. "type": "string"
  1726. },
  1727. "sign_countdown": {
  1728. "description": "收益倒计时",
  1729. "type": "string"
  1730. }
  1731. }
  1732. },
  1733. "md.ConfigResp": {
  1734. "type": "object",
  1735. "properties": {
  1736. "content": {
  1737. "type": "string",
  1738. "example": "软件使用协议内容"
  1739. },
  1740. "privacy_title": {
  1741. "type": "string",
  1742. "example": "隐私协议标题"
  1743. },
  1744. "privacy_url": {
  1745. "type": "string",
  1746. "example": "隐私协议链接"
  1747. },
  1748. "title": {
  1749. "type": "string",
  1750. "example": "软件使用协议标题"
  1751. },
  1752. "user_title": {
  1753. "type": "string",
  1754. "example": "用户协议标题"
  1755. },
  1756. "user_url": {
  1757. "type": "string",
  1758. "example": "用户协议链接"
  1759. }
  1760. }
  1761. },
  1762. "md.ContributionValueFlowNode": {
  1763. "type": "object",
  1764. "properties": {
  1765. "amount": {
  1766. "description": "变更数量",
  1767. "type": "string"
  1768. },
  1769. "create_at": {
  1770. "description": "完成时间",
  1771. "type": "string"
  1772. },
  1773. "direction": {
  1774. "description": "方向: 1.收入 2.支出",
  1775. "type": "string"
  1776. },
  1777. "title": {
  1778. "description": "标题",
  1779. "type": "string"
  1780. }
  1781. }
  1782. },
  1783. "md.DynamicDataResp": {
  1784. "type": "object",
  1785. "properties": {
  1786. "development_committee": {
  1787. "description": "发展委员会",
  1788. "type": "string"
  1789. },
  1790. "public_welfare_and_charity": {
  1791. "description": "公益基金",
  1792. "type": "string"
  1793. },
  1794. "star_level_dividends": {
  1795. "description": "星级分红",
  1796. "type": "string"
  1797. },
  1798. "user_total_hold": {
  1799. "description": "用户持有总量",
  1800. "type": "string"
  1801. }
  1802. }
  1803. },
  1804. "md.EggEnergyDetailReq": {
  1805. "type": "object",
  1806. "properties": {
  1807. "asc": {
  1808. "description": "1.升序 2.倒序",
  1809. "type": "string"
  1810. },
  1811. "direction": {
  1812. "description": "类型 1.收入 2.支出 全部则传空",
  1813. "type": "string"
  1814. },
  1815. "kind": {
  1816. "description": "类型:1. 个人蛋蛋能量 2.团队蛋蛋能量",
  1817. "type": "string"
  1818. },
  1819. "limit": {
  1820. "description": "每页大小",
  1821. "type": "integer"
  1822. },
  1823. "page": {
  1824. "description": "页数",
  1825. "type": "integer"
  1826. },
  1827. "type": {
  1828. "description": "变动类型 全部则传空",
  1829. "type": "string"
  1830. }
  1831. }
  1832. },
  1833. "md.EggEnergyDetailResp": {
  1834. "type": "object",
  1835. "properties": {
  1836. "list": {
  1837. "description": "流水数据",
  1838. "type": "array",
  1839. "items": {
  1840. "type": "object",
  1841. "additionalProperties": {
  1842. "type": "string"
  1843. }
  1844. }
  1845. },
  1846. "paginate": {
  1847. "description": "分页信息",
  1848. "allOf": [
  1849. {
  1850. "$ref": "#/definitions/applet_app_md.Paginate"
  1851. }
  1852. ]
  1853. },
  1854. "person_egg_energy": {
  1855. "description": "个人蛋蛋能量",
  1856. "type": "string"
  1857. },
  1858. "team_egg_energy": {
  1859. "description": "团队蛋蛋能量",
  1860. "type": "string"
  1861. },
  1862. "total_egg_energy": {
  1863. "description": "总蛋蛋能量",
  1864. "type": "string"
  1865. },
  1866. "total_egg_energy_price": {
  1867. "description": "蛋蛋能量总价",
  1868. "type": "string"
  1869. },
  1870. "transfer_type_list": {
  1871. "description": "转账类型列表",
  1872. "allOf": [
  1873. {
  1874. "$ref": "#/definitions/md.TransferTypeList"
  1875. }
  1876. ]
  1877. }
  1878. }
  1879. },
  1880. "md.EggEnergyFlowNode": {
  1881. "type": "object",
  1882. "properties": {
  1883. "after_amount": {
  1884. "description": "变更后数量",
  1885. "type": "string"
  1886. },
  1887. "amount": {
  1888. "description": "变更数量",
  1889. "type": "string"
  1890. },
  1891. "before_amount": {
  1892. "description": "变更前数量",
  1893. "type": "string"
  1894. },
  1895. "coin_name": {
  1896. "description": "虚拟币名称",
  1897. "type": "string"
  1898. },
  1899. "create_at": {
  1900. "description": "创建时间",
  1901. "type": "string"
  1902. },
  1903. "direction": {
  1904. "description": "方向:1.收入 2.支出",
  1905. "type": "integer"
  1906. },
  1907. "id": {
  1908. "type": "integer"
  1909. },
  1910. "sys_fee": {
  1911. "description": "手续费",
  1912. "type": "string"
  1913. },
  1914. "title": {
  1915. "description": "标题",
  1916. "type": "string"
  1917. },
  1918. "transfer_type": {
  1919. "description": "转账类型",
  1920. "type": "string"
  1921. }
  1922. }
  1923. },
  1924. "md.EggPointDetailsReq": {
  1925. "type": "object",
  1926. "properties": {
  1927. "asc": {
  1928. "description": "1.升序 2.倒序",
  1929. "type": "string"
  1930. },
  1931. "direction": {
  1932. "description": "类型 1.收入 2.支出 全部则传空",
  1933. "type": "string"
  1934. },
  1935. "kind": {
  1936. "description": "类型:1. 个人蛋蛋积分 2.团队蛋蛋积分",
  1937. "type": "string"
  1938. },
  1939. "limit": {
  1940. "description": "每页大小",
  1941. "type": "integer"
  1942. },
  1943. "page": {
  1944. "description": "页数",
  1945. "type": "integer"
  1946. },
  1947. "type": {
  1948. "description": "变动类型 全部则传空",
  1949. "type": "string"
  1950. }
  1951. }
  1952. },
  1953. "md.EggPointDetailsResp": {
  1954. "type": "object",
  1955. "properties": {
  1956. "list": {
  1957. "description": "流水数据",
  1958. "type": "array",
  1959. "items": {
  1960. "type": "object",
  1961. "additionalProperties": {
  1962. "type": "string"
  1963. }
  1964. }
  1965. },
  1966. "paginate": {
  1967. "description": "分页信息",
  1968. "allOf": [
  1969. {
  1970. "$ref": "#/definitions/applet_app_md.Paginate"
  1971. }
  1972. ]
  1973. },
  1974. "person_egg_points": {
  1975. "description": "个人蛋蛋积分",
  1976. "type": "string"
  1977. },
  1978. "team_egg_points": {
  1979. "description": "团队蛋蛋积分",
  1980. "type": "string"
  1981. },
  1982. "total_egg_points": {
  1983. "description": "总蛋蛋积分",
  1984. "type": "string"
  1985. },
  1986. "total_egg_points_amount": {
  1987. "description": "蛋蛋积分余额",
  1988. "type": "string"
  1989. },
  1990. "transfer_type_list": {
  1991. "description": "转账类型列表",
  1992. "allOf": [
  1993. {
  1994. "$ref": "#/definitions/md.TransferTypeList"
  1995. }
  1996. ]
  1997. }
  1998. }
  1999. },
  2000. "md.EggPointRecordNode": {
  2001. "type": "object",
  2002. "properties": {
  2003. "end_at": {
  2004. "description": "结束时间",
  2005. "type": "string"
  2006. },
  2007. "score": {
  2008. "description": "分数",
  2009. "type": "string"
  2010. },
  2011. "start_at": {
  2012. "description": "开始时间",
  2013. "type": "string"
  2014. },
  2015. "week": {
  2016. "description": "周数",
  2017. "type": "string"
  2018. },
  2019. "year": {
  2020. "description": "年份",
  2021. "type": "string"
  2022. }
  2023. }
  2024. },
  2025. "md.ExchangeEnergyReq": {
  2026. "type": "object",
  2027. "properties": {
  2028. "energy_amount": {
  2029. "description": "兑换能量数值",
  2030. "type": "string"
  2031. }
  2032. }
  2033. },
  2034. "md.FastLoginReq": {
  2035. "type": "object",
  2036. "properties": {
  2037. "invite_code": {
  2038. "type": "string",
  2039. "example": "邀请码"
  2040. },
  2041. "token": {
  2042. "type": "string",
  2043. "example": "一键登录的token"
  2044. }
  2045. }
  2046. },
  2047. "md.FindPasswordReq": {
  2048. "type": "object",
  2049. "required": [
  2050. "mobile"
  2051. ],
  2052. "properties": {
  2053. "code": {
  2054. "type": "string",
  2055. "example": "验证码"
  2056. },
  2057. "mobile": {
  2058. "type": "string"
  2059. },
  2060. "password": {
  2061. "type": "string",
  2062. "example": "密码 如 123"
  2063. }
  2064. }
  2065. },
  2066. "md.GetAmountFlowResp": {
  2067. "type": "object",
  2068. "properties": {
  2069. "list": {
  2070. "type": "array",
  2071. "items": {
  2072. "$ref": "#/definitions/md.WalletFlowNode"
  2073. }
  2074. },
  2075. "paginate": {
  2076. "$ref": "#/definitions/applet_app_md.Paginate"
  2077. }
  2078. }
  2079. },
  2080. "md.GetContributionValueFlowResp": {
  2081. "type": "object",
  2082. "properties": {
  2083. "list": {
  2084. "type": "array",
  2085. "items": {
  2086. "$ref": "#/definitions/md.ContributionValueFlowNode"
  2087. }
  2088. },
  2089. "paginate": {
  2090. "$ref": "#/definitions/applet_app_md.Paginate"
  2091. }
  2092. }
  2093. },
  2094. "md.GetContributionValueResp": {
  2095. "type": "object",
  2096. "properties": {
  2097. "contribution_value": {
  2098. "description": "贡献值",
  2099. "type": "string"
  2100. },
  2101. "ratio": {
  2102. "description": "兑换比率(x 分兑换 1 人民币)",
  2103. "type": "string"
  2104. }
  2105. }
  2106. },
  2107. "md.GetEggEnergyFlowResp": {
  2108. "type": "object",
  2109. "properties": {
  2110. "list": {
  2111. "type": "array",
  2112. "items": {
  2113. "$ref": "#/definitions/md.EggEnergyFlowNode"
  2114. }
  2115. },
  2116. "paginate": {
  2117. "$ref": "#/definitions/applet_app_md.Paginate"
  2118. }
  2119. }
  2120. },
  2121. "md.GetEggPointRecordResp": {
  2122. "type": "object",
  2123. "properties": {
  2124. "list": {
  2125. "description": "分数明细列表",
  2126. "type": "array",
  2127. "items": {
  2128. "$ref": "#/definitions/md.EggPointRecordNode"
  2129. }
  2130. },
  2131. "now_score": {
  2132. "description": "当前分数",
  2133. "type": "string"
  2134. },
  2135. "paginate": {
  2136. "$ref": "#/definitions/applet_app_md.Paginate"
  2137. }
  2138. }
  2139. },
  2140. "md.GetPriceCurveResp": {
  2141. "type": "object",
  2142. "properties": {
  2143. "x_data": {
  2144. "type": "array",
  2145. "items": {}
  2146. },
  2147. "y_data": {
  2148. "type": "array",
  2149. "items": {}
  2150. }
  2151. }
  2152. },
  2153. "md.HomePageResp": {
  2154. "type": "object",
  2155. "properties": {
  2156. "egg_energy_now_price": {
  2157. "description": "蛋蛋能量当前价格",
  2158. "type": "string"
  2159. },
  2160. "initial_price": {
  2161. "description": "蛋蛋能量初始价格",
  2162. "type": "string"
  2163. },
  2164. "is_rises": {
  2165. "description": "是否涨价",
  2166. "type": "boolean"
  2167. },
  2168. "is_sign": {
  2169. "description": "是否开始签到",
  2170. "type": "boolean"
  2171. },
  2172. "nick_name": {
  2173. "description": "用户名称",
  2174. "type": "string"
  2175. },
  2176. "now_basal_rate": {
  2177. "description": "当前基础速率/小时",
  2178. "type": "string"
  2179. },
  2180. "now_team_rate": {
  2181. "description": "当前团队速率/小时",
  2182. "type": "string"
  2183. },
  2184. "rises": {
  2185. "description": "涨/跌价百分比",
  2186. "type": "string"
  2187. },
  2188. "sign_end_time": {
  2189. "description": "签到截止时间",
  2190. "type": "string"
  2191. },
  2192. "total_active_points": {
  2193. "description": "总蛋蛋积分",
  2194. "type": "string"
  2195. },
  2196. "total_egg_energy": {
  2197. "description": "总蛋蛋能量",
  2198. "type": "string"
  2199. },
  2200. "user_count": {
  2201. "description": "当前用户数量",
  2202. "type": "integer"
  2203. }
  2204. }
  2205. },
  2206. "md.HomePageWatchAdRuleResp": {
  2207. "type": "object",
  2208. "properties": {
  2209. "each_round_hour": {
  2210. "description": "每一轮X个小时",
  2211. "type": "string"
  2212. },
  2213. "interval_minutes": {
  2214. "description": "间隔X秒",
  2215. "type": "string"
  2216. },
  2217. "reward_total_num": {
  2218. "description": "一共X个奖励视屏",
  2219. "type": "string"
  2220. },
  2221. "reward_value": {
  2222. "description": "奖励X个活跃积分",
  2223. "type": "string"
  2224. }
  2225. }
  2226. },
  2227. "md.InitialDataResp": {
  2228. "type": "object",
  2229. "properties": {
  2230. "initial_price": {
  2231. "description": "初始价格",
  2232. "type": "string"
  2233. },
  2234. "total_angel_investor": {
  2235. "description": "天使投资人",
  2236. "type": "string"
  2237. },
  2238. "total_ecological_development": {
  2239. "description": "生态建设",
  2240. "type": "string"
  2241. },
  2242. "total_issuance_amount": {
  2243. "description": "总发行量",
  2244. "type": "string"
  2245. },
  2246. "total_operate_fund": {
  2247. "description": "运营资金",
  2248. "type": "string"
  2249. },
  2250. "total_technology_team": {
  2251. "description": "技术团队",
  2252. "type": "string"
  2253. }
  2254. }
  2255. },
  2256. "md.IntegralList": {
  2257. "type": "object",
  2258. "properties": {
  2259. "expend_list": {
  2260. "description": "支出类型列表",
  2261. "type": "array",
  2262. "items": {
  2263. "$ref": "#/definitions/md.TransferTypeNode"
  2264. }
  2265. },
  2266. "income_list": {
  2267. "description": "收入类型列表",
  2268. "type": "array",
  2269. "items": {
  2270. "$ref": "#/definitions/md.TransferTypeNode"
  2271. }
  2272. }
  2273. }
  2274. },
  2275. "md.IsCanGetRedPackageResp": {
  2276. "type": "object",
  2277. "properties": {
  2278. "is_can_get_red_package": {
  2279. "type": "boolean"
  2280. }
  2281. }
  2282. },
  2283. "md.IsCanSignInResp": {
  2284. "type": "object",
  2285. "properties": {
  2286. "is_can_sign_in": {
  2287. "type": "boolean"
  2288. }
  2289. }
  2290. },
  2291. "md.LoginReq": {
  2292. "type": "object",
  2293. "required": [
  2294. "password",
  2295. "phone"
  2296. ],
  2297. "properties": {
  2298. "code": {
  2299. "type": "string",
  2300. "example": "验证码"
  2301. },
  2302. "password": {
  2303. "type": "string",
  2304. "example": "登录密码"
  2305. },
  2306. "phone": {
  2307. "type": "string",
  2308. "example": "手机号"
  2309. }
  2310. }
  2311. },
  2312. "md.LoginResponse": {
  2313. "type": "object",
  2314. "properties": {
  2315. "token": {
  2316. "type": "string"
  2317. }
  2318. }
  2319. },
  2320. "md.MemberCenterGetBasicResp": {
  2321. "type": "object",
  2322. "properties": {
  2323. "active_num": {
  2324. "description": "活跃值",
  2325. "type": "string"
  2326. },
  2327. "amount": {
  2328. "description": "账户余额",
  2329. "type": "string"
  2330. },
  2331. "contribution_value": {
  2332. "description": "贡献值",
  2333. "type": "string"
  2334. },
  2335. "date": {
  2336. "description": "兑换时间(每月x日)",
  2337. "type": "string"
  2338. },
  2339. "egg_energy": {
  2340. "description": "能量值",
  2341. "type": "string"
  2342. },
  2343. "egg_energy_value": {
  2344. "description": "能量预估价值",
  2345. "type": "string"
  2346. },
  2347. "egg_score": {
  2348. "description": "蛋蛋分",
  2349. "type": "string"
  2350. },
  2351. "level_name": {
  2352. "description": "会员等级名称",
  2353. "type": "string"
  2354. },
  2355. "nickname": {
  2356. "description": "会员名称",
  2357. "type": "string"
  2358. },
  2359. "ratio": {
  2360. "description": "兑换比例(x:y)",
  2361. "type": "string"
  2362. }
  2363. }
  2364. },
  2365. "md.MyFansResp": {
  2366. "type": "object",
  2367. "properties": {
  2368. "now_team_assistance_num": {
  2369. "description": "团队助力人数",
  2370. "type": "integer"
  2371. },
  2372. "now_team_assistance_reward": {
  2373. "description": "团队助力收益",
  2374. "type": "string"
  2375. },
  2376. "now_team_user": {
  2377. "description": "团队人数",
  2378. "type": "integer"
  2379. }
  2380. }
  2381. },
  2382. "md.MyFansUserListResp": {
  2383. "type": "object",
  2384. "properties": {
  2385. "list": {
  2386. "type": "array",
  2387. "items": {
  2388. "$ref": "#/definitions/md.OneLineUserNode"
  2389. }
  2390. }
  2391. }
  2392. },
  2393. "md.NineDimensionalSpaceResp": {
  2394. "type": "object",
  2395. "properties": {
  2396. "a_lot_of_nums": {
  2397. "description": "全网至多用户数",
  2398. "type": "string"
  2399. },
  2400. "day_num": {
  2401. "description": "连续x天不活跃",
  2402. "type": "string"
  2403. },
  2404. "rows": {
  2405. "description": "行数",
  2406. "type": "string"
  2407. },
  2408. "space_list": {
  2409. "description": "数据列表",
  2410. "type": "array",
  2411. "items": {
  2412. "$ref": "#/definitions/md.SpaceListNode"
  2413. }
  2414. },
  2415. "space_nums": {
  2416. "description": "空间人数",
  2417. "type": "string"
  2418. },
  2419. "space_total_nums": {
  2420. "description": "空间总数",
  2421. "type": "string"
  2422. },
  2423. "times": {
  2424. "description": "排数",
  2425. "type": "string"
  2426. }
  2427. }
  2428. },
  2429. "md.OneLineUserNode": {
  2430. "type": "object",
  2431. "properties": {
  2432. "avatar_url": {
  2433. "type": "string"
  2434. },
  2435. "invite_time": {
  2436. "type": "string"
  2437. },
  2438. "is_online": {
  2439. "type": "boolean"
  2440. },
  2441. "nickname": {
  2442. "type": "string"
  2443. }
  2444. }
  2445. },
  2446. "md.PointsCenterGetBasicResp": {
  2447. "type": "object",
  2448. "properties": {
  2449. "egg_point": {
  2450. "description": "能量积分",
  2451. "type": "string"
  2452. },
  2453. "egg_point_amount": {
  2454. "description": "能量积分价值",
  2455. "type": "string"
  2456. },
  2457. "energy": {
  2458. "description": "蛋蛋能量值",
  2459. "type": "string"
  2460. },
  2461. "energy_amount": {
  2462. "description": "能量价值",
  2463. "type": "string"
  2464. },
  2465. "wallet_amount": {
  2466. "description": "账户余额",
  2467. "type": "string"
  2468. }
  2469. }
  2470. },
  2471. "md.PointsExchangeGetBasicResp": {
  2472. "type": "object",
  2473. "properties": {
  2474. "available_cash": {
  2475. "description": "可用现金",
  2476. "type": "string"
  2477. },
  2478. "available_energy": {
  2479. "description": "可用能量",
  2480. "type": "string"
  2481. }
  2482. }
  2483. },
  2484. "md.RealTimePriceResp": {
  2485. "type": "object",
  2486. "properties": {
  2487. "is_rises": {
  2488. "type": "boolean"
  2489. },
  2490. "now_price": {
  2491. "type": "string"
  2492. },
  2493. "rises": {
  2494. "type": "string"
  2495. },
  2496. "user_count": {
  2497. "type": "string"
  2498. }
  2499. }
  2500. },
  2501. "md.RegisterReq": {
  2502. "type": "object",
  2503. "required": [
  2504. "mobile"
  2505. ],
  2506. "properties": {
  2507. "avatar": {
  2508. "type": "string",
  2509. "example": "头像"
  2510. },
  2511. "code": {
  2512. "type": "string",
  2513. "example": "验证码"
  2514. },
  2515. "invite_code": {
  2516. "type": "string",
  2517. "example": "邀请码"
  2518. },
  2519. "mobile": {
  2520. "type": "string"
  2521. },
  2522. "nickname": {
  2523. "type": "string",
  2524. "example": "昵称"
  2525. },
  2526. "open_id": {
  2527. "type": "string",
  2528. "example": "微信openId"
  2529. },
  2530. "password": {
  2531. "type": "string",
  2532. "example": "密码 如 123"
  2533. },
  2534. "sex": {
  2535. "description": "性别(0:未知 1:男 2:女)",
  2536. "type": "integer"
  2537. },
  2538. "type": {
  2539. "type": "string",
  2540. "example": "app:APP注册、h5:H5注册"
  2541. },
  2542. "union_id": {
  2543. "type": "string",
  2544. "example": "微信UnionId"
  2545. }
  2546. }
  2547. },
  2548. "md.Response": {
  2549. "type": "object",
  2550. "properties": {
  2551. "code": {
  2552. "type": "string",
  2553. "example": "响应码"
  2554. },
  2555. "data": {
  2556. "description": "内容"
  2557. },
  2558. "msg": {
  2559. "type": "string",
  2560. "example": "具体错误原因"
  2561. }
  2562. }
  2563. },
  2564. "md.SmsSendReq": {
  2565. "type": "object",
  2566. "required": [
  2567. "mobile"
  2568. ],
  2569. "properties": {
  2570. "captcha_output": {
  2571. "type": "string",
  2572. "example": "阿里云图形验证码对应参数"
  2573. },
  2574. "gen_time": {
  2575. "type": "string",
  2576. "example": "阿里云图形验证码对应参数"
  2577. },
  2578. "lot_number": {
  2579. "type": "string",
  2580. "example": "阿里云图形验证码对应参数"
  2581. },
  2582. "mobile": {
  2583. "type": "string"
  2584. },
  2585. "pass_token": {
  2586. "type": "string",
  2587. "example": "阿里云图形验证码对应参数"
  2588. },
  2589. "type": {
  2590. "type": "string",
  2591. "example": "h5Register:h5注册页、wechatBindPhone:微信绑定手机、login:登陆、findPwd:找回密码、changePwd:修改密码"
  2592. }
  2593. }
  2594. },
  2595. "md.SpaceListNode": {
  2596. "type": "object",
  2597. "properties": {
  2598. "max_count": {
  2599. "description": "最大容纳人数",
  2600. "type": "string"
  2601. },
  2602. "name": {
  2603. "description": "维度",
  2604. "type": "string"
  2605. },
  2606. "now_count": {
  2607. "description": "当前人数",
  2608. "type": "string"
  2609. }
  2610. }
  2611. },
  2612. "md.TotalRateResp": {
  2613. "type": "object",
  2614. "properties": {
  2615. "consumed_personal_egg_point": {
  2616. "description": "消耗个人蛋蛋积分",
  2617. "type": "string"
  2618. },
  2619. "consumed_team_egg_point": {
  2620. "description": "消耗团队蛋蛋积分",
  2621. "type": "string"
  2622. },
  2623. "now_basal_rate": {
  2624. "description": "当前基础速率/小时",
  2625. "type": "string"
  2626. },
  2627. "now_team_rate": {
  2628. "description": "当前团队速率/小时",
  2629. "type": "string"
  2630. },
  2631. "now_total_rate": {
  2632. "description": "总速率/小时",
  2633. "type": "string"
  2634. }
  2635. }
  2636. },
  2637. "md.TransferTypeList": {
  2638. "type": "object",
  2639. "properties": {
  2640. "TeamTransferTypeList": {
  2641. "description": "团队积分变动列表",
  2642. "allOf": [
  2643. {
  2644. "$ref": "#/definitions/md.IntegralList"
  2645. }
  2646. ]
  2647. },
  2648. "personal_transfer_type_list": {
  2649. "description": "个人积分变动列表",
  2650. "allOf": [
  2651. {
  2652. "$ref": "#/definitions/md.IntegralList"
  2653. }
  2654. ]
  2655. }
  2656. }
  2657. },
  2658. "md.TransferTypeNode": {
  2659. "type": "object",
  2660. "properties": {
  2661. "name": {
  2662. "type": "string"
  2663. },
  2664. "value": {
  2665. "type": "string"
  2666. }
  2667. }
  2668. },
  2669. "md.UserInfoResp": {
  2670. "type": "object",
  2671. "properties": {
  2672. "head_img": {
  2673. "type": "string"
  2674. },
  2675. "id": {
  2676. "type": "string"
  2677. },
  2678. "invite_code": {
  2679. "type": "string"
  2680. },
  2681. "is_bind_extend": {
  2682. "type": "string",
  2683. "example": "是否绑定了上级 0否 1是"
  2684. },
  2685. "nickname": {
  2686. "type": "string"
  2687. },
  2688. "phone": {
  2689. "type": "string"
  2690. }
  2691. }
  2692. },
  2693. "md.WalletFlowNode": {
  2694. "type": "object",
  2695. "properties": {
  2696. "after_amount": {
  2697. "description": "变动后金额",
  2698. "type": "string"
  2699. },
  2700. "amount": {
  2701. "description": "变动金额",
  2702. "type": "string"
  2703. },
  2704. "before_amount": {
  2705. "description": "变动前金额",
  2706. "type": "string"
  2707. },
  2708. "create_time": {
  2709. "description": "创建时间",
  2710. "type": "string"
  2711. },
  2712. "direction": {
  2713. "description": "方向:1.收入 2.支出",
  2714. "type": "integer"
  2715. },
  2716. "id": {
  2717. "type": "integer"
  2718. },
  2719. "kind": {
  2720. "description": "1:管理员操作增加余额 2:管理员操作扣除余额 3:蛋蛋能量兑换余额 4:余额兑换蛋蛋能量",
  2721. "type": "integer"
  2722. },
  2723. "memo": {
  2724. "description": "备注",
  2725. "type": "string"
  2726. },
  2727. "ord_id": {
  2728. "description": "对应订单编号",
  2729. "type": "string"
  2730. },
  2731. "state": {
  2732. "description": "1未到账,2已到账",
  2733. "type": "integer"
  2734. },
  2735. "sys_fee": {
  2736. "description": "手续费",
  2737. "type": "string"
  2738. },
  2739. "title": {
  2740. "description": "标题",
  2741. "type": "string"
  2742. },
  2743. "uid": {
  2744. "description": "用户 ID",
  2745. "type": "integer"
  2746. },
  2747. "update_time": {
  2748. "description": "更新时间",
  2749. "type": "string"
  2750. }
  2751. }
  2752. },
  2753. "md.WechatLoginReq": {
  2754. "type": "object",
  2755. "properties": {
  2756. "avatar": {
  2757. "type": "string",
  2758. "example": "头像"
  2759. },
  2760. "nickname": {
  2761. "type": "string",
  2762. "example": "昵称"
  2763. },
  2764. "open_id": {
  2765. "type": "string",
  2766. "example": "微信openId"
  2767. },
  2768. "union_id": {
  2769. "type": "string",
  2770. "example": "微信UnionId"
  2771. }
  2772. }
  2773. }
  2774. }
  2775. }`
  2776. // SwaggerInfo holds exported Swagger Info so clients can modify it
  2777. var SwaggerInfo = &swag.Spec{
  2778. Version: "1.0",
  2779. Host: "ddxq.izhim.com",
  2780. BasePath: "/api/v1",
  2781. Schemes: []string{},
  2782. Title: "蛋蛋星球-APP客户端",
  2783. Description: "APP客户端-Api接口",
  2784. InfoInstanceName: "swagger",
  2785. SwaggerTemplate: docTemplate,
  2786. LeftDelim: "{{",
  2787. RightDelim: "}}",
  2788. }
  2789. func init() {
  2790. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  2791. }