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

3321 lines
110 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/advertising": {
  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. "$ref": "#/definitions/md.AdvertisingResp"
  350. }
  351. },
  352. "400": {
  353. "description": "具体错误",
  354. "schema": {
  355. "$ref": "#/definitions/md.Response"
  356. }
  357. }
  358. }
  359. }
  360. },
  361. "/api/v1/advertising/detail": {
  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. "type": "string",
  377. "description": "验证参数Bearer和token空格拼接",
  378. "name": "Authorization",
  379. "in": "header",
  380. "required": true
  381. },
  382. {
  383. "description": "注册参数",
  384. "name": "req",
  385. "in": "body",
  386. "required": true,
  387. "schema": {
  388. "$ref": "#/definitions/md.AdvertisingReq"
  389. }
  390. }
  391. ],
  392. "responses": {
  393. "200": {
  394. "description": "具体数据",
  395. "schema": {
  396. "$ref": "#/definitions/md.AdvertisingSpace"
  397. }
  398. },
  399. "400": {
  400. "description": "具体错误",
  401. "schema": {
  402. "$ref": "#/definitions/md.Response"
  403. }
  404. }
  405. }
  406. }
  407. },
  408. "/api/v1/comm/accessRecords": {
  409. "post": {
  410. "description": "页面记录",
  411. "consumes": [
  412. "application/json"
  413. ],
  414. "produces": [
  415. "application/json"
  416. ],
  417. "tags": [
  418. "访问记录"
  419. ],
  420. "summary": "通用请求-访问记录-页面记录",
  421. "parameters": [
  422. {
  423. "type": "string",
  424. "description": "验证参数Bearer和token空格拼接",
  425. "name": "Authorization",
  426. "in": "header",
  427. "required": true
  428. },
  429. {
  430. "description": "页面标识",
  431. "name": "req",
  432. "in": "body",
  433. "required": true,
  434. "schema": {
  435. "$ref": "#/definitions/comm.AccessRecordsReq"
  436. }
  437. }
  438. ],
  439. "responses": {
  440. "200": {
  441. "description": "data exist",
  442. "schema": {
  443. "type": "string"
  444. }
  445. },
  446. "400": {
  447. "description": "具体错误",
  448. "schema": {
  449. "$ref": "#/definitions/md.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/api/v1/comm/getOssUrl": {
  456. "get": {
  457. "description": "上传许可链接(获取)",
  458. "consumes": [
  459. "application/json"
  460. ],
  461. "produces": [
  462. "application/json"
  463. ],
  464. "tags": [
  465. "对象存储"
  466. ],
  467. "summary": "通用请求-对象存储-上传许可链接(获取)",
  468. "parameters": [
  469. {
  470. "type": "string",
  471. "description": "验证参数Bearer和token空格拼接",
  472. "name": "Authorization",
  473. "in": "header",
  474. "required": true
  475. }
  476. ],
  477. "responses": {
  478. "200": {
  479. "description": "许可链接",
  480. "schema": {
  481. "type": "string"
  482. }
  483. },
  484. "400": {
  485. "description": "具体错误",
  486. "schema": {
  487. "$ref": "#/definitions/md.Response"
  488. }
  489. }
  490. }
  491. }
  492. },
  493. "/api/v1/config": {
  494. "get": {
  495. "description": "基本配置",
  496. "consumes": [
  497. "application/json"
  498. ],
  499. "produces": [
  500. "application/json"
  501. ],
  502. "tags": [
  503. "基本配置"
  504. ],
  505. "summary": "基本配置",
  506. "parameters": [
  507. {
  508. "type": "string",
  509. "description": "验证参数Bearer和token空格拼接",
  510. "name": "Authorization",
  511. "in": "header",
  512. "required": true
  513. }
  514. ],
  515. "responses": {
  516. "200": {
  517. "description": "具体数据",
  518. "schema": {
  519. "$ref": "#/definitions/md.ConfigResp"
  520. }
  521. },
  522. "400": {
  523. "description": "具体错误",
  524. "schema": {
  525. "$ref": "#/definitions/md.Response"
  526. }
  527. }
  528. }
  529. }
  530. },
  531. "/api/v1/fastLogin": {
  532. "post": {
  533. "description": "一键登录",
  534. "consumes": [
  535. "application/json"
  536. ],
  537. "produces": [
  538. "application/json"
  539. ],
  540. "tags": [
  541. "一键登录"
  542. ],
  543. "summary": "一键登录",
  544. "parameters": [
  545. {
  546. "description": "注册参数",
  547. "name": "req",
  548. "in": "body",
  549. "required": true,
  550. "schema": {
  551. "$ref": "#/definitions/md.FastLoginReq"
  552. }
  553. }
  554. ],
  555. "responses": {
  556. "200": {
  557. "description": "登录成功返回",
  558. "schema": {
  559. "$ref": "#/definitions/md.LoginResponse"
  560. }
  561. },
  562. "400": {
  563. "description": "具体错误",
  564. "schema": {
  565. "$ref": "#/definitions/md.Response"
  566. }
  567. }
  568. }
  569. }
  570. },
  571. "/api/v1/findPassword": {
  572. "post": {
  573. "description": "注册",
  574. "consumes": [
  575. "application/json"
  576. ],
  577. "produces": [
  578. "application/json"
  579. ],
  580. "tags": [
  581. "注册"
  582. ],
  583. "summary": "注册",
  584. "parameters": [
  585. {
  586. "description": "注册参数",
  587. "name": "req",
  588. "in": "body",
  589. "required": true,
  590. "schema": {
  591. "$ref": "#/definitions/md.FindPasswordReq"
  592. }
  593. }
  594. ],
  595. "responses": {
  596. "200": {
  597. "description": "登录成功返回",
  598. "schema": {
  599. "type": "string"
  600. }
  601. },
  602. "400": {
  603. "description": "具体错误",
  604. "schema": {
  605. "$ref": "#/definitions/md.Response"
  606. }
  607. }
  608. }
  609. }
  610. },
  611. "/api/v1/getModuleSetting": {
  612. "get": {
  613. "description": "页面样式",
  614. "consumes": [
  615. "application/json"
  616. ],
  617. "produces": [
  618. "application/json"
  619. ],
  620. "tags": [
  621. "页面样式"
  622. ],
  623. "summary": "页面样式",
  624. "parameters": [
  625. {
  626. "type": "string",
  627. "description": "验证参数Bearer和token空格拼接",
  628. "name": "Authorization",
  629. "in": "header",
  630. "required": true
  631. },
  632. {
  633. "type": "string",
  634. "description": "页面名称类型值(1:home_page 2:member_center 3:bottom_bar 4:invitation_download_landing_page 5:invitation_poster)",
  635. "name": "mod_name_value",
  636. "in": "query",
  637. "required": true
  638. }
  639. ],
  640. "responses": {
  641. "200": {
  642. "description": "具体数据",
  643. "schema": {
  644. "$ref": "#/definitions/md.GetModuleSettingResp"
  645. }
  646. },
  647. "400": {
  648. "description": "具体错误",
  649. "schema": {
  650. "$ref": "#/definitions/md.Response"
  651. }
  652. }
  653. }
  654. }
  655. },
  656. "/api/v1/homePage/adRule": {
  657. "get": {
  658. "description": "视频奖励规则(获取)",
  659. "consumes": [
  660. "application/json"
  661. ],
  662. "produces": [
  663. "application/json"
  664. ],
  665. "tags": [
  666. "主页"
  667. ],
  668. "summary": "蛋蛋星球-主页-视频奖励规则(获取)",
  669. "parameters": [
  670. {
  671. "type": "string",
  672. "description": "验证参数Bearer和token空格拼接",
  673. "name": "Authorization",
  674. "in": "header",
  675. "required": true
  676. }
  677. ],
  678. "responses": {
  679. "200": {
  680. "description": "具体数据",
  681. "schema": {
  682. "$ref": "#/definitions/md.HomePageWatchAdRuleResp"
  683. }
  684. },
  685. "400": {
  686. "description": "具体错误",
  687. "schema": {
  688. "$ref": "#/definitions/md.Response"
  689. }
  690. }
  691. }
  692. }
  693. },
  694. "/api/v1/homePage/index": {
  695. "get": {
  696. "description": "基础信息(获取)",
  697. "consumes": [
  698. "application/json"
  699. ],
  700. "produces": [
  701. "application/json"
  702. ],
  703. "tags": [
  704. "主页"
  705. ],
  706. "summary": "蛋蛋星球-主页-基础信息(获取)",
  707. "parameters": [
  708. {
  709. "type": "string",
  710. "description": "验证参数Bearer和token空格拼接",
  711. "name": "Authorization",
  712. "in": "header",
  713. "required": true
  714. }
  715. ],
  716. "responses": {
  717. "200": {
  718. "description": "具体数据",
  719. "schema": {
  720. "$ref": "#/definitions/md.HomePageResp"
  721. }
  722. },
  723. "400": {
  724. "description": "具体错误",
  725. "schema": {
  726. "$ref": "#/definitions/md.Response"
  727. }
  728. }
  729. }
  730. }
  731. },
  732. "/api/v1/homePage/isCanGetRedPackage": {
  733. "get": {
  734. "description": "是否可以领取红包(获取)",
  735. "consumes": [
  736. "application/json"
  737. ],
  738. "produces": [
  739. "application/json"
  740. ],
  741. "tags": [
  742. "主页"
  743. ],
  744. "summary": "蛋蛋星球-主页-是否领取红包(获取)",
  745. "parameters": [
  746. {
  747. "type": "string",
  748. "description": "验证参数Bearer和token空格拼接",
  749. "name": "Authorization",
  750. "in": "header",
  751. "required": true
  752. }
  753. ],
  754. "responses": {
  755. "200": {
  756. "description": "具体数据",
  757. "schema": {
  758. "$ref": "#/definitions/md.IsCanGetRedPackageResp"
  759. }
  760. },
  761. "400": {
  762. "description": "具体错误",
  763. "schema": {
  764. "$ref": "#/definitions/md.Response"
  765. }
  766. }
  767. }
  768. }
  769. },
  770. "/api/v1/homePage/isCanSignIn": {
  771. "get": {
  772. "description": "是否可以签到(获取)",
  773. "consumes": [
  774. "application/json"
  775. ],
  776. "produces": [
  777. "application/json"
  778. ],
  779. "tags": [
  780. "主页"
  781. ],
  782. "summary": "蛋蛋星球-主页-是否能签到(获取)",
  783. "parameters": [
  784. {
  785. "type": "string",
  786. "description": "验证参数Bearer和token空格拼接",
  787. "name": "Authorization",
  788. "in": "header",
  789. "required": true
  790. }
  791. ],
  792. "responses": {
  793. "200": {
  794. "description": "具体数据",
  795. "schema": {
  796. "$ref": "#/definitions/md.IsCanSignInResp"
  797. }
  798. },
  799. "400": {
  800. "description": "具体错误",
  801. "schema": {
  802. "$ref": "#/definitions/md.Response"
  803. }
  804. }
  805. }
  806. }
  807. },
  808. "/api/v1/homePage/realTimePrice": {
  809. "get": {
  810. "description": "实时数据(获取)",
  811. "consumes": [
  812. "application/json"
  813. ],
  814. "produces": [
  815. "application/json"
  816. ],
  817. "tags": [
  818. "主页"
  819. ],
  820. "summary": "蛋蛋星球-主页-实时数据(获取)",
  821. "parameters": [
  822. {
  823. "type": "string",
  824. "description": "验证参数Bearer和token空格拼接",
  825. "name": "Authorization",
  826. "in": "header",
  827. "required": true
  828. }
  829. ],
  830. "responses": {
  831. "200": {
  832. "description": "具体数据",
  833. "schema": {
  834. "$ref": "#/definitions/md.RealTimePriceResp"
  835. }
  836. },
  837. "400": {
  838. "description": "具体错误",
  839. "schema": {
  840. "$ref": "#/definitions/md.Response"
  841. }
  842. }
  843. }
  844. }
  845. },
  846. "/api/v1/im/redPackageDetail": {
  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. "type": "string",
  869. "description": "红包 ID",
  870. "name": "red_package_id",
  871. "in": "query",
  872. "required": true
  873. }
  874. ],
  875. "responses": {
  876. "200": {
  877. "description": "具体数据",
  878. "schema": {
  879. "$ref": "#/definitions/md.RedPackageDetailResp"
  880. }
  881. },
  882. "400": {
  883. "description": "具体错误",
  884. "schema": {
  885. "$ref": "#/definitions/md.Response"
  886. }
  887. }
  888. }
  889. }
  890. },
  891. "/api/v1/im/user/grabRedPackage": {
  892. "post": {
  893. "description": "领取红包",
  894. "consumes": [
  895. "application/json"
  896. ],
  897. "produces": [
  898. "application/json"
  899. ],
  900. "tags": [
  901. "即时通讯"
  902. ],
  903. "summary": "蛋蛋星球-即时通讯-领取红包",
  904. "parameters": [
  905. {
  906. "type": "string",
  907. "description": "验证参数Bearer和token空格拼接",
  908. "name": "Authorization",
  909. "in": "header",
  910. "required": true
  911. },
  912. {
  913. "description": "领取红包信息",
  914. "name": "req",
  915. "in": "body",
  916. "required": true,
  917. "schema": {
  918. "$ref": "#/definitions/md.GrabRedPackageReq"
  919. }
  920. }
  921. ],
  922. "responses": {
  923. "200": {
  924. "description": "具体数据",
  925. "schema": {
  926. "$ref": "#/definitions/md.GrabRedPackageResp"
  927. }
  928. },
  929. "400": {
  930. "description": "具体错误",
  931. "schema": {
  932. "$ref": "#/definitions/md.Response"
  933. }
  934. }
  935. }
  936. }
  937. },
  938. "/api/v1/im/user/sendRedPackageDetail": {
  939. "post": {
  940. "description": "发送红包",
  941. "consumes": [
  942. "application/json"
  943. ],
  944. "produces": [
  945. "application/json"
  946. ],
  947. "tags": [
  948. "即时通讯"
  949. ],
  950. "summary": "蛋蛋星球-即时通讯-发送红包",
  951. "parameters": [
  952. {
  953. "type": "string",
  954. "description": "验证参数Bearer和token空格拼接",
  955. "name": "Authorization",
  956. "in": "header",
  957. "required": true
  958. },
  959. {
  960. "description": "红包的订单 ID",
  961. "name": "req",
  962. "in": "body",
  963. "required": true,
  964. "schema": {
  965. "$ref": "#/definitions/md.SendRedPackageDetailReq"
  966. }
  967. }
  968. ],
  969. "responses": {
  970. "200": {
  971. "description": "具体数据",
  972. "schema": {
  973. "$ref": "#/definitions/md.SendRedPackageDetailResp"
  974. }
  975. },
  976. "400": {
  977. "description": "具体错误",
  978. "schema": {
  979. "$ref": "#/definitions/md.Response"
  980. }
  981. }
  982. }
  983. }
  984. },
  985. "/api/v1/login": {
  986. "post": {
  987. "description": "登入",
  988. "consumes": [
  989. "application/json"
  990. ],
  991. "produces": [
  992. "application/json"
  993. ],
  994. "tags": [
  995. "登录"
  996. ],
  997. "summary": "登陆",
  998. "parameters": [
  999. {
  1000. "description": "用户名密码",
  1001. "name": "req",
  1002. "in": "body",
  1003. "required": true,
  1004. "schema": {
  1005. "$ref": "#/definitions/md.LoginReq"
  1006. }
  1007. }
  1008. ],
  1009. "responses": {
  1010. "200": {
  1011. "description": "token",
  1012. "schema": {
  1013. "$ref": "#/definitions/md.LoginResponse"
  1014. }
  1015. },
  1016. "400": {
  1017. "description": "具体错误",
  1018. "schema": {
  1019. "$ref": "#/definitions/md.Response"
  1020. }
  1021. }
  1022. }
  1023. }
  1024. },
  1025. "/api/v1/memberCenter/getBasic": {
  1026. "get": {
  1027. "description": "基础数据(获取)",
  1028. "consumes": [
  1029. "application/json"
  1030. ],
  1031. "produces": [
  1032. "application/json"
  1033. ],
  1034. "tags": [
  1035. "会员中心"
  1036. ],
  1037. "summary": "蛋蛋星球-会员中心-基础数据(获取)",
  1038. "parameters": [
  1039. {
  1040. "type": "string",
  1041. "description": "验证参数Bearer和token空格拼接",
  1042. "name": "Authorization",
  1043. "in": "header",
  1044. "required": true
  1045. }
  1046. ],
  1047. "responses": {
  1048. "200": {
  1049. "description": "具体数据",
  1050. "schema": {
  1051. "$ref": "#/definitions/md.MemberCenterGetBasicResp"
  1052. }
  1053. },
  1054. "400": {
  1055. "description": "具体错误",
  1056. "schema": {
  1057. "$ref": "#/definitions/md.Response"
  1058. }
  1059. }
  1060. }
  1061. }
  1062. },
  1063. "/api/v1/pointsCenter/basic": {
  1064. "get": {
  1065. "description": "上部分基础信息(获取)",
  1066. "consumes": [
  1067. "application/json"
  1068. ],
  1069. "produces": [
  1070. "application/json"
  1071. ],
  1072. "tags": [
  1073. "积分中心"
  1074. ],
  1075. "summary": "蛋蛋星球-积分中心-上部分基础信息(获取)",
  1076. "parameters": [
  1077. {
  1078. "type": "string",
  1079. "description": "验证参数Bearer和token空格拼接",
  1080. "name": "Authorization",
  1081. "in": "header",
  1082. "required": true
  1083. }
  1084. ],
  1085. "responses": {
  1086. "200": {
  1087. "description": "具体数据",
  1088. "schema": {
  1089. "$ref": "#/definitions/md.PointsCenterGetBasicResp"
  1090. }
  1091. },
  1092. "400": {
  1093. "description": "具体错误",
  1094. "schema": {
  1095. "$ref": "#/definitions/md.Response"
  1096. }
  1097. }
  1098. }
  1099. }
  1100. },
  1101. "/api/v1/pointsCenter/contributionValue": {
  1102. "get": {
  1103. "description": "贡献值(获取)",
  1104. "consumes": [
  1105. "application/json"
  1106. ],
  1107. "produces": [
  1108. "application/json"
  1109. ],
  1110. "tags": [
  1111. "积分中心"
  1112. ],
  1113. "summary": "蛋蛋星球-积分中心-贡献值(获取)",
  1114. "parameters": [
  1115. {
  1116. "type": "string",
  1117. "description": "验证参数Bearer和token空格拼接",
  1118. "name": "Authorization",
  1119. "in": "header",
  1120. "required": true
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "具体数据",
  1126. "schema": {
  1127. "$ref": "#/definitions/md.GetContributionValueResp"
  1128. }
  1129. },
  1130. "400": {
  1131. "description": "具体错误",
  1132. "schema": {
  1133. "$ref": "#/definitions/md.Response"
  1134. }
  1135. }
  1136. }
  1137. }
  1138. },
  1139. "/api/v1/pointsCenter/contributionValueFlow": {
  1140. "get": {
  1141. "description": "贡献值明细(获取)",
  1142. "consumes": [
  1143. "application/json"
  1144. ],
  1145. "produces": [
  1146. "application/json"
  1147. ],
  1148. "tags": [
  1149. "积分中心"
  1150. ],
  1151. "summary": "蛋蛋星球-积分中心-贡献值明细(获取)",
  1152. "parameters": [
  1153. {
  1154. "type": "string",
  1155. "description": "验证参数Bearer和token空格拼接",
  1156. "name": "Authorization",
  1157. "in": "header",
  1158. "required": true
  1159. },
  1160. {
  1161. "type": "string",
  1162. "description": "每页大小",
  1163. "name": "limit",
  1164. "in": "query",
  1165. "required": true
  1166. },
  1167. {
  1168. "type": "string",
  1169. "description": "页数",
  1170. "name": "page",
  1171. "in": "query",
  1172. "required": true
  1173. }
  1174. ],
  1175. "responses": {
  1176. "200": {
  1177. "description": "具体数据",
  1178. "schema": {
  1179. "$ref": "#/definitions/md.GetContributionValueFlowResp"
  1180. }
  1181. },
  1182. "400": {
  1183. "description": "具体错误",
  1184. "schema": {
  1185. "$ref": "#/definitions/md.Response"
  1186. }
  1187. }
  1188. }
  1189. }
  1190. },
  1191. "/api/v1/pointsCenter/dynamicData": {
  1192. "get": {
  1193. "description": "动态数据(获取)",
  1194. "consumes": [
  1195. "application/json"
  1196. ],
  1197. "produces": [
  1198. "application/json"
  1199. ],
  1200. "tags": [
  1201. "积分中心"
  1202. ],
  1203. "summary": "蛋蛋星球-积分中心-动态数据(获取)",
  1204. "parameters": [
  1205. {
  1206. "type": "string",
  1207. "description": "验证参数Bearer和token空格拼接",
  1208. "name": "Authorization",
  1209. "in": "header",
  1210. "required": true
  1211. }
  1212. ],
  1213. "responses": {
  1214. "200": {
  1215. "description": "具体数据",
  1216. "schema": {
  1217. "$ref": "#/definitions/md.DynamicDataResp"
  1218. }
  1219. },
  1220. "400": {
  1221. "description": "具体错误",
  1222. "schema": {
  1223. "$ref": "#/definitions/md.Response"
  1224. }
  1225. }
  1226. }
  1227. }
  1228. },
  1229. "/api/v1/pointsCenter/energyFlow": {
  1230. "get": {
  1231. "description": "收支明细(获取)",
  1232. "consumes": [
  1233. "application/json"
  1234. ],
  1235. "produces": [
  1236. "application/json"
  1237. ],
  1238. "tags": [
  1239. "积分中心"
  1240. ],
  1241. "summary": "蛋蛋星球-积分中心-收支明细(获取)",
  1242. "parameters": [
  1243. {
  1244. "type": "string",
  1245. "description": "验证参数Bearer和token空格拼接",
  1246. "name": "Authorization",
  1247. "in": "header",
  1248. "required": true
  1249. },
  1250. {
  1251. "type": "string",
  1252. "description": "每页大小",
  1253. "name": "limit",
  1254. "in": "query",
  1255. "required": true
  1256. },
  1257. {
  1258. "type": "string",
  1259. "description": "页数",
  1260. "name": "page",
  1261. "in": "query",
  1262. "required": true
  1263. },
  1264. {
  1265. "type": "string",
  1266. "description": "开始时间",
  1267. "name": "startAt",
  1268. "in": "query"
  1269. },
  1270. {
  1271. "type": "string",
  1272. "description": "结束时间",
  1273. "name": "endAt",
  1274. "in": "query"
  1275. },
  1276. {
  1277. "type": "string",
  1278. "description": "流水方向(1.收入 2.支出 0.全部)",
  1279. "name": "direction",
  1280. "in": "query"
  1281. }
  1282. ],
  1283. "responses": {
  1284. "200": {
  1285. "description": "具体数据",
  1286. "schema": {
  1287. "$ref": "#/definitions/md.GetEggEnergyFlowResp"
  1288. }
  1289. },
  1290. "400": {
  1291. "description": "具体错误",
  1292. "schema": {
  1293. "$ref": "#/definitions/md.Response"
  1294. }
  1295. }
  1296. }
  1297. }
  1298. },
  1299. "/api/v1/pointsCenter/exchangeEnergy": {
  1300. "post": {
  1301. "description": "能量兑换",
  1302. "consumes": [
  1303. "application/json"
  1304. ],
  1305. "produces": [
  1306. "application/json"
  1307. ],
  1308. "tags": [
  1309. "积分中心"
  1310. ],
  1311. "summary": "蛋蛋星球-积分中心-能量兑换",
  1312. "parameters": [
  1313. {
  1314. "type": "string",
  1315. "description": "验证参数Bearer和token空格拼接",
  1316. "name": "Authorization",
  1317. "in": "header",
  1318. "required": true
  1319. },
  1320. {
  1321. "description": "需要兑换的能量值",
  1322. "name": "req",
  1323. "in": "body",
  1324. "required": true,
  1325. "schema": {
  1326. "$ref": "#/definitions/md.ExchangeEnergyReq"
  1327. }
  1328. }
  1329. ],
  1330. "responses": {
  1331. "200": {
  1332. "description": "success",
  1333. "schema": {
  1334. "type": "string"
  1335. }
  1336. },
  1337. "400": {
  1338. "description": "具体错误",
  1339. "schema": {
  1340. "$ref": "#/definitions/md.Response"
  1341. }
  1342. }
  1343. }
  1344. }
  1345. },
  1346. "/api/v1/pointsCenter/initialData": {
  1347. "get": {
  1348. "description": "初始数据(获取)",
  1349. "consumes": [
  1350. "application/json"
  1351. ],
  1352. "produces": [
  1353. "application/json"
  1354. ],
  1355. "tags": [
  1356. "积分中心"
  1357. ],
  1358. "summary": "蛋蛋星球-积分中心-初始数据(获取)",
  1359. "parameters": [
  1360. {
  1361. "type": "string",
  1362. "description": "验证参数Bearer和token空格拼接",
  1363. "name": "Authorization",
  1364. "in": "header",
  1365. "required": true
  1366. }
  1367. ],
  1368. "responses": {
  1369. "200": {
  1370. "description": "具体数据",
  1371. "schema": {
  1372. "$ref": "#/definitions/md.InitialDataResp"
  1373. }
  1374. },
  1375. "400": {
  1376. "description": "具体错误",
  1377. "schema": {
  1378. "$ref": "#/definitions/md.Response"
  1379. }
  1380. }
  1381. }
  1382. }
  1383. },
  1384. "/api/v1/pointsCenter/pointsExchangeBasic": {
  1385. "get": {
  1386. "description": "积分兑换基础信息(获取)",
  1387. "consumes": [
  1388. "application/json"
  1389. ],
  1390. "produces": [
  1391. "application/json"
  1392. ],
  1393. "tags": [
  1394. "积分中心"
  1395. ],
  1396. "summary": "蛋蛋星球-积分中心-积分兑换基础信息(获取)",
  1397. "parameters": [
  1398. {
  1399. "type": "string",
  1400. "description": "验证参数Bearer和token空格拼接",
  1401. "name": "Authorization",
  1402. "in": "header",
  1403. "required": true
  1404. }
  1405. ],
  1406. "responses": {
  1407. "200": {
  1408. "description": "具体数据",
  1409. "schema": {
  1410. "$ref": "#/definitions/md.PointsExchangeGetBasicResp"
  1411. }
  1412. },
  1413. "400": {
  1414. "description": "具体错误",
  1415. "schema": {
  1416. "$ref": "#/definitions/md.Response"
  1417. }
  1418. }
  1419. }
  1420. }
  1421. },
  1422. "/api/v1/pointsCenter/priceCurve": {
  1423. "get": {
  1424. "description": "价格趋势(获取)",
  1425. "consumes": [
  1426. "application/json"
  1427. ],
  1428. "produces": [
  1429. "application/json"
  1430. ],
  1431. "tags": [
  1432. "积分中心"
  1433. ],
  1434. "summary": "蛋蛋星球-积分中心-价格趋势(获取)",
  1435. "parameters": [
  1436. {
  1437. "type": "string",
  1438. "description": "验证参数Bearer和token空格拼接",
  1439. "name": "Authorization",
  1440. "in": "header",
  1441. "required": true
  1442. },
  1443. {
  1444. "type": "string",
  1445. "description": "1:按天 2:按小时 3:按周",
  1446. "name": "kind",
  1447. "in": "query"
  1448. }
  1449. ],
  1450. "responses": {
  1451. "200": {
  1452. "description": "具体数据",
  1453. "schema": {
  1454. "$ref": "#/definitions/md.GetPriceCurveResp"
  1455. }
  1456. },
  1457. "400": {
  1458. "description": "具体错误",
  1459. "schema": {
  1460. "$ref": "#/definitions/md.Response"
  1461. }
  1462. }
  1463. }
  1464. }
  1465. },
  1466. "/api/v1/pointsCenter/record": {
  1467. "get": {
  1468. "description": "蛋蛋分明细(获取)",
  1469. "consumes": [
  1470. "application/json"
  1471. ],
  1472. "produces": [
  1473. "application/json"
  1474. ],
  1475. "tags": [
  1476. "积分中心"
  1477. ],
  1478. "summary": "蛋蛋星球-积分中心-蛋蛋分明细(获取)",
  1479. "parameters": [
  1480. {
  1481. "type": "string",
  1482. "description": "验证参数Bearer和token空格拼接",
  1483. "name": "Authorization",
  1484. "in": "header",
  1485. "required": true
  1486. },
  1487. {
  1488. "type": "string",
  1489. "description": "每页大小",
  1490. "name": "limit",
  1491. "in": "query",
  1492. "required": true
  1493. },
  1494. {
  1495. "type": "string",
  1496. "description": "页数",
  1497. "name": "page",
  1498. "in": "query",
  1499. "required": true
  1500. }
  1501. ],
  1502. "responses": {
  1503. "200": {
  1504. "description": "具体数据",
  1505. "schema": {
  1506. "$ref": "#/definitions/md.GetEggPointRecordResp"
  1507. }
  1508. },
  1509. "400": {
  1510. "description": "具体错误",
  1511. "schema": {
  1512. "$ref": "#/definitions/md.Response"
  1513. }
  1514. }
  1515. }
  1516. }
  1517. },
  1518. "/api/v1/register": {
  1519. "post": {
  1520. "description": "注册",
  1521. "consumes": [
  1522. "application/json"
  1523. ],
  1524. "produces": [
  1525. "application/json"
  1526. ],
  1527. "tags": [
  1528. "注册"
  1529. ],
  1530. "summary": "注册",
  1531. "parameters": [
  1532. {
  1533. "description": "注册参数",
  1534. "name": "req",
  1535. "in": "body",
  1536. "required": true,
  1537. "schema": {
  1538. "$ref": "#/definitions/md.RegisterReq"
  1539. }
  1540. }
  1541. ],
  1542. "responses": {
  1543. "200": {
  1544. "description": "登录成功返回",
  1545. "schema": {
  1546. "$ref": "#/definitions/md.LoginResponse"
  1547. }
  1548. },
  1549. "400": {
  1550. "description": "具体错误",
  1551. "schema": {
  1552. "$ref": "#/definitions/md.Response"
  1553. }
  1554. }
  1555. }
  1556. }
  1557. },
  1558. "/api/v1/smsSend": {
  1559. "post": {
  1560. "description": "发送短信",
  1561. "consumes": [
  1562. "application/json"
  1563. ],
  1564. "produces": [
  1565. "application/json"
  1566. ],
  1567. "tags": [
  1568. "发送短信"
  1569. ],
  1570. "summary": "发送短信",
  1571. "parameters": [
  1572. {
  1573. "description": "注册参数",
  1574. "name": "req",
  1575. "in": "body",
  1576. "required": true,
  1577. "schema": {
  1578. "$ref": "#/definitions/md.SmsSendReq"
  1579. }
  1580. }
  1581. ],
  1582. "responses": {
  1583. "200": {
  1584. "description": "成功返回",
  1585. "schema": {
  1586. "type": "string"
  1587. }
  1588. },
  1589. "400": {
  1590. "description": "具体错误",
  1591. "schema": {
  1592. "$ref": "#/definitions/md.Response"
  1593. }
  1594. }
  1595. }
  1596. }
  1597. },
  1598. "/api/v1/test": {
  1599. "get": {
  1600. "description": "Demo样例测试",
  1601. "consumes": [
  1602. "application/json"
  1603. ],
  1604. "produces": [
  1605. "application/json"
  1606. ],
  1607. "tags": [
  1608. "Demo"
  1609. ],
  1610. "summary": "Demo测试",
  1611. "parameters": [
  1612. {
  1613. "description": "任意参数",
  1614. "name": "req",
  1615. "in": "body",
  1616. "required": true,
  1617. "schema": {}
  1618. }
  1619. ],
  1620. "responses": {
  1621. "200": {
  1622. "description": "返回任意参数",
  1623. "schema": {
  1624. "type": "object",
  1625. "additionalProperties": true
  1626. }
  1627. },
  1628. "400": {
  1629. "description": "具体错误",
  1630. "schema": {
  1631. "$ref": "#/definitions/md.Response"
  1632. }
  1633. }
  1634. }
  1635. }
  1636. },
  1637. "/api/v1/userInfo": {
  1638. "get": {
  1639. "description": "用户信息",
  1640. "consumes": [
  1641. "application/json"
  1642. ],
  1643. "produces": [
  1644. "application/json"
  1645. ],
  1646. "tags": [
  1647. "用户信息"
  1648. ],
  1649. "summary": "用户信息",
  1650. "parameters": [
  1651. {
  1652. "type": "string",
  1653. "description": "验证参数Bearer和token空格拼接",
  1654. "name": "Authorization",
  1655. "in": "header",
  1656. "required": true
  1657. }
  1658. ],
  1659. "responses": {
  1660. "200": {
  1661. "description": "具体数据",
  1662. "schema": {
  1663. "$ref": "#/definitions/md.UserInfoResp"
  1664. }
  1665. },
  1666. "400": {
  1667. "description": "具体错误",
  1668. "schema": {
  1669. "$ref": "#/definitions/md.Response"
  1670. }
  1671. }
  1672. }
  1673. }
  1674. },
  1675. "/api/v1/wallet/amountFlow": {
  1676. "get": {
  1677. "description": "余额明细(获取)",
  1678. "consumes": [
  1679. "application/json"
  1680. ],
  1681. "produces": [
  1682. "application/json"
  1683. ],
  1684. "tags": [
  1685. "钱包"
  1686. ],
  1687. "summary": "蛋蛋星球-钱包-余额明细(获取)",
  1688. "parameters": [
  1689. {
  1690. "type": "string",
  1691. "description": "验证参数Bearer和token空格拼接",
  1692. "name": "Authorization",
  1693. "in": "header",
  1694. "required": true
  1695. },
  1696. {
  1697. "type": "string",
  1698. "description": "每页大小",
  1699. "name": "limit",
  1700. "in": "query",
  1701. "required": true
  1702. },
  1703. {
  1704. "type": "string",
  1705. "description": "页数",
  1706. "name": "page",
  1707. "in": "query",
  1708. "required": true
  1709. },
  1710. {
  1711. "type": "string",
  1712. "description": "开始时间",
  1713. "name": "startAt",
  1714. "in": "query"
  1715. },
  1716. {
  1717. "type": "string",
  1718. "description": "结束时间",
  1719. "name": "endAt",
  1720. "in": "query"
  1721. },
  1722. {
  1723. "type": "string",
  1724. "description": "流水方向(1.收入 2.支出 0.全部)",
  1725. "name": "direction",
  1726. "in": "query"
  1727. }
  1728. ],
  1729. "responses": {
  1730. "200": {
  1731. "description": "具体数据",
  1732. "schema": {
  1733. "$ref": "#/definitions/md.GetAmountFlowResp"
  1734. }
  1735. },
  1736. "400": {
  1737. "description": "具体错误",
  1738. "schema": {
  1739. "$ref": "#/definitions/md.Response"
  1740. }
  1741. }
  1742. }
  1743. }
  1744. },
  1745. "/api/v1/wallet/withdraw/index": {
  1746. "get": {
  1747. "description": "提现余额(获取)",
  1748. "consumes": [
  1749. "application/json"
  1750. ],
  1751. "produces": [
  1752. "application/json"
  1753. ],
  1754. "tags": [
  1755. "钱包"
  1756. ],
  1757. "summary": "蛋蛋星球-钱包-提现余额(获取)",
  1758. "parameters": [
  1759. {
  1760. "type": "string",
  1761. "description": "验证参数Bearer和token空格拼接",
  1762. "name": "Authorization",
  1763. "in": "header",
  1764. "required": true
  1765. }
  1766. ],
  1767. "responses": {
  1768. "200": {
  1769. "description": "具体数据",
  1770. "schema": {
  1771. "$ref": "#/definitions/md.WithdrawGetAmountResp"
  1772. }
  1773. },
  1774. "400": {
  1775. "description": "具体错误",
  1776. "schema": {
  1777. "$ref": "#/definitions/md.Response"
  1778. }
  1779. }
  1780. }
  1781. }
  1782. },
  1783. "/api/v1/wechatLogin": {
  1784. "post": {
  1785. "description": "微信登陆",
  1786. "consumes": [
  1787. "application/json"
  1788. ],
  1789. "produces": [
  1790. "application/json"
  1791. ],
  1792. "tags": [
  1793. "微信登陆"
  1794. ],
  1795. "summary": "微信登陆",
  1796. "parameters": [
  1797. {
  1798. "description": "注册参数",
  1799. "name": "req",
  1800. "in": "body",
  1801. "required": true,
  1802. "schema": {
  1803. "$ref": "#/definitions/md.WechatLoginReq"
  1804. }
  1805. }
  1806. ],
  1807. "responses": {
  1808. "200": {
  1809. "description": "登录成功返回",
  1810. "schema": {
  1811. "$ref": "#/definitions/md.LoginResponse"
  1812. }
  1813. },
  1814. "400": {
  1815. "description": "具体错误",
  1816. "schema": {
  1817. "$ref": "#/definitions/md.Response"
  1818. }
  1819. }
  1820. }
  1821. }
  1822. }
  1823. },
  1824. "definitions": {
  1825. "applet_app_md.Paginate": {
  1826. "type": "object",
  1827. "properties": {
  1828. "limit": {
  1829. "description": "每页大小",
  1830. "type": "integer"
  1831. },
  1832. "page": {
  1833. "description": "页数",
  1834. "type": "integer"
  1835. },
  1836. "total": {
  1837. "description": "总数据量",
  1838. "type": "integer"
  1839. }
  1840. }
  1841. },
  1842. "comm.AccessRecordsReq": {
  1843. "type": "object",
  1844. "properties": {
  1845. "index": {
  1846. "description": "页面标签",
  1847. "type": "string"
  1848. }
  1849. }
  1850. },
  1851. "md.AdvertisingBasic": {
  1852. "type": "object",
  1853. "properties": {
  1854. "android_ad_is_open": {
  1855. "type": "string",
  1856. "example": "安卓广告是否开启(1:开启 0:不开启)"
  1857. },
  1858. "android_open_ad_is_open": {
  1859. "type": "string",
  1860. "example": "安卓开屏广告是否开启(1:开启 0:不开启)"
  1861. },
  1862. "info": {
  1863. "type": "object",
  1864. "additionalProperties": true
  1865. },
  1866. "ios_ad_is_open": {
  1867. "type": "string",
  1868. "example": "ios广告是否开启(1:开启 0:不开启)"
  1869. },
  1870. "ios_open_ad_is_open": {
  1871. "type": "string",
  1872. "example": "ios开屏广告是否开启(1:开启 0:不开启)"
  1873. },
  1874. "voice": {
  1875. "type": "string",
  1876. "example": "领取声音"
  1877. }
  1878. }
  1879. },
  1880. "md.AdvertisingFunction": {
  1881. "type": "object",
  1882. "properties": {
  1883. "ad_id": {
  1884. "type": "string",
  1885. "example": "广告id"
  1886. },
  1887. "name": {
  1888. "type": "string",
  1889. "example": "名称"
  1890. },
  1891. "type": {
  1892. "type": "string",
  1893. "example": "位置"
  1894. }
  1895. }
  1896. },
  1897. "md.AdvertisingLimit": {
  1898. "type": "object",
  1899. "properties": {
  1900. "public_img": {
  1901. "type": "string",
  1902. "example": "公共弹窗图"
  1903. },
  1904. "public_str": {
  1905. "type": "string",
  1906. "example": "公共弹窗文字"
  1907. },
  1908. "withdraw_img": {
  1909. "type": "string",
  1910. "example": "提现弹窗图"
  1911. },
  1912. "withdraw_str": {
  1913. "type": "string",
  1914. "example": "提现弹窗文字"
  1915. }
  1916. }
  1917. },
  1918. "md.AdvertisingReq": {
  1919. "type": "object",
  1920. "properties": {
  1921. "id": {
  1922. "type": "string"
  1923. }
  1924. }
  1925. },
  1926. "md.AdvertisingResp": {
  1927. "type": "object",
  1928. "properties": {
  1929. "basic": {
  1930. "$ref": "#/definitions/md.AdvertisingBasic"
  1931. },
  1932. "function": {
  1933. "type": "array",
  1934. "items": {
  1935. "$ref": "#/definitions/md.AdvertisingFunction"
  1936. }
  1937. },
  1938. "pop": {
  1939. "$ref": "#/definitions/md.AdvertisingLimit"
  1940. },
  1941. "space": {
  1942. "type": "array",
  1943. "items": {
  1944. "$ref": "#/definitions/md.AdvertisingSpace"
  1945. }
  1946. }
  1947. }
  1948. },
  1949. "md.AdvertisingSpace": {
  1950. "type": "object",
  1951. "properties": {
  1952. "counting_down": {
  1953. "type": "string",
  1954. "example": "倒计时 x秒"
  1955. },
  1956. "id": {
  1957. "type": "string",
  1958. "example": "id"
  1959. },
  1960. "info": {
  1961. "type": "object",
  1962. "additionalProperties": true
  1963. },
  1964. "kind": {
  1965. "type": "string",
  1966. "example": "广告类型(1:开屏广告 2:插屏广告 3:激励视频 4:信息流广告)"
  1967. },
  1968. "name": {
  1969. "type": "string",
  1970. "example": "名称"
  1971. }
  1972. }
  1973. },
  1974. "md.BasalRateResp": {
  1975. "type": "object",
  1976. "properties": {
  1977. "basal_rate": {
  1978. "description": "基础速率",
  1979. "type": "string"
  1980. },
  1981. "consumed_egg_energy": {
  1982. "description": "收益蛋蛋能量",
  1983. "type": "string"
  1984. },
  1985. "consumed_egg_point": {
  1986. "description": "消耗蛋蛋积分",
  1987. "type": "string"
  1988. },
  1989. "consumed_time": {
  1990. "description": "消耗时间/小时",
  1991. "type": "string"
  1992. },
  1993. "estimated_revenue": {
  1994. "description": "预估收益蛋蛋能量",
  1995. "type": "string"
  1996. },
  1997. "remaining_egg_energy": {
  1998. "description": "剩余蛋蛋能量",
  1999. "type": "string"
  2000. },
  2001. "remaining_time": {
  2002. "description": "剩余时间/小时",
  2003. "type": "string"
  2004. },
  2005. "sign_countdown": {
  2006. "description": "收益倒计时",
  2007. "type": "string"
  2008. }
  2009. }
  2010. },
  2011. "md.ConfigResp": {
  2012. "type": "object",
  2013. "properties": {
  2014. "content": {
  2015. "type": "string",
  2016. "example": "软件使用协议内容"
  2017. },
  2018. "privacy_title": {
  2019. "type": "string",
  2020. "example": "隐私协议标题"
  2021. },
  2022. "privacy_url": {
  2023. "type": "string",
  2024. "example": "隐私协议链接"
  2025. },
  2026. "title": {
  2027. "type": "string",
  2028. "example": "软件使用协议标题"
  2029. },
  2030. "user_title": {
  2031. "type": "string",
  2032. "example": "用户协议标题"
  2033. },
  2034. "user_url": {
  2035. "type": "string",
  2036. "example": "用户协议链接"
  2037. }
  2038. }
  2039. },
  2040. "md.ContributionValueFlowNode": {
  2041. "type": "object",
  2042. "properties": {
  2043. "amount": {
  2044. "description": "变更数量",
  2045. "type": "string"
  2046. },
  2047. "create_at": {
  2048. "description": "完成时间",
  2049. "type": "string"
  2050. },
  2051. "direction": {
  2052. "description": "方向: 1.收入 2.支出",
  2053. "type": "string"
  2054. },
  2055. "title": {
  2056. "description": "标题",
  2057. "type": "string"
  2058. }
  2059. }
  2060. },
  2061. "md.DynamicDataResp": {
  2062. "type": "object",
  2063. "properties": {
  2064. "development_committee": {
  2065. "description": "发展委员会",
  2066. "type": "string"
  2067. },
  2068. "public_welfare_and_charity": {
  2069. "description": "公益基金",
  2070. "type": "string"
  2071. },
  2072. "star_level_dividends": {
  2073. "description": "星级分红",
  2074. "type": "string"
  2075. },
  2076. "user_total_hold": {
  2077. "description": "用户持有总量",
  2078. "type": "string"
  2079. }
  2080. }
  2081. },
  2082. "md.EggEnergyDetailReq": {
  2083. "type": "object",
  2084. "properties": {
  2085. "asc": {
  2086. "description": "1.升序 2.倒序",
  2087. "type": "string"
  2088. },
  2089. "direction": {
  2090. "description": "类型 1.收入 2.支出 全部则传空",
  2091. "type": "string"
  2092. },
  2093. "kind": {
  2094. "description": "类型:1. 个人蛋蛋能量 2.团队蛋蛋能量",
  2095. "type": "string"
  2096. },
  2097. "limit": {
  2098. "description": "每页大小",
  2099. "type": "integer"
  2100. },
  2101. "page": {
  2102. "description": "页数",
  2103. "type": "integer"
  2104. },
  2105. "type": {
  2106. "description": "变动类型 全部则传空",
  2107. "type": "string"
  2108. }
  2109. }
  2110. },
  2111. "md.EggEnergyDetailResp": {
  2112. "type": "object",
  2113. "properties": {
  2114. "list": {
  2115. "description": "流水数据",
  2116. "type": "array",
  2117. "items": {
  2118. "type": "object",
  2119. "additionalProperties": {
  2120. "type": "string"
  2121. }
  2122. }
  2123. },
  2124. "paginate": {
  2125. "description": "分页信息",
  2126. "allOf": [
  2127. {
  2128. "$ref": "#/definitions/applet_app_md.Paginate"
  2129. }
  2130. ]
  2131. },
  2132. "person_egg_energy": {
  2133. "description": "个人蛋蛋能量",
  2134. "type": "string"
  2135. },
  2136. "team_egg_energy": {
  2137. "description": "团队蛋蛋能量",
  2138. "type": "string"
  2139. },
  2140. "total_egg_energy": {
  2141. "description": "总蛋蛋能量",
  2142. "type": "string"
  2143. },
  2144. "total_egg_energy_price": {
  2145. "description": "蛋蛋能量总价",
  2146. "type": "string"
  2147. },
  2148. "transfer_type_list": {
  2149. "description": "转账类型列表",
  2150. "allOf": [
  2151. {
  2152. "$ref": "#/definitions/md.TransferTypeList"
  2153. }
  2154. ]
  2155. }
  2156. }
  2157. },
  2158. "md.EggEnergyFlowNode": {
  2159. "type": "object",
  2160. "properties": {
  2161. "after_amount": {
  2162. "description": "变更后数量",
  2163. "type": "string"
  2164. },
  2165. "amount": {
  2166. "description": "变更数量",
  2167. "type": "string"
  2168. },
  2169. "before_amount": {
  2170. "description": "变更前数量",
  2171. "type": "string"
  2172. },
  2173. "coin_name": {
  2174. "description": "虚拟币名称",
  2175. "type": "string"
  2176. },
  2177. "create_at": {
  2178. "description": "创建时间",
  2179. "type": "string"
  2180. },
  2181. "direction": {
  2182. "description": "方向:1.收入 2.支出",
  2183. "type": "integer"
  2184. },
  2185. "id": {
  2186. "type": "integer"
  2187. },
  2188. "sys_fee": {
  2189. "description": "手续费",
  2190. "type": "string"
  2191. },
  2192. "title": {
  2193. "description": "标题",
  2194. "type": "string"
  2195. },
  2196. "transfer_type": {
  2197. "description": "转账类型",
  2198. "type": "string"
  2199. }
  2200. }
  2201. },
  2202. "md.EggPointDetailsReq": {
  2203. "type": "object",
  2204. "properties": {
  2205. "asc": {
  2206. "description": "1.升序 2.倒序",
  2207. "type": "string"
  2208. },
  2209. "direction": {
  2210. "description": "类型 1.收入 2.支出 全部则传空",
  2211. "type": "string"
  2212. },
  2213. "kind": {
  2214. "description": "类型:1. 个人蛋蛋积分 2.团队蛋蛋积分",
  2215. "type": "string"
  2216. },
  2217. "limit": {
  2218. "description": "每页大小",
  2219. "type": "integer"
  2220. },
  2221. "page": {
  2222. "description": "页数",
  2223. "type": "integer"
  2224. },
  2225. "type": {
  2226. "description": "变动类型 全部则传空",
  2227. "type": "string"
  2228. }
  2229. }
  2230. },
  2231. "md.EggPointDetailsResp": {
  2232. "type": "object",
  2233. "properties": {
  2234. "list": {
  2235. "description": "流水数据",
  2236. "type": "array",
  2237. "items": {
  2238. "type": "object",
  2239. "additionalProperties": {
  2240. "type": "string"
  2241. }
  2242. }
  2243. },
  2244. "paginate": {
  2245. "description": "分页信息",
  2246. "allOf": [
  2247. {
  2248. "$ref": "#/definitions/applet_app_md.Paginate"
  2249. }
  2250. ]
  2251. },
  2252. "person_egg_points": {
  2253. "description": "个人蛋蛋积分",
  2254. "type": "string"
  2255. },
  2256. "team_egg_points": {
  2257. "description": "团队蛋蛋积分",
  2258. "type": "string"
  2259. },
  2260. "total_egg_points": {
  2261. "description": "总蛋蛋积分",
  2262. "type": "string"
  2263. },
  2264. "total_egg_points_amount": {
  2265. "description": "蛋蛋积分余额",
  2266. "type": "string"
  2267. },
  2268. "transfer_type_list": {
  2269. "description": "转账类型列表",
  2270. "allOf": [
  2271. {
  2272. "$ref": "#/definitions/md.TransferTypeList"
  2273. }
  2274. ]
  2275. }
  2276. }
  2277. },
  2278. "md.EggPointRecordNode": {
  2279. "type": "object",
  2280. "properties": {
  2281. "end_at": {
  2282. "description": "结束时间",
  2283. "type": "string"
  2284. },
  2285. "score": {
  2286. "description": "分数",
  2287. "type": "string"
  2288. },
  2289. "start_at": {
  2290. "description": "开始时间",
  2291. "type": "string"
  2292. },
  2293. "week": {
  2294. "description": "周数",
  2295. "type": "string"
  2296. },
  2297. "year": {
  2298. "description": "年份",
  2299. "type": "string"
  2300. }
  2301. }
  2302. },
  2303. "md.ExchangeEnergyReq": {
  2304. "type": "object",
  2305. "properties": {
  2306. "energy_amount": {
  2307. "description": "兑换能量数值",
  2308. "type": "string"
  2309. }
  2310. }
  2311. },
  2312. "md.FastLoginReq": {
  2313. "type": "object",
  2314. "properties": {
  2315. "invite_code": {
  2316. "type": "string",
  2317. "example": "邀请码"
  2318. },
  2319. "token": {
  2320. "type": "string",
  2321. "example": "一键登录的token"
  2322. }
  2323. }
  2324. },
  2325. "md.FindPasswordReq": {
  2326. "type": "object",
  2327. "required": [
  2328. "mobile"
  2329. ],
  2330. "properties": {
  2331. "code": {
  2332. "type": "string",
  2333. "example": "验证码"
  2334. },
  2335. "mobile": {
  2336. "type": "string"
  2337. },
  2338. "password": {
  2339. "type": "string",
  2340. "example": "密码 如 123"
  2341. }
  2342. }
  2343. },
  2344. "md.GetAmountFlowResp": {
  2345. "type": "object",
  2346. "properties": {
  2347. "list": {
  2348. "type": "array",
  2349. "items": {
  2350. "$ref": "#/definitions/md.WalletFlowNode"
  2351. }
  2352. },
  2353. "paginate": {
  2354. "$ref": "#/definitions/applet_app_md.Paginate"
  2355. }
  2356. }
  2357. },
  2358. "md.GetContributionValueFlowResp": {
  2359. "type": "object",
  2360. "properties": {
  2361. "list": {
  2362. "type": "array",
  2363. "items": {
  2364. "$ref": "#/definitions/md.ContributionValueFlowNode"
  2365. }
  2366. },
  2367. "paginate": {
  2368. "$ref": "#/definitions/applet_app_md.Paginate"
  2369. }
  2370. }
  2371. },
  2372. "md.GetContributionValueResp": {
  2373. "type": "object",
  2374. "properties": {
  2375. "contribution_value": {
  2376. "description": "贡献值",
  2377. "type": "string"
  2378. },
  2379. "ratio": {
  2380. "description": "兑换比率(x 分兑换 1 人民币)",
  2381. "type": "string"
  2382. }
  2383. }
  2384. },
  2385. "md.GetEggEnergyFlowResp": {
  2386. "type": "object",
  2387. "properties": {
  2388. "list": {
  2389. "type": "array",
  2390. "items": {
  2391. "$ref": "#/definitions/md.EggEnergyFlowNode"
  2392. }
  2393. },
  2394. "paginate": {
  2395. "$ref": "#/definitions/applet_app_md.Paginate"
  2396. }
  2397. }
  2398. },
  2399. "md.GetEggPointRecordResp": {
  2400. "type": "object",
  2401. "properties": {
  2402. "list": {
  2403. "description": "分数明细列表",
  2404. "type": "array",
  2405. "items": {
  2406. "$ref": "#/definitions/md.EggPointRecordNode"
  2407. }
  2408. },
  2409. "now_score": {
  2410. "description": "当前分数",
  2411. "type": "string"
  2412. },
  2413. "paginate": {
  2414. "$ref": "#/definitions/applet_app_md.Paginate"
  2415. }
  2416. }
  2417. },
  2418. "md.GetModuleSettingResp": {
  2419. "type": "object",
  2420. "properties": {
  2421. "data": {
  2422. "description": "内容",
  2423. "type": "object",
  2424. "additionalProperties": true
  2425. },
  2426. "mod_name": {
  2427. "description": "模块名称",
  2428. "type": "string"
  2429. },
  2430. "position": {
  2431. "description": "位置",
  2432. "type": "string"
  2433. },
  2434. "skip_identifier": {
  2435. "description": "跳转标识",
  2436. "type": "string"
  2437. },
  2438. "subtitle": {
  2439. "description": "副标题",
  2440. "type": "string"
  2441. },
  2442. "title": {
  2443. "description": "标题",
  2444. "type": "string"
  2445. }
  2446. }
  2447. },
  2448. "md.GetPriceCurveResp": {
  2449. "type": "object",
  2450. "properties": {
  2451. "x_data": {
  2452. "type": "array",
  2453. "items": {}
  2454. },
  2455. "y_data": {
  2456. "type": "array",
  2457. "items": {}
  2458. }
  2459. }
  2460. },
  2461. "md.GrabRedPackageReq": {
  2462. "type": "object",
  2463. "properties": {
  2464. "device_id": {
  2465. "description": "设备id",
  2466. "type": "string"
  2467. },
  2468. "receiver_id": {
  2469. "description": "用户id或者群组id",
  2470. "type": "integer"
  2471. },
  2472. "receiver_type": {
  2473. "description": "接收者类型,1:user;2:group",
  2474. "type": "integer"
  2475. },
  2476. "red_package_cover": {
  2477. "description": "红包封面",
  2478. "type": "string"
  2479. },
  2480. "red_package_id": {
  2481. "description": "红包id",
  2482. "type": "integer"
  2483. },
  2484. "send_red_package_user_nike_name": {
  2485. "description": "红包发送者-im用户昵称",
  2486. "type": "string"
  2487. },
  2488. "send_red_packet_avatar_url": {
  2489. "description": "红包发送者-im用户头像",
  2490. "type": "string"
  2491. },
  2492. "send_time": {
  2493. "description": "消息发送时间戳,精确到毫秒",
  2494. "type": "integer"
  2495. },
  2496. "token": {
  2497. "description": "im-token",
  2498. "type": "string"
  2499. },
  2500. "user_id": {
  2501. "description": "im用户id",
  2502. "type": "string"
  2503. }
  2504. }
  2505. },
  2506. "md.GrabRedPackageResp": {
  2507. "type": "object",
  2508. "properties": {
  2509. "grab_amount": {
  2510. "description": "抢到的红包金额",
  2511. "type": "string"
  2512. },
  2513. "im": {
  2514. "description": "im 返回体",
  2515. "allOf": [
  2516. {
  2517. "$ref": "#/definitions/pb.SendRedPacketResp"
  2518. }
  2519. ]
  2520. }
  2521. }
  2522. },
  2523. "md.HomePageResp": {
  2524. "type": "object",
  2525. "properties": {
  2526. "egg_energy_now_price": {
  2527. "description": "蛋蛋能量当前价格",
  2528. "type": "string"
  2529. },
  2530. "initial_price": {
  2531. "description": "蛋蛋能量初始价格",
  2532. "type": "string"
  2533. },
  2534. "is_rises": {
  2535. "description": "是否涨价",
  2536. "type": "boolean"
  2537. },
  2538. "is_sign": {
  2539. "description": "是否开始签到",
  2540. "type": "boolean"
  2541. },
  2542. "nick_name": {
  2543. "description": "用户名称",
  2544. "type": "string"
  2545. },
  2546. "now_basal_rate": {
  2547. "description": "当前基础速率/小时",
  2548. "type": "string"
  2549. },
  2550. "now_team_rate": {
  2551. "description": "当前团队速率/小时",
  2552. "type": "string"
  2553. },
  2554. "rises": {
  2555. "description": "涨/跌价百分比",
  2556. "type": "string"
  2557. },
  2558. "sign_end_time": {
  2559. "description": "签到截止时间",
  2560. "type": "string"
  2561. },
  2562. "total_active_points": {
  2563. "description": "总蛋蛋积分",
  2564. "type": "string"
  2565. },
  2566. "total_egg_energy": {
  2567. "description": "总蛋蛋能量",
  2568. "type": "string"
  2569. },
  2570. "user_count": {
  2571. "description": "当前用户数量",
  2572. "type": "integer"
  2573. }
  2574. }
  2575. },
  2576. "md.HomePageWatchAdRuleResp": {
  2577. "type": "object",
  2578. "properties": {
  2579. "each_round_hour": {
  2580. "description": "每一轮X个小时",
  2581. "type": "string"
  2582. },
  2583. "interval_minutes": {
  2584. "description": "间隔X秒",
  2585. "type": "string"
  2586. },
  2587. "reward_total_num": {
  2588. "description": "一共X个奖励视屏",
  2589. "type": "string"
  2590. },
  2591. "reward_value": {
  2592. "description": "奖励X个活跃积分",
  2593. "type": "string"
  2594. }
  2595. }
  2596. },
  2597. "md.InitialDataResp": {
  2598. "type": "object",
  2599. "properties": {
  2600. "initial_price": {
  2601. "description": "初始价格",
  2602. "type": "string"
  2603. },
  2604. "total_angel_investor": {
  2605. "description": "天使投资人",
  2606. "type": "string"
  2607. },
  2608. "total_ecological_development": {
  2609. "description": "生态建设",
  2610. "type": "string"
  2611. },
  2612. "total_issuance_amount": {
  2613. "description": "总发行量",
  2614. "type": "string"
  2615. },
  2616. "total_operate_fund": {
  2617. "description": "运营资金",
  2618. "type": "string"
  2619. },
  2620. "total_technology_team": {
  2621. "description": "技术团队",
  2622. "type": "string"
  2623. }
  2624. }
  2625. },
  2626. "md.IntegralList": {
  2627. "type": "object",
  2628. "properties": {
  2629. "expend_list": {
  2630. "description": "支出类型列表",
  2631. "type": "array",
  2632. "items": {
  2633. "$ref": "#/definitions/md.TransferTypeNode"
  2634. }
  2635. },
  2636. "income_list": {
  2637. "description": "收入类型列表",
  2638. "type": "array",
  2639. "items": {
  2640. "$ref": "#/definitions/md.TransferTypeNode"
  2641. }
  2642. }
  2643. }
  2644. },
  2645. "md.IsCanGetRedPackageResp": {
  2646. "type": "object",
  2647. "properties": {
  2648. "is_can_get_red_package": {
  2649. "type": "boolean"
  2650. }
  2651. }
  2652. },
  2653. "md.IsCanSignInResp": {
  2654. "type": "object",
  2655. "properties": {
  2656. "is_can_sign_in": {
  2657. "type": "boolean"
  2658. }
  2659. }
  2660. },
  2661. "md.LoginReq": {
  2662. "type": "object",
  2663. "required": [
  2664. "password",
  2665. "phone"
  2666. ],
  2667. "properties": {
  2668. "code": {
  2669. "type": "string",
  2670. "example": "验证码"
  2671. },
  2672. "password": {
  2673. "type": "string",
  2674. "example": "登录密码"
  2675. },
  2676. "phone": {
  2677. "type": "string",
  2678. "example": "手机号"
  2679. }
  2680. }
  2681. },
  2682. "md.LoginResponse": {
  2683. "type": "object",
  2684. "properties": {
  2685. "token": {
  2686. "type": "string"
  2687. }
  2688. }
  2689. },
  2690. "md.MemberCenterGetBasicResp": {
  2691. "type": "object",
  2692. "properties": {
  2693. "active_num": {
  2694. "description": "活跃值",
  2695. "type": "string"
  2696. },
  2697. "amount": {
  2698. "description": "账户余额",
  2699. "type": "string"
  2700. },
  2701. "contribution_value": {
  2702. "description": "贡献值",
  2703. "type": "string"
  2704. },
  2705. "date": {
  2706. "description": "兑换时间(每月x日)",
  2707. "type": "string"
  2708. },
  2709. "egg_energy": {
  2710. "description": "能量值",
  2711. "type": "string"
  2712. },
  2713. "egg_energy_value": {
  2714. "description": "能量预估价值",
  2715. "type": "string"
  2716. },
  2717. "egg_score": {
  2718. "description": "蛋蛋分",
  2719. "type": "string"
  2720. },
  2721. "level_name": {
  2722. "description": "会员等级名称",
  2723. "type": "string"
  2724. },
  2725. "nickname": {
  2726. "description": "会员名称",
  2727. "type": "string"
  2728. },
  2729. "ratio": {
  2730. "description": "兑换比例(x:y)",
  2731. "type": "string"
  2732. }
  2733. }
  2734. },
  2735. "md.MyFansResp": {
  2736. "type": "object",
  2737. "properties": {
  2738. "now_team_assistance_num": {
  2739. "description": "团队助力人数",
  2740. "type": "integer"
  2741. },
  2742. "now_team_assistance_reward": {
  2743. "description": "团队助力收益",
  2744. "type": "string"
  2745. },
  2746. "now_team_user": {
  2747. "description": "团队人数",
  2748. "type": "integer"
  2749. }
  2750. }
  2751. },
  2752. "md.MyFansUserListResp": {
  2753. "type": "object",
  2754. "properties": {
  2755. "list": {
  2756. "type": "array",
  2757. "items": {
  2758. "$ref": "#/definitions/md.OneLineUserNode"
  2759. }
  2760. }
  2761. }
  2762. },
  2763. "md.NineDimensionalSpaceResp": {
  2764. "type": "object",
  2765. "properties": {
  2766. "a_lot_of_nums": {
  2767. "description": "全网至多用户数",
  2768. "type": "string"
  2769. },
  2770. "day_num": {
  2771. "description": "连续x天不活跃",
  2772. "type": "string"
  2773. },
  2774. "rows": {
  2775. "description": "行数",
  2776. "type": "string"
  2777. },
  2778. "space_list": {
  2779. "description": "数据列表",
  2780. "type": "array",
  2781. "items": {
  2782. "$ref": "#/definitions/md.SpaceListNode"
  2783. }
  2784. },
  2785. "space_nums": {
  2786. "description": "空间人数",
  2787. "type": "string"
  2788. },
  2789. "space_total_nums": {
  2790. "description": "空间总数",
  2791. "type": "string"
  2792. },
  2793. "times": {
  2794. "description": "排数",
  2795. "type": "string"
  2796. }
  2797. }
  2798. },
  2799. "md.OneLineUserNode": {
  2800. "type": "object",
  2801. "properties": {
  2802. "avatar_url": {
  2803. "type": "string"
  2804. },
  2805. "invite_time": {
  2806. "type": "string"
  2807. },
  2808. "is_online": {
  2809. "type": "boolean"
  2810. },
  2811. "nickname": {
  2812. "type": "string"
  2813. }
  2814. }
  2815. },
  2816. "md.PointsCenterGetBasicResp": {
  2817. "type": "object",
  2818. "properties": {
  2819. "egg_point": {
  2820. "description": "能量积分",
  2821. "type": "string"
  2822. },
  2823. "egg_point_amount": {
  2824. "description": "能量积分价值",
  2825. "type": "string"
  2826. },
  2827. "energy": {
  2828. "description": "蛋蛋能量值",
  2829. "type": "string"
  2830. },
  2831. "energy_amount": {
  2832. "description": "能量价值",
  2833. "type": "string"
  2834. },
  2835. "wallet_amount": {
  2836. "description": "账户余额",
  2837. "type": "string"
  2838. }
  2839. }
  2840. },
  2841. "md.PointsExchangeGetBasicResp": {
  2842. "type": "object",
  2843. "properties": {
  2844. "available_cash": {
  2845. "description": "可用现金",
  2846. "type": "string"
  2847. },
  2848. "available_energy": {
  2849. "description": "可用能量",
  2850. "type": "string"
  2851. }
  2852. }
  2853. },
  2854. "md.RealTimePriceResp": {
  2855. "type": "object",
  2856. "properties": {
  2857. "is_rises": {
  2858. "type": "boolean"
  2859. },
  2860. "now_price": {
  2861. "type": "string"
  2862. },
  2863. "rises": {
  2864. "type": "string"
  2865. },
  2866. "user_count": {
  2867. "type": "string"
  2868. }
  2869. }
  2870. },
  2871. "md.RedPackageDetailResp": {
  2872. "type": "object",
  2873. "properties": {
  2874. "detail": {
  2875. "description": "红包详情信息",
  2876. "allOf": [
  2877. {
  2878. "$ref": "#/definitions/model.ImSendRedPackageOrd"
  2879. }
  2880. ]
  2881. },
  2882. "list": {
  2883. "description": "领取红包用户列表",
  2884. "type": "array",
  2885. "items": {
  2886. "$ref": "#/definitions/md.RedPackageDetailUserNode"
  2887. }
  2888. }
  2889. }
  2890. },
  2891. "md.RedPackageDetailUserNode": {
  2892. "type": "object",
  2893. "properties": {
  2894. "amount": {
  2895. "description": "金额",
  2896. "type": "string"
  2897. },
  2898. "im_user_id": {
  2899. "description": "im用户id",
  2900. "type": "string"
  2901. },
  2902. "received_at": {
  2903. "description": "领取时间",
  2904. "type": "string"
  2905. },
  2906. "user_avatar_url": {
  2907. "description": "im用户昵称",
  2908. "type": "string"
  2909. },
  2910. "user_nick_name": {
  2911. "description": "im用户昵称",
  2912. "type": "string"
  2913. }
  2914. }
  2915. },
  2916. "md.RegisterReq": {
  2917. "type": "object",
  2918. "required": [
  2919. "mobile"
  2920. ],
  2921. "properties": {
  2922. "avatar": {
  2923. "type": "string",
  2924. "example": "头像"
  2925. },
  2926. "code": {
  2927. "type": "string",
  2928. "example": "验证码"
  2929. },
  2930. "invite_code": {
  2931. "type": "string",
  2932. "example": "邀请码"
  2933. },
  2934. "mobile": {
  2935. "type": "string"
  2936. },
  2937. "nickname": {
  2938. "type": "string",
  2939. "example": "昵称"
  2940. },
  2941. "open_id": {
  2942. "type": "string",
  2943. "example": "微信openId"
  2944. },
  2945. "password": {
  2946. "type": "string",
  2947. "example": "密码 如 123"
  2948. },
  2949. "sex": {
  2950. "description": "性别(0:未知 1:男 2:女)",
  2951. "type": "integer"
  2952. },
  2953. "type": {
  2954. "type": "string",
  2955. "example": "app:APP注册、h5:H5注册"
  2956. },
  2957. "union_id": {
  2958. "type": "string",
  2959. "example": "微信UnionId"
  2960. }
  2961. }
  2962. },
  2963. "md.Response": {
  2964. "type": "object",
  2965. "properties": {
  2966. "code": {
  2967. "type": "string",
  2968. "example": "响应码"
  2969. },
  2970. "data": {
  2971. "description": "内容"
  2972. },
  2973. "msg": {
  2974. "type": "string",
  2975. "example": "具体错误原因"
  2976. }
  2977. }
  2978. },
  2979. "md.SendRedPackageDetailReq": {
  2980. "type": "object",
  2981. "properties": {
  2982. "order_id": {
  2983. "description": "红包的订单 ID",
  2984. "type": "string"
  2985. }
  2986. }
  2987. },
  2988. "md.SendRedPackageDetailResp": {
  2989. "type": "object",
  2990. "properties": {
  2991. "im": {
  2992. "$ref": "#/definitions/md.SeqType"
  2993. },
  2994. "red_package_id": {
  2995. "description": "红包 ID",
  2996. "type": "integer"
  2997. }
  2998. }
  2999. },
  3000. "md.SeqType": {
  3001. "type": "object",
  3002. "properties": {
  3003. "seq": {
  3004. "description": "序列号",
  3005. "type": "integer"
  3006. }
  3007. }
  3008. },
  3009. "md.SmsSendReq": {
  3010. "type": "object",
  3011. "required": [
  3012. "mobile"
  3013. ],
  3014. "properties": {
  3015. "captcha_output": {
  3016. "type": "string",
  3017. "example": "阿里云图形验证码对应参数"
  3018. },
  3019. "gen_time": {
  3020. "type": "string",
  3021. "example": "阿里云图形验证码对应参数"
  3022. },
  3023. "lot_number": {
  3024. "type": "string",
  3025. "example": "阿里云图形验证码对应参数"
  3026. },
  3027. "mobile": {
  3028. "type": "string"
  3029. },
  3030. "pass_token": {
  3031. "type": "string",
  3032. "example": "阿里云图形验证码对应参数"
  3033. },
  3034. "type": {
  3035. "type": "string",
  3036. "example": "h5Register:h5注册页、wechatBindPhone:微信绑定手机、login:登陆、findPwd:找回密码、changePwd:修改密码"
  3037. }
  3038. }
  3039. },
  3040. "md.SpaceListNode": {
  3041. "type": "object",
  3042. "properties": {
  3043. "max_count": {
  3044. "description": "最大容纳人数",
  3045. "type": "string"
  3046. },
  3047. "name": {
  3048. "description": "维度",
  3049. "type": "string"
  3050. },
  3051. "now_count": {
  3052. "description": "当前人数",
  3053. "type": "string"
  3054. }
  3055. }
  3056. },
  3057. "md.TotalRateResp": {
  3058. "type": "object",
  3059. "properties": {
  3060. "consumed_personal_egg_point": {
  3061. "description": "消耗个人蛋蛋积分",
  3062. "type": "string"
  3063. },
  3064. "consumed_team_egg_point": {
  3065. "description": "消耗团队蛋蛋积分",
  3066. "type": "string"
  3067. },
  3068. "now_basal_rate": {
  3069. "description": "当前基础速率/小时",
  3070. "type": "string"
  3071. },
  3072. "now_team_rate": {
  3073. "description": "当前团队速率/小时",
  3074. "type": "string"
  3075. },
  3076. "now_total_rate": {
  3077. "description": "总速率/小时",
  3078. "type": "string"
  3079. }
  3080. }
  3081. },
  3082. "md.TransferTypeList": {
  3083. "type": "object",
  3084. "properties": {
  3085. "TeamTransferTypeList": {
  3086. "description": "团队积分变动列表",
  3087. "allOf": [
  3088. {
  3089. "$ref": "#/definitions/md.IntegralList"
  3090. }
  3091. ]
  3092. },
  3093. "personal_transfer_type_list": {
  3094. "description": "个人积分变动列表",
  3095. "allOf": [
  3096. {
  3097. "$ref": "#/definitions/md.IntegralList"
  3098. }
  3099. ]
  3100. }
  3101. }
  3102. },
  3103. "md.TransferTypeNode": {
  3104. "type": "object",
  3105. "properties": {
  3106. "name": {
  3107. "type": "string"
  3108. },
  3109. "value": {
  3110. "type": "string"
  3111. }
  3112. }
  3113. },
  3114. "md.UserInfoResp": {
  3115. "type": "object",
  3116. "properties": {
  3117. "head_img": {
  3118. "type": "string"
  3119. },
  3120. "id": {
  3121. "type": "string"
  3122. },
  3123. "invite_code": {
  3124. "type": "string"
  3125. },
  3126. "is_bind_extend": {
  3127. "type": "string",
  3128. "example": "是否绑定了上级 0否 1是"
  3129. },
  3130. "nickname": {
  3131. "type": "string"
  3132. },
  3133. "phone": {
  3134. "type": "string"
  3135. }
  3136. }
  3137. },
  3138. "md.WalletFlowNode": {
  3139. "type": "object",
  3140. "properties": {
  3141. "after_amount": {
  3142. "description": "变动后金额",
  3143. "type": "string"
  3144. },
  3145. "amount": {
  3146. "description": "变动金额",
  3147. "type": "string"
  3148. },
  3149. "before_amount": {
  3150. "description": "变动前金额",
  3151. "type": "string"
  3152. },
  3153. "create_time": {
  3154. "description": "创建时间",
  3155. "type": "string"
  3156. },
  3157. "direction": {
  3158. "description": "方向:1.收入 2.支出",
  3159. "type": "integer"
  3160. },
  3161. "id": {
  3162. "type": "integer"
  3163. },
  3164. "kind": {
  3165. "description": "1:管理员操作增加余额 2:管理员操作扣除余额 3:蛋蛋能量兑换余额 4:余额兑换蛋蛋能量",
  3166. "type": "integer"
  3167. },
  3168. "memo": {
  3169. "description": "备注",
  3170. "type": "string"
  3171. },
  3172. "ord_id": {
  3173. "description": "对应订单编号",
  3174. "type": "string"
  3175. },
  3176. "state": {
  3177. "description": "1未到账,2已到账",
  3178. "type": "integer"
  3179. },
  3180. "sys_fee": {
  3181. "description": "手续费",
  3182. "type": "string"
  3183. },
  3184. "title": {
  3185. "description": "标题",
  3186. "type": "string"
  3187. },
  3188. "uid": {
  3189. "description": "用户 ID",
  3190. "type": "integer"
  3191. },
  3192. "update_time": {
  3193. "description": "更新时间",
  3194. "type": "string"
  3195. }
  3196. }
  3197. },
  3198. "md.WechatLoginReq": {
  3199. "type": "object",
  3200. "properties": {
  3201. "avatar": {
  3202. "type": "string",
  3203. "example": "头像"
  3204. },
  3205. "nickname": {
  3206. "type": "string",
  3207. "example": "昵称"
  3208. },
  3209. "open_id": {
  3210. "type": "string",
  3211. "example": "微信openId"
  3212. },
  3213. "union_id": {
  3214. "type": "string",
  3215. "example": "微信UnionId"
  3216. }
  3217. }
  3218. },
  3219. "md.WithdrawGetAmountResp": {
  3220. "type": "object",
  3221. "properties": {
  3222. "amount": {
  3223. "description": "余额",
  3224. "type": "string"
  3225. }
  3226. }
  3227. },
  3228. "model.ImSendRedPackageOrd": {
  3229. "type": "object",
  3230. "properties": {
  3231. "amount": {
  3232. "type": "string"
  3233. },
  3234. "create_time": {
  3235. "type": "string"
  3236. },
  3237. "id": {
  3238. "type": "integer"
  3239. },
  3240. "im_data": {
  3241. "type": "string"
  3242. },
  3243. "im_uid": {
  3244. "type": "integer"
  3245. },
  3246. "ord_no": {
  3247. "type": "string"
  3248. },
  3249. "received_im_user_ids": {
  3250. "type": "string"
  3251. },
  3252. "received_times": {
  3253. "type": "string"
  3254. },
  3255. "received_user_amount": {
  3256. "type": "string"
  3257. },
  3258. "received_user_ids": {
  3259. "type": "string"
  3260. },
  3261. "red_packet_balance_amount": {
  3262. "type": "string"
  3263. },
  3264. "red_packet_balance_nums": {
  3265. "type": "integer"
  3266. },
  3267. "red_packet_nums": {
  3268. "type": "integer"
  3269. },
  3270. "red_packet_type": {
  3271. "type": "integer"
  3272. },
  3273. "state": {
  3274. "type": "integer"
  3275. },
  3276. "uid": {
  3277. "type": "integer"
  3278. },
  3279. "update_time": {
  3280. "type": "string"
  3281. },
  3282. "wait_draw_im_user_ids": {
  3283. "type": "string"
  3284. },
  3285. "wait_draw_user_ids": {
  3286. "type": "string"
  3287. }
  3288. }
  3289. },
  3290. "pb.SendRedPacketResp": {
  3291. "type": "object",
  3292. "properties": {
  3293. "seq": {
  3294. "description": "消息序列号",
  3295. "type": "integer"
  3296. }
  3297. }
  3298. }
  3299. }
  3300. }`
  3301. // SwaggerInfo holds exported Swagger Info so clients can modify it
  3302. var SwaggerInfo = &swag.Spec{
  3303. Version: "1.0",
  3304. Host: "ddxq.izhim.com",
  3305. BasePath: "/api/v1",
  3306. Schemes: []string{},
  3307. Title: "蛋蛋星球-APP客户端",
  3308. Description: "APP客户端-Api接口",
  3309. InfoInstanceName: "swagger",
  3310. SwaggerTemplate: docTemplate,
  3311. LeftDelim: "{{",
  3312. RightDelim: "}}",
  3313. }
  3314. func init() {
  3315. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  3316. }