蛋蛋星球-客户端
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

1295 řádky
43 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/homePage/adRule": {
  344. "get": {
  345. "description": "视频奖励规则(获取)",
  346. "consumes": [
  347. "application/json"
  348. ],
  349. "produces": [
  350. "application/json"
  351. ],
  352. "tags": [
  353. "主页"
  354. ],
  355. "summary": "蛋蛋星球-主页-视频奖励规则(获取)",
  356. "parameters": [
  357. {
  358. "type": "string",
  359. "description": "验证参数Bearer和token空格拼接",
  360. "name": "Authorization",
  361. "in": "header",
  362. "required": true
  363. }
  364. ],
  365. "responses": {
  366. "200": {
  367. "description": "具体数据",
  368. "schema": {
  369. "$ref": "#/definitions/md.HomePageWatchAdRuleResp"
  370. }
  371. },
  372. "400": {
  373. "description": "具体错误",
  374. "schema": {
  375. "$ref": "#/definitions/md.Response"
  376. }
  377. }
  378. }
  379. }
  380. },
  381. "/api/v1/homePage/index": {
  382. "get": {
  383. "description": "基础信息(获取)",
  384. "consumes": [
  385. "application/json"
  386. ],
  387. "produces": [
  388. "application/json"
  389. ],
  390. "tags": [
  391. "主页"
  392. ],
  393. "summary": "蛋蛋星球-主页-基础信息(获取)",
  394. "parameters": [
  395. {
  396. "type": "string",
  397. "description": "验证参数Bearer和token空格拼接",
  398. "name": "Authorization",
  399. "in": "header",
  400. "required": true
  401. }
  402. ],
  403. "responses": {
  404. "200": {
  405. "description": "具体数据",
  406. "schema": {
  407. "$ref": "#/definitions/md.HomePageResp"
  408. }
  409. },
  410. "400": {
  411. "description": "具体错误",
  412. "schema": {
  413. "$ref": "#/definitions/md.Response"
  414. }
  415. }
  416. }
  417. }
  418. },
  419. "/api/v1/homePage/isCanGetRedPackage": {
  420. "get": {
  421. "description": "是否可以领取红包(获取)",
  422. "consumes": [
  423. "application/json"
  424. ],
  425. "produces": [
  426. "application/json"
  427. ],
  428. "tags": [
  429. "主页"
  430. ],
  431. "summary": "蛋蛋星球-主页-是否领取红包(获取)",
  432. "parameters": [
  433. {
  434. "type": "string",
  435. "description": "验证参数Bearer和token空格拼接",
  436. "name": "Authorization",
  437. "in": "header",
  438. "required": true
  439. }
  440. ],
  441. "responses": {
  442. "200": {
  443. "description": "具体数据",
  444. "schema": {
  445. "$ref": "#/definitions/md.IsCanGetRedPackageResp"
  446. }
  447. },
  448. "400": {
  449. "description": "具体错误",
  450. "schema": {
  451. "$ref": "#/definitions/md.Response"
  452. }
  453. }
  454. }
  455. }
  456. },
  457. "/api/v1/homePage/isCanSignIn": {
  458. "get": {
  459. "description": "是否可以签到(获取)",
  460. "consumes": [
  461. "application/json"
  462. ],
  463. "produces": [
  464. "application/json"
  465. ],
  466. "tags": [
  467. "主页"
  468. ],
  469. "summary": "蛋蛋星球-主页-是否能签到(获取)",
  470. "parameters": [
  471. {
  472. "type": "string",
  473. "description": "验证参数Bearer和token空格拼接",
  474. "name": "Authorization",
  475. "in": "header",
  476. "required": true
  477. }
  478. ],
  479. "responses": {
  480. "200": {
  481. "description": "具体数据",
  482. "schema": {
  483. "$ref": "#/definitions/md.IsCanSignInResp"
  484. }
  485. },
  486. "400": {
  487. "description": "具体错误",
  488. "schema": {
  489. "$ref": "#/definitions/md.Response"
  490. }
  491. }
  492. }
  493. }
  494. },
  495. "/api/v1/homePage/realTimePrice": {
  496. "get": {
  497. "description": "实时数据(获取)",
  498. "consumes": [
  499. "application/json"
  500. ],
  501. "produces": [
  502. "application/json"
  503. ],
  504. "tags": [
  505. "主页"
  506. ],
  507. "summary": "蛋蛋星球-主页-实时数据(获取)",
  508. "parameters": [
  509. {
  510. "type": "string",
  511. "description": "验证参数Bearer和token空格拼接",
  512. "name": "Authorization",
  513. "in": "header",
  514. "required": true
  515. }
  516. ],
  517. "responses": {
  518. "200": {
  519. "description": "具体数据",
  520. "schema": {
  521. "$ref": "#/definitions/md.RealTimePriceResp"
  522. }
  523. },
  524. "400": {
  525. "description": "具体错误",
  526. "schema": {
  527. "$ref": "#/definitions/md.Response"
  528. }
  529. }
  530. }
  531. }
  532. },
  533. "/api/v1/test": {
  534. "get": {
  535. "description": "Demo样例测试",
  536. "consumes": [
  537. "application/json"
  538. ],
  539. "produces": [
  540. "application/json"
  541. ],
  542. "tags": [
  543. "Demo"
  544. ],
  545. "summary": "Demo测试",
  546. "parameters": [
  547. {
  548. "description": "任意参数",
  549. "name": "req",
  550. "in": "body",
  551. "required": true,
  552. "schema": {
  553. "type": "object"
  554. }
  555. }
  556. ],
  557. "responses": {
  558. "200": {
  559. "description": "返回任意参数",
  560. "schema": {
  561. "type": "object",
  562. "additionalProperties": true
  563. }
  564. },
  565. "400": {
  566. "description": "具体错误",
  567. "schema": {
  568. "$ref": "#/definitions/md.Response"
  569. }
  570. }
  571. }
  572. }
  573. },
  574. "/v1/login": {
  575. "post": {
  576. "description": "登入",
  577. "consumes": [
  578. "application/json"
  579. ],
  580. "produces": [
  581. "application/json"
  582. ],
  583. "tags": [
  584. "登录"
  585. ],
  586. "summary": "登陆",
  587. "parameters": [
  588. {
  589. "description": "用户名密码",
  590. "name": "req",
  591. "in": "body",
  592. "required": true,
  593. "schema": {
  594. "$ref": "#/definitions/md.LoginReq"
  595. }
  596. }
  597. ],
  598. "responses": {
  599. "200": {
  600. "description": "token",
  601. "schema": {
  602. "$ref": "#/definitions/md.LoginResponse"
  603. }
  604. },
  605. "400": {
  606. "description": "具体错误",
  607. "schema": {
  608. "$ref": "#/definitions/md.Response"
  609. }
  610. }
  611. }
  612. }
  613. },
  614. "/v1/register": {
  615. "post": {
  616. "description": "注册",
  617. "consumes": [
  618. "application/json"
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "注册"
  625. ],
  626. "summary": "注册",
  627. "parameters": [
  628. {
  629. "description": "注册参数",
  630. "name": "req",
  631. "in": "body",
  632. "required": true,
  633. "schema": {
  634. "$ref": "#/definitions/md.RegisterReq"
  635. }
  636. }
  637. ],
  638. "responses": {
  639. "200": {
  640. "description": "登录成功返回",
  641. "schema": {
  642. "$ref": "#/definitions/md.LoginResponse"
  643. }
  644. },
  645. "400": {
  646. "description": "具体错误",
  647. "schema": {
  648. "$ref": "#/definitions/md.Response"
  649. }
  650. }
  651. }
  652. }
  653. },
  654. "/v1/smsSend": {
  655. "post": {
  656. "description": "发送短信",
  657. "consumes": [
  658. "application/json"
  659. ],
  660. "produces": [
  661. "application/json"
  662. ],
  663. "tags": [
  664. "发送短信"
  665. ],
  666. "summary": "发送短信",
  667. "parameters": [
  668. {
  669. "description": "注册参数",
  670. "name": "req",
  671. "in": "body",
  672. "required": true,
  673. "schema": {
  674. "$ref": "#/definitions/md.SmsSendReq"
  675. }
  676. }
  677. ],
  678. "responses": {
  679. "200": {
  680. "description": "成功返回",
  681. "schema": {
  682. "type": "string"
  683. }
  684. },
  685. "400": {
  686. "description": "具体错误",
  687. "schema": {
  688. "$ref": "#/definitions/md.Response"
  689. }
  690. }
  691. }
  692. }
  693. }
  694. },
  695. "definitions": {
  696. "applet_app_md.Paginate": {
  697. "type": "object",
  698. "properties": {
  699. "limit": {
  700. "description": "每页大小",
  701. "type": "integer"
  702. },
  703. "page": {
  704. "description": "页数",
  705. "type": "integer"
  706. },
  707. "total": {
  708. "description": "总数据量",
  709. "type": "integer"
  710. }
  711. }
  712. },
  713. "md.BasalRateResp": {
  714. "type": "object",
  715. "properties": {
  716. "basal_rate": {
  717. "description": "基础速率",
  718. "type": "string"
  719. },
  720. "consumed_egg_energy": {
  721. "description": "收益蛋蛋能量",
  722. "type": "string"
  723. },
  724. "consumed_egg_point": {
  725. "description": "消耗蛋蛋积分",
  726. "type": "string"
  727. },
  728. "consumed_time": {
  729. "description": "消耗时间",
  730. "type": "string"
  731. },
  732. "estimated_revenue": {
  733. "description": "预估收益",
  734. "type": "string"
  735. },
  736. "remaining_egg_energy": {
  737. "description": "剩余蛋蛋能量",
  738. "type": "string"
  739. },
  740. "remaining_time": {
  741. "description": "剩余时间",
  742. "type": "string"
  743. },
  744. "sign_countdown": {
  745. "description": "收益倒计时",
  746. "type": "string"
  747. }
  748. }
  749. },
  750. "md.EggEnergyDetailReq": {
  751. "type": "object",
  752. "properties": {
  753. "asc": {
  754. "description": "1.升序 2.倒序",
  755. "type": "string"
  756. },
  757. "direction": {
  758. "description": "类型 1.收入 2.支出 全部则传空",
  759. "type": "string"
  760. },
  761. "kind": {
  762. "description": "类型:1. 个人蛋蛋能量 2.团队蛋蛋能量",
  763. "type": "string"
  764. },
  765. "limit": {
  766. "description": "每页大小",
  767. "type": "integer"
  768. },
  769. "page": {
  770. "description": "页数",
  771. "type": "integer"
  772. },
  773. "type": {
  774. "description": "变动类型 全部则传空",
  775. "type": "string"
  776. }
  777. }
  778. },
  779. "md.EggEnergyDetailResp": {
  780. "type": "object",
  781. "properties": {
  782. "list": {
  783. "description": "流水数据",
  784. "type": "array",
  785. "items": {
  786. "type": "object",
  787. "additionalProperties": {
  788. "type": "string"
  789. }
  790. }
  791. },
  792. "paginate": {
  793. "description": "分页信息",
  794. "allOf": [
  795. {
  796. "$ref": "#/definitions/applet_app_md.Paginate"
  797. }
  798. ]
  799. },
  800. "person_egg_energy": {
  801. "description": "个人蛋蛋能量",
  802. "type": "string"
  803. },
  804. "team_egg_energy": {
  805. "description": "团队蛋蛋能量",
  806. "type": "string"
  807. },
  808. "total_egg_energy": {
  809. "description": "总蛋蛋能量",
  810. "type": "string"
  811. },
  812. "total_egg_energy_price": {
  813. "description": "蛋蛋能量总价",
  814. "type": "string"
  815. },
  816. "transfer_type_list": {
  817. "description": "转账类型列表",
  818. "allOf": [
  819. {
  820. "$ref": "#/definitions/md.TransferTypeList"
  821. }
  822. ]
  823. }
  824. }
  825. },
  826. "md.EggPointDetailsReq": {
  827. "type": "object",
  828. "properties": {
  829. "asc": {
  830. "description": "1.升序 2.倒序",
  831. "type": "string"
  832. },
  833. "direction": {
  834. "description": "类型 1.收入 2.支出 全部则传空",
  835. "type": "string"
  836. },
  837. "kind": {
  838. "description": "类型:1. 个人蛋蛋积分 2.团队蛋蛋积分",
  839. "type": "string"
  840. },
  841. "limit": {
  842. "description": "每页大小",
  843. "type": "integer"
  844. },
  845. "page": {
  846. "description": "页数",
  847. "type": "integer"
  848. },
  849. "type": {
  850. "description": "变动类型 全部则传空",
  851. "type": "string"
  852. }
  853. }
  854. },
  855. "md.EggPointDetailsResp": {
  856. "type": "object",
  857. "properties": {
  858. "list": {
  859. "description": "流水数据",
  860. "type": "array",
  861. "items": {
  862. "type": "object",
  863. "additionalProperties": {
  864. "type": "string"
  865. }
  866. }
  867. },
  868. "paginate": {
  869. "description": "分页信息",
  870. "allOf": [
  871. {
  872. "$ref": "#/definitions/applet_app_md.Paginate"
  873. }
  874. ]
  875. },
  876. "person_egg_points": {
  877. "description": "个人蛋蛋积分",
  878. "type": "string"
  879. },
  880. "team_egg_points": {
  881. "description": "团队蛋蛋积分",
  882. "type": "string"
  883. },
  884. "total_egg_points": {
  885. "description": "总蛋蛋积分",
  886. "type": "string"
  887. },
  888. "total_egg_points_amount": {
  889. "description": "蛋蛋积分余额",
  890. "type": "string"
  891. },
  892. "transfer_type_list": {
  893. "description": "转账类型列表",
  894. "allOf": [
  895. {
  896. "$ref": "#/definitions/md.TransferTypeList"
  897. }
  898. ]
  899. }
  900. }
  901. },
  902. "md.HomePageResp": {
  903. "type": "object",
  904. "properties": {
  905. "egg_energy_now_price": {
  906. "description": "蛋蛋能量当前价格",
  907. "type": "string"
  908. },
  909. "initial_price": {
  910. "description": "蛋蛋能量初始价格",
  911. "type": "string"
  912. },
  913. "is_rises": {
  914. "description": "是否涨价",
  915. "type": "boolean"
  916. },
  917. "is_sign": {
  918. "description": "是否完成签到",
  919. "type": "boolean"
  920. },
  921. "nick_name": {
  922. "description": "用户名称",
  923. "type": "string"
  924. },
  925. "now_basal_rate": {
  926. "description": "当前基础速率/小时",
  927. "type": "string"
  928. },
  929. "now_team_rate": {
  930. "description": "当前团队速率/小时",
  931. "type": "string"
  932. },
  933. "rises": {
  934. "description": "涨/跌价百分比",
  935. "type": "string"
  936. },
  937. "sign_end_time": {
  938. "description": "签到截止时间",
  939. "type": "string"
  940. },
  941. "sign_reward_egg_energy": {
  942. "description": "签到奖励蛋蛋能量/秒",
  943. "type": "string"
  944. },
  945. "total_active_points": {
  946. "description": "总活跃积分",
  947. "type": "string"
  948. },
  949. "total_egg_energy": {
  950. "description": "总蛋蛋能量",
  951. "type": "string"
  952. },
  953. "user_count": {
  954. "description": "当前用户数量",
  955. "type": "integer"
  956. }
  957. }
  958. },
  959. "md.HomePageWatchAdRuleResp": {
  960. "type": "object",
  961. "properties": {
  962. "each_round_hour": {
  963. "description": "每一轮X个小时",
  964. "type": "string"
  965. },
  966. "interval_minutes": {
  967. "description": "间隔X秒",
  968. "type": "string"
  969. },
  970. "reward_total_num": {
  971. "description": "一共X个奖励视屏",
  972. "type": "string"
  973. },
  974. "reward_value": {
  975. "description": "奖励X个活跃积分",
  976. "type": "string"
  977. }
  978. }
  979. },
  980. "md.IntegralList": {
  981. "type": "object",
  982. "properties": {
  983. "expend_list": {
  984. "description": "支出类型列表",
  985. "type": "array",
  986. "items": {
  987. "$ref": "#/definitions/md.TransferTypeNode"
  988. }
  989. },
  990. "income_list": {
  991. "description": "收入类型列表",
  992. "type": "array",
  993. "items": {
  994. "$ref": "#/definitions/md.TransferTypeNode"
  995. }
  996. }
  997. }
  998. },
  999. "md.IsCanGetRedPackageResp": {
  1000. "type": "object",
  1001. "properties": {
  1002. "is_can_get_red_package": {
  1003. "type": "boolean"
  1004. }
  1005. }
  1006. },
  1007. "md.IsCanSignInResp": {
  1008. "type": "object",
  1009. "properties": {
  1010. "is_can_sign_in": {
  1011. "type": "boolean"
  1012. }
  1013. }
  1014. },
  1015. "md.LoginReq": {
  1016. "type": "object",
  1017. "required": [
  1018. "password",
  1019. "phone"
  1020. ],
  1021. "properties": {
  1022. "code": {
  1023. "type": "string",
  1024. "example": "验证码"
  1025. },
  1026. "password": {
  1027. "type": "string",
  1028. "example": "登录密码"
  1029. },
  1030. "phone": {
  1031. "type": "string",
  1032. "example": "手机号"
  1033. }
  1034. }
  1035. },
  1036. "md.LoginResponse": {
  1037. "type": "object",
  1038. "properties": {
  1039. "token": {
  1040. "type": "string"
  1041. }
  1042. }
  1043. },
  1044. "md.MyFansResp": {
  1045. "type": "object",
  1046. "properties": {
  1047. "now_team_assistance_num": {
  1048. "description": "团队助力人数",
  1049. "type": "integer"
  1050. },
  1051. "now_team_assistance_reward": {
  1052. "description": "团队助力收益",
  1053. "type": "string"
  1054. },
  1055. "now_team_user": {
  1056. "description": "团队人数",
  1057. "type": "integer"
  1058. }
  1059. }
  1060. },
  1061. "md.MyFansUserListResp": {
  1062. "type": "object",
  1063. "properties": {
  1064. "list": {
  1065. "type": "array",
  1066. "items": {
  1067. "$ref": "#/definitions/md.OneLineUserNode"
  1068. }
  1069. }
  1070. }
  1071. },
  1072. "md.NineDimensionalSpaceResp": {
  1073. "type": "object",
  1074. "properties": {
  1075. "a_lot_of_nums": {
  1076. "description": "全网至多用户数",
  1077. "type": "string"
  1078. },
  1079. "space_list": {
  1080. "description": "数据列表",
  1081. "type": "array",
  1082. "items": {
  1083. "$ref": "#/definitions/md.SpaceListNode"
  1084. }
  1085. },
  1086. "space_nums": {
  1087. "description": "空间人数",
  1088. "type": "string"
  1089. },
  1090. "space_total_nums": {
  1091. "description": "空间总数",
  1092. "type": "string"
  1093. }
  1094. }
  1095. },
  1096. "md.OneLineUserNode": {
  1097. "type": "object",
  1098. "properties": {
  1099. "avatar_url": {
  1100. "type": "string"
  1101. },
  1102. "invite_time": {
  1103. "type": "string"
  1104. },
  1105. "is_online": {
  1106. "type": "boolean"
  1107. },
  1108. "nickname": {
  1109. "type": "string"
  1110. }
  1111. }
  1112. },
  1113. "md.RealTimePriceResp": {
  1114. "type": "object",
  1115. "properties": {
  1116. "is_rises": {
  1117. "type": "boolean"
  1118. },
  1119. "now_price": {
  1120. "type": "string"
  1121. },
  1122. "rises": {
  1123. "type": "string"
  1124. },
  1125. "user_count": {
  1126. "type": "string"
  1127. }
  1128. }
  1129. },
  1130. "md.RegisterReq": {
  1131. "type": "object",
  1132. "required": [
  1133. "mobile"
  1134. ],
  1135. "properties": {
  1136. "avatar": {
  1137. "type": "string",
  1138. "example": "头像"
  1139. },
  1140. "code": {
  1141. "type": "string",
  1142. "example": "验证码"
  1143. },
  1144. "invite_code": {
  1145. "type": "string",
  1146. "example": "邀请码"
  1147. },
  1148. "mobile": {
  1149. "type": "string"
  1150. },
  1151. "nickname": {
  1152. "type": "string",
  1153. "example": "昵称"
  1154. },
  1155. "open_id": {
  1156. "type": "string",
  1157. "example": "微信openId"
  1158. },
  1159. "sex": {
  1160. "description": "性别(0:未知 1:男 2:女)",
  1161. "type": "integer"
  1162. },
  1163. "type": {
  1164. "type": "string",
  1165. "example": "app:APP注册、h5:H5注册"
  1166. },
  1167. "union_id": {
  1168. "type": "string",
  1169. "example": "微信UnionId"
  1170. }
  1171. }
  1172. },
  1173. "md.Response": {
  1174. "type": "object",
  1175. "properties": {
  1176. "code": {
  1177. "type": "string",
  1178. "example": "响应码"
  1179. },
  1180. "data": {
  1181. "description": "内容"
  1182. },
  1183. "msg": {
  1184. "type": "string",
  1185. "example": "具体错误原因"
  1186. }
  1187. }
  1188. },
  1189. "md.SmsSendReq": {
  1190. "type": "object",
  1191. "required": [
  1192. "mobile"
  1193. ],
  1194. "properties": {
  1195. "captcha_output": {
  1196. "type": "string",
  1197. "example": "阿里云图形验证码对应参数"
  1198. },
  1199. "gen_time": {
  1200. "type": "string",
  1201. "example": "阿里云图形验证码对应参数"
  1202. },
  1203. "lot_number": {
  1204. "type": "string",
  1205. "example": "阿里云图形验证码对应参数"
  1206. },
  1207. "mobile": {
  1208. "type": "string"
  1209. },
  1210. "pass_token": {
  1211. "type": "string",
  1212. "example": "阿里云图形验证码对应参数"
  1213. },
  1214. "type": {
  1215. "type": "string",
  1216. "example": "h5Register:h5注册页、wechatBindPhone:微信绑定手机、login:登陆、findPwd:找回密码、changePwd:修改密码"
  1217. }
  1218. }
  1219. },
  1220. "md.SpaceListNode": {
  1221. "type": "object",
  1222. "properties": {
  1223. "max_count": {
  1224. "description": "最大容纳人数",
  1225. "type": "string"
  1226. },
  1227. "name": {
  1228. "description": "维度",
  1229. "type": "string"
  1230. },
  1231. "now_count": {
  1232. "description": "当前人数",
  1233. "type": "string"
  1234. }
  1235. }
  1236. },
  1237. "md.TotalRateResp": {
  1238. "type": "object",
  1239. "properties": {
  1240. "consumed_personal_egg_point": {
  1241. "description": "消耗个人蛋蛋积分",
  1242. "type": "string"
  1243. },
  1244. "consumed_team_egg_point": {
  1245. "description": "消耗团队蛋蛋积分",
  1246. "type": "string"
  1247. },
  1248. "now_basal_rate": {
  1249. "description": "当前基础速率/小时",
  1250. "type": "string"
  1251. },
  1252. "now_team_rate": {
  1253. "description": "当前团队速率/小时",
  1254. "type": "string"
  1255. },
  1256. "now_total_rate": {
  1257. "description": "总速率/小时",
  1258. "type": "string"
  1259. }
  1260. }
  1261. },
  1262. "md.TransferTypeList": {
  1263. "type": "object",
  1264. "properties": {
  1265. "available_integral_list": {
  1266. "description": "可用积分列表",
  1267. "allOf": [
  1268. {
  1269. "$ref": "#/definitions/md.IntegralList"
  1270. }
  1271. ]
  1272. },
  1273. "settlement_integral_list": {
  1274. "description": "结算积分列表",
  1275. "allOf": [
  1276. {
  1277. "$ref": "#/definitions/md.IntegralList"
  1278. }
  1279. ]
  1280. }
  1281. }
  1282. },
  1283. "md.TransferTypeNode": {
  1284. "type": "object",
  1285. "properties": {
  1286. "name": {
  1287. "type": "string"
  1288. },
  1289. "value": {
  1290. "type": "string"
  1291. }
  1292. }
  1293. }
  1294. }
  1295. }