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

5008 lignes
165 KiB

  1. // Code generated by swaggo/swag. DO NOT EDIT.
  2. package docs
  3. import "github.com/swaggo/swag"
  4. const docTemplate = `{
  5. "schemes": {{ marshal .Schemes }},
  6. "swagger": "2.0",
  7. "info": {
  8. "description": "{{escape .Description}}",
  9. "title": "{{.Title}}",
  10. "termsOfService": "http://swagger.io/terms/",
  11. "contact": {
  12. "name": "dengbiao",
  13. "url": "http://www.swagger.io/support",
  14. "email": "1239118001@qq.com"
  15. },
  16. "license": {
  17. "name": "Apache 2.0",
  18. "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
  19. },
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/api/v1/addFriend/basalRate": {
  26. "get": {
  27. "description": "基础速率(获取)",
  28. "consumes": [
  29. "application/json"
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "添加好友"
  36. ],
  37. "summary": "蛋蛋星球-添加好友-基础速率(获取)",
  38. "parameters": [
  39. {
  40. "type": "string",
  41. "description": "验证参数Bearer和token空格拼接",
  42. "name": "Authorization",
  43. "in": "header",
  44. "required": true
  45. }
  46. ],
  47. "responses": {
  48. "200": {
  49. "description": "具体数据",
  50. "schema": {
  51. "$ref": "#/definitions/md.BasalRateResp"
  52. }
  53. },
  54. "400": {
  55. "description": "具体错误",
  56. "schema": {
  57. "$ref": "#/definitions/md.Response"
  58. }
  59. }
  60. }
  61. }
  62. },
  63. "/api/v1/addFriend/eggEnergyDetails": {
  64. "post": {
  65. "description": "蛋蛋能量明细(获取)",
  66. "consumes": [
  67. "application/json"
  68. ],
  69. "produces": [
  70. "application/json"
  71. ],
  72. "tags": [
  73. "添加好友"
  74. ],
  75. "summary": "蛋蛋星球-添加好友-蛋蛋能量明细(获取)",
  76. "parameters": [
  77. {
  78. "type": "string",
  79. "description": "验证参数Bearer和token空格拼接",
  80. "name": "Authorization",
  81. "in": "header",
  82. "required": true
  83. },
  84. {
  85. "description": "分页类型必填",
  86. "name": "req",
  87. "in": "body",
  88. "required": true,
  89. "schema": {
  90. "$ref": "#/definitions/md.EggEnergyDetailReq"
  91. }
  92. }
  93. ],
  94. "responses": {
  95. "200": {
  96. "description": "具体数据",
  97. "schema": {
  98. "$ref": "#/definitions/md.EggEnergyDetailResp"
  99. }
  100. },
  101. "400": {
  102. "description": "具体错误",
  103. "schema": {
  104. "$ref": "#/definitions/md.Response"
  105. }
  106. }
  107. }
  108. }
  109. },
  110. "/api/v1/addFriend/eggPointDetails": {
  111. "post": {
  112. "description": "蛋蛋积分明细(获取)",
  113. "consumes": [
  114. "application/json"
  115. ],
  116. "produces": [
  117. "application/json"
  118. ],
  119. "tags": [
  120. "添加好友"
  121. ],
  122. "summary": "蛋蛋星球-添加好友-蛋蛋积分明细(获取)",
  123. "parameters": [
  124. {
  125. "type": "string",
  126. "description": "验证参数Bearer和token空格拼接",
  127. "name": "Authorization",
  128. "in": "header",
  129. "required": true
  130. },
  131. {
  132. "description": "分页类型必填",
  133. "name": "req",
  134. "in": "body",
  135. "required": true,
  136. "schema": {
  137. "$ref": "#/definitions/md.EggPointDetailsReq"
  138. }
  139. }
  140. ],
  141. "responses": {
  142. "200": {
  143. "description": "具体数据",
  144. "schema": {
  145. "$ref": "#/definitions/md.EggPointDetailsResp"
  146. }
  147. },
  148. "400": {
  149. "description": "具体错误",
  150. "schema": {
  151. "$ref": "#/definitions/md.Response"
  152. }
  153. }
  154. }
  155. }
  156. },
  157. "/api/v1/addFriend/myFans": {
  158. "get": {
  159. "description": "团队加速速率(获取)",
  160. "consumes": [
  161. "application/json"
  162. ],
  163. "produces": [
  164. "application/json"
  165. ],
  166. "tags": [
  167. "添加好友"
  168. ],
  169. "summary": "蛋蛋星球-添加好友-粉丝团队-我的粉丝-团队加速速率(获取)",
  170. "parameters": [
  171. {
  172. "type": "string",
  173. "description": "验证参数Bearer和token空格拼接",
  174. "name": "Authorization",
  175. "in": "header",
  176. "required": true
  177. }
  178. ],
  179. "responses": {
  180. "200": {
  181. "description": "具体数据",
  182. "schema": {
  183. "$ref": "#/definitions/md.MyFansResp"
  184. }
  185. },
  186. "400": {
  187. "description": "具体错误",
  188. "schema": {
  189. "$ref": "#/definitions/md.Response"
  190. }
  191. }
  192. }
  193. }
  194. },
  195. "/api/v1/addFriend/myFansUserList": {
  196. "get": {
  197. "description": "在线好友列表(获取)",
  198. "consumes": [
  199. "application/json"
  200. ],
  201. "produces": [
  202. "application/json"
  203. ],
  204. "tags": [
  205. "添加好友"
  206. ],
  207. "summary": "蛋蛋星球-添加好友-粉丝团队-我的粉丝-在线好友列表(获取)",
  208. "parameters": [
  209. {
  210. "type": "string",
  211. "description": "验证参数Bearer和token空格拼接",
  212. "name": "Authorization",
  213. "in": "header",
  214. "required": true
  215. },
  216. {
  217. "type": "integer",
  218. "description": "每页大小",
  219. "name": "limit",
  220. "in": "query",
  221. "required": true
  222. },
  223. {
  224. "type": "integer",
  225. "description": "页数",
  226. "name": "page",
  227. "in": "query",
  228. "required": true
  229. }
  230. ],
  231. "responses": {
  232. "200": {
  233. "description": "具体数据",
  234. "schema": {
  235. "$ref": "#/definitions/md.MyFansUserListResp"
  236. }
  237. },
  238. "400": {
  239. "description": "具体错误",
  240. "schema": {
  241. "$ref": "#/definitions/md.Response"
  242. }
  243. }
  244. }
  245. }
  246. },
  247. "/api/v1/addFriend/nineDimensionalSpace": {
  248. "get": {
  249. "description": "九维空间(获取)",
  250. "consumes": [
  251. "application/json"
  252. ],
  253. "produces": [
  254. "application/json"
  255. ],
  256. "tags": [
  257. "添加好友"
  258. ],
  259. "summary": "蛋蛋星球-添加好友-粉丝团队-九维空间(获取)",
  260. "parameters": [
  261. {
  262. "type": "string",
  263. "description": "验证参数Bearer和token空格拼接",
  264. "name": "Authorization",
  265. "in": "header",
  266. "required": true
  267. }
  268. ],
  269. "responses": {
  270. "200": {
  271. "description": "具体数据",
  272. "schema": {
  273. "$ref": "#/definitions/md.NineDimensionalSpaceResp"
  274. }
  275. },
  276. "400": {
  277. "description": "具体错误",
  278. "schema": {
  279. "$ref": "#/definitions/md.Response"
  280. }
  281. }
  282. }
  283. }
  284. },
  285. "/api/v1/addFriend/totalRate": {
  286. "get": {
  287. "description": "总速率(获取)",
  288. "consumes": [
  289. "application/json"
  290. ],
  291. "produces": [
  292. "application/json"
  293. ],
  294. "tags": [
  295. "添加好友"
  296. ],
  297. "summary": "蛋蛋星球-添加好友-总速率(获取)",
  298. "parameters": [
  299. {
  300. "type": "string",
  301. "description": "验证参数Bearer和token空格拼接",
  302. "name": "Authorization",
  303. "in": "header",
  304. "required": true
  305. }
  306. ],
  307. "responses": {
  308. "200": {
  309. "description": "具体数据",
  310. "schema": {
  311. "$ref": "#/definitions/md.TotalRateResp"
  312. }
  313. },
  314. "400": {
  315. "description": "具体错误",
  316. "schema": {
  317. "$ref": "#/definitions/md.Response"
  318. }
  319. }
  320. }
  321. }
  322. },
  323. "/api/v1/advertising": {
  324. "get": {
  325. "description": "广告位",
  326. "consumes": [
  327. "application/json"
  328. ],
  329. "produces": [
  330. "application/json"
  331. ],
  332. "tags": [
  333. "广告位"
  334. ],
  335. "summary": "广告位",
  336. "parameters": [
  337. {
  338. "type": "string",
  339. "description": "验证参数Bearer和token空格拼接",
  340. "name": "Authorization",
  341. "in": "header",
  342. "required": true
  343. }
  344. ],
  345. "responses": {
  346. "200": {
  347. "description": "具体数据",
  348. "schema": {
  349. "$ref": "#/definitions/md.AdvertisingResp"
  350. }
  351. },
  352. "400": {
  353. "description": "具体错误",
  354. "schema": {
  355. "$ref": "#/definitions/md.Response"
  356. }
  357. }
  358. }
  359. }
  360. },
  361. "/api/v1/advertising/check": {
  362. "post": {
  363. "description": "广告位限制",
  364. "consumes": [
  365. "application/json"
  366. ],
  367. "produces": [
  368. "application/json"
  369. ],
  370. "tags": [
  371. "广告位"
  372. ],
  373. "summary": "广告位限制",
  374. "parameters": [
  375. {
  376. "type": "string",
  377. "description": "验证参数Bearer和token空格拼接",
  378. "name": "Authorization",
  379. "in": "header",
  380. "required": true
  381. },
  382. {
  383. "description": "注册参数",
  384. "name": "req",
  385. "in": "body",
  386. "required": true,
  387. "schema": {
  388. "$ref": "#/definitions/md.AdvertisingReq"
  389. }
  390. }
  391. ],
  392. "responses": {
  393. "200": {
  394. "description": "具体数据",
  395. "schema": {
  396. "$ref": "#/definitions/md.AdvertisingCheck"
  397. }
  398. },
  399. "400": {
  400. "description": "具体错误",
  401. "schema": {
  402. "$ref": "#/definitions/md.Response"
  403. }
  404. }
  405. }
  406. }
  407. },
  408. "/api/v1/advertising/detail": {
  409. "post": {
  410. "description": "广告位详情",
  411. "consumes": [
  412. "application/json"
  413. ],
  414. "produces": [
  415. "application/json"
  416. ],
  417. "tags": [
  418. "广告位"
  419. ],
  420. "summary": "广告位详情",
  421. "parameters": [
  422. {
  423. "type": "string",
  424. "description": "验证参数Bearer和token空格拼接",
  425. "name": "Authorization",
  426. "in": "header",
  427. "required": true
  428. },
  429. {
  430. "description": "注册参数",
  431. "name": "req",
  432. "in": "body",
  433. "required": true,
  434. "schema": {
  435. "$ref": "#/definitions/md.AdvertisingReq"
  436. }
  437. }
  438. ],
  439. "responses": {
  440. "200": {
  441. "description": "具体数据",
  442. "schema": {
  443. "$ref": "#/definitions/md.AdvertisingSpace"
  444. }
  445. },
  446. "400": {
  447. "description": "具体错误",
  448. "schema": {
  449. "$ref": "#/definitions/md.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/api/v1/advertising/state": {
  456. "post": {
  457. "description": "广告状态 看完之后拿到广告唯一值",
  458. "consumes": [
  459. "application/json"
  460. ],
  461. "produces": [
  462. "application/json"
  463. ],
  464. "tags": [
  465. "广告位"
  466. ],
  467. "summary": "广告状态 看完之后拿到广告唯一值",
  468. "parameters": [
  469. {
  470. "type": "string",
  471. "description": "验证参数Bearer和token空格拼接",
  472. "name": "Authorization",
  473. "in": "header",
  474. "required": true
  475. },
  476. {
  477. "description": "注册参数",
  478. "name": "req",
  479. "in": "body",
  480. "required": true,
  481. "schema": {
  482. "$ref": "#/definitions/md.AdvertisingReq"
  483. }
  484. }
  485. ],
  486. "responses": {
  487. "200": {
  488. "description": "具体数据",
  489. "schema": {
  490. "$ref": "#/definitions/md.AdvertisingState"
  491. }
  492. },
  493. "400": {
  494. "description": "具体错误",
  495. "schema": {
  496. "$ref": "#/definitions/md.Response"
  497. }
  498. }
  499. }
  500. }
  501. },
  502. "/api/v1/college/cate": {
  503. "get": {
  504. "description": "蛋蛋学院-分类",
  505. "consumes": [
  506. "application/json"
  507. ],
  508. "produces": [
  509. "application/json"
  510. ],
  511. "tags": [
  512. "蛋蛋学院"
  513. ],
  514. "summary": "蛋蛋学院-分类",
  515. "parameters": [
  516. {
  517. "type": "string",
  518. "description": "验证参数Bearer和token空格拼接",
  519. "name": "Authorization",
  520. "in": "header",
  521. "required": true
  522. }
  523. ],
  524. "responses": {
  525. "200": {
  526. "description": "具体数据",
  527. "schema": {
  528. "$ref": "#/definitions/md.AdvertisingResp"
  529. }
  530. },
  531. "400": {
  532. "description": "具体错误",
  533. "schema": {
  534. "$ref": "#/definitions/md.Response"
  535. }
  536. }
  537. }
  538. }
  539. },
  540. "/api/v1/college/detail": {
  541. "post": {
  542. "description": "蛋蛋学院-文章详情",
  543. "consumes": [
  544. "application/json"
  545. ],
  546. "produces": [
  547. "application/json"
  548. ],
  549. "tags": [
  550. "蛋蛋学院"
  551. ],
  552. "summary": "蛋蛋学院-文章详情",
  553. "parameters": [
  554. {
  555. "type": "string",
  556. "description": "验证参数Bearer和token空格拼接",
  557. "name": "Authorization",
  558. "in": "header",
  559. "required": true
  560. },
  561. {
  562. "description": "参数",
  563. "name": "req",
  564. "in": "body",
  565. "required": true,
  566. "schema": {
  567. "$ref": "#/definitions/md.CollegeDetailReq"
  568. }
  569. }
  570. ],
  571. "responses": {
  572. "200": {
  573. "description": "具体数据",
  574. "schema": {
  575. "$ref": "#/definitions/md.CollegeDetailResp"
  576. }
  577. },
  578. "400": {
  579. "description": "具体错误",
  580. "schema": {
  581. "$ref": "#/definitions/md.Response"
  582. }
  583. }
  584. }
  585. }
  586. },
  587. "/api/v1/college/like/add": {
  588. "post": {
  589. "description": "蛋蛋学院-文章-点赞",
  590. "consumes": [
  591. "application/json"
  592. ],
  593. "produces": [
  594. "application/json"
  595. ],
  596. "tags": [
  597. "蛋蛋学院"
  598. ],
  599. "summary": "蛋蛋学院-文章-点赞",
  600. "parameters": [
  601. {
  602. "type": "string",
  603. "description": "验证参数Bearer和token空格拼接",
  604. "name": "Authorization",
  605. "in": "header",
  606. "required": true
  607. },
  608. {
  609. "description": "参数",
  610. "name": "req",
  611. "in": "body",
  612. "required": true,
  613. "schema": {
  614. "$ref": "#/definitions/md.CollegeDetailReq"
  615. }
  616. }
  617. ],
  618. "responses": {
  619. "200": {
  620. "description": "具体数据",
  621. "schema": {
  622. "type": "string"
  623. }
  624. },
  625. "400": {
  626. "description": "具体错误",
  627. "schema": {
  628. "$ref": "#/definitions/md.Response"
  629. }
  630. }
  631. }
  632. }
  633. },
  634. "/api/v1/college/like/cancel": {
  635. "post": {
  636. "description": "蛋蛋学院-文章-取消点赞",
  637. "consumes": [
  638. "application/json"
  639. ],
  640. "produces": [
  641. "application/json"
  642. ],
  643. "tags": [
  644. "蛋蛋学院"
  645. ],
  646. "summary": "蛋蛋学院-文章-取消点赞",
  647. "parameters": [
  648. {
  649. "type": "string",
  650. "description": "验证参数Bearer和token空格拼接",
  651. "name": "Authorization",
  652. "in": "header",
  653. "required": true
  654. },
  655. {
  656. "description": "参数",
  657. "name": "req",
  658. "in": "body",
  659. "required": true,
  660. "schema": {
  661. "$ref": "#/definitions/md.CollegeDetailReq"
  662. }
  663. }
  664. ],
  665. "responses": {
  666. "200": {
  667. "description": "具体数据",
  668. "schema": {
  669. "type": "string"
  670. }
  671. },
  672. "400": {
  673. "description": "具体错误",
  674. "schema": {
  675. "$ref": "#/definitions/md.Response"
  676. }
  677. }
  678. }
  679. }
  680. },
  681. "/api/v1/college/list": {
  682. "post": {
  683. "description": "蛋蛋学院-文章列表",
  684. "consumes": [
  685. "application/json"
  686. ],
  687. "produces": [
  688. "application/json"
  689. ],
  690. "tags": [
  691. "蛋蛋学院"
  692. ],
  693. "summary": "蛋蛋学院-文章列表",
  694. "parameters": [
  695. {
  696. "type": "string",
  697. "description": "验证参数Bearer和token空格拼接",
  698. "name": "Authorization",
  699. "in": "header",
  700. "required": true
  701. },
  702. {
  703. "description": "参数",
  704. "name": "req",
  705. "in": "body",
  706. "required": true,
  707. "schema": {
  708. "$ref": "#/definitions/md.CollegeListReq"
  709. }
  710. }
  711. ],
  712. "responses": {
  713. "200": {
  714. "description": "具体数据",
  715. "schema": {
  716. "$ref": "#/definitions/md.CollegeListResp"
  717. }
  718. },
  719. "400": {
  720. "description": "具体错误",
  721. "schema": {
  722. "$ref": "#/definitions/md.Response"
  723. }
  724. }
  725. }
  726. }
  727. },
  728. "/api/v1/college/share/add": {
  729. "post": {
  730. "description": "蛋蛋学院-文章-分享后调用统计数量",
  731. "consumes": [
  732. "application/json"
  733. ],
  734. "produces": [
  735. "application/json"
  736. ],
  737. "tags": [
  738. "蛋蛋学院"
  739. ],
  740. "summary": "蛋蛋学院-文章-分享后调用统计数量",
  741. "parameters": [
  742. {
  743. "type": "string",
  744. "description": "验证参数Bearer和token空格拼接",
  745. "name": "Authorization",
  746. "in": "header",
  747. "required": true
  748. },
  749. {
  750. "description": "参数",
  751. "name": "req",
  752. "in": "body",
  753. "required": true,
  754. "schema": {
  755. "$ref": "#/definitions/md.CollegeDetailReq"
  756. }
  757. }
  758. ],
  759. "responses": {
  760. "200": {
  761. "description": "具体数据",
  762. "schema": {
  763. "type": "string"
  764. }
  765. },
  766. "400": {
  767. "description": "具体错误",
  768. "schema": {
  769. "$ref": "#/definitions/md.Response"
  770. }
  771. }
  772. }
  773. }
  774. },
  775. "/api/v1/comm/getOssUrl": {
  776. "post": {
  777. "description": "上传许可链接(获取)",
  778. "consumes": [
  779. "application/json"
  780. ],
  781. "produces": [
  782. "application/json"
  783. ],
  784. "tags": [
  785. "对象存储"
  786. ],
  787. "summary": "通用请求-对象存储-上传许可链接(获取)",
  788. "parameters": [
  789. {
  790. "type": "string",
  791. "description": "验证参数Bearer和token空格拼接",
  792. "name": "Authorization",
  793. "in": "header",
  794. "required": true
  795. },
  796. {
  797. "description": "签名上传url",
  798. "name": "req",
  799. "in": "body",
  800. "required": true,
  801. "schema": {
  802. "$ref": "#/definitions/comm.ImgReqUploadReq"
  803. }
  804. }
  805. ],
  806. "responses": {
  807. "200": {
  808. "description": "许可链接",
  809. "schema": {
  810. "type": "string"
  811. }
  812. },
  813. "400": {
  814. "description": "具体错误",
  815. "schema": {
  816. "$ref": "#/definitions/md.Response"
  817. }
  818. }
  819. }
  820. }
  821. },
  822. "/api/v1/config": {
  823. "get": {
  824. "description": "基本配置",
  825. "consumes": [
  826. "application/json"
  827. ],
  828. "produces": [
  829. "application/json"
  830. ],
  831. "tags": [
  832. "基本配置"
  833. ],
  834. "summary": "基本配置",
  835. "parameters": [
  836. {
  837. "type": "string",
  838. "description": "验证参数Bearer和token空格拼接",
  839. "name": "Authorization",
  840. "in": "header",
  841. "required": true
  842. }
  843. ],
  844. "responses": {
  845. "200": {
  846. "description": "具体数据",
  847. "schema": {
  848. "$ref": "#/definitions/md.ConfigResp"
  849. }
  850. },
  851. "400": {
  852. "description": "具体错误",
  853. "schema": {
  854. "$ref": "#/definitions/md.Response"
  855. }
  856. }
  857. }
  858. }
  859. },
  860. "/api/v1/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. "type": "object"
  2307. }
  2308. }
  2309. ],
  2310. "responses": {
  2311. "200": {
  2312. "description": "返回任意参数",
  2313. "schema": {
  2314. "type": "object",
  2315. "additionalProperties": true
  2316. }
  2317. },
  2318. "400": {
  2319. "description": "具体错误",
  2320. "schema": {
  2321. "$ref": "#/definitions/md.Response"
  2322. }
  2323. }
  2324. }
  2325. }
  2326. },
  2327. "/api/v1/userFeedback/cate": {
  2328. "get": {
  2329. "description": "意见反馈-分类",
  2330. "consumes": [
  2331. "application/json"
  2332. ],
  2333. "produces": [
  2334. "application/json"
  2335. ],
  2336. "tags": [
  2337. "意见反馈"
  2338. ],
  2339. "summary": "意见反馈-分类",
  2340. "parameters": [
  2341. {
  2342. "type": "string",
  2343. "description": "验证参数Bearer和token空格拼接",
  2344. "name": "Authorization",
  2345. "in": "header",
  2346. "required": true
  2347. }
  2348. ],
  2349. "responses": {
  2350. "200": {
  2351. "description": "具体数据",
  2352. "schema": {
  2353. "$ref": "#/definitions/md.AdvertisingResp"
  2354. }
  2355. },
  2356. "400": {
  2357. "description": "具体错误",
  2358. "schema": {
  2359. "$ref": "#/definitions/md.Response"
  2360. }
  2361. }
  2362. }
  2363. }
  2364. },
  2365. "/api/v1/userFeedback/list": {
  2366. "post": {
  2367. "description": "意见反馈-反馈记录",
  2368. "consumes": [
  2369. "application/json"
  2370. ],
  2371. "produces": [
  2372. "application/json"
  2373. ],
  2374. "tags": [
  2375. "意见反馈"
  2376. ],
  2377. "summary": "意见反馈-反馈记录",
  2378. "parameters": [
  2379. {
  2380. "type": "string",
  2381. "description": "验证参数Bearer和token空格拼接",
  2382. "name": "Authorization",
  2383. "in": "header",
  2384. "required": true
  2385. },
  2386. {
  2387. "description": "参数",
  2388. "name": "req",
  2389. "in": "body",
  2390. "required": true,
  2391. "schema": {
  2392. "$ref": "#/definitions/md.UserFeedbackListReq"
  2393. }
  2394. }
  2395. ],
  2396. "responses": {
  2397. "200": {
  2398. "description": "具体数据",
  2399. "schema": {
  2400. "$ref": "#/definitions/md.UserFeedbackListResp"
  2401. }
  2402. },
  2403. "400": {
  2404. "description": "具体错误",
  2405. "schema": {
  2406. "$ref": "#/definitions/md.Response"
  2407. }
  2408. }
  2409. }
  2410. }
  2411. },
  2412. "/api/v1/userFeedback/record": {
  2413. "post": {
  2414. "description": "意见反馈-反馈记录-沟通记录",
  2415. "consumes": [
  2416. "application/json"
  2417. ],
  2418. "produces": [
  2419. "application/json"
  2420. ],
  2421. "tags": [
  2422. "意见反馈"
  2423. ],
  2424. "summary": "意见反馈-反馈记录-沟通记录",
  2425. "parameters": [
  2426. {
  2427. "type": "string",
  2428. "description": "验证参数Bearer和token空格拼接",
  2429. "name": "Authorization",
  2430. "in": "header",
  2431. "required": true
  2432. },
  2433. {
  2434. "description": "参数",
  2435. "name": "req",
  2436. "in": "body",
  2437. "required": true,
  2438. "schema": {
  2439. "$ref": "#/definitions/md.UserFeedbackRecordReq"
  2440. }
  2441. }
  2442. ],
  2443. "responses": {
  2444. "200": {
  2445. "description": "具体数据",
  2446. "schema": {
  2447. "$ref": "#/definitions/md.UserFeedbackRecordResp"
  2448. }
  2449. },
  2450. "400": {
  2451. "description": "具体错误",
  2452. "schema": {
  2453. "$ref": "#/definitions/md.Response"
  2454. }
  2455. }
  2456. }
  2457. }
  2458. },
  2459. "/api/v1/userFeedback/save": {
  2460. "post": {
  2461. "description": "意见反馈-反馈记录-提交",
  2462. "consumes": [
  2463. "application/json"
  2464. ],
  2465. "produces": [
  2466. "application/json"
  2467. ],
  2468. "tags": [
  2469. "意见反馈"
  2470. ],
  2471. "summary": "意见反馈-反馈记录-提交",
  2472. "parameters": [
  2473. {
  2474. "type": "string",
  2475. "description": "验证参数Bearer和token空格拼接",
  2476. "name": "Authorization",
  2477. "in": "header",
  2478. "required": true
  2479. },
  2480. {
  2481. "description": "参数",
  2482. "name": "req",
  2483. "in": "body",
  2484. "required": true,
  2485. "schema": {
  2486. "$ref": "#/definitions/md.UserFeedbackSaveReq"
  2487. }
  2488. }
  2489. ],
  2490. "responses": {
  2491. "200": {
  2492. "description": "具体数据",
  2493. "schema": {
  2494. "type": "string"
  2495. }
  2496. },
  2497. "400": {
  2498. "description": "具体错误",
  2499. "schema": {
  2500. "$ref": "#/definitions/md.Response"
  2501. }
  2502. }
  2503. }
  2504. }
  2505. },
  2506. "/api/v1/userFeedback/say": {
  2507. "post": {
  2508. "description": "意见反馈-反馈记录-沟通发送",
  2509. "consumes": [
  2510. "application/json"
  2511. ],
  2512. "produces": [
  2513. "application/json"
  2514. ],
  2515. "tags": [
  2516. "意见反馈"
  2517. ],
  2518. "summary": "意见反馈-反馈记录-沟通发送",
  2519. "parameters": [
  2520. {
  2521. "type": "string",
  2522. "description": "验证参数Bearer和token空格拼接",
  2523. "name": "Authorization",
  2524. "in": "header",
  2525. "required": true
  2526. },
  2527. {
  2528. "description": "参数",
  2529. "name": "req",
  2530. "in": "body",
  2531. "required": true,
  2532. "schema": {
  2533. "$ref": "#/definitions/md.UserFeedbackSayReq"
  2534. }
  2535. }
  2536. ],
  2537. "responses": {
  2538. "200": {
  2539. "description": "具体数据",
  2540. "schema": {
  2541. "type": "string"
  2542. }
  2543. },
  2544. "400": {
  2545. "description": "具体错误",
  2546. "schema": {
  2547. "$ref": "#/definitions/md.Response"
  2548. }
  2549. }
  2550. }
  2551. }
  2552. },
  2553. "/api/v1/userInfo": {
  2554. "get": {
  2555. "description": "用户信息",
  2556. "consumes": [
  2557. "application/json"
  2558. ],
  2559. "produces": [
  2560. "application/json"
  2561. ],
  2562. "tags": [
  2563. "用户信息"
  2564. ],
  2565. "summary": "用户信息",
  2566. "parameters": [
  2567. {
  2568. "type": "string",
  2569. "description": "验证参数Bearer和token空格拼接",
  2570. "name": "Authorization",
  2571. "in": "header",
  2572. "required": true
  2573. }
  2574. ],
  2575. "responses": {
  2576. "200": {
  2577. "description": "具体数据",
  2578. "schema": {
  2579. "$ref": "#/definitions/md.UserInfoResp"
  2580. }
  2581. },
  2582. "400": {
  2583. "description": "具体错误",
  2584. "schema": {
  2585. "$ref": "#/definitions/md.Response"
  2586. }
  2587. }
  2588. }
  2589. }
  2590. },
  2591. "/api/v1/version": {
  2592. "get": {
  2593. "description": "版本记录",
  2594. "consumes": [
  2595. "application/json"
  2596. ],
  2597. "produces": [
  2598. "application/json"
  2599. ],
  2600. "tags": [
  2601. "基本配置"
  2602. ],
  2603. "summary": "版本记录",
  2604. "parameters": [
  2605. {
  2606. "type": "string",
  2607. "description": "验证参数Bearer和token空格拼接",
  2608. "name": "Authorization",
  2609. "in": "header",
  2610. "required": true
  2611. }
  2612. ],
  2613. "responses": {
  2614. "200": {
  2615. "description": "具体数据",
  2616. "schema": {
  2617. "$ref": "#/definitions/md.VersionResp"
  2618. }
  2619. },
  2620. "400": {
  2621. "description": "具体错误",
  2622. "schema": {
  2623. "$ref": "#/definitions/md.Response"
  2624. }
  2625. }
  2626. }
  2627. }
  2628. },
  2629. "/api/v1/wallet/amountFlow": {
  2630. "get": {
  2631. "description": "余额明细(获取)",
  2632. "consumes": [
  2633. "application/json"
  2634. ],
  2635. "produces": [
  2636. "application/json"
  2637. ],
  2638. "tags": [
  2639. "钱包"
  2640. ],
  2641. "summary": "蛋蛋星球-钱包-余额明细(获取)",
  2642. "parameters": [
  2643. {
  2644. "type": "string",
  2645. "description": "验证参数Bearer和token空格拼接",
  2646. "name": "Authorization",
  2647. "in": "header",
  2648. "required": true
  2649. },
  2650. {
  2651. "type": "string",
  2652. "description": "每页大小",
  2653. "name": "limit",
  2654. "in": "query",
  2655. "required": true
  2656. },
  2657. {
  2658. "type": "string",
  2659. "description": "页数",
  2660. "name": "page",
  2661. "in": "query",
  2662. "required": true
  2663. },
  2664. {
  2665. "type": "string",
  2666. "description": "开始时间",
  2667. "name": "startAt",
  2668. "in": "query"
  2669. },
  2670. {
  2671. "type": "string",
  2672. "description": "结束时间",
  2673. "name": "endAt",
  2674. "in": "query"
  2675. },
  2676. {
  2677. "type": "string",
  2678. "description": "流水方向(1.收入 2.支出 0.全部)",
  2679. "name": "direction",
  2680. "in": "query"
  2681. }
  2682. ],
  2683. "responses": {
  2684. "200": {
  2685. "description": "具体数据",
  2686. "schema": {
  2687. "$ref": "#/definitions/md.GetAmountFlowResp"
  2688. }
  2689. },
  2690. "400": {
  2691. "description": "具体错误",
  2692. "schema": {
  2693. "$ref": "#/definitions/md.Response"
  2694. }
  2695. }
  2696. }
  2697. }
  2698. },
  2699. "/api/v1/wallet/withdraw/apply": {
  2700. "post": {
  2701. "description": "发起提现",
  2702. "consumes": [
  2703. "application/json"
  2704. ],
  2705. "produces": [
  2706. "application/json"
  2707. ],
  2708. "tags": [
  2709. "钱包"
  2710. ],
  2711. "summary": "蛋蛋星球-钱包-发起提现",
  2712. "parameters": [
  2713. {
  2714. "type": "string",
  2715. "description": "验证参数Bearer和token空格拼接",
  2716. "name": "Authorization",
  2717. "in": "header",
  2718. "required": true
  2719. },
  2720. {
  2721. "description": "具体参数",
  2722. "name": "req",
  2723. "in": "body",
  2724. "required": true,
  2725. "schema": {
  2726. "$ref": "#/definitions/md.WithdrawApplyReq"
  2727. }
  2728. }
  2729. ],
  2730. "responses": {
  2731. "200": {
  2732. "description": "success",
  2733. "schema": {
  2734. "type": "string"
  2735. }
  2736. },
  2737. "400": {
  2738. "description": "具体错误",
  2739. "schema": {
  2740. "$ref": "#/definitions/md.Response"
  2741. }
  2742. }
  2743. }
  2744. }
  2745. },
  2746. "/api/v1/wallet/withdraw/bindAlipay": {
  2747. "post": {
  2748. "description": "绑定支付宝",
  2749. "consumes": [
  2750. "application/json"
  2751. ],
  2752. "produces": [
  2753. "application/json"
  2754. ],
  2755. "tags": [
  2756. "钱包"
  2757. ],
  2758. "summary": "蛋蛋星球-钱包-绑定支付宝",
  2759. "parameters": [
  2760. {
  2761. "type": "string",
  2762. "description": "验证参数Bearer和token空格拼接",
  2763. "name": "Authorization",
  2764. "in": "header",
  2765. "required": true
  2766. },
  2767. {
  2768. "description": "具体参数",
  2769. "name": "req",
  2770. "in": "body",
  2771. "required": true,
  2772. "schema": {
  2773. "$ref": "#/definitions/md.BindAlipayAccountReq"
  2774. }
  2775. }
  2776. ],
  2777. "responses": {
  2778. "200": {
  2779. "description": "success",
  2780. "schema": {
  2781. "type": "string"
  2782. }
  2783. },
  2784. "400": {
  2785. "description": "具体错误",
  2786. "schema": {
  2787. "$ref": "#/definitions/md.Response"
  2788. }
  2789. }
  2790. }
  2791. }
  2792. },
  2793. "/api/v1/wallet/withdraw/bindWxPay": {
  2794. "post": {
  2795. "description": "绑定微信支付",
  2796. "consumes": [
  2797. "application/json"
  2798. ],
  2799. "produces": [
  2800. "application/json"
  2801. ],
  2802. "tags": [
  2803. "钱包"
  2804. ],
  2805. "summary": "蛋蛋星球-钱包-绑定微信支付",
  2806. "parameters": [
  2807. {
  2808. "type": "string",
  2809. "description": "验证参数Bearer和token空格拼接",
  2810. "name": "Authorization",
  2811. "in": "header",
  2812. "required": true
  2813. },
  2814. {
  2815. "description": "具体参数",
  2816. "name": "req",
  2817. "in": "body",
  2818. "required": true,
  2819. "schema": {
  2820. "$ref": "#/definitions/md.BindWxPayAccountReq"
  2821. }
  2822. }
  2823. ],
  2824. "responses": {
  2825. "200": {
  2826. "description": "success",
  2827. "schema": {
  2828. "type": "string"
  2829. }
  2830. },
  2831. "400": {
  2832. "description": "具体错误",
  2833. "schema": {
  2834. "$ref": "#/definitions/md.Response"
  2835. }
  2836. }
  2837. }
  2838. }
  2839. },
  2840. "/api/v1/wallet/withdraw/condition": {
  2841. "get": {
  2842. "description": "提现条件(获取)",
  2843. "consumes": [
  2844. "application/json"
  2845. ],
  2846. "produces": [
  2847. "application/json"
  2848. ],
  2849. "tags": [
  2850. "钱包"
  2851. ],
  2852. "summary": "蛋蛋星球-钱包-提现条件(获取)",
  2853. "parameters": [
  2854. {
  2855. "type": "string",
  2856. "description": "验证参数Bearer和token空格拼接",
  2857. "name": "Authorization",
  2858. "in": "header",
  2859. "required": true
  2860. }
  2861. ],
  2862. "responses": {
  2863. "200": {
  2864. "description": "具体数据",
  2865. "schema": {
  2866. "$ref": "#/definitions/md.GetWithdrawConditionResp"
  2867. }
  2868. },
  2869. "400": {
  2870. "description": "具体错误",
  2871. "schema": {
  2872. "$ref": "#/definitions/md.Response"
  2873. }
  2874. }
  2875. }
  2876. }
  2877. },
  2878. "/api/v1/wallet/withdraw/index": {
  2879. "get": {
  2880. "description": "提现余额(获取)",
  2881. "consumes": [
  2882. "application/json"
  2883. ],
  2884. "produces": [
  2885. "application/json"
  2886. ],
  2887. "tags": [
  2888. "钱包"
  2889. ],
  2890. "summary": "蛋蛋星球-钱包-提现余额(获取)",
  2891. "parameters": [
  2892. {
  2893. "type": "string",
  2894. "description": "验证参数Bearer和token空格拼接",
  2895. "name": "Authorization",
  2896. "in": "header",
  2897. "required": true
  2898. }
  2899. ],
  2900. "responses": {
  2901. "200": {
  2902. "description": "具体数据",
  2903. "schema": {
  2904. "$ref": "#/definitions/md.WithdrawGetAmountResp"
  2905. }
  2906. },
  2907. "400": {
  2908. "description": "具体错误",
  2909. "schema": {
  2910. "$ref": "#/definitions/md.Response"
  2911. }
  2912. }
  2913. }
  2914. }
  2915. },
  2916. "/api/v1/wechatLogin": {
  2917. "post": {
  2918. "description": "微信登陆",
  2919. "consumes": [
  2920. "application/json"
  2921. ],
  2922. "produces": [
  2923. "application/json"
  2924. ],
  2925. "tags": [
  2926. "登录注册"
  2927. ],
  2928. "summary": "微信登陆",
  2929. "parameters": [
  2930. {
  2931. "description": "注册参数",
  2932. "name": "req",
  2933. "in": "body",
  2934. "required": true,
  2935. "schema": {
  2936. "$ref": "#/definitions/md.WechatLoginReq"
  2937. }
  2938. }
  2939. ],
  2940. "responses": {
  2941. "200": {
  2942. "description": "登录成功返回",
  2943. "schema": {
  2944. "$ref": "#/definitions/md.LoginResponse"
  2945. }
  2946. },
  2947. "400": {
  2948. "description": "具体错误",
  2949. "schema": {
  2950. "$ref": "#/definitions/md.Response"
  2951. }
  2952. }
  2953. }
  2954. }
  2955. }
  2956. },
  2957. "definitions": {
  2958. "applet_app_md.Paginate": {
  2959. "type": "object",
  2960. "properties": {
  2961. "limit": {
  2962. "description": "每页大小",
  2963. "type": "integer"
  2964. },
  2965. "page": {
  2966. "description": "页数",
  2967. "type": "integer"
  2968. },
  2969. "total": {
  2970. "description": "总数据量",
  2971. "type": "integer"
  2972. }
  2973. }
  2974. },
  2975. "comm.AccessRecordsReq": {
  2976. "type": "object",
  2977. "properties": {
  2978. "index": {
  2979. "description": "页面标签",
  2980. "type": "string"
  2981. }
  2982. }
  2983. },
  2984. "comm.ImgReqUploadReq": {
  2985. "type": "object",
  2986. "required": [
  2987. "content_type",
  2988. "file_name"
  2989. ],
  2990. "properties": {
  2991. "content_type": {
  2992. "type": "string",
  2993. "example": "image/jpeg"
  2994. },
  2995. "file_name": {
  2996. "type": "string",
  2997. "example": "文件名"
  2998. }
  2999. }
  3000. },
  3001. "md.AdvertisingBasic": {
  3002. "type": "object",
  3003. "properties": {
  3004. "android_ad_is_open": {
  3005. "type": "string",
  3006. "example": "安卓广告是否开启(1:开启 0:不开启)"
  3007. },
  3008. "android_open_ad_is_open": {
  3009. "type": "string",
  3010. "example": "安卓开屏广告是否开启(1:开启 0:不开启)"
  3011. },
  3012. "info": {
  3013. "type": "object",
  3014. "additionalProperties": true
  3015. },
  3016. "ios_ad_is_open": {
  3017. "type": "string",
  3018. "example": "ios广告是否开启(1:开启 0:不开启)"
  3019. },
  3020. "ios_open_ad_is_open": {
  3021. "type": "string",
  3022. "example": "ios开屏广告是否开启(1:开启 0:不开启)"
  3023. },
  3024. "voice": {
  3025. "type": "string",
  3026. "example": "领取声音"
  3027. }
  3028. }
  3029. },
  3030. "md.AdvertisingCheck": {
  3031. "type": "object",
  3032. "properties": {
  3033. "is_can_visit": {
  3034. "type": "string"
  3035. }
  3036. }
  3037. },
  3038. "md.AdvertisingFunction": {
  3039. "type": "object",
  3040. "properties": {
  3041. "ad_id": {
  3042. "type": "string",
  3043. "example": "广告id"
  3044. },
  3045. "name": {
  3046. "type": "string",
  3047. "example": "名称"
  3048. },
  3049. "type": {
  3050. "type": "string",
  3051. "example": "位置"
  3052. }
  3053. }
  3054. },
  3055. "md.AdvertisingLimit": {
  3056. "type": "object",
  3057. "properties": {
  3058. "public_img": {
  3059. "type": "string",
  3060. "example": "公共弹窗图"
  3061. },
  3062. "public_str": {
  3063. "type": "string",
  3064. "example": "公共弹窗文字"
  3065. },
  3066. "withdraw_img": {
  3067. "type": "string",
  3068. "example": "提现弹窗图"
  3069. },
  3070. "withdraw_str": {
  3071. "type": "string",
  3072. "example": "提现弹窗文字"
  3073. }
  3074. }
  3075. },
  3076. "md.AdvertisingReq": {
  3077. "type": "object",
  3078. "properties": {
  3079. "id": {
  3080. "type": "string"
  3081. }
  3082. }
  3083. },
  3084. "md.AdvertisingResp": {
  3085. "type": "object",
  3086. "properties": {
  3087. "basic": {
  3088. "$ref": "#/definitions/md.AdvertisingBasic"
  3089. },
  3090. "function": {
  3091. "type": "array",
  3092. "items": {
  3093. "$ref": "#/definitions/md.AdvertisingFunction"
  3094. }
  3095. },
  3096. "pop": {
  3097. "$ref": "#/definitions/md.AdvertisingLimit"
  3098. },
  3099. "space": {
  3100. "type": "array",
  3101. "items": {
  3102. "$ref": "#/definitions/md.AdvertisingSpace"
  3103. }
  3104. }
  3105. }
  3106. },
  3107. "md.AdvertisingSpace": {
  3108. "type": "object",
  3109. "properties": {
  3110. "counting_down": {
  3111. "type": "string",
  3112. "example": "倒计时 x秒"
  3113. },
  3114. "id": {
  3115. "type": "string",
  3116. "example": "id"
  3117. },
  3118. "info": {
  3119. "type": "object",
  3120. "additionalProperties": true
  3121. },
  3122. "kind": {
  3123. "type": "string",
  3124. "example": "广告类型(1:开屏广告 2:插屏广告 3:激励视频 4:信息流广告)"
  3125. },
  3126. "name": {
  3127. "type": "string",
  3128. "example": "名称"
  3129. }
  3130. }
  3131. },
  3132. "md.AdvertisingState": {
  3133. "type": "object",
  3134. "properties": {
  3135. "is_success": {
  3136. "type": "string"
  3137. }
  3138. }
  3139. },
  3140. "md.BasalRateResp": {
  3141. "type": "object",
  3142. "properties": {
  3143. "basal_rate": {
  3144. "description": "基础速率",
  3145. "type": "string"
  3146. },
  3147. "consumed_egg_energy": {
  3148. "description": "收益蛋蛋能量",
  3149. "type": "string"
  3150. },
  3151. "consumed_egg_point": {
  3152. "description": "消耗蛋蛋积分",
  3153. "type": "string"
  3154. },
  3155. "consumed_time": {
  3156. "description": "消耗时间/小时",
  3157. "type": "string"
  3158. },
  3159. "estimated_revenue": {
  3160. "description": "预估收益蛋蛋能量",
  3161. "type": "string"
  3162. },
  3163. "remaining_egg_energy": {
  3164. "description": "剩余蛋蛋能量",
  3165. "type": "string"
  3166. },
  3167. "remaining_time": {
  3168. "description": "剩余时间/小时",
  3169. "type": "string"
  3170. },
  3171. "sign_countdown": {
  3172. "description": "收益倒计时",
  3173. "type": "string"
  3174. }
  3175. }
  3176. },
  3177. "md.BindAlipayAccountReq": {
  3178. "type": "object",
  3179. "properties": {
  3180. "app_id": {
  3181. "description": "支付宝商户应用appid",
  3182. "type": "string"
  3183. },
  3184. "ext": {
  3185. "description": "拓展字段",
  3186. "type": "string"
  3187. },
  3188. "open_id": {
  3189. "description": "支付宝用户open_id",
  3190. "type": "string"
  3191. },
  3192. "user_id": {
  3193. "description": "支付宝用户id",
  3194. "type": "string"
  3195. }
  3196. }
  3197. },
  3198. "md.BindWxPayAccountReq": {
  3199. "type": "object",
  3200. "properties": {
  3201. "app_id": {
  3202. "description": "微信应用 appid",
  3203. "type": "string"
  3204. },
  3205. "ext": {
  3206. "description": "拓展字段",
  3207. "type": "string"
  3208. },
  3209. "open_id": {
  3210. "description": "微信用户 open_id",
  3211. "type": "string"
  3212. },
  3213. "user_id": {
  3214. "description": "微信用户 id",
  3215. "type": "string"
  3216. }
  3217. }
  3218. },
  3219. "md.CollegeDetailReq": {
  3220. "type": "object",
  3221. "properties": {
  3222. "id": {
  3223. "type": "string"
  3224. }
  3225. }
  3226. },
  3227. "md.CollegeDetailResp": {
  3228. "type": "object",
  3229. "properties": {
  3230. "content": {
  3231. "type": "string"
  3232. },
  3233. "create_at": {
  3234. "type": "string"
  3235. },
  3236. "forward_count": {
  3237. "type": "string",
  3238. "example": "分享数量"
  3239. },
  3240. "id": {
  3241. "type": "string"
  3242. },
  3243. "is_like": {
  3244. "type": "string",
  3245. "example": "是否点赞 0否 1是"
  3246. },
  3247. "like_count": {
  3248. "type": "string",
  3249. "example": "点赞数量"
  3250. },
  3251. "title": {
  3252. "type": "string"
  3253. },
  3254. "url": {
  3255. "type": "string"
  3256. },
  3257. "watch_count": {
  3258. "type": "string",
  3259. "example": "学习数量"
  3260. }
  3261. }
  3262. },
  3263. "md.CollegeListReq": {
  3264. "type": "object",
  3265. "properties": {
  3266. "cate_id": {
  3267. "type": "string"
  3268. },
  3269. "limit": {
  3270. "type": "string"
  3271. },
  3272. "page": {
  3273. "type": "string"
  3274. }
  3275. }
  3276. },
  3277. "md.CollegeListResp": {
  3278. "type": "object",
  3279. "properties": {
  3280. "cover": {
  3281. "type": "string",
  3282. "example": "封面图"
  3283. },
  3284. "create_at": {
  3285. "type": "string"
  3286. },
  3287. "forward_count": {
  3288. "type": "string",
  3289. "example": "分享数量"
  3290. },
  3291. "id": {
  3292. "type": "string"
  3293. },
  3294. "like_count": {
  3295. "type": "string",
  3296. "example": "点赞数量"
  3297. },
  3298. "title": {
  3299. "type": "string"
  3300. },
  3301. "url": {
  3302. "type": "string"
  3303. },
  3304. "watch_count": {
  3305. "type": "string",
  3306. "example": "学习数量"
  3307. }
  3308. }
  3309. },
  3310. "md.ConfigResp": {
  3311. "type": "object",
  3312. "properties": {
  3313. "content": {
  3314. "type": "string",
  3315. "example": "软件使用协议内容"
  3316. },
  3317. "down_url": {
  3318. "type": "string"
  3319. },
  3320. "guide": {
  3321. "type": "array",
  3322. "items": {
  3323. "$ref": "#/definitions/md.Guide"
  3324. }
  3325. },
  3326. "oss_url": {
  3327. "type": "string",
  3328. "example": "阿里云图片链接"
  3329. },
  3330. "privacy_title": {
  3331. "type": "string",
  3332. "example": "隐私协议标题"
  3333. },
  3334. "privacy_url": {
  3335. "type": "string",
  3336. "example": "隐私协议链接"
  3337. },
  3338. "title": {
  3339. "type": "string",
  3340. "example": "软件使用协议标题"
  3341. },
  3342. "user_title": {
  3343. "type": "string",
  3344. "example": "用户协议标题"
  3345. },
  3346. "user_url": {
  3347. "type": "string",
  3348. "example": "用户协议链接"
  3349. }
  3350. }
  3351. },
  3352. "md.ContributionValueFlowNode": {
  3353. "type": "object",
  3354. "properties": {
  3355. "amount": {
  3356. "description": "变更数量",
  3357. "type": "string"
  3358. },
  3359. "create_at": {
  3360. "description": "完成时间",
  3361. "type": "string"
  3362. },
  3363. "direction": {
  3364. "description": "方向: 1.收入 2.支出",
  3365. "type": "string"
  3366. },
  3367. "title": {
  3368. "description": "标题",
  3369. "type": "string"
  3370. }
  3371. }
  3372. },
  3373. "md.DynamicDataResp": {
  3374. "type": "object",
  3375. "properties": {
  3376. "development_committee": {
  3377. "description": "发展委员会",
  3378. "type": "string"
  3379. },
  3380. "public_welfare_and_charity": {
  3381. "description": "公益基金",
  3382. "type": "string"
  3383. },
  3384. "star_level_dividends": {
  3385. "description": "星级分红",
  3386. "type": "string"
  3387. },
  3388. "user_total_hold": {
  3389. "description": "用户持有总量",
  3390. "type": "string"
  3391. }
  3392. }
  3393. },
  3394. "md.EggEnergyDetailReq": {
  3395. "type": "object",
  3396. "properties": {
  3397. "asc": {
  3398. "description": "1.升序 2.倒序",
  3399. "type": "string"
  3400. },
  3401. "direction": {
  3402. "description": "类型 1.收入 2.支出 全部则传空",
  3403. "type": "string"
  3404. },
  3405. "kind": {
  3406. "description": "类型:1. 个人蛋蛋能量 2.团队蛋蛋能量",
  3407. "type": "string"
  3408. },
  3409. "limit": {
  3410. "description": "每页大小",
  3411. "type": "integer"
  3412. },
  3413. "page": {
  3414. "description": "页数",
  3415. "type": "integer"
  3416. },
  3417. "type": {
  3418. "description": "变动类型 全部则传空",
  3419. "type": "string"
  3420. }
  3421. }
  3422. },
  3423. "md.EggEnergyDetailResp": {
  3424. "type": "object",
  3425. "properties": {
  3426. "list": {
  3427. "description": "流水数据",
  3428. "type": "array",
  3429. "items": {
  3430. "type": "object",
  3431. "additionalProperties": {
  3432. "type": "string"
  3433. }
  3434. }
  3435. },
  3436. "paginate": {
  3437. "description": "分页信息",
  3438. "allOf": [
  3439. {
  3440. "$ref": "#/definitions/applet_app_md.Paginate"
  3441. }
  3442. ]
  3443. },
  3444. "person_egg_energy": {
  3445. "description": "个人蛋蛋能量",
  3446. "type": "string"
  3447. },
  3448. "team_egg_energy": {
  3449. "description": "团队蛋蛋能量",
  3450. "type": "string"
  3451. },
  3452. "total_egg_energy": {
  3453. "description": "总蛋蛋能量",
  3454. "type": "string"
  3455. },
  3456. "total_egg_energy_price": {
  3457. "description": "蛋蛋能量总价",
  3458. "type": "string"
  3459. },
  3460. "transfer_type_list": {
  3461. "description": "转账类型列表",
  3462. "allOf": [
  3463. {
  3464. "$ref": "#/definitions/md.TransferTypeList"
  3465. }
  3466. ]
  3467. }
  3468. }
  3469. },
  3470. "md.EggEnergyFlowNode": {
  3471. "type": "object",
  3472. "properties": {
  3473. "after_amount": {
  3474. "description": "变更后数量",
  3475. "type": "string"
  3476. },
  3477. "amount": {
  3478. "description": "变更数量",
  3479. "type": "string"
  3480. },
  3481. "before_amount": {
  3482. "description": "变更前数量",
  3483. "type": "string"
  3484. },
  3485. "coin_name": {
  3486. "description": "虚拟币名称",
  3487. "type": "string"
  3488. },
  3489. "create_at": {
  3490. "description": "创建时间",
  3491. "type": "string"
  3492. },
  3493. "direction": {
  3494. "description": "方向:1.收入 2.支出",
  3495. "type": "integer"
  3496. },
  3497. "id": {
  3498. "type": "integer"
  3499. },
  3500. "sys_fee": {
  3501. "description": "手续费",
  3502. "type": "string"
  3503. },
  3504. "title": {
  3505. "description": "标题",
  3506. "type": "string"
  3507. },
  3508. "transfer_type": {
  3509. "description": "转账类型",
  3510. "type": "string"
  3511. }
  3512. }
  3513. },
  3514. "md.EggPointDetailsReq": {
  3515. "type": "object",
  3516. "properties": {
  3517. "asc": {
  3518. "description": "1.升序 2.倒序",
  3519. "type": "string"
  3520. },
  3521. "direction": {
  3522. "description": "类型 1.收入 2.支出 全部则传空",
  3523. "type": "string"
  3524. },
  3525. "kind": {
  3526. "description": "类型:1. 个人蛋蛋积分 2.团队蛋蛋积分",
  3527. "type": "string"
  3528. },
  3529. "limit": {
  3530. "description": "每页大小",
  3531. "type": "integer"
  3532. },
  3533. "page": {
  3534. "description": "页数",
  3535. "type": "integer"
  3536. },
  3537. "type": {
  3538. "description": "变动类型 全部则传空",
  3539. "type": "string"
  3540. }
  3541. }
  3542. },
  3543. "md.EggPointDetailsResp": {
  3544. "type": "object",
  3545. "properties": {
  3546. "list": {
  3547. "description": "流水数据",
  3548. "type": "array",
  3549. "items": {
  3550. "type": "object",
  3551. "additionalProperties": {
  3552. "type": "string"
  3553. }
  3554. }
  3555. },
  3556. "paginate": {
  3557. "description": "分页信息",
  3558. "allOf": [
  3559. {
  3560. "$ref": "#/definitions/applet_app_md.Paginate"
  3561. }
  3562. ]
  3563. },
  3564. "person_egg_points": {
  3565. "description": "个人蛋蛋积分",
  3566. "type": "string"
  3567. },
  3568. "team_egg_points": {
  3569. "description": "团队蛋蛋积分",
  3570. "type": "string"
  3571. },
  3572. "total_egg_points": {
  3573. "description": "总蛋蛋积分",
  3574. "type": "string"
  3575. },
  3576. "total_egg_points_amount": {
  3577. "description": "蛋蛋积分余额",
  3578. "type": "string"
  3579. },
  3580. "transfer_type_list": {
  3581. "description": "转账类型列表",
  3582. "allOf": [
  3583. {
  3584. "$ref": "#/definitions/md.TransferTypeList"
  3585. }
  3586. ]
  3587. }
  3588. }
  3589. },
  3590. "md.EggPointRecordNode": {
  3591. "type": "object",
  3592. "properties": {
  3593. "end_at": {
  3594. "description": "结束时间",
  3595. "type": "string"
  3596. },
  3597. "score": {
  3598. "description": "分数",
  3599. "type": "string"
  3600. },
  3601. "start_at": {
  3602. "description": "开始时间",
  3603. "type": "string"
  3604. },
  3605. "week": {
  3606. "description": "周数",
  3607. "type": "string"
  3608. },
  3609. "year": {
  3610. "description": "年份",
  3611. "type": "string"
  3612. }
  3613. }
  3614. },
  3615. "md.ExchangeEnergyReq": {
  3616. "type": "object",
  3617. "properties": {
  3618. "energy_amount": {
  3619. "description": "兑换能量数值",
  3620. "type": "string"
  3621. }
  3622. }
  3623. },
  3624. "md.FastLoginReq": {
  3625. "type": "object",
  3626. "properties": {
  3627. "invite_code": {
  3628. "type": "string",
  3629. "example": "邀请码"
  3630. },
  3631. "token": {
  3632. "type": "string",
  3633. "example": "一键登录的token"
  3634. }
  3635. }
  3636. },
  3637. "md.FindPasswordReq": {
  3638. "type": "object",
  3639. "required": [
  3640. "mobile"
  3641. ],
  3642. "properties": {
  3643. "code": {
  3644. "type": "string",
  3645. "example": "验证码"
  3646. },
  3647. "mobile": {
  3648. "type": "string"
  3649. },
  3650. "password": {
  3651. "type": "string",
  3652. "example": "密码 如 123"
  3653. }
  3654. }
  3655. },
  3656. "md.GetAmountFlowResp": {
  3657. "type": "object",
  3658. "properties": {
  3659. "list": {
  3660. "type": "array",
  3661. "items": {
  3662. "$ref": "#/definitions/md.WalletFlowNode"
  3663. }
  3664. },
  3665. "paginate": {
  3666. "$ref": "#/definitions/applet_app_md.Paginate"
  3667. }
  3668. }
  3669. },
  3670. "md.GetContributionValueFlowResp": {
  3671. "type": "object",
  3672. "properties": {
  3673. "list": {
  3674. "type": "array",
  3675. "items": {
  3676. "$ref": "#/definitions/md.ContributionValueFlowNode"
  3677. }
  3678. },
  3679. "paginate": {
  3680. "$ref": "#/definitions/applet_app_md.Paginate"
  3681. }
  3682. }
  3683. },
  3684. "md.GetContributionValueResp": {
  3685. "type": "object",
  3686. "properties": {
  3687. "contribution_value": {
  3688. "description": "贡献值",
  3689. "type": "string"
  3690. },
  3691. "ratio": {
  3692. "description": "兑换比率(x 分兑换 1 人民币)",
  3693. "type": "string"
  3694. }
  3695. }
  3696. },
  3697. "md.GetEggEnergyFlowResp": {
  3698. "type": "object",
  3699. "properties": {
  3700. "list": {
  3701. "type": "array",
  3702. "items": {
  3703. "$ref": "#/definitions/md.EggEnergyFlowNode"
  3704. }
  3705. },
  3706. "paginate": {
  3707. "$ref": "#/definitions/applet_app_md.Paginate"
  3708. }
  3709. }
  3710. },
  3711. "md.GetEggPointRecordResp": {
  3712. "type": "object",
  3713. "properties": {
  3714. "list": {
  3715. "description": "分数明细列表",
  3716. "type": "array",
  3717. "items": {
  3718. "$ref": "#/definitions/md.EggPointRecordNode"
  3719. }
  3720. },
  3721. "now_score": {
  3722. "description": "当前分数",
  3723. "type": "string"
  3724. },
  3725. "paginate": {
  3726. "$ref": "#/definitions/applet_app_md.Paginate"
  3727. }
  3728. }
  3729. },
  3730. "md.GetModuleSettingResp": {
  3731. "type": "object",
  3732. "properties": {
  3733. "data": {
  3734. "description": "内容",
  3735. "type": "object",
  3736. "additionalProperties": true
  3737. },
  3738. "mod_name": {
  3739. "description": "模块名称",
  3740. "type": "string"
  3741. },
  3742. "position": {
  3743. "description": "位置",
  3744. "type": "string"
  3745. },
  3746. "skip_identifier": {
  3747. "description": "跳转标识",
  3748. "type": "string"
  3749. },
  3750. "subtitle": {
  3751. "description": "副标题",
  3752. "type": "string"
  3753. },
  3754. "title": {
  3755. "description": "标题",
  3756. "type": "string"
  3757. }
  3758. }
  3759. },
  3760. "md.GetPriceCurveResp": {
  3761. "type": "object",
  3762. "properties": {
  3763. "x_data": {
  3764. "type": "array",
  3765. "items": {}
  3766. },
  3767. "y_data": {
  3768. "type": "array",
  3769. "items": {}
  3770. }
  3771. }
  3772. },
  3773. "md.GetWithdrawConditionResp": {
  3774. "type": "object",
  3775. "properties": {
  3776. "is_bind_alipay": {
  3777. "description": "是否绑定阿里账户",
  3778. "type": "boolean"
  3779. },
  3780. "is_bind_wx": {
  3781. "description": "是否绑定微信账户",
  3782. "type": "boolean"
  3783. },
  3784. "is_real_name": {
  3785. "description": "是否实名",
  3786. "type": "boolean"
  3787. }
  3788. }
  3789. },
  3790. "md.GrabRedPackageReq": {
  3791. "type": "object",
  3792. "properties": {
  3793. "device_id": {
  3794. "description": "设备id",
  3795. "type": "string"
  3796. },
  3797. "receiver_id": {
  3798. "description": "用户id或者群组id",
  3799. "type": "integer"
  3800. },
  3801. "receiver_type": {
  3802. "description": "接收者类型,1:user;2:group",
  3803. "type": "integer"
  3804. },
  3805. "red_package_cover": {
  3806. "description": "红包封面",
  3807. "type": "string"
  3808. },
  3809. "red_package_id": {
  3810. "description": "红包id",
  3811. "type": "integer"
  3812. },
  3813. "send_red_package_user_nike_name": {
  3814. "description": "红包发送者-im用户昵称",
  3815. "type": "string"
  3816. },
  3817. "send_red_packet_avatar_url": {
  3818. "description": "红包发送者-im用户头像",
  3819. "type": "string"
  3820. },
  3821. "send_time": {
  3822. "description": "消息发送时间戳,精确到毫秒",
  3823. "type": "integer"
  3824. },
  3825. "token": {
  3826. "description": "im-token",
  3827. "type": "string"
  3828. },
  3829. "user_id": {
  3830. "description": "im用户id",
  3831. "type": "string"
  3832. }
  3833. }
  3834. },
  3835. "md.GrabRedPackageResp": {
  3836. "type": "object",
  3837. "properties": {
  3838. "grab_amount": {
  3839. "description": "抢到的红包金额",
  3840. "type": "string"
  3841. },
  3842. "im": {
  3843. "description": "im 返回体",
  3844. "allOf": [
  3845. {
  3846. "$ref": "#/definitions/pb.SendRedPacketResp"
  3847. }
  3848. ]
  3849. }
  3850. }
  3851. },
  3852. "md.Guide": {
  3853. "type": "object",
  3854. "properties": {
  3855. "bg_image": {
  3856. "type": "string"
  3857. },
  3858. "bg_image_url": {
  3859. "type": "string"
  3860. },
  3861. "content_image": {
  3862. "type": "string"
  3863. },
  3864. "content_image_url": {
  3865. "type": "string"
  3866. }
  3867. }
  3868. },
  3869. "md.HomePageResp": {
  3870. "type": "object",
  3871. "properties": {
  3872. "initial_price": {
  3873. "description": "蛋蛋能量初始价格",
  3874. "type": "string"
  3875. },
  3876. "is_sign": {
  3877. "description": "是否开始签到",
  3878. "type": "boolean"
  3879. },
  3880. "nick_name": {
  3881. "description": "用户名称",
  3882. "type": "string"
  3883. },
  3884. "now_basal_rate": {
  3885. "description": "当前基础速率/小时",
  3886. "type": "string"
  3887. },
  3888. "now_team_rate": {
  3889. "description": "当前团队速率/小时",
  3890. "type": "string"
  3891. },
  3892. "sign_end_time": {
  3893. "description": "签到截止时间",
  3894. "type": "string"
  3895. },
  3896. "total_active_points": {
  3897. "description": "总蛋蛋积分",
  3898. "type": "string"
  3899. },
  3900. "total_egg_energy": {
  3901. "description": "总蛋蛋能量",
  3902. "type": "string"
  3903. }
  3904. }
  3905. },
  3906. "md.HomePageWatchAdRuleResp": {
  3907. "type": "object",
  3908. "properties": {
  3909. "each_round_hour": {
  3910. "description": "每一轮X个小时",
  3911. "type": "string"
  3912. },
  3913. "next_watch_ad_date": {
  3914. "description": "下次可观看广告时间,若为空允许观看视频",
  3915. "type": "string"
  3916. },
  3917. "residue_watch_ad_num": {
  3918. "description": "当前剩余可观看视频数",
  3919. "type": "integer"
  3920. },
  3921. "watch_ad_reward_active_points": {
  3922. "description": "观看广告视频奖励X个活跃积分",
  3923. "type": "string"
  3924. }
  3925. }
  3926. },
  3927. "md.InitialDataResp": {
  3928. "type": "object",
  3929. "properties": {
  3930. "initial_price": {
  3931. "description": "初始价格",
  3932. "type": "string"
  3933. },
  3934. "total_angel_investor": {
  3935. "description": "天使投资人",
  3936. "type": "string"
  3937. },
  3938. "total_ecological_development": {
  3939. "description": "生态建设",
  3940. "type": "string"
  3941. },
  3942. "total_issuance_amount": {
  3943. "description": "总发行量",
  3944. "type": "string"
  3945. },
  3946. "total_operate_fund": {
  3947. "description": "运营资金",
  3948. "type": "string"
  3949. },
  3950. "total_technology_team": {
  3951. "description": "技术团队",
  3952. "type": "string"
  3953. }
  3954. }
  3955. },
  3956. "md.IntegralList": {
  3957. "type": "object",
  3958. "properties": {
  3959. "expend_list": {
  3960. "description": "支出类型列表",
  3961. "type": "array",
  3962. "items": {
  3963. "$ref": "#/definitions/md.TransferTypeNode"
  3964. }
  3965. },
  3966. "income_list": {
  3967. "description": "收入类型列表",
  3968. "type": "array",
  3969. "items": {
  3970. "$ref": "#/definitions/md.TransferTypeNode"
  3971. }
  3972. }
  3973. }
  3974. },
  3975. "md.InviteCodeUserInfoReq": {
  3976. "type": "object",
  3977. "properties": {
  3978. "invite_code": {
  3979. "type": "string"
  3980. }
  3981. }
  3982. },
  3983. "md.InviteCodeUserInfoResp": {
  3984. "type": "object",
  3985. "properties": {
  3986. "head_img": {
  3987. "type": "string"
  3988. },
  3989. "nickname": {
  3990. "type": "string"
  3991. }
  3992. }
  3993. },
  3994. "md.InviteUrl": {
  3995. "type": "object",
  3996. "properties": {
  3997. "invite_code": {
  3998. "type": "string"
  3999. },
  4000. "link": {
  4001. "type": "string"
  4002. },
  4003. "qrcode": {
  4004. "type": "string"
  4005. }
  4006. }
  4007. },
  4008. "md.IsCanGetRedPackageResp": {
  4009. "type": "object",
  4010. "properties": {
  4011. "is_can_get_red_package": {
  4012. "description": "能否获取红包",
  4013. "type": "boolean"
  4014. }
  4015. }
  4016. },
  4017. "md.IsCanSignInResp": {
  4018. "type": "object",
  4019. "properties": {
  4020. "is_can_sign_in": {
  4021. "description": "能否签到",
  4022. "type": "boolean"
  4023. }
  4024. }
  4025. },
  4026. "md.LoginReq": {
  4027. "type": "object",
  4028. "required": [
  4029. "password",
  4030. "phone"
  4031. ],
  4032. "properties": {
  4033. "code": {
  4034. "type": "string",
  4035. "example": "验证码"
  4036. },
  4037. "password": {
  4038. "type": "string",
  4039. "example": "登录密码"
  4040. },
  4041. "phone": {
  4042. "type": "string",
  4043. "example": "手机号"
  4044. }
  4045. }
  4046. },
  4047. "md.LoginResponse": {
  4048. "type": "object",
  4049. "properties": {
  4050. "token": {
  4051. "type": "string"
  4052. }
  4053. }
  4054. },
  4055. "md.MemberCenterGetBasicResp": {
  4056. "type": "object",
  4057. "properties": {
  4058. "active_num": {
  4059. "description": "活跃值",
  4060. "type": "string"
  4061. },
  4062. "amount": {
  4063. "description": "账户余额",
  4064. "type": "string"
  4065. },
  4066. "contribution_value": {
  4067. "description": "贡献值",
  4068. "type": "string"
  4069. },
  4070. "date": {
  4071. "description": "兑换时间(每月x日)",
  4072. "type": "string"
  4073. },
  4074. "egg_energy": {
  4075. "description": "能量值",
  4076. "type": "string"
  4077. },
  4078. "egg_energy_value": {
  4079. "description": "能量预估价值",
  4080. "type": "string"
  4081. },
  4082. "egg_score": {
  4083. "description": "蛋蛋分",
  4084. "type": "string"
  4085. },
  4086. "head_img": {
  4087. "type": "string"
  4088. },
  4089. "id": {
  4090. "type": "string"
  4091. },
  4092. "invite_code": {
  4093. "type": "string"
  4094. },
  4095. "is_bind_extend": {
  4096. "type": "string",
  4097. "example": "是否绑定了上级 0否 1是"
  4098. },
  4099. "level_name": {
  4100. "description": "会员等级名称",
  4101. "type": "string"
  4102. },
  4103. "nickname": {
  4104. "description": "会员名称",
  4105. "type": "string"
  4106. },
  4107. "phone": {
  4108. "type": "string"
  4109. },
  4110. "ratio": {
  4111. "description": "兑换比例(x:y)",
  4112. "type": "string"
  4113. }
  4114. }
  4115. },
  4116. "md.MyFansResp": {
  4117. "type": "object",
  4118. "properties": {
  4119. "now_team_assistance_num": {
  4120. "description": "团队助力人数",
  4121. "type": "integer"
  4122. },
  4123. "now_team_assistance_reward": {
  4124. "description": "团队助力收益",
  4125. "type": "string"
  4126. },
  4127. "now_team_user": {
  4128. "description": "团队人数",
  4129. "type": "integer"
  4130. }
  4131. }
  4132. },
  4133. "md.MyFansUserListResp": {
  4134. "type": "object",
  4135. "properties": {
  4136. "list": {
  4137. "type": "array",
  4138. "items": {
  4139. "$ref": "#/definitions/md.OneLineUserNode"
  4140. }
  4141. }
  4142. }
  4143. },
  4144. "md.NineDimensionalSpaceResp": {
  4145. "type": "object",
  4146. "properties": {
  4147. "a_lot_of_nums": {
  4148. "description": "全网至多用户数",
  4149. "type": "integer"
  4150. },
  4151. "day_num": {
  4152. "description": "连续x天不活跃",
  4153. "type": "integer"
  4154. },
  4155. "rows": {
  4156. "description": "行数",
  4157. "type": "string"
  4158. },
  4159. "space_list": {
  4160. "description": "数据列表",
  4161. "type": "array",
  4162. "items": {
  4163. "$ref": "#/definitions/md.SpaceListNode"
  4164. }
  4165. },
  4166. "space_nums": {
  4167. "description": "空间人数",
  4168. "type": "integer"
  4169. },
  4170. "space_total_nums": {
  4171. "description": "空间总数",
  4172. "type": "integer"
  4173. },
  4174. "times": {
  4175. "description": "排数",
  4176. "type": "string"
  4177. }
  4178. }
  4179. },
  4180. "md.OneLineUserNode": {
  4181. "type": "object",
  4182. "properties": {
  4183. "avatar_url": {
  4184. "type": "string"
  4185. },
  4186. "invite_time": {
  4187. "type": "string"
  4188. },
  4189. "is_online": {
  4190. "type": "boolean"
  4191. },
  4192. "nickname": {
  4193. "type": "string"
  4194. }
  4195. }
  4196. },
  4197. "md.PointsCenterGetBasicResp": {
  4198. "type": "object",
  4199. "properties": {
  4200. "egg_point": {
  4201. "description": "能量积分",
  4202. "type": "string"
  4203. },
  4204. "egg_point_amount": {
  4205. "description": "能量积分价值",
  4206. "type": "string"
  4207. },
  4208. "energy": {
  4209. "description": "蛋蛋能量值",
  4210. "type": "string"
  4211. },
  4212. "energy_amount": {
  4213. "description": "能量价值",
  4214. "type": "string"
  4215. },
  4216. "wallet_amount": {
  4217. "description": "账户余额",
  4218. "type": "string"
  4219. }
  4220. }
  4221. },
  4222. "md.PointsExchangeGetBasicResp": {
  4223. "type": "object",
  4224. "properties": {
  4225. "available_cash": {
  4226. "description": "可用现金",
  4227. "type": "string"
  4228. },
  4229. "available_energy": {
  4230. "description": "可用能量",
  4231. "type": "string"
  4232. }
  4233. }
  4234. },
  4235. "md.RealNameAuthAddRequest": {
  4236. "type": "object",
  4237. "properties": {
  4238. "card_no": {
  4239. "type": "string"
  4240. },
  4241. "real_name": {
  4242. "type": "string"
  4243. }
  4244. }
  4245. },
  4246. "md.RealNameAuthBasicData": {
  4247. "type": "object",
  4248. "properties": {
  4249. "auth_state": {
  4250. "type": "string",
  4251. "example": "0未申请 1申请通过 3申请失败"
  4252. }
  4253. }
  4254. },
  4255. "md.RealNameAuthResp": {
  4256. "type": "object",
  4257. "properties": {
  4258. "oid": {
  4259. "type": "string"
  4260. },
  4261. "url": {
  4262. "type": "string"
  4263. }
  4264. }
  4265. },
  4266. "md.RealTimePriceResp": {
  4267. "type": "object",
  4268. "properties": {
  4269. "is_rises": {
  4270. "description": "是否涨/跌价",
  4271. "type": "boolean"
  4272. },
  4273. "now_price": {
  4274. "description": "当前价格",
  4275. "type": "string"
  4276. },
  4277. "rises": {
  4278. "description": "涨价幅度(百分比)",
  4279. "type": "string"
  4280. },
  4281. "user_count": {
  4282. "description": "用户数",
  4283. "type": "integer"
  4284. }
  4285. }
  4286. },
  4287. "md.RedPackageDetailResp": {
  4288. "type": "object",
  4289. "properties": {
  4290. "detail": {
  4291. "description": "红包详情信息",
  4292. "allOf": [
  4293. {
  4294. "$ref": "#/definitions/model.ImSendRedPackageOrd"
  4295. }
  4296. ]
  4297. },
  4298. "list": {
  4299. "description": "领取红包用户列表",
  4300. "type": "array",
  4301. "items": {
  4302. "$ref": "#/definitions/md.RedPackageDetailUserNode"
  4303. }
  4304. }
  4305. }
  4306. },
  4307. "md.RedPackageDetailUserNode": {
  4308. "type": "object",
  4309. "properties": {
  4310. "amount": {
  4311. "description": "金额",
  4312. "type": "string"
  4313. },
  4314. "im_user_id": {
  4315. "description": "im用户id",
  4316. "type": "string"
  4317. },
  4318. "received_at": {
  4319. "description": "领取时间",
  4320. "type": "string"
  4321. },
  4322. "user_avatar_url": {
  4323. "description": "im用户昵称",
  4324. "type": "string"
  4325. },
  4326. "user_nick_name": {
  4327. "description": "im用户昵称",
  4328. "type": "string"
  4329. }
  4330. }
  4331. },
  4332. "md.RegisterReq": {
  4333. "type": "object",
  4334. "required": [
  4335. "mobile"
  4336. ],
  4337. "properties": {
  4338. "avatar": {
  4339. "type": "string",
  4340. "example": "头像"
  4341. },
  4342. "code": {
  4343. "type": "string",
  4344. "example": "验证码"
  4345. },
  4346. "invite_code": {
  4347. "type": "string",
  4348. "example": "邀请码"
  4349. },
  4350. "mobile": {
  4351. "type": "string"
  4352. },
  4353. "nickname": {
  4354. "type": "string",
  4355. "example": "昵称"
  4356. },
  4357. "open_id": {
  4358. "type": "string",
  4359. "example": "微信openId"
  4360. },
  4361. "password": {
  4362. "type": "string",
  4363. "example": "密码 如 123"
  4364. },
  4365. "sex": {
  4366. "description": "性别(0:未知 1:男 2:女)",
  4367. "type": "integer"
  4368. },
  4369. "type": {
  4370. "type": "string",
  4371. "example": "app:APP注册、h5:H5注册"
  4372. },
  4373. "union_id": {
  4374. "type": "string",
  4375. "example": "微信UnionId"
  4376. }
  4377. }
  4378. },
  4379. "md.Response": {
  4380. "type": "object",
  4381. "properties": {
  4382. "code": {
  4383. "type": "string",
  4384. "example": "响应码"
  4385. },
  4386. "data": {
  4387. "description": "内容"
  4388. },
  4389. "msg": {
  4390. "type": "string",
  4391. "example": "具体错误原因"
  4392. }
  4393. }
  4394. },
  4395. "md.SendRedPackageDetailReq": {
  4396. "type": "object",
  4397. "properties": {
  4398. "order_id": {
  4399. "description": "红包的订单 ID",
  4400. "type": "string"
  4401. }
  4402. }
  4403. },
  4404. "md.SendRedPackageDetailResp": {
  4405. "type": "object",
  4406. "properties": {
  4407. "im": {
  4408. "$ref": "#/definitions/md.SeqType"
  4409. },
  4410. "red_package_id": {
  4411. "description": "红包 ID",
  4412. "type": "integer"
  4413. }
  4414. }
  4415. },
  4416. "md.SendRedPackageReq": {
  4417. "type": "object",
  4418. "properties": {
  4419. "amount": {
  4420. "description": "红包金额",
  4421. "type": "string"
  4422. },
  4423. "device_id": {
  4424. "description": "设备id",
  4425. "type": "string"
  4426. },
  4427. "receiver_id": {
  4428. "description": "用户id或者群组id",
  4429. "type": "integer"
  4430. },
  4431. "receiver_type": {
  4432. "description": "接收者类型,1:user;2:group",
  4433. "type": "integer"
  4434. },
  4435. "red_package_cover": {
  4436. "description": "红包封面",
  4437. "type": "string"
  4438. },
  4439. "red_packet_content": {
  4440. "description": "红包文字内容",
  4441. "type": "string"
  4442. },
  4443. "red_packet_nums": {
  4444. "description": "红包数量",
  4445. "type": "integer"
  4446. },
  4447. "red_packet_small_content": {
  4448. "description": "红包文字内容",
  4449. "type": "string"
  4450. },
  4451. "red_packet_type": {
  4452. "description": "红包类型(0:未知 1:好友红包 2:群组普通红包 3:群组手气红包 4:群组专属红包 5:系统红包)",
  4453. "type": "integer"
  4454. },
  4455. "send_time": {
  4456. "description": "消息发送时间戳,精确到毫秒",
  4457. "type": "integer"
  4458. },
  4459. "to_user_ids": {
  4460. "description": "红包给到哪些im用户id(专属红包)",
  4461. "type": "array",
  4462. "items": {
  4463. "type": "integer"
  4464. }
  4465. },
  4466. "token": {
  4467. "description": "im-token",
  4468. "type": "string"
  4469. },
  4470. "user_id": {
  4471. "description": "im用户id",
  4472. "type": "string"
  4473. }
  4474. }
  4475. },
  4476. "md.SendRedPackageResp": {
  4477. "type": "object",
  4478. "properties": {
  4479. "im": {
  4480. "$ref": "#/definitions/pb.SendRedPacketResp"
  4481. },
  4482. "red_package_id": {
  4483. "description": "红包ID",
  4484. "type": "integer"
  4485. }
  4486. }
  4487. },
  4488. "md.SeqType": {
  4489. "type": "object",
  4490. "properties": {
  4491. "seq": {
  4492. "description": "序列号",
  4493. "type": "integer"
  4494. }
  4495. }
  4496. },
  4497. "md.SmsSendReq": {
  4498. "type": "object",
  4499. "required": [
  4500. "mobile"
  4501. ],
  4502. "properties": {
  4503. "captcha_output": {
  4504. "type": "string",
  4505. "example": "阿里云图形验证码对应参数"
  4506. },
  4507. "gen_time": {
  4508. "type": "string",
  4509. "example": "阿里云图形验证码对应参数"
  4510. },
  4511. "lot_number": {
  4512. "type": "string",
  4513. "example": "阿里云图形验证码对应参数"
  4514. },
  4515. "mobile": {
  4516. "type": "string"
  4517. },
  4518. "pass_token": {
  4519. "type": "string",
  4520. "example": "阿里云图形验证码对应参数"
  4521. },
  4522. "type": {
  4523. "type": "string",
  4524. "example": "h5Register:h5注册页、wechatBindPhone:微信绑定手机、login:登陆、findPwd:找回密码、changePwd:修改密码、changePasscode:修改支付密码"
  4525. }
  4526. }
  4527. },
  4528. "md.SpaceListNode": {
  4529. "type": "object",
  4530. "properties": {
  4531. "max_count": {
  4532. "description": "最大容纳人数",
  4533. "type": "integer"
  4534. },
  4535. "name": {
  4536. "description": "维度",
  4537. "type": "string"
  4538. },
  4539. "now_count": {
  4540. "description": "当前人数",
  4541. "type": "integer"
  4542. }
  4543. }
  4544. },
  4545. "md.TotalRateResp": {
  4546. "type": "object",
  4547. "properties": {
  4548. "consumed_personal_egg_point": {
  4549. "description": "消耗个人蛋蛋积分",
  4550. "type": "string"
  4551. },
  4552. "consumed_team_egg_point": {
  4553. "description": "消耗团队蛋蛋积分",
  4554. "type": "string"
  4555. },
  4556. "now_basal_rate": {
  4557. "description": "当前基础速率/小时",
  4558. "type": "string"
  4559. },
  4560. "now_team_rate": {
  4561. "description": "当前团队速率/小时",
  4562. "type": "string"
  4563. },
  4564. "now_total_rate": {
  4565. "description": "总速率/小时",
  4566. "type": "string"
  4567. }
  4568. }
  4569. },
  4570. "md.TransferTypeList": {
  4571. "type": "object",
  4572. "properties": {
  4573. "TeamTransferTypeList": {
  4574. "description": "团队积分变动列表",
  4575. "allOf": [
  4576. {
  4577. "$ref": "#/definitions/md.IntegralList"
  4578. }
  4579. ]
  4580. },
  4581. "personal_transfer_type_list": {
  4582. "description": "个人积分变动列表",
  4583. "allOf": [
  4584. {
  4585. "$ref": "#/definitions/md.IntegralList"
  4586. }
  4587. ]
  4588. }
  4589. }
  4590. },
  4591. "md.TransferTypeNode": {
  4592. "type": "object",
  4593. "properties": {
  4594. "name": {
  4595. "type": "string"
  4596. },
  4597. "value": {
  4598. "type": "string"
  4599. }
  4600. }
  4601. },
  4602. "md.UpdatePasscodeReq": {
  4603. "type": "object",
  4604. "properties": {
  4605. "code": {
  4606. "type": "string",
  4607. "example": "验证码"
  4608. },
  4609. "passcode": {
  4610. "type": "string",
  4611. "example": "密码 如 123"
  4612. }
  4613. }
  4614. },
  4615. "md.UpdatePasswordReq": {
  4616. "type": "object",
  4617. "properties": {
  4618. "code": {
  4619. "type": "string",
  4620. "example": "验证码"
  4621. },
  4622. "password": {
  4623. "type": "string",
  4624. "example": "密码 如 123"
  4625. }
  4626. }
  4627. },
  4628. "md.UserFeedbackListReq": {
  4629. "type": "object",
  4630. "properties": {
  4631. "limit": {
  4632. "type": "string"
  4633. },
  4634. "page": {
  4635. "type": "string"
  4636. }
  4637. }
  4638. },
  4639. "md.UserFeedbackListResp": {
  4640. "type": "object",
  4641. "properties": {
  4642. "content": {
  4643. "type": "string"
  4644. },
  4645. "create_at": {
  4646. "type": "string"
  4647. },
  4648. "id": {
  4649. "type": "string"
  4650. },
  4651. "img": {
  4652. "type": "array",
  4653. "items": {
  4654. "type": "string"
  4655. }
  4656. },
  4657. "label": {
  4658. "type": "string"
  4659. },
  4660. "state": {
  4661. "type": "string",
  4662. "example": "0未回复 1已回复"
  4663. },
  4664. "title": {
  4665. "type": "string"
  4666. }
  4667. }
  4668. },
  4669. "md.UserFeedbackRecordReq": {
  4670. "type": "object",
  4671. "properties": {
  4672. "id": {
  4673. "type": "string"
  4674. },
  4675. "page": {
  4676. "type": "string"
  4677. }
  4678. }
  4679. },
  4680. "md.UserFeedbackRecordResp": {
  4681. "type": "object",
  4682. "properties": {
  4683. "content": {
  4684. "type": "string"
  4685. },
  4686. "create_at": {
  4687. "type": "string"
  4688. },
  4689. "head_img": {
  4690. "type": "string"
  4691. },
  4692. "nickname": {
  4693. "type": "string"
  4694. },
  4695. "type": {
  4696. "type": "string"
  4697. }
  4698. }
  4699. },
  4700. "md.UserFeedbackSaveReq": {
  4701. "type": "object",
  4702. "properties": {
  4703. "cid": {
  4704. "type": "string",
  4705. "example": "问题类型的id"
  4706. },
  4707. "content": {
  4708. "type": "string",
  4709. "example": "问题内容"
  4710. },
  4711. "idea": {
  4712. "type": "string",
  4713. "example": "建议内容"
  4714. },
  4715. "img": {
  4716. "type": "array",
  4717. "items": {
  4718. "type": "string"
  4719. },
  4720. "example": [
  4721. "图片"
  4722. ]
  4723. },
  4724. "phone": {
  4725. "type": "string"
  4726. },
  4727. "title": {
  4728. "type": "string"
  4729. },
  4730. "type": {
  4731. "type": "string",
  4732. "example": "问题类型的name"
  4733. }
  4734. }
  4735. },
  4736. "md.UserFeedbackSayReq": {
  4737. "type": "object",
  4738. "properties": {
  4739. "content": {
  4740. "type": "string",
  4741. "example": "问题内容"
  4742. },
  4743. "id": {
  4744. "type": "string",
  4745. "example": "id"
  4746. }
  4747. }
  4748. },
  4749. "md.UserInfoResp": {
  4750. "type": "object",
  4751. "properties": {
  4752. "head_img": {
  4753. "type": "string"
  4754. },
  4755. "id": {
  4756. "type": "string"
  4757. },
  4758. "invite_code": {
  4759. "type": "string"
  4760. },
  4761. "is_bind_extend": {
  4762. "type": "string",
  4763. "example": "是否绑定了上级 0否 1是"
  4764. },
  4765. "nickname": {
  4766. "type": "string"
  4767. },
  4768. "phone": {
  4769. "type": "string"
  4770. }
  4771. }
  4772. },
  4773. "md.Version": {
  4774. "type": "object",
  4775. "properties": {
  4776. "content": {
  4777. "type": "string"
  4778. },
  4779. "img": {
  4780. "type": "string"
  4781. },
  4782. "is_must": {
  4783. "type": "string"
  4784. },
  4785. "name": {
  4786. "type": "string"
  4787. },
  4788. "type": {
  4789. "type": "string"
  4790. },
  4791. "url": {
  4792. "type": "string"
  4793. },
  4794. "version": {
  4795. "type": "string"
  4796. }
  4797. }
  4798. },
  4799. "md.VersionResp": {
  4800. "type": "object",
  4801. "properties": {
  4802. "is_audit_version": {
  4803. "type": "string"
  4804. },
  4805. "version": {
  4806. "type": "array",
  4807. "items": {
  4808. "$ref": "#/definitions/md.Version"
  4809. }
  4810. }
  4811. }
  4812. },
  4813. "md.WalletFlowNode": {
  4814. "type": "object",
  4815. "properties": {
  4816. "after_amount": {
  4817. "description": "变动后金额",
  4818. "type": "string"
  4819. },
  4820. "amount": {
  4821. "description": "变动金额",
  4822. "type": "string"
  4823. },
  4824. "before_amount": {
  4825. "description": "变动前金额",
  4826. "type": "string"
  4827. },
  4828. "create_time": {
  4829. "description": "创建时间",
  4830. "type": "string"
  4831. },
  4832. "direction": {
  4833. "description": "方向:1.收入 2.支出",
  4834. "type": "integer"
  4835. },
  4836. "id": {
  4837. "type": "integer"
  4838. },
  4839. "kind": {
  4840. "description": "1:管理员操作增加余额 2:管理员操作扣除余额 3:蛋蛋能量兑换余额 4:余额兑换蛋蛋能量",
  4841. "type": "integer"
  4842. },
  4843. "memo": {
  4844. "description": "备注",
  4845. "type": "string"
  4846. },
  4847. "ord_id": {
  4848. "description": "对应订单编号",
  4849. "type": "string"
  4850. },
  4851. "state": {
  4852. "description": "1未到账,2已到账",
  4853. "type": "integer"
  4854. },
  4855. "sys_fee": {
  4856. "description": "手续费",
  4857. "type": "string"
  4858. },
  4859. "title": {
  4860. "description": "标题",
  4861. "type": "string"
  4862. },
  4863. "uid": {
  4864. "description": "用户 ID",
  4865. "type": "integer"
  4866. },
  4867. "update_time": {
  4868. "description": "更新时间",
  4869. "type": "string"
  4870. }
  4871. }
  4872. },
  4873. "md.WechatLoginReq": {
  4874. "type": "object",
  4875. "properties": {
  4876. "avatar": {
  4877. "type": "string",
  4878. "example": "头像"
  4879. },
  4880. "nickname": {
  4881. "type": "string",
  4882. "example": "昵称"
  4883. },
  4884. "open_id": {
  4885. "type": "string",
  4886. "example": "微信openId"
  4887. },
  4888. "union_id": {
  4889. "type": "string",
  4890. "example": "微信UnionId"
  4891. }
  4892. }
  4893. },
  4894. "md.WithdrawApplyReq": {
  4895. "type": "object",
  4896. "properties": {
  4897. "amount": {
  4898. "description": "金额",
  4899. "type": "string"
  4900. },
  4901. "kind": {
  4902. "description": "提现方式(1:支付宝 2:微信)",
  4903. "type": "integer"
  4904. }
  4905. }
  4906. },
  4907. "md.WithdrawGetAmountResp": {
  4908. "type": "object",
  4909. "properties": {
  4910. "amount": {
  4911. "description": "余额",
  4912. "type": "string"
  4913. }
  4914. }
  4915. },
  4916. "model.ImSendRedPackageOrd": {
  4917. "type": "object",
  4918. "properties": {
  4919. "amount": {
  4920. "type": "string"
  4921. },
  4922. "create_time": {
  4923. "type": "string"
  4924. },
  4925. "id": {
  4926. "type": "integer"
  4927. },
  4928. "im_data": {
  4929. "type": "string"
  4930. },
  4931. "im_uid": {
  4932. "type": "integer"
  4933. },
  4934. "ord_no": {
  4935. "type": "string"
  4936. },
  4937. "received_im_user_ids": {
  4938. "type": "string"
  4939. },
  4940. "received_times": {
  4941. "type": "string"
  4942. },
  4943. "received_user_amount": {
  4944. "type": "string"
  4945. },
  4946. "received_user_ids": {
  4947. "type": "string"
  4948. },
  4949. "red_packet_balance_amount": {
  4950. "type": "string"
  4951. },
  4952. "red_packet_balance_nums": {
  4953. "type": "integer"
  4954. },
  4955. "red_packet_nums": {
  4956. "type": "integer"
  4957. },
  4958. "red_packet_type": {
  4959. "type": "integer"
  4960. },
  4961. "state": {
  4962. "type": "integer"
  4963. },
  4964. "uid": {
  4965. "type": "integer"
  4966. },
  4967. "update_time": {
  4968. "type": "string"
  4969. },
  4970. "wait_draw_im_user_ids": {
  4971. "type": "string"
  4972. },
  4973. "wait_draw_user_ids": {
  4974. "type": "string"
  4975. }
  4976. }
  4977. },
  4978. "pb.SendRedPacketResp": {
  4979. "type": "object",
  4980. "properties": {
  4981. "seq": {
  4982. "description": "消息序列号",
  4983. "type": "integer"
  4984. }
  4985. }
  4986. }
  4987. }
  4988. }`
  4989. // SwaggerInfo holds exported Swagger Info so clients can modify it
  4990. var SwaggerInfo = &swag.Spec{
  4991. Version: "1.0",
  4992. Host: "ddxq.izhim.com",
  4993. BasePath: "/api/v1",
  4994. Schemes: []string{},
  4995. Title: "蛋蛋星球-APP客户端",
  4996. Description: "APP客户端-Api接口",
  4997. InfoInstanceName: "swagger",
  4998. SwaggerTemplate: docTemplate,
  4999. }
  5000. func init() {
  5001. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  5002. }