蛋蛋星球-客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1319 line
44 KiB

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