蛋蛋星球-客户端
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 

1506 righe
50 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. "responses": {
  218. "200": {
  219. "description": "具体数据",
  220. "schema": {
  221. "$ref": "#/definitions/md.MyFansUserListResp"
  222. }
  223. },
  224. "400": {
  225. "description": "具体错误",
  226. "schema": {
  227. "$ref": "#/definitions/md.Response"
  228. }
  229. }
  230. }
  231. }
  232. },
  233. "/api/v1/addFriend/nineDimensionalSpace": {
  234. "get": {
  235. "description": "九维空间(获取)",
  236. "consumes": [
  237. "application/json"
  238. ],
  239. "produces": [
  240. "application/json"
  241. ],
  242. "tags": [
  243. "添加好友"
  244. ],
  245. "summary": "蛋蛋星球-添加好友-粉丝团队-九维空间(获取)",
  246. "parameters": [
  247. {
  248. "type": "string",
  249. "description": "验证参数Bearer和token空格拼接",
  250. "name": "Authorization",
  251. "in": "header",
  252. "required": true
  253. }
  254. ],
  255. "responses": {
  256. "200": {
  257. "description": "具体数据",
  258. "schema": {
  259. "$ref": "#/definitions/md.NineDimensionalSpaceResp"
  260. }
  261. },
  262. "400": {
  263. "description": "具体错误",
  264. "schema": {
  265. "$ref": "#/definitions/md.Response"
  266. }
  267. }
  268. }
  269. }
  270. },
  271. "/api/v1/addFriend/totalRate": {
  272. "get": {
  273. "description": "总速率(获取)",
  274. "consumes": [
  275. "application/json"
  276. ],
  277. "produces": [
  278. "application/json"
  279. ],
  280. "tags": [
  281. "添加好友"
  282. ],
  283. "summary": "蛋蛋星球-添加好友-总速率(获取)",
  284. "parameters": [
  285. {
  286. "type": "string",
  287. "description": "验证参数Bearer和token空格拼接",
  288. "name": "Authorization",
  289. "in": "header",
  290. "required": true
  291. }
  292. ],
  293. "responses": {
  294. "200": {
  295. "description": "具体数据",
  296. "schema": {
  297. "$ref": "#/definitions/md.TotalRateResp"
  298. }
  299. },
  300. "400": {
  301. "description": "具体错误",
  302. "schema": {
  303. "$ref": "#/definitions/md.Response"
  304. }
  305. }
  306. }
  307. }
  308. },
  309. "/api/v1/comm/getOssUrl": {
  310. "get": {
  311. "description": "上传许可链接(获取)",
  312. "consumes": [
  313. "application/json"
  314. ],
  315. "produces": [
  316. "application/json"
  317. ],
  318. "tags": [
  319. "对象存储"
  320. ],
  321. "summary": "通用请求-对象存储-上传许可链接(获取)",
  322. "parameters": [
  323. {
  324. "type": "string",
  325. "description": "验证参数Bearer和token空格拼接",
  326. "name": "Authorization",
  327. "in": "header",
  328. "required": true
  329. }
  330. ],
  331. "responses": {
  332. "200": {
  333. "description": "许可链接",
  334. "schema": {
  335. "type": "string"
  336. }
  337. },
  338. "400": {
  339. "description": "具体错误",
  340. "schema": {
  341. "$ref": "#/definitions/md.Response"
  342. }
  343. }
  344. }
  345. }
  346. },
  347. "/api/v1/fastLogin": {
  348. "post": {
  349. "description": "一键登录",
  350. "consumes": [
  351. "application/json"
  352. ],
  353. "produces": [
  354. "application/json"
  355. ],
  356. "tags": [
  357. "一键登录"
  358. ],
  359. "summary": "一键登录",
  360. "parameters": [
  361. {
  362. "description": "注册参数",
  363. "name": "req",
  364. "in": "body",
  365. "required": true,
  366. "schema": {
  367. "$ref": "#/definitions/md.FastLoginReq"
  368. }
  369. }
  370. ],
  371. "responses": {
  372. "200": {
  373. "description": "登录成功返回",
  374. "schema": {
  375. "$ref": "#/definitions/md.LoginResponse"
  376. }
  377. },
  378. "400": {
  379. "description": "具体错误",
  380. "schema": {
  381. "$ref": "#/definitions/md.Response"
  382. }
  383. }
  384. }
  385. }
  386. },
  387. "/api/v1/homePage/adRule": {
  388. "get": {
  389. "description": "视频奖励规则(获取)",
  390. "consumes": [
  391. "application/json"
  392. ],
  393. "produces": [
  394. "application/json"
  395. ],
  396. "tags": [
  397. "主页"
  398. ],
  399. "summary": "蛋蛋星球-主页-视频奖励规则(获取)",
  400. "parameters": [
  401. {
  402. "type": "string",
  403. "description": "验证参数Bearer和token空格拼接",
  404. "name": "Authorization",
  405. "in": "header",
  406. "required": true
  407. }
  408. ],
  409. "responses": {
  410. "200": {
  411. "description": "具体数据",
  412. "schema": {
  413. "$ref": "#/definitions/md.HomePageWatchAdRuleResp"
  414. }
  415. },
  416. "400": {
  417. "description": "具体错误",
  418. "schema": {
  419. "$ref": "#/definitions/md.Response"
  420. }
  421. }
  422. }
  423. }
  424. },
  425. "/api/v1/homePage/index": {
  426. "get": {
  427. "description": "基础信息(获取)",
  428. "consumes": [
  429. "application/json"
  430. ],
  431. "produces": [
  432. "application/json"
  433. ],
  434. "tags": [
  435. "主页"
  436. ],
  437. "summary": "蛋蛋星球-主页-基础信息(获取)",
  438. "parameters": [
  439. {
  440. "type": "string",
  441. "description": "验证参数Bearer和token空格拼接",
  442. "name": "Authorization",
  443. "in": "header",
  444. "required": true
  445. }
  446. ],
  447. "responses": {
  448. "200": {
  449. "description": "具体数据",
  450. "schema": {
  451. "$ref": "#/definitions/md.HomePageResp"
  452. }
  453. },
  454. "400": {
  455. "description": "具体错误",
  456. "schema": {
  457. "$ref": "#/definitions/md.Response"
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "/api/v1/homePage/isCanGetRedPackage": {
  464. "get": {
  465. "description": "是否可以领取红包(获取)",
  466. "consumes": [
  467. "application/json"
  468. ],
  469. "produces": [
  470. "application/json"
  471. ],
  472. "tags": [
  473. "主页"
  474. ],
  475. "summary": "蛋蛋星球-主页-是否领取红包(获取)",
  476. "parameters": [
  477. {
  478. "type": "string",
  479. "description": "验证参数Bearer和token空格拼接",
  480. "name": "Authorization",
  481. "in": "header",
  482. "required": true
  483. }
  484. ],
  485. "responses": {
  486. "200": {
  487. "description": "具体数据",
  488. "schema": {
  489. "$ref": "#/definitions/md.IsCanGetRedPackageResp"
  490. }
  491. },
  492. "400": {
  493. "description": "具体错误",
  494. "schema": {
  495. "$ref": "#/definitions/md.Response"
  496. }
  497. }
  498. }
  499. }
  500. },
  501. "/api/v1/homePage/isCanSignIn": {
  502. "get": {
  503. "description": "是否可以签到(获取)",
  504. "consumes": [
  505. "application/json"
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "主页"
  512. ],
  513. "summary": "蛋蛋星球-主页-是否能签到(获取)",
  514. "parameters": [
  515. {
  516. "type": "string",
  517. "description": "验证参数Bearer和token空格拼接",
  518. "name": "Authorization",
  519. "in": "header",
  520. "required": true
  521. }
  522. ],
  523. "responses": {
  524. "200": {
  525. "description": "具体数据",
  526. "schema": {
  527. "$ref": "#/definitions/md.IsCanSignInResp"
  528. }
  529. },
  530. "400": {
  531. "description": "具体错误",
  532. "schema": {
  533. "$ref": "#/definitions/md.Response"
  534. }
  535. }
  536. }
  537. }
  538. },
  539. "/api/v1/homePage/realTimePrice": {
  540. "get": {
  541. "description": "实时数据(获取)",
  542. "consumes": [
  543. "application/json"
  544. ],
  545. "produces": [
  546. "application/json"
  547. ],
  548. "tags": [
  549. "主页"
  550. ],
  551. "summary": "蛋蛋星球-主页-实时数据(获取)",
  552. "parameters": [
  553. {
  554. "type": "string",
  555. "description": "验证参数Bearer和token空格拼接",
  556. "name": "Authorization",
  557. "in": "header",
  558. "required": true
  559. }
  560. ],
  561. "responses": {
  562. "200": {
  563. "description": "具体数据",
  564. "schema": {
  565. "$ref": "#/definitions/md.RealTimePriceResp"
  566. }
  567. },
  568. "400": {
  569. "description": "具体错误",
  570. "schema": {
  571. "$ref": "#/definitions/md.Response"
  572. }
  573. }
  574. }
  575. }
  576. },
  577. "/api/v1/login": {
  578. "post": {
  579. "description": "登入",
  580. "consumes": [
  581. "application/json"
  582. ],
  583. "produces": [
  584. "application/json"
  585. ],
  586. "tags": [
  587. "登录"
  588. ],
  589. "summary": "登陆",
  590. "parameters": [
  591. {
  592. "description": "用户名密码",
  593. "name": "req",
  594. "in": "body",
  595. "required": true,
  596. "schema": {
  597. "$ref": "#/definitions/md.LoginReq"
  598. }
  599. }
  600. ],
  601. "responses": {
  602. "200": {
  603. "description": "token",
  604. "schema": {
  605. "$ref": "#/definitions/md.LoginResponse"
  606. }
  607. },
  608. "400": {
  609. "description": "具体错误",
  610. "schema": {
  611. "$ref": "#/definitions/md.Response"
  612. }
  613. }
  614. }
  615. }
  616. },
  617. "/api/v1/memberCenter/getBasic": {
  618. "get": {
  619. "description": "基础数据(获取)",
  620. "consumes": [
  621. "application/json"
  622. ],
  623. "produces": [
  624. "application/json"
  625. ],
  626. "tags": [
  627. "会员中心"
  628. ],
  629. "summary": "蛋蛋星球-会员中心-基础数据(获取)",
  630. "parameters": [
  631. {
  632. "type": "string",
  633. "description": "验证参数Bearer和token空格拼接",
  634. "name": "Authorization",
  635. "in": "header",
  636. "required": true
  637. }
  638. ],
  639. "responses": {
  640. "200": {
  641. "description": "具体数据",
  642. "schema": {
  643. "$ref": "#/definitions/md.MemberCenterGetBasicResp"
  644. }
  645. },
  646. "400": {
  647. "description": "具体错误",
  648. "schema": {
  649. "$ref": "#/definitions/md.Response"
  650. }
  651. }
  652. }
  653. }
  654. },
  655. "/api/v1/register": {
  656. "post": {
  657. "description": "注册",
  658. "consumes": [
  659. "application/json"
  660. ],
  661. "produces": [
  662. "application/json"
  663. ],
  664. "tags": [
  665. "注册"
  666. ],
  667. "summary": "注册",
  668. "parameters": [
  669. {
  670. "description": "注册参数",
  671. "name": "req",
  672. "in": "body",
  673. "required": true,
  674. "schema": {
  675. "$ref": "#/definitions/md.RegisterReq"
  676. }
  677. }
  678. ],
  679. "responses": {
  680. "200": {
  681. "description": "登录成功返回",
  682. "schema": {
  683. "$ref": "#/definitions/md.LoginResponse"
  684. }
  685. },
  686. "400": {
  687. "description": "具体错误",
  688. "schema": {
  689. "$ref": "#/definitions/md.Response"
  690. }
  691. }
  692. }
  693. }
  694. },
  695. "/api/v1/smsSend": {
  696. "post": {
  697. "description": "发送短信",
  698. "consumes": [
  699. "application/json"
  700. ],
  701. "produces": [
  702. "application/json"
  703. ],
  704. "tags": [
  705. "发送短信"
  706. ],
  707. "summary": "发送短信",
  708. "parameters": [
  709. {
  710. "description": "注册参数",
  711. "name": "req",
  712. "in": "body",
  713. "required": true,
  714. "schema": {
  715. "$ref": "#/definitions/md.SmsSendReq"
  716. }
  717. }
  718. ],
  719. "responses": {
  720. "200": {
  721. "description": "成功返回",
  722. "schema": {
  723. "type": "string"
  724. }
  725. },
  726. "400": {
  727. "description": "具体错误",
  728. "schema": {
  729. "$ref": "#/definitions/md.Response"
  730. }
  731. }
  732. }
  733. }
  734. },
  735. "/api/v1/test": {
  736. "get": {
  737. "description": "Demo样例测试",
  738. "consumes": [
  739. "application/json"
  740. ],
  741. "produces": [
  742. "application/json"
  743. ],
  744. "tags": [
  745. "Demo"
  746. ],
  747. "summary": "Demo测试",
  748. "parameters": [
  749. {
  750. "description": "任意参数",
  751. "name": "req",
  752. "in": "body",
  753. "required": true,
  754. "schema": {}
  755. }
  756. ],
  757. "responses": {
  758. "200": {
  759. "description": "返回任意参数",
  760. "schema": {
  761. "type": "object",
  762. "additionalProperties": true
  763. }
  764. },
  765. "400": {
  766. "description": "具体错误",
  767. "schema": {
  768. "$ref": "#/definitions/md.Response"
  769. }
  770. }
  771. }
  772. }
  773. },
  774. "/api/v1/userInfo": {
  775. "get": {
  776. "description": "用户信息",
  777. "consumes": [
  778. "application/json"
  779. ],
  780. "produces": [
  781. "application/json"
  782. ],
  783. "tags": [
  784. "用户信息"
  785. ],
  786. "summary": "用户信息",
  787. "parameters": [
  788. {
  789. "type": "string",
  790. "description": "验证参数Bearer和token空格拼接",
  791. "name": "Authorization",
  792. "in": "header",
  793. "required": true
  794. }
  795. ],
  796. "responses": {
  797. "200": {
  798. "description": "具体数据",
  799. "schema": {
  800. "$ref": "#/definitions/md.UserInfoResp"
  801. }
  802. },
  803. "400": {
  804. "description": "具体错误",
  805. "schema": {
  806. "$ref": "#/definitions/md.Response"
  807. }
  808. }
  809. }
  810. }
  811. }
  812. },
  813. "definitions": {
  814. "applet_app_md.Paginate": {
  815. "type": "object",
  816. "properties": {
  817. "limit": {
  818. "description": "每页大小",
  819. "type": "integer"
  820. },
  821. "page": {
  822. "description": "页数",
  823. "type": "integer"
  824. },
  825. "total": {
  826. "description": "总数据量",
  827. "type": "integer"
  828. }
  829. }
  830. },
  831. "md.BasalRateResp": {
  832. "type": "object",
  833. "properties": {
  834. "basal_rate": {
  835. "description": "基础速率",
  836. "type": "string"
  837. },
  838. "consumed_egg_energy": {
  839. "description": "收益蛋蛋能量",
  840. "type": "string"
  841. },
  842. "consumed_egg_point": {
  843. "description": "消耗蛋蛋积分",
  844. "type": "string"
  845. },
  846. "consumed_time": {
  847. "description": "消耗时间/小时",
  848. "type": "string"
  849. },
  850. "estimated_revenue": {
  851. "description": "预估收益蛋蛋能量",
  852. "type": "string"
  853. },
  854. "remaining_egg_energy": {
  855. "description": "剩余蛋蛋能量",
  856. "type": "string"
  857. },
  858. "remaining_time": {
  859. "description": "剩余时间/小时",
  860. "type": "string"
  861. },
  862. "sign_countdown": {
  863. "description": "收益倒计时",
  864. "type": "string"
  865. }
  866. }
  867. },
  868. "md.EggEnergyDetailReq": {
  869. "type": "object",
  870. "properties": {
  871. "asc": {
  872. "description": "1.升序 2.倒序",
  873. "type": "string"
  874. },
  875. "direction": {
  876. "description": "类型 1.收入 2.支出 全部则传空",
  877. "type": "string"
  878. },
  879. "kind": {
  880. "description": "类型:1. 个人蛋蛋能量 2.团队蛋蛋能量",
  881. "type": "string"
  882. },
  883. "limit": {
  884. "description": "每页大小",
  885. "type": "integer"
  886. },
  887. "page": {
  888. "description": "页数",
  889. "type": "integer"
  890. },
  891. "type": {
  892. "description": "变动类型 全部则传空",
  893. "type": "string"
  894. }
  895. }
  896. },
  897. "md.EggEnergyDetailResp": {
  898. "type": "object",
  899. "properties": {
  900. "list": {
  901. "description": "流水数据",
  902. "type": "array",
  903. "items": {
  904. "type": "object",
  905. "additionalProperties": {
  906. "type": "string"
  907. }
  908. }
  909. },
  910. "paginate": {
  911. "description": "分页信息",
  912. "allOf": [
  913. {
  914. "$ref": "#/definitions/applet_app_md.Paginate"
  915. }
  916. ]
  917. },
  918. "person_egg_energy": {
  919. "description": "个人蛋蛋能量",
  920. "type": "string"
  921. },
  922. "team_egg_energy": {
  923. "description": "团队蛋蛋能量",
  924. "type": "string"
  925. },
  926. "total_egg_energy": {
  927. "description": "总蛋蛋能量",
  928. "type": "string"
  929. },
  930. "total_egg_energy_price": {
  931. "description": "蛋蛋能量总价",
  932. "type": "string"
  933. },
  934. "transfer_type_list": {
  935. "description": "转账类型列表",
  936. "allOf": [
  937. {
  938. "$ref": "#/definitions/md.TransferTypeList"
  939. }
  940. ]
  941. }
  942. }
  943. },
  944. "md.EggPointDetailsReq": {
  945. "type": "object",
  946. "properties": {
  947. "asc": {
  948. "description": "1.升序 2.倒序",
  949. "type": "string"
  950. },
  951. "direction": {
  952. "description": "类型 1.收入 2.支出 全部则传空",
  953. "type": "string"
  954. },
  955. "kind": {
  956. "description": "类型:1. 个人蛋蛋积分 2.团队蛋蛋积分",
  957. "type": "string"
  958. },
  959. "limit": {
  960. "description": "每页大小",
  961. "type": "integer"
  962. },
  963. "page": {
  964. "description": "页数",
  965. "type": "integer"
  966. },
  967. "type": {
  968. "description": "变动类型 全部则传空",
  969. "type": "string"
  970. }
  971. }
  972. },
  973. "md.EggPointDetailsResp": {
  974. "type": "object",
  975. "properties": {
  976. "list": {
  977. "description": "流水数据",
  978. "type": "array",
  979. "items": {
  980. "type": "object",
  981. "additionalProperties": {
  982. "type": "string"
  983. }
  984. }
  985. },
  986. "paginate": {
  987. "description": "分页信息",
  988. "allOf": [
  989. {
  990. "$ref": "#/definitions/applet_app_md.Paginate"
  991. }
  992. ]
  993. },
  994. "person_egg_points": {
  995. "description": "个人蛋蛋积分",
  996. "type": "string"
  997. },
  998. "team_egg_points": {
  999. "description": "团队蛋蛋积分",
  1000. "type": "string"
  1001. },
  1002. "total_egg_points": {
  1003. "description": "总蛋蛋积分",
  1004. "type": "string"
  1005. },
  1006. "total_egg_points_amount": {
  1007. "description": "蛋蛋积分余额",
  1008. "type": "string"
  1009. },
  1010. "transfer_type_list": {
  1011. "description": "转账类型列表",
  1012. "allOf": [
  1013. {
  1014. "$ref": "#/definitions/md.TransferTypeList"
  1015. }
  1016. ]
  1017. }
  1018. }
  1019. },
  1020. "md.FastLoginReq": {
  1021. "type": "object",
  1022. "properties": {
  1023. "invite_code": {
  1024. "type": "string",
  1025. "example": "邀请码"
  1026. },
  1027. "token": {
  1028. "type": "string",
  1029. "example": "一键登录的token"
  1030. }
  1031. }
  1032. },
  1033. "md.HomePageResp": {
  1034. "type": "object",
  1035. "properties": {
  1036. "egg_energy_now_price": {
  1037. "description": "蛋蛋能量当前价格",
  1038. "type": "string"
  1039. },
  1040. "initial_price": {
  1041. "description": "蛋蛋能量初始价格",
  1042. "type": "string"
  1043. },
  1044. "is_rises": {
  1045. "description": "是否涨价",
  1046. "type": "boolean"
  1047. },
  1048. "is_sign": {
  1049. "description": "是否开始签到",
  1050. "type": "boolean"
  1051. },
  1052. "nick_name": {
  1053. "description": "用户名称",
  1054. "type": "string"
  1055. },
  1056. "now_basal_rate": {
  1057. "description": "当前基础速率/小时",
  1058. "type": "string"
  1059. },
  1060. "now_team_rate": {
  1061. "description": "当前团队速率/小时",
  1062. "type": "string"
  1063. },
  1064. "rises": {
  1065. "description": "涨/跌价百分比",
  1066. "type": "string"
  1067. },
  1068. "sign_end_time": {
  1069. "description": "签到截止时间",
  1070. "type": "string"
  1071. },
  1072. "total_active_points": {
  1073. "description": "总蛋蛋积分",
  1074. "type": "string"
  1075. },
  1076. "total_egg_energy": {
  1077. "description": "总蛋蛋能量",
  1078. "type": "string"
  1079. },
  1080. "user_count": {
  1081. "description": "当前用户数量",
  1082. "type": "integer"
  1083. }
  1084. }
  1085. },
  1086. "md.HomePageWatchAdRuleResp": {
  1087. "type": "object",
  1088. "properties": {
  1089. "each_round_hour": {
  1090. "description": "每一轮X个小时",
  1091. "type": "string"
  1092. },
  1093. "interval_minutes": {
  1094. "description": "间隔X秒",
  1095. "type": "string"
  1096. },
  1097. "reward_total_num": {
  1098. "description": "一共X个奖励视屏",
  1099. "type": "string"
  1100. },
  1101. "reward_value": {
  1102. "description": "奖励X个活跃积分",
  1103. "type": "string"
  1104. }
  1105. }
  1106. },
  1107. "md.IntegralList": {
  1108. "type": "object",
  1109. "properties": {
  1110. "expend_list": {
  1111. "description": "支出类型列表",
  1112. "type": "array",
  1113. "items": {
  1114. "$ref": "#/definitions/md.TransferTypeNode"
  1115. }
  1116. },
  1117. "income_list": {
  1118. "description": "收入类型列表",
  1119. "type": "array",
  1120. "items": {
  1121. "$ref": "#/definitions/md.TransferTypeNode"
  1122. }
  1123. }
  1124. }
  1125. },
  1126. "md.IsCanGetRedPackageResp": {
  1127. "type": "object",
  1128. "properties": {
  1129. "is_can_get_red_package": {
  1130. "type": "boolean"
  1131. }
  1132. }
  1133. },
  1134. "md.IsCanSignInResp": {
  1135. "type": "object",
  1136. "properties": {
  1137. "is_can_sign_in": {
  1138. "type": "boolean"
  1139. }
  1140. }
  1141. },
  1142. "md.LoginReq": {
  1143. "type": "object",
  1144. "required": [
  1145. "password",
  1146. "phone"
  1147. ],
  1148. "properties": {
  1149. "code": {
  1150. "type": "string",
  1151. "example": "验证码"
  1152. },
  1153. "password": {
  1154. "type": "string",
  1155. "example": "登录密码"
  1156. },
  1157. "phone": {
  1158. "type": "string",
  1159. "example": "手机号"
  1160. }
  1161. }
  1162. },
  1163. "md.LoginResponse": {
  1164. "type": "object",
  1165. "properties": {
  1166. "token": {
  1167. "type": "string"
  1168. }
  1169. }
  1170. },
  1171. "md.MemberCenterGetBasicResp": {
  1172. "type": "object",
  1173. "properties": {
  1174. "active_num": {
  1175. "description": "活跃值",
  1176. "type": "string"
  1177. },
  1178. "amount": {
  1179. "description": "账户余额",
  1180. "type": "string"
  1181. },
  1182. "contribution_value": {
  1183. "description": "贡献值",
  1184. "type": "string"
  1185. },
  1186. "date": {
  1187. "description": "兑换时间(每月x日)",
  1188. "type": "string"
  1189. },
  1190. "egg_energy": {
  1191. "description": "能量值",
  1192. "type": "string"
  1193. },
  1194. "egg_energy_value": {
  1195. "description": "能量预估价值",
  1196. "type": "string"
  1197. },
  1198. "egg_score": {
  1199. "description": "蛋蛋分",
  1200. "type": "string"
  1201. },
  1202. "level_name": {
  1203. "description": "会员等级名称",
  1204. "type": "string"
  1205. },
  1206. "nickname": {
  1207. "description": "会员名称",
  1208. "type": "string"
  1209. },
  1210. "ratio": {
  1211. "description": "兑换比例(x:y)",
  1212. "type": "string"
  1213. }
  1214. }
  1215. },
  1216. "md.MyFansResp": {
  1217. "type": "object",
  1218. "properties": {
  1219. "now_team_assistance_num": {
  1220. "description": "团队助力人数",
  1221. "type": "integer"
  1222. },
  1223. "now_team_assistance_reward": {
  1224. "description": "团队助力收益",
  1225. "type": "string"
  1226. },
  1227. "now_team_user": {
  1228. "description": "团队人数",
  1229. "type": "integer"
  1230. }
  1231. }
  1232. },
  1233. "md.MyFansUserListResp": {
  1234. "type": "object",
  1235. "properties": {
  1236. "list": {
  1237. "type": "array",
  1238. "items": {
  1239. "$ref": "#/definitions/md.OneLineUserNode"
  1240. }
  1241. }
  1242. }
  1243. },
  1244. "md.NineDimensionalSpaceResp": {
  1245. "type": "object",
  1246. "properties": {
  1247. "a_lot_of_nums": {
  1248. "description": "全网至多用户数",
  1249. "type": "string"
  1250. },
  1251. "space_list": {
  1252. "description": "数据列表",
  1253. "type": "array",
  1254. "items": {
  1255. "$ref": "#/definitions/md.SpaceListNode"
  1256. }
  1257. },
  1258. "space_nums": {
  1259. "description": "空间人数",
  1260. "type": "string"
  1261. },
  1262. "space_total_nums": {
  1263. "description": "空间总数",
  1264. "type": "string"
  1265. }
  1266. }
  1267. },
  1268. "md.OneLineUserNode": {
  1269. "type": "object",
  1270. "properties": {
  1271. "avatar_url": {
  1272. "type": "string"
  1273. },
  1274. "invite_time": {
  1275. "type": "string"
  1276. },
  1277. "is_online": {
  1278. "type": "boolean"
  1279. },
  1280. "nickname": {
  1281. "type": "string"
  1282. }
  1283. }
  1284. },
  1285. "md.RealTimePriceResp": {
  1286. "type": "object",
  1287. "properties": {
  1288. "is_rises": {
  1289. "type": "boolean"
  1290. },
  1291. "now_price": {
  1292. "type": "string"
  1293. },
  1294. "rises": {
  1295. "type": "string"
  1296. },
  1297. "user_count": {
  1298. "type": "string"
  1299. }
  1300. }
  1301. },
  1302. "md.RegisterReq": {
  1303. "type": "object",
  1304. "required": [
  1305. "mobile"
  1306. ],
  1307. "properties": {
  1308. "avatar": {
  1309. "type": "string",
  1310. "example": "头像"
  1311. },
  1312. "code": {
  1313. "type": "string",
  1314. "example": "验证码"
  1315. },
  1316. "invite_code": {
  1317. "type": "string",
  1318. "example": "邀请码"
  1319. },
  1320. "mobile": {
  1321. "type": "string"
  1322. },
  1323. "nickname": {
  1324. "type": "string",
  1325. "example": "昵称"
  1326. },
  1327. "open_id": {
  1328. "type": "string",
  1329. "example": "微信openId"
  1330. },
  1331. "sex": {
  1332. "description": "性别(0:未知 1:男 2:女)",
  1333. "type": "integer"
  1334. },
  1335. "type": {
  1336. "type": "string",
  1337. "example": "app:APP注册、h5:H5注册"
  1338. },
  1339. "union_id": {
  1340. "type": "string",
  1341. "example": "微信UnionId"
  1342. }
  1343. }
  1344. },
  1345. "md.Response": {
  1346. "type": "object",
  1347. "properties": {
  1348. "code": {
  1349. "type": "string",
  1350. "example": "响应码"
  1351. },
  1352. "data": {
  1353. "description": "内容"
  1354. },
  1355. "msg": {
  1356. "type": "string",
  1357. "example": "具体错误原因"
  1358. }
  1359. }
  1360. },
  1361. "md.SmsSendReq": {
  1362. "type": "object",
  1363. "required": [
  1364. "mobile"
  1365. ],
  1366. "properties": {
  1367. "captcha_output": {
  1368. "type": "string",
  1369. "example": "阿里云图形验证码对应参数"
  1370. },
  1371. "gen_time": {
  1372. "type": "string",
  1373. "example": "阿里云图形验证码对应参数"
  1374. },
  1375. "lot_number": {
  1376. "type": "string",
  1377. "example": "阿里云图形验证码对应参数"
  1378. },
  1379. "mobile": {
  1380. "type": "string"
  1381. },
  1382. "pass_token": {
  1383. "type": "string",
  1384. "example": "阿里云图形验证码对应参数"
  1385. },
  1386. "type": {
  1387. "type": "string",
  1388. "example": "h5Register:h5注册页、wechatBindPhone:微信绑定手机、login:登陆、findPwd:找回密码、changePwd:修改密码"
  1389. }
  1390. }
  1391. },
  1392. "md.SpaceListNode": {
  1393. "type": "object",
  1394. "properties": {
  1395. "max_count": {
  1396. "description": "最大容纳人数",
  1397. "type": "string"
  1398. },
  1399. "name": {
  1400. "description": "维度",
  1401. "type": "string"
  1402. },
  1403. "now_count": {
  1404. "description": "当前人数",
  1405. "type": "string"
  1406. }
  1407. }
  1408. },
  1409. "md.TotalRateResp": {
  1410. "type": "object",
  1411. "properties": {
  1412. "consumed_personal_egg_point": {
  1413. "description": "消耗个人蛋蛋积分",
  1414. "type": "string"
  1415. },
  1416. "consumed_team_egg_point": {
  1417. "description": "消耗团队蛋蛋积分",
  1418. "type": "string"
  1419. },
  1420. "now_basal_rate": {
  1421. "description": "当前基础速率/小时",
  1422. "type": "string"
  1423. },
  1424. "now_team_rate": {
  1425. "description": "当前团队速率/小时",
  1426. "type": "string"
  1427. },
  1428. "now_total_rate": {
  1429. "description": "总速率/小时",
  1430. "type": "string"
  1431. }
  1432. }
  1433. },
  1434. "md.TransferTypeList": {
  1435. "type": "object",
  1436. "properties": {
  1437. "available_integral_list": {
  1438. "description": "可用积分列表",
  1439. "allOf": [
  1440. {
  1441. "$ref": "#/definitions/md.IntegralList"
  1442. }
  1443. ]
  1444. },
  1445. "settlement_integral_list": {
  1446. "description": "结算积分列表",
  1447. "allOf": [
  1448. {
  1449. "$ref": "#/definitions/md.IntegralList"
  1450. }
  1451. ]
  1452. }
  1453. }
  1454. },
  1455. "md.TransferTypeNode": {
  1456. "type": "object",
  1457. "properties": {
  1458. "name": {
  1459. "type": "string"
  1460. },
  1461. "value": {
  1462. "type": "string"
  1463. }
  1464. }
  1465. },
  1466. "md.UserInfoResp": {
  1467. "type": "object",
  1468. "properties": {
  1469. "invite_code": {
  1470. "type": "string"
  1471. },
  1472. "is_bind_extend": {
  1473. "type": "string",
  1474. "example": "是否绑定了上级 0否 1是"
  1475. },
  1476. "nickname": {
  1477. "type": "string"
  1478. },
  1479. "phone": {
  1480. "type": "string"
  1481. }
  1482. }
  1483. }
  1484. }
  1485. }`
  1486. // SwaggerInfo holds exported Swagger Info so clients can modify it
  1487. var SwaggerInfo = &swag.Spec{
  1488. Version: "1.0",
  1489. Host: "ddxq.izhim.com",
  1490. BasePath: "/api/v1",
  1491. Schemes: []string{},
  1492. Title: "蛋蛋星球-APP客户端",
  1493. Description: "APP客户端-Api接口",
  1494. InfoInstanceName: "swagger",
  1495. SwaggerTemplate: docTemplate,
  1496. LeftDelim: "{{",
  1497. RightDelim: "}}",
  1498. }
  1499. func init() {
  1500. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  1501. }