蛋蛋星球-客户端
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

5033 lignes
166 KiB

  1. // Package docs Code generated by swaggo/swag. DO NOT EDIT
  2. package docs
  3. import "github.com/swaggo/swag"
  4. const docTemplate = `{
  5. "schemes": {{ marshal .Schemes }},
  6. "swagger": "2.0",
  7. "info": {
  8. "description": "{{escape .Description}}",
  9. "title": "{{.Title}}",
  10. "termsOfService": "http://swagger.io/terms/",
  11. "contact": {
  12. "name": "dengbiao",
  13. "url": "http://www.swagger.io/support",
  14. "email": "1239118001@qq.com"
  15. },
  16. "license": {
  17. "name": "Apache 2.0",
  18. "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
  19. },
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/api/v1/addFriend/basalRate": {
  26. "get": {
  27. "description": "基础速率(获取)",
  28. "consumes": [
  29. "application/json"
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "添加好友"
  36. ],
  37. "summary": "蛋蛋星球-添加好友-基础速率(获取)",
  38. "parameters": [
  39. {
  40. "type": "string",
  41. "description": "验证参数Bearer和token空格拼接",
  42. "name": "Authorization",
  43. "in": "header",
  44. "required": true
  45. }
  46. ],
  47. "responses": {
  48. "200": {
  49. "description": "具体数据",
  50. "schema": {
  51. "$ref": "#/definitions/md.BasalRateResp"
  52. }
  53. },
  54. "400": {
  55. "description": "具体错误",
  56. "schema": {
  57. "$ref": "#/definitions/md.Response"
  58. }
  59. }
  60. }
  61. }
  62. },
  63. "/api/v1/addFriend/eggEnergyDetails": {
  64. "post": {
  65. "description": "蛋蛋能量明细(获取)",
  66. "consumes": [
  67. "application/json"
  68. ],
  69. "produces": [
  70. "application/json"
  71. ],
  72. "tags": [
  73. "添加好友"
  74. ],
  75. "summary": "蛋蛋星球-添加好友-蛋蛋能量明细(获取)",
  76. "parameters": [
  77. {
  78. "type": "string",
  79. "description": "验证参数Bearer和token空格拼接",
  80. "name": "Authorization",
  81. "in": "header",
  82. "required": true
  83. },
  84. {
  85. "description": "分页类型必填",
  86. "name": "req",
  87. "in": "body",
  88. "required": true,
  89. "schema": {
  90. "$ref": "#/definitions/md.EggEnergyDetailReq"
  91. }
  92. }
  93. ],
  94. "responses": {
  95. "200": {
  96. "description": "具体数据",
  97. "schema": {
  98. "$ref": "#/definitions/md.EggEnergyDetailResp"
  99. }
  100. },
  101. "400": {
  102. "description": "具体错误",
  103. "schema": {
  104. "$ref": "#/definitions/md.Response"
  105. }
  106. }
  107. }
  108. }
  109. },
  110. "/api/v1/addFriend/eggPointDetails": {
  111. "post": {
  112. "description": "蛋蛋积分明细(获取)",
  113. "consumes": [
  114. "application/json"
  115. ],
  116. "produces": [
  117. "application/json"
  118. ],
  119. "tags": [
  120. "添加好友"
  121. ],
  122. "summary": "蛋蛋星球-添加好友-蛋蛋积分明细(获取)",
  123. "parameters": [
  124. {
  125. "type": "string",
  126. "description": "验证参数Bearer和token空格拼接",
  127. "name": "Authorization",
  128. "in": "header",
  129. "required": true
  130. },
  131. {
  132. "description": "分页类型必填",
  133. "name": "req",
  134. "in": "body",
  135. "required": true,
  136. "schema": {
  137. "$ref": "#/definitions/md.EggPointDetailsReq"
  138. }
  139. }
  140. ],
  141. "responses": {
  142. "200": {
  143. "description": "具体数据",
  144. "schema": {
  145. "$ref": "#/definitions/md.EggPointDetailsResp"
  146. }
  147. },
  148. "400": {
  149. "description": "具体错误",
  150. "schema": {
  151. "$ref": "#/definitions/md.Response"
  152. }
  153. }
  154. }
  155. }
  156. },
  157. "/api/v1/addFriend/myFans": {
  158. "get": {
  159. "description": "团队加速速率(获取)",
  160. "consumes": [
  161. "application/json"
  162. ],
  163. "produces": [
  164. "application/json"
  165. ],
  166. "tags": [
  167. "添加好友"
  168. ],
  169. "summary": "蛋蛋星球-添加好友-粉丝团队-我的粉丝-团队加速速率(获取)",
  170. "parameters": [
  171. {
  172. "type": "string",
  173. "description": "验证参数Bearer和token空格拼接",
  174. "name": "Authorization",
  175. "in": "header",
  176. "required": true
  177. }
  178. ],
  179. "responses": {
  180. "200": {
  181. "description": "具体数据",
  182. "schema": {
  183. "$ref": "#/definitions/md.MyFansResp"
  184. }
  185. },
  186. "400": {
  187. "description": "具体错误",
  188. "schema": {
  189. "$ref": "#/definitions/md.Response"
  190. }
  191. }
  192. }
  193. }
  194. },
  195. "/api/v1/addFriend/myFansUserList": {
  196. "get": {
  197. "description": "在线好友列表(获取)",
  198. "consumes": [
  199. "application/json"
  200. ],
  201. "produces": [
  202. "application/json"
  203. ],
  204. "tags": [
  205. "添加好友"
  206. ],
  207. "summary": "蛋蛋星球-添加好友-粉丝团队-我的粉丝-在线好友列表(获取)",
  208. "parameters": [
  209. {
  210. "type": "string",
  211. "description": "验证参数Bearer和token空格拼接",
  212. "name": "Authorization",
  213. "in": "header",
  214. "required": true
  215. },
  216. {
  217. "type": "integer",
  218. "description": "每页大小",
  219. "name": "limit",
  220. "in": "query",
  221. "required": true
  222. },
  223. {
  224. "type": "integer",
  225. "description": "页数",
  226. "name": "page",
  227. "in": "query",
  228. "required": true
  229. }
  230. ],
  231. "responses": {
  232. "200": {
  233. "description": "具体数据",
  234. "schema": {
  235. "$ref": "#/definitions/md.MyFansUserListResp"
  236. }
  237. },
  238. "400": {
  239. "description": "具体错误",
  240. "schema": {
  241. "$ref": "#/definitions/md.Response"
  242. }
  243. }
  244. }
  245. }
  246. },
  247. "/api/v1/addFriend/nineDimensionalSpace": {
  248. "get": {
  249. "description": "九维空间(获取)",
  250. "consumes": [
  251. "application/json"
  252. ],
  253. "produces": [
  254. "application/json"
  255. ],
  256. "tags": [
  257. "添加好友"
  258. ],
  259. "summary": "蛋蛋星球-添加好友-粉丝团队-九维空间(获取)",
  260. "parameters": [
  261. {
  262. "type": "string",
  263. "description": "验证参数Bearer和token空格拼接",
  264. "name": "Authorization",
  265. "in": "header",
  266. "required": true
  267. }
  268. ],
  269. "responses": {
  270. "200": {
  271. "description": "具体数据",
  272. "schema": {
  273. "$ref": "#/definitions/md.NineDimensionalSpaceResp"
  274. }
  275. },
  276. "400": {
  277. "description": "具体错误",
  278. "schema": {
  279. "$ref": "#/definitions/md.Response"
  280. }
  281. }
  282. }
  283. }
  284. },
  285. "/api/v1/addFriend/totalRate": {
  286. "get": {
  287. "description": "总速率(获取)",
  288. "consumes": [
  289. "application/json"
  290. ],
  291. "produces": [
  292. "application/json"
  293. ],
  294. "tags": [
  295. "添加好友"
  296. ],
  297. "summary": "蛋蛋星球-添加好友-总速率(获取)",
  298. "parameters": [
  299. {
  300. "type": "string",
  301. "description": "验证参数Bearer和token空格拼接",
  302. "name": "Authorization",
  303. "in": "header",
  304. "required": true
  305. }
  306. ],
  307. "responses": {
  308. "200": {
  309. "description": "具体数据",
  310. "schema": {
  311. "$ref": "#/definitions/md.TotalRateResp"
  312. }
  313. },
  314. "400": {
  315. "description": "具体错误",
  316. "schema": {
  317. "$ref": "#/definitions/md.Response"
  318. }
  319. }
  320. }
  321. }
  322. },
  323. "/api/v1/advertising": {
  324. "get": {
  325. "description": "广告位",
  326. "consumes": [
  327. "application/json"
  328. ],
  329. "produces": [
  330. "application/json"
  331. ],
  332. "tags": [
  333. "广告位"
  334. ],
  335. "summary": "广告位",
  336. "parameters": [
  337. {
  338. "type": "string",
  339. "description": "验证参数Bearer和token空格拼接",
  340. "name": "Authorization",
  341. "in": "header",
  342. "required": true
  343. }
  344. ],
  345. "responses": {
  346. "200": {
  347. "description": "具体数据",
  348. "schema": {
  349. "$ref": "#/definitions/md.AdvertisingResp"
  350. }
  351. },
  352. "400": {
  353. "description": "具体错误",
  354. "schema": {
  355. "$ref": "#/definitions/md.Response"
  356. }
  357. }
  358. }
  359. }
  360. },
  361. "/api/v1/advertising/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/faceRealName/base": {
  861. "get": {
  862. "description": "实名认证-分类",
  863. "consumes": [
  864. "application/json"
  865. ],
  866. "produces": [
  867. "application/json"
  868. ],
  869. "tags": [
  870. "实名认证"
  871. ],
  872. "summary": "实名认证-基础信息",
  873. "parameters": [
  874. {
  875. "type": "string",
  876. "description": "验证参数Bearer和token空格拼接",
  877. "name": "Authorization",
  878. "in": "header",
  879. "required": true
  880. }
  881. ],
  882. "responses": {
  883. "200": {
  884. "description": "具体数据",
  885. "schema": {
  886. "$ref": "#/definitions/md.RealNameAuthBasicData"
  887. }
  888. },
  889. "400": {
  890. "description": "具体错误",
  891. "schema": {
  892. "$ref": "#/definitions/md.Response"
  893. }
  894. }
  895. }
  896. }
  897. },
  898. "/api/v1/faceRealName/save": {
  899. "post": {
  900. "description": "实名认证-保存",
  901. "consumes": [
  902. "application/json"
  903. ],
  904. "produces": [
  905. "application/json"
  906. ],
  907. "tags": [
  908. "实名认证"
  909. ],
  910. "summary": "实名认证-保存",
  911. "parameters": [
  912. {
  913. "type": "string",
  914. "description": "验证参数Bearer和token空格拼接",
  915. "name": "Authorization",
  916. "in": "header",
  917. "required": true
  918. },
  919. {
  920. "description": "参数",
  921. "name": "req",
  922. "in": "body",
  923. "required": true,
  924. "schema": {
  925. "$ref": "#/definitions/md.RealNameAuthAddRequest"
  926. }
  927. }
  928. ],
  929. "responses": {
  930. "200": {
  931. "description": "具体数据",
  932. "schema": {
  933. "$ref": "#/definitions/md.RealNameAuthResp"
  934. }
  935. },
  936. "400": {
  937. "description": "具体错误",
  938. "schema": {
  939. "$ref": "#/definitions/md.Response"
  940. }
  941. }
  942. }
  943. }
  944. },
  945. "/api/v1/fastLogin": {
  946. "post": {
  947. "description": "一键登录",
  948. "consumes": [
  949. "application/json"
  950. ],
  951. "produces": [
  952. "application/json"
  953. ],
  954. "tags": [
  955. "登录注册"
  956. ],
  957. "summary": "一键登录",
  958. "parameters": [
  959. {
  960. "description": "注册参数",
  961. "name": "req",
  962. "in": "body",
  963. "required": true,
  964. "schema": {
  965. "$ref": "#/definitions/md.FastLoginReq"
  966. }
  967. }
  968. ],
  969. "responses": {
  970. "200": {
  971. "description": "登录成功返回",
  972. "schema": {
  973. "$ref": "#/definitions/md.LoginResponse"
  974. }
  975. },
  976. "400": {
  977. "description": "具体错误",
  978. "schema": {
  979. "$ref": "#/definitions/md.Response"
  980. }
  981. }
  982. }
  983. }
  984. },
  985. "/api/v1/findPassword": {
  986. "post": {
  987. "description": "找回密码",
  988. "consumes": [
  989. "application/json"
  990. ],
  991. "produces": [
  992. "application/json"
  993. ],
  994. "tags": [
  995. "登录注册"
  996. ],
  997. "summary": "找回密码",
  998. "parameters": [
  999. {
  1000. "description": "注册参数",
  1001. "name": "req",
  1002. "in": "body",
  1003. "required": true,
  1004. "schema": {
  1005. "$ref": "#/definitions/md.FindPasswordReq"
  1006. }
  1007. }
  1008. ],
  1009. "responses": {
  1010. "200": {
  1011. "description": "登录成功返回",
  1012. "schema": {
  1013. "type": "string"
  1014. }
  1015. },
  1016. "400": {
  1017. "description": "具体错误",
  1018. "schema": {
  1019. "$ref": "#/definitions/md.Response"
  1020. }
  1021. }
  1022. }
  1023. }
  1024. },
  1025. "/api/v1/getModuleSetting": {
  1026. "get": {
  1027. "description": "页面样式",
  1028. "consumes": [
  1029. "application/json"
  1030. ],
  1031. "produces": [
  1032. "application/json"
  1033. ],
  1034. "tags": [
  1035. "页面样式"
  1036. ],
  1037. "summary": "页面样式",
  1038. "parameters": [
  1039. {
  1040. "type": "string",
  1041. "description": "验证参数Bearer和token空格拼接",
  1042. "name": "Authorization",
  1043. "in": "header",
  1044. "required": true
  1045. },
  1046. {
  1047. "type": "string",
  1048. "description": "页面名称类型值(1:home_page 2:member_center 3:bottom_bar 4:invitation_download_landing_page 5:invitation_poster)",
  1049. "name": "mod_name_value",
  1050. "in": "query",
  1051. "required": true
  1052. }
  1053. ],
  1054. "responses": {
  1055. "200": {
  1056. "description": "具体数据",
  1057. "schema": {
  1058. "$ref": "#/definitions/md.GetModuleSettingResp"
  1059. }
  1060. },
  1061. "400": {
  1062. "description": "具体错误",
  1063. "schema": {
  1064. "$ref": "#/definitions/md.Response"
  1065. }
  1066. }
  1067. }
  1068. }
  1069. },
  1070. "/api/v1/homePage/adRule": {
  1071. "get": {
  1072. "description": "视频奖励规则(获取)",
  1073. "consumes": [
  1074. "application/json"
  1075. ],
  1076. "produces": [
  1077. "application/json"
  1078. ],
  1079. "tags": [
  1080. "主页"
  1081. ],
  1082. "summary": "蛋蛋星球-主页-视频奖励规则(获取)",
  1083. "parameters": [
  1084. {
  1085. "type": "string",
  1086. "description": "验证参数Bearer和token空格拼接",
  1087. "name": "Authorization",
  1088. "in": "header",
  1089. "required": true
  1090. }
  1091. ],
  1092. "responses": {
  1093. "200": {
  1094. "description": "具体数据",
  1095. "schema": {
  1096. "$ref": "#/definitions/md.HomePageWatchAdRuleResp"
  1097. }
  1098. },
  1099. "400": {
  1100. "description": "具体错误",
  1101. "schema": {
  1102. "$ref": "#/definitions/md.Response"
  1103. }
  1104. }
  1105. }
  1106. }
  1107. },
  1108. "/api/v1/homePage/index": {
  1109. "get": {
  1110. "description": "基础信息(获取)",
  1111. "consumes": [
  1112. "application/json"
  1113. ],
  1114. "produces": [
  1115. "application/json"
  1116. ],
  1117. "tags": [
  1118. "主页"
  1119. ],
  1120. "summary": "蛋蛋星球-主页-基础信息(获取)",
  1121. "parameters": [
  1122. {
  1123. "type": "string",
  1124. "description": "验证参数Bearer和token空格拼接",
  1125. "name": "Authorization",
  1126. "in": "header",
  1127. "required": true
  1128. }
  1129. ],
  1130. "responses": {
  1131. "200": {
  1132. "description": "具体数据",
  1133. "schema": {
  1134. "$ref": "#/definitions/md.HomePageResp"
  1135. }
  1136. },
  1137. "400": {
  1138. "description": "具体错误",
  1139. "schema": {
  1140. "$ref": "#/definitions/md.Response"
  1141. }
  1142. }
  1143. }
  1144. }
  1145. },
  1146. "/api/v1/homePage/isCanGetRedPackage": {
  1147. "get": {
  1148. "description": "是否可以领取红包(获取)",
  1149. "consumes": [
  1150. "application/json"
  1151. ],
  1152. "produces": [
  1153. "application/json"
  1154. ],
  1155. "tags": [
  1156. "主页"
  1157. ],
  1158. "summary": "蛋蛋星球-主页-是否领取红包(获取)",
  1159. "parameters": [
  1160. {
  1161. "type": "string",
  1162. "description": "验证参数Bearer和token空格拼接",
  1163. "name": "Authorization",
  1164. "in": "header",
  1165. "required": true
  1166. }
  1167. ],
  1168. "responses": {
  1169. "200": {
  1170. "description": "具体数据",
  1171. "schema": {
  1172. "$ref": "#/definitions/md.IsCanGetRedPackageResp"
  1173. }
  1174. },
  1175. "400": {
  1176. "description": "具体错误",
  1177. "schema": {
  1178. "$ref": "#/definitions/md.Response"
  1179. }
  1180. }
  1181. }
  1182. }
  1183. },
  1184. "/api/v1/homePage/isCanSignIn": {
  1185. "get": {
  1186. "description": "是否可以签到(获取)",
  1187. "consumes": [
  1188. "application/json"
  1189. ],
  1190. "produces": [
  1191. "application/json"
  1192. ],
  1193. "tags": [
  1194. "主页"
  1195. ],
  1196. "summary": "蛋蛋星球-主页-是否能签到(获取)",
  1197. "parameters": [
  1198. {
  1199. "type": "string",
  1200. "description": "验证参数Bearer和token空格拼接",
  1201. "name": "Authorization",
  1202. "in": "header",
  1203. "required": true
  1204. }
  1205. ],
  1206. "responses": {
  1207. "200": {
  1208. "description": "具体数据",
  1209. "schema": {
  1210. "$ref": "#/definitions/md.IsCanSignInResp"
  1211. }
  1212. },
  1213. "400": {
  1214. "description": "具体错误",
  1215. "schema": {
  1216. "$ref": "#/definitions/md.Response"
  1217. }
  1218. }
  1219. }
  1220. }
  1221. },
  1222. "/api/v1/homePage/realTimePrice": {
  1223. "get": {
  1224. "description": "实时数据(获取)",
  1225. "consumes": [
  1226. "application/json"
  1227. ],
  1228. "produces": [
  1229. "application/json"
  1230. ],
  1231. "tags": [
  1232. "主页"
  1233. ],
  1234. "summary": "蛋蛋星球-主页-实时数据(获取)",
  1235. "parameters": [
  1236. {
  1237. "type": "string",
  1238. "description": "验证参数Bearer和token空格拼接",
  1239. "name": "Authorization",
  1240. "in": "header",
  1241. "required": true
  1242. }
  1243. ],
  1244. "responses": {
  1245. "200": {
  1246. "description": "具体数据",
  1247. "schema": {
  1248. "$ref": "#/definitions/md.RealTimePriceResp"
  1249. }
  1250. },
  1251. "400": {
  1252. "description": "具体错误",
  1253. "schema": {
  1254. "$ref": "#/definitions/md.Response"
  1255. }
  1256. }
  1257. }
  1258. }
  1259. },
  1260. "/api/v1/im/redPackageDetail": {
  1261. "get": {
  1262. "description": "红包详情(获取)",
  1263. "consumes": [
  1264. "application/json"
  1265. ],
  1266. "produces": [
  1267. "application/json"
  1268. ],
  1269. "tags": [
  1270. "即时通讯"
  1271. ],
  1272. "summary": "蛋蛋星球-即时通讯-红包详情(获取)",
  1273. "parameters": [
  1274. {
  1275. "type": "string",
  1276. "description": "验证参数Bearer和token空格拼接",
  1277. "name": "Authorization",
  1278. "in": "header",
  1279. "required": true
  1280. },
  1281. {
  1282. "type": "string",
  1283. "description": "红包 ID",
  1284. "name": "red_package_id",
  1285. "in": "query",
  1286. "required": true
  1287. }
  1288. ],
  1289. "responses": {
  1290. "200": {
  1291. "description": "具体数据",
  1292. "schema": {
  1293. "$ref": "#/definitions/md.RedPackageDetailResp"
  1294. }
  1295. },
  1296. "400": {
  1297. "description": "具体错误",
  1298. "schema": {
  1299. "$ref": "#/definitions/md.Response"
  1300. }
  1301. }
  1302. }
  1303. }
  1304. },
  1305. "/api/v1/im/user/grabRedPackage": {
  1306. "post": {
  1307. "description": "领取红包",
  1308. "consumes": [
  1309. "application/json"
  1310. ],
  1311. "produces": [
  1312. "application/json"
  1313. ],
  1314. "tags": [
  1315. "即时通讯"
  1316. ],
  1317. "summary": "蛋蛋星球-即时通讯-领取红包",
  1318. "parameters": [
  1319. {
  1320. "type": "string",
  1321. "description": "验证参数Bearer和token空格拼接",
  1322. "name": "Authorization",
  1323. "in": "header",
  1324. "required": true
  1325. },
  1326. {
  1327. "description": "领取红包信息",
  1328. "name": "req",
  1329. "in": "body",
  1330. "required": true,
  1331. "schema": {
  1332. "$ref": "#/definitions/md.GrabRedPackageReq"
  1333. }
  1334. }
  1335. ],
  1336. "responses": {
  1337. "200": {
  1338. "description": "具体数据",
  1339. "schema": {
  1340. "$ref": "#/definitions/md.GrabRedPackageResp"
  1341. }
  1342. },
  1343. "400": {
  1344. "description": "具体错误",
  1345. "schema": {
  1346. "$ref": "#/definitions/md.Response"
  1347. }
  1348. }
  1349. }
  1350. }
  1351. },
  1352. "/api/v1/im/user/sendRedPackage": {
  1353. "post": {
  1354. "description": "发送红包",
  1355. "consumes": [
  1356. "application/json"
  1357. ],
  1358. "produces": [
  1359. "application/json"
  1360. ],
  1361. "tags": [
  1362. "即时通讯"
  1363. ],
  1364. "summary": "蛋蛋星球-即时通讯-发送红包",
  1365. "parameters": [
  1366. {
  1367. "type": "string",
  1368. "description": "验证参数Bearer和token空格拼接",
  1369. "name": "Authorization",
  1370. "in": "header",
  1371. "required": true
  1372. },
  1373. {
  1374. "description": "发送红包信息",
  1375. "name": "req",
  1376. "in": "body",
  1377. "required": true,
  1378. "schema": {
  1379. "$ref": "#/definitions/md.SendRedPackageReq"
  1380. }
  1381. }
  1382. ],
  1383. "responses": {
  1384. "200": {
  1385. "description": "具体数据",
  1386. "schema": {
  1387. "$ref": "#/definitions/md.SendRedPackageResp"
  1388. }
  1389. },
  1390. "400": {
  1391. "description": "具体错误",
  1392. "schema": {
  1393. "$ref": "#/definitions/md.Response"
  1394. }
  1395. }
  1396. }
  1397. }
  1398. },
  1399. "/api/v1/im/user/sendRedPackageDetail": {
  1400. "post": {
  1401. "description": "发送红包详情",
  1402. "consumes": [
  1403. "application/json"
  1404. ],
  1405. "produces": [
  1406. "application/json"
  1407. ],
  1408. "tags": [
  1409. "即时通讯"
  1410. ],
  1411. "summary": "蛋蛋星球-即时通讯-发送红包详情",
  1412. "parameters": [
  1413. {
  1414. "type": "string",
  1415. "description": "验证参数Bearer和token空格拼接",
  1416. "name": "Authorization",
  1417. "in": "header",
  1418. "required": true
  1419. },
  1420. {
  1421. "description": "红包的订单 ID",
  1422. "name": "req",
  1423. "in": "body",
  1424. "required": true,
  1425. "schema": {
  1426. "$ref": "#/definitions/md.SendRedPackageDetailReq"
  1427. }
  1428. }
  1429. ],
  1430. "responses": {
  1431. "200": {
  1432. "description": "具体数据",
  1433. "schema": {
  1434. "$ref": "#/definitions/md.SendRedPackageDetailResp"
  1435. }
  1436. },
  1437. "400": {
  1438. "description": "具体错误",
  1439. "schema": {
  1440. "$ref": "#/definitions/md.Response"
  1441. }
  1442. }
  1443. }
  1444. }
  1445. },
  1446. "/api/v1/inviteCode/userInfo": {
  1447. "post": {
  1448. "description": "邀请码获取用户信息",
  1449. "consumes": [
  1450. "application/json"
  1451. ],
  1452. "produces": [
  1453. "application/json"
  1454. ],
  1455. "tags": [
  1456. "登录注册"
  1457. ],
  1458. "summary": "邀请码获取用户信息",
  1459. "parameters": [
  1460. {
  1461. "description": "注册参数",
  1462. "name": "req",
  1463. "in": "body",
  1464. "required": true,
  1465. "schema": {
  1466. "$ref": "#/definitions/md.InviteCodeUserInfoReq"
  1467. }
  1468. }
  1469. ],
  1470. "responses": {
  1471. "200": {
  1472. "description": "具体数据",
  1473. "schema": {
  1474. "$ref": "#/definitions/md.InviteCodeUserInfoResp"
  1475. }
  1476. },
  1477. "400": {
  1478. "description": "具体错误",
  1479. "schema": {
  1480. "$ref": "#/definitions/md.Response"
  1481. }
  1482. }
  1483. }
  1484. }
  1485. },
  1486. "/api/v1/login": {
  1487. "post": {
  1488. "description": "登入",
  1489. "consumes": [
  1490. "application/json"
  1491. ],
  1492. "produces": [
  1493. "application/json"
  1494. ],
  1495. "tags": [
  1496. "登录注册"
  1497. ],
  1498. "summary": "登陆",
  1499. "parameters": [
  1500. {
  1501. "description": "用户名密码",
  1502. "name": "req",
  1503. "in": "body",
  1504. "required": true,
  1505. "schema": {
  1506. "$ref": "#/definitions/md.LoginReq"
  1507. }
  1508. }
  1509. ],
  1510. "responses": {
  1511. "200": {
  1512. "description": "token",
  1513. "schema": {
  1514. "$ref": "#/definitions/md.LoginResponse"
  1515. }
  1516. },
  1517. "400": {
  1518. "description": "具体错误",
  1519. "schema": {
  1520. "$ref": "#/definitions/md.Response"
  1521. }
  1522. }
  1523. }
  1524. }
  1525. },
  1526. "/api/v1/memberCenter/bindParent": {
  1527. "post": {
  1528. "description": "绑定上级",
  1529. "consumes": [
  1530. "application/json"
  1531. ],
  1532. "produces": [
  1533. "application/json"
  1534. ],
  1535. "tags": [
  1536. "登录注册"
  1537. ],
  1538. "summary": "绑定上级-要登陆的",
  1539. "parameters": [
  1540. {
  1541. "description": "注册参数",
  1542. "name": "req",
  1543. "in": "body",
  1544. "required": true,
  1545. "schema": {
  1546. "$ref": "#/definitions/md.InviteCodeUserInfoReq"
  1547. }
  1548. }
  1549. ],
  1550. "responses": {
  1551. "200": {
  1552. "description": "具体数据",
  1553. "schema": {
  1554. "type": "string"
  1555. }
  1556. },
  1557. "400": {
  1558. "description": "具体错误",
  1559. "schema": {
  1560. "$ref": "#/definitions/md.Response"
  1561. }
  1562. }
  1563. }
  1564. }
  1565. },
  1566. "/api/v1/memberCenter/getBasic": {
  1567. "get": {
  1568. "description": "基础数据(获取)",
  1569. "consumes": [
  1570. "application/json"
  1571. ],
  1572. "produces": [
  1573. "application/json"
  1574. ],
  1575. "tags": [
  1576. "会员中心"
  1577. ],
  1578. "summary": "蛋蛋星球-会员中心-基础数据(获取)",
  1579. "parameters": [
  1580. {
  1581. "type": "string",
  1582. "description": "验证参数Bearer和token空格拼接",
  1583. "name": "Authorization",
  1584. "in": "header",
  1585. "required": true
  1586. }
  1587. ],
  1588. "responses": {
  1589. "200": {
  1590. "description": "具体数据",
  1591. "schema": {
  1592. "$ref": "#/definitions/md.MemberCenterGetBasicResp"
  1593. }
  1594. },
  1595. "400": {
  1596. "description": "具体错误",
  1597. "schema": {
  1598. "$ref": "#/definitions/md.Response"
  1599. }
  1600. }
  1601. }
  1602. }
  1603. },
  1604. "/api/v1/memberCenter/inviteUrl": {
  1605. "get": {
  1606. "description": "邀请链接",
  1607. "consumes": [
  1608. "application/json"
  1609. ],
  1610. "produces": [
  1611. "application/json"
  1612. ],
  1613. "tags": [
  1614. "邀请海报"
  1615. ],
  1616. "summary": "邀请链接",
  1617. "responses": {
  1618. "200": {
  1619. "description": "登录成功返回",
  1620. "schema": {
  1621. "$ref": "#/definitions/md.InviteUrl"
  1622. }
  1623. },
  1624. "400": {
  1625. "description": "具体错误",
  1626. "schema": {
  1627. "$ref": "#/definitions/md.Response"
  1628. }
  1629. }
  1630. }
  1631. }
  1632. },
  1633. "/api/v1/memberCenter/updatePasscode": {
  1634. "post": {
  1635. "description": "修改支付宝密码",
  1636. "consumes": [
  1637. "application/json"
  1638. ],
  1639. "produces": [
  1640. "application/json"
  1641. ],
  1642. "tags": [
  1643. "账号与安全"
  1644. ],
  1645. "summary": "修改支付宝密码",
  1646. "parameters": [
  1647. {
  1648. "description": "注册参数",
  1649. "name": "req",
  1650. "in": "body",
  1651. "required": true,
  1652. "schema": {
  1653. "$ref": "#/definitions/md.UpdatePasscodeReq"
  1654. }
  1655. }
  1656. ],
  1657. "responses": {
  1658. "200": {
  1659. "description": "登录成功返回",
  1660. "schema": {
  1661. "type": "string"
  1662. }
  1663. },
  1664. "400": {
  1665. "description": "具体错误",
  1666. "schema": {
  1667. "$ref": "#/definitions/md.Response"
  1668. }
  1669. }
  1670. }
  1671. }
  1672. },
  1673. "/api/v1/memberCenter/updatePassword": {
  1674. "post": {
  1675. "description": "修改密码",
  1676. "consumes": [
  1677. "application/json"
  1678. ],
  1679. "produces": [
  1680. "application/json"
  1681. ],
  1682. "tags": [
  1683. "账号与安全"
  1684. ],
  1685. "summary": "修改密码-不要原密码 换成验证码",
  1686. "parameters": [
  1687. {
  1688. "description": "注册参数",
  1689. "name": "req",
  1690. "in": "body",
  1691. "required": true,
  1692. "schema": {
  1693. "$ref": "#/definitions/md.UpdatePasswordReq"
  1694. }
  1695. }
  1696. ],
  1697. "responses": {
  1698. "200": {
  1699. "description": "登录成功返回",
  1700. "schema": {
  1701. "type": "string"
  1702. }
  1703. },
  1704. "400": {
  1705. "description": "具体错误",
  1706. "schema": {
  1707. "$ref": "#/definitions/md.Response"
  1708. }
  1709. }
  1710. }
  1711. }
  1712. },
  1713. "/api/v1/openApp/start": {
  1714. "get": {
  1715. "description": "打开app调用",
  1716. "consumes": [
  1717. "application/json"
  1718. ],
  1719. "produces": [
  1720. "application/json"
  1721. ],
  1722. "tags": [
  1723. "基本配置"
  1724. ],
  1725. "summary": "打开app调用",
  1726. "parameters": [
  1727. {
  1728. "type": "string",
  1729. "description": "验证参数Bearer和token空格拼接",
  1730. "name": "Authorization",
  1731. "in": "header",
  1732. "required": true
  1733. }
  1734. ],
  1735. "responses": {
  1736. "200": {
  1737. "description": "具体数据",
  1738. "schema": {
  1739. "type": "string"
  1740. }
  1741. },
  1742. "400": {
  1743. "description": "具体错误",
  1744. "schema": {
  1745. "$ref": "#/definitions/md.Response"
  1746. }
  1747. }
  1748. }
  1749. }
  1750. },
  1751. "/api/v1/pointsCenter/basic": {
  1752. "get": {
  1753. "description": "上部分基础信息(获取)",
  1754. "consumes": [
  1755. "application/json"
  1756. ],
  1757. "produces": [
  1758. "application/json"
  1759. ],
  1760. "tags": [
  1761. "积分中心"
  1762. ],
  1763. "summary": "蛋蛋星球-积分中心-上部分基础信息(获取)",
  1764. "parameters": [
  1765. {
  1766. "type": "string",
  1767. "description": "验证参数Bearer和token空格拼接",
  1768. "name": "Authorization",
  1769. "in": "header",
  1770. "required": true
  1771. }
  1772. ],
  1773. "responses": {
  1774. "200": {
  1775. "description": "具体数据",
  1776. "schema": {
  1777. "$ref": "#/definitions/md.PointsCenterGetBasicResp"
  1778. }
  1779. },
  1780. "400": {
  1781. "description": "具体错误",
  1782. "schema": {
  1783. "$ref": "#/definitions/md.Response"
  1784. }
  1785. }
  1786. }
  1787. }
  1788. },
  1789. "/api/v1/pointsCenter/contributionValue": {
  1790. "get": {
  1791. "description": "贡献值(获取)",
  1792. "consumes": [
  1793. "application/json"
  1794. ],
  1795. "produces": [
  1796. "application/json"
  1797. ],
  1798. "tags": [
  1799. "积分中心"
  1800. ],
  1801. "summary": "蛋蛋星球-积分中心-贡献值(获取)",
  1802. "parameters": [
  1803. {
  1804. "type": "string",
  1805. "description": "验证参数Bearer和token空格拼接",
  1806. "name": "Authorization",
  1807. "in": "header",
  1808. "required": true
  1809. }
  1810. ],
  1811. "responses": {
  1812. "200": {
  1813. "description": "具体数据",
  1814. "schema": {
  1815. "$ref": "#/definitions/md.GetContributionValueResp"
  1816. }
  1817. },
  1818. "400": {
  1819. "description": "具体错误",
  1820. "schema": {
  1821. "$ref": "#/definitions/md.Response"
  1822. }
  1823. }
  1824. }
  1825. }
  1826. },
  1827. "/api/v1/pointsCenter/contributionValueFlow": {
  1828. "get": {
  1829. "description": "贡献值明细(获取)",
  1830. "consumes": [
  1831. "application/json"
  1832. ],
  1833. "produces": [
  1834. "application/json"
  1835. ],
  1836. "tags": [
  1837. "积分中心"
  1838. ],
  1839. "summary": "蛋蛋星球-积分中心-贡献值明细(获取)",
  1840. "parameters": [
  1841. {
  1842. "type": "string",
  1843. "description": "验证参数Bearer和token空格拼接",
  1844. "name": "Authorization",
  1845. "in": "header",
  1846. "required": true
  1847. },
  1848. {
  1849. "type": "string",
  1850. "description": "每页大小",
  1851. "name": "limit",
  1852. "in": "query",
  1853. "required": true
  1854. },
  1855. {
  1856. "type": "string",
  1857. "description": "页数",
  1858. "name": "page",
  1859. "in": "query",
  1860. "required": true
  1861. }
  1862. ],
  1863. "responses": {
  1864. "200": {
  1865. "description": "具体数据",
  1866. "schema": {
  1867. "$ref": "#/definitions/md.GetContributionValueFlowResp"
  1868. }
  1869. },
  1870. "400": {
  1871. "description": "具体错误",
  1872. "schema": {
  1873. "$ref": "#/definitions/md.Response"
  1874. }
  1875. }
  1876. }
  1877. }
  1878. },
  1879. "/api/v1/pointsCenter/dynamicData": {
  1880. "get": {
  1881. "description": "动态数据(获取)",
  1882. "consumes": [
  1883. "application/json"
  1884. ],
  1885. "produces": [
  1886. "application/json"
  1887. ],
  1888. "tags": [
  1889. "积分中心"
  1890. ],
  1891. "summary": "蛋蛋星球-积分中心-动态数据(获取)",
  1892. "parameters": [
  1893. {
  1894. "type": "string",
  1895. "description": "验证参数Bearer和token空格拼接",
  1896. "name": "Authorization",
  1897. "in": "header",
  1898. "required": true
  1899. }
  1900. ],
  1901. "responses": {
  1902. "200": {
  1903. "description": "具体数据",
  1904. "schema": {
  1905. "$ref": "#/definitions/md.DynamicDataResp"
  1906. }
  1907. },
  1908. "400": {
  1909. "description": "具体错误",
  1910. "schema": {
  1911. "$ref": "#/definitions/md.Response"
  1912. }
  1913. }
  1914. }
  1915. }
  1916. },
  1917. "/api/v1/pointsCenter/energyFlow": {
  1918. "get": {
  1919. "description": "收支明细(获取)",
  1920. "consumes": [
  1921. "application/json"
  1922. ],
  1923. "produces": [
  1924. "application/json"
  1925. ],
  1926. "tags": [
  1927. "积分中心"
  1928. ],
  1929. "summary": "蛋蛋星球-积分中心-收支明细(获取)",
  1930. "parameters": [
  1931. {
  1932. "type": "string",
  1933. "description": "验证参数Bearer和token空格拼接",
  1934. "name": "Authorization",
  1935. "in": "header",
  1936. "required": true
  1937. },
  1938. {
  1939. "type": "string",
  1940. "description": "每页大小",
  1941. "name": "limit",
  1942. "in": "query",
  1943. "required": true
  1944. },
  1945. {
  1946. "type": "string",
  1947. "description": "页数",
  1948. "name": "page",
  1949. "in": "query",
  1950. "required": true
  1951. },
  1952. {
  1953. "type": "string",
  1954. "description": "开始时间",
  1955. "name": "startAt",
  1956. "in": "query"
  1957. },
  1958. {
  1959. "type": "string",
  1960. "description": "结束时间",
  1961. "name": "endAt",
  1962. "in": "query"
  1963. },
  1964. {
  1965. "type": "string",
  1966. "description": "流水方向(1.收入 2.支出 0.全部)",
  1967. "name": "direction",
  1968. "in": "query"
  1969. }
  1970. ],
  1971. "responses": {
  1972. "200": {
  1973. "description": "具体数据",
  1974. "schema": {
  1975. "$ref": "#/definitions/md.GetEggEnergyFlowResp"
  1976. }
  1977. },
  1978. "400": {
  1979. "description": "具体错误",
  1980. "schema": {
  1981. "$ref": "#/definitions/md.Response"
  1982. }
  1983. }
  1984. }
  1985. }
  1986. },
  1987. "/api/v1/pointsCenter/exchangeEnergy": {
  1988. "post": {
  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. "description": "需要兑换的能量值",
  2010. "name": "req",
  2011. "in": "body",
  2012. "required": true,
  2013. "schema": {
  2014. "$ref": "#/definitions/md.ExchangeEnergyReq"
  2015. }
  2016. }
  2017. ],
  2018. "responses": {
  2019. "200": {
  2020. "description": "success",
  2021. "schema": {
  2022. "type": "string"
  2023. }
  2024. },
  2025. "400": {
  2026. "description": "具体错误",
  2027. "schema": {
  2028. "$ref": "#/definitions/md.Response"
  2029. }
  2030. }
  2031. }
  2032. }
  2033. },
  2034. "/api/v1/pointsCenter/initialData": {
  2035. "get": {
  2036. "description": "初始数据(获取)",
  2037. "consumes": [
  2038. "application/json"
  2039. ],
  2040. "produces": [
  2041. "application/json"
  2042. ],
  2043. "tags": [
  2044. "积分中心"
  2045. ],
  2046. "summary": "蛋蛋星球-积分中心-初始数据(获取)",
  2047. "parameters": [
  2048. {
  2049. "type": "string",
  2050. "description": "验证参数Bearer和token空格拼接",
  2051. "name": "Authorization",
  2052. "in": "header",
  2053. "required": true
  2054. }
  2055. ],
  2056. "responses": {
  2057. "200": {
  2058. "description": "具体数据",
  2059. "schema": {
  2060. "$ref": "#/definitions/md.InitialDataResp"
  2061. }
  2062. },
  2063. "400": {
  2064. "description": "具体错误",
  2065. "schema": {
  2066. "$ref": "#/definitions/md.Response"
  2067. }
  2068. }
  2069. }
  2070. }
  2071. },
  2072. "/api/v1/pointsCenter/pointsExchangeBasic": {
  2073. "get": {
  2074. "description": "积分兑换基础信息(获取)",
  2075. "consumes": [
  2076. "application/json"
  2077. ],
  2078. "produces": [
  2079. "application/json"
  2080. ],
  2081. "tags": [
  2082. "积分中心"
  2083. ],
  2084. "summary": "蛋蛋星球-积分中心-积分兑换基础信息(获取)",
  2085. "parameters": [
  2086. {
  2087. "type": "string",
  2088. "description": "验证参数Bearer和token空格拼接",
  2089. "name": "Authorization",
  2090. "in": "header",
  2091. "required": true
  2092. }
  2093. ],
  2094. "responses": {
  2095. "200": {
  2096. "description": "具体数据",
  2097. "schema": {
  2098. "$ref": "#/definitions/md.PointsExchangeGetBasicResp"
  2099. }
  2100. },
  2101. "400": {
  2102. "description": "具体错误",
  2103. "schema": {
  2104. "$ref": "#/definitions/md.Response"
  2105. }
  2106. }
  2107. }
  2108. }
  2109. },
  2110. "/api/v1/pointsCenter/priceCurve": {
  2111. "get": {
  2112. "description": "价格趋势(获取)",
  2113. "consumes": [
  2114. "application/json"
  2115. ],
  2116. "produces": [
  2117. "application/json"
  2118. ],
  2119. "tags": [
  2120. "积分中心"
  2121. ],
  2122. "summary": "蛋蛋星球-积分中心-价格趋势(获取)",
  2123. "parameters": [
  2124. {
  2125. "type": "string",
  2126. "description": "验证参数Bearer和token空格拼接",
  2127. "name": "Authorization",
  2128. "in": "header",
  2129. "required": true
  2130. },
  2131. {
  2132. "type": "string",
  2133. "description": "1:按天 2:按小时 3:按周",
  2134. "name": "kind",
  2135. "in": "query"
  2136. }
  2137. ],
  2138. "responses": {
  2139. "200": {
  2140. "description": "具体数据",
  2141. "schema": {
  2142. "$ref": "#/definitions/md.GetPriceCurveResp"
  2143. }
  2144. },
  2145. "400": {
  2146. "description": "具体错误",
  2147. "schema": {
  2148. "$ref": "#/definitions/md.Response"
  2149. }
  2150. }
  2151. }
  2152. }
  2153. },
  2154. "/api/v1/pointsCenter/record": {
  2155. "get": {
  2156. "description": "蛋蛋分明细(获取)",
  2157. "consumes": [
  2158. "application/json"
  2159. ],
  2160. "produces": [
  2161. "application/json"
  2162. ],
  2163. "tags": [
  2164. "积分中心"
  2165. ],
  2166. "summary": "蛋蛋星球-积分中心-蛋蛋分明细(获取)",
  2167. "parameters": [
  2168. {
  2169. "type": "string",
  2170. "description": "验证参数Bearer和token空格拼接",
  2171. "name": "Authorization",
  2172. "in": "header",
  2173. "required": true
  2174. },
  2175. {
  2176. "type": "string",
  2177. "description": "每页大小",
  2178. "name": "limit",
  2179. "in": "query",
  2180. "required": true
  2181. },
  2182. {
  2183. "type": "string",
  2184. "description": "页数",
  2185. "name": "page",
  2186. "in": "query",
  2187. "required": true
  2188. }
  2189. ],
  2190. "responses": {
  2191. "200": {
  2192. "description": "具体数据",
  2193. "schema": {
  2194. "$ref": "#/definitions/md.GetEggPointRecordResp"
  2195. }
  2196. },
  2197. "400": {
  2198. "description": "具体错误",
  2199. "schema": {
  2200. "$ref": "#/definitions/md.Response"
  2201. }
  2202. }
  2203. }
  2204. }
  2205. },
  2206. "/api/v1/register": {
  2207. "post": {
  2208. "description": "注册",
  2209. "consumes": [
  2210. "application/json"
  2211. ],
  2212. "produces": [
  2213. "application/json"
  2214. ],
  2215. "tags": [
  2216. "登录注册"
  2217. ],
  2218. "summary": "注册",
  2219. "parameters": [
  2220. {
  2221. "description": "注册参数",
  2222. "name": "req",
  2223. "in": "body",
  2224. "required": true,
  2225. "schema": {
  2226. "$ref": "#/definitions/md.RegisterReq"
  2227. }
  2228. }
  2229. ],
  2230. "responses": {
  2231. "200": {
  2232. "description": "登录成功返回",
  2233. "schema": {
  2234. "$ref": "#/definitions/md.LoginResponse"
  2235. }
  2236. },
  2237. "400": {
  2238. "description": "具体错误",
  2239. "schema": {
  2240. "$ref": "#/definitions/md.Response"
  2241. }
  2242. }
  2243. }
  2244. }
  2245. },
  2246. "/api/v1/smsSend": {
  2247. "post": {
  2248. "description": "发送短信",
  2249. "consumes": [
  2250. "application/json"
  2251. ],
  2252. "produces": [
  2253. "application/json"
  2254. ],
  2255. "tags": [
  2256. "登录注册"
  2257. ],
  2258. "summary": "发送短信",
  2259. "parameters": [
  2260. {
  2261. "description": "注册参数",
  2262. "name": "req",
  2263. "in": "body",
  2264. "required": true,
  2265. "schema": {
  2266. "$ref": "#/definitions/md.SmsSendReq"
  2267. }
  2268. }
  2269. ],
  2270. "responses": {
  2271. "200": {
  2272. "description": "成功返回",
  2273. "schema": {
  2274. "type": "string"
  2275. }
  2276. },
  2277. "400": {
  2278. "description": "具体错误",
  2279. "schema": {
  2280. "$ref": "#/definitions/md.Response"
  2281. }
  2282. }
  2283. }
  2284. }
  2285. },
  2286. "/api/v1/test": {
  2287. "get": {
  2288. "description": "Demo样例测试",
  2289. "consumes": [
  2290. "application/json"
  2291. ],
  2292. "produces": [
  2293. "application/json"
  2294. ],
  2295. "tags": [
  2296. "Demo"
  2297. ],
  2298. "summary": "Demo测试",
  2299. "parameters": [
  2300. {
  2301. "description": "任意参数",
  2302. "name": "req",
  2303. "in": "body",
  2304. "required": true,
  2305. "schema": {}
  2306. }
  2307. ],
  2308. "responses": {
  2309. "200": {
  2310. "description": "返回任意参数",
  2311. "schema": {
  2312. "type": "object",
  2313. "additionalProperties": true
  2314. }
  2315. },
  2316. "400": {
  2317. "description": "具体错误",
  2318. "schema": {
  2319. "$ref": "#/definitions/md.Response"
  2320. }
  2321. }
  2322. }
  2323. }
  2324. },
  2325. "/api/v1/userFeedback/cate": {
  2326. "get": {
  2327. "description": "意见反馈-分类",
  2328. "consumes": [
  2329. "application/json"
  2330. ],
  2331. "produces": [
  2332. "application/json"
  2333. ],
  2334. "tags": [
  2335. "意见反馈"
  2336. ],
  2337. "summary": "意见反馈-分类",
  2338. "parameters": [
  2339. {
  2340. "type": "string",
  2341. "description": "验证参数Bearer和token空格拼接",
  2342. "name": "Authorization",
  2343. "in": "header",
  2344. "required": true
  2345. }
  2346. ],
  2347. "responses": {
  2348. "200": {
  2349. "description": "具体数据",
  2350. "schema": {
  2351. "$ref": "#/definitions/md.AdvertisingResp"
  2352. }
  2353. },
  2354. "400": {
  2355. "description": "具体错误",
  2356. "schema": {
  2357. "$ref": "#/definitions/md.Response"
  2358. }
  2359. }
  2360. }
  2361. }
  2362. },
  2363. "/api/v1/userFeedback/list": {
  2364. "post": {
  2365. "description": "意见反馈-反馈记录",
  2366. "consumes": [
  2367. "application/json"
  2368. ],
  2369. "produces": [
  2370. "application/json"
  2371. ],
  2372. "tags": [
  2373. "意见反馈"
  2374. ],
  2375. "summary": "意见反馈-反馈记录",
  2376. "parameters": [
  2377. {
  2378. "type": "string",
  2379. "description": "验证参数Bearer和token空格拼接",
  2380. "name": "Authorization",
  2381. "in": "header",
  2382. "required": true
  2383. },
  2384. {
  2385. "description": "参数",
  2386. "name": "req",
  2387. "in": "body",
  2388. "required": true,
  2389. "schema": {
  2390. "$ref": "#/definitions/md.UserFeedbackListReq"
  2391. }
  2392. }
  2393. ],
  2394. "responses": {
  2395. "200": {
  2396. "description": "具体数据",
  2397. "schema": {
  2398. "$ref": "#/definitions/md.UserFeedbackListResp"
  2399. }
  2400. },
  2401. "400": {
  2402. "description": "具体错误",
  2403. "schema": {
  2404. "$ref": "#/definitions/md.Response"
  2405. }
  2406. }
  2407. }
  2408. }
  2409. },
  2410. "/api/v1/userFeedback/record": {
  2411. "post": {
  2412. "description": "意见反馈-反馈记录-沟通记录",
  2413. "consumes": [
  2414. "application/json"
  2415. ],
  2416. "produces": [
  2417. "application/json"
  2418. ],
  2419. "tags": [
  2420. "意见反馈"
  2421. ],
  2422. "summary": "意见反馈-反馈记录-沟通记录",
  2423. "parameters": [
  2424. {
  2425. "type": "string",
  2426. "description": "验证参数Bearer和token空格拼接",
  2427. "name": "Authorization",
  2428. "in": "header",
  2429. "required": true
  2430. },
  2431. {
  2432. "description": "参数",
  2433. "name": "req",
  2434. "in": "body",
  2435. "required": true,
  2436. "schema": {
  2437. "$ref": "#/definitions/md.UserFeedbackRecordReq"
  2438. }
  2439. }
  2440. ],
  2441. "responses": {
  2442. "200": {
  2443. "description": "具体数据",
  2444. "schema": {
  2445. "$ref": "#/definitions/md.UserFeedbackRecordResp"
  2446. }
  2447. },
  2448. "400": {
  2449. "description": "具体错误",
  2450. "schema": {
  2451. "$ref": "#/definitions/md.Response"
  2452. }
  2453. }
  2454. }
  2455. }
  2456. },
  2457. "/api/v1/userFeedback/save": {
  2458. "post": {
  2459. "description": "意见反馈-反馈记录-提交",
  2460. "consumes": [
  2461. "application/json"
  2462. ],
  2463. "produces": [
  2464. "application/json"
  2465. ],
  2466. "tags": [
  2467. "意见反馈"
  2468. ],
  2469. "summary": "意见反馈-反馈记录-提交",
  2470. "parameters": [
  2471. {
  2472. "type": "string",
  2473. "description": "验证参数Bearer和token空格拼接",
  2474. "name": "Authorization",
  2475. "in": "header",
  2476. "required": true
  2477. },
  2478. {
  2479. "description": "参数",
  2480. "name": "req",
  2481. "in": "body",
  2482. "required": true,
  2483. "schema": {
  2484. "$ref": "#/definitions/md.UserFeedbackSaveReq"
  2485. }
  2486. }
  2487. ],
  2488. "responses": {
  2489. "200": {
  2490. "description": "具体数据",
  2491. "schema": {
  2492. "type": "string"
  2493. }
  2494. },
  2495. "400": {
  2496. "description": "具体错误",
  2497. "schema": {
  2498. "$ref": "#/definitions/md.Response"
  2499. }
  2500. }
  2501. }
  2502. }
  2503. },
  2504. "/api/v1/userFeedback/say": {
  2505. "post": {
  2506. "description": "意见反馈-反馈记录-沟通发送",
  2507. "consumes": [
  2508. "application/json"
  2509. ],
  2510. "produces": [
  2511. "application/json"
  2512. ],
  2513. "tags": [
  2514. "意见反馈"
  2515. ],
  2516. "summary": "意见反馈-反馈记录-沟通发送",
  2517. "parameters": [
  2518. {
  2519. "type": "string",
  2520. "description": "验证参数Bearer和token空格拼接",
  2521. "name": "Authorization",
  2522. "in": "header",
  2523. "required": true
  2524. },
  2525. {
  2526. "description": "参数",
  2527. "name": "req",
  2528. "in": "body",
  2529. "required": true,
  2530. "schema": {
  2531. "$ref": "#/definitions/md.UserFeedbackSayReq"
  2532. }
  2533. }
  2534. ],
  2535. "responses": {
  2536. "200": {
  2537. "description": "具体数据",
  2538. "schema": {
  2539. "type": "string"
  2540. }
  2541. },
  2542. "400": {
  2543. "description": "具体错误",
  2544. "schema": {
  2545. "$ref": "#/definitions/md.Response"
  2546. }
  2547. }
  2548. }
  2549. }
  2550. },
  2551. "/api/v1/userInfo": {
  2552. "get": {
  2553. "description": "用户信息",
  2554. "consumes": [
  2555. "application/json"
  2556. ],
  2557. "produces": [
  2558. "application/json"
  2559. ],
  2560. "tags": [
  2561. "用户信息"
  2562. ],
  2563. "summary": "用户信息",
  2564. "parameters": [
  2565. {
  2566. "type": "string",
  2567. "description": "验证参数Bearer和token空格拼接",
  2568. "name": "Authorization",
  2569. "in": "header",
  2570. "required": true
  2571. }
  2572. ],
  2573. "responses": {
  2574. "200": {
  2575. "description": "具体数据",
  2576. "schema": {
  2577. "$ref": "#/definitions/md.UserInfoResp"
  2578. }
  2579. },
  2580. "400": {
  2581. "description": "具体错误",
  2582. "schema": {
  2583. "$ref": "#/definitions/md.Response"
  2584. }
  2585. }
  2586. }
  2587. }
  2588. },
  2589. "/api/v1/version": {
  2590. "get": {
  2591. "description": "版本记录",
  2592. "consumes": [
  2593. "application/json"
  2594. ],
  2595. "produces": [
  2596. "application/json"
  2597. ],
  2598. "tags": [
  2599. "基本配置"
  2600. ],
  2601. "summary": "版本记录",
  2602. "parameters": [
  2603. {
  2604. "type": "string",
  2605. "description": "验证参数Bearer和token空格拼接",
  2606. "name": "Authorization",
  2607. "in": "header",
  2608. "required": true
  2609. }
  2610. ],
  2611. "responses": {
  2612. "200": {
  2613. "description": "具体数据",
  2614. "schema": {
  2615. "$ref": "#/definitions/md.VersionResp"
  2616. }
  2617. },
  2618. "400": {
  2619. "description": "具体错误",
  2620. "schema": {
  2621. "$ref": "#/definitions/md.Response"
  2622. }
  2623. }
  2624. }
  2625. }
  2626. },
  2627. "/api/v1/wallet/amountFlow": {
  2628. "get": {
  2629. "description": "余额明细(获取)",
  2630. "consumes": [
  2631. "application/json"
  2632. ],
  2633. "produces": [
  2634. "application/json"
  2635. ],
  2636. "tags": [
  2637. "钱包"
  2638. ],
  2639. "summary": "蛋蛋星球-钱包-余额明细(获取)",
  2640. "parameters": [
  2641. {
  2642. "type": "string",
  2643. "description": "验证参数Bearer和token空格拼接",
  2644. "name": "Authorization",
  2645. "in": "header",
  2646. "required": true
  2647. },
  2648. {
  2649. "type": "string",
  2650. "description": "每页大小",
  2651. "name": "limit",
  2652. "in": "query",
  2653. "required": true
  2654. },
  2655. {
  2656. "type": "string",
  2657. "description": "页数",
  2658. "name": "page",
  2659. "in": "query",
  2660. "required": true
  2661. },
  2662. {
  2663. "type": "string",
  2664. "description": "开始时间",
  2665. "name": "startAt",
  2666. "in": "query"
  2667. },
  2668. {
  2669. "type": "string",
  2670. "description": "结束时间",
  2671. "name": "endAt",
  2672. "in": "query"
  2673. },
  2674. {
  2675. "type": "string",
  2676. "description": "流水方向(1.收入 2.支出 0.全部)",
  2677. "name": "direction",
  2678. "in": "query"
  2679. }
  2680. ],
  2681. "responses": {
  2682. "200": {
  2683. "description": "具体数据",
  2684. "schema": {
  2685. "$ref": "#/definitions/md.GetAmountFlowResp"
  2686. }
  2687. },
  2688. "400": {
  2689. "description": "具体错误",
  2690. "schema": {
  2691. "$ref": "#/definitions/md.Response"
  2692. }
  2693. }
  2694. }
  2695. }
  2696. },
  2697. "/api/v1/wallet/withdraw/apply": {
  2698. "post": {
  2699. "description": "发起提现",
  2700. "consumes": [
  2701. "application/json"
  2702. ],
  2703. "produces": [
  2704. "application/json"
  2705. ],
  2706. "tags": [
  2707. "钱包"
  2708. ],
  2709. "summary": "蛋蛋星球-钱包-发起提现",
  2710. "parameters": [
  2711. {
  2712. "type": "string",
  2713. "description": "验证参数Bearer和token空格拼接",
  2714. "name": "Authorization",
  2715. "in": "header",
  2716. "required": true
  2717. },
  2718. {
  2719. "description": "具体参数",
  2720. "name": "req",
  2721. "in": "body",
  2722. "required": true,
  2723. "schema": {
  2724. "$ref": "#/definitions/md.WithdrawApplyReq"
  2725. }
  2726. }
  2727. ],
  2728. "responses": {
  2729. "200": {
  2730. "description": "success",
  2731. "schema": {
  2732. "type": "string"
  2733. }
  2734. },
  2735. "400": {
  2736. "description": "具体错误",
  2737. "schema": {
  2738. "$ref": "#/definitions/md.Response"
  2739. }
  2740. }
  2741. }
  2742. }
  2743. },
  2744. "/api/v1/wallet/withdraw/bindAlipay": {
  2745. "post": {
  2746. "description": "绑定支付宝",
  2747. "consumes": [
  2748. "application/json"
  2749. ],
  2750. "produces": [
  2751. "application/json"
  2752. ],
  2753. "tags": [
  2754. "钱包"
  2755. ],
  2756. "summary": "蛋蛋星球-钱包-绑定支付宝",
  2757. "parameters": [
  2758. {
  2759. "type": "string",
  2760. "description": "验证参数Bearer和token空格拼接",
  2761. "name": "Authorization",
  2762. "in": "header",
  2763. "required": true
  2764. },
  2765. {
  2766. "description": "具体参数",
  2767. "name": "req",
  2768. "in": "body",
  2769. "required": true,
  2770. "schema": {
  2771. "$ref": "#/definitions/md.BindAlipayAccountReq"
  2772. }
  2773. }
  2774. ],
  2775. "responses": {
  2776. "200": {
  2777. "description": "success",
  2778. "schema": {
  2779. "type": "string"
  2780. }
  2781. },
  2782. "400": {
  2783. "description": "具体错误",
  2784. "schema": {
  2785. "$ref": "#/definitions/md.Response"
  2786. }
  2787. }
  2788. }
  2789. }
  2790. },
  2791. "/api/v1/wallet/withdraw/bindWxPay": {
  2792. "post": {
  2793. "description": "绑定微信支付",
  2794. "consumes": [
  2795. "application/json"
  2796. ],
  2797. "produces": [
  2798. "application/json"
  2799. ],
  2800. "tags": [
  2801. "钱包"
  2802. ],
  2803. "summary": "蛋蛋星球-钱包-绑定微信支付",
  2804. "parameters": [
  2805. {
  2806. "type": "string",
  2807. "description": "验证参数Bearer和token空格拼接",
  2808. "name": "Authorization",
  2809. "in": "header",
  2810. "required": true
  2811. },
  2812. {
  2813. "description": "具体参数",
  2814. "name": "req",
  2815. "in": "body",
  2816. "required": true,
  2817. "schema": {
  2818. "$ref": "#/definitions/md.BindWxPayAccountReq"
  2819. }
  2820. }
  2821. ],
  2822. "responses": {
  2823. "200": {
  2824. "description": "success",
  2825. "schema": {
  2826. "type": "string"
  2827. }
  2828. },
  2829. "400": {
  2830. "description": "具体错误",
  2831. "schema": {
  2832. "$ref": "#/definitions/md.Response"
  2833. }
  2834. }
  2835. }
  2836. }
  2837. },
  2838. "/api/v1/wallet/withdraw/condition": {
  2839. "get": {
  2840. "description": "提现条件(获取)",
  2841. "consumes": [
  2842. "application/json"
  2843. ],
  2844. "produces": [
  2845. "application/json"
  2846. ],
  2847. "tags": [
  2848. "钱包"
  2849. ],
  2850. "summary": "蛋蛋星球-钱包-提现条件(获取)",
  2851. "parameters": [
  2852. {
  2853. "type": "string",
  2854. "description": "验证参数Bearer和token空格拼接",
  2855. "name": "Authorization",
  2856. "in": "header",
  2857. "required": true
  2858. }
  2859. ],
  2860. "responses": {
  2861. "200": {
  2862. "description": "具体数据",
  2863. "schema": {
  2864. "$ref": "#/definitions/md.GetWithdrawConditionResp"
  2865. }
  2866. },
  2867. "400": {
  2868. "description": "具体错误",
  2869. "schema": {
  2870. "$ref": "#/definitions/md.Response"
  2871. }
  2872. }
  2873. }
  2874. }
  2875. },
  2876. "/api/v1/wallet/withdraw/index": {
  2877. "get": {
  2878. "description": "提现余额(获取)",
  2879. "consumes": [
  2880. "application/json"
  2881. ],
  2882. "produces": [
  2883. "application/json"
  2884. ],
  2885. "tags": [
  2886. "钱包"
  2887. ],
  2888. "summary": "蛋蛋星球-钱包-提现余额(获取)",
  2889. "parameters": [
  2890. {
  2891. "type": "string",
  2892. "description": "验证参数Bearer和token空格拼接",
  2893. "name": "Authorization",
  2894. "in": "header",
  2895. "required": true
  2896. }
  2897. ],
  2898. "responses": {
  2899. "200": {
  2900. "description": "具体数据",
  2901. "schema": {
  2902. "$ref": "#/definitions/md.WithdrawGetAmountResp"
  2903. }
  2904. },
  2905. "400": {
  2906. "description": "具体错误",
  2907. "schema": {
  2908. "$ref": "#/definitions/md.Response"
  2909. }
  2910. }
  2911. }
  2912. }
  2913. },
  2914. "/api/v1/wechatLogin": {
  2915. "post": {
  2916. "description": "微信登陆",
  2917. "consumes": [
  2918. "application/json"
  2919. ],
  2920. "produces": [
  2921. "application/json"
  2922. ],
  2923. "tags": [
  2924. "登录注册"
  2925. ],
  2926. "summary": "微信登陆",
  2927. "parameters": [
  2928. {
  2929. "description": "注册参数",
  2930. "name": "req",
  2931. "in": "body",
  2932. "required": true,
  2933. "schema": {
  2934. "$ref": "#/definitions/md.WechatLoginReq"
  2935. }
  2936. }
  2937. ],
  2938. "responses": {
  2939. "200": {
  2940. "description": "登录成功返回",
  2941. "schema": {
  2942. "$ref": "#/definitions/md.LoginResponse"
  2943. }
  2944. },
  2945. "400": {
  2946. "description": "具体错误",
  2947. "schema": {
  2948. "$ref": "#/definitions/md.Response"
  2949. }
  2950. }
  2951. }
  2952. }
  2953. }
  2954. },
  2955. "definitions": {
  2956. "applet_app_md.Paginate": {
  2957. "type": "object",
  2958. "properties": {
  2959. "limit": {
  2960. "description": "每页大小",
  2961. "type": "integer"
  2962. },
  2963. "page": {
  2964. "description": "页数",
  2965. "type": "integer"
  2966. },
  2967. "total": {
  2968. "description": "总数据量",
  2969. "type": "integer"
  2970. }
  2971. }
  2972. },
  2973. "comm.AccessRecordsReq": {
  2974. "type": "object",
  2975. "properties": {
  2976. "index": {
  2977. "description": "页面标签",
  2978. "type": "string"
  2979. }
  2980. }
  2981. },
  2982. "comm.ImgReqUploadReq": {
  2983. "type": "object",
  2984. "required": [
  2985. "content_type",
  2986. "file_name"
  2987. ],
  2988. "properties": {
  2989. "content_type": {
  2990. "type": "string",
  2991. "example": "image/jpeg"
  2992. },
  2993. "file_name": {
  2994. "type": "string",
  2995. "example": "文件名"
  2996. }
  2997. }
  2998. },
  2999. "md.AdvertisingBasic": {
  3000. "type": "object",
  3001. "properties": {
  3002. "android_ad_is_open": {
  3003. "type": "string",
  3004. "example": "安卓广告是否开启(1:开启 0:不开启)"
  3005. },
  3006. "android_open_ad_is_open": {
  3007. "type": "string",
  3008. "example": "安卓开屏广告是否开启(1:开启 0:不开启)"
  3009. },
  3010. "info": {
  3011. "type": "object",
  3012. "additionalProperties": true
  3013. },
  3014. "ios_ad_is_open": {
  3015. "type": "string",
  3016. "example": "ios广告是否开启(1:开启 0:不开启)"
  3017. },
  3018. "ios_open_ad_is_open": {
  3019. "type": "string",
  3020. "example": "ios开屏广告是否开启(1:开启 0:不开启)"
  3021. },
  3022. "voice": {
  3023. "type": "string",
  3024. "example": "领取声音"
  3025. }
  3026. }
  3027. },
  3028. "md.AdvertisingCheck": {
  3029. "type": "object",
  3030. "properties": {
  3031. "is_can_visit": {
  3032. "type": "string"
  3033. }
  3034. }
  3035. },
  3036. "md.AdvertisingFunction": {
  3037. "type": "object",
  3038. "properties": {
  3039. "ad_id": {
  3040. "type": "string",
  3041. "example": "广告id"
  3042. },
  3043. "name": {
  3044. "type": "string",
  3045. "example": "名称"
  3046. },
  3047. "type": {
  3048. "type": "string",
  3049. "example": "位置"
  3050. }
  3051. }
  3052. },
  3053. "md.AdvertisingLimit": {
  3054. "type": "object",
  3055. "properties": {
  3056. "public_img": {
  3057. "type": "string",
  3058. "example": "公共弹窗图"
  3059. },
  3060. "public_str": {
  3061. "type": "string",
  3062. "example": "公共弹窗文字"
  3063. },
  3064. "withdraw_img": {
  3065. "type": "string",
  3066. "example": "提现弹窗图"
  3067. },
  3068. "withdraw_str": {
  3069. "type": "string",
  3070. "example": "提现弹窗文字"
  3071. }
  3072. }
  3073. },
  3074. "md.AdvertisingReq": {
  3075. "type": "object",
  3076. "properties": {
  3077. "id": {
  3078. "type": "string"
  3079. }
  3080. }
  3081. },
  3082. "md.AdvertisingResp": {
  3083. "type": "object",
  3084. "properties": {
  3085. "basic": {
  3086. "$ref": "#/definitions/md.AdvertisingBasic"
  3087. },
  3088. "function": {
  3089. "type": "array",
  3090. "items": {
  3091. "$ref": "#/definitions/md.AdvertisingFunction"
  3092. }
  3093. },
  3094. "pop": {
  3095. "$ref": "#/definitions/md.AdvertisingLimit"
  3096. },
  3097. "space": {
  3098. "type": "array",
  3099. "items": {
  3100. "$ref": "#/definitions/md.AdvertisingSpace"
  3101. }
  3102. }
  3103. }
  3104. },
  3105. "md.AdvertisingSpace": {
  3106. "type": "object",
  3107. "properties": {
  3108. "counting_down": {
  3109. "type": "string",
  3110. "example": "倒计时 x秒"
  3111. },
  3112. "id": {
  3113. "type": "string",
  3114. "example": "id"
  3115. },
  3116. "info": {
  3117. "type": "object",
  3118. "additionalProperties": true
  3119. },
  3120. "kind": {
  3121. "type": "string",
  3122. "example": "广告类型(1:开屏广告 2:插屏广告 3:激励视频 4:信息流广告)"
  3123. },
  3124. "name": {
  3125. "type": "string",
  3126. "example": "名称"
  3127. }
  3128. }
  3129. },
  3130. "md.AdvertisingState": {
  3131. "type": "object",
  3132. "properties": {
  3133. "is_success": {
  3134. "type": "string"
  3135. }
  3136. }
  3137. },
  3138. "md.BasalRateResp": {
  3139. "type": "object",
  3140. "properties": {
  3141. "basal_rate": {
  3142. "description": "基础速率",
  3143. "type": "string"
  3144. },
  3145. "consumed_egg_energy": {
  3146. "description": "收益蛋蛋能量",
  3147. "type": "string"
  3148. },
  3149. "consumed_egg_point": {
  3150. "description": "消耗蛋蛋积分",
  3151. "type": "string"
  3152. },
  3153. "consumed_time": {
  3154. "description": "消耗时间/小时",
  3155. "type": "string"
  3156. },
  3157. "estimated_revenue": {
  3158. "description": "预估收益蛋蛋能量",
  3159. "type": "string"
  3160. },
  3161. "remaining_egg_energy": {
  3162. "description": "剩余蛋蛋能量",
  3163. "type": "string"
  3164. },
  3165. "remaining_time": {
  3166. "description": "剩余时间/小时",
  3167. "type": "string"
  3168. },
  3169. "sign_countdown": {
  3170. "description": "收益倒计时",
  3171. "type": "string"
  3172. }
  3173. }
  3174. },
  3175. "md.BindAlipayAccountReq": {
  3176. "type": "object",
  3177. "properties": {
  3178. "app_id": {
  3179. "description": "支付宝商户应用appid",
  3180. "type": "string"
  3181. },
  3182. "ext": {
  3183. "description": "拓展字段",
  3184. "type": "string"
  3185. },
  3186. "open_id": {
  3187. "description": "支付宝用户open_id",
  3188. "type": "string"
  3189. },
  3190. "user_id": {
  3191. "description": "支付宝用户id",
  3192. "type": "string"
  3193. }
  3194. }
  3195. },
  3196. "md.BindWxPayAccountReq": {
  3197. "type": "object",
  3198. "properties": {
  3199. "app_id": {
  3200. "description": "微信应用 appid",
  3201. "type": "string"
  3202. },
  3203. "ext": {
  3204. "description": "拓展字段",
  3205. "type": "string"
  3206. },
  3207. "open_id": {
  3208. "description": "微信用户 open_id",
  3209. "type": "string"
  3210. },
  3211. "user_id": {
  3212. "description": "微信用户 id",
  3213. "type": "string"
  3214. }
  3215. }
  3216. },
  3217. "md.CollegeDetailReq": {
  3218. "type": "object",
  3219. "properties": {
  3220. "id": {
  3221. "type": "string"
  3222. }
  3223. }
  3224. },
  3225. "md.CollegeDetailResp": {
  3226. "type": "object",
  3227. "properties": {
  3228. "app_name": {
  3229. "type": "string"
  3230. },
  3231. "content": {
  3232. "type": "string"
  3233. },
  3234. "create_at": {
  3235. "type": "string"
  3236. },
  3237. "forward_count": {
  3238. "type": "string",
  3239. "example": "分享数量"
  3240. },
  3241. "id": {
  3242. "type": "string"
  3243. },
  3244. "is_like": {
  3245. "type": "string",
  3246. "example": "是否点赞 0否 1是"
  3247. },
  3248. "like_count": {
  3249. "type": "string",
  3250. "example": "点赞数量"
  3251. },
  3252. "title": {
  3253. "type": "string"
  3254. },
  3255. "url": {
  3256. "type": "string"
  3257. },
  3258. "watch_count": {
  3259. "type": "string",
  3260. "example": "学习数量"
  3261. }
  3262. }
  3263. },
  3264. "md.CollegeListReq": {
  3265. "type": "object",
  3266. "properties": {
  3267. "cate_id": {
  3268. "type": "string"
  3269. },
  3270. "limit": {
  3271. "type": "string"
  3272. },
  3273. "page": {
  3274. "type": "string"
  3275. }
  3276. }
  3277. },
  3278. "md.CollegeListResp": {
  3279. "type": "object",
  3280. "properties": {
  3281. "cover": {
  3282. "type": "string",
  3283. "example": "封面图"
  3284. },
  3285. "create_at": {
  3286. "type": "string"
  3287. },
  3288. "forward_count": {
  3289. "type": "string",
  3290. "example": "分享数量"
  3291. },
  3292. "id": {
  3293. "type": "string"
  3294. },
  3295. "like_count": {
  3296. "type": "string",
  3297. "example": "点赞数量"
  3298. },
  3299. "title": {
  3300. "type": "string"
  3301. },
  3302. "url": {
  3303. "type": "string"
  3304. },
  3305. "watch_count": {
  3306. "type": "string",
  3307. "example": "学习数量"
  3308. }
  3309. }
  3310. },
  3311. "md.ConfigResp": {
  3312. "type": "object",
  3313. "properties": {
  3314. "content": {
  3315. "type": "string",
  3316. "example": "软件使用协议内容"
  3317. },
  3318. "down_url": {
  3319. "type": "string"
  3320. },
  3321. "guide": {
  3322. "type": "array",
  3323. "items": {
  3324. "$ref": "#/definitions/md.Guide"
  3325. }
  3326. },
  3327. "oss_url": {
  3328. "type": "string",
  3329. "example": "阿里云图片链接"
  3330. },
  3331. "privacy_title": {
  3332. "type": "string",
  3333. "example": "隐私协议标题"
  3334. },
  3335. "privacy_url": {
  3336. "type": "string",
  3337. "example": "隐私协议链接"
  3338. },
  3339. "title": {
  3340. "type": "string",
  3341. "example": "软件使用协议标题"
  3342. },
  3343. "user_title": {
  3344. "type": "string",
  3345. "example": "用户协议标题"
  3346. },
  3347. "user_url": {
  3348. "type": "string",
  3349. "example": "用户协议链接"
  3350. }
  3351. }
  3352. },
  3353. "md.ContributionValueFlowNode": {
  3354. "type": "object",
  3355. "properties": {
  3356. "amount": {
  3357. "description": "变更数量",
  3358. "type": "string"
  3359. },
  3360. "create_at": {
  3361. "description": "完成时间",
  3362. "type": "string"
  3363. },
  3364. "direction": {
  3365. "description": "方向: 1.收入 2.支出",
  3366. "type": "string"
  3367. },
  3368. "title": {
  3369. "description": "标题",
  3370. "type": "string"
  3371. }
  3372. }
  3373. },
  3374. "md.DynamicDataResp": {
  3375. "type": "object",
  3376. "properties": {
  3377. "development_committee": {
  3378. "description": "发展委员会",
  3379. "type": "string"
  3380. },
  3381. "public_welfare_and_charity": {
  3382. "description": "公益基金",
  3383. "type": "string"
  3384. },
  3385. "star_level_dividends": {
  3386. "description": "星级分红",
  3387. "type": "string"
  3388. },
  3389. "user_total_hold": {
  3390. "description": "用户持有总量",
  3391. "type": "string"
  3392. }
  3393. }
  3394. },
  3395. "md.EggEnergyDetailReq": {
  3396. "type": "object",
  3397. "properties": {
  3398. "asc": {
  3399. "description": "1.升序 2.倒序",
  3400. "type": "string"
  3401. },
  3402. "direction": {
  3403. "description": "类型 1.收入 2.支出 全部则传空",
  3404. "type": "string"
  3405. },
  3406. "kind": {
  3407. "description": "类型:1. 个人蛋蛋能量 2.团队蛋蛋能量",
  3408. "type": "string"
  3409. },
  3410. "limit": {
  3411. "description": "每页大小",
  3412. "type": "integer"
  3413. },
  3414. "page": {
  3415. "description": "页数",
  3416. "type": "integer"
  3417. },
  3418. "type": {
  3419. "description": "变动类型 全部则传空",
  3420. "type": "string"
  3421. }
  3422. }
  3423. },
  3424. "md.EggEnergyDetailResp": {
  3425. "type": "object",
  3426. "properties": {
  3427. "list": {
  3428. "description": "流水数据",
  3429. "type": "array",
  3430. "items": {
  3431. "type": "object",
  3432. "additionalProperties": {
  3433. "type": "string"
  3434. }
  3435. }
  3436. },
  3437. "paginate": {
  3438. "description": "分页信息",
  3439. "allOf": [
  3440. {
  3441. "$ref": "#/definitions/applet_app_md.Paginate"
  3442. }
  3443. ]
  3444. },
  3445. "person_egg_energy": {
  3446. "description": "个人蛋蛋能量",
  3447. "type": "string"
  3448. },
  3449. "team_egg_energy": {
  3450. "description": "团队蛋蛋能量",
  3451. "type": "string"
  3452. },
  3453. "total_egg_energy": {
  3454. "description": "总蛋蛋能量",
  3455. "type": "string"
  3456. },
  3457. "total_egg_energy_price": {
  3458. "description": "蛋蛋能量总价",
  3459. "type": "string"
  3460. },
  3461. "transfer_type_list": {
  3462. "description": "转账类型列表",
  3463. "allOf": [
  3464. {
  3465. "$ref": "#/definitions/md.TransferTypeList"
  3466. }
  3467. ]
  3468. }
  3469. }
  3470. },
  3471. "md.EggEnergyFlowNode": {
  3472. "type": "object",
  3473. "properties": {
  3474. "after_amount": {
  3475. "description": "变更后数量",
  3476. "type": "string"
  3477. },
  3478. "amount": {
  3479. "description": "变更数量",
  3480. "type": "string"
  3481. },
  3482. "before_amount": {
  3483. "description": "变更前数量",
  3484. "type": "string"
  3485. },
  3486. "coin_name": {
  3487. "description": "虚拟币名称",
  3488. "type": "string"
  3489. },
  3490. "create_at": {
  3491. "description": "创建时间",
  3492. "type": "string"
  3493. },
  3494. "direction": {
  3495. "description": "方向:1.收入 2.支出",
  3496. "type": "integer"
  3497. },
  3498. "id": {
  3499. "type": "integer"
  3500. },
  3501. "sys_fee": {
  3502. "description": "手续费",
  3503. "type": "string"
  3504. },
  3505. "title": {
  3506. "description": "标题",
  3507. "type": "string"
  3508. },
  3509. "transfer_type": {
  3510. "description": "转账类型",
  3511. "type": "string"
  3512. }
  3513. }
  3514. },
  3515. "md.EggPointDetailsReq": {
  3516. "type": "object",
  3517. "properties": {
  3518. "asc": {
  3519. "description": "1.升序 2.倒序",
  3520. "type": "string"
  3521. },
  3522. "direction": {
  3523. "description": "类型 1.收入 2.支出 全部则传空",
  3524. "type": "string"
  3525. },
  3526. "kind": {
  3527. "description": "类型:1. 个人蛋蛋积分 2.团队蛋蛋积分",
  3528. "type": "string"
  3529. },
  3530. "limit": {
  3531. "description": "每页大小",
  3532. "type": "integer"
  3533. },
  3534. "page": {
  3535. "description": "页数",
  3536. "type": "integer"
  3537. },
  3538. "type": {
  3539. "description": "变动类型 全部则传空",
  3540. "type": "string"
  3541. }
  3542. }
  3543. },
  3544. "md.EggPointDetailsResp": {
  3545. "type": "object",
  3546. "properties": {
  3547. "list": {
  3548. "description": "流水数据",
  3549. "type": "array",
  3550. "items": {
  3551. "type": "object",
  3552. "additionalProperties": {
  3553. "type": "string"
  3554. }
  3555. }
  3556. },
  3557. "paginate": {
  3558. "description": "分页信息",
  3559. "allOf": [
  3560. {
  3561. "$ref": "#/definitions/applet_app_md.Paginate"
  3562. }
  3563. ]
  3564. },
  3565. "person_egg_points": {
  3566. "description": "个人蛋蛋积分",
  3567. "type": "string"
  3568. },
  3569. "team_egg_points": {
  3570. "description": "团队蛋蛋积分",
  3571. "type": "string"
  3572. },
  3573. "total_egg_points": {
  3574. "description": "总蛋蛋积分",
  3575. "type": "string"
  3576. },
  3577. "total_egg_points_amount": {
  3578. "description": "蛋蛋积分余额",
  3579. "type": "string"
  3580. },
  3581. "transfer_type_list": {
  3582. "description": "转账类型列表",
  3583. "allOf": [
  3584. {
  3585. "$ref": "#/definitions/md.TransferTypeList"
  3586. }
  3587. ]
  3588. }
  3589. }
  3590. },
  3591. "md.EggPointRecordNode": {
  3592. "type": "object",
  3593. "properties": {
  3594. "end_at": {
  3595. "description": "结束时间",
  3596. "type": "string"
  3597. },
  3598. "score": {
  3599. "description": "分数",
  3600. "type": "string"
  3601. },
  3602. "start_at": {
  3603. "description": "开始时间",
  3604. "type": "string"
  3605. },
  3606. "week": {
  3607. "description": "周数",
  3608. "type": "string"
  3609. },
  3610. "year": {
  3611. "description": "年份",
  3612. "type": "string"
  3613. }
  3614. }
  3615. },
  3616. "md.ExchangeEnergyReq": {
  3617. "type": "object",
  3618. "properties": {
  3619. "energy_amount": {
  3620. "description": "兑换能量数值",
  3621. "type": "string"
  3622. }
  3623. }
  3624. },
  3625. "md.FastLoginReq": {
  3626. "type": "object",
  3627. "properties": {
  3628. "invite_code": {
  3629. "type": "string",
  3630. "example": "邀请码"
  3631. },
  3632. "token": {
  3633. "type": "string",
  3634. "example": "一键登录的token"
  3635. }
  3636. }
  3637. },
  3638. "md.FindPasswordReq": {
  3639. "type": "object",
  3640. "required": [
  3641. "mobile"
  3642. ],
  3643. "properties": {
  3644. "code": {
  3645. "type": "string",
  3646. "example": "验证码"
  3647. },
  3648. "mobile": {
  3649. "type": "string"
  3650. },
  3651. "password": {
  3652. "type": "string",
  3653. "example": "密码 如 123"
  3654. }
  3655. }
  3656. },
  3657. "md.GetAmountFlowResp": {
  3658. "type": "object",
  3659. "properties": {
  3660. "list": {
  3661. "type": "array",
  3662. "items": {
  3663. "$ref": "#/definitions/md.WalletFlowNode"
  3664. }
  3665. },
  3666. "paginate": {
  3667. "$ref": "#/definitions/applet_app_md.Paginate"
  3668. }
  3669. }
  3670. },
  3671. "md.GetContributionValueFlowResp": {
  3672. "type": "object",
  3673. "properties": {
  3674. "list": {
  3675. "type": "array",
  3676. "items": {
  3677. "$ref": "#/definitions/md.ContributionValueFlowNode"
  3678. }
  3679. },
  3680. "paginate": {
  3681. "$ref": "#/definitions/applet_app_md.Paginate"
  3682. }
  3683. }
  3684. },
  3685. "md.GetContributionValueResp": {
  3686. "type": "object",
  3687. "properties": {
  3688. "contribution_value": {
  3689. "description": "贡献值",
  3690. "type": "string"
  3691. },
  3692. "ratio": {
  3693. "description": "兑换比率(x 分兑换 1 人民币)",
  3694. "type": "string"
  3695. }
  3696. }
  3697. },
  3698. "md.GetEggEnergyFlowResp": {
  3699. "type": "object",
  3700. "properties": {
  3701. "list": {
  3702. "type": "array",
  3703. "items": {
  3704. "$ref": "#/definitions/md.EggEnergyFlowNode"
  3705. }
  3706. },
  3707. "paginate": {
  3708. "$ref": "#/definitions/applet_app_md.Paginate"
  3709. }
  3710. }
  3711. },
  3712. "md.GetEggPointRecordResp": {
  3713. "type": "object",
  3714. "properties": {
  3715. "list": {
  3716. "description": "分数明细列表",
  3717. "type": "array",
  3718. "items": {
  3719. "$ref": "#/definitions/md.EggPointRecordNode"
  3720. }
  3721. },
  3722. "now_score": {
  3723. "description": "当前分数",
  3724. "type": "string"
  3725. },
  3726. "paginate": {
  3727. "$ref": "#/definitions/applet_app_md.Paginate"
  3728. }
  3729. }
  3730. },
  3731. "md.GetModuleSettingResp": {
  3732. "type": "object",
  3733. "properties": {
  3734. "data": {
  3735. "description": "内容",
  3736. "type": "object",
  3737. "additionalProperties": true
  3738. },
  3739. "mod_name": {
  3740. "description": "模块名称",
  3741. "type": "string"
  3742. },
  3743. "position": {
  3744. "description": "位置",
  3745. "type": "string"
  3746. },
  3747. "skip_identifier": {
  3748. "description": "跳转标识",
  3749. "type": "string"
  3750. },
  3751. "subtitle": {
  3752. "description": "副标题",
  3753. "type": "string"
  3754. },
  3755. "title": {
  3756. "description": "标题",
  3757. "type": "string"
  3758. }
  3759. }
  3760. },
  3761. "md.GetPriceCurveResp": {
  3762. "type": "object",
  3763. "properties": {
  3764. "x_data": {
  3765. "type": "array",
  3766. "items": {}
  3767. },
  3768. "y_data": {
  3769. "type": "array",
  3770. "items": {}
  3771. }
  3772. }
  3773. },
  3774. "md.GetWithdrawConditionResp": {
  3775. "type": "object",
  3776. "properties": {
  3777. "is_bind_alipay": {
  3778. "description": "是否绑定阿里账户",
  3779. "type": "boolean"
  3780. },
  3781. "is_bind_wx": {
  3782. "description": "是否绑定微信账户",
  3783. "type": "boolean"
  3784. },
  3785. "is_can_withdraw": {
  3786. "description": "是否能提现",
  3787. "type": "boolean"
  3788. },
  3789. "is_need_real_name": {
  3790. "description": "是否需要实名",
  3791. "type": "boolean"
  3792. },
  3793. "is_real_name": {
  3794. "description": "是否实名",
  3795. "type": "boolean"
  3796. },
  3797. "not_withdraw_reason": {
  3798. "description": "不能提现原因",
  3799. "type": "string"
  3800. }
  3801. }
  3802. },
  3803. "md.GrabRedPackageReq": {
  3804. "type": "object",
  3805. "properties": {
  3806. "device_id": {
  3807. "description": "设备id",
  3808. "type": "string"
  3809. },
  3810. "receiver_id": {
  3811. "description": "用户id或者群组id",
  3812. "type": "integer"
  3813. },
  3814. "receiver_type": {
  3815. "description": "接收者类型,1:user;2:group",
  3816. "type": "integer"
  3817. },
  3818. "red_package_cover": {
  3819. "description": "红包封面",
  3820. "type": "string"
  3821. },
  3822. "red_package_id": {
  3823. "description": "红包id",
  3824. "type": "integer"
  3825. },
  3826. "send_red_package_user_nike_name": {
  3827. "description": "红包发送者-im用户昵称",
  3828. "type": "string"
  3829. },
  3830. "send_red_packet_avatar_url": {
  3831. "description": "红包发送者-im用户头像",
  3832. "type": "string"
  3833. },
  3834. "send_time": {
  3835. "description": "消息发送时间戳,精确到毫秒",
  3836. "type": "integer"
  3837. },
  3838. "token": {
  3839. "description": "im-token",
  3840. "type": "string"
  3841. },
  3842. "user_id": {
  3843. "description": "im用户id",
  3844. "type": "string"
  3845. }
  3846. }
  3847. },
  3848. "md.GrabRedPackageResp": {
  3849. "type": "object",
  3850. "properties": {
  3851. "grab_amount": {
  3852. "description": "抢到的红包金额",
  3853. "type": "string"
  3854. },
  3855. "im": {
  3856. "description": "im 返回体",
  3857. "allOf": [
  3858. {
  3859. "$ref": "#/definitions/pb.SendRedPacketResp"
  3860. }
  3861. ]
  3862. }
  3863. }
  3864. },
  3865. "md.Guide": {
  3866. "type": "object",
  3867. "properties": {
  3868. "bg_image": {
  3869. "type": "string"
  3870. },
  3871. "bg_image_url": {
  3872. "type": "string"
  3873. },
  3874. "content_image": {
  3875. "type": "string"
  3876. },
  3877. "content_image_url": {
  3878. "type": "string"
  3879. }
  3880. }
  3881. },
  3882. "md.HomePageResp": {
  3883. "type": "object",
  3884. "properties": {
  3885. "initial_price": {
  3886. "description": "蛋蛋能量初始价格",
  3887. "type": "string"
  3888. },
  3889. "is_sign": {
  3890. "description": "是否开始签到",
  3891. "type": "boolean"
  3892. },
  3893. "nick_name": {
  3894. "description": "用户名称",
  3895. "type": "string"
  3896. },
  3897. "now_basal_rate": {
  3898. "description": "当前基础速率/小时",
  3899. "type": "string"
  3900. },
  3901. "now_team_rate": {
  3902. "description": "当前团队速率/小时",
  3903. "type": "string"
  3904. },
  3905. "sign_end_time": {
  3906. "description": "签到截止时间",
  3907. "type": "string"
  3908. },
  3909. "total_active_points": {
  3910. "description": "总蛋蛋积分",
  3911. "type": "string"
  3912. },
  3913. "total_egg_energy": {
  3914. "description": "总蛋蛋能量",
  3915. "type": "string"
  3916. }
  3917. }
  3918. },
  3919. "md.HomePageWatchAdRuleResp": {
  3920. "type": "object",
  3921. "properties": {
  3922. "each_round_hour": {
  3923. "description": "每一轮X个小时",
  3924. "type": "string"
  3925. },
  3926. "next_watch_ad_date": {
  3927. "description": "下次可观看广告时间,若为空允许观看视频",
  3928. "type": "string"
  3929. },
  3930. "residue_watch_ad_num": {
  3931. "description": "当前剩余可观看视频数",
  3932. "type": "integer"
  3933. },
  3934. "watch_ad_reward_active_points": {
  3935. "description": "观看广告视频奖励X个活跃积分",
  3936. "type": "string"
  3937. }
  3938. }
  3939. },
  3940. "md.InitialDataResp": {
  3941. "type": "object",
  3942. "properties": {
  3943. "initial_price": {
  3944. "description": "初始价格",
  3945. "type": "string"
  3946. },
  3947. "total_angel_investor": {
  3948. "description": "天使投资人",
  3949. "type": "string"
  3950. },
  3951. "total_ecological_development": {
  3952. "description": "生态建设",
  3953. "type": "string"
  3954. },
  3955. "total_issuance_amount": {
  3956. "description": "总发行量",
  3957. "type": "string"
  3958. },
  3959. "total_operate_fund": {
  3960. "description": "运营资金",
  3961. "type": "string"
  3962. },
  3963. "total_technology_team": {
  3964. "description": "技术团队",
  3965. "type": "string"
  3966. }
  3967. }
  3968. },
  3969. "md.IntegralList": {
  3970. "type": "object",
  3971. "properties": {
  3972. "expend_list": {
  3973. "description": "支出类型列表",
  3974. "type": "array",
  3975. "items": {
  3976. "$ref": "#/definitions/md.TransferTypeNode"
  3977. }
  3978. },
  3979. "income_list": {
  3980. "description": "收入类型列表",
  3981. "type": "array",
  3982. "items": {
  3983. "$ref": "#/definitions/md.TransferTypeNode"
  3984. }
  3985. }
  3986. }
  3987. },
  3988. "md.InviteCodeUserInfoReq": {
  3989. "type": "object",
  3990. "properties": {
  3991. "invite_code": {
  3992. "type": "string"
  3993. }
  3994. }
  3995. },
  3996. "md.InviteCodeUserInfoResp": {
  3997. "type": "object",
  3998. "properties": {
  3999. "head_img": {
  4000. "type": "string"
  4001. },
  4002. "nickname": {
  4003. "type": "string"
  4004. }
  4005. }
  4006. },
  4007. "md.InviteUrl": {
  4008. "type": "object",
  4009. "properties": {
  4010. "invite_code": {
  4011. "type": "string"
  4012. },
  4013. "link": {
  4014. "type": "string"
  4015. },
  4016. "qrcode": {
  4017. "type": "string"
  4018. }
  4019. }
  4020. },
  4021. "md.IsCanGetRedPackageResp": {
  4022. "type": "object",
  4023. "properties": {
  4024. "is_can_get_red_package": {
  4025. "description": "能否获取红包",
  4026. "type": "boolean"
  4027. }
  4028. }
  4029. },
  4030. "md.IsCanSignInResp": {
  4031. "type": "object",
  4032. "properties": {
  4033. "is_can_sign_in": {
  4034. "description": "能否签到",
  4035. "type": "boolean"
  4036. }
  4037. }
  4038. },
  4039. "md.LoginReq": {
  4040. "type": "object",
  4041. "required": [
  4042. "password",
  4043. "phone"
  4044. ],
  4045. "properties": {
  4046. "code": {
  4047. "type": "string",
  4048. "example": "验证码"
  4049. },
  4050. "password": {
  4051. "type": "string",
  4052. "example": "登录密码"
  4053. },
  4054. "phone": {
  4055. "type": "string",
  4056. "example": "手机号"
  4057. }
  4058. }
  4059. },
  4060. "md.LoginResponse": {
  4061. "type": "object",
  4062. "properties": {
  4063. "token": {
  4064. "type": "string"
  4065. }
  4066. }
  4067. },
  4068. "md.MemberCenterGetBasicResp": {
  4069. "type": "object",
  4070. "properties": {
  4071. "active_num": {
  4072. "description": "活跃值",
  4073. "type": "string"
  4074. },
  4075. "amount": {
  4076. "description": "账户余额",
  4077. "type": "string"
  4078. },
  4079. "contribution_value": {
  4080. "description": "贡献值",
  4081. "type": "string"
  4082. },
  4083. "date": {
  4084. "description": "兑换时间(每月x日)",
  4085. "type": "string"
  4086. },
  4087. "egg_energy": {
  4088. "description": "能量值",
  4089. "type": "string"
  4090. },
  4091. "egg_energy_value": {
  4092. "description": "能量预估价值",
  4093. "type": "string"
  4094. },
  4095. "egg_score": {
  4096. "description": "蛋蛋分",
  4097. "type": "string"
  4098. },
  4099. "head_img": {
  4100. "type": "string"
  4101. },
  4102. "id": {
  4103. "type": "string"
  4104. },
  4105. "invite_code": {
  4106. "type": "string"
  4107. },
  4108. "is_bind_extend": {
  4109. "type": "string",
  4110. "example": "是否绑定了上级 0否 1是"
  4111. },
  4112. "is_real_name": {
  4113. "type": "string",
  4114. "example": "是否实名认证 0否 1是"
  4115. },
  4116. "level_name": {
  4117. "description": "会员等级名称",
  4118. "type": "string"
  4119. },
  4120. "nickname": {
  4121. "description": "会员名称",
  4122. "type": "string"
  4123. },
  4124. "phone": {
  4125. "type": "string"
  4126. },
  4127. "ratio": {
  4128. "description": "兑换比例(x:y)",
  4129. "type": "string"
  4130. }
  4131. }
  4132. },
  4133. "md.MyFansResp": {
  4134. "type": "object",
  4135. "properties": {
  4136. "now_team_assistance_num": {
  4137. "description": "团队助力人数",
  4138. "type": "integer"
  4139. },
  4140. "now_team_assistance_reward": {
  4141. "description": "团队助力收益",
  4142. "type": "string"
  4143. },
  4144. "now_team_user": {
  4145. "description": "团队人数",
  4146. "type": "integer"
  4147. }
  4148. }
  4149. },
  4150. "md.MyFansUserListResp": {
  4151. "type": "object",
  4152. "properties": {
  4153. "list": {
  4154. "type": "array",
  4155. "items": {
  4156. "$ref": "#/definitions/md.OneLineUserNode"
  4157. }
  4158. }
  4159. }
  4160. },
  4161. "md.NineDimensionalSpaceResp": {
  4162. "type": "object",
  4163. "properties": {
  4164. "a_lot_of_nums": {
  4165. "description": "全网至多用户数",
  4166. "type": "integer"
  4167. },
  4168. "day_num": {
  4169. "description": "连续x天不活跃",
  4170. "type": "integer"
  4171. },
  4172. "rows": {
  4173. "description": "行数",
  4174. "type": "string"
  4175. },
  4176. "space_list": {
  4177. "description": "数据列表",
  4178. "type": "array",
  4179. "items": {
  4180. "$ref": "#/definitions/md.SpaceListNode"
  4181. }
  4182. },
  4183. "space_nums": {
  4184. "description": "空间人数",
  4185. "type": "integer"
  4186. },
  4187. "space_total_nums": {
  4188. "description": "空间总数",
  4189. "type": "integer"
  4190. },
  4191. "times": {
  4192. "description": "排数",
  4193. "type": "string"
  4194. }
  4195. }
  4196. },
  4197. "md.OneLineUserNode": {
  4198. "type": "object",
  4199. "properties": {
  4200. "avatar_url": {
  4201. "type": "string"
  4202. },
  4203. "invite_time": {
  4204. "type": "string"
  4205. },
  4206. "is_online": {
  4207. "type": "boolean"
  4208. },
  4209. "nickname": {
  4210. "type": "string"
  4211. }
  4212. }
  4213. },
  4214. "md.PointsCenterGetBasicResp": {
  4215. "type": "object",
  4216. "properties": {
  4217. "egg_point": {
  4218. "description": "能量积分",
  4219. "type": "string"
  4220. },
  4221. "egg_point_amount": {
  4222. "description": "能量积分价值",
  4223. "type": "string"
  4224. },
  4225. "energy": {
  4226. "description": "蛋蛋能量值",
  4227. "type": "string"
  4228. },
  4229. "energy_amount": {
  4230. "description": "能量价值",
  4231. "type": "string"
  4232. },
  4233. "wallet_amount": {
  4234. "description": "账户余额",
  4235. "type": "string"
  4236. }
  4237. }
  4238. },
  4239. "md.PointsExchangeGetBasicResp": {
  4240. "type": "object",
  4241. "properties": {
  4242. "available_cash": {
  4243. "description": "可用现金",
  4244. "type": "string"
  4245. },
  4246. "available_energy": {
  4247. "description": "可用能量",
  4248. "type": "string"
  4249. }
  4250. }
  4251. },
  4252. "md.RealNameAuthAddRequest": {
  4253. "type": "object",
  4254. "properties": {
  4255. "card_no": {
  4256. "type": "string"
  4257. },
  4258. "real_name": {
  4259. "type": "string"
  4260. }
  4261. }
  4262. },
  4263. "md.RealNameAuthBasicData": {
  4264. "type": "object",
  4265. "properties": {
  4266. "auth_state": {
  4267. "type": "string",
  4268. "example": "0未申请 1申请通过 3申请失败"
  4269. },
  4270. "is_need_get_energy": {
  4271. "type": "string",
  4272. "example": "0不需要获取能量 1弹窗提示 前往蛋蛋乐园获取能量"
  4273. }
  4274. }
  4275. },
  4276. "md.RealNameAuthResp": {
  4277. "type": "object",
  4278. "properties": {
  4279. "oid": {
  4280. "type": "string"
  4281. },
  4282. "url": {
  4283. "type": "string"
  4284. }
  4285. }
  4286. },
  4287. "md.RealTimePriceResp": {
  4288. "type": "object",
  4289. "properties": {
  4290. "is_rises": {
  4291. "description": "是否涨/跌价",
  4292. "type": "boolean"
  4293. },
  4294. "now_price": {
  4295. "description": "当前价格",
  4296. "type": "string"
  4297. },
  4298. "rises": {
  4299. "description": "涨价幅度(百分比)",
  4300. "type": "string"
  4301. },
  4302. "user_count": {
  4303. "description": "用户数",
  4304. "type": "integer"
  4305. }
  4306. }
  4307. },
  4308. "md.RedPackageDetailResp": {
  4309. "type": "object",
  4310. "properties": {
  4311. "detail": {
  4312. "description": "红包详情信息",
  4313. "allOf": [
  4314. {
  4315. "$ref": "#/definitions/model.ImSendRedPackageOrd"
  4316. }
  4317. ]
  4318. },
  4319. "list": {
  4320. "description": "领取红包用户列表",
  4321. "type": "array",
  4322. "items": {
  4323. "$ref": "#/definitions/md.RedPackageDetailUserNode"
  4324. }
  4325. }
  4326. }
  4327. },
  4328. "md.RedPackageDetailUserNode": {
  4329. "type": "object",
  4330. "properties": {
  4331. "amount": {
  4332. "description": "金额",
  4333. "type": "string"
  4334. },
  4335. "im_user_id": {
  4336. "description": "im用户id",
  4337. "type": "string"
  4338. },
  4339. "received_at": {
  4340. "description": "领取时间",
  4341. "type": "string"
  4342. },
  4343. "user_avatar_url": {
  4344. "description": "im用户昵称",
  4345. "type": "string"
  4346. },
  4347. "user_nick_name": {
  4348. "description": "im用户昵称",
  4349. "type": "string"
  4350. }
  4351. }
  4352. },
  4353. "md.RegisterReq": {
  4354. "type": "object",
  4355. "required": [
  4356. "mobile"
  4357. ],
  4358. "properties": {
  4359. "avatar": {
  4360. "type": "string",
  4361. "example": "头像"
  4362. },
  4363. "code": {
  4364. "type": "string",
  4365. "example": "验证码"
  4366. },
  4367. "invite_code": {
  4368. "type": "string",
  4369. "example": "邀请码"
  4370. },
  4371. "mobile": {
  4372. "type": "string"
  4373. },
  4374. "nickname": {
  4375. "type": "string",
  4376. "example": "昵称"
  4377. },
  4378. "open_id": {
  4379. "type": "string",
  4380. "example": "微信openId"
  4381. },
  4382. "password": {
  4383. "type": "string",
  4384. "example": "密码 如 123"
  4385. },
  4386. "sex": {
  4387. "description": "性别(0:未知 1:男 2:女)",
  4388. "type": "integer"
  4389. },
  4390. "type": {
  4391. "type": "string",
  4392. "example": "app:APP注册、h5:H5注册"
  4393. },
  4394. "union_id": {
  4395. "type": "string",
  4396. "example": "微信UnionId"
  4397. }
  4398. }
  4399. },
  4400. "md.Response": {
  4401. "type": "object",
  4402. "properties": {
  4403. "code": {
  4404. "type": "string",
  4405. "example": "响应码"
  4406. },
  4407. "data": {
  4408. "description": "内容"
  4409. },
  4410. "msg": {
  4411. "type": "string",
  4412. "example": "具体错误原因"
  4413. }
  4414. }
  4415. },
  4416. "md.SendRedPackageDetailReq": {
  4417. "type": "object",
  4418. "properties": {
  4419. "order_id": {
  4420. "description": "红包的订单 ID",
  4421. "type": "string"
  4422. }
  4423. }
  4424. },
  4425. "md.SendRedPackageDetailResp": {
  4426. "type": "object",
  4427. "properties": {
  4428. "im": {
  4429. "$ref": "#/definitions/md.SeqType"
  4430. },
  4431. "red_package_id": {
  4432. "description": "红包 ID",
  4433. "type": "integer"
  4434. }
  4435. }
  4436. },
  4437. "md.SendRedPackageReq": {
  4438. "type": "object",
  4439. "properties": {
  4440. "amount": {
  4441. "description": "红包金额",
  4442. "type": "string"
  4443. },
  4444. "device_id": {
  4445. "description": "设备id",
  4446. "type": "string"
  4447. },
  4448. "receiver_id": {
  4449. "description": "用户id或者群组id",
  4450. "type": "integer"
  4451. },
  4452. "receiver_type": {
  4453. "description": "接收者类型,1:user;2:group",
  4454. "type": "integer"
  4455. },
  4456. "red_package_cover": {
  4457. "description": "红包封面",
  4458. "type": "string"
  4459. },
  4460. "red_packet_content": {
  4461. "description": "红包文字内容",
  4462. "type": "string"
  4463. },
  4464. "red_packet_nums": {
  4465. "description": "红包数量",
  4466. "type": "integer"
  4467. },
  4468. "red_packet_small_content": {
  4469. "description": "红包文字内容",
  4470. "type": "string"
  4471. },
  4472. "red_packet_type": {
  4473. "description": "红包类型(0:未知 1:好友红包 2:群组普通红包 3:群组手气红包 4:群组专属红包 5:系统红包)",
  4474. "type": "integer"
  4475. },
  4476. "send_time": {
  4477. "description": "消息发送时间戳,精确到毫秒",
  4478. "type": "integer"
  4479. },
  4480. "to_user_ids": {
  4481. "description": "红包给到哪些im用户id(专属红包)",
  4482. "type": "array",
  4483. "items": {
  4484. "type": "integer"
  4485. }
  4486. },
  4487. "token": {
  4488. "description": "im-token",
  4489. "type": "string"
  4490. },
  4491. "user_id": {
  4492. "description": "im用户id",
  4493. "type": "string"
  4494. }
  4495. }
  4496. },
  4497. "md.SendRedPackageResp": {
  4498. "type": "object",
  4499. "properties": {
  4500. "im": {
  4501. "$ref": "#/definitions/pb.SendRedPacketResp"
  4502. },
  4503. "red_package_id": {
  4504. "description": "红包ID",
  4505. "type": "integer"
  4506. }
  4507. }
  4508. },
  4509. "md.SeqType": {
  4510. "type": "object",
  4511. "properties": {
  4512. "seq": {
  4513. "description": "序列号",
  4514. "type": "integer"
  4515. }
  4516. }
  4517. },
  4518. "md.SmsSendReq": {
  4519. "type": "object",
  4520. "required": [
  4521. "mobile"
  4522. ],
  4523. "properties": {
  4524. "captcha_output": {
  4525. "type": "string",
  4526. "example": "阿里云图形验证码对应参数"
  4527. },
  4528. "gen_time": {
  4529. "type": "string",
  4530. "example": "阿里云图形验证码对应参数"
  4531. },
  4532. "lot_number": {
  4533. "type": "string",
  4534. "example": "阿里云图形验证码对应参数"
  4535. },
  4536. "mobile": {
  4537. "type": "string"
  4538. },
  4539. "pass_token": {
  4540. "type": "string",
  4541. "example": "阿里云图形验证码对应参数"
  4542. },
  4543. "type": {
  4544. "type": "string",
  4545. "example": "h5Register:h5注册页、wechatBindPhone:微信绑定手机、login:登陆、findPwd:找回密码、changePwd:修改密码、changePasscode:修改支付密码"
  4546. }
  4547. }
  4548. },
  4549. "md.SpaceListNode": {
  4550. "type": "object",
  4551. "properties": {
  4552. "max_count": {
  4553. "description": "最大容纳人数",
  4554. "type": "integer"
  4555. },
  4556. "name": {
  4557. "description": "维度",
  4558. "type": "string"
  4559. },
  4560. "now_count": {
  4561. "description": "当前人数",
  4562. "type": "integer"
  4563. }
  4564. }
  4565. },
  4566. "md.TotalRateResp": {
  4567. "type": "object",
  4568. "properties": {
  4569. "consumed_personal_egg_point": {
  4570. "description": "消耗个人蛋蛋积分",
  4571. "type": "string"
  4572. },
  4573. "consumed_team_egg_point": {
  4574. "description": "消耗团队蛋蛋积分",
  4575. "type": "string"
  4576. },
  4577. "now_basal_rate": {
  4578. "description": "当前基础速率/小时",
  4579. "type": "string"
  4580. },
  4581. "now_team_rate": {
  4582. "description": "当前团队速率/小时",
  4583. "type": "string"
  4584. },
  4585. "now_total_rate": {
  4586. "description": "总速率/小时",
  4587. "type": "string"
  4588. }
  4589. }
  4590. },
  4591. "md.TransferTypeList": {
  4592. "type": "object",
  4593. "properties": {
  4594. "TeamTransferTypeList": {
  4595. "description": "团队积分变动列表",
  4596. "allOf": [
  4597. {
  4598. "$ref": "#/definitions/md.IntegralList"
  4599. }
  4600. ]
  4601. },
  4602. "personal_transfer_type_list": {
  4603. "description": "个人积分变动列表",
  4604. "allOf": [
  4605. {
  4606. "$ref": "#/definitions/md.IntegralList"
  4607. }
  4608. ]
  4609. }
  4610. }
  4611. },
  4612. "md.TransferTypeNode": {
  4613. "type": "object",
  4614. "properties": {
  4615. "name": {
  4616. "type": "string"
  4617. },
  4618. "value": {
  4619. "type": "string"
  4620. }
  4621. }
  4622. },
  4623. "md.UpdatePasscodeReq": {
  4624. "type": "object",
  4625. "properties": {
  4626. "code": {
  4627. "type": "string",
  4628. "example": "验证码"
  4629. },
  4630. "passcode": {
  4631. "type": "string",
  4632. "example": "密码 如 123"
  4633. }
  4634. }
  4635. },
  4636. "md.UpdatePasswordReq": {
  4637. "type": "object",
  4638. "properties": {
  4639. "code": {
  4640. "type": "string",
  4641. "example": "验证码"
  4642. },
  4643. "password": {
  4644. "type": "string",
  4645. "example": "密码 如 123"
  4646. }
  4647. }
  4648. },
  4649. "md.UserFeedbackListReq": {
  4650. "type": "object",
  4651. "properties": {
  4652. "limit": {
  4653. "type": "string"
  4654. },
  4655. "page": {
  4656. "type": "string"
  4657. }
  4658. }
  4659. },
  4660. "md.UserFeedbackListResp": {
  4661. "type": "object",
  4662. "properties": {
  4663. "content": {
  4664. "type": "string"
  4665. },
  4666. "create_at": {
  4667. "type": "string"
  4668. },
  4669. "id": {
  4670. "type": "string"
  4671. },
  4672. "img": {
  4673. "type": "array",
  4674. "items": {
  4675. "type": "string"
  4676. }
  4677. },
  4678. "label": {
  4679. "type": "string"
  4680. },
  4681. "state": {
  4682. "type": "string",
  4683. "example": "0未回复 1已回复"
  4684. },
  4685. "title": {
  4686. "type": "string"
  4687. },
  4688. "type": {
  4689. "type": "string"
  4690. }
  4691. }
  4692. },
  4693. "md.UserFeedbackRecordReq": {
  4694. "type": "object",
  4695. "properties": {
  4696. "id": {
  4697. "type": "string"
  4698. },
  4699. "page": {
  4700. "type": "string"
  4701. }
  4702. }
  4703. },
  4704. "md.UserFeedbackRecordResp": {
  4705. "type": "object",
  4706. "properties": {
  4707. "content": {
  4708. "type": "string"
  4709. },
  4710. "create_at": {
  4711. "type": "string"
  4712. },
  4713. "head_img": {
  4714. "type": "string"
  4715. },
  4716. "nickname": {
  4717. "type": "string"
  4718. },
  4719. "type": {
  4720. "type": "string"
  4721. }
  4722. }
  4723. },
  4724. "md.UserFeedbackSaveReq": {
  4725. "type": "object",
  4726. "properties": {
  4727. "cid": {
  4728. "type": "string",
  4729. "example": "问题类型的id"
  4730. },
  4731. "content": {
  4732. "type": "string",
  4733. "example": "问题内容"
  4734. },
  4735. "idea": {
  4736. "type": "string",
  4737. "example": "建议内容"
  4738. },
  4739. "img": {
  4740. "type": "array",
  4741. "items": {
  4742. "type": "string"
  4743. },
  4744. "example": [
  4745. "图片"
  4746. ]
  4747. },
  4748. "phone": {
  4749. "type": "string"
  4750. },
  4751. "title": {
  4752. "type": "string"
  4753. },
  4754. "type": {
  4755. "type": "string",
  4756. "example": "问题类型的name"
  4757. }
  4758. }
  4759. },
  4760. "md.UserFeedbackSayReq": {
  4761. "type": "object",
  4762. "properties": {
  4763. "content": {
  4764. "type": "string",
  4765. "example": "问题内容"
  4766. },
  4767. "id": {
  4768. "type": "string",
  4769. "example": "id"
  4770. }
  4771. }
  4772. },
  4773. "md.UserInfoResp": {
  4774. "type": "object",
  4775. "properties": {
  4776. "head_img": {
  4777. "type": "string"
  4778. },
  4779. "id": {
  4780. "type": "string"
  4781. },
  4782. "invite_code": {
  4783. "type": "string"
  4784. },
  4785. "is_bind_extend": {
  4786. "type": "string",
  4787. "example": "是否绑定了上级 0否 1是"
  4788. },
  4789. "nickname": {
  4790. "type": "string"
  4791. },
  4792. "phone": {
  4793. "type": "string"
  4794. }
  4795. }
  4796. },
  4797. "md.Version": {
  4798. "type": "object",
  4799. "properties": {
  4800. "content": {
  4801. "type": "string"
  4802. },
  4803. "img": {
  4804. "type": "string"
  4805. },
  4806. "is_must": {
  4807. "type": "string"
  4808. },
  4809. "name": {
  4810. "type": "string"
  4811. },
  4812. "type": {
  4813. "type": "string"
  4814. },
  4815. "url": {
  4816. "type": "string"
  4817. },
  4818. "version": {
  4819. "type": "string"
  4820. }
  4821. }
  4822. },
  4823. "md.VersionResp": {
  4824. "type": "object",
  4825. "properties": {
  4826. "is_audit_version": {
  4827. "type": "string"
  4828. },
  4829. "version": {
  4830. "type": "array",
  4831. "items": {
  4832. "$ref": "#/definitions/md.Version"
  4833. }
  4834. }
  4835. }
  4836. },
  4837. "md.WalletFlowNode": {
  4838. "type": "object",
  4839. "properties": {
  4840. "after_amount": {
  4841. "description": "变动后金额",
  4842. "type": "string"
  4843. },
  4844. "amount": {
  4845. "description": "变动金额",
  4846. "type": "string"
  4847. },
  4848. "before_amount": {
  4849. "description": "变动前金额",
  4850. "type": "string"
  4851. },
  4852. "create_time": {
  4853. "description": "创建时间",
  4854. "type": "string"
  4855. },
  4856. "direction": {
  4857. "description": "方向:1.收入 2.支出",
  4858. "type": "integer"
  4859. },
  4860. "id": {
  4861. "type": "integer"
  4862. },
  4863. "kind": {
  4864. "description": "1:管理员操作增加余额 2:管理员操作扣除余额 3:蛋蛋能量兑换余额 4:余额兑换蛋蛋能量",
  4865. "type": "integer"
  4866. },
  4867. "memo": {
  4868. "description": "备注",
  4869. "type": "string"
  4870. },
  4871. "ord_id": {
  4872. "description": "对应订单编号",
  4873. "type": "string"
  4874. },
  4875. "state": {
  4876. "description": "1未到账,2已到账",
  4877. "type": "integer"
  4878. },
  4879. "sys_fee": {
  4880. "description": "手续费",
  4881. "type": "string"
  4882. },
  4883. "title": {
  4884. "description": "标题",
  4885. "type": "string"
  4886. },
  4887. "uid": {
  4888. "description": "用户 ID",
  4889. "type": "integer"
  4890. },
  4891. "update_time": {
  4892. "description": "更新时间",
  4893. "type": "string"
  4894. }
  4895. }
  4896. },
  4897. "md.WechatLoginReq": {
  4898. "type": "object",
  4899. "properties": {
  4900. "avatar": {
  4901. "type": "string",
  4902. "example": "头像"
  4903. },
  4904. "nickname": {
  4905. "type": "string",
  4906. "example": "昵称"
  4907. },
  4908. "open_id": {
  4909. "type": "string",
  4910. "example": "微信openId"
  4911. },
  4912. "union_id": {
  4913. "type": "string",
  4914. "example": "微信UnionId"
  4915. }
  4916. }
  4917. },
  4918. "md.WithdrawApplyReq": {
  4919. "type": "object",
  4920. "properties": {
  4921. "amount": {
  4922. "description": "金额",
  4923. "type": "string"
  4924. },
  4925. "kind": {
  4926. "description": "提现方式(alipay:支付宝 wx:微信)",
  4927. "type": "string"
  4928. }
  4929. }
  4930. },
  4931. "md.WithdrawGetAmountResp": {
  4932. "type": "object",
  4933. "properties": {
  4934. "amount": {
  4935. "description": "余额",
  4936. "type": "string"
  4937. }
  4938. }
  4939. },
  4940. "model.ImSendRedPackageOrd": {
  4941. "type": "object",
  4942. "properties": {
  4943. "amount": {
  4944. "type": "string"
  4945. },
  4946. "create_time": {
  4947. "type": "string"
  4948. },
  4949. "id": {
  4950. "type": "integer"
  4951. },
  4952. "im_data": {
  4953. "type": "string"
  4954. },
  4955. "im_uid": {
  4956. "type": "integer"
  4957. },
  4958. "ord_no": {
  4959. "type": "string"
  4960. },
  4961. "received_im_user_ids": {
  4962. "type": "string"
  4963. },
  4964. "received_times": {
  4965. "type": "string"
  4966. },
  4967. "received_user_amount": {
  4968. "type": "string"
  4969. },
  4970. "received_user_ids": {
  4971. "type": "string"
  4972. },
  4973. "red_packet_balance_amount": {
  4974. "type": "string"
  4975. },
  4976. "red_packet_balance_nums": {
  4977. "type": "integer"
  4978. },
  4979. "red_packet_nums": {
  4980. "type": "integer"
  4981. },
  4982. "red_packet_type": {
  4983. "type": "integer"
  4984. },
  4985. "state": {
  4986. "type": "integer"
  4987. },
  4988. "uid": {
  4989. "type": "integer"
  4990. },
  4991. "update_time": {
  4992. "type": "string"
  4993. },
  4994. "wait_draw_im_user_ids": {
  4995. "type": "string"
  4996. },
  4997. "wait_draw_user_ids": {
  4998. "type": "string"
  4999. }
  5000. }
  5001. },
  5002. "pb.SendRedPacketResp": {
  5003. "type": "object",
  5004. "properties": {
  5005. "seq": {
  5006. "description": "消息序列号",
  5007. "type": "integer"
  5008. }
  5009. }
  5010. }
  5011. }
  5012. }`
  5013. // SwaggerInfo holds exported Swagger Info so clients can modify it
  5014. var SwaggerInfo = &swag.Spec{
  5015. Version: "1.0",
  5016. Host: "ddxq.izhim.com",
  5017. BasePath: "/api/v1",
  5018. Schemes: []string{},
  5019. Title: "蛋蛋星球-APP客户端",
  5020. Description: "APP客户端-Api接口",
  5021. InfoInstanceName: "swagger",
  5022. SwaggerTemplate: docTemplate,
  5023. LeftDelim: "{{",
  5024. RightDelim: "}}",
  5025. }
  5026. func init() {
  5027. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  5028. }