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

1084 wiersze
36 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/eggEnergyDetails": {
  22. "post": {
  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. "description": "分页类型必填",
  44. "name": "req",
  45. "in": "body",
  46. "required": true,
  47. "schema": {
  48. "$ref": "#/definitions/md.EggEnergyDetailReq"
  49. }
  50. }
  51. ],
  52. "responses": {
  53. "200": {
  54. "description": "具体数据",
  55. "schema": {
  56. "$ref": "#/definitions/md.EggEnergyDetailResp"
  57. }
  58. },
  59. "400": {
  60. "description": "具体错误",
  61. "schema": {
  62. "$ref": "#/definitions/md.Response"
  63. }
  64. }
  65. }
  66. }
  67. },
  68. "/api/v1/addFriend/eggPointDetails": {
  69. "post": {
  70. "description": "蛋蛋积分明细(获取)",
  71. "consumes": [
  72. "application/json"
  73. ],
  74. "produces": [
  75. "application/json"
  76. ],
  77. "tags": [
  78. "添加好友"
  79. ],
  80. "summary": "蛋蛋星球-添加好友-蛋蛋积分明细(获取)",
  81. "parameters": [
  82. {
  83. "type": "string",
  84. "description": "验证参数Bearer和token空格拼接",
  85. "name": "Authorization",
  86. "in": "header",
  87. "required": true
  88. },
  89. {
  90. "description": "分页类型必填",
  91. "name": "req",
  92. "in": "body",
  93. "required": true,
  94. "schema": {
  95. "$ref": "#/definitions/md.EggPointDetailsReq"
  96. }
  97. }
  98. ],
  99. "responses": {
  100. "200": {
  101. "description": "具体数据",
  102. "schema": {
  103. "$ref": "#/definitions/md.EggPointDetailsResp"
  104. }
  105. },
  106. "400": {
  107. "description": "具体错误",
  108. "schema": {
  109. "$ref": "#/definitions/md.Response"
  110. }
  111. }
  112. }
  113. }
  114. },
  115. "/api/v1/addFriend/myFans": {
  116. "get": {
  117. "description": "团队加速速率(获取)",
  118. "consumes": [
  119. "application/json"
  120. ],
  121. "produces": [
  122. "application/json"
  123. ],
  124. "tags": [
  125. "添加好友"
  126. ],
  127. "summary": "蛋蛋星球-添加好友-粉丝团队-我的粉丝-团队加速速率(获取)",
  128. "parameters": [
  129. {
  130. "type": "string",
  131. "description": "验证参数Bearer和token空格拼接",
  132. "name": "Authorization",
  133. "in": "header",
  134. "required": true
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "具体数据",
  140. "schema": {
  141. "$ref": "#/definitions/md.MyFansResp"
  142. }
  143. },
  144. "400": {
  145. "description": "具体错误",
  146. "schema": {
  147. "$ref": "#/definitions/md.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/api/v1/addFriend/myFansUserList": {
  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.MyFansUserListResp"
  180. }
  181. },
  182. "400": {
  183. "description": "具体错误",
  184. "schema": {
  185. "$ref": "#/definitions/md.Response"
  186. }
  187. }
  188. }
  189. }
  190. },
  191. "/api/v1/addFriend/nineDimensionalSpace": {
  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.NineDimensionalSpaceResp"
  218. }
  219. },
  220. "400": {
  221. "description": "具体错误",
  222. "schema": {
  223. "$ref": "#/definitions/md.Response"
  224. }
  225. }
  226. }
  227. }
  228. },
  229. "/api/v1/comm/getOssUrl": {
  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. "type": "string"
  256. }
  257. },
  258. "400": {
  259. "description": "具体错误",
  260. "schema": {
  261. "$ref": "#/definitions/md.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/api/v1/homePage/adRule": {
  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.HomePageWatchAdRuleResp"
  294. }
  295. },
  296. "400": {
  297. "description": "具体错误",
  298. "schema": {
  299. "$ref": "#/definitions/md.Response"
  300. }
  301. }
  302. }
  303. }
  304. },
  305. "/api/v1/homePage/index": {
  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. "$ref": "#/definitions/md.HomePageResp"
  332. }
  333. },
  334. "400": {
  335. "description": "具体错误",
  336. "schema": {
  337. "$ref": "#/definitions/md.Response"
  338. }
  339. }
  340. }
  341. }
  342. },
  343. "/api/v1/homePage/isCanGetRedPackage": {
  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.IsCanGetRedPackageResp"
  370. }
  371. },
  372. "400": {
  373. "description": "具体错误",
  374. "schema": {
  375. "$ref": "#/definitions/md.Response"
  376. }
  377. }
  378. }
  379. }
  380. },
  381. "/api/v1/homePage/isCanSignIn": {
  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.IsCanSignInResp"
  408. }
  409. },
  410. "400": {
  411. "description": "具体错误",
  412. "schema": {
  413. "$ref": "#/definitions/md.Response"
  414. }
  415. }
  416. }
  417. }
  418. },
  419. "/api/v1/homePage/realTimePrice": {
  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.RealTimePriceResp"
  446. }
  447. },
  448. "400": {
  449. "description": "具体错误",
  450. "schema": {
  451. "$ref": "#/definitions/md.Response"
  452. }
  453. }
  454. }
  455. }
  456. },
  457. "/api/v1/test": {
  458. "get": {
  459. "description": "Demo样例测试",
  460. "consumes": [
  461. "application/json"
  462. ],
  463. "produces": [
  464. "application/json"
  465. ],
  466. "tags": [
  467. "Demo"
  468. ],
  469. "summary": "Demo测试",
  470. "parameters": [
  471. {
  472. "description": "任意参数",
  473. "name": "req",
  474. "in": "body",
  475. "required": true,
  476. "schema": {}
  477. }
  478. ],
  479. "responses": {
  480. "200": {
  481. "description": "返回任意参数",
  482. "schema": {
  483. "type": "object",
  484. "additionalProperties": true
  485. }
  486. },
  487. "400": {
  488. "description": "具体错误",
  489. "schema": {
  490. "$ref": "#/definitions/md.Response"
  491. }
  492. }
  493. }
  494. }
  495. },
  496. "/v1/login": {
  497. "post": {
  498. "description": "登入",
  499. "consumes": [
  500. "application/json"
  501. ],
  502. "produces": [
  503. "application/json"
  504. ],
  505. "tags": [
  506. "登录"
  507. ],
  508. "summary": "登陆",
  509. "parameters": [
  510. {
  511. "description": "用户名密码",
  512. "name": "req",
  513. "in": "body",
  514. "required": true,
  515. "schema": {
  516. "$ref": "#/definitions/md.LoginReq"
  517. }
  518. }
  519. ],
  520. "responses": {
  521. "200": {
  522. "description": "token",
  523. "schema": {
  524. "$ref": "#/definitions/md.LoginResponse"
  525. }
  526. },
  527. "400": {
  528. "description": "具体错误",
  529. "schema": {
  530. "$ref": "#/definitions/md.Response"
  531. }
  532. }
  533. }
  534. }
  535. },
  536. "/v1/register": {
  537. "post": {
  538. "description": "注册",
  539. "consumes": [
  540. "application/json"
  541. ],
  542. "produces": [
  543. "application/json"
  544. ],
  545. "tags": [
  546. "注册"
  547. ],
  548. "summary": "注册",
  549. "parameters": [
  550. {
  551. "description": "注册参数",
  552. "name": "req",
  553. "in": "body",
  554. "required": true,
  555. "schema": {
  556. "$ref": "#/definitions/md.RegisterReq"
  557. }
  558. }
  559. ],
  560. "responses": {
  561. "200": {
  562. "description": "登录成功返回",
  563. "schema": {
  564. "$ref": "#/definitions/md.LoginResponse"
  565. }
  566. },
  567. "400": {
  568. "description": "具体错误",
  569. "schema": {
  570. "$ref": "#/definitions/md.Response"
  571. }
  572. }
  573. }
  574. }
  575. }
  576. },
  577. "definitions": {
  578. "applet_app_md.Paginate": {
  579. "type": "object",
  580. "properties": {
  581. "limit": {
  582. "description": "每页大小",
  583. "type": "integer"
  584. },
  585. "page": {
  586. "description": "页数",
  587. "type": "integer"
  588. },
  589. "total": {
  590. "description": "总数据量",
  591. "type": "integer"
  592. }
  593. }
  594. },
  595. "md.EggEnergyDetailReq": {
  596. "type": "object",
  597. "properties": {
  598. "asc": {
  599. "description": "1.升序 2.倒序",
  600. "type": "string"
  601. },
  602. "direction": {
  603. "description": "类型 1.收入 2.支出 全部则传空",
  604. "type": "string"
  605. },
  606. "kind": {
  607. "description": "类型:1. 个人蛋蛋能量 2.团队蛋蛋能量",
  608. "type": "string"
  609. },
  610. "limit": {
  611. "description": "每页大小",
  612. "type": "integer"
  613. },
  614. "page": {
  615. "description": "页数",
  616. "type": "integer"
  617. },
  618. "type": {
  619. "description": "变动类型 全部则传空",
  620. "type": "string"
  621. }
  622. }
  623. },
  624. "md.EggEnergyDetailResp": {
  625. "type": "object",
  626. "properties": {
  627. "list": {
  628. "description": "流水数据",
  629. "type": "array",
  630. "items": {
  631. "type": "object",
  632. "additionalProperties": {
  633. "type": "string"
  634. }
  635. }
  636. },
  637. "paginate": {
  638. "description": "分页信息",
  639. "allOf": [
  640. {
  641. "$ref": "#/definitions/applet_app_md.Paginate"
  642. }
  643. ]
  644. },
  645. "person_egg_energy": {
  646. "description": "个人蛋蛋能量",
  647. "type": "string"
  648. },
  649. "team_egg_energy": {
  650. "description": "团队蛋蛋能量",
  651. "type": "string"
  652. },
  653. "total_egg_energy": {
  654. "description": "总蛋蛋能量",
  655. "type": "string"
  656. },
  657. "total_egg_energy_price": {
  658. "description": "蛋蛋能量总价",
  659. "type": "string"
  660. },
  661. "transfer_type_list": {
  662. "description": "转账类型列表",
  663. "allOf": [
  664. {
  665. "$ref": "#/definitions/md.TransferTypeList"
  666. }
  667. ]
  668. }
  669. }
  670. },
  671. "md.EggPointDetailsReq": {
  672. "type": "object",
  673. "properties": {
  674. "asc": {
  675. "description": "1.升序 2.倒序",
  676. "type": "string"
  677. },
  678. "direction": {
  679. "description": "类型 1.收入 2.支出 全部则传空",
  680. "type": "string"
  681. },
  682. "kind": {
  683. "description": "类型:1. 个人蛋蛋积分 2.团队蛋蛋积分",
  684. "type": "string"
  685. },
  686. "limit": {
  687. "description": "每页大小",
  688. "type": "integer"
  689. },
  690. "page": {
  691. "description": "页数",
  692. "type": "integer"
  693. },
  694. "type": {
  695. "description": "变动类型 全部则传空",
  696. "type": "string"
  697. }
  698. }
  699. },
  700. "md.EggPointDetailsResp": {
  701. "type": "object",
  702. "properties": {
  703. "list": {
  704. "description": "流水数据",
  705. "type": "array",
  706. "items": {
  707. "type": "object",
  708. "additionalProperties": {
  709. "type": "string"
  710. }
  711. }
  712. },
  713. "paginate": {
  714. "description": "分页信息",
  715. "allOf": [
  716. {
  717. "$ref": "#/definitions/applet_app_md.Paginate"
  718. }
  719. ]
  720. },
  721. "person_egg_points": {
  722. "description": "个人蛋蛋积分",
  723. "type": "string"
  724. },
  725. "team_egg_points": {
  726. "description": "团队蛋蛋积分",
  727. "type": "string"
  728. },
  729. "total_egg_points": {
  730. "description": "总蛋蛋积分",
  731. "type": "string"
  732. },
  733. "total_egg_points_amount": {
  734. "description": "蛋蛋积分余额",
  735. "type": "string"
  736. },
  737. "transfer_type_list": {
  738. "description": "转账类型列表",
  739. "allOf": [
  740. {
  741. "$ref": "#/definitions/md.TransferTypeList"
  742. }
  743. ]
  744. }
  745. }
  746. },
  747. "md.HomePageResp": {
  748. "type": "object",
  749. "properties": {
  750. "egg_energy_now_price": {
  751. "description": "蛋蛋能量当前价格",
  752. "type": "string"
  753. },
  754. "initial_price": {
  755. "description": "蛋蛋能量初始价格",
  756. "type": "string"
  757. },
  758. "is_rises": {
  759. "description": "是否涨价",
  760. "type": "boolean"
  761. },
  762. "is_sign": {
  763. "description": "是否完成签到",
  764. "type": "boolean"
  765. },
  766. "nick_name": {
  767. "description": "用户名称",
  768. "type": "string"
  769. },
  770. "now_basal_rate": {
  771. "description": "当前基础速率/小时",
  772. "type": "string"
  773. },
  774. "now_team_rate": {
  775. "description": "当前团队速率/小时",
  776. "type": "string"
  777. },
  778. "rises": {
  779. "description": "涨/跌价百分比",
  780. "type": "string"
  781. },
  782. "sign_end_time": {
  783. "description": "签到截止时间",
  784. "type": "string"
  785. },
  786. "sign_reward_egg_energy": {
  787. "description": "签到奖励蛋蛋能量/秒",
  788. "type": "string"
  789. },
  790. "total_active_points": {
  791. "description": "总活跃积分",
  792. "type": "string"
  793. },
  794. "total_egg_energy": {
  795. "description": "总蛋蛋能量",
  796. "type": "string"
  797. },
  798. "user_count": {
  799. "description": "当前用户数量",
  800. "type": "integer"
  801. }
  802. }
  803. },
  804. "md.HomePageWatchAdRuleResp": {
  805. "type": "object",
  806. "properties": {
  807. "each_round_hour": {
  808. "description": "每一轮X个小时",
  809. "type": "string"
  810. },
  811. "interval_minutes": {
  812. "description": "间隔X秒",
  813. "type": "string"
  814. },
  815. "reward_total_num": {
  816. "description": "一共X个奖励视屏",
  817. "type": "string"
  818. },
  819. "reward_value": {
  820. "description": "奖励X个活跃积分",
  821. "type": "string"
  822. }
  823. }
  824. },
  825. "md.IntegralList": {
  826. "type": "object",
  827. "properties": {
  828. "expend_list": {
  829. "description": "支出类型列表",
  830. "type": "array",
  831. "items": {
  832. "$ref": "#/definitions/md.TransferTypeNode"
  833. }
  834. },
  835. "income_list": {
  836. "description": "收入类型列表",
  837. "type": "array",
  838. "items": {
  839. "$ref": "#/definitions/md.TransferTypeNode"
  840. }
  841. }
  842. }
  843. },
  844. "md.IsCanGetRedPackageResp": {
  845. "type": "object",
  846. "properties": {
  847. "is_can_get_red_package": {
  848. "type": "boolean"
  849. }
  850. }
  851. },
  852. "md.IsCanSignInResp": {
  853. "type": "object",
  854. "properties": {
  855. "is_can_sign_in": {
  856. "type": "boolean"
  857. }
  858. }
  859. },
  860. "md.LoginReq": {
  861. "type": "object",
  862. "required": [
  863. "password",
  864. "phone"
  865. ],
  866. "properties": {
  867. "code": {
  868. "type": "string",
  869. "example": "验证码"
  870. },
  871. "password": {
  872. "type": "string",
  873. "example": "登录密码"
  874. },
  875. "phone": {
  876. "type": "string",
  877. "example": "手机号"
  878. }
  879. }
  880. },
  881. "md.LoginResponse": {
  882. "type": "object",
  883. "properties": {
  884. "token": {
  885. "type": "string"
  886. }
  887. }
  888. },
  889. "md.MyFansResp": {
  890. "type": "object",
  891. "properties": {
  892. "now_team_assistance_num": {
  893. "description": "团队助力人数",
  894. "type": "integer"
  895. },
  896. "now_team_assistance_reward": {
  897. "description": "团队助力收益",
  898. "type": "string"
  899. },
  900. "now_team_user": {
  901. "description": "团队人数",
  902. "type": "integer"
  903. }
  904. }
  905. },
  906. "md.MyFansUserListResp": {
  907. "type": "object",
  908. "properties": {
  909. "list": {
  910. "type": "array",
  911. "items": {
  912. "$ref": "#/definitions/md.OneLineUserNode"
  913. }
  914. }
  915. }
  916. },
  917. "md.NineDimensionalSpaceResp": {
  918. "type": "object",
  919. "properties": {
  920. "a_lot_of_nums": {
  921. "description": "全网至多用户数",
  922. "type": "string"
  923. },
  924. "space_list": {
  925. "description": "数据列表",
  926. "type": "array",
  927. "items": {
  928. "$ref": "#/definitions/md.SpaceListNode"
  929. }
  930. },
  931. "space_nums": {
  932. "description": "空间人数",
  933. "type": "string"
  934. },
  935. "space_total_nums": {
  936. "description": "空间总数",
  937. "type": "string"
  938. }
  939. }
  940. },
  941. "md.OneLineUserNode": {
  942. "type": "object",
  943. "properties": {
  944. "avatar_url": {
  945. "type": "string"
  946. },
  947. "invite_time": {
  948. "type": "string"
  949. },
  950. "is_online": {
  951. "type": "boolean"
  952. },
  953. "nickname": {
  954. "type": "string"
  955. }
  956. }
  957. },
  958. "md.RealTimePriceResp": {
  959. "type": "object",
  960. "properties": {
  961. "is_rises": {
  962. "type": "boolean"
  963. },
  964. "now_price": {
  965. "type": "string"
  966. },
  967. "rises": {
  968. "type": "string"
  969. },
  970. "user_count": {
  971. "type": "string"
  972. }
  973. }
  974. },
  975. "md.RegisterReq": {
  976. "type": "object",
  977. "required": [
  978. "mobile"
  979. ],
  980. "properties": {
  981. "avatar": {
  982. "type": "string",
  983. "example": "头像"
  984. },
  985. "code": {
  986. "type": "string",
  987. "example": "验证码"
  988. },
  989. "invite_code": {
  990. "type": "string",
  991. "example": "邀请码"
  992. },
  993. "mobile": {
  994. "type": "string"
  995. },
  996. "nickname": {
  997. "type": "string",
  998. "example": "昵称"
  999. },
  1000. "open_id": {
  1001. "type": "string",
  1002. "example": "微信openId"
  1003. },
  1004. "sex": {
  1005. "description": "性别(0:未知 1:男 2:女)",
  1006. "type": "integer"
  1007. },
  1008. "type": {
  1009. "type": "string",
  1010. "example": "app:APP注册、h5:H5注册"
  1011. },
  1012. "union_id": {
  1013. "type": "string",
  1014. "example": "微信UnionId"
  1015. }
  1016. }
  1017. },
  1018. "md.Response": {
  1019. "type": "object",
  1020. "properties": {
  1021. "code": {
  1022. "type": "string",
  1023. "example": "响应码"
  1024. },
  1025. "data": {
  1026. "description": "内容"
  1027. },
  1028. "msg": {
  1029. "type": "string",
  1030. "example": "具体错误原因"
  1031. }
  1032. }
  1033. },
  1034. "md.SpaceListNode": {
  1035. "type": "object",
  1036. "properties": {
  1037. "max_count": {
  1038. "description": "最大容纳人数",
  1039. "type": "string"
  1040. },
  1041. "name": {
  1042. "description": "维度",
  1043. "type": "string"
  1044. },
  1045. "now_count": {
  1046. "description": "当前人数",
  1047. "type": "string"
  1048. }
  1049. }
  1050. },
  1051. "md.TransferTypeList": {
  1052. "type": "object",
  1053. "properties": {
  1054. "available_integral_list": {
  1055. "description": "可用积分列表",
  1056. "allOf": [
  1057. {
  1058. "$ref": "#/definitions/md.IntegralList"
  1059. }
  1060. ]
  1061. },
  1062. "settlement_integral_list": {
  1063. "description": "结算积分列表",
  1064. "allOf": [
  1065. {
  1066. "$ref": "#/definitions/md.IntegralList"
  1067. }
  1068. ]
  1069. }
  1070. }
  1071. },
  1072. "md.TransferTypeNode": {
  1073. "type": "object",
  1074. "properties": {
  1075. "name": {
  1076. "type": "string"
  1077. },
  1078. "value": {
  1079. "type": "string"
  1080. }
  1081. }
  1082. }
  1083. }
  1084. }