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

4638 lines
153 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. "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/check": {
  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.AdvertisingCheck"
  397. }
  398. },
  399. "400": {
  400. "description": "具体错误",
  401. "schema": {
  402. "$ref": "#/definitions/md.Response"
  403. }
  404. }
  405. }
  406. }
  407. },
  408. "/api/v1/advertising/detail": {
  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/md.AdvertisingReq"
  436. }
  437. }
  438. ],
  439. "responses": {
  440. "200": {
  441. "description": "具体数据",
  442. "schema": {
  443. "$ref": "#/definitions/md.AdvertisingSpace"
  444. }
  445. },
  446. "400": {
  447. "description": "具体错误",
  448. "schema": {
  449. "$ref": "#/definitions/md.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/api/v1/advertising/state": {
  456. "post": {
  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. "description": "注册参数",
  478. "name": "req",
  479. "in": "body",
  480. "required": true,
  481. "schema": {
  482. "$ref": "#/definitions/md.AdvertisingReq"
  483. }
  484. }
  485. ],
  486. "responses": {
  487. "200": {
  488. "description": "具体数据",
  489. "schema": {
  490. "$ref": "#/definitions/md.AdvertisingState"
  491. }
  492. },
  493. "400": {
  494. "description": "具体错误",
  495. "schema": {
  496. "$ref": "#/definitions/md.Response"
  497. }
  498. }
  499. }
  500. }
  501. },
  502. "/api/v1/college/cate": {
  503. "get": {
  504. "description": "蛋蛋学院-分类",
  505. "consumes": [
  506. "application/json"
  507. ],
  508. "produces": [
  509. "application/json"
  510. ],
  511. "tags": [
  512. "蛋蛋学院"
  513. ],
  514. "summary": "蛋蛋学院-分类",
  515. "parameters": [
  516. {
  517. "type": "string",
  518. "description": "验证参数Bearer和token空格拼接",
  519. "name": "Authorization",
  520. "in": "header",
  521. "required": true
  522. }
  523. ],
  524. "responses": {
  525. "200": {
  526. "description": "具体数据",
  527. "schema": {
  528. "$ref": "#/definitions/md.AdvertisingResp"
  529. }
  530. },
  531. "400": {
  532. "description": "具体错误",
  533. "schema": {
  534. "$ref": "#/definitions/md.Response"
  535. }
  536. }
  537. }
  538. }
  539. },
  540. "/api/v1/college/detail": {
  541. "post": {
  542. "description": "蛋蛋学院-文章详情",
  543. "consumes": [
  544. "application/json"
  545. ],
  546. "produces": [
  547. "application/json"
  548. ],
  549. "tags": [
  550. "蛋蛋学院"
  551. ],
  552. "summary": "蛋蛋学院-文章详情",
  553. "parameters": [
  554. {
  555. "type": "string",
  556. "description": "验证参数Bearer和token空格拼接",
  557. "name": "Authorization",
  558. "in": "header",
  559. "required": true
  560. },
  561. {
  562. "description": "参数",
  563. "name": "req",
  564. "in": "body",
  565. "required": true,
  566. "schema": {
  567. "$ref": "#/definitions/md.CollegeDetailReq"
  568. }
  569. }
  570. ],
  571. "responses": {
  572. "200": {
  573. "description": "具体数据",
  574. "schema": {
  575. "$ref": "#/definitions/md.CollegeDetailResp"
  576. }
  577. },
  578. "400": {
  579. "description": "具体错误",
  580. "schema": {
  581. "$ref": "#/definitions/md.Response"
  582. }
  583. }
  584. }
  585. }
  586. },
  587. "/api/v1/college/like/add": {
  588. "post": {
  589. "description": "蛋蛋学院-文章-点赞",
  590. "consumes": [
  591. "application/json"
  592. ],
  593. "produces": [
  594. "application/json"
  595. ],
  596. "tags": [
  597. "蛋蛋学院"
  598. ],
  599. "summary": "蛋蛋学院-文章-点赞",
  600. "parameters": [
  601. {
  602. "type": "string",
  603. "description": "验证参数Bearer和token空格拼接",
  604. "name": "Authorization",
  605. "in": "header",
  606. "required": true
  607. },
  608. {
  609. "description": "参数",
  610. "name": "req",
  611. "in": "body",
  612. "required": true,
  613. "schema": {
  614. "$ref": "#/definitions/md.CollegeDetailReq"
  615. }
  616. }
  617. ],
  618. "responses": {
  619. "200": {
  620. "description": "具体数据",
  621. "schema": {
  622. "type": "string"
  623. }
  624. },
  625. "400": {
  626. "description": "具体错误",
  627. "schema": {
  628. "$ref": "#/definitions/md.Response"
  629. }
  630. }
  631. }
  632. }
  633. },
  634. "/api/v1/college/like/cancel": {
  635. "post": {
  636. "description": "蛋蛋学院-文章-取消点赞",
  637. "consumes": [
  638. "application/json"
  639. ],
  640. "produces": [
  641. "application/json"
  642. ],
  643. "tags": [
  644. "蛋蛋学院"
  645. ],
  646. "summary": "蛋蛋学院-文章-取消点赞",
  647. "parameters": [
  648. {
  649. "type": "string",
  650. "description": "验证参数Bearer和token空格拼接",
  651. "name": "Authorization",
  652. "in": "header",
  653. "required": true
  654. },
  655. {
  656. "description": "参数",
  657. "name": "req",
  658. "in": "body",
  659. "required": true,
  660. "schema": {
  661. "$ref": "#/definitions/md.CollegeDetailReq"
  662. }
  663. }
  664. ],
  665. "responses": {
  666. "200": {
  667. "description": "具体数据",
  668. "schema": {
  669. "type": "string"
  670. }
  671. },
  672. "400": {
  673. "description": "具体错误",
  674. "schema": {
  675. "$ref": "#/definitions/md.Response"
  676. }
  677. }
  678. }
  679. }
  680. },
  681. "/api/v1/college/list": {
  682. "post": {
  683. "description": "蛋蛋学院-文章列表",
  684. "consumes": [
  685. "application/json"
  686. ],
  687. "produces": [
  688. "application/json"
  689. ],
  690. "tags": [
  691. "蛋蛋学院"
  692. ],
  693. "summary": "蛋蛋学院-文章列表",
  694. "parameters": [
  695. {
  696. "type": "string",
  697. "description": "验证参数Bearer和token空格拼接",
  698. "name": "Authorization",
  699. "in": "header",
  700. "required": true
  701. },
  702. {
  703. "description": "参数",
  704. "name": "req",
  705. "in": "body",
  706. "required": true,
  707. "schema": {
  708. "$ref": "#/definitions/md.CollegeListReq"
  709. }
  710. }
  711. ],
  712. "responses": {
  713. "200": {
  714. "description": "具体数据",
  715. "schema": {
  716. "$ref": "#/definitions/md.CollegeListResp"
  717. }
  718. },
  719. "400": {
  720. "description": "具体错误",
  721. "schema": {
  722. "$ref": "#/definitions/md.Response"
  723. }
  724. }
  725. }
  726. }
  727. },
  728. "/api/v1/college/share/add": {
  729. "post": {
  730. "description": "蛋蛋学院-文章-分享后调用统计数量",
  731. "consumes": [
  732. "application/json"
  733. ],
  734. "produces": [
  735. "application/json"
  736. ],
  737. "tags": [
  738. "蛋蛋学院"
  739. ],
  740. "summary": "蛋蛋学院-文章-分享后调用统计数量",
  741. "parameters": [
  742. {
  743. "type": "string",
  744. "description": "验证参数Bearer和token空格拼接",
  745. "name": "Authorization",
  746. "in": "header",
  747. "required": true
  748. },
  749. {
  750. "description": "参数",
  751. "name": "req",
  752. "in": "body",
  753. "required": true,
  754. "schema": {
  755. "$ref": "#/definitions/md.CollegeDetailReq"
  756. }
  757. }
  758. ],
  759. "responses": {
  760. "200": {
  761. "description": "具体数据",
  762. "schema": {
  763. "type": "string"
  764. }
  765. },
  766. "400": {
  767. "description": "具体错误",
  768. "schema": {
  769. "$ref": "#/definitions/md.Response"
  770. }
  771. }
  772. }
  773. }
  774. },
  775. "/api/v1/comm/getOssUrl": {
  776. "post": {
  777. "description": "上传许可链接(获取)",
  778. "consumes": [
  779. "application/json"
  780. ],
  781. "produces": [
  782. "application/json"
  783. ],
  784. "tags": [
  785. "对象存储"
  786. ],
  787. "summary": "通用请求-对象存储-上传许可链接(获取)",
  788. "parameters": [
  789. {
  790. "type": "string",
  791. "description": "验证参数Bearer和token空格拼接",
  792. "name": "Authorization",
  793. "in": "header",
  794. "required": true
  795. },
  796. {
  797. "description": "签名上传url",
  798. "name": "req",
  799. "in": "body",
  800. "required": true,
  801. "schema": {
  802. "$ref": "#/definitions/comm.ImgReqUploadReq"
  803. }
  804. }
  805. ],
  806. "responses": {
  807. "200": {
  808. "description": "许可链接",
  809. "schema": {
  810. "type": "string"
  811. }
  812. },
  813. "400": {
  814. "description": "具体错误",
  815. "schema": {
  816. "$ref": "#/definitions/md.Response"
  817. }
  818. }
  819. }
  820. }
  821. },
  822. "/api/v1/config": {
  823. "get": {
  824. "description": "基本配置",
  825. "consumes": [
  826. "application/json"
  827. ],
  828. "produces": [
  829. "application/json"
  830. ],
  831. "tags": [
  832. "基本配置"
  833. ],
  834. "summary": "基本配置",
  835. "parameters": [
  836. {
  837. "type": "string",
  838. "description": "验证参数Bearer和token空格拼接",
  839. "name": "Authorization",
  840. "in": "header",
  841. "required": true
  842. }
  843. ],
  844. "responses": {
  845. "200": {
  846. "description": "具体数据",
  847. "schema": {
  848. "$ref": "#/definitions/md.ConfigResp"
  849. }
  850. },
  851. "400": {
  852. "description": "具体错误",
  853. "schema": {
  854. "$ref": "#/definitions/md.Response"
  855. }
  856. }
  857. }
  858. }
  859. },
  860. "/api/v1/fastLogin": {
  861. "post": {
  862. "description": "一键登录",
  863. "consumes": [
  864. "application/json"
  865. ],
  866. "produces": [
  867. "application/json"
  868. ],
  869. "tags": [
  870. "登录注册"
  871. ],
  872. "summary": "一键登录",
  873. "parameters": [
  874. {
  875. "description": "注册参数",
  876. "name": "req",
  877. "in": "body",
  878. "required": true,
  879. "schema": {
  880. "$ref": "#/definitions/md.FastLoginReq"
  881. }
  882. }
  883. ],
  884. "responses": {
  885. "200": {
  886. "description": "登录成功返回",
  887. "schema": {
  888. "$ref": "#/definitions/md.LoginResponse"
  889. }
  890. },
  891. "400": {
  892. "description": "具体错误",
  893. "schema": {
  894. "$ref": "#/definitions/md.Response"
  895. }
  896. }
  897. }
  898. }
  899. },
  900. "/api/v1/findPassword": {
  901. "post": {
  902. "description": "找回密码",
  903. "consumes": [
  904. "application/json"
  905. ],
  906. "produces": [
  907. "application/json"
  908. ],
  909. "tags": [
  910. "登录注册"
  911. ],
  912. "summary": "找回密码",
  913. "parameters": [
  914. {
  915. "description": "注册参数",
  916. "name": "req",
  917. "in": "body",
  918. "required": true,
  919. "schema": {
  920. "$ref": "#/definitions/md.FindPasswordReq"
  921. }
  922. }
  923. ],
  924. "responses": {
  925. "200": {
  926. "description": "登录成功返回",
  927. "schema": {
  928. "type": "string"
  929. }
  930. },
  931. "400": {
  932. "description": "具体错误",
  933. "schema": {
  934. "$ref": "#/definitions/md.Response"
  935. }
  936. }
  937. }
  938. }
  939. },
  940. "/api/v1/getModuleSetting": {
  941. "get": {
  942. "description": "页面样式",
  943. "consumes": [
  944. "application/json"
  945. ],
  946. "produces": [
  947. "application/json"
  948. ],
  949. "tags": [
  950. "页面样式"
  951. ],
  952. "summary": "页面样式",
  953. "parameters": [
  954. {
  955. "type": "string",
  956. "description": "验证参数Bearer和token空格拼接",
  957. "name": "Authorization",
  958. "in": "header",
  959. "required": true
  960. },
  961. {
  962. "type": "string",
  963. "description": "页面名称类型值(1:home_page 2:member_center 3:bottom_bar 4:invitation_download_landing_page 5:invitation_poster)",
  964. "name": "mod_name_value",
  965. "in": "query",
  966. "required": true
  967. }
  968. ],
  969. "responses": {
  970. "200": {
  971. "description": "具体数据",
  972. "schema": {
  973. "$ref": "#/definitions/md.GetModuleSettingResp"
  974. }
  975. },
  976. "400": {
  977. "description": "具体错误",
  978. "schema": {
  979. "$ref": "#/definitions/md.Response"
  980. }
  981. }
  982. }
  983. }
  984. },
  985. "/api/v1/homePage/adRule": {
  986. "get": {
  987. "description": "视频奖励规则(获取)",
  988. "consumes": [
  989. "application/json"
  990. ],
  991. "produces": [
  992. "application/json"
  993. ],
  994. "tags": [
  995. "主页"
  996. ],
  997. "summary": "蛋蛋星球-主页-视频奖励规则(获取)",
  998. "parameters": [
  999. {
  1000. "type": "string",
  1001. "description": "验证参数Bearer和token空格拼接",
  1002. "name": "Authorization",
  1003. "in": "header",
  1004. "required": true
  1005. }
  1006. ],
  1007. "responses": {
  1008. "200": {
  1009. "description": "具体数据",
  1010. "schema": {
  1011. "$ref": "#/definitions/md.HomePageWatchAdRuleResp"
  1012. }
  1013. },
  1014. "400": {
  1015. "description": "具体错误",
  1016. "schema": {
  1017. "$ref": "#/definitions/md.Response"
  1018. }
  1019. }
  1020. }
  1021. }
  1022. },
  1023. "/api/v1/homePage/index": {
  1024. "get": {
  1025. "description": "基础信息(获取)",
  1026. "consumes": [
  1027. "application/json"
  1028. ],
  1029. "produces": [
  1030. "application/json"
  1031. ],
  1032. "tags": [
  1033. "主页"
  1034. ],
  1035. "summary": "蛋蛋星球-主页-基础信息(获取)",
  1036. "parameters": [
  1037. {
  1038. "type": "string",
  1039. "description": "验证参数Bearer和token空格拼接",
  1040. "name": "Authorization",
  1041. "in": "header",
  1042. "required": true
  1043. }
  1044. ],
  1045. "responses": {
  1046. "200": {
  1047. "description": "具体数据",
  1048. "schema": {
  1049. "$ref": "#/definitions/md.HomePageResp"
  1050. }
  1051. },
  1052. "400": {
  1053. "description": "具体错误",
  1054. "schema": {
  1055. "$ref": "#/definitions/md.Response"
  1056. }
  1057. }
  1058. }
  1059. }
  1060. },
  1061. "/api/v1/homePage/isCanGetRedPackage": {
  1062. "get": {
  1063. "description": "是否可以领取红包(获取)",
  1064. "consumes": [
  1065. "application/json"
  1066. ],
  1067. "produces": [
  1068. "application/json"
  1069. ],
  1070. "tags": [
  1071. "主页"
  1072. ],
  1073. "summary": "蛋蛋星球-主页-是否领取红包(获取)",
  1074. "parameters": [
  1075. {
  1076. "type": "string",
  1077. "description": "验证参数Bearer和token空格拼接",
  1078. "name": "Authorization",
  1079. "in": "header",
  1080. "required": true
  1081. }
  1082. ],
  1083. "responses": {
  1084. "200": {
  1085. "description": "具体数据",
  1086. "schema": {
  1087. "$ref": "#/definitions/md.IsCanGetRedPackageResp"
  1088. }
  1089. },
  1090. "400": {
  1091. "description": "具体错误",
  1092. "schema": {
  1093. "$ref": "#/definitions/md.Response"
  1094. }
  1095. }
  1096. }
  1097. }
  1098. },
  1099. "/api/v1/homePage/isCanSignIn": {
  1100. "get": {
  1101. "description": "是否可以签到(获取)",
  1102. "consumes": [
  1103. "application/json"
  1104. ],
  1105. "produces": [
  1106. "application/json"
  1107. ],
  1108. "tags": [
  1109. "主页"
  1110. ],
  1111. "summary": "蛋蛋星球-主页-是否能签到(获取)",
  1112. "parameters": [
  1113. {
  1114. "type": "string",
  1115. "description": "验证参数Bearer和token空格拼接",
  1116. "name": "Authorization",
  1117. "in": "header",
  1118. "required": true
  1119. }
  1120. ],
  1121. "responses": {
  1122. "200": {
  1123. "description": "具体数据",
  1124. "schema": {
  1125. "$ref": "#/definitions/md.IsCanSignInResp"
  1126. }
  1127. },
  1128. "400": {
  1129. "description": "具体错误",
  1130. "schema": {
  1131. "$ref": "#/definitions/md.Response"
  1132. }
  1133. }
  1134. }
  1135. }
  1136. },
  1137. "/api/v1/homePage/realTimePrice": {
  1138. "get": {
  1139. "description": "实时数据(获取)",
  1140. "consumes": [
  1141. "application/json"
  1142. ],
  1143. "produces": [
  1144. "application/json"
  1145. ],
  1146. "tags": [
  1147. "主页"
  1148. ],
  1149. "summary": "蛋蛋星球-主页-实时数据(获取)",
  1150. "parameters": [
  1151. {
  1152. "type": "string",
  1153. "description": "验证参数Bearer和token空格拼接",
  1154. "name": "Authorization",
  1155. "in": "header",
  1156. "required": true
  1157. }
  1158. ],
  1159. "responses": {
  1160. "200": {
  1161. "description": "具体数据",
  1162. "schema": {
  1163. "$ref": "#/definitions/md.RealTimePriceResp"
  1164. }
  1165. },
  1166. "400": {
  1167. "description": "具体错误",
  1168. "schema": {
  1169. "$ref": "#/definitions/md.Response"
  1170. }
  1171. }
  1172. }
  1173. }
  1174. },
  1175. "/api/v1/im/redPackageDetail": {
  1176. "get": {
  1177. "description": "红包详情(获取)",
  1178. "consumes": [
  1179. "application/json"
  1180. ],
  1181. "produces": [
  1182. "application/json"
  1183. ],
  1184. "tags": [
  1185. "即时通讯"
  1186. ],
  1187. "summary": "蛋蛋星球-即时通讯-红包详情(获取)",
  1188. "parameters": [
  1189. {
  1190. "type": "string",
  1191. "description": "验证参数Bearer和token空格拼接",
  1192. "name": "Authorization",
  1193. "in": "header",
  1194. "required": true
  1195. },
  1196. {
  1197. "type": "string",
  1198. "description": "红包 ID",
  1199. "name": "red_package_id",
  1200. "in": "query",
  1201. "required": true
  1202. }
  1203. ],
  1204. "responses": {
  1205. "200": {
  1206. "description": "具体数据",
  1207. "schema": {
  1208. "$ref": "#/definitions/md.RedPackageDetailResp"
  1209. }
  1210. },
  1211. "400": {
  1212. "description": "具体错误",
  1213. "schema": {
  1214. "$ref": "#/definitions/md.Response"
  1215. }
  1216. }
  1217. }
  1218. }
  1219. },
  1220. "/api/v1/im/user/grabRedPackage": {
  1221. "post": {
  1222. "description": "领取红包",
  1223. "consumes": [
  1224. "application/json"
  1225. ],
  1226. "produces": [
  1227. "application/json"
  1228. ],
  1229. "tags": [
  1230. "即时通讯"
  1231. ],
  1232. "summary": "蛋蛋星球-即时通讯-领取红包",
  1233. "parameters": [
  1234. {
  1235. "type": "string",
  1236. "description": "验证参数Bearer和token空格拼接",
  1237. "name": "Authorization",
  1238. "in": "header",
  1239. "required": true
  1240. },
  1241. {
  1242. "description": "领取红包信息",
  1243. "name": "req",
  1244. "in": "body",
  1245. "required": true,
  1246. "schema": {
  1247. "$ref": "#/definitions/md.GrabRedPackageReq"
  1248. }
  1249. }
  1250. ],
  1251. "responses": {
  1252. "200": {
  1253. "description": "具体数据",
  1254. "schema": {
  1255. "$ref": "#/definitions/md.GrabRedPackageResp"
  1256. }
  1257. },
  1258. "400": {
  1259. "description": "具体错误",
  1260. "schema": {
  1261. "$ref": "#/definitions/md.Response"
  1262. }
  1263. }
  1264. }
  1265. }
  1266. },
  1267. "/api/v1/im/user/sendRedPackage": {
  1268. "post": {
  1269. "description": "发送红包",
  1270. "consumes": [
  1271. "application/json"
  1272. ],
  1273. "produces": [
  1274. "application/json"
  1275. ],
  1276. "tags": [
  1277. "即时通讯"
  1278. ],
  1279. "summary": "蛋蛋星球-即时通讯-发送红包",
  1280. "parameters": [
  1281. {
  1282. "type": "string",
  1283. "description": "验证参数Bearer和token空格拼接",
  1284. "name": "Authorization",
  1285. "in": "header",
  1286. "required": true
  1287. },
  1288. {
  1289. "description": "发送红包信息",
  1290. "name": "req",
  1291. "in": "body",
  1292. "required": true,
  1293. "schema": {
  1294. "$ref": "#/definitions/md.SendRedPackageReq"
  1295. }
  1296. }
  1297. ],
  1298. "responses": {
  1299. "200": {
  1300. "description": "具体数据",
  1301. "schema": {
  1302. "$ref": "#/definitions/md.SendRedPackageResp"
  1303. }
  1304. },
  1305. "400": {
  1306. "description": "具体错误",
  1307. "schema": {
  1308. "$ref": "#/definitions/md.Response"
  1309. }
  1310. }
  1311. }
  1312. }
  1313. },
  1314. "/api/v1/im/user/sendRedPackageDetail": {
  1315. "post": {
  1316. "description": "发送红包详情",
  1317. "consumes": [
  1318. "application/json"
  1319. ],
  1320. "produces": [
  1321. "application/json"
  1322. ],
  1323. "tags": [
  1324. "即时通讯"
  1325. ],
  1326. "summary": "蛋蛋星球-即时通讯-发送红包详情",
  1327. "parameters": [
  1328. {
  1329. "type": "string",
  1330. "description": "验证参数Bearer和token空格拼接",
  1331. "name": "Authorization",
  1332. "in": "header",
  1333. "required": true
  1334. },
  1335. {
  1336. "description": "红包的订单 ID",
  1337. "name": "req",
  1338. "in": "body",
  1339. "required": true,
  1340. "schema": {
  1341. "$ref": "#/definitions/md.SendRedPackageDetailReq"
  1342. }
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "具体数据",
  1348. "schema": {
  1349. "$ref": "#/definitions/md.SendRedPackageDetailResp"
  1350. }
  1351. },
  1352. "400": {
  1353. "description": "具体错误",
  1354. "schema": {
  1355. "$ref": "#/definitions/md.Response"
  1356. }
  1357. }
  1358. }
  1359. }
  1360. },
  1361. "/api/v1/inviteCode/userInfo": {
  1362. "post": {
  1363. "description": "邀请码获取用户信息",
  1364. "consumes": [
  1365. "application/json"
  1366. ],
  1367. "produces": [
  1368. "application/json"
  1369. ],
  1370. "tags": [
  1371. "登录注册"
  1372. ],
  1373. "summary": "邀请码获取用户信息",
  1374. "parameters": [
  1375. {
  1376. "description": "注册参数",
  1377. "name": "req",
  1378. "in": "body",
  1379. "required": true,
  1380. "schema": {
  1381. "$ref": "#/definitions/md.InviteCodeUserInfoReq"
  1382. }
  1383. }
  1384. ],
  1385. "responses": {
  1386. "200": {
  1387. "description": "具体数据",
  1388. "schema": {
  1389. "$ref": "#/definitions/md.InviteCodeUserInfoResp"
  1390. }
  1391. },
  1392. "400": {
  1393. "description": "具体错误",
  1394. "schema": {
  1395. "$ref": "#/definitions/md.Response"
  1396. }
  1397. }
  1398. }
  1399. }
  1400. },
  1401. "/api/v1/login": {
  1402. "post": {
  1403. "description": "登入",
  1404. "consumes": [
  1405. "application/json"
  1406. ],
  1407. "produces": [
  1408. "application/json"
  1409. ],
  1410. "tags": [
  1411. "登录注册"
  1412. ],
  1413. "summary": "登陆",
  1414. "parameters": [
  1415. {
  1416. "description": "用户名密码",
  1417. "name": "req",
  1418. "in": "body",
  1419. "required": true,
  1420. "schema": {
  1421. "$ref": "#/definitions/md.LoginReq"
  1422. }
  1423. }
  1424. ],
  1425. "responses": {
  1426. "200": {
  1427. "description": "token",
  1428. "schema": {
  1429. "$ref": "#/definitions/md.LoginResponse"
  1430. }
  1431. },
  1432. "400": {
  1433. "description": "具体错误",
  1434. "schema": {
  1435. "$ref": "#/definitions/md.Response"
  1436. }
  1437. }
  1438. }
  1439. }
  1440. },
  1441. "/api/v1/memberCenter/bindParent": {
  1442. "post": {
  1443. "description": "绑定上级",
  1444. "consumes": [
  1445. "application/json"
  1446. ],
  1447. "produces": [
  1448. "application/json"
  1449. ],
  1450. "tags": [
  1451. "登录注册"
  1452. ],
  1453. "summary": "绑定上级-要登陆的",
  1454. "parameters": [
  1455. {
  1456. "description": "注册参数",
  1457. "name": "req",
  1458. "in": "body",
  1459. "required": true,
  1460. "schema": {
  1461. "$ref": "#/definitions/md.InviteCodeUserInfoReq"
  1462. }
  1463. }
  1464. ],
  1465. "responses": {
  1466. "200": {
  1467. "description": "具体数据",
  1468. "schema": {
  1469. "type": "string"
  1470. }
  1471. },
  1472. "400": {
  1473. "description": "具体错误",
  1474. "schema": {
  1475. "$ref": "#/definitions/md.Response"
  1476. }
  1477. }
  1478. }
  1479. }
  1480. },
  1481. "/api/v1/memberCenter/getBasic": {
  1482. "get": {
  1483. "description": "基础数据(获取)",
  1484. "consumes": [
  1485. "application/json"
  1486. ],
  1487. "produces": [
  1488. "application/json"
  1489. ],
  1490. "tags": [
  1491. "会员中心"
  1492. ],
  1493. "summary": "蛋蛋星球-会员中心-基础数据(获取)",
  1494. "parameters": [
  1495. {
  1496. "type": "string",
  1497. "description": "验证参数Bearer和token空格拼接",
  1498. "name": "Authorization",
  1499. "in": "header",
  1500. "required": true
  1501. }
  1502. ],
  1503. "responses": {
  1504. "200": {
  1505. "description": "具体数据",
  1506. "schema": {
  1507. "$ref": "#/definitions/md.MemberCenterGetBasicResp"
  1508. }
  1509. },
  1510. "400": {
  1511. "description": "具体错误",
  1512. "schema": {
  1513. "$ref": "#/definitions/md.Response"
  1514. }
  1515. }
  1516. }
  1517. }
  1518. },
  1519. "/api/v1/memberCenter/inviteUrl": {
  1520. "get": {
  1521. "description": "邀请链接",
  1522. "consumes": [
  1523. "application/json"
  1524. ],
  1525. "produces": [
  1526. "application/json"
  1527. ],
  1528. "tags": [
  1529. "邀请海报"
  1530. ],
  1531. "summary": "邀请链接",
  1532. "responses": {
  1533. "200": {
  1534. "description": "登录成功返回",
  1535. "schema": {
  1536. "$ref": "#/definitions/md.InviteUrl"
  1537. }
  1538. },
  1539. "400": {
  1540. "description": "具体错误",
  1541. "schema": {
  1542. "$ref": "#/definitions/md.Response"
  1543. }
  1544. }
  1545. }
  1546. }
  1547. },
  1548. "/api/v1/memberCenter/updatePasscode": {
  1549. "post": {
  1550. "description": "修改支付宝密码",
  1551. "consumes": [
  1552. "application/json"
  1553. ],
  1554. "produces": [
  1555. "application/json"
  1556. ],
  1557. "tags": [
  1558. "账号与安全"
  1559. ],
  1560. "summary": "修改支付宝密码",
  1561. "parameters": [
  1562. {
  1563. "description": "注册参数",
  1564. "name": "req",
  1565. "in": "body",
  1566. "required": true,
  1567. "schema": {
  1568. "$ref": "#/definitions/md.UpdatePasscodeReq"
  1569. }
  1570. }
  1571. ],
  1572. "responses": {
  1573. "200": {
  1574. "description": "登录成功返回",
  1575. "schema": {
  1576. "type": "string"
  1577. }
  1578. },
  1579. "400": {
  1580. "description": "具体错误",
  1581. "schema": {
  1582. "$ref": "#/definitions/md.Response"
  1583. }
  1584. }
  1585. }
  1586. }
  1587. },
  1588. "/api/v1/memberCenter/updatePassword": {
  1589. "post": {
  1590. "description": "修改密码",
  1591. "consumes": [
  1592. "application/json"
  1593. ],
  1594. "produces": [
  1595. "application/json"
  1596. ],
  1597. "tags": [
  1598. "账号与安全"
  1599. ],
  1600. "summary": "修改密码-不要原密码 换成验证码",
  1601. "parameters": [
  1602. {
  1603. "description": "注册参数",
  1604. "name": "req",
  1605. "in": "body",
  1606. "required": true,
  1607. "schema": {
  1608. "$ref": "#/definitions/md.UpdatePasswordReq"
  1609. }
  1610. }
  1611. ],
  1612. "responses": {
  1613. "200": {
  1614. "description": "登录成功返回",
  1615. "schema": {
  1616. "type": "string"
  1617. }
  1618. },
  1619. "400": {
  1620. "description": "具体错误",
  1621. "schema": {
  1622. "$ref": "#/definitions/md.Response"
  1623. }
  1624. }
  1625. }
  1626. }
  1627. },
  1628. "/api/v1/openApp/start": {
  1629. "get": {
  1630. "description": "打开app调用",
  1631. "consumes": [
  1632. "application/json"
  1633. ],
  1634. "produces": [
  1635. "application/json"
  1636. ],
  1637. "tags": [
  1638. "基本配置"
  1639. ],
  1640. "summary": "打开app调用",
  1641. "parameters": [
  1642. {
  1643. "type": "string",
  1644. "description": "验证参数Bearer和token空格拼接",
  1645. "name": "Authorization",
  1646. "in": "header",
  1647. "required": true
  1648. }
  1649. ],
  1650. "responses": {
  1651. "200": {
  1652. "description": "具体数据",
  1653. "schema": {
  1654. "type": "string"
  1655. }
  1656. },
  1657. "400": {
  1658. "description": "具体错误",
  1659. "schema": {
  1660. "$ref": "#/definitions/md.Response"
  1661. }
  1662. }
  1663. }
  1664. }
  1665. },
  1666. "/api/v1/pointsCenter/basic": {
  1667. "get": {
  1668. "description": "上部分基础信息(获取)",
  1669. "consumes": [
  1670. "application/json"
  1671. ],
  1672. "produces": [
  1673. "application/json"
  1674. ],
  1675. "tags": [
  1676. "积分中心"
  1677. ],
  1678. "summary": "蛋蛋星球-积分中心-上部分基础信息(获取)",
  1679. "parameters": [
  1680. {
  1681. "type": "string",
  1682. "description": "验证参数Bearer和token空格拼接",
  1683. "name": "Authorization",
  1684. "in": "header",
  1685. "required": true
  1686. }
  1687. ],
  1688. "responses": {
  1689. "200": {
  1690. "description": "具体数据",
  1691. "schema": {
  1692. "$ref": "#/definitions/md.PointsCenterGetBasicResp"
  1693. }
  1694. },
  1695. "400": {
  1696. "description": "具体错误",
  1697. "schema": {
  1698. "$ref": "#/definitions/md.Response"
  1699. }
  1700. }
  1701. }
  1702. }
  1703. },
  1704. "/api/v1/pointsCenter/contributionValue": {
  1705. "get": {
  1706. "description": "贡献值(获取)",
  1707. "consumes": [
  1708. "application/json"
  1709. ],
  1710. "produces": [
  1711. "application/json"
  1712. ],
  1713. "tags": [
  1714. "积分中心"
  1715. ],
  1716. "summary": "蛋蛋星球-积分中心-贡献值(获取)",
  1717. "parameters": [
  1718. {
  1719. "type": "string",
  1720. "description": "验证参数Bearer和token空格拼接",
  1721. "name": "Authorization",
  1722. "in": "header",
  1723. "required": true
  1724. }
  1725. ],
  1726. "responses": {
  1727. "200": {
  1728. "description": "具体数据",
  1729. "schema": {
  1730. "$ref": "#/definitions/md.GetContributionValueResp"
  1731. }
  1732. },
  1733. "400": {
  1734. "description": "具体错误",
  1735. "schema": {
  1736. "$ref": "#/definitions/md.Response"
  1737. }
  1738. }
  1739. }
  1740. }
  1741. },
  1742. "/api/v1/pointsCenter/contributionValueFlow": {
  1743. "get": {
  1744. "description": "贡献值明细(获取)",
  1745. "consumes": [
  1746. "application/json"
  1747. ],
  1748. "produces": [
  1749. "application/json"
  1750. ],
  1751. "tags": [
  1752. "积分中心"
  1753. ],
  1754. "summary": "蛋蛋星球-积分中心-贡献值明细(获取)",
  1755. "parameters": [
  1756. {
  1757. "type": "string",
  1758. "description": "验证参数Bearer和token空格拼接",
  1759. "name": "Authorization",
  1760. "in": "header",
  1761. "required": true
  1762. },
  1763. {
  1764. "type": "string",
  1765. "description": "每页大小",
  1766. "name": "limit",
  1767. "in": "query",
  1768. "required": true
  1769. },
  1770. {
  1771. "type": "string",
  1772. "description": "页数",
  1773. "name": "page",
  1774. "in": "query",
  1775. "required": true
  1776. }
  1777. ],
  1778. "responses": {
  1779. "200": {
  1780. "description": "具体数据",
  1781. "schema": {
  1782. "$ref": "#/definitions/md.GetContributionValueFlowResp"
  1783. }
  1784. },
  1785. "400": {
  1786. "description": "具体错误",
  1787. "schema": {
  1788. "$ref": "#/definitions/md.Response"
  1789. }
  1790. }
  1791. }
  1792. }
  1793. },
  1794. "/api/v1/pointsCenter/dynamicData": {
  1795. "get": {
  1796. "description": "动态数据(获取)",
  1797. "consumes": [
  1798. "application/json"
  1799. ],
  1800. "produces": [
  1801. "application/json"
  1802. ],
  1803. "tags": [
  1804. "积分中心"
  1805. ],
  1806. "summary": "蛋蛋星球-积分中心-动态数据(获取)",
  1807. "parameters": [
  1808. {
  1809. "type": "string",
  1810. "description": "验证参数Bearer和token空格拼接",
  1811. "name": "Authorization",
  1812. "in": "header",
  1813. "required": true
  1814. }
  1815. ],
  1816. "responses": {
  1817. "200": {
  1818. "description": "具体数据",
  1819. "schema": {
  1820. "$ref": "#/definitions/md.DynamicDataResp"
  1821. }
  1822. },
  1823. "400": {
  1824. "description": "具体错误",
  1825. "schema": {
  1826. "$ref": "#/definitions/md.Response"
  1827. }
  1828. }
  1829. }
  1830. }
  1831. },
  1832. "/api/v1/pointsCenter/energyFlow": {
  1833. "get": {
  1834. "description": "收支明细(获取)",
  1835. "consumes": [
  1836. "application/json"
  1837. ],
  1838. "produces": [
  1839. "application/json"
  1840. ],
  1841. "tags": [
  1842. "积分中心"
  1843. ],
  1844. "summary": "蛋蛋星球-积分中心-收支明细(获取)",
  1845. "parameters": [
  1846. {
  1847. "type": "string",
  1848. "description": "验证参数Bearer和token空格拼接",
  1849. "name": "Authorization",
  1850. "in": "header",
  1851. "required": true
  1852. },
  1853. {
  1854. "type": "string",
  1855. "description": "每页大小",
  1856. "name": "limit",
  1857. "in": "query",
  1858. "required": true
  1859. },
  1860. {
  1861. "type": "string",
  1862. "description": "页数",
  1863. "name": "page",
  1864. "in": "query",
  1865. "required": true
  1866. },
  1867. {
  1868. "type": "string",
  1869. "description": "开始时间",
  1870. "name": "startAt",
  1871. "in": "query"
  1872. },
  1873. {
  1874. "type": "string",
  1875. "description": "结束时间",
  1876. "name": "endAt",
  1877. "in": "query"
  1878. },
  1879. {
  1880. "type": "string",
  1881. "description": "流水方向(1.收入 2.支出 0.全部)",
  1882. "name": "direction",
  1883. "in": "query"
  1884. }
  1885. ],
  1886. "responses": {
  1887. "200": {
  1888. "description": "具体数据",
  1889. "schema": {
  1890. "$ref": "#/definitions/md.GetEggEnergyFlowResp"
  1891. }
  1892. },
  1893. "400": {
  1894. "description": "具体错误",
  1895. "schema": {
  1896. "$ref": "#/definitions/md.Response"
  1897. }
  1898. }
  1899. }
  1900. }
  1901. },
  1902. "/api/v1/pointsCenter/exchangeEnergy": {
  1903. "post": {
  1904. "description": "能量兑换",
  1905. "consumes": [
  1906. "application/json"
  1907. ],
  1908. "produces": [
  1909. "application/json"
  1910. ],
  1911. "tags": [
  1912. "积分中心"
  1913. ],
  1914. "summary": "蛋蛋星球-积分中心-能量兑换",
  1915. "parameters": [
  1916. {
  1917. "type": "string",
  1918. "description": "验证参数Bearer和token空格拼接",
  1919. "name": "Authorization",
  1920. "in": "header",
  1921. "required": true
  1922. },
  1923. {
  1924. "description": "需要兑换的能量值",
  1925. "name": "req",
  1926. "in": "body",
  1927. "required": true,
  1928. "schema": {
  1929. "$ref": "#/definitions/md.ExchangeEnergyReq"
  1930. }
  1931. }
  1932. ],
  1933. "responses": {
  1934. "200": {
  1935. "description": "success",
  1936. "schema": {
  1937. "type": "string"
  1938. }
  1939. },
  1940. "400": {
  1941. "description": "具体错误",
  1942. "schema": {
  1943. "$ref": "#/definitions/md.Response"
  1944. }
  1945. }
  1946. }
  1947. }
  1948. },
  1949. "/api/v1/pointsCenter/initialData": {
  1950. "get": {
  1951. "description": "初始数据(获取)",
  1952. "consumes": [
  1953. "application/json"
  1954. ],
  1955. "produces": [
  1956. "application/json"
  1957. ],
  1958. "tags": [
  1959. "积分中心"
  1960. ],
  1961. "summary": "蛋蛋星球-积分中心-初始数据(获取)",
  1962. "parameters": [
  1963. {
  1964. "type": "string",
  1965. "description": "验证参数Bearer和token空格拼接",
  1966. "name": "Authorization",
  1967. "in": "header",
  1968. "required": true
  1969. }
  1970. ],
  1971. "responses": {
  1972. "200": {
  1973. "description": "具体数据",
  1974. "schema": {
  1975. "$ref": "#/definitions/md.InitialDataResp"
  1976. }
  1977. },
  1978. "400": {
  1979. "description": "具体错误",
  1980. "schema": {
  1981. "$ref": "#/definitions/md.Response"
  1982. }
  1983. }
  1984. }
  1985. }
  1986. },
  1987. "/api/v1/pointsCenter/pointsExchangeBasic": {
  1988. "get": {
  1989. "description": "积分兑换基础信息(获取)",
  1990. "consumes": [
  1991. "application/json"
  1992. ],
  1993. "produces": [
  1994. "application/json"
  1995. ],
  1996. "tags": [
  1997. "积分中心"
  1998. ],
  1999. "summary": "蛋蛋星球-积分中心-积分兑换基础信息(获取)",
  2000. "parameters": [
  2001. {
  2002. "type": "string",
  2003. "description": "验证参数Bearer和token空格拼接",
  2004. "name": "Authorization",
  2005. "in": "header",
  2006. "required": true
  2007. }
  2008. ],
  2009. "responses": {
  2010. "200": {
  2011. "description": "具体数据",
  2012. "schema": {
  2013. "$ref": "#/definitions/md.PointsExchangeGetBasicResp"
  2014. }
  2015. },
  2016. "400": {
  2017. "description": "具体错误",
  2018. "schema": {
  2019. "$ref": "#/definitions/md.Response"
  2020. }
  2021. }
  2022. }
  2023. }
  2024. },
  2025. "/api/v1/pointsCenter/priceCurve": {
  2026. "get": {
  2027. "description": "价格趋势(获取)",
  2028. "consumes": [
  2029. "application/json"
  2030. ],
  2031. "produces": [
  2032. "application/json"
  2033. ],
  2034. "tags": [
  2035. "积分中心"
  2036. ],
  2037. "summary": "蛋蛋星球-积分中心-价格趋势(获取)",
  2038. "parameters": [
  2039. {
  2040. "type": "string",
  2041. "description": "验证参数Bearer和token空格拼接",
  2042. "name": "Authorization",
  2043. "in": "header",
  2044. "required": true
  2045. },
  2046. {
  2047. "type": "string",
  2048. "description": "1:按天 2:按小时 3:按周",
  2049. "name": "kind",
  2050. "in": "query"
  2051. }
  2052. ],
  2053. "responses": {
  2054. "200": {
  2055. "description": "具体数据",
  2056. "schema": {
  2057. "$ref": "#/definitions/md.GetPriceCurveResp"
  2058. }
  2059. },
  2060. "400": {
  2061. "description": "具体错误",
  2062. "schema": {
  2063. "$ref": "#/definitions/md.Response"
  2064. }
  2065. }
  2066. }
  2067. }
  2068. },
  2069. "/api/v1/pointsCenter/record": {
  2070. "get": {
  2071. "description": "蛋蛋分明细(获取)",
  2072. "consumes": [
  2073. "application/json"
  2074. ],
  2075. "produces": [
  2076. "application/json"
  2077. ],
  2078. "tags": [
  2079. "积分中心"
  2080. ],
  2081. "summary": "蛋蛋星球-积分中心-蛋蛋分明细(获取)",
  2082. "parameters": [
  2083. {
  2084. "type": "string",
  2085. "description": "验证参数Bearer和token空格拼接",
  2086. "name": "Authorization",
  2087. "in": "header",
  2088. "required": true
  2089. },
  2090. {
  2091. "type": "string",
  2092. "description": "每页大小",
  2093. "name": "limit",
  2094. "in": "query",
  2095. "required": true
  2096. },
  2097. {
  2098. "type": "string",
  2099. "description": "页数",
  2100. "name": "page",
  2101. "in": "query",
  2102. "required": true
  2103. }
  2104. ],
  2105. "responses": {
  2106. "200": {
  2107. "description": "具体数据",
  2108. "schema": {
  2109. "$ref": "#/definitions/md.GetEggPointRecordResp"
  2110. }
  2111. },
  2112. "400": {
  2113. "description": "具体错误",
  2114. "schema": {
  2115. "$ref": "#/definitions/md.Response"
  2116. }
  2117. }
  2118. }
  2119. }
  2120. },
  2121. "/api/v1/register": {
  2122. "post": {
  2123. "description": "注册",
  2124. "consumes": [
  2125. "application/json"
  2126. ],
  2127. "produces": [
  2128. "application/json"
  2129. ],
  2130. "tags": [
  2131. "登录注册"
  2132. ],
  2133. "summary": "注册",
  2134. "parameters": [
  2135. {
  2136. "description": "注册参数",
  2137. "name": "req",
  2138. "in": "body",
  2139. "required": true,
  2140. "schema": {
  2141. "$ref": "#/definitions/md.RegisterReq"
  2142. }
  2143. }
  2144. ],
  2145. "responses": {
  2146. "200": {
  2147. "description": "登录成功返回",
  2148. "schema": {
  2149. "$ref": "#/definitions/md.LoginResponse"
  2150. }
  2151. },
  2152. "400": {
  2153. "description": "具体错误",
  2154. "schema": {
  2155. "$ref": "#/definitions/md.Response"
  2156. }
  2157. }
  2158. }
  2159. }
  2160. },
  2161. "/api/v1/smsSend": {
  2162. "post": {
  2163. "description": "发送短信",
  2164. "consumes": [
  2165. "application/json"
  2166. ],
  2167. "produces": [
  2168. "application/json"
  2169. ],
  2170. "tags": [
  2171. "登录注册"
  2172. ],
  2173. "summary": "发送短信",
  2174. "parameters": [
  2175. {
  2176. "description": "注册参数",
  2177. "name": "req",
  2178. "in": "body",
  2179. "required": true,
  2180. "schema": {
  2181. "$ref": "#/definitions/md.SmsSendReq"
  2182. }
  2183. }
  2184. ],
  2185. "responses": {
  2186. "200": {
  2187. "description": "成功返回",
  2188. "schema": {
  2189. "type": "string"
  2190. }
  2191. },
  2192. "400": {
  2193. "description": "具体错误",
  2194. "schema": {
  2195. "$ref": "#/definitions/md.Response"
  2196. }
  2197. }
  2198. }
  2199. }
  2200. },
  2201. "/api/v1/test": {
  2202. "get": {
  2203. "description": "Demo样例测试",
  2204. "consumes": [
  2205. "application/json"
  2206. ],
  2207. "produces": [
  2208. "application/json"
  2209. ],
  2210. "tags": [
  2211. "Demo"
  2212. ],
  2213. "summary": "Demo测试",
  2214. "parameters": [
  2215. {
  2216. "description": "任意参数",
  2217. "name": "req",
  2218. "in": "body",
  2219. "required": true,
  2220. "schema": {
  2221. "type": "object"
  2222. }
  2223. }
  2224. ],
  2225. "responses": {
  2226. "200": {
  2227. "description": "返回任意参数",
  2228. "schema": {
  2229. "type": "object",
  2230. "additionalProperties": true
  2231. }
  2232. },
  2233. "400": {
  2234. "description": "具体错误",
  2235. "schema": {
  2236. "$ref": "#/definitions/md.Response"
  2237. }
  2238. }
  2239. }
  2240. }
  2241. },
  2242. "/api/v1/userFeedback/cate": {
  2243. "get": {
  2244. "description": "意见反馈-分类",
  2245. "consumes": [
  2246. "application/json"
  2247. ],
  2248. "produces": [
  2249. "application/json"
  2250. ],
  2251. "tags": [
  2252. "意见反馈"
  2253. ],
  2254. "summary": "意见反馈-分类",
  2255. "parameters": [
  2256. {
  2257. "type": "string",
  2258. "description": "验证参数Bearer和token空格拼接",
  2259. "name": "Authorization",
  2260. "in": "header",
  2261. "required": true
  2262. }
  2263. ],
  2264. "responses": {
  2265. "200": {
  2266. "description": "具体数据",
  2267. "schema": {
  2268. "$ref": "#/definitions/md.AdvertisingResp"
  2269. }
  2270. },
  2271. "400": {
  2272. "description": "具体错误",
  2273. "schema": {
  2274. "$ref": "#/definitions/md.Response"
  2275. }
  2276. }
  2277. }
  2278. }
  2279. },
  2280. "/api/v1/userFeedback/list": {
  2281. "post": {
  2282. "description": "意见反馈-反馈记录",
  2283. "consumes": [
  2284. "application/json"
  2285. ],
  2286. "produces": [
  2287. "application/json"
  2288. ],
  2289. "tags": [
  2290. "意见反馈"
  2291. ],
  2292. "summary": "意见反馈-反馈记录",
  2293. "parameters": [
  2294. {
  2295. "type": "string",
  2296. "description": "验证参数Bearer和token空格拼接",
  2297. "name": "Authorization",
  2298. "in": "header",
  2299. "required": true
  2300. },
  2301. {
  2302. "description": "参数",
  2303. "name": "req",
  2304. "in": "body",
  2305. "required": true,
  2306. "schema": {
  2307. "$ref": "#/definitions/md.UserFeedbackListReq"
  2308. }
  2309. }
  2310. ],
  2311. "responses": {
  2312. "200": {
  2313. "description": "具体数据",
  2314. "schema": {
  2315. "$ref": "#/definitions/md.UserFeedbackListResp"
  2316. }
  2317. },
  2318. "400": {
  2319. "description": "具体错误",
  2320. "schema": {
  2321. "$ref": "#/definitions/md.Response"
  2322. }
  2323. }
  2324. }
  2325. }
  2326. },
  2327. "/api/v1/userFeedback/record": {
  2328. "post": {
  2329. "description": "意见反馈-反馈记录-沟通记录",
  2330. "consumes": [
  2331. "application/json"
  2332. ],
  2333. "produces": [
  2334. "application/json"
  2335. ],
  2336. "tags": [
  2337. "意见反馈"
  2338. ],
  2339. "summary": "意见反馈-反馈记录-沟通记录",
  2340. "parameters": [
  2341. {
  2342. "type": "string",
  2343. "description": "验证参数Bearer和token空格拼接",
  2344. "name": "Authorization",
  2345. "in": "header",
  2346. "required": true
  2347. },
  2348. {
  2349. "description": "参数",
  2350. "name": "req",
  2351. "in": "body",
  2352. "required": true,
  2353. "schema": {
  2354. "$ref": "#/definitions/md.UserFeedbackRecordReq"
  2355. }
  2356. }
  2357. ],
  2358. "responses": {
  2359. "200": {
  2360. "description": "具体数据",
  2361. "schema": {
  2362. "$ref": "#/definitions/md.UserFeedbackRecordResp"
  2363. }
  2364. },
  2365. "400": {
  2366. "description": "具体错误",
  2367. "schema": {
  2368. "$ref": "#/definitions/md.Response"
  2369. }
  2370. }
  2371. }
  2372. }
  2373. },
  2374. "/api/v1/userFeedback/save": {
  2375. "post": {
  2376. "description": "意见反馈-反馈记录-提交",
  2377. "consumes": [
  2378. "application/json"
  2379. ],
  2380. "produces": [
  2381. "application/json"
  2382. ],
  2383. "tags": [
  2384. "意见反馈"
  2385. ],
  2386. "summary": "意见反馈-反馈记录-提交",
  2387. "parameters": [
  2388. {
  2389. "type": "string",
  2390. "description": "验证参数Bearer和token空格拼接",
  2391. "name": "Authorization",
  2392. "in": "header",
  2393. "required": true
  2394. },
  2395. {
  2396. "description": "参数",
  2397. "name": "req",
  2398. "in": "body",
  2399. "required": true,
  2400. "schema": {
  2401. "$ref": "#/definitions/md.UserFeedbackSaveReq"
  2402. }
  2403. }
  2404. ],
  2405. "responses": {
  2406. "200": {
  2407. "description": "具体数据",
  2408. "schema": {
  2409. "type": "string"
  2410. }
  2411. },
  2412. "400": {
  2413. "description": "具体错误",
  2414. "schema": {
  2415. "$ref": "#/definitions/md.Response"
  2416. }
  2417. }
  2418. }
  2419. }
  2420. },
  2421. "/api/v1/userFeedback/say": {
  2422. "post": {
  2423. "description": "意见反馈-反馈记录-沟通发送",
  2424. "consumes": [
  2425. "application/json"
  2426. ],
  2427. "produces": [
  2428. "application/json"
  2429. ],
  2430. "tags": [
  2431. "意见反馈"
  2432. ],
  2433. "summary": "意见反馈-反馈记录-沟通发送",
  2434. "parameters": [
  2435. {
  2436. "type": "string",
  2437. "description": "验证参数Bearer和token空格拼接",
  2438. "name": "Authorization",
  2439. "in": "header",
  2440. "required": true
  2441. },
  2442. {
  2443. "description": "参数",
  2444. "name": "req",
  2445. "in": "body",
  2446. "required": true,
  2447. "schema": {
  2448. "$ref": "#/definitions/md.UserFeedbackSayReq"
  2449. }
  2450. }
  2451. ],
  2452. "responses": {
  2453. "200": {
  2454. "description": "具体数据",
  2455. "schema": {
  2456. "type": "string"
  2457. }
  2458. },
  2459. "400": {
  2460. "description": "具体错误",
  2461. "schema": {
  2462. "$ref": "#/definitions/md.Response"
  2463. }
  2464. }
  2465. }
  2466. }
  2467. },
  2468. "/api/v1/userInfo": {
  2469. "get": {
  2470. "description": "用户信息",
  2471. "consumes": [
  2472. "application/json"
  2473. ],
  2474. "produces": [
  2475. "application/json"
  2476. ],
  2477. "tags": [
  2478. "用户信息"
  2479. ],
  2480. "summary": "用户信息",
  2481. "parameters": [
  2482. {
  2483. "type": "string",
  2484. "description": "验证参数Bearer和token空格拼接",
  2485. "name": "Authorization",
  2486. "in": "header",
  2487. "required": true
  2488. }
  2489. ],
  2490. "responses": {
  2491. "200": {
  2492. "description": "具体数据",
  2493. "schema": {
  2494. "$ref": "#/definitions/md.UserInfoResp"
  2495. }
  2496. },
  2497. "400": {
  2498. "description": "具体错误",
  2499. "schema": {
  2500. "$ref": "#/definitions/md.Response"
  2501. }
  2502. }
  2503. }
  2504. }
  2505. },
  2506. "/api/v1/version": {
  2507. "get": {
  2508. "description": "版本记录",
  2509. "consumes": [
  2510. "application/json"
  2511. ],
  2512. "produces": [
  2513. "application/json"
  2514. ],
  2515. "tags": [
  2516. "基本配置"
  2517. ],
  2518. "summary": "版本记录",
  2519. "parameters": [
  2520. {
  2521. "type": "string",
  2522. "description": "验证参数Bearer和token空格拼接",
  2523. "name": "Authorization",
  2524. "in": "header",
  2525. "required": true
  2526. }
  2527. ],
  2528. "responses": {
  2529. "200": {
  2530. "description": "具体数据",
  2531. "schema": {
  2532. "$ref": "#/definitions/md.VersionResp"
  2533. }
  2534. },
  2535. "400": {
  2536. "description": "具体错误",
  2537. "schema": {
  2538. "$ref": "#/definitions/md.Response"
  2539. }
  2540. }
  2541. }
  2542. }
  2543. },
  2544. "/api/v1/wallet/amountFlow": {
  2545. "get": {
  2546. "description": "余额明细(获取)",
  2547. "consumes": [
  2548. "application/json"
  2549. ],
  2550. "produces": [
  2551. "application/json"
  2552. ],
  2553. "tags": [
  2554. "钱包"
  2555. ],
  2556. "summary": "蛋蛋星球-钱包-余额明细(获取)",
  2557. "parameters": [
  2558. {
  2559. "type": "string",
  2560. "description": "验证参数Bearer和token空格拼接",
  2561. "name": "Authorization",
  2562. "in": "header",
  2563. "required": true
  2564. },
  2565. {
  2566. "type": "string",
  2567. "description": "每页大小",
  2568. "name": "limit",
  2569. "in": "query",
  2570. "required": true
  2571. },
  2572. {
  2573. "type": "string",
  2574. "description": "页数",
  2575. "name": "page",
  2576. "in": "query",
  2577. "required": true
  2578. },
  2579. {
  2580. "type": "string",
  2581. "description": "开始时间",
  2582. "name": "startAt",
  2583. "in": "query"
  2584. },
  2585. {
  2586. "type": "string",
  2587. "description": "结束时间",
  2588. "name": "endAt",
  2589. "in": "query"
  2590. },
  2591. {
  2592. "type": "string",
  2593. "description": "流水方向(1.收入 2.支出 0.全部)",
  2594. "name": "direction",
  2595. "in": "query"
  2596. }
  2597. ],
  2598. "responses": {
  2599. "200": {
  2600. "description": "具体数据",
  2601. "schema": {
  2602. "$ref": "#/definitions/md.GetAmountFlowResp"
  2603. }
  2604. },
  2605. "400": {
  2606. "description": "具体错误",
  2607. "schema": {
  2608. "$ref": "#/definitions/md.Response"
  2609. }
  2610. }
  2611. }
  2612. }
  2613. },
  2614. "/api/v1/wallet/withdraw/index": {
  2615. "get": {
  2616. "description": "提现余额(获取)",
  2617. "consumes": [
  2618. "application/json"
  2619. ],
  2620. "produces": [
  2621. "application/json"
  2622. ],
  2623. "tags": [
  2624. "钱包"
  2625. ],
  2626. "summary": "蛋蛋星球-钱包-提现余额(获取)",
  2627. "parameters": [
  2628. {
  2629. "type": "string",
  2630. "description": "验证参数Bearer和token空格拼接",
  2631. "name": "Authorization",
  2632. "in": "header",
  2633. "required": true
  2634. }
  2635. ],
  2636. "responses": {
  2637. "200": {
  2638. "description": "具体数据",
  2639. "schema": {
  2640. "$ref": "#/definitions/md.WithdrawGetAmountResp"
  2641. }
  2642. },
  2643. "400": {
  2644. "description": "具体错误",
  2645. "schema": {
  2646. "$ref": "#/definitions/md.Response"
  2647. }
  2648. }
  2649. }
  2650. }
  2651. },
  2652. "/api/v1/wechatLogin": {
  2653. "post": {
  2654. "description": "微信登陆",
  2655. "consumes": [
  2656. "application/json"
  2657. ],
  2658. "produces": [
  2659. "application/json"
  2660. ],
  2661. "tags": [
  2662. "登录注册"
  2663. ],
  2664. "summary": "微信登陆",
  2665. "parameters": [
  2666. {
  2667. "description": "注册参数",
  2668. "name": "req",
  2669. "in": "body",
  2670. "required": true,
  2671. "schema": {
  2672. "$ref": "#/definitions/md.WechatLoginReq"
  2673. }
  2674. }
  2675. ],
  2676. "responses": {
  2677. "200": {
  2678. "description": "登录成功返回",
  2679. "schema": {
  2680. "$ref": "#/definitions/md.LoginResponse"
  2681. }
  2682. },
  2683. "400": {
  2684. "description": "具体错误",
  2685. "schema": {
  2686. "$ref": "#/definitions/md.Response"
  2687. }
  2688. }
  2689. }
  2690. }
  2691. }
  2692. },
  2693. "definitions": {
  2694. "applet_app_md.Paginate": {
  2695. "type": "object",
  2696. "properties": {
  2697. "limit": {
  2698. "description": "每页大小",
  2699. "type": "integer"
  2700. },
  2701. "page": {
  2702. "description": "页数",
  2703. "type": "integer"
  2704. },
  2705. "total": {
  2706. "description": "总数据量",
  2707. "type": "integer"
  2708. }
  2709. }
  2710. },
  2711. "code_fnuoos_com_EggPlanet_egg_models_git_src_model.ImSendRedPackageOrd": {
  2712. "type": "object",
  2713. "properties": {
  2714. "amount": {
  2715. "type": "string"
  2716. },
  2717. "create_time": {
  2718. "type": "string"
  2719. },
  2720. "id": {
  2721. "type": "integer"
  2722. },
  2723. "im_data": {
  2724. "type": "string"
  2725. },
  2726. "im_uid": {
  2727. "type": "integer"
  2728. },
  2729. "ord_no": {
  2730. "type": "string"
  2731. },
  2732. "received_im_user_ids": {
  2733. "type": "string"
  2734. },
  2735. "received_times": {
  2736. "type": "string"
  2737. },
  2738. "received_user_amount": {
  2739. "type": "string"
  2740. },
  2741. "received_user_ids": {
  2742. "type": "string"
  2743. },
  2744. "red_packet_balance_amount": {
  2745. "type": "string"
  2746. },
  2747. "red_packet_balance_nums": {
  2748. "type": "integer"
  2749. },
  2750. "red_packet_nums": {
  2751. "type": "integer"
  2752. },
  2753. "red_packet_type": {
  2754. "type": "integer"
  2755. },
  2756. "state": {
  2757. "type": "integer"
  2758. },
  2759. "uid": {
  2760. "type": "integer"
  2761. },
  2762. "update_time": {
  2763. "type": "string"
  2764. },
  2765. "wait_draw_im_user_ids": {
  2766. "type": "string"
  2767. },
  2768. "wait_draw_user_ids": {
  2769. "type": "string"
  2770. }
  2771. }
  2772. },
  2773. "comm.AccessRecordsReq": {
  2774. "type": "object",
  2775. "properties": {
  2776. "index": {
  2777. "description": "页面标签",
  2778. "type": "string"
  2779. }
  2780. }
  2781. },
  2782. "comm.ImgReqUploadReq": {
  2783. "type": "object",
  2784. "required": [
  2785. "content_type",
  2786. "file_name"
  2787. ],
  2788. "properties": {
  2789. "content_type": {
  2790. "type": "string",
  2791. "example": "image/jpeg"
  2792. },
  2793. "file_name": {
  2794. "type": "string",
  2795. "example": "文件名"
  2796. }
  2797. }
  2798. },
  2799. "md.AdvertisingBasic": {
  2800. "type": "object",
  2801. "properties": {
  2802. "android_ad_is_open": {
  2803. "type": "string",
  2804. "example": "安卓广告是否开启(1:开启 0:不开启)"
  2805. },
  2806. "android_open_ad_is_open": {
  2807. "type": "string",
  2808. "example": "安卓开屏广告是否开启(1:开启 0:不开启)"
  2809. },
  2810. "info": {
  2811. "type": "object",
  2812. "additionalProperties": true
  2813. },
  2814. "ios_ad_is_open": {
  2815. "type": "string",
  2816. "example": "ios广告是否开启(1:开启 0:不开启)"
  2817. },
  2818. "ios_open_ad_is_open": {
  2819. "type": "string",
  2820. "example": "ios开屏广告是否开启(1:开启 0:不开启)"
  2821. },
  2822. "voice": {
  2823. "type": "string",
  2824. "example": "领取声音"
  2825. }
  2826. }
  2827. },
  2828. "md.AdvertisingCheck": {
  2829. "type": "object",
  2830. "properties": {
  2831. "is_can_visit": {
  2832. "type": "string"
  2833. }
  2834. }
  2835. },
  2836. "md.AdvertisingFunction": {
  2837. "type": "object",
  2838. "properties": {
  2839. "ad_id": {
  2840. "type": "string",
  2841. "example": "广告id"
  2842. },
  2843. "name": {
  2844. "type": "string",
  2845. "example": "名称"
  2846. },
  2847. "type": {
  2848. "type": "string",
  2849. "example": "位置"
  2850. }
  2851. }
  2852. },
  2853. "md.AdvertisingLimit": {
  2854. "type": "object",
  2855. "properties": {
  2856. "public_img": {
  2857. "type": "string",
  2858. "example": "公共弹窗图"
  2859. },
  2860. "public_str": {
  2861. "type": "string",
  2862. "example": "公共弹窗文字"
  2863. },
  2864. "withdraw_img": {
  2865. "type": "string",
  2866. "example": "提现弹窗图"
  2867. },
  2868. "withdraw_str": {
  2869. "type": "string",
  2870. "example": "提现弹窗文字"
  2871. }
  2872. }
  2873. },
  2874. "md.AdvertisingReq": {
  2875. "type": "object",
  2876. "properties": {
  2877. "id": {
  2878. "type": "string"
  2879. }
  2880. }
  2881. },
  2882. "md.AdvertisingResp": {
  2883. "type": "object",
  2884. "properties": {
  2885. "basic": {
  2886. "$ref": "#/definitions/md.AdvertisingBasic"
  2887. },
  2888. "function": {
  2889. "type": "array",
  2890. "items": {
  2891. "$ref": "#/definitions/md.AdvertisingFunction"
  2892. }
  2893. },
  2894. "pop": {
  2895. "$ref": "#/definitions/md.AdvertisingLimit"
  2896. },
  2897. "space": {
  2898. "type": "array",
  2899. "items": {
  2900. "$ref": "#/definitions/md.AdvertisingSpace"
  2901. }
  2902. }
  2903. }
  2904. },
  2905. "md.AdvertisingSpace": {
  2906. "type": "object",
  2907. "properties": {
  2908. "counting_down": {
  2909. "type": "string",
  2910. "example": "倒计时 x秒"
  2911. },
  2912. "id": {
  2913. "type": "string",
  2914. "example": "id"
  2915. },
  2916. "info": {
  2917. "type": "object",
  2918. "additionalProperties": true
  2919. },
  2920. "kind": {
  2921. "type": "string",
  2922. "example": "广告类型(1:开屏广告 2:插屏广告 3:激励视频 4:信息流广告)"
  2923. },
  2924. "name": {
  2925. "type": "string",
  2926. "example": "名称"
  2927. }
  2928. }
  2929. },
  2930. "md.AdvertisingState": {
  2931. "type": "object",
  2932. "properties": {
  2933. "is_success": {
  2934. "type": "string"
  2935. }
  2936. }
  2937. },
  2938. "md.BasalRateResp": {
  2939. "type": "object",
  2940. "properties": {
  2941. "basal_rate": {
  2942. "description": "基础速率",
  2943. "type": "string"
  2944. },
  2945. "consumed_egg_energy": {
  2946. "description": "收益蛋蛋能量",
  2947. "type": "string"
  2948. },
  2949. "consumed_egg_point": {
  2950. "description": "消耗蛋蛋积分",
  2951. "type": "string"
  2952. },
  2953. "consumed_time": {
  2954. "description": "消耗时间/小时",
  2955. "type": "string"
  2956. },
  2957. "estimated_revenue": {
  2958. "description": "预估收益蛋蛋能量",
  2959. "type": "string"
  2960. },
  2961. "remaining_egg_energy": {
  2962. "description": "剩余蛋蛋能量",
  2963. "type": "string"
  2964. },
  2965. "remaining_time": {
  2966. "description": "剩余时间/小时",
  2967. "type": "string"
  2968. },
  2969. "sign_countdown": {
  2970. "description": "收益倒计时",
  2971. "type": "string"
  2972. }
  2973. }
  2974. },
  2975. "md.CollegeDetailReq": {
  2976. "type": "object",
  2977. "properties": {
  2978. "id": {
  2979. "type": "string"
  2980. }
  2981. }
  2982. },
  2983. "md.CollegeDetailResp": {
  2984. "type": "object",
  2985. "properties": {
  2986. "content": {
  2987. "type": "string"
  2988. },
  2989. "create_at": {
  2990. "type": "string"
  2991. },
  2992. "forward_count": {
  2993. "type": "string",
  2994. "example": "分享数量"
  2995. },
  2996. "id": {
  2997. "type": "string"
  2998. },
  2999. "is_like": {
  3000. "type": "string",
  3001. "example": "是否点赞 0否 1是"
  3002. },
  3003. "like_count": {
  3004. "type": "string",
  3005. "example": "点赞数量"
  3006. },
  3007. "title": {
  3008. "type": "string"
  3009. },
  3010. "url": {
  3011. "type": "string"
  3012. },
  3013. "watch_count": {
  3014. "type": "string",
  3015. "example": "学习数量"
  3016. }
  3017. }
  3018. },
  3019. "md.CollegeListReq": {
  3020. "type": "object",
  3021. "properties": {
  3022. "cate_id": {
  3023. "type": "string"
  3024. },
  3025. "limit": {
  3026. "type": "string"
  3027. },
  3028. "page": {
  3029. "type": "string"
  3030. }
  3031. }
  3032. },
  3033. "md.CollegeListResp": {
  3034. "type": "object",
  3035. "properties": {
  3036. "cover": {
  3037. "type": "string",
  3038. "example": "封面图"
  3039. },
  3040. "create_at": {
  3041. "type": "string"
  3042. },
  3043. "forward_count": {
  3044. "type": "string",
  3045. "example": "分享数量"
  3046. },
  3047. "id": {
  3048. "type": "string"
  3049. },
  3050. "like_count": {
  3051. "type": "string",
  3052. "example": "点赞数量"
  3053. },
  3054. "title": {
  3055. "type": "string"
  3056. },
  3057. "url": {
  3058. "type": "string"
  3059. },
  3060. "watch_count": {
  3061. "type": "string",
  3062. "example": "学习数量"
  3063. }
  3064. }
  3065. },
  3066. "md.ConfigResp": {
  3067. "type": "object",
  3068. "properties": {
  3069. "content": {
  3070. "type": "string",
  3071. "example": "软件使用协议内容"
  3072. },
  3073. "guide": {
  3074. "type": "array",
  3075. "items": {
  3076. "$ref": "#/definitions/md.Guide"
  3077. }
  3078. },
  3079. "oss_url": {
  3080. "type": "string",
  3081. "example": "阿里云图片链接"
  3082. },
  3083. "privacy_title": {
  3084. "type": "string",
  3085. "example": "隐私协议标题"
  3086. },
  3087. "privacy_url": {
  3088. "type": "string",
  3089. "example": "隐私协议链接"
  3090. },
  3091. "title": {
  3092. "type": "string",
  3093. "example": "软件使用协议标题"
  3094. },
  3095. "user_title": {
  3096. "type": "string",
  3097. "example": "用户协议标题"
  3098. },
  3099. "user_url": {
  3100. "type": "string",
  3101. "example": "用户协议链接"
  3102. }
  3103. }
  3104. },
  3105. "md.ContributionValueFlowNode": {
  3106. "type": "object",
  3107. "properties": {
  3108. "amount": {
  3109. "description": "变更数量",
  3110. "type": "string"
  3111. },
  3112. "create_at": {
  3113. "description": "完成时间",
  3114. "type": "string"
  3115. },
  3116. "direction": {
  3117. "description": "方向: 1.收入 2.支出",
  3118. "type": "string"
  3119. },
  3120. "title": {
  3121. "description": "标题",
  3122. "type": "string"
  3123. }
  3124. }
  3125. },
  3126. "md.DynamicDataResp": {
  3127. "type": "object",
  3128. "properties": {
  3129. "development_committee": {
  3130. "description": "发展委员会",
  3131. "type": "string"
  3132. },
  3133. "public_welfare_and_charity": {
  3134. "description": "公益基金",
  3135. "type": "string"
  3136. },
  3137. "star_level_dividends": {
  3138. "description": "星级分红",
  3139. "type": "string"
  3140. },
  3141. "user_total_hold": {
  3142. "description": "用户持有总量",
  3143. "type": "string"
  3144. }
  3145. }
  3146. },
  3147. "md.EggEnergyDetailReq": {
  3148. "type": "object",
  3149. "properties": {
  3150. "asc": {
  3151. "description": "1.升序 2.倒序",
  3152. "type": "string"
  3153. },
  3154. "direction": {
  3155. "description": "类型 1.收入 2.支出 全部则传空",
  3156. "type": "string"
  3157. },
  3158. "kind": {
  3159. "description": "类型:1. 个人蛋蛋能量 2.团队蛋蛋能量",
  3160. "type": "string"
  3161. },
  3162. "limit": {
  3163. "description": "每页大小",
  3164. "type": "integer"
  3165. },
  3166. "page": {
  3167. "description": "页数",
  3168. "type": "integer"
  3169. },
  3170. "type": {
  3171. "description": "变动类型 全部则传空",
  3172. "type": "string"
  3173. }
  3174. }
  3175. },
  3176. "md.EggEnergyDetailResp": {
  3177. "type": "object",
  3178. "properties": {
  3179. "list": {
  3180. "description": "流水数据",
  3181. "type": "array",
  3182. "items": {
  3183. "type": "object",
  3184. "additionalProperties": {
  3185. "type": "string"
  3186. }
  3187. }
  3188. },
  3189. "paginate": {
  3190. "description": "分页信息",
  3191. "allOf": [
  3192. {
  3193. "$ref": "#/definitions/applet_app_md.Paginate"
  3194. }
  3195. ]
  3196. },
  3197. "person_egg_energy": {
  3198. "description": "个人蛋蛋能量",
  3199. "type": "string"
  3200. },
  3201. "team_egg_energy": {
  3202. "description": "团队蛋蛋能量",
  3203. "type": "string"
  3204. },
  3205. "total_egg_energy": {
  3206. "description": "总蛋蛋能量",
  3207. "type": "string"
  3208. },
  3209. "total_egg_energy_price": {
  3210. "description": "蛋蛋能量总价",
  3211. "type": "string"
  3212. },
  3213. "transfer_type_list": {
  3214. "description": "转账类型列表",
  3215. "allOf": [
  3216. {
  3217. "$ref": "#/definitions/md.TransferTypeList"
  3218. }
  3219. ]
  3220. }
  3221. }
  3222. },
  3223. "md.EggEnergyFlowNode": {
  3224. "type": "object",
  3225. "properties": {
  3226. "after_amount": {
  3227. "description": "变更后数量",
  3228. "type": "string"
  3229. },
  3230. "amount": {
  3231. "description": "变更数量",
  3232. "type": "string"
  3233. },
  3234. "before_amount": {
  3235. "description": "变更前数量",
  3236. "type": "string"
  3237. },
  3238. "coin_name": {
  3239. "description": "虚拟币名称",
  3240. "type": "string"
  3241. },
  3242. "create_at": {
  3243. "description": "创建时间",
  3244. "type": "string"
  3245. },
  3246. "direction": {
  3247. "description": "方向:1.收入 2.支出",
  3248. "type": "integer"
  3249. },
  3250. "id": {
  3251. "type": "integer"
  3252. },
  3253. "sys_fee": {
  3254. "description": "手续费",
  3255. "type": "string"
  3256. },
  3257. "title": {
  3258. "description": "标题",
  3259. "type": "string"
  3260. },
  3261. "transfer_type": {
  3262. "description": "转账类型",
  3263. "type": "string"
  3264. }
  3265. }
  3266. },
  3267. "md.EggPointDetailsReq": {
  3268. "type": "object",
  3269. "properties": {
  3270. "asc": {
  3271. "description": "1.升序 2.倒序",
  3272. "type": "string"
  3273. },
  3274. "direction": {
  3275. "description": "类型 1.收入 2.支出 全部则传空",
  3276. "type": "string"
  3277. },
  3278. "kind": {
  3279. "description": "类型:1. 个人蛋蛋积分 2.团队蛋蛋积分",
  3280. "type": "string"
  3281. },
  3282. "limit": {
  3283. "description": "每页大小",
  3284. "type": "integer"
  3285. },
  3286. "page": {
  3287. "description": "页数",
  3288. "type": "integer"
  3289. },
  3290. "type": {
  3291. "description": "变动类型 全部则传空",
  3292. "type": "string"
  3293. }
  3294. }
  3295. },
  3296. "md.EggPointDetailsResp": {
  3297. "type": "object",
  3298. "properties": {
  3299. "list": {
  3300. "description": "流水数据",
  3301. "type": "array",
  3302. "items": {
  3303. "type": "object",
  3304. "additionalProperties": {
  3305. "type": "string"
  3306. }
  3307. }
  3308. },
  3309. "paginate": {
  3310. "description": "分页信息",
  3311. "allOf": [
  3312. {
  3313. "$ref": "#/definitions/applet_app_md.Paginate"
  3314. }
  3315. ]
  3316. },
  3317. "person_egg_points": {
  3318. "description": "个人蛋蛋积分",
  3319. "type": "string"
  3320. },
  3321. "team_egg_points": {
  3322. "description": "团队蛋蛋积分",
  3323. "type": "string"
  3324. },
  3325. "total_egg_points": {
  3326. "description": "总蛋蛋积分",
  3327. "type": "string"
  3328. },
  3329. "total_egg_points_amount": {
  3330. "description": "蛋蛋积分余额",
  3331. "type": "string"
  3332. },
  3333. "transfer_type_list": {
  3334. "description": "转账类型列表",
  3335. "allOf": [
  3336. {
  3337. "$ref": "#/definitions/md.TransferTypeList"
  3338. }
  3339. ]
  3340. }
  3341. }
  3342. },
  3343. "md.EggPointRecordNode": {
  3344. "type": "object",
  3345. "properties": {
  3346. "end_at": {
  3347. "description": "结束时间",
  3348. "type": "string"
  3349. },
  3350. "score": {
  3351. "description": "分数",
  3352. "type": "string"
  3353. },
  3354. "start_at": {
  3355. "description": "开始时间",
  3356. "type": "string"
  3357. },
  3358. "week": {
  3359. "description": "周数",
  3360. "type": "string"
  3361. },
  3362. "year": {
  3363. "description": "年份",
  3364. "type": "string"
  3365. }
  3366. }
  3367. },
  3368. "md.ExchangeEnergyReq": {
  3369. "type": "object",
  3370. "properties": {
  3371. "energy_amount": {
  3372. "description": "兑换能量数值",
  3373. "type": "string"
  3374. }
  3375. }
  3376. },
  3377. "md.FastLoginReq": {
  3378. "type": "object",
  3379. "properties": {
  3380. "invite_code": {
  3381. "type": "string",
  3382. "example": "邀请码"
  3383. },
  3384. "token": {
  3385. "type": "string",
  3386. "example": "一键登录的token"
  3387. }
  3388. }
  3389. },
  3390. "md.FindPasswordReq": {
  3391. "type": "object",
  3392. "required": [
  3393. "mobile"
  3394. ],
  3395. "properties": {
  3396. "code": {
  3397. "type": "string",
  3398. "example": "验证码"
  3399. },
  3400. "mobile": {
  3401. "type": "string"
  3402. },
  3403. "password": {
  3404. "type": "string",
  3405. "example": "密码 如 123"
  3406. }
  3407. }
  3408. },
  3409. "md.GetAmountFlowResp": {
  3410. "type": "object",
  3411. "properties": {
  3412. "list": {
  3413. "type": "array",
  3414. "items": {
  3415. "$ref": "#/definitions/md.WalletFlowNode"
  3416. }
  3417. },
  3418. "paginate": {
  3419. "$ref": "#/definitions/applet_app_md.Paginate"
  3420. }
  3421. }
  3422. },
  3423. "md.GetContributionValueFlowResp": {
  3424. "type": "object",
  3425. "properties": {
  3426. "list": {
  3427. "type": "array",
  3428. "items": {
  3429. "$ref": "#/definitions/md.ContributionValueFlowNode"
  3430. }
  3431. },
  3432. "paginate": {
  3433. "$ref": "#/definitions/applet_app_md.Paginate"
  3434. }
  3435. }
  3436. },
  3437. "md.GetContributionValueResp": {
  3438. "type": "object",
  3439. "properties": {
  3440. "contribution_value": {
  3441. "description": "贡献值",
  3442. "type": "string"
  3443. },
  3444. "ratio": {
  3445. "description": "兑换比率(x 分兑换 1 人民币)",
  3446. "type": "string"
  3447. }
  3448. }
  3449. },
  3450. "md.GetEggEnergyFlowResp": {
  3451. "type": "object",
  3452. "properties": {
  3453. "list": {
  3454. "type": "array",
  3455. "items": {
  3456. "$ref": "#/definitions/md.EggEnergyFlowNode"
  3457. }
  3458. },
  3459. "paginate": {
  3460. "$ref": "#/definitions/applet_app_md.Paginate"
  3461. }
  3462. }
  3463. },
  3464. "md.GetEggPointRecordResp": {
  3465. "type": "object",
  3466. "properties": {
  3467. "list": {
  3468. "description": "分数明细列表",
  3469. "type": "array",
  3470. "items": {
  3471. "$ref": "#/definitions/md.EggPointRecordNode"
  3472. }
  3473. },
  3474. "now_score": {
  3475. "description": "当前分数",
  3476. "type": "string"
  3477. },
  3478. "paginate": {
  3479. "$ref": "#/definitions/applet_app_md.Paginate"
  3480. }
  3481. }
  3482. },
  3483. "md.GetModuleSettingResp": {
  3484. "type": "object",
  3485. "properties": {
  3486. "data": {
  3487. "description": "内容",
  3488. "type": "object",
  3489. "additionalProperties": true
  3490. },
  3491. "mod_name": {
  3492. "description": "模块名称",
  3493. "type": "string"
  3494. },
  3495. "position": {
  3496. "description": "位置",
  3497. "type": "string"
  3498. },
  3499. "skip_identifier": {
  3500. "description": "跳转标识",
  3501. "type": "string"
  3502. },
  3503. "subtitle": {
  3504. "description": "副标题",
  3505. "type": "string"
  3506. },
  3507. "title": {
  3508. "description": "标题",
  3509. "type": "string"
  3510. }
  3511. }
  3512. },
  3513. "md.GetPriceCurveResp": {
  3514. "type": "object",
  3515. "properties": {
  3516. "x_data": {
  3517. "type": "array",
  3518. "items": {}
  3519. },
  3520. "y_data": {
  3521. "type": "array",
  3522. "items": {}
  3523. }
  3524. }
  3525. },
  3526. "md.GrabRedPackageReq": {
  3527. "type": "object",
  3528. "properties": {
  3529. "device_id": {
  3530. "description": "设备id",
  3531. "type": "string"
  3532. },
  3533. "receiver_id": {
  3534. "description": "用户id或者群组id",
  3535. "type": "integer"
  3536. },
  3537. "receiver_type": {
  3538. "description": "接收者类型,1:user;2:group",
  3539. "type": "integer"
  3540. },
  3541. "red_package_cover": {
  3542. "description": "红包封面",
  3543. "type": "string"
  3544. },
  3545. "red_package_id": {
  3546. "description": "红包id",
  3547. "type": "integer"
  3548. },
  3549. "send_red_package_user_nike_name": {
  3550. "description": "红包发送者-im用户昵称",
  3551. "type": "string"
  3552. },
  3553. "send_red_packet_avatar_url": {
  3554. "description": "红包发送者-im用户头像",
  3555. "type": "string"
  3556. },
  3557. "send_time": {
  3558. "description": "消息发送时间戳,精确到毫秒",
  3559. "type": "integer"
  3560. },
  3561. "token": {
  3562. "description": "im-token",
  3563. "type": "string"
  3564. },
  3565. "user_id": {
  3566. "description": "im用户id",
  3567. "type": "string"
  3568. }
  3569. }
  3570. },
  3571. "md.GrabRedPackageResp": {
  3572. "type": "object",
  3573. "properties": {
  3574. "grab_amount": {
  3575. "description": "抢到的红包金额",
  3576. "type": "string"
  3577. },
  3578. "im": {
  3579. "description": "im 返回体",
  3580. "allOf": [
  3581. {
  3582. "$ref": "#/definitions/pb.SendRedPacketResp"
  3583. }
  3584. ]
  3585. }
  3586. }
  3587. },
  3588. "md.Guide": {
  3589. "type": "object",
  3590. "properties": {
  3591. "bg_image": {
  3592. "type": "string"
  3593. },
  3594. "bg_image_url": {
  3595. "type": "string"
  3596. },
  3597. "content_image": {
  3598. "type": "string"
  3599. },
  3600. "content_image_url": {
  3601. "type": "string"
  3602. }
  3603. }
  3604. },
  3605. "md.HomePageResp": {
  3606. "type": "object",
  3607. "properties": {
  3608. "initial_price": {
  3609. "description": "蛋蛋能量初始价格",
  3610. "type": "string"
  3611. },
  3612. "is_sign": {
  3613. "description": "是否开始签到",
  3614. "type": "boolean"
  3615. },
  3616. "nick_name": {
  3617. "description": "用户名称",
  3618. "type": "string"
  3619. },
  3620. "now_basal_rate": {
  3621. "description": "当前基础速率/小时",
  3622. "type": "string"
  3623. },
  3624. "now_team_rate": {
  3625. "description": "当前团队速率/小时",
  3626. "type": "string"
  3627. },
  3628. "sign_end_time": {
  3629. "description": "签到截止时间",
  3630. "type": "string"
  3631. },
  3632. "total_active_points": {
  3633. "description": "总蛋蛋积分",
  3634. "type": "string"
  3635. },
  3636. "total_egg_energy": {
  3637. "description": "总蛋蛋能量",
  3638. "type": "string"
  3639. }
  3640. }
  3641. },
  3642. "md.HomePageWatchAdRuleResp": {
  3643. "type": "object",
  3644. "properties": {
  3645. "each_round_hour": {
  3646. "description": "每一轮X个小时",
  3647. "type": "string"
  3648. },
  3649. "next_watch_ad_date": {
  3650. "description": "下次可观看广告时间,若为空允许观看视频",
  3651. "type": "string"
  3652. },
  3653. "residue_watch_ad_num": {
  3654. "description": "当前剩余可观看视频数",
  3655. "type": "integer"
  3656. },
  3657. "watch_ad_reward_active_points": {
  3658. "description": "观看广告视频奖励X个活跃积分",
  3659. "type": "string"
  3660. }
  3661. }
  3662. },
  3663. "md.InitialDataResp": {
  3664. "type": "object",
  3665. "properties": {
  3666. "initial_price": {
  3667. "description": "初始价格",
  3668. "type": "string"
  3669. },
  3670. "total_angel_investor": {
  3671. "description": "天使投资人",
  3672. "type": "string"
  3673. },
  3674. "total_ecological_development": {
  3675. "description": "生态建设",
  3676. "type": "string"
  3677. },
  3678. "total_issuance_amount": {
  3679. "description": "总发行量",
  3680. "type": "string"
  3681. },
  3682. "total_operate_fund": {
  3683. "description": "运营资金",
  3684. "type": "string"
  3685. },
  3686. "total_technology_team": {
  3687. "description": "技术团队",
  3688. "type": "string"
  3689. }
  3690. }
  3691. },
  3692. "md.IntegralList": {
  3693. "type": "object",
  3694. "properties": {
  3695. "expend_list": {
  3696. "description": "支出类型列表",
  3697. "type": "array",
  3698. "items": {
  3699. "$ref": "#/definitions/md.TransferTypeNode"
  3700. }
  3701. },
  3702. "income_list": {
  3703. "description": "收入类型列表",
  3704. "type": "array",
  3705. "items": {
  3706. "$ref": "#/definitions/md.TransferTypeNode"
  3707. }
  3708. }
  3709. }
  3710. },
  3711. "md.InviteCodeUserInfoReq": {
  3712. "type": "object",
  3713. "properties": {
  3714. "invite_code": {
  3715. "type": "string"
  3716. }
  3717. }
  3718. },
  3719. "md.InviteCodeUserInfoResp": {
  3720. "type": "object",
  3721. "properties": {
  3722. "head_img": {
  3723. "type": "string"
  3724. },
  3725. "nickname": {
  3726. "type": "string"
  3727. }
  3728. }
  3729. },
  3730. "md.InviteUrl": {
  3731. "type": "object",
  3732. "properties": {
  3733. "invite_code": {
  3734. "type": "string"
  3735. },
  3736. "link": {
  3737. "type": "string"
  3738. },
  3739. "qrcode": {
  3740. "type": "string"
  3741. }
  3742. }
  3743. },
  3744. "md.IsCanGetRedPackageResp": {
  3745. "type": "object",
  3746. "properties": {
  3747. "is_can_get_red_package": {
  3748. "description": "能否获取红包",
  3749. "type": "boolean"
  3750. }
  3751. }
  3752. },
  3753. "md.IsCanSignInResp": {
  3754. "type": "object",
  3755. "properties": {
  3756. "is_can_sign_in": {
  3757. "description": "能否签到",
  3758. "type": "boolean"
  3759. }
  3760. }
  3761. },
  3762. "md.LoginReq": {
  3763. "type": "object",
  3764. "required": [
  3765. "password",
  3766. "phone"
  3767. ],
  3768. "properties": {
  3769. "code": {
  3770. "type": "string",
  3771. "example": "验证码"
  3772. },
  3773. "password": {
  3774. "type": "string",
  3775. "example": "登录密码"
  3776. },
  3777. "phone": {
  3778. "type": "string",
  3779. "example": "手机号"
  3780. }
  3781. }
  3782. },
  3783. "md.LoginResponse": {
  3784. "type": "object",
  3785. "properties": {
  3786. "token": {
  3787. "type": "string"
  3788. }
  3789. }
  3790. },
  3791. "md.MemberCenterGetBasicResp": {
  3792. "type": "object",
  3793. "properties": {
  3794. "active_num": {
  3795. "description": "活跃值",
  3796. "type": "string"
  3797. },
  3798. "amount": {
  3799. "description": "账户余额",
  3800. "type": "string"
  3801. },
  3802. "contribution_value": {
  3803. "description": "贡献值",
  3804. "type": "string"
  3805. },
  3806. "date": {
  3807. "description": "兑换时间(每月x日)",
  3808. "type": "string"
  3809. },
  3810. "egg_energy": {
  3811. "description": "能量值",
  3812. "type": "string"
  3813. },
  3814. "egg_energy_value": {
  3815. "description": "能量预估价值",
  3816. "type": "string"
  3817. },
  3818. "egg_score": {
  3819. "description": "蛋蛋分",
  3820. "type": "string"
  3821. },
  3822. "head_img": {
  3823. "type": "string"
  3824. },
  3825. "id": {
  3826. "type": "string"
  3827. },
  3828. "invite_code": {
  3829. "type": "string"
  3830. },
  3831. "is_bind_extend": {
  3832. "type": "string",
  3833. "example": "是否绑定了上级 0否 1是"
  3834. },
  3835. "level_name": {
  3836. "description": "会员等级名称",
  3837. "type": "string"
  3838. },
  3839. "nickname": {
  3840. "description": "会员名称",
  3841. "type": "string"
  3842. },
  3843. "phone": {
  3844. "type": "string"
  3845. },
  3846. "ratio": {
  3847. "description": "兑换比例(x:y)",
  3848. "type": "string"
  3849. }
  3850. }
  3851. },
  3852. "md.MyFansResp": {
  3853. "type": "object",
  3854. "properties": {
  3855. "now_team_assistance_num": {
  3856. "description": "团队助力人数",
  3857. "type": "integer"
  3858. },
  3859. "now_team_assistance_reward": {
  3860. "description": "团队助力收益",
  3861. "type": "string"
  3862. },
  3863. "now_team_user": {
  3864. "description": "团队人数",
  3865. "type": "integer"
  3866. }
  3867. }
  3868. },
  3869. "md.MyFansUserListResp": {
  3870. "type": "object",
  3871. "properties": {
  3872. "list": {
  3873. "type": "array",
  3874. "items": {
  3875. "$ref": "#/definitions/md.OneLineUserNode"
  3876. }
  3877. }
  3878. }
  3879. },
  3880. "md.NineDimensionalSpaceResp": {
  3881. "type": "object",
  3882. "properties": {
  3883. "a_lot_of_nums": {
  3884. "description": "全网至多用户数",
  3885. "type": "integer"
  3886. },
  3887. "day_num": {
  3888. "description": "连续x天不活跃",
  3889. "type": "integer"
  3890. },
  3891. "rows": {
  3892. "description": "行数",
  3893. "type": "string"
  3894. },
  3895. "space_list": {
  3896. "description": "数据列表",
  3897. "type": "array",
  3898. "items": {
  3899. "$ref": "#/definitions/md.SpaceListNode"
  3900. }
  3901. },
  3902. "space_nums": {
  3903. "description": "空间人数",
  3904. "type": "integer"
  3905. },
  3906. "space_total_nums": {
  3907. "description": "空间总数",
  3908. "type": "integer"
  3909. },
  3910. "times": {
  3911. "description": "排数",
  3912. "type": "string"
  3913. }
  3914. }
  3915. },
  3916. "md.OneLineUserNode": {
  3917. "type": "object",
  3918. "properties": {
  3919. "avatar_url": {
  3920. "type": "string"
  3921. },
  3922. "invite_time": {
  3923. "type": "string"
  3924. },
  3925. "is_online": {
  3926. "type": "boolean"
  3927. },
  3928. "nickname": {
  3929. "type": "string"
  3930. }
  3931. }
  3932. },
  3933. "md.PointsCenterGetBasicResp": {
  3934. "type": "object",
  3935. "properties": {
  3936. "egg_point": {
  3937. "description": "能量积分",
  3938. "type": "string"
  3939. },
  3940. "egg_point_amount": {
  3941. "description": "能量积分价值",
  3942. "type": "string"
  3943. },
  3944. "energy": {
  3945. "description": "蛋蛋能量值",
  3946. "type": "string"
  3947. },
  3948. "energy_amount": {
  3949. "description": "能量价值",
  3950. "type": "string"
  3951. },
  3952. "wallet_amount": {
  3953. "description": "账户余额",
  3954. "type": "string"
  3955. }
  3956. }
  3957. },
  3958. "md.PointsExchangeGetBasicResp": {
  3959. "type": "object",
  3960. "properties": {
  3961. "available_cash": {
  3962. "description": "可用现金",
  3963. "type": "string"
  3964. },
  3965. "available_energy": {
  3966. "description": "可用能量",
  3967. "type": "string"
  3968. }
  3969. }
  3970. },
  3971. "md.RealTimePriceResp": {
  3972. "type": "object",
  3973. "properties": {
  3974. "is_rises": {
  3975. "description": "是否涨/跌价",
  3976. "type": "boolean"
  3977. },
  3978. "now_price": {
  3979. "description": "当前价格",
  3980. "type": "string"
  3981. },
  3982. "rises": {
  3983. "description": "涨价幅度(百分比)",
  3984. "type": "string"
  3985. },
  3986. "user_count": {
  3987. "description": "用户数",
  3988. "type": "integer"
  3989. }
  3990. }
  3991. },
  3992. "md.RedPackageDetailResp": {
  3993. "type": "object",
  3994. "properties": {
  3995. "detail": {
  3996. "description": "红包详情信息",
  3997. "allOf": [
  3998. {
  3999. "$ref": "#/definitions/code_fnuoos_com_EggPlanet_egg_models_git_src_model.ImSendRedPackageOrd"
  4000. }
  4001. ]
  4002. },
  4003. "list": {
  4004. "description": "领取红包用户列表",
  4005. "type": "array",
  4006. "items": {
  4007. "$ref": "#/definitions/md.RedPackageDetailUserNode"
  4008. }
  4009. }
  4010. }
  4011. },
  4012. "md.RedPackageDetailUserNode": {
  4013. "type": "object",
  4014. "properties": {
  4015. "amount": {
  4016. "description": "金额",
  4017. "type": "string"
  4018. },
  4019. "im_user_id": {
  4020. "description": "im用户id",
  4021. "type": "string"
  4022. },
  4023. "received_at": {
  4024. "description": "领取时间",
  4025. "type": "string"
  4026. },
  4027. "user_avatar_url": {
  4028. "description": "im用户昵称",
  4029. "type": "string"
  4030. },
  4031. "user_nick_name": {
  4032. "description": "im用户昵称",
  4033. "type": "string"
  4034. }
  4035. }
  4036. },
  4037. "md.RegisterReq": {
  4038. "type": "object",
  4039. "required": [
  4040. "mobile"
  4041. ],
  4042. "properties": {
  4043. "avatar": {
  4044. "type": "string",
  4045. "example": "头像"
  4046. },
  4047. "code": {
  4048. "type": "string",
  4049. "example": "验证码"
  4050. },
  4051. "invite_code": {
  4052. "type": "string",
  4053. "example": "邀请码"
  4054. },
  4055. "mobile": {
  4056. "type": "string"
  4057. },
  4058. "nickname": {
  4059. "type": "string",
  4060. "example": "昵称"
  4061. },
  4062. "open_id": {
  4063. "type": "string",
  4064. "example": "微信openId"
  4065. },
  4066. "password": {
  4067. "type": "string",
  4068. "example": "密码 如 123"
  4069. },
  4070. "sex": {
  4071. "description": "性别(0:未知 1:男 2:女)",
  4072. "type": "integer"
  4073. },
  4074. "type": {
  4075. "type": "string",
  4076. "example": "app:APP注册、h5:H5注册"
  4077. },
  4078. "union_id": {
  4079. "type": "string",
  4080. "example": "微信UnionId"
  4081. }
  4082. }
  4083. },
  4084. "md.Response": {
  4085. "type": "object",
  4086. "properties": {
  4087. "code": {
  4088. "type": "string",
  4089. "example": "响应码"
  4090. },
  4091. "data": {
  4092. "description": "内容"
  4093. },
  4094. "msg": {
  4095. "type": "string",
  4096. "example": "具体错误原因"
  4097. }
  4098. }
  4099. },
  4100. "md.SendRedPackageDetailReq": {
  4101. "type": "object",
  4102. "properties": {
  4103. "order_id": {
  4104. "description": "红包的订单 ID",
  4105. "type": "string"
  4106. }
  4107. }
  4108. },
  4109. "md.SendRedPackageDetailResp": {
  4110. "type": "object",
  4111. "properties": {
  4112. "im": {
  4113. "$ref": "#/definitions/md.SeqType"
  4114. },
  4115. "red_package_id": {
  4116. "description": "红包 ID",
  4117. "type": "integer"
  4118. }
  4119. }
  4120. },
  4121. "md.SendRedPackageReq": {
  4122. "type": "object",
  4123. "properties": {
  4124. "amount": {
  4125. "description": "红包金额",
  4126. "type": "string"
  4127. },
  4128. "device_id": {
  4129. "description": "设备id",
  4130. "type": "string"
  4131. },
  4132. "receiver_id": {
  4133. "description": "用户id或者群组id",
  4134. "type": "integer"
  4135. },
  4136. "receiver_type": {
  4137. "description": "接收者类型,1:user;2:group",
  4138. "type": "integer"
  4139. },
  4140. "red_package_cover": {
  4141. "description": "红包封面",
  4142. "type": "string"
  4143. },
  4144. "red_packet_content": {
  4145. "description": "红包文字内容",
  4146. "type": "string"
  4147. },
  4148. "red_packet_nums": {
  4149. "description": "红包数量",
  4150. "type": "integer"
  4151. },
  4152. "red_packet_small_content": {
  4153. "description": "红包文字内容",
  4154. "type": "string"
  4155. },
  4156. "red_packet_type": {
  4157. "description": "红包类型(0:未知 1:好友红包 2:群组普通红包 3:群组手气红包 4:群组专属红包 5:系统红包)",
  4158. "type": "integer"
  4159. },
  4160. "send_time": {
  4161. "description": "消息发送时间戳,精确到毫秒",
  4162. "type": "integer"
  4163. },
  4164. "to_user_ids": {
  4165. "description": "红包给到哪些im用户id(专属红包)",
  4166. "type": "array",
  4167. "items": {
  4168. "type": "integer"
  4169. }
  4170. },
  4171. "token": {
  4172. "description": "im-token",
  4173. "type": "string"
  4174. },
  4175. "user_id": {
  4176. "description": "im用户id",
  4177. "type": "string"
  4178. }
  4179. }
  4180. },
  4181. "md.SendRedPackageResp": {
  4182. "type": "object",
  4183. "properties": {
  4184. "im": {
  4185. "$ref": "#/definitions/pb.SendRedPacketResp"
  4186. },
  4187. "red_package_id": {
  4188. "description": "红包ID",
  4189. "type": "integer"
  4190. }
  4191. }
  4192. },
  4193. "md.SeqType": {
  4194. "type": "object",
  4195. "properties": {
  4196. "seq": {
  4197. "description": "序列号",
  4198. "type": "integer"
  4199. }
  4200. }
  4201. },
  4202. "md.SmsSendReq": {
  4203. "type": "object",
  4204. "required": [
  4205. "mobile"
  4206. ],
  4207. "properties": {
  4208. "captcha_output": {
  4209. "type": "string",
  4210. "example": "阿里云图形验证码对应参数"
  4211. },
  4212. "gen_time": {
  4213. "type": "string",
  4214. "example": "阿里云图形验证码对应参数"
  4215. },
  4216. "lot_number": {
  4217. "type": "string",
  4218. "example": "阿里云图形验证码对应参数"
  4219. },
  4220. "mobile": {
  4221. "type": "string"
  4222. },
  4223. "pass_token": {
  4224. "type": "string",
  4225. "example": "阿里云图形验证码对应参数"
  4226. },
  4227. "type": {
  4228. "type": "string",
  4229. "example": "h5Register:h5注册页、wechatBindPhone:微信绑定手机、login:登陆、findPwd:找回密码、changePwd:修改密码、changePasscode:修改支付密码"
  4230. }
  4231. }
  4232. },
  4233. "md.SpaceListNode": {
  4234. "type": "object",
  4235. "properties": {
  4236. "max_count": {
  4237. "description": "最大容纳人数",
  4238. "type": "integer"
  4239. },
  4240. "name": {
  4241. "description": "维度",
  4242. "type": "string"
  4243. },
  4244. "now_count": {
  4245. "description": "当前人数",
  4246. "type": "integer"
  4247. }
  4248. }
  4249. },
  4250. "md.TotalRateResp": {
  4251. "type": "object",
  4252. "properties": {
  4253. "consumed_personal_egg_point": {
  4254. "description": "消耗个人蛋蛋积分",
  4255. "type": "string"
  4256. },
  4257. "consumed_team_egg_point": {
  4258. "description": "消耗团队蛋蛋积分",
  4259. "type": "string"
  4260. },
  4261. "now_basal_rate": {
  4262. "description": "当前基础速率/小时",
  4263. "type": "string"
  4264. },
  4265. "now_team_rate": {
  4266. "description": "当前团队速率/小时",
  4267. "type": "string"
  4268. },
  4269. "now_total_rate": {
  4270. "description": "总速率/小时",
  4271. "type": "string"
  4272. }
  4273. }
  4274. },
  4275. "md.TransferTypeList": {
  4276. "type": "object",
  4277. "properties": {
  4278. "TeamTransferTypeList": {
  4279. "description": "团队积分变动列表",
  4280. "allOf": [
  4281. {
  4282. "$ref": "#/definitions/md.IntegralList"
  4283. }
  4284. ]
  4285. },
  4286. "personal_transfer_type_list": {
  4287. "description": "个人积分变动列表",
  4288. "allOf": [
  4289. {
  4290. "$ref": "#/definitions/md.IntegralList"
  4291. }
  4292. ]
  4293. }
  4294. }
  4295. },
  4296. "md.TransferTypeNode": {
  4297. "type": "object",
  4298. "properties": {
  4299. "name": {
  4300. "type": "string"
  4301. },
  4302. "value": {
  4303. "type": "string"
  4304. }
  4305. }
  4306. },
  4307. "md.UpdatePasscodeReq": {
  4308. "type": "object",
  4309. "properties": {
  4310. "code": {
  4311. "type": "string",
  4312. "example": "验证码"
  4313. },
  4314. "passcode": {
  4315. "type": "string",
  4316. "example": "密码 如 123"
  4317. }
  4318. }
  4319. },
  4320. "md.UpdatePasswordReq": {
  4321. "type": "object",
  4322. "properties": {
  4323. "code": {
  4324. "type": "string",
  4325. "example": "验证码"
  4326. },
  4327. "password": {
  4328. "type": "string",
  4329. "example": "密码 如 123"
  4330. }
  4331. }
  4332. },
  4333. "md.UserFeedbackListReq": {
  4334. "type": "object",
  4335. "properties": {
  4336. "limit": {
  4337. "type": "string"
  4338. },
  4339. "page": {
  4340. "type": "string"
  4341. }
  4342. }
  4343. },
  4344. "md.UserFeedbackListResp": {
  4345. "type": "object",
  4346. "properties": {
  4347. "content": {
  4348. "type": "string"
  4349. },
  4350. "create_at": {
  4351. "type": "string"
  4352. },
  4353. "id": {
  4354. "type": "string"
  4355. },
  4356. "img": {
  4357. "type": "array",
  4358. "items": {
  4359. "type": "string"
  4360. }
  4361. },
  4362. "label": {
  4363. "type": "string"
  4364. },
  4365. "state": {
  4366. "type": "string",
  4367. "example": "0未回复 1已回复"
  4368. },
  4369. "title": {
  4370. "type": "string"
  4371. }
  4372. }
  4373. },
  4374. "md.UserFeedbackRecordReq": {
  4375. "type": "object",
  4376. "properties": {
  4377. "id": {
  4378. "type": "string"
  4379. },
  4380. "page": {
  4381. "type": "string"
  4382. }
  4383. }
  4384. },
  4385. "md.UserFeedbackRecordResp": {
  4386. "type": "object",
  4387. "properties": {
  4388. "content": {
  4389. "type": "string"
  4390. },
  4391. "create_at": {
  4392. "type": "string"
  4393. },
  4394. "head_img": {
  4395. "type": "string"
  4396. },
  4397. "nickname": {
  4398. "type": "string"
  4399. },
  4400. "type": {
  4401. "type": "string"
  4402. }
  4403. }
  4404. },
  4405. "md.UserFeedbackSaveReq": {
  4406. "type": "object",
  4407. "properties": {
  4408. "cid": {
  4409. "type": "string",
  4410. "example": "问题类型的id"
  4411. },
  4412. "content": {
  4413. "type": "string",
  4414. "example": "问题内容"
  4415. },
  4416. "idea": {
  4417. "type": "string",
  4418. "example": "建议内容"
  4419. },
  4420. "img": {
  4421. "type": "array",
  4422. "items": {
  4423. "type": "string"
  4424. },
  4425. "example": [
  4426. "图片"
  4427. ]
  4428. },
  4429. "phone": {
  4430. "type": "string"
  4431. },
  4432. "title": {
  4433. "type": "string"
  4434. },
  4435. "type": {
  4436. "type": "string",
  4437. "example": "问题类型的name"
  4438. }
  4439. }
  4440. },
  4441. "md.UserFeedbackSayReq": {
  4442. "type": "object",
  4443. "properties": {
  4444. "content": {
  4445. "type": "string",
  4446. "example": "问题内容"
  4447. },
  4448. "id": {
  4449. "type": "string",
  4450. "example": "id"
  4451. }
  4452. }
  4453. },
  4454. "md.UserInfoResp": {
  4455. "type": "object",
  4456. "properties": {
  4457. "head_img": {
  4458. "type": "string"
  4459. },
  4460. "id": {
  4461. "type": "string"
  4462. },
  4463. "invite_code": {
  4464. "type": "string"
  4465. },
  4466. "is_bind_extend": {
  4467. "type": "string",
  4468. "example": "是否绑定了上级 0否 1是"
  4469. },
  4470. "nickname": {
  4471. "type": "string"
  4472. },
  4473. "phone": {
  4474. "type": "string"
  4475. }
  4476. }
  4477. },
  4478. "md.Version": {
  4479. "type": "object",
  4480. "properties": {
  4481. "content": {
  4482. "type": "string"
  4483. },
  4484. "img": {
  4485. "type": "string"
  4486. },
  4487. "is_must": {
  4488. "type": "string"
  4489. },
  4490. "name": {
  4491. "type": "string"
  4492. },
  4493. "type": {
  4494. "type": "string"
  4495. },
  4496. "url": {
  4497. "type": "string"
  4498. },
  4499. "version": {
  4500. "type": "string"
  4501. }
  4502. }
  4503. },
  4504. "md.VersionResp": {
  4505. "type": "object",
  4506. "properties": {
  4507. "is_audit_version": {
  4508. "type": "string"
  4509. },
  4510. "version": {
  4511. "type": "array",
  4512. "items": {
  4513. "$ref": "#/definitions/md.Version"
  4514. }
  4515. }
  4516. }
  4517. },
  4518. "md.WalletFlowNode": {
  4519. "type": "object",
  4520. "properties": {
  4521. "after_amount": {
  4522. "description": "变动后金额",
  4523. "type": "string"
  4524. },
  4525. "amount": {
  4526. "description": "变动金额",
  4527. "type": "string"
  4528. },
  4529. "before_amount": {
  4530. "description": "变动前金额",
  4531. "type": "string"
  4532. },
  4533. "create_time": {
  4534. "description": "创建时间",
  4535. "type": "string"
  4536. },
  4537. "direction": {
  4538. "description": "方向:1.收入 2.支出",
  4539. "type": "integer"
  4540. },
  4541. "id": {
  4542. "type": "integer"
  4543. },
  4544. "kind": {
  4545. "description": "1:管理员操作增加余额 2:管理员操作扣除余额 3:蛋蛋能量兑换余额 4:余额兑换蛋蛋能量",
  4546. "type": "integer"
  4547. },
  4548. "memo": {
  4549. "description": "备注",
  4550. "type": "string"
  4551. },
  4552. "ord_id": {
  4553. "description": "对应订单编号",
  4554. "type": "string"
  4555. },
  4556. "state": {
  4557. "description": "1未到账,2已到账",
  4558. "type": "integer"
  4559. },
  4560. "sys_fee": {
  4561. "description": "手续费",
  4562. "type": "string"
  4563. },
  4564. "title": {
  4565. "description": "标题",
  4566. "type": "string"
  4567. },
  4568. "uid": {
  4569. "description": "用户 ID",
  4570. "type": "integer"
  4571. },
  4572. "update_time": {
  4573. "description": "更新时间",
  4574. "type": "string"
  4575. }
  4576. }
  4577. },
  4578. "md.WechatLoginReq": {
  4579. "type": "object",
  4580. "properties": {
  4581. "avatar": {
  4582. "type": "string",
  4583. "example": "头像"
  4584. },
  4585. "nickname": {
  4586. "type": "string",
  4587. "example": "昵称"
  4588. },
  4589. "open_id": {
  4590. "type": "string",
  4591. "example": "微信openId"
  4592. },
  4593. "union_id": {
  4594. "type": "string",
  4595. "example": "微信UnionId"
  4596. }
  4597. }
  4598. },
  4599. "md.WithdrawGetAmountResp": {
  4600. "type": "object",
  4601. "properties": {
  4602. "amount": {
  4603. "description": "余额",
  4604. "type": "string"
  4605. }
  4606. }
  4607. },
  4608. "pb.SendRedPacketResp": {
  4609. "type": "object",
  4610. "properties": {
  4611. "seq": {
  4612. "description": "消息序列号",
  4613. "type": "integer"
  4614. }
  4615. }
  4616. }
  4617. }
  4618. }`
  4619. // SwaggerInfo holds exported Swagger Info so clients can modify it
  4620. var SwaggerInfo = &swag.Spec{
  4621. Version: "1.0",
  4622. Host: "ddxq.izhim.com",
  4623. BasePath: "/api/v1",
  4624. Schemes: []string{},
  4625. Title: "蛋蛋星球-APP客户端",
  4626. Description: "APP客户端-Api接口",
  4627. InfoInstanceName: "swagger",
  4628. SwaggerTemplate: docTemplate,
  4629. }
  4630. func init() {
  4631. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  4632. }