蛋蛋星球-客户端
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 

1936 satır
64 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. "type": "integer",
  214. "description": "每页大小",
  215. "name": "limit",
  216. "in": "query",
  217. "required": true
  218. },
  219. {
  220. "type": "integer",
  221. "description": "页数",
  222. "name": "page",
  223. "in": "query",
  224. "required": true
  225. }
  226. ],
  227. "responses": {
  228. "200": {
  229. "description": "具体数据",
  230. "schema": {
  231. "$ref": "#/definitions/md.MyFansUserListResp"
  232. }
  233. },
  234. "400": {
  235. "description": "具体错误",
  236. "schema": {
  237. "$ref": "#/definitions/md.Response"
  238. }
  239. }
  240. }
  241. }
  242. },
  243. "/api/v1/addFriend/nineDimensionalSpace": {
  244. "get": {
  245. "description": "九维空间(获取)",
  246. "consumes": [
  247. "application/json"
  248. ],
  249. "produces": [
  250. "application/json"
  251. ],
  252. "tags": [
  253. "添加好友"
  254. ],
  255. "summary": "蛋蛋星球-添加好友-粉丝团队-九维空间(获取)",
  256. "parameters": [
  257. {
  258. "type": "string",
  259. "description": "验证参数Bearer和token空格拼接",
  260. "name": "Authorization",
  261. "in": "header",
  262. "required": true
  263. }
  264. ],
  265. "responses": {
  266. "200": {
  267. "description": "具体数据",
  268. "schema": {
  269. "$ref": "#/definitions/md.NineDimensionalSpaceResp"
  270. }
  271. },
  272. "400": {
  273. "description": "具体错误",
  274. "schema": {
  275. "$ref": "#/definitions/md.Response"
  276. }
  277. }
  278. }
  279. }
  280. },
  281. "/api/v1/addFriend/totalRate": {
  282. "get": {
  283. "description": "总速率(获取)",
  284. "consumes": [
  285. "application/json"
  286. ],
  287. "produces": [
  288. "application/json"
  289. ],
  290. "tags": [
  291. "添加好友"
  292. ],
  293. "summary": "蛋蛋星球-添加好友-总速率(获取)",
  294. "parameters": [
  295. {
  296. "type": "string",
  297. "description": "验证参数Bearer和token空格拼接",
  298. "name": "Authorization",
  299. "in": "header",
  300. "required": true
  301. }
  302. ],
  303. "responses": {
  304. "200": {
  305. "description": "具体数据",
  306. "schema": {
  307. "$ref": "#/definitions/md.TotalRateResp"
  308. }
  309. },
  310. "400": {
  311. "description": "具体错误",
  312. "schema": {
  313. "$ref": "#/definitions/md.Response"
  314. }
  315. }
  316. }
  317. }
  318. },
  319. "/api/v1/comm/getOssUrl": {
  320. "get": {
  321. "description": "上传许可链接(获取)",
  322. "consumes": [
  323. "application/json"
  324. ],
  325. "produces": [
  326. "application/json"
  327. ],
  328. "tags": [
  329. "对象存储"
  330. ],
  331. "summary": "通用请求-对象存储-上传许可链接(获取)",
  332. "parameters": [
  333. {
  334. "type": "string",
  335. "description": "验证参数Bearer和token空格拼接",
  336. "name": "Authorization",
  337. "in": "header",
  338. "required": true
  339. }
  340. ],
  341. "responses": {
  342. "200": {
  343. "description": "许可链接",
  344. "schema": {
  345. "type": "string"
  346. }
  347. },
  348. "400": {
  349. "description": "具体错误",
  350. "schema": {
  351. "$ref": "#/definitions/md.Response"
  352. }
  353. }
  354. }
  355. }
  356. },
  357. "/api/v1/fastLogin": {
  358. "post": {
  359. "description": "一键登录",
  360. "consumes": [
  361. "application/json"
  362. ],
  363. "produces": [
  364. "application/json"
  365. ],
  366. "tags": [
  367. "一键登录"
  368. ],
  369. "summary": "一键登录",
  370. "parameters": [
  371. {
  372. "description": "注册参数",
  373. "name": "req",
  374. "in": "body",
  375. "required": true,
  376. "schema": {
  377. "$ref": "#/definitions/md.FastLoginReq"
  378. }
  379. }
  380. ],
  381. "responses": {
  382. "200": {
  383. "description": "登录成功返回",
  384. "schema": {
  385. "$ref": "#/definitions/md.LoginResponse"
  386. }
  387. },
  388. "400": {
  389. "description": "具体错误",
  390. "schema": {
  391. "$ref": "#/definitions/md.Response"
  392. }
  393. }
  394. }
  395. }
  396. },
  397. "/api/v1/findPassword": {
  398. "post": {
  399. "description": "注册",
  400. "consumes": [
  401. "application/json"
  402. ],
  403. "produces": [
  404. "application/json"
  405. ],
  406. "tags": [
  407. "注册"
  408. ],
  409. "summary": "注册",
  410. "parameters": [
  411. {
  412. "description": "注册参数",
  413. "name": "req",
  414. "in": "body",
  415. "required": true,
  416. "schema": {
  417. "$ref": "#/definitions/md.FindPasswordReq"
  418. }
  419. }
  420. ],
  421. "responses": {
  422. "200": {
  423. "description": "登录成功返回",
  424. "schema": {
  425. "type": "string"
  426. }
  427. },
  428. "400": {
  429. "description": "具体错误",
  430. "schema": {
  431. "$ref": "#/definitions/md.Response"
  432. }
  433. }
  434. }
  435. }
  436. },
  437. "/api/v1/homePage/adRule": {
  438. "get": {
  439. "description": "视频奖励规则(获取)",
  440. "consumes": [
  441. "application/json"
  442. ],
  443. "produces": [
  444. "application/json"
  445. ],
  446. "tags": [
  447. "主页"
  448. ],
  449. "summary": "蛋蛋星球-主页-视频奖励规则(获取)",
  450. "parameters": [
  451. {
  452. "type": "string",
  453. "description": "验证参数Bearer和token空格拼接",
  454. "name": "Authorization",
  455. "in": "header",
  456. "required": true
  457. }
  458. ],
  459. "responses": {
  460. "200": {
  461. "description": "具体数据",
  462. "schema": {
  463. "$ref": "#/definitions/md.HomePageWatchAdRuleResp"
  464. }
  465. },
  466. "400": {
  467. "description": "具体错误",
  468. "schema": {
  469. "$ref": "#/definitions/md.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/api/v1/homePage/index": {
  476. "get": {
  477. "description": "基础信息(获取)",
  478. "consumes": [
  479. "application/json"
  480. ],
  481. "produces": [
  482. "application/json"
  483. ],
  484. "tags": [
  485. "主页"
  486. ],
  487. "summary": "蛋蛋星球-主页-基础信息(获取)",
  488. "parameters": [
  489. {
  490. "type": "string",
  491. "description": "验证参数Bearer和token空格拼接",
  492. "name": "Authorization",
  493. "in": "header",
  494. "required": true
  495. }
  496. ],
  497. "responses": {
  498. "200": {
  499. "description": "具体数据",
  500. "schema": {
  501. "$ref": "#/definitions/md.HomePageResp"
  502. }
  503. },
  504. "400": {
  505. "description": "具体错误",
  506. "schema": {
  507. "$ref": "#/definitions/md.Response"
  508. }
  509. }
  510. }
  511. }
  512. },
  513. "/api/v1/homePage/isCanGetRedPackage": {
  514. "get": {
  515. "description": "是否可以领取红包(获取)",
  516. "consumes": [
  517. "application/json"
  518. ],
  519. "produces": [
  520. "application/json"
  521. ],
  522. "tags": [
  523. "主页"
  524. ],
  525. "summary": "蛋蛋星球-主页-是否领取红包(获取)",
  526. "parameters": [
  527. {
  528. "type": "string",
  529. "description": "验证参数Bearer和token空格拼接",
  530. "name": "Authorization",
  531. "in": "header",
  532. "required": true
  533. }
  534. ],
  535. "responses": {
  536. "200": {
  537. "description": "具体数据",
  538. "schema": {
  539. "$ref": "#/definitions/md.IsCanGetRedPackageResp"
  540. }
  541. },
  542. "400": {
  543. "description": "具体错误",
  544. "schema": {
  545. "$ref": "#/definitions/md.Response"
  546. }
  547. }
  548. }
  549. }
  550. },
  551. "/api/v1/homePage/isCanSignIn": {
  552. "get": {
  553. "description": "是否可以签到(获取)",
  554. "consumes": [
  555. "application/json"
  556. ],
  557. "produces": [
  558. "application/json"
  559. ],
  560. "tags": [
  561. "主页"
  562. ],
  563. "summary": "蛋蛋星球-主页-是否能签到(获取)",
  564. "parameters": [
  565. {
  566. "type": "string",
  567. "description": "验证参数Bearer和token空格拼接",
  568. "name": "Authorization",
  569. "in": "header",
  570. "required": true
  571. }
  572. ],
  573. "responses": {
  574. "200": {
  575. "description": "具体数据",
  576. "schema": {
  577. "$ref": "#/definitions/md.IsCanSignInResp"
  578. }
  579. },
  580. "400": {
  581. "description": "具体错误",
  582. "schema": {
  583. "$ref": "#/definitions/md.Response"
  584. }
  585. }
  586. }
  587. }
  588. },
  589. "/api/v1/homePage/realTimePrice": {
  590. "get": {
  591. "description": "实时数据(获取)",
  592. "consumes": [
  593. "application/json"
  594. ],
  595. "produces": [
  596. "application/json"
  597. ],
  598. "tags": [
  599. "主页"
  600. ],
  601. "summary": "蛋蛋星球-主页-实时数据(获取)",
  602. "parameters": [
  603. {
  604. "type": "string",
  605. "description": "验证参数Bearer和token空格拼接",
  606. "name": "Authorization",
  607. "in": "header",
  608. "required": true
  609. }
  610. ],
  611. "responses": {
  612. "200": {
  613. "description": "具体数据",
  614. "schema": {
  615. "$ref": "#/definitions/md.RealTimePriceResp"
  616. }
  617. },
  618. "400": {
  619. "description": "具体错误",
  620. "schema": {
  621. "$ref": "#/definitions/md.Response"
  622. }
  623. }
  624. }
  625. }
  626. },
  627. "/api/v1/login": {
  628. "post": {
  629. "description": "登入",
  630. "consumes": [
  631. "application/json"
  632. ],
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "登录"
  638. ],
  639. "summary": "登陆",
  640. "parameters": [
  641. {
  642. "description": "用户名密码",
  643. "name": "req",
  644. "in": "body",
  645. "required": true,
  646. "schema": {
  647. "$ref": "#/definitions/md.LoginReq"
  648. }
  649. }
  650. ],
  651. "responses": {
  652. "200": {
  653. "description": "token",
  654. "schema": {
  655. "$ref": "#/definitions/md.LoginResponse"
  656. }
  657. },
  658. "400": {
  659. "description": "具体错误",
  660. "schema": {
  661. "$ref": "#/definitions/md.Response"
  662. }
  663. }
  664. }
  665. }
  666. },
  667. "/api/v1/memberCenter/getBasic": {
  668. "get": {
  669. "description": "基础数据(获取)",
  670. "consumes": [
  671. "application/json"
  672. ],
  673. "produces": [
  674. "application/json"
  675. ],
  676. "tags": [
  677. "会员中心"
  678. ],
  679. "summary": "蛋蛋星球-会员中心-基础数据(获取)",
  680. "parameters": [
  681. {
  682. "type": "string",
  683. "description": "验证参数Bearer和token空格拼接",
  684. "name": "Authorization",
  685. "in": "header",
  686. "required": true
  687. }
  688. ],
  689. "responses": {
  690. "200": {
  691. "description": "具体数据",
  692. "schema": {
  693. "$ref": "#/definitions/md.MemberCenterGetBasicResp"
  694. }
  695. },
  696. "400": {
  697. "description": "具体错误",
  698. "schema": {
  699. "$ref": "#/definitions/md.Response"
  700. }
  701. }
  702. }
  703. }
  704. },
  705. "/api/v1/pointsCenter/contributionValue": {
  706. "get": {
  707. "description": "贡献值(获取)",
  708. "consumes": [
  709. "application/json"
  710. ],
  711. "produces": [
  712. "application/json"
  713. ],
  714. "tags": [
  715. "积分中心"
  716. ],
  717. "summary": "蛋蛋星球-积分中心-贡献值(获取)",
  718. "parameters": [
  719. {
  720. "type": "string",
  721. "description": "验证参数Bearer和token空格拼接",
  722. "name": "Authorization",
  723. "in": "header",
  724. "required": true
  725. }
  726. ],
  727. "responses": {
  728. "200": {
  729. "description": "具体数据",
  730. "schema": {
  731. "$ref": "#/definitions/md.GetContributionValueResp"
  732. }
  733. },
  734. "400": {
  735. "description": "具体错误",
  736. "schema": {
  737. "$ref": "#/definitions/md.Response"
  738. }
  739. }
  740. }
  741. }
  742. },
  743. "/api/v1/pointsCenter/contributionValueFlow": {
  744. "get": {
  745. "description": "贡献值明细(获取)",
  746. "consumes": [
  747. "application/json"
  748. ],
  749. "produces": [
  750. "application/json"
  751. ],
  752. "tags": [
  753. "积分中心"
  754. ],
  755. "summary": "蛋蛋星球-积分中心-贡献值明细(获取)",
  756. "parameters": [
  757. {
  758. "type": "string",
  759. "description": "验证参数Bearer和token空格拼接",
  760. "name": "Authorization",
  761. "in": "header",
  762. "required": true
  763. },
  764. {
  765. "type": "integer",
  766. "description": "每页大小",
  767. "name": "limit",
  768. "in": "query",
  769. "required": true
  770. },
  771. {
  772. "type": "integer",
  773. "description": "页数",
  774. "name": "page",
  775. "in": "query",
  776. "required": true
  777. }
  778. ],
  779. "responses": {
  780. "200": {
  781. "description": "具体数据",
  782. "schema": {
  783. "$ref": "#/definitions/md.GetContributionValueFlowResp"
  784. }
  785. },
  786. "400": {
  787. "description": "具体错误",
  788. "schema": {
  789. "$ref": "#/definitions/md.Response"
  790. }
  791. }
  792. }
  793. }
  794. },
  795. "/api/v1/pointsCenter/exchangeEnergy": {
  796. "post": {
  797. "description": "能量兑换",
  798. "consumes": [
  799. "application/json"
  800. ],
  801. "produces": [
  802. "application/json"
  803. ],
  804. "tags": [
  805. "积分中心"
  806. ],
  807. "summary": "蛋蛋星球-积分中心-能量兑换",
  808. "parameters": [
  809. {
  810. "type": "string",
  811. "description": "验证参数Bearer和token空格拼接",
  812. "name": "Authorization",
  813. "in": "header",
  814. "required": true
  815. },
  816. {
  817. "description": "需要兑换的能量值",
  818. "name": "req",
  819. "in": "body",
  820. "required": true,
  821. "schema": {
  822. "$ref": "#/definitions/md.ExchangeEnergyReq"
  823. }
  824. }
  825. ],
  826. "responses": {
  827. "200": {
  828. "description": "success",
  829. "schema": {
  830. "type": "string"
  831. }
  832. },
  833. "400": {
  834. "description": "具体错误",
  835. "schema": {
  836. "$ref": "#/definitions/md.Response"
  837. }
  838. }
  839. }
  840. }
  841. },
  842. "/api/v1/pointsCenter/getBasic": {
  843. "get": {
  844. "description": "基础信息(获取)",
  845. "consumes": [
  846. "application/json"
  847. ],
  848. "produces": [
  849. "application/json"
  850. ],
  851. "tags": [
  852. "积分中心"
  853. ],
  854. "summary": "蛋蛋星球-积分中心-基础信息(获取)",
  855. "parameters": [
  856. {
  857. "type": "string",
  858. "description": "验证参数Bearer和token空格拼接",
  859. "name": "Authorization",
  860. "in": "header",
  861. "required": true
  862. }
  863. ],
  864. "responses": {
  865. "200": {
  866. "description": "具体数据",
  867. "schema": {
  868. "$ref": "#/definitions/md.PointsCenterGetBasicResp"
  869. }
  870. },
  871. "400": {
  872. "description": "具体错误",
  873. "schema": {
  874. "$ref": "#/definitions/md.Response"
  875. }
  876. }
  877. }
  878. }
  879. },
  880. "/api/v1/pointsCenter/priceCurve": {
  881. "get": {
  882. "description": "价格趋势(获取)",
  883. "consumes": [
  884. "application/json"
  885. ],
  886. "produces": [
  887. "application/json"
  888. ],
  889. "tags": [
  890. "积分中心"
  891. ],
  892. "summary": "蛋蛋星球-积分中心-价格趋势(获取)",
  893. "parameters": [
  894. {
  895. "type": "string",
  896. "description": "验证参数Bearer和token空格拼接",
  897. "name": "Authorization",
  898. "in": "header",
  899. "required": true
  900. },
  901. {
  902. "type": "string",
  903. "description": "1:按天 2:按小时 3:按周",
  904. "name": "kind",
  905. "in": "query"
  906. }
  907. ],
  908. "responses": {
  909. "200": {
  910. "description": "具体数据",
  911. "schema": {
  912. "$ref": "#/definitions/md.GetPriceCurveResp"
  913. }
  914. },
  915. "400": {
  916. "description": "具体错误",
  917. "schema": {
  918. "$ref": "#/definitions/md.Response"
  919. }
  920. }
  921. }
  922. }
  923. },
  924. "/api/v1/register": {
  925. "post": {
  926. "description": "注册",
  927. "consumes": [
  928. "application/json"
  929. ],
  930. "produces": [
  931. "application/json"
  932. ],
  933. "tags": [
  934. "注册"
  935. ],
  936. "summary": "注册",
  937. "parameters": [
  938. {
  939. "description": "注册参数",
  940. "name": "req",
  941. "in": "body",
  942. "required": true,
  943. "schema": {
  944. "$ref": "#/definitions/md.RegisterReq"
  945. }
  946. }
  947. ],
  948. "responses": {
  949. "200": {
  950. "description": "登录成功返回",
  951. "schema": {
  952. "$ref": "#/definitions/md.LoginResponse"
  953. }
  954. },
  955. "400": {
  956. "description": "具体错误",
  957. "schema": {
  958. "$ref": "#/definitions/md.Response"
  959. }
  960. }
  961. }
  962. }
  963. },
  964. "/api/v1/smsSend": {
  965. "post": {
  966. "description": "发送短信",
  967. "consumes": [
  968. "application/json"
  969. ],
  970. "produces": [
  971. "application/json"
  972. ],
  973. "tags": [
  974. "发送短信"
  975. ],
  976. "summary": "发送短信",
  977. "parameters": [
  978. {
  979. "description": "注册参数",
  980. "name": "req",
  981. "in": "body",
  982. "required": true,
  983. "schema": {
  984. "$ref": "#/definitions/md.SmsSendReq"
  985. }
  986. }
  987. ],
  988. "responses": {
  989. "200": {
  990. "description": "成功返回",
  991. "schema": {
  992. "type": "string"
  993. }
  994. },
  995. "400": {
  996. "description": "具体错误",
  997. "schema": {
  998. "$ref": "#/definitions/md.Response"
  999. }
  1000. }
  1001. }
  1002. }
  1003. },
  1004. "/api/v1/test": {
  1005. "get": {
  1006. "description": "Demo样例测试",
  1007. "consumes": [
  1008. "application/json"
  1009. ],
  1010. "produces": [
  1011. "application/json"
  1012. ],
  1013. "tags": [
  1014. "Demo"
  1015. ],
  1016. "summary": "Demo测试",
  1017. "parameters": [
  1018. {
  1019. "description": "任意参数",
  1020. "name": "req",
  1021. "in": "body",
  1022. "required": true,
  1023. "schema": {}
  1024. }
  1025. ],
  1026. "responses": {
  1027. "200": {
  1028. "description": "返回任意参数",
  1029. "schema": {
  1030. "type": "object",
  1031. "additionalProperties": true
  1032. }
  1033. },
  1034. "400": {
  1035. "description": "具体错误",
  1036. "schema": {
  1037. "$ref": "#/definitions/md.Response"
  1038. }
  1039. }
  1040. }
  1041. }
  1042. },
  1043. "/api/v1/userInfo": {
  1044. "get": {
  1045. "description": "用户信息",
  1046. "consumes": [
  1047. "application/json"
  1048. ],
  1049. "produces": [
  1050. "application/json"
  1051. ],
  1052. "tags": [
  1053. "用户信息"
  1054. ],
  1055. "summary": "用户信息",
  1056. "parameters": [
  1057. {
  1058. "type": "string",
  1059. "description": "验证参数Bearer和token空格拼接",
  1060. "name": "Authorization",
  1061. "in": "header",
  1062. "required": true
  1063. }
  1064. ],
  1065. "responses": {
  1066. "200": {
  1067. "description": "具体数据",
  1068. "schema": {
  1069. "$ref": "#/definitions/md.UserInfoResp"
  1070. }
  1071. },
  1072. "400": {
  1073. "description": "具体错误",
  1074. "schema": {
  1075. "$ref": "#/definitions/md.Response"
  1076. }
  1077. }
  1078. }
  1079. }
  1080. },
  1081. "/api/v1/wechatLogin": {
  1082. "post": {
  1083. "description": "微信登陆",
  1084. "consumes": [
  1085. "application/json"
  1086. ],
  1087. "produces": [
  1088. "application/json"
  1089. ],
  1090. "tags": [
  1091. "微信登陆"
  1092. ],
  1093. "summary": "微信登陆",
  1094. "parameters": [
  1095. {
  1096. "description": "注册参数",
  1097. "name": "req",
  1098. "in": "body",
  1099. "required": true,
  1100. "schema": {
  1101. "$ref": "#/definitions/md.WechatLoginReq"
  1102. }
  1103. }
  1104. ],
  1105. "responses": {
  1106. "200": {
  1107. "description": "登录成功返回",
  1108. "schema": {
  1109. "$ref": "#/definitions/md.LoginResponse"
  1110. }
  1111. },
  1112. "400": {
  1113. "description": "具体错误",
  1114. "schema": {
  1115. "$ref": "#/definitions/md.Response"
  1116. }
  1117. }
  1118. }
  1119. }
  1120. }
  1121. },
  1122. "definitions": {
  1123. "applet_app_md.Paginate": {
  1124. "type": "object",
  1125. "properties": {
  1126. "limit": {
  1127. "description": "每页大小",
  1128. "type": "integer"
  1129. },
  1130. "page": {
  1131. "description": "页数",
  1132. "type": "integer"
  1133. },
  1134. "total": {
  1135. "description": "总数据量",
  1136. "type": "integer"
  1137. }
  1138. }
  1139. },
  1140. "md.BasalRateResp": {
  1141. "type": "object",
  1142. "properties": {
  1143. "basal_rate": {
  1144. "description": "基础速率",
  1145. "type": "string"
  1146. },
  1147. "consumed_egg_energy": {
  1148. "description": "收益蛋蛋能量",
  1149. "type": "string"
  1150. },
  1151. "consumed_egg_point": {
  1152. "description": "消耗蛋蛋积分",
  1153. "type": "string"
  1154. },
  1155. "consumed_time": {
  1156. "description": "消耗时间/小时",
  1157. "type": "string"
  1158. },
  1159. "estimated_revenue": {
  1160. "description": "预估收益蛋蛋能量",
  1161. "type": "string"
  1162. },
  1163. "remaining_egg_energy": {
  1164. "description": "剩余蛋蛋能量",
  1165. "type": "string"
  1166. },
  1167. "remaining_time": {
  1168. "description": "剩余时间/小时",
  1169. "type": "string"
  1170. },
  1171. "sign_countdown": {
  1172. "description": "收益倒计时",
  1173. "type": "string"
  1174. }
  1175. }
  1176. },
  1177. "md.ContributionValueFlowNode": {
  1178. "type": "object",
  1179. "properties": {
  1180. "amount": {
  1181. "description": "变更数量",
  1182. "type": "string"
  1183. },
  1184. "create_at": {
  1185. "description": "完成时间",
  1186. "type": "string"
  1187. },
  1188. "direction": {
  1189. "description": "方向: 1.收入 2.支出",
  1190. "type": "string"
  1191. },
  1192. "title": {
  1193. "description": "标题",
  1194. "type": "string"
  1195. }
  1196. }
  1197. },
  1198. "md.EggEnergyDetailReq": {
  1199. "type": "object",
  1200. "properties": {
  1201. "asc": {
  1202. "description": "1.升序 2.倒序",
  1203. "type": "string"
  1204. },
  1205. "direction": {
  1206. "description": "类型 1.收入 2.支出 全部则传空",
  1207. "type": "string"
  1208. },
  1209. "kind": {
  1210. "description": "类型:1. 个人蛋蛋能量 2.团队蛋蛋能量",
  1211. "type": "string"
  1212. },
  1213. "limit": {
  1214. "description": "每页大小",
  1215. "type": "integer"
  1216. },
  1217. "page": {
  1218. "description": "页数",
  1219. "type": "integer"
  1220. },
  1221. "type": {
  1222. "description": "变动类型 全部则传空",
  1223. "type": "string"
  1224. }
  1225. }
  1226. },
  1227. "md.EggEnergyDetailResp": {
  1228. "type": "object",
  1229. "properties": {
  1230. "list": {
  1231. "description": "流水数据",
  1232. "type": "array",
  1233. "items": {
  1234. "type": "object",
  1235. "additionalProperties": {
  1236. "type": "string"
  1237. }
  1238. }
  1239. },
  1240. "paginate": {
  1241. "description": "分页信息",
  1242. "allOf": [
  1243. {
  1244. "$ref": "#/definitions/applet_app_md.Paginate"
  1245. }
  1246. ]
  1247. },
  1248. "person_egg_energy": {
  1249. "description": "个人蛋蛋能量",
  1250. "type": "string"
  1251. },
  1252. "team_egg_energy": {
  1253. "description": "团队蛋蛋能量",
  1254. "type": "string"
  1255. },
  1256. "total_egg_energy": {
  1257. "description": "总蛋蛋能量",
  1258. "type": "string"
  1259. },
  1260. "total_egg_energy_price": {
  1261. "description": "蛋蛋能量总价",
  1262. "type": "string"
  1263. },
  1264. "transfer_type_list": {
  1265. "description": "转账类型列表",
  1266. "allOf": [
  1267. {
  1268. "$ref": "#/definitions/md.TransferTypeList"
  1269. }
  1270. ]
  1271. }
  1272. }
  1273. },
  1274. "md.EggPointDetailsReq": {
  1275. "type": "object",
  1276. "properties": {
  1277. "asc": {
  1278. "description": "1.升序 2.倒序",
  1279. "type": "string"
  1280. },
  1281. "direction": {
  1282. "description": "类型 1.收入 2.支出 全部则传空",
  1283. "type": "string"
  1284. },
  1285. "kind": {
  1286. "description": "类型:1. 个人蛋蛋积分 2.团队蛋蛋积分",
  1287. "type": "string"
  1288. },
  1289. "limit": {
  1290. "description": "每页大小",
  1291. "type": "integer"
  1292. },
  1293. "page": {
  1294. "description": "页数",
  1295. "type": "integer"
  1296. },
  1297. "type": {
  1298. "description": "变动类型 全部则传空",
  1299. "type": "string"
  1300. }
  1301. }
  1302. },
  1303. "md.EggPointDetailsResp": {
  1304. "type": "object",
  1305. "properties": {
  1306. "list": {
  1307. "description": "流水数据",
  1308. "type": "array",
  1309. "items": {
  1310. "type": "object",
  1311. "additionalProperties": {
  1312. "type": "string"
  1313. }
  1314. }
  1315. },
  1316. "paginate": {
  1317. "description": "分页信息",
  1318. "allOf": [
  1319. {
  1320. "$ref": "#/definitions/applet_app_md.Paginate"
  1321. }
  1322. ]
  1323. },
  1324. "person_egg_points": {
  1325. "description": "个人蛋蛋积分",
  1326. "type": "string"
  1327. },
  1328. "team_egg_points": {
  1329. "description": "团队蛋蛋积分",
  1330. "type": "string"
  1331. },
  1332. "total_egg_points": {
  1333. "description": "总蛋蛋积分",
  1334. "type": "string"
  1335. },
  1336. "total_egg_points_amount": {
  1337. "description": "蛋蛋积分余额",
  1338. "type": "string"
  1339. },
  1340. "transfer_type_list": {
  1341. "description": "转账类型列表",
  1342. "allOf": [
  1343. {
  1344. "$ref": "#/definitions/md.TransferTypeList"
  1345. }
  1346. ]
  1347. }
  1348. }
  1349. },
  1350. "md.ExchangeEnergyReq": {
  1351. "type": "object",
  1352. "properties": {
  1353. "energy_amount": {
  1354. "description": "兑换能量数值",
  1355. "type": "string"
  1356. }
  1357. }
  1358. },
  1359. "md.FastLoginReq": {
  1360. "type": "object",
  1361. "properties": {
  1362. "invite_code": {
  1363. "type": "string",
  1364. "example": "邀请码"
  1365. },
  1366. "token": {
  1367. "type": "string",
  1368. "example": "一键登录的token"
  1369. }
  1370. }
  1371. },
  1372. "md.FindPasswordReq": {
  1373. "type": "object",
  1374. "required": [
  1375. "mobile"
  1376. ],
  1377. "properties": {
  1378. "code": {
  1379. "type": "string",
  1380. "example": "验证码"
  1381. },
  1382. "mobile": {
  1383. "type": "string"
  1384. },
  1385. "password": {
  1386. "type": "string",
  1387. "example": "密码 如 123"
  1388. }
  1389. }
  1390. },
  1391. "md.GetContributionValueFlowResp": {
  1392. "type": "object",
  1393. "properties": {
  1394. "list": {
  1395. "type": "array",
  1396. "items": {
  1397. "$ref": "#/definitions/md.ContributionValueFlowNode"
  1398. }
  1399. },
  1400. "paginate": {
  1401. "$ref": "#/definitions/applet_app_md.Paginate"
  1402. }
  1403. }
  1404. },
  1405. "md.GetContributionValueResp": {
  1406. "type": "object",
  1407. "properties": {
  1408. "contribution_value": {
  1409. "description": "贡献值",
  1410. "type": "string"
  1411. },
  1412. "ratio": {
  1413. "description": "兑换比率(x 分兑换 1 人民币)",
  1414. "type": "string"
  1415. }
  1416. }
  1417. },
  1418. "md.GetPriceCurveResp": {
  1419. "type": "object",
  1420. "properties": {
  1421. "x_data": {
  1422. "type": "array",
  1423. "items": {}
  1424. },
  1425. "y_data": {
  1426. "type": "array",
  1427. "items": {}
  1428. }
  1429. }
  1430. },
  1431. "md.HomePageResp": {
  1432. "type": "object",
  1433. "properties": {
  1434. "egg_energy_now_price": {
  1435. "description": "蛋蛋能量当前价格",
  1436. "type": "string"
  1437. },
  1438. "initial_price": {
  1439. "description": "蛋蛋能量初始价格",
  1440. "type": "string"
  1441. },
  1442. "is_rises": {
  1443. "description": "是否涨价",
  1444. "type": "boolean"
  1445. },
  1446. "is_sign": {
  1447. "description": "是否开始签到",
  1448. "type": "boolean"
  1449. },
  1450. "nick_name": {
  1451. "description": "用户名称",
  1452. "type": "string"
  1453. },
  1454. "now_basal_rate": {
  1455. "description": "当前基础速率/小时",
  1456. "type": "string"
  1457. },
  1458. "now_team_rate": {
  1459. "description": "当前团队速率/小时",
  1460. "type": "string"
  1461. },
  1462. "rises": {
  1463. "description": "涨/跌价百分比",
  1464. "type": "string"
  1465. },
  1466. "sign_end_time": {
  1467. "description": "签到截止时间",
  1468. "type": "string"
  1469. },
  1470. "total_active_points": {
  1471. "description": "总蛋蛋积分",
  1472. "type": "string"
  1473. },
  1474. "total_egg_energy": {
  1475. "description": "总蛋蛋能量",
  1476. "type": "string"
  1477. },
  1478. "user_count": {
  1479. "description": "当前用户数量",
  1480. "type": "integer"
  1481. }
  1482. }
  1483. },
  1484. "md.HomePageWatchAdRuleResp": {
  1485. "type": "object",
  1486. "properties": {
  1487. "each_round_hour": {
  1488. "description": "每一轮X个小时",
  1489. "type": "string"
  1490. },
  1491. "interval_minutes": {
  1492. "description": "间隔X秒",
  1493. "type": "string"
  1494. },
  1495. "reward_total_num": {
  1496. "description": "一共X个奖励视屏",
  1497. "type": "string"
  1498. },
  1499. "reward_value": {
  1500. "description": "奖励X个活跃积分",
  1501. "type": "string"
  1502. }
  1503. }
  1504. },
  1505. "md.IntegralList": {
  1506. "type": "object",
  1507. "properties": {
  1508. "expend_list": {
  1509. "description": "支出类型列表",
  1510. "type": "array",
  1511. "items": {
  1512. "$ref": "#/definitions/md.TransferTypeNode"
  1513. }
  1514. },
  1515. "income_list": {
  1516. "description": "收入类型列表",
  1517. "type": "array",
  1518. "items": {
  1519. "$ref": "#/definitions/md.TransferTypeNode"
  1520. }
  1521. }
  1522. }
  1523. },
  1524. "md.IsCanGetRedPackageResp": {
  1525. "type": "object",
  1526. "properties": {
  1527. "is_can_get_red_package": {
  1528. "type": "boolean"
  1529. }
  1530. }
  1531. },
  1532. "md.IsCanSignInResp": {
  1533. "type": "object",
  1534. "properties": {
  1535. "is_can_sign_in": {
  1536. "type": "boolean"
  1537. }
  1538. }
  1539. },
  1540. "md.LoginReq": {
  1541. "type": "object",
  1542. "required": [
  1543. "password",
  1544. "phone"
  1545. ],
  1546. "properties": {
  1547. "code": {
  1548. "type": "string",
  1549. "example": "验证码"
  1550. },
  1551. "password": {
  1552. "type": "string",
  1553. "example": "登录密码"
  1554. },
  1555. "phone": {
  1556. "type": "string",
  1557. "example": "手机号"
  1558. }
  1559. }
  1560. },
  1561. "md.LoginResponse": {
  1562. "type": "object",
  1563. "properties": {
  1564. "token": {
  1565. "type": "string"
  1566. }
  1567. }
  1568. },
  1569. "md.MemberCenterGetBasicResp": {
  1570. "type": "object",
  1571. "properties": {
  1572. "active_num": {
  1573. "description": "活跃值",
  1574. "type": "string"
  1575. },
  1576. "amount": {
  1577. "description": "账户余额",
  1578. "type": "string"
  1579. },
  1580. "contribution_value": {
  1581. "description": "贡献值",
  1582. "type": "string"
  1583. },
  1584. "date": {
  1585. "description": "兑换时间(每月x日)",
  1586. "type": "string"
  1587. },
  1588. "egg_energy": {
  1589. "description": "能量值",
  1590. "type": "string"
  1591. },
  1592. "egg_energy_value": {
  1593. "description": "能量预估价值",
  1594. "type": "string"
  1595. },
  1596. "egg_score": {
  1597. "description": "蛋蛋分",
  1598. "type": "string"
  1599. },
  1600. "level_name": {
  1601. "description": "会员等级名称",
  1602. "type": "string"
  1603. },
  1604. "nickname": {
  1605. "description": "会员名称",
  1606. "type": "string"
  1607. },
  1608. "ratio": {
  1609. "description": "兑换比例(x:y)",
  1610. "type": "string"
  1611. }
  1612. }
  1613. },
  1614. "md.MyFansResp": {
  1615. "type": "object",
  1616. "properties": {
  1617. "now_team_assistance_num": {
  1618. "description": "团队助力人数",
  1619. "type": "integer"
  1620. },
  1621. "now_team_assistance_reward": {
  1622. "description": "团队助力收益",
  1623. "type": "string"
  1624. },
  1625. "now_team_user": {
  1626. "description": "团队人数",
  1627. "type": "integer"
  1628. }
  1629. }
  1630. },
  1631. "md.MyFansUserListResp": {
  1632. "type": "object",
  1633. "properties": {
  1634. "list": {
  1635. "type": "array",
  1636. "items": {
  1637. "$ref": "#/definitions/md.OneLineUserNode"
  1638. }
  1639. }
  1640. }
  1641. },
  1642. "md.NineDimensionalSpaceResp": {
  1643. "type": "object",
  1644. "properties": {
  1645. "a_lot_of_nums": {
  1646. "description": "全网至多用户数",
  1647. "type": "string"
  1648. },
  1649. "day_num": {
  1650. "description": "连续x天不活跃",
  1651. "type": "string"
  1652. },
  1653. "rows": {
  1654. "description": "行数",
  1655. "type": "string"
  1656. },
  1657. "space_list": {
  1658. "description": "数据列表",
  1659. "type": "array",
  1660. "items": {
  1661. "$ref": "#/definitions/md.SpaceListNode"
  1662. }
  1663. },
  1664. "space_nums": {
  1665. "description": "空间人数",
  1666. "type": "string"
  1667. },
  1668. "space_total_nums": {
  1669. "description": "空间总数",
  1670. "type": "string"
  1671. },
  1672. "times": {
  1673. "description": "排数",
  1674. "type": "string"
  1675. }
  1676. }
  1677. },
  1678. "md.OneLineUserNode": {
  1679. "type": "object",
  1680. "properties": {
  1681. "avatar_url": {
  1682. "type": "string"
  1683. },
  1684. "invite_time": {
  1685. "type": "string"
  1686. },
  1687. "is_online": {
  1688. "type": "boolean"
  1689. },
  1690. "nickname": {
  1691. "type": "string"
  1692. }
  1693. }
  1694. },
  1695. "md.PointsCenterGetBasicResp": {
  1696. "type": "object",
  1697. "properties": {
  1698. "available_cash": {
  1699. "description": "可用现金",
  1700. "type": "string"
  1701. },
  1702. "available_energy": {
  1703. "description": "可用能量",
  1704. "type": "string"
  1705. }
  1706. }
  1707. },
  1708. "md.RealTimePriceResp": {
  1709. "type": "object",
  1710. "properties": {
  1711. "is_rises": {
  1712. "type": "boolean"
  1713. },
  1714. "now_price": {
  1715. "type": "string"
  1716. },
  1717. "rises": {
  1718. "type": "string"
  1719. },
  1720. "user_count": {
  1721. "type": "string"
  1722. }
  1723. }
  1724. },
  1725. "md.RegisterReq": {
  1726. "type": "object",
  1727. "required": [
  1728. "mobile"
  1729. ],
  1730. "properties": {
  1731. "avatar": {
  1732. "type": "string",
  1733. "example": "头像"
  1734. },
  1735. "code": {
  1736. "type": "string",
  1737. "example": "验证码"
  1738. },
  1739. "invite_code": {
  1740. "type": "string",
  1741. "example": "邀请码"
  1742. },
  1743. "mobile": {
  1744. "type": "string"
  1745. },
  1746. "nickname": {
  1747. "type": "string",
  1748. "example": "昵称"
  1749. },
  1750. "open_id": {
  1751. "type": "string",
  1752. "example": "微信openId"
  1753. },
  1754. "password": {
  1755. "type": "string",
  1756. "example": "密码 如 123"
  1757. },
  1758. "sex": {
  1759. "description": "性别(0:未知 1:男 2:女)",
  1760. "type": "integer"
  1761. },
  1762. "type": {
  1763. "type": "string",
  1764. "example": "app:APP注册、h5:H5注册"
  1765. },
  1766. "union_id": {
  1767. "type": "string",
  1768. "example": "微信UnionId"
  1769. }
  1770. }
  1771. },
  1772. "md.Response": {
  1773. "type": "object",
  1774. "properties": {
  1775. "code": {
  1776. "type": "string",
  1777. "example": "响应码"
  1778. },
  1779. "data": {
  1780. "description": "内容"
  1781. },
  1782. "msg": {
  1783. "type": "string",
  1784. "example": "具体错误原因"
  1785. }
  1786. }
  1787. },
  1788. "md.SmsSendReq": {
  1789. "type": "object",
  1790. "required": [
  1791. "mobile"
  1792. ],
  1793. "properties": {
  1794. "captcha_output": {
  1795. "type": "string",
  1796. "example": "阿里云图形验证码对应参数"
  1797. },
  1798. "gen_time": {
  1799. "type": "string",
  1800. "example": "阿里云图形验证码对应参数"
  1801. },
  1802. "lot_number": {
  1803. "type": "string",
  1804. "example": "阿里云图形验证码对应参数"
  1805. },
  1806. "mobile": {
  1807. "type": "string"
  1808. },
  1809. "pass_token": {
  1810. "type": "string",
  1811. "example": "阿里云图形验证码对应参数"
  1812. },
  1813. "type": {
  1814. "type": "string",
  1815. "example": "h5Register:h5注册页、wechatBindPhone:微信绑定手机、login:登陆、findPwd:找回密码、changePwd:修改密码"
  1816. }
  1817. }
  1818. },
  1819. "md.SpaceListNode": {
  1820. "type": "object",
  1821. "properties": {
  1822. "max_count": {
  1823. "description": "最大容纳人数",
  1824. "type": "string"
  1825. },
  1826. "name": {
  1827. "description": "维度",
  1828. "type": "string"
  1829. },
  1830. "now_count": {
  1831. "description": "当前人数",
  1832. "type": "string"
  1833. }
  1834. }
  1835. },
  1836. "md.TotalRateResp": {
  1837. "type": "object",
  1838. "properties": {
  1839. "consumed_personal_egg_point": {
  1840. "description": "消耗个人蛋蛋积分",
  1841. "type": "string"
  1842. },
  1843. "consumed_team_egg_point": {
  1844. "description": "消耗团队蛋蛋积分",
  1845. "type": "string"
  1846. },
  1847. "now_basal_rate": {
  1848. "description": "当前基础速率/小时",
  1849. "type": "string"
  1850. },
  1851. "now_team_rate": {
  1852. "description": "当前团队速率/小时",
  1853. "type": "string"
  1854. },
  1855. "now_total_rate": {
  1856. "description": "总速率/小时",
  1857. "type": "string"
  1858. }
  1859. }
  1860. },
  1861. "md.TransferTypeList": {
  1862. "type": "object",
  1863. "properties": {
  1864. "TeamTransferTypeList": {
  1865. "description": "团队积分变动列表",
  1866. "allOf": [
  1867. {
  1868. "$ref": "#/definitions/md.IntegralList"
  1869. }
  1870. ]
  1871. },
  1872. "personal_transfer_type_list": {
  1873. "description": "个人积分变动列表",
  1874. "allOf": [
  1875. {
  1876. "$ref": "#/definitions/md.IntegralList"
  1877. }
  1878. ]
  1879. }
  1880. }
  1881. },
  1882. "md.TransferTypeNode": {
  1883. "type": "object",
  1884. "properties": {
  1885. "name": {
  1886. "type": "string"
  1887. },
  1888. "value": {
  1889. "type": "string"
  1890. }
  1891. }
  1892. },
  1893. "md.UserInfoResp": {
  1894. "type": "object",
  1895. "properties": {
  1896. "id": {
  1897. "type": "string"
  1898. },
  1899. "invite_code": {
  1900. "type": "string"
  1901. },
  1902. "is_bind_extend": {
  1903. "type": "string",
  1904. "example": "是否绑定了上级 0否 1是"
  1905. },
  1906. "nickname": {
  1907. "type": "string"
  1908. },
  1909. "phone": {
  1910. "type": "string"
  1911. }
  1912. }
  1913. },
  1914. "md.WechatLoginReq": {
  1915. "type": "object",
  1916. "properties": {
  1917. "avatar": {
  1918. "type": "string",
  1919. "example": "头像"
  1920. },
  1921. "nickname": {
  1922. "type": "string",
  1923. "example": "昵称"
  1924. },
  1925. "open_id": {
  1926. "type": "string",
  1927. "example": "微信openId"
  1928. },
  1929. "union_id": {
  1930. "type": "string",
  1931. "example": "微信UnionId"
  1932. }
  1933. }
  1934. }
  1935. }
  1936. }