蛋蛋星球-客户端
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 

1481 líneas
49 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/memberCenter/getBasic": {
  614. "get": {
  615. "description": "基础数据(获取)",
  616. "consumes": [
  617. "application/json"
  618. ],
  619. "produces": [
  620. "application/json"
  621. ],
  622. "tags": [
  623. "会员中心"
  624. ],
  625. "summary": "蛋蛋星球-会员中心-基础数据(获取)",
  626. "parameters": [
  627. {
  628. "type": "string",
  629. "description": "验证参数Bearer和token空格拼接",
  630. "name": "Authorization",
  631. "in": "header",
  632. "required": true
  633. }
  634. ],
  635. "responses": {
  636. "200": {
  637. "description": "具体数据",
  638. "schema": {
  639. "$ref": "#/definitions/md.MemberCenterGetBasicResp"
  640. }
  641. },
  642. "400": {
  643. "description": "具体错误",
  644. "schema": {
  645. "$ref": "#/definitions/md.Response"
  646. }
  647. }
  648. }
  649. }
  650. },
  651. "/api/v1/register": {
  652. "post": {
  653. "description": "注册",
  654. "consumes": [
  655. "application/json"
  656. ],
  657. "produces": [
  658. "application/json"
  659. ],
  660. "tags": [
  661. "注册"
  662. ],
  663. "summary": "注册",
  664. "parameters": [
  665. {
  666. "description": "注册参数",
  667. "name": "req",
  668. "in": "body",
  669. "required": true,
  670. "schema": {
  671. "$ref": "#/definitions/md.RegisterReq"
  672. }
  673. }
  674. ],
  675. "responses": {
  676. "200": {
  677. "description": "登录成功返回",
  678. "schema": {
  679. "$ref": "#/definitions/md.LoginResponse"
  680. }
  681. },
  682. "400": {
  683. "description": "具体错误",
  684. "schema": {
  685. "$ref": "#/definitions/md.Response"
  686. }
  687. }
  688. }
  689. }
  690. },
  691. "/api/v1/smsSend": {
  692. "post": {
  693. "description": "发送短信",
  694. "consumes": [
  695. "application/json"
  696. ],
  697. "produces": [
  698. "application/json"
  699. ],
  700. "tags": [
  701. "发送短信"
  702. ],
  703. "summary": "发送短信",
  704. "parameters": [
  705. {
  706. "description": "注册参数",
  707. "name": "req",
  708. "in": "body",
  709. "required": true,
  710. "schema": {
  711. "$ref": "#/definitions/md.SmsSendReq"
  712. }
  713. }
  714. ],
  715. "responses": {
  716. "200": {
  717. "description": "成功返回",
  718. "schema": {
  719. "type": "string"
  720. }
  721. },
  722. "400": {
  723. "description": "具体错误",
  724. "schema": {
  725. "$ref": "#/definitions/md.Response"
  726. }
  727. }
  728. }
  729. }
  730. },
  731. "/api/v1/test": {
  732. "get": {
  733. "description": "Demo样例测试",
  734. "consumes": [
  735. "application/json"
  736. ],
  737. "produces": [
  738. "application/json"
  739. ],
  740. "tags": [
  741. "Demo"
  742. ],
  743. "summary": "Demo测试",
  744. "parameters": [
  745. {
  746. "description": "任意参数",
  747. "name": "req",
  748. "in": "body",
  749. "required": true,
  750. "schema": {}
  751. }
  752. ],
  753. "responses": {
  754. "200": {
  755. "description": "返回任意参数",
  756. "schema": {
  757. "type": "object",
  758. "additionalProperties": true
  759. }
  760. },
  761. "400": {
  762. "description": "具体错误",
  763. "schema": {
  764. "$ref": "#/definitions/md.Response"
  765. }
  766. }
  767. }
  768. }
  769. },
  770. "/api/v1/userInfo": {
  771. "get": {
  772. "description": "用户信息",
  773. "consumes": [
  774. "application/json"
  775. ],
  776. "produces": [
  777. "application/json"
  778. ],
  779. "tags": [
  780. "用户信息"
  781. ],
  782. "summary": "用户信息",
  783. "parameters": [
  784. {
  785. "type": "string",
  786. "description": "验证参数Bearer和token空格拼接",
  787. "name": "Authorization",
  788. "in": "header",
  789. "required": true
  790. }
  791. ],
  792. "responses": {
  793. "200": {
  794. "description": "具体数据",
  795. "schema": {
  796. "$ref": "#/definitions/md.UserInfoResp"
  797. }
  798. },
  799. "400": {
  800. "description": "具体错误",
  801. "schema": {
  802. "$ref": "#/definitions/md.Response"
  803. }
  804. }
  805. }
  806. }
  807. }
  808. },
  809. "definitions": {
  810. "applet_app_md.Paginate": {
  811. "type": "object",
  812. "properties": {
  813. "limit": {
  814. "description": "每页大小",
  815. "type": "integer"
  816. },
  817. "page": {
  818. "description": "页数",
  819. "type": "integer"
  820. },
  821. "total": {
  822. "description": "总数据量",
  823. "type": "integer"
  824. }
  825. }
  826. },
  827. "md.BasalRateResp": {
  828. "type": "object",
  829. "properties": {
  830. "basal_rate": {
  831. "description": "基础速率",
  832. "type": "string"
  833. },
  834. "consumed_egg_energy": {
  835. "description": "收益蛋蛋能量",
  836. "type": "string"
  837. },
  838. "consumed_egg_point": {
  839. "description": "消耗蛋蛋积分",
  840. "type": "string"
  841. },
  842. "consumed_time": {
  843. "description": "消耗时间/小时",
  844. "type": "string"
  845. },
  846. "estimated_revenue": {
  847. "description": "预估收益蛋蛋能量",
  848. "type": "string"
  849. },
  850. "remaining_egg_energy": {
  851. "description": "剩余蛋蛋能量",
  852. "type": "string"
  853. },
  854. "remaining_time": {
  855. "description": "剩余时间/小时",
  856. "type": "string"
  857. },
  858. "sign_countdown": {
  859. "description": "收益倒计时",
  860. "type": "string"
  861. }
  862. }
  863. },
  864. "md.EggEnergyDetailReq": {
  865. "type": "object",
  866. "properties": {
  867. "asc": {
  868. "description": "1.升序 2.倒序",
  869. "type": "string"
  870. },
  871. "direction": {
  872. "description": "类型 1.收入 2.支出 全部则传空",
  873. "type": "string"
  874. },
  875. "kind": {
  876. "description": "类型:1. 个人蛋蛋能量 2.团队蛋蛋能量",
  877. "type": "string"
  878. },
  879. "limit": {
  880. "description": "每页大小",
  881. "type": "integer"
  882. },
  883. "page": {
  884. "description": "页数",
  885. "type": "integer"
  886. },
  887. "type": {
  888. "description": "变动类型 全部则传空",
  889. "type": "string"
  890. }
  891. }
  892. },
  893. "md.EggEnergyDetailResp": {
  894. "type": "object",
  895. "properties": {
  896. "list": {
  897. "description": "流水数据",
  898. "type": "array",
  899. "items": {
  900. "type": "object",
  901. "additionalProperties": {
  902. "type": "string"
  903. }
  904. }
  905. },
  906. "paginate": {
  907. "description": "分页信息",
  908. "allOf": [
  909. {
  910. "$ref": "#/definitions/applet_app_md.Paginate"
  911. }
  912. ]
  913. },
  914. "person_egg_energy": {
  915. "description": "个人蛋蛋能量",
  916. "type": "string"
  917. },
  918. "team_egg_energy": {
  919. "description": "团队蛋蛋能量",
  920. "type": "string"
  921. },
  922. "total_egg_energy": {
  923. "description": "总蛋蛋能量",
  924. "type": "string"
  925. },
  926. "total_egg_energy_price": {
  927. "description": "蛋蛋能量总价",
  928. "type": "string"
  929. },
  930. "transfer_type_list": {
  931. "description": "转账类型列表",
  932. "allOf": [
  933. {
  934. "$ref": "#/definitions/md.TransferTypeList"
  935. }
  936. ]
  937. }
  938. }
  939. },
  940. "md.EggPointDetailsReq": {
  941. "type": "object",
  942. "properties": {
  943. "asc": {
  944. "description": "1.升序 2.倒序",
  945. "type": "string"
  946. },
  947. "direction": {
  948. "description": "类型 1.收入 2.支出 全部则传空",
  949. "type": "string"
  950. },
  951. "kind": {
  952. "description": "类型:1. 个人蛋蛋积分 2.团队蛋蛋积分",
  953. "type": "string"
  954. },
  955. "limit": {
  956. "description": "每页大小",
  957. "type": "integer"
  958. },
  959. "page": {
  960. "description": "页数",
  961. "type": "integer"
  962. },
  963. "type": {
  964. "description": "变动类型 全部则传空",
  965. "type": "string"
  966. }
  967. }
  968. },
  969. "md.EggPointDetailsResp": {
  970. "type": "object",
  971. "properties": {
  972. "list": {
  973. "description": "流水数据",
  974. "type": "array",
  975. "items": {
  976. "type": "object",
  977. "additionalProperties": {
  978. "type": "string"
  979. }
  980. }
  981. },
  982. "paginate": {
  983. "description": "分页信息",
  984. "allOf": [
  985. {
  986. "$ref": "#/definitions/applet_app_md.Paginate"
  987. }
  988. ]
  989. },
  990. "person_egg_points": {
  991. "description": "个人蛋蛋积分",
  992. "type": "string"
  993. },
  994. "team_egg_points": {
  995. "description": "团队蛋蛋积分",
  996. "type": "string"
  997. },
  998. "total_egg_points": {
  999. "description": "总蛋蛋积分",
  1000. "type": "string"
  1001. },
  1002. "total_egg_points_amount": {
  1003. "description": "蛋蛋积分余额",
  1004. "type": "string"
  1005. },
  1006. "transfer_type_list": {
  1007. "description": "转账类型列表",
  1008. "allOf": [
  1009. {
  1010. "$ref": "#/definitions/md.TransferTypeList"
  1011. }
  1012. ]
  1013. }
  1014. }
  1015. },
  1016. "md.FastLoginReq": {
  1017. "type": "object",
  1018. "properties": {
  1019. "invite_code": {
  1020. "type": "string",
  1021. "example": "邀请码"
  1022. },
  1023. "token": {
  1024. "type": "string",
  1025. "example": "一键登录的token"
  1026. }
  1027. }
  1028. },
  1029. "md.HomePageResp": {
  1030. "type": "object",
  1031. "properties": {
  1032. "egg_energy_now_price": {
  1033. "description": "蛋蛋能量当前价格",
  1034. "type": "string"
  1035. },
  1036. "initial_price": {
  1037. "description": "蛋蛋能量初始价格",
  1038. "type": "string"
  1039. },
  1040. "is_rises": {
  1041. "description": "是否涨价",
  1042. "type": "boolean"
  1043. },
  1044. "is_sign": {
  1045. "description": "是否开始签到",
  1046. "type": "boolean"
  1047. },
  1048. "nick_name": {
  1049. "description": "用户名称",
  1050. "type": "string"
  1051. },
  1052. "now_basal_rate": {
  1053. "description": "当前基础速率/小时",
  1054. "type": "string"
  1055. },
  1056. "now_team_rate": {
  1057. "description": "当前团队速率/小时",
  1058. "type": "string"
  1059. },
  1060. "rises": {
  1061. "description": "涨/跌价百分比",
  1062. "type": "string"
  1063. },
  1064. "sign_end_time": {
  1065. "description": "签到截止时间",
  1066. "type": "string"
  1067. },
  1068. "total_active_points": {
  1069. "description": "总蛋蛋积分",
  1070. "type": "string"
  1071. },
  1072. "total_egg_energy": {
  1073. "description": "总蛋蛋能量",
  1074. "type": "string"
  1075. },
  1076. "user_count": {
  1077. "description": "当前用户数量",
  1078. "type": "integer"
  1079. }
  1080. }
  1081. },
  1082. "md.HomePageWatchAdRuleResp": {
  1083. "type": "object",
  1084. "properties": {
  1085. "each_round_hour": {
  1086. "description": "每一轮X个小时",
  1087. "type": "string"
  1088. },
  1089. "interval_minutes": {
  1090. "description": "间隔X秒",
  1091. "type": "string"
  1092. },
  1093. "reward_total_num": {
  1094. "description": "一共X个奖励视屏",
  1095. "type": "string"
  1096. },
  1097. "reward_value": {
  1098. "description": "奖励X个活跃积分",
  1099. "type": "string"
  1100. }
  1101. }
  1102. },
  1103. "md.IntegralList": {
  1104. "type": "object",
  1105. "properties": {
  1106. "expend_list": {
  1107. "description": "支出类型列表",
  1108. "type": "array",
  1109. "items": {
  1110. "$ref": "#/definitions/md.TransferTypeNode"
  1111. }
  1112. },
  1113. "income_list": {
  1114. "description": "收入类型列表",
  1115. "type": "array",
  1116. "items": {
  1117. "$ref": "#/definitions/md.TransferTypeNode"
  1118. }
  1119. }
  1120. }
  1121. },
  1122. "md.IsCanGetRedPackageResp": {
  1123. "type": "object",
  1124. "properties": {
  1125. "is_can_get_red_package": {
  1126. "type": "boolean"
  1127. }
  1128. }
  1129. },
  1130. "md.IsCanSignInResp": {
  1131. "type": "object",
  1132. "properties": {
  1133. "is_can_sign_in": {
  1134. "type": "boolean"
  1135. }
  1136. }
  1137. },
  1138. "md.LoginReq": {
  1139. "type": "object",
  1140. "required": [
  1141. "password",
  1142. "phone"
  1143. ],
  1144. "properties": {
  1145. "code": {
  1146. "type": "string",
  1147. "example": "验证码"
  1148. },
  1149. "password": {
  1150. "type": "string",
  1151. "example": "登录密码"
  1152. },
  1153. "phone": {
  1154. "type": "string",
  1155. "example": "手机号"
  1156. }
  1157. }
  1158. },
  1159. "md.LoginResponse": {
  1160. "type": "object",
  1161. "properties": {
  1162. "token": {
  1163. "type": "string"
  1164. }
  1165. }
  1166. },
  1167. "md.MemberCenterGetBasicResp": {
  1168. "type": "object",
  1169. "properties": {
  1170. "active_num": {
  1171. "description": "活跃值",
  1172. "type": "string"
  1173. },
  1174. "amount": {
  1175. "description": "账户余额",
  1176. "type": "string"
  1177. },
  1178. "contribution_value": {
  1179. "description": "贡献值",
  1180. "type": "string"
  1181. },
  1182. "date": {
  1183. "description": "兑换时间(每月x日)",
  1184. "type": "string"
  1185. },
  1186. "egg_energy": {
  1187. "description": "能量值",
  1188. "type": "string"
  1189. },
  1190. "egg_energy_value": {
  1191. "description": "能量预估价值",
  1192. "type": "string"
  1193. },
  1194. "egg_score": {
  1195. "description": "蛋蛋分",
  1196. "type": "string"
  1197. },
  1198. "level_name": {
  1199. "description": "会员等级名称",
  1200. "type": "string"
  1201. },
  1202. "nickname": {
  1203. "description": "会员名称",
  1204. "type": "string"
  1205. },
  1206. "ratio": {
  1207. "description": "兑换比例(x:y)",
  1208. "type": "string"
  1209. }
  1210. }
  1211. },
  1212. "md.MyFansResp": {
  1213. "type": "object",
  1214. "properties": {
  1215. "now_team_assistance_num": {
  1216. "description": "团队助力人数",
  1217. "type": "integer"
  1218. },
  1219. "now_team_assistance_reward": {
  1220. "description": "团队助力收益",
  1221. "type": "string"
  1222. },
  1223. "now_team_user": {
  1224. "description": "团队人数",
  1225. "type": "integer"
  1226. }
  1227. }
  1228. },
  1229. "md.MyFansUserListResp": {
  1230. "type": "object",
  1231. "properties": {
  1232. "list": {
  1233. "type": "array",
  1234. "items": {
  1235. "$ref": "#/definitions/md.OneLineUserNode"
  1236. }
  1237. }
  1238. }
  1239. },
  1240. "md.NineDimensionalSpaceResp": {
  1241. "type": "object",
  1242. "properties": {
  1243. "a_lot_of_nums": {
  1244. "description": "全网至多用户数",
  1245. "type": "string"
  1246. },
  1247. "space_list": {
  1248. "description": "数据列表",
  1249. "type": "array",
  1250. "items": {
  1251. "$ref": "#/definitions/md.SpaceListNode"
  1252. }
  1253. },
  1254. "space_nums": {
  1255. "description": "空间人数",
  1256. "type": "string"
  1257. },
  1258. "space_total_nums": {
  1259. "description": "空间总数",
  1260. "type": "string"
  1261. }
  1262. }
  1263. },
  1264. "md.OneLineUserNode": {
  1265. "type": "object",
  1266. "properties": {
  1267. "avatar_url": {
  1268. "type": "string"
  1269. },
  1270. "invite_time": {
  1271. "type": "string"
  1272. },
  1273. "is_online": {
  1274. "type": "boolean"
  1275. },
  1276. "nickname": {
  1277. "type": "string"
  1278. }
  1279. }
  1280. },
  1281. "md.RealTimePriceResp": {
  1282. "type": "object",
  1283. "properties": {
  1284. "is_rises": {
  1285. "type": "boolean"
  1286. },
  1287. "now_price": {
  1288. "type": "string"
  1289. },
  1290. "rises": {
  1291. "type": "string"
  1292. },
  1293. "user_count": {
  1294. "type": "string"
  1295. }
  1296. }
  1297. },
  1298. "md.RegisterReq": {
  1299. "type": "object",
  1300. "required": [
  1301. "mobile"
  1302. ],
  1303. "properties": {
  1304. "avatar": {
  1305. "type": "string",
  1306. "example": "头像"
  1307. },
  1308. "code": {
  1309. "type": "string",
  1310. "example": "验证码"
  1311. },
  1312. "invite_code": {
  1313. "type": "string",
  1314. "example": "邀请码"
  1315. },
  1316. "mobile": {
  1317. "type": "string"
  1318. },
  1319. "nickname": {
  1320. "type": "string",
  1321. "example": "昵称"
  1322. },
  1323. "open_id": {
  1324. "type": "string",
  1325. "example": "微信openId"
  1326. },
  1327. "sex": {
  1328. "description": "性别(0:未知 1:男 2:女)",
  1329. "type": "integer"
  1330. },
  1331. "type": {
  1332. "type": "string",
  1333. "example": "app:APP注册、h5:H5注册"
  1334. },
  1335. "union_id": {
  1336. "type": "string",
  1337. "example": "微信UnionId"
  1338. }
  1339. }
  1340. },
  1341. "md.Response": {
  1342. "type": "object",
  1343. "properties": {
  1344. "code": {
  1345. "type": "string",
  1346. "example": "响应码"
  1347. },
  1348. "data": {
  1349. "description": "内容"
  1350. },
  1351. "msg": {
  1352. "type": "string",
  1353. "example": "具体错误原因"
  1354. }
  1355. }
  1356. },
  1357. "md.SmsSendReq": {
  1358. "type": "object",
  1359. "required": [
  1360. "mobile"
  1361. ],
  1362. "properties": {
  1363. "captcha_output": {
  1364. "type": "string",
  1365. "example": "阿里云图形验证码对应参数"
  1366. },
  1367. "gen_time": {
  1368. "type": "string",
  1369. "example": "阿里云图形验证码对应参数"
  1370. },
  1371. "lot_number": {
  1372. "type": "string",
  1373. "example": "阿里云图形验证码对应参数"
  1374. },
  1375. "mobile": {
  1376. "type": "string"
  1377. },
  1378. "pass_token": {
  1379. "type": "string",
  1380. "example": "阿里云图形验证码对应参数"
  1381. },
  1382. "type": {
  1383. "type": "string",
  1384. "example": "h5Register:h5注册页、wechatBindPhone:微信绑定手机、login:登陆、findPwd:找回密码、changePwd:修改密码"
  1385. }
  1386. }
  1387. },
  1388. "md.SpaceListNode": {
  1389. "type": "object",
  1390. "properties": {
  1391. "max_count": {
  1392. "description": "最大容纳人数",
  1393. "type": "string"
  1394. },
  1395. "name": {
  1396. "description": "维度",
  1397. "type": "string"
  1398. },
  1399. "now_count": {
  1400. "description": "当前人数",
  1401. "type": "string"
  1402. }
  1403. }
  1404. },
  1405. "md.TotalRateResp": {
  1406. "type": "object",
  1407. "properties": {
  1408. "consumed_personal_egg_point": {
  1409. "description": "消耗个人蛋蛋积分",
  1410. "type": "string"
  1411. },
  1412. "consumed_team_egg_point": {
  1413. "description": "消耗团队蛋蛋积分",
  1414. "type": "string"
  1415. },
  1416. "now_basal_rate": {
  1417. "description": "当前基础速率/小时",
  1418. "type": "string"
  1419. },
  1420. "now_team_rate": {
  1421. "description": "当前团队速率/小时",
  1422. "type": "string"
  1423. },
  1424. "now_total_rate": {
  1425. "description": "总速率/小时",
  1426. "type": "string"
  1427. }
  1428. }
  1429. },
  1430. "md.TransferTypeList": {
  1431. "type": "object",
  1432. "properties": {
  1433. "available_integral_list": {
  1434. "description": "可用积分列表",
  1435. "allOf": [
  1436. {
  1437. "$ref": "#/definitions/md.IntegralList"
  1438. }
  1439. ]
  1440. },
  1441. "settlement_integral_list": {
  1442. "description": "结算积分列表",
  1443. "allOf": [
  1444. {
  1445. "$ref": "#/definitions/md.IntegralList"
  1446. }
  1447. ]
  1448. }
  1449. }
  1450. },
  1451. "md.TransferTypeNode": {
  1452. "type": "object",
  1453. "properties": {
  1454. "name": {
  1455. "type": "string"
  1456. },
  1457. "value": {
  1458. "type": "string"
  1459. }
  1460. }
  1461. },
  1462. "md.UserInfoResp": {
  1463. "type": "object",
  1464. "properties": {
  1465. "invite_code": {
  1466. "type": "string"
  1467. },
  1468. "is_bind_extend": {
  1469. "type": "string",
  1470. "example": "是否绑定了上级 0否 1是"
  1471. },
  1472. "nickname": {
  1473. "type": "string"
  1474. },
  1475. "phone": {
  1476. "type": "string"
  1477. }
  1478. }
  1479. }
  1480. }
  1481. }