蛋蛋星球-客户端
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 
 

4408 рядки
146 KiB

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