蛋蛋星球-客户端
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 

1961 рядки
65 KiB

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