蛋蛋星球-客户端
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

1400 wiersze
46 KiB

  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "APP客户端-Api接口",
  5. "title": "蛋蛋星球-APP客户端",
  6. "termsOfService": "http://swagger.io/terms/",
  7. "contact": {
  8. "name": "dengbiao",
  9. "url": "http://www.swagger.io/support",
  10. "email": "1239118001@qq.com"
  11. },
  12. "license": {
  13. "name": "Apache 2.0",
  14. "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
  15. },
  16. "version": "1.0"
  17. },
  18. "host": "ddxq.izhim.com",
  19. "basePath": "/api/v1",
  20. "paths": {
  21. "/api/v1/addFriend/basalRate": {
  22. "get": {
  23. "description": "基础速率(获取)",
  24. "consumes": [
  25. "application/json"
  26. ],
  27. "produces": [
  28. "application/json"
  29. ],
  30. "tags": [
  31. "添加好友"
  32. ],
  33. "summary": "蛋蛋星球-添加好友-基础速率(获取)",
  34. "parameters": [
  35. {
  36. "type": "string",
  37. "description": "验证参数Bearer和token空格拼接",
  38. "name": "Authorization",
  39. "in": "header",
  40. "required": true
  41. }
  42. ],
  43. "responses": {
  44. "200": {
  45. "description": "具体数据",
  46. "schema": {
  47. "$ref": "#/definitions/md.BasalRateResp"
  48. }
  49. },
  50. "400": {
  51. "description": "具体错误",
  52. "schema": {
  53. "$ref": "#/definitions/md.Response"
  54. }
  55. }
  56. }
  57. }
  58. },
  59. "/api/v1/addFriend/eggEnergyDetails": {
  60. "post": {
  61. "description": "蛋蛋能量明细(获取)",
  62. "consumes": [
  63. "application/json"
  64. ],
  65. "produces": [
  66. "application/json"
  67. ],
  68. "tags": [
  69. "添加好友"
  70. ],
  71. "summary": "蛋蛋星球-添加好友-蛋蛋能量明细(获取)",
  72. "parameters": [
  73. {
  74. "type": "string",
  75. "description": "验证参数Bearer和token空格拼接",
  76. "name": "Authorization",
  77. "in": "header",
  78. "required": true
  79. },
  80. {
  81. "description": "分页类型必填",
  82. "name": "req",
  83. "in": "body",
  84. "required": true,
  85. "schema": {
  86. "$ref": "#/definitions/md.EggEnergyDetailReq"
  87. }
  88. }
  89. ],
  90. "responses": {
  91. "200": {
  92. "description": "具体数据",
  93. "schema": {
  94. "$ref": "#/definitions/md.EggEnergyDetailResp"
  95. }
  96. },
  97. "400": {
  98. "description": "具体错误",
  99. "schema": {
  100. "$ref": "#/definitions/md.Response"
  101. }
  102. }
  103. }
  104. }
  105. },
  106. "/api/v1/addFriend/eggPointDetails": {
  107. "post": {
  108. "description": "蛋蛋积分明细(获取)",
  109. "consumes": [
  110. "application/json"
  111. ],
  112. "produces": [
  113. "application/json"
  114. ],
  115. "tags": [
  116. "添加好友"
  117. ],
  118. "summary": "蛋蛋星球-添加好友-蛋蛋积分明细(获取)",
  119. "parameters": [
  120. {
  121. "type": "string",
  122. "description": "验证参数Bearer和token空格拼接",
  123. "name": "Authorization",
  124. "in": "header",
  125. "required": true
  126. },
  127. {
  128. "description": "分页类型必填",
  129. "name": "req",
  130. "in": "body",
  131. "required": true,
  132. "schema": {
  133. "$ref": "#/definitions/md.EggPointDetailsReq"
  134. }
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "具体数据",
  140. "schema": {
  141. "$ref": "#/definitions/md.EggPointDetailsResp"
  142. }
  143. },
  144. "400": {
  145. "description": "具体错误",
  146. "schema": {
  147. "$ref": "#/definitions/md.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/api/v1/addFriend/myFans": {
  154. "get": {
  155. "description": "团队加速速率(获取)",
  156. "consumes": [
  157. "application/json"
  158. ],
  159. "produces": [
  160. "application/json"
  161. ],
  162. "tags": [
  163. "添加好友"
  164. ],
  165. "summary": "蛋蛋星球-添加好友-粉丝团队-我的粉丝-团队加速速率(获取)",
  166. "parameters": [
  167. {
  168. "type": "string",
  169. "description": "验证参数Bearer和token空格拼接",
  170. "name": "Authorization",
  171. "in": "header",
  172. "required": true
  173. }
  174. ],
  175. "responses": {
  176. "200": {
  177. "description": "具体数据",
  178. "schema": {
  179. "$ref": "#/definitions/md.MyFansResp"
  180. }
  181. },
  182. "400": {
  183. "description": "具体错误",
  184. "schema": {
  185. "$ref": "#/definitions/md.Response"
  186. }
  187. }
  188. }
  189. }
  190. },
  191. "/api/v1/addFriend/myFansUserList": {
  192. "get": {
  193. "description": "在线好友列表(获取)",
  194. "consumes": [
  195. "application/json"
  196. ],
  197. "produces": [
  198. "application/json"
  199. ],
  200. "tags": [
  201. "添加好友"
  202. ],
  203. "summary": "蛋蛋星球-添加好友-粉丝团队-我的粉丝-在线好友列表(获取)",
  204. "parameters": [
  205. {
  206. "type": "string",
  207. "description": "验证参数Bearer和token空格拼接",
  208. "name": "Authorization",
  209. "in": "header",
  210. "required": true
  211. }
  212. ],
  213. "responses": {
  214. "200": {
  215. "description": "具体数据",
  216. "schema": {
  217. "$ref": "#/definitions/md.MyFansUserListResp"
  218. }
  219. },
  220. "400": {
  221. "description": "具体错误",
  222. "schema": {
  223. "$ref": "#/definitions/md.Response"
  224. }
  225. }
  226. }
  227. }
  228. },
  229. "/api/v1/addFriend/nineDimensionalSpace": {
  230. "get": {
  231. "description": "九维空间(获取)",
  232. "consumes": [
  233. "application/json"
  234. ],
  235. "produces": [
  236. "application/json"
  237. ],
  238. "tags": [
  239. "添加好友"
  240. ],
  241. "summary": "蛋蛋星球-添加好友-粉丝团队-九维空间(获取)",
  242. "parameters": [
  243. {
  244. "type": "string",
  245. "description": "验证参数Bearer和token空格拼接",
  246. "name": "Authorization",
  247. "in": "header",
  248. "required": true
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "具体数据",
  254. "schema": {
  255. "$ref": "#/definitions/md.NineDimensionalSpaceResp"
  256. }
  257. },
  258. "400": {
  259. "description": "具体错误",
  260. "schema": {
  261. "$ref": "#/definitions/md.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/api/v1/addFriend/totalRate": {
  268. "get": {
  269. "description": "总速率(获取)",
  270. "consumes": [
  271. "application/json"
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "添加好友"
  278. ],
  279. "summary": "蛋蛋星球-添加好友-总速率(获取)",
  280. "parameters": [
  281. {
  282. "type": "string",
  283. "description": "验证参数Bearer和token空格拼接",
  284. "name": "Authorization",
  285. "in": "header",
  286. "required": true
  287. }
  288. ],
  289. "responses": {
  290. "200": {
  291. "description": "具体数据",
  292. "schema": {
  293. "$ref": "#/definitions/md.TotalRateResp"
  294. }
  295. },
  296. "400": {
  297. "description": "具体错误",
  298. "schema": {
  299. "$ref": "#/definitions/md.Response"
  300. }
  301. }
  302. }
  303. }
  304. },
  305. "/api/v1/comm/getOssUrl": {
  306. "get": {
  307. "description": "上传许可链接(获取)",
  308. "consumes": [
  309. "application/json"
  310. ],
  311. "produces": [
  312. "application/json"
  313. ],
  314. "tags": [
  315. "对象存储"
  316. ],
  317. "summary": "通用请求-对象存储-上传许可链接(获取)",
  318. "parameters": [
  319. {
  320. "type": "string",
  321. "description": "验证参数Bearer和token空格拼接",
  322. "name": "Authorization",
  323. "in": "header",
  324. "required": true
  325. }
  326. ],
  327. "responses": {
  328. "200": {
  329. "description": "许可链接",
  330. "schema": {
  331. "type": "string"
  332. }
  333. },
  334. "400": {
  335. "description": "具体错误",
  336. "schema": {
  337. "$ref": "#/definitions/md.Response"
  338. }
  339. }
  340. }
  341. }
  342. },
  343. "/api/v1/fastLogin": {
  344. "post": {
  345. "description": "一键登录",
  346. "consumes": [
  347. "application/json"
  348. ],
  349. "produces": [
  350. "application/json"
  351. ],
  352. "tags": [
  353. "一键登录"
  354. ],
  355. "summary": "一键登录",
  356. "parameters": [
  357. {
  358. "description": "注册参数",
  359. "name": "req",
  360. "in": "body",
  361. "required": true,
  362. "schema": {
  363. "$ref": "#/definitions/md.FastLoginReq"
  364. }
  365. }
  366. ],
  367. "responses": {
  368. "200": {
  369. "description": "登录成功返回",
  370. "schema": {
  371. "$ref": "#/definitions/md.LoginResponse"
  372. }
  373. },
  374. "400": {
  375. "description": "具体错误",
  376. "schema": {
  377. "$ref": "#/definitions/md.Response"
  378. }
  379. }
  380. }
  381. }
  382. },
  383. "/api/v1/homePage/adRule": {
  384. "get": {
  385. "description": "视频奖励规则(获取)",
  386. "consumes": [
  387. "application/json"
  388. ],
  389. "produces": [
  390. "application/json"
  391. ],
  392. "tags": [
  393. "主页"
  394. ],
  395. "summary": "蛋蛋星球-主页-视频奖励规则(获取)",
  396. "parameters": [
  397. {
  398. "type": "string",
  399. "description": "验证参数Bearer和token空格拼接",
  400. "name": "Authorization",
  401. "in": "header",
  402. "required": true
  403. }
  404. ],
  405. "responses": {
  406. "200": {
  407. "description": "具体数据",
  408. "schema": {
  409. "$ref": "#/definitions/md.HomePageWatchAdRuleResp"
  410. }
  411. },
  412. "400": {
  413. "description": "具体错误",
  414. "schema": {
  415. "$ref": "#/definitions/md.Response"
  416. }
  417. }
  418. }
  419. }
  420. },
  421. "/api/v1/homePage/index": {
  422. "get": {
  423. "description": "基础信息(获取)",
  424. "consumes": [
  425. "application/json"
  426. ],
  427. "produces": [
  428. "application/json"
  429. ],
  430. "tags": [
  431. "主页"
  432. ],
  433. "summary": "蛋蛋星球-主页-基础信息(获取)",
  434. "parameters": [
  435. {
  436. "type": "string",
  437. "description": "验证参数Bearer和token空格拼接",
  438. "name": "Authorization",
  439. "in": "header",
  440. "required": true
  441. }
  442. ],
  443. "responses": {
  444. "200": {
  445. "description": "具体数据",
  446. "schema": {
  447. "$ref": "#/definitions/md.HomePageResp"
  448. }
  449. },
  450. "400": {
  451. "description": "具体错误",
  452. "schema": {
  453. "$ref": "#/definitions/md.Response"
  454. }
  455. }
  456. }
  457. }
  458. },
  459. "/api/v1/homePage/isCanGetRedPackage": {
  460. "get": {
  461. "description": "是否可以领取红包(获取)",
  462. "consumes": [
  463. "application/json"
  464. ],
  465. "produces": [
  466. "application/json"
  467. ],
  468. "tags": [
  469. "主页"
  470. ],
  471. "summary": "蛋蛋星球-主页-是否领取红包(获取)",
  472. "parameters": [
  473. {
  474. "type": "string",
  475. "description": "验证参数Bearer和token空格拼接",
  476. "name": "Authorization",
  477. "in": "header",
  478. "required": true
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "具体数据",
  484. "schema": {
  485. "$ref": "#/definitions/md.IsCanGetRedPackageResp"
  486. }
  487. },
  488. "400": {
  489. "description": "具体错误",
  490. "schema": {
  491. "$ref": "#/definitions/md.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/api/v1/homePage/isCanSignIn": {
  498. "get": {
  499. "description": "是否可以签到(获取)",
  500. "consumes": [
  501. "application/json"
  502. ],
  503. "produces": [
  504. "application/json"
  505. ],
  506. "tags": [
  507. "主页"
  508. ],
  509. "summary": "蛋蛋星球-主页-是否能签到(获取)",
  510. "parameters": [
  511. {
  512. "type": "string",
  513. "description": "验证参数Bearer和token空格拼接",
  514. "name": "Authorization",
  515. "in": "header",
  516. "required": true
  517. }
  518. ],
  519. "responses": {
  520. "200": {
  521. "description": "具体数据",
  522. "schema": {
  523. "$ref": "#/definitions/md.IsCanSignInResp"
  524. }
  525. },
  526. "400": {
  527. "description": "具体错误",
  528. "schema": {
  529. "$ref": "#/definitions/md.Response"
  530. }
  531. }
  532. }
  533. }
  534. },
  535. "/api/v1/homePage/realTimePrice": {
  536. "get": {
  537. "description": "实时数据(获取)",
  538. "consumes": [
  539. "application/json"
  540. ],
  541. "produces": [
  542. "application/json"
  543. ],
  544. "tags": [
  545. "主页"
  546. ],
  547. "summary": "蛋蛋星球-主页-实时数据(获取)",
  548. "parameters": [
  549. {
  550. "type": "string",
  551. "description": "验证参数Bearer和token空格拼接",
  552. "name": "Authorization",
  553. "in": "header",
  554. "required": true
  555. }
  556. ],
  557. "responses": {
  558. "200": {
  559. "description": "具体数据",
  560. "schema": {
  561. "$ref": "#/definitions/md.RealTimePriceResp"
  562. }
  563. },
  564. "400": {
  565. "description": "具体错误",
  566. "schema": {
  567. "$ref": "#/definitions/md.Response"
  568. }
  569. }
  570. }
  571. }
  572. },
  573. "/api/v1/login": {
  574. "post": {
  575. "description": "登入",
  576. "consumes": [
  577. "application/json"
  578. ],
  579. "produces": [
  580. "application/json"
  581. ],
  582. "tags": [
  583. "登录"
  584. ],
  585. "summary": "登陆",
  586. "parameters": [
  587. {
  588. "description": "用户名密码",
  589. "name": "req",
  590. "in": "body",
  591. "required": true,
  592. "schema": {
  593. "$ref": "#/definitions/md.LoginReq"
  594. }
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "token",
  600. "schema": {
  601. "$ref": "#/definitions/md.LoginResponse"
  602. }
  603. },
  604. "400": {
  605. "description": "具体错误",
  606. "schema": {
  607. "$ref": "#/definitions/md.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/api/v1/register": {
  614. "post": {
  615. "description": "注册",
  616. "consumes": [
  617. "application/json"
  618. ],
  619. "produces": [
  620. "application/json"
  621. ],
  622. "tags": [
  623. "注册"
  624. ],
  625. "summary": "注册",
  626. "parameters": [
  627. {
  628. "description": "注册参数",
  629. "name": "req",
  630. "in": "body",
  631. "required": true,
  632. "schema": {
  633. "$ref": "#/definitions/md.RegisterReq"
  634. }
  635. }
  636. ],
  637. "responses": {
  638. "200": {
  639. "description": "登录成功返回",
  640. "schema": {
  641. "$ref": "#/definitions/md.LoginResponse"
  642. }
  643. },
  644. "400": {
  645. "description": "具体错误",
  646. "schema": {
  647. "$ref": "#/definitions/md.Response"
  648. }
  649. }
  650. }
  651. }
  652. },
  653. "/api/v1/smsSend": {
  654. "post": {
  655. "description": "发送短信",
  656. "consumes": [
  657. "application/json"
  658. ],
  659. "produces": [
  660. "application/json"
  661. ],
  662. "tags": [
  663. "发送短信"
  664. ],
  665. "summary": "发送短信",
  666. "parameters": [
  667. {
  668. "description": "注册参数",
  669. "name": "req",
  670. "in": "body",
  671. "required": true,
  672. "schema": {
  673. "$ref": "#/definitions/md.SmsSendReq"
  674. }
  675. }
  676. ],
  677. "responses": {
  678. "200": {
  679. "description": "成功返回",
  680. "schema": {
  681. "type": "string"
  682. }
  683. },
  684. "400": {
  685. "description": "具体错误",
  686. "schema": {
  687. "$ref": "#/definitions/md.Response"
  688. }
  689. }
  690. }
  691. }
  692. },
  693. "/api/v1/test": {
  694. "get": {
  695. "description": "Demo样例测试",
  696. "consumes": [
  697. "application/json"
  698. ],
  699. "produces": [
  700. "application/json"
  701. ],
  702. "tags": [
  703. "Demo"
  704. ],
  705. "summary": "Demo测试",
  706. "parameters": [
  707. {
  708. "description": "任意参数",
  709. "name": "req",
  710. "in": "body",
  711. "required": true,
  712. "schema": {
  713. "type": "object"
  714. }
  715. }
  716. ],
  717. "responses": {
  718. "200": {
  719. "description": "返回任意参数",
  720. "schema": {
  721. "type": "object",
  722. "additionalProperties": true
  723. }
  724. },
  725. "400": {
  726. "description": "具体错误",
  727. "schema": {
  728. "$ref": "#/definitions/md.Response"
  729. }
  730. }
  731. }
  732. }
  733. },
  734. "/api/v1/userInfo": {
  735. "get": {
  736. "description": "用户信息",
  737. "consumes": [
  738. "application/json"
  739. ],
  740. "produces": [
  741. "application/json"
  742. ],
  743. "tags": [
  744. "用户信息"
  745. ],
  746. "summary": "用户信息",
  747. "parameters": [
  748. {
  749. "type": "string",
  750. "description": "验证参数Bearer和token空格拼接",
  751. "name": "Authorization",
  752. "in": "header",
  753. "required": true
  754. }
  755. ],
  756. "responses": {
  757. "200": {
  758. "description": "具体数据",
  759. "schema": {
  760. "$ref": "#/definitions/md.UserInfoResp"
  761. }
  762. },
  763. "400": {
  764. "description": "具体错误",
  765. "schema": {
  766. "$ref": "#/definitions/md.Response"
  767. }
  768. }
  769. }
  770. }
  771. }
  772. },
  773. "definitions": {
  774. "applet_app_md.Paginate": {
  775. "type": "object",
  776. "properties": {
  777. "limit": {
  778. "description": "每页大小",
  779. "type": "integer"
  780. },
  781. "page": {
  782. "description": "页数",
  783. "type": "integer"
  784. },
  785. "total": {
  786. "description": "总数据量",
  787. "type": "integer"
  788. }
  789. }
  790. },
  791. "md.BasalRateResp": {
  792. "type": "object",
  793. "properties": {
  794. "basal_rate": {
  795. "description": "基础速率",
  796. "type": "string"
  797. },
  798. "consumed_egg_energy": {
  799. "description": "收益蛋蛋能量",
  800. "type": "string"
  801. },
  802. "consumed_egg_point": {
  803. "description": "消耗蛋蛋积分",
  804. "type": "string"
  805. },
  806. "consumed_time": {
  807. "description": "消耗时间/小时",
  808. "type": "string"
  809. },
  810. "estimated_revenue": {
  811. "description": "预估收益蛋蛋能量",
  812. "type": "string"
  813. },
  814. "remaining_egg_energy": {
  815. "description": "剩余蛋蛋能量",
  816. "type": "string"
  817. },
  818. "remaining_time": {
  819. "description": "剩余时间/小时",
  820. "type": "string"
  821. },
  822. "sign_countdown": {
  823. "description": "收益倒计时",
  824. "type": "string"
  825. }
  826. }
  827. },
  828. "md.EggEnergyDetailReq": {
  829. "type": "object",
  830. "properties": {
  831. "asc": {
  832. "description": "1.升序 2.倒序",
  833. "type": "string"
  834. },
  835. "direction": {
  836. "description": "类型 1.收入 2.支出 全部则传空",
  837. "type": "string"
  838. },
  839. "kind": {
  840. "description": "类型:1. 个人蛋蛋能量 2.团队蛋蛋能量",
  841. "type": "string"
  842. },
  843. "limit": {
  844. "description": "每页大小",
  845. "type": "integer"
  846. },
  847. "page": {
  848. "description": "页数",
  849. "type": "integer"
  850. },
  851. "type": {
  852. "description": "变动类型 全部则传空",
  853. "type": "string"
  854. }
  855. }
  856. },
  857. "md.EggEnergyDetailResp": {
  858. "type": "object",
  859. "properties": {
  860. "list": {
  861. "description": "流水数据",
  862. "type": "array",
  863. "items": {
  864. "type": "object",
  865. "additionalProperties": {
  866. "type": "string"
  867. }
  868. }
  869. },
  870. "paginate": {
  871. "description": "分页信息",
  872. "allOf": [
  873. {
  874. "$ref": "#/definitions/applet_app_md.Paginate"
  875. }
  876. ]
  877. },
  878. "person_egg_energy": {
  879. "description": "个人蛋蛋能量",
  880. "type": "string"
  881. },
  882. "team_egg_energy": {
  883. "description": "团队蛋蛋能量",
  884. "type": "string"
  885. },
  886. "total_egg_energy": {
  887. "description": "总蛋蛋能量",
  888. "type": "string"
  889. },
  890. "total_egg_energy_price": {
  891. "description": "蛋蛋能量总价",
  892. "type": "string"
  893. },
  894. "transfer_type_list": {
  895. "description": "转账类型列表",
  896. "allOf": [
  897. {
  898. "$ref": "#/definitions/md.TransferTypeList"
  899. }
  900. ]
  901. }
  902. }
  903. },
  904. "md.EggPointDetailsReq": {
  905. "type": "object",
  906. "properties": {
  907. "asc": {
  908. "description": "1.升序 2.倒序",
  909. "type": "string"
  910. },
  911. "direction": {
  912. "description": "类型 1.收入 2.支出 全部则传空",
  913. "type": "string"
  914. },
  915. "kind": {
  916. "description": "类型:1. 个人蛋蛋积分 2.团队蛋蛋积分",
  917. "type": "string"
  918. },
  919. "limit": {
  920. "description": "每页大小",
  921. "type": "integer"
  922. },
  923. "page": {
  924. "description": "页数",
  925. "type": "integer"
  926. },
  927. "type": {
  928. "description": "变动类型 全部则传空",
  929. "type": "string"
  930. }
  931. }
  932. },
  933. "md.EggPointDetailsResp": {
  934. "type": "object",
  935. "properties": {
  936. "list": {
  937. "description": "流水数据",
  938. "type": "array",
  939. "items": {
  940. "type": "object",
  941. "additionalProperties": {
  942. "type": "string"
  943. }
  944. }
  945. },
  946. "paginate": {
  947. "description": "分页信息",
  948. "allOf": [
  949. {
  950. "$ref": "#/definitions/applet_app_md.Paginate"
  951. }
  952. ]
  953. },
  954. "person_egg_points": {
  955. "description": "个人蛋蛋积分",
  956. "type": "string"
  957. },
  958. "team_egg_points": {
  959. "description": "团队蛋蛋积分",
  960. "type": "string"
  961. },
  962. "total_egg_points": {
  963. "description": "总蛋蛋积分",
  964. "type": "string"
  965. },
  966. "total_egg_points_amount": {
  967. "description": "蛋蛋积分余额",
  968. "type": "string"
  969. },
  970. "transfer_type_list": {
  971. "description": "转账类型列表",
  972. "allOf": [
  973. {
  974. "$ref": "#/definitions/md.TransferTypeList"
  975. }
  976. ]
  977. }
  978. }
  979. },
  980. "md.FastLoginReq": {
  981. "type": "object",
  982. "properties": {
  983. "invite_code": {
  984. "type": "string",
  985. "example": "邀请码"
  986. },
  987. "token": {
  988. "type": "string",
  989. "example": "一键登录的token"
  990. }
  991. }
  992. },
  993. "md.HomePageResp": {
  994. "type": "object",
  995. "properties": {
  996. "egg_energy_now_price": {
  997. "description": "蛋蛋能量当前价格",
  998. "type": "string"
  999. },
  1000. "initial_price": {
  1001. "description": "蛋蛋能量初始价格",
  1002. "type": "string"
  1003. },
  1004. "is_rises": {
  1005. "description": "是否涨价",
  1006. "type": "boolean"
  1007. },
  1008. "is_sign": {
  1009. "description": "是否开始签到",
  1010. "type": "boolean"
  1011. },
  1012. "nick_name": {
  1013. "description": "用户名称",
  1014. "type": "string"
  1015. },
  1016. "now_basal_rate": {
  1017. "description": "当前基础速率/小时",
  1018. "type": "string"
  1019. },
  1020. "now_team_rate": {
  1021. "description": "当前团队速率/小时",
  1022. "type": "string"
  1023. },
  1024. "rises": {
  1025. "description": "涨/跌价百分比",
  1026. "type": "string"
  1027. },
  1028. "sign_end_time": {
  1029. "description": "签到截止时间",
  1030. "type": "string"
  1031. },
  1032. "total_active_points": {
  1033. "description": "总蛋蛋积分",
  1034. "type": "string"
  1035. },
  1036. "total_egg_energy": {
  1037. "description": "总蛋蛋能量",
  1038. "type": "string"
  1039. },
  1040. "user_count": {
  1041. "description": "当前用户数量",
  1042. "type": "integer"
  1043. }
  1044. }
  1045. },
  1046. "md.HomePageWatchAdRuleResp": {
  1047. "type": "object",
  1048. "properties": {
  1049. "each_round_hour": {
  1050. "description": "每一轮X个小时",
  1051. "type": "string"
  1052. },
  1053. "interval_minutes": {
  1054. "description": "间隔X秒",
  1055. "type": "string"
  1056. },
  1057. "reward_total_num": {
  1058. "description": "一共X个奖励视屏",
  1059. "type": "string"
  1060. },
  1061. "reward_value": {
  1062. "description": "奖励X个活跃积分",
  1063. "type": "string"
  1064. }
  1065. }
  1066. },
  1067. "md.IntegralList": {
  1068. "type": "object",
  1069. "properties": {
  1070. "expend_list": {
  1071. "description": "支出类型列表",
  1072. "type": "array",
  1073. "items": {
  1074. "$ref": "#/definitions/md.TransferTypeNode"
  1075. }
  1076. },
  1077. "income_list": {
  1078. "description": "收入类型列表",
  1079. "type": "array",
  1080. "items": {
  1081. "$ref": "#/definitions/md.TransferTypeNode"
  1082. }
  1083. }
  1084. }
  1085. },
  1086. "md.IsCanGetRedPackageResp": {
  1087. "type": "object",
  1088. "properties": {
  1089. "is_can_get_red_package": {
  1090. "type": "boolean"
  1091. }
  1092. }
  1093. },
  1094. "md.IsCanSignInResp": {
  1095. "type": "object",
  1096. "properties": {
  1097. "is_can_sign_in": {
  1098. "type": "boolean"
  1099. }
  1100. }
  1101. },
  1102. "md.LoginReq": {
  1103. "type": "object",
  1104. "required": [
  1105. "password",
  1106. "phone"
  1107. ],
  1108. "properties": {
  1109. "code": {
  1110. "type": "string",
  1111. "example": "验证码"
  1112. },
  1113. "password": {
  1114. "type": "string",
  1115. "example": "登录密码"
  1116. },
  1117. "phone": {
  1118. "type": "string",
  1119. "example": "手机号"
  1120. }
  1121. }
  1122. },
  1123. "md.LoginResponse": {
  1124. "type": "object",
  1125. "properties": {
  1126. "token": {
  1127. "type": "string"
  1128. }
  1129. }
  1130. },
  1131. "md.MyFansResp": {
  1132. "type": "object",
  1133. "properties": {
  1134. "now_team_assistance_num": {
  1135. "description": "团队助力人数",
  1136. "type": "integer"
  1137. },
  1138. "now_team_assistance_reward": {
  1139. "description": "团队助力收益",
  1140. "type": "string"
  1141. },
  1142. "now_team_user": {
  1143. "description": "团队人数",
  1144. "type": "integer"
  1145. }
  1146. }
  1147. },
  1148. "md.MyFansUserListResp": {
  1149. "type": "object",
  1150. "properties": {
  1151. "list": {
  1152. "type": "array",
  1153. "items": {
  1154. "$ref": "#/definitions/md.OneLineUserNode"
  1155. }
  1156. }
  1157. }
  1158. },
  1159. "md.NineDimensionalSpaceResp": {
  1160. "type": "object",
  1161. "properties": {
  1162. "a_lot_of_nums": {
  1163. "description": "全网至多用户数",
  1164. "type": "string"
  1165. },
  1166. "space_list": {
  1167. "description": "数据列表",
  1168. "type": "array",
  1169. "items": {
  1170. "$ref": "#/definitions/md.SpaceListNode"
  1171. }
  1172. },
  1173. "space_nums": {
  1174. "description": "空间人数",
  1175. "type": "string"
  1176. },
  1177. "space_total_nums": {
  1178. "description": "空间总数",
  1179. "type": "string"
  1180. }
  1181. }
  1182. },
  1183. "md.OneLineUserNode": {
  1184. "type": "object",
  1185. "properties": {
  1186. "avatar_url": {
  1187. "type": "string"
  1188. },
  1189. "invite_time": {
  1190. "type": "string"
  1191. },
  1192. "is_online": {
  1193. "type": "boolean"
  1194. },
  1195. "nickname": {
  1196. "type": "string"
  1197. }
  1198. }
  1199. },
  1200. "md.RealTimePriceResp": {
  1201. "type": "object",
  1202. "properties": {
  1203. "is_rises": {
  1204. "type": "boolean"
  1205. },
  1206. "now_price": {
  1207. "type": "string"
  1208. },
  1209. "rises": {
  1210. "type": "string"
  1211. },
  1212. "user_count": {
  1213. "type": "string"
  1214. }
  1215. }
  1216. },
  1217. "md.RegisterReq": {
  1218. "type": "object",
  1219. "required": [
  1220. "mobile"
  1221. ],
  1222. "properties": {
  1223. "avatar": {
  1224. "type": "string",
  1225. "example": "头像"
  1226. },
  1227. "code": {
  1228. "type": "string",
  1229. "example": "验证码"
  1230. },
  1231. "invite_code": {
  1232. "type": "string",
  1233. "example": "邀请码"
  1234. },
  1235. "mobile": {
  1236. "type": "string"
  1237. },
  1238. "nickname": {
  1239. "type": "string",
  1240. "example": "昵称"
  1241. },
  1242. "open_id": {
  1243. "type": "string",
  1244. "example": "微信openId"
  1245. },
  1246. "sex": {
  1247. "description": "性别(0:未知 1:男 2:女)",
  1248. "type": "integer"
  1249. },
  1250. "type": {
  1251. "type": "string",
  1252. "example": "app:APP注册、h5:H5注册"
  1253. },
  1254. "union_id": {
  1255. "type": "string",
  1256. "example": "微信UnionId"
  1257. }
  1258. }
  1259. },
  1260. "md.Response": {
  1261. "type": "object",
  1262. "properties": {
  1263. "code": {
  1264. "type": "string",
  1265. "example": "响应码"
  1266. },
  1267. "data": {
  1268. "description": "内容"
  1269. },
  1270. "msg": {
  1271. "type": "string",
  1272. "example": "具体错误原因"
  1273. }
  1274. }
  1275. },
  1276. "md.SmsSendReq": {
  1277. "type": "object",
  1278. "required": [
  1279. "mobile"
  1280. ],
  1281. "properties": {
  1282. "captcha_output": {
  1283. "type": "string",
  1284. "example": "阿里云图形验证码对应参数"
  1285. },
  1286. "gen_time": {
  1287. "type": "string",
  1288. "example": "阿里云图形验证码对应参数"
  1289. },
  1290. "lot_number": {
  1291. "type": "string",
  1292. "example": "阿里云图形验证码对应参数"
  1293. },
  1294. "mobile": {
  1295. "type": "string"
  1296. },
  1297. "pass_token": {
  1298. "type": "string",
  1299. "example": "阿里云图形验证码对应参数"
  1300. },
  1301. "type": {
  1302. "type": "string",
  1303. "example": "h5Register:h5注册页、wechatBindPhone:微信绑定手机、login:登陆、findPwd:找回密码、changePwd:修改密码"
  1304. }
  1305. }
  1306. },
  1307. "md.SpaceListNode": {
  1308. "type": "object",
  1309. "properties": {
  1310. "max_count": {
  1311. "description": "最大容纳人数",
  1312. "type": "string"
  1313. },
  1314. "name": {
  1315. "description": "维度",
  1316. "type": "string"
  1317. },
  1318. "now_count": {
  1319. "description": "当前人数",
  1320. "type": "string"
  1321. }
  1322. }
  1323. },
  1324. "md.TotalRateResp": {
  1325. "type": "object",
  1326. "properties": {
  1327. "consumed_personal_egg_point": {
  1328. "description": "消耗个人蛋蛋积分",
  1329. "type": "string"
  1330. },
  1331. "consumed_team_egg_point": {
  1332. "description": "消耗团队蛋蛋积分",
  1333. "type": "string"
  1334. },
  1335. "now_basal_rate": {
  1336. "description": "当前基础速率/小时",
  1337. "type": "string"
  1338. },
  1339. "now_team_rate": {
  1340. "description": "当前团队速率/小时",
  1341. "type": "string"
  1342. },
  1343. "now_total_rate": {
  1344. "description": "总速率/小时",
  1345. "type": "string"
  1346. }
  1347. }
  1348. },
  1349. "md.TransferTypeList": {
  1350. "type": "object",
  1351. "properties": {
  1352. "available_integral_list": {
  1353. "description": "可用积分列表",
  1354. "allOf": [
  1355. {
  1356. "$ref": "#/definitions/md.IntegralList"
  1357. }
  1358. ]
  1359. },
  1360. "settlement_integral_list": {
  1361. "description": "结算积分列表",
  1362. "allOf": [
  1363. {
  1364. "$ref": "#/definitions/md.IntegralList"
  1365. }
  1366. ]
  1367. }
  1368. }
  1369. },
  1370. "md.TransferTypeNode": {
  1371. "type": "object",
  1372. "properties": {
  1373. "name": {
  1374. "type": "string"
  1375. },
  1376. "value": {
  1377. "type": "string"
  1378. }
  1379. }
  1380. },
  1381. "md.UserInfoResp": {
  1382. "type": "object",
  1383. "properties": {
  1384. "invite_code": {
  1385. "type": "string"
  1386. },
  1387. "is_bind_extend": {
  1388. "type": "string",
  1389. "example": "是否绑定了上级 0否 1是"
  1390. },
  1391. "nickname": {
  1392. "type": "string"
  1393. },
  1394. "phone": {
  1395. "type": "string"
  1396. }
  1397. }
  1398. }
  1399. }
  1400. }