蛋蛋星球-客户端
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

4433 rindas
146 KiB

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