蛋蛋星球-客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

4424 rivejä
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. "egg_energy_now_price": {
  3377. "description": "蛋蛋能量当前价格",
  3378. "type": "string"
  3379. },
  3380. "initial_price": {
  3381. "description": "蛋蛋能量初始价格",
  3382. "type": "string"
  3383. },
  3384. "is_rises": {
  3385. "description": "是否涨价",
  3386. "type": "boolean"
  3387. },
  3388. "is_sign": {
  3389. "description": "是否开始签到",
  3390. "type": "boolean"
  3391. },
  3392. "nick_name": {
  3393. "description": "用户名称",
  3394. "type": "string"
  3395. },
  3396. "now_basal_rate": {
  3397. "description": "当前基础速率/小时",
  3398. "type": "string"
  3399. },
  3400. "now_team_rate": {
  3401. "description": "当前团队速率/小时",
  3402. "type": "string"
  3403. },
  3404. "rises": {
  3405. "description": "涨/跌价百分比",
  3406. "type": "string"
  3407. },
  3408. "sign_end_time": {
  3409. "description": "签到截止时间",
  3410. "type": "string"
  3411. },
  3412. "total_active_points": {
  3413. "description": "总蛋蛋积分",
  3414. "type": "string"
  3415. },
  3416. "total_egg_energy": {
  3417. "description": "总蛋蛋能量",
  3418. "type": "string"
  3419. },
  3420. "user_count": {
  3421. "description": "当前用户数量",
  3422. "type": "integer"
  3423. }
  3424. }
  3425. },
  3426. "md.HomePageWatchAdRuleResp": {
  3427. "type": "object",
  3428. "properties": {
  3429. "each_round_hour": {
  3430. "description": "每一轮X个小时",
  3431. "type": "string"
  3432. },
  3433. "interval_minutes": {
  3434. "description": "间隔X秒",
  3435. "type": "string"
  3436. },
  3437. "reward_total_num": {
  3438. "description": "一共X个奖励视屏",
  3439. "type": "string"
  3440. },
  3441. "reward_value": {
  3442. "description": "奖励X个活跃积分",
  3443. "type": "string"
  3444. }
  3445. }
  3446. },
  3447. "md.InitialDataResp": {
  3448. "type": "object",
  3449. "properties": {
  3450. "initial_price": {
  3451. "description": "初始价格",
  3452. "type": "string"
  3453. },
  3454. "total_angel_investor": {
  3455. "description": "天使投资人",
  3456. "type": "string"
  3457. },
  3458. "total_ecological_development": {
  3459. "description": "生态建设",
  3460. "type": "string"
  3461. },
  3462. "total_issuance_amount": {
  3463. "description": "总发行量",
  3464. "type": "string"
  3465. },
  3466. "total_operate_fund": {
  3467. "description": "运营资金",
  3468. "type": "string"
  3469. },
  3470. "total_technology_team": {
  3471. "description": "技术团队",
  3472. "type": "string"
  3473. }
  3474. }
  3475. },
  3476. "md.IntegralList": {
  3477. "type": "object",
  3478. "properties": {
  3479. "expend_list": {
  3480. "description": "支出类型列表",
  3481. "type": "array",
  3482. "items": {
  3483. "$ref": "#/definitions/md.TransferTypeNode"
  3484. }
  3485. },
  3486. "income_list": {
  3487. "description": "收入类型列表",
  3488. "type": "array",
  3489. "items": {
  3490. "$ref": "#/definitions/md.TransferTypeNode"
  3491. }
  3492. }
  3493. }
  3494. },
  3495. "md.InviteCodeUserInfoReq": {
  3496. "type": "object",
  3497. "properties": {
  3498. "invite_code": {
  3499. "type": "string"
  3500. }
  3501. }
  3502. },
  3503. "md.InviteCodeUserInfoResp": {
  3504. "type": "object",
  3505. "properties": {
  3506. "head_img": {
  3507. "type": "string"
  3508. },
  3509. "nickname": {
  3510. "type": "string"
  3511. }
  3512. }
  3513. },
  3514. "md.IsCanGetRedPackageResp": {
  3515. "type": "object",
  3516. "properties": {
  3517. "is_can_get_red_package": {
  3518. "description": "能否获取红包",
  3519. "type": "boolean"
  3520. }
  3521. }
  3522. },
  3523. "md.IsCanSignInResp": {
  3524. "type": "object",
  3525. "properties": {
  3526. "is_can_sign_in": {
  3527. "description": "能否签到",
  3528. "type": "boolean"
  3529. }
  3530. }
  3531. },
  3532. "md.LoginReq": {
  3533. "type": "object",
  3534. "required": [
  3535. "password",
  3536. "phone"
  3537. ],
  3538. "properties": {
  3539. "code": {
  3540. "type": "string",
  3541. "example": "验证码"
  3542. },
  3543. "password": {
  3544. "type": "string",
  3545. "example": "登录密码"
  3546. },
  3547. "phone": {
  3548. "type": "string",
  3549. "example": "手机号"
  3550. }
  3551. }
  3552. },
  3553. "md.LoginResponse": {
  3554. "type": "object",
  3555. "properties": {
  3556. "token": {
  3557. "type": "string"
  3558. }
  3559. }
  3560. },
  3561. "md.MemberCenterGetBasicResp": {
  3562. "type": "object",
  3563. "properties": {
  3564. "active_num": {
  3565. "description": "活跃值",
  3566. "type": "string"
  3567. },
  3568. "amount": {
  3569. "description": "账户余额",
  3570. "type": "string"
  3571. },
  3572. "contribution_value": {
  3573. "description": "贡献值",
  3574. "type": "string"
  3575. },
  3576. "date": {
  3577. "description": "兑换时间(每月x日)",
  3578. "type": "string"
  3579. },
  3580. "egg_energy": {
  3581. "description": "能量值",
  3582. "type": "string"
  3583. },
  3584. "egg_energy_value": {
  3585. "description": "能量预估价值",
  3586. "type": "string"
  3587. },
  3588. "egg_score": {
  3589. "description": "蛋蛋分",
  3590. "type": "string"
  3591. },
  3592. "head_img": {
  3593. "type": "string"
  3594. },
  3595. "id": {
  3596. "type": "string"
  3597. },
  3598. "invite_code": {
  3599. "type": "string"
  3600. },
  3601. "is_bind_extend": {
  3602. "type": "string",
  3603. "example": "是否绑定了上级 0否 1是"
  3604. },
  3605. "level_name": {
  3606. "description": "会员等级名称",
  3607. "type": "string"
  3608. },
  3609. "nickname": {
  3610. "description": "会员名称",
  3611. "type": "string"
  3612. },
  3613. "phone": {
  3614. "type": "string"
  3615. },
  3616. "ratio": {
  3617. "description": "兑换比例(x:y)",
  3618. "type": "string"
  3619. }
  3620. }
  3621. },
  3622. "md.MyFansResp": {
  3623. "type": "object",
  3624. "properties": {
  3625. "now_team_assistance_num": {
  3626. "description": "团队助力人数",
  3627. "type": "integer"
  3628. },
  3629. "now_team_assistance_reward": {
  3630. "description": "团队助力收益",
  3631. "type": "string"
  3632. },
  3633. "now_team_user": {
  3634. "description": "团队人数",
  3635. "type": "integer"
  3636. }
  3637. }
  3638. },
  3639. "md.MyFansUserListResp": {
  3640. "type": "object",
  3641. "properties": {
  3642. "list": {
  3643. "type": "array",
  3644. "items": {
  3645. "$ref": "#/definitions/md.OneLineUserNode"
  3646. }
  3647. }
  3648. }
  3649. },
  3650. "md.NineDimensionalSpaceResp": {
  3651. "type": "object",
  3652. "properties": {
  3653. "a_lot_of_nums": {
  3654. "description": "全网至多用户数",
  3655. "type": "string"
  3656. },
  3657. "day_num": {
  3658. "description": "连续x天不活跃",
  3659. "type": "string"
  3660. },
  3661. "rows": {
  3662. "description": "行数",
  3663. "type": "string"
  3664. },
  3665. "space_list": {
  3666. "description": "数据列表",
  3667. "type": "array",
  3668. "items": {
  3669. "$ref": "#/definitions/md.SpaceListNode"
  3670. }
  3671. },
  3672. "space_nums": {
  3673. "description": "空间人数",
  3674. "type": "string"
  3675. },
  3676. "space_total_nums": {
  3677. "description": "空间总数",
  3678. "type": "string"
  3679. },
  3680. "times": {
  3681. "description": "排数",
  3682. "type": "string"
  3683. }
  3684. }
  3685. },
  3686. "md.OneLineUserNode": {
  3687. "type": "object",
  3688. "properties": {
  3689. "avatar_url": {
  3690. "type": "string"
  3691. },
  3692. "invite_time": {
  3693. "type": "string"
  3694. },
  3695. "is_online": {
  3696. "type": "boolean"
  3697. },
  3698. "nickname": {
  3699. "type": "string"
  3700. }
  3701. }
  3702. },
  3703. "md.PointsCenterGetBasicResp": {
  3704. "type": "object",
  3705. "properties": {
  3706. "egg_point": {
  3707. "description": "能量积分",
  3708. "type": "string"
  3709. },
  3710. "egg_point_amount": {
  3711. "description": "能量积分价值",
  3712. "type": "string"
  3713. },
  3714. "energy": {
  3715. "description": "蛋蛋能量值",
  3716. "type": "string"
  3717. },
  3718. "energy_amount": {
  3719. "description": "能量价值",
  3720. "type": "string"
  3721. },
  3722. "wallet_amount": {
  3723. "description": "账户余额",
  3724. "type": "string"
  3725. }
  3726. }
  3727. },
  3728. "md.PointsExchangeGetBasicResp": {
  3729. "type": "object",
  3730. "properties": {
  3731. "available_cash": {
  3732. "description": "可用现金",
  3733. "type": "string"
  3734. },
  3735. "available_energy": {
  3736. "description": "可用能量",
  3737. "type": "string"
  3738. }
  3739. }
  3740. },
  3741. "md.RealTimePriceResp": {
  3742. "type": "object",
  3743. "properties": {
  3744. "is_rises": {
  3745. "description": "是否涨/跌价",
  3746. "type": "boolean"
  3747. },
  3748. "now_price": {
  3749. "description": "当前价格",
  3750. "type": "string"
  3751. },
  3752. "rises": {
  3753. "description": "涨价幅度",
  3754. "type": "string"
  3755. },
  3756. "user_count": {
  3757. "description": "用户数",
  3758. "type": "string"
  3759. }
  3760. }
  3761. },
  3762. "md.RedPackageDetailResp": {
  3763. "type": "object",
  3764. "properties": {
  3765. "detail": {
  3766. "description": "红包详情信息",
  3767. "allOf": [
  3768. {
  3769. "$ref": "#/definitions/model.ImSendRedPackageOrd"
  3770. }
  3771. ]
  3772. },
  3773. "list": {
  3774. "description": "领取红包用户列表",
  3775. "type": "array",
  3776. "items": {
  3777. "$ref": "#/definitions/md.RedPackageDetailUserNode"
  3778. }
  3779. }
  3780. }
  3781. },
  3782. "md.RedPackageDetailUserNode": {
  3783. "type": "object",
  3784. "properties": {
  3785. "amount": {
  3786. "description": "金额",
  3787. "type": "string"
  3788. },
  3789. "im_user_id": {
  3790. "description": "im用户id",
  3791. "type": "string"
  3792. },
  3793. "received_at": {
  3794. "description": "领取时间",
  3795. "type": "string"
  3796. },
  3797. "user_avatar_url": {
  3798. "description": "im用户昵称",
  3799. "type": "string"
  3800. },
  3801. "user_nick_name": {
  3802. "description": "im用户昵称",
  3803. "type": "string"
  3804. }
  3805. }
  3806. },
  3807. "md.RegisterReq": {
  3808. "type": "object",
  3809. "required": [
  3810. "mobile"
  3811. ],
  3812. "properties": {
  3813. "avatar": {
  3814. "type": "string",
  3815. "example": "头像"
  3816. },
  3817. "code": {
  3818. "type": "string",
  3819. "example": "验证码"
  3820. },
  3821. "invite_code": {
  3822. "type": "string",
  3823. "example": "邀请码"
  3824. },
  3825. "mobile": {
  3826. "type": "string"
  3827. },
  3828. "nickname": {
  3829. "type": "string",
  3830. "example": "昵称"
  3831. },
  3832. "open_id": {
  3833. "type": "string",
  3834. "example": "微信openId"
  3835. },
  3836. "password": {
  3837. "type": "string",
  3838. "example": "密码 如 123"
  3839. },
  3840. "sex": {
  3841. "description": "性别(0:未知 1:男 2:女)",
  3842. "type": "integer"
  3843. },
  3844. "type": {
  3845. "type": "string",
  3846. "example": "app:APP注册、h5:H5注册"
  3847. },
  3848. "union_id": {
  3849. "type": "string",
  3850. "example": "微信UnionId"
  3851. }
  3852. }
  3853. },
  3854. "md.Response": {
  3855. "type": "object",
  3856. "properties": {
  3857. "code": {
  3858. "type": "string",
  3859. "example": "响应码"
  3860. },
  3861. "data": {
  3862. "description": "内容"
  3863. },
  3864. "msg": {
  3865. "type": "string",
  3866. "example": "具体错误原因"
  3867. }
  3868. }
  3869. },
  3870. "md.SendRedPackageDetailReq": {
  3871. "type": "object",
  3872. "properties": {
  3873. "order_id": {
  3874. "description": "红包的订单 ID",
  3875. "type": "string"
  3876. }
  3877. }
  3878. },
  3879. "md.SendRedPackageDetailResp": {
  3880. "type": "object",
  3881. "properties": {
  3882. "im": {
  3883. "$ref": "#/definitions/md.SeqType"
  3884. },
  3885. "red_package_id": {
  3886. "description": "红包 ID",
  3887. "type": "integer"
  3888. }
  3889. }
  3890. },
  3891. "md.SendRedPackageReq": {
  3892. "type": "object",
  3893. "properties": {
  3894. "amount": {
  3895. "description": "红包金额",
  3896. "type": "string"
  3897. },
  3898. "device_id": {
  3899. "description": "设备id",
  3900. "type": "string"
  3901. },
  3902. "receiver_id": {
  3903. "description": "用户id或者群组id",
  3904. "type": "integer"
  3905. },
  3906. "receiver_type": {
  3907. "description": "接收者类型,1:user;2:group",
  3908. "type": "integer"
  3909. },
  3910. "red_package_cover": {
  3911. "description": "红包封面",
  3912. "type": "string"
  3913. },
  3914. "red_packet_content": {
  3915. "description": "红包文字内容",
  3916. "type": "string"
  3917. },
  3918. "red_packet_nums": {
  3919. "description": "红包数量",
  3920. "type": "integer"
  3921. },
  3922. "red_packet_small_content": {
  3923. "description": "红包文字内容",
  3924. "type": "string"
  3925. },
  3926. "red_packet_type": {
  3927. "description": "红包类型(0:未知 1:好友红包 2:群组普通红包 3:群组手气红包 4:群组专属红包 5:系统红包)",
  3928. "type": "integer"
  3929. },
  3930. "send_time": {
  3931. "description": "消息发送时间戳,精确到毫秒",
  3932. "type": "integer"
  3933. },
  3934. "to_user_ids": {
  3935. "description": "红包给到哪些im用户id(专属红包)",
  3936. "type": "array",
  3937. "items": {
  3938. "type": "integer"
  3939. }
  3940. },
  3941. "token": {
  3942. "description": "im-token",
  3943. "type": "string"
  3944. },
  3945. "user_id": {
  3946. "description": "im用户id",
  3947. "type": "string"
  3948. }
  3949. }
  3950. },
  3951. "md.SendRedPackageResp": {
  3952. "type": "object",
  3953. "properties": {
  3954. "im": {
  3955. "$ref": "#/definitions/pb.SendRedPacketResp"
  3956. },
  3957. "red_package_id": {
  3958. "description": "红包ID",
  3959. "type": "integer"
  3960. }
  3961. }
  3962. },
  3963. "md.SeqType": {
  3964. "type": "object",
  3965. "properties": {
  3966. "seq": {
  3967. "description": "序列号",
  3968. "type": "integer"
  3969. }
  3970. }
  3971. },
  3972. "md.SmsSendReq": {
  3973. "type": "object",
  3974. "required": [
  3975. "mobile"
  3976. ],
  3977. "properties": {
  3978. "captcha_output": {
  3979. "type": "string",
  3980. "example": "阿里云图形验证码对应参数"
  3981. },
  3982. "gen_time": {
  3983. "type": "string",
  3984. "example": "阿里云图形验证码对应参数"
  3985. },
  3986. "lot_number": {
  3987. "type": "string",
  3988. "example": "阿里云图形验证码对应参数"
  3989. },
  3990. "mobile": {
  3991. "type": "string"
  3992. },
  3993. "pass_token": {
  3994. "type": "string",
  3995. "example": "阿里云图形验证码对应参数"
  3996. },
  3997. "type": {
  3998. "type": "string",
  3999. "example": "h5Register:h5注册页、wechatBindPhone:微信绑定手机、login:登陆、findPwd:找回密码、changePwd:修改密码"
  4000. }
  4001. }
  4002. },
  4003. "md.SpaceListNode": {
  4004. "type": "object",
  4005. "properties": {
  4006. "max_count": {
  4007. "description": "最大容纳人数",
  4008. "type": "string"
  4009. },
  4010. "name": {
  4011. "description": "维度",
  4012. "type": "string"
  4013. },
  4014. "now_count": {
  4015. "description": "当前人数",
  4016. "type": "string"
  4017. }
  4018. }
  4019. },
  4020. "md.TotalRateResp": {
  4021. "type": "object",
  4022. "properties": {
  4023. "consumed_personal_egg_point": {
  4024. "description": "消耗个人蛋蛋积分",
  4025. "type": "string"
  4026. },
  4027. "consumed_team_egg_point": {
  4028. "description": "消耗团队蛋蛋积分",
  4029. "type": "string"
  4030. },
  4031. "now_basal_rate": {
  4032. "description": "当前基础速率/小时",
  4033. "type": "string"
  4034. },
  4035. "now_team_rate": {
  4036. "description": "当前团队速率/小时",
  4037. "type": "string"
  4038. },
  4039. "now_total_rate": {
  4040. "description": "总速率/小时",
  4041. "type": "string"
  4042. }
  4043. }
  4044. },
  4045. "md.TransferTypeList": {
  4046. "type": "object",
  4047. "properties": {
  4048. "TeamTransferTypeList": {
  4049. "description": "团队积分变动列表",
  4050. "allOf": [
  4051. {
  4052. "$ref": "#/definitions/md.IntegralList"
  4053. }
  4054. ]
  4055. },
  4056. "personal_transfer_type_list": {
  4057. "description": "个人积分变动列表",
  4058. "allOf": [
  4059. {
  4060. "$ref": "#/definitions/md.IntegralList"
  4061. }
  4062. ]
  4063. }
  4064. }
  4065. },
  4066. "md.TransferTypeNode": {
  4067. "type": "object",
  4068. "properties": {
  4069. "name": {
  4070. "type": "string"
  4071. },
  4072. "value": {
  4073. "type": "string"
  4074. }
  4075. }
  4076. },
  4077. "md.UserFeedbackListReq": {
  4078. "type": "object",
  4079. "properties": {
  4080. "limit": {
  4081. "type": "string"
  4082. },
  4083. "page": {
  4084. "type": "string"
  4085. }
  4086. }
  4087. },
  4088. "md.UserFeedbackListResp": {
  4089. "type": "object",
  4090. "properties": {
  4091. "content": {
  4092. "type": "string"
  4093. },
  4094. "create_at": {
  4095. "type": "string"
  4096. },
  4097. "id": {
  4098. "type": "string"
  4099. },
  4100. "img": {
  4101. "type": "array",
  4102. "items": {
  4103. "type": "string"
  4104. }
  4105. },
  4106. "label": {
  4107. "type": "string"
  4108. },
  4109. "state": {
  4110. "type": "string",
  4111. "example": "0未回复 1已回复"
  4112. },
  4113. "title": {
  4114. "type": "string"
  4115. }
  4116. }
  4117. },
  4118. "md.UserFeedbackRecordReq": {
  4119. "type": "object",
  4120. "properties": {
  4121. "id": {
  4122. "type": "string"
  4123. },
  4124. "page": {
  4125. "type": "string"
  4126. }
  4127. }
  4128. },
  4129. "md.UserFeedbackRecordResp": {
  4130. "type": "object",
  4131. "properties": {
  4132. "content": {
  4133. "type": "string"
  4134. },
  4135. "create_at": {
  4136. "type": "string"
  4137. },
  4138. "head_img": {
  4139. "type": "string"
  4140. },
  4141. "nickname": {
  4142. "type": "string"
  4143. },
  4144. "type": {
  4145. "type": "string"
  4146. }
  4147. }
  4148. },
  4149. "md.UserFeedbackSaveReq": {
  4150. "type": "object",
  4151. "properties": {
  4152. "cid": {
  4153. "type": "string",
  4154. "example": "问题类型的id"
  4155. },
  4156. "content": {
  4157. "type": "string",
  4158. "example": "问题内容"
  4159. },
  4160. "idea": {
  4161. "type": "string",
  4162. "example": "建议内容"
  4163. },
  4164. "img": {
  4165. "type": "array",
  4166. "items": {
  4167. "type": "string"
  4168. },
  4169. "example": [
  4170. "图片"
  4171. ]
  4172. },
  4173. "phone": {
  4174. "type": "string"
  4175. },
  4176. "title": {
  4177. "type": "string"
  4178. },
  4179. "type": {
  4180. "type": "string",
  4181. "example": "问题类型的name"
  4182. }
  4183. }
  4184. },
  4185. "md.UserFeedbackSayReq": {
  4186. "type": "object",
  4187. "properties": {
  4188. "content": {
  4189. "type": "string",
  4190. "example": "问题内容"
  4191. },
  4192. "id": {
  4193. "type": "string",
  4194. "example": "id"
  4195. }
  4196. }
  4197. },
  4198. "md.UserInfoResp": {
  4199. "type": "object",
  4200. "properties": {
  4201. "head_img": {
  4202. "type": "string"
  4203. },
  4204. "id": {
  4205. "type": "string"
  4206. },
  4207. "invite_code": {
  4208. "type": "string"
  4209. },
  4210. "is_bind_extend": {
  4211. "type": "string",
  4212. "example": "是否绑定了上级 0否 1是"
  4213. },
  4214. "nickname": {
  4215. "type": "string"
  4216. },
  4217. "phone": {
  4218. "type": "string"
  4219. }
  4220. }
  4221. },
  4222. "md.Version": {
  4223. "type": "object",
  4224. "properties": {
  4225. "content": {
  4226. "type": "string"
  4227. },
  4228. "img": {
  4229. "type": "string"
  4230. },
  4231. "is_must": {
  4232. "type": "string"
  4233. },
  4234. "name": {
  4235. "type": "string"
  4236. },
  4237. "type": {
  4238. "type": "string"
  4239. },
  4240. "url": {
  4241. "type": "string"
  4242. },
  4243. "version": {
  4244. "type": "string"
  4245. }
  4246. }
  4247. },
  4248. "md.VersionResp": {
  4249. "type": "object",
  4250. "properties": {
  4251. "is_audit_version": {
  4252. "type": "string"
  4253. },
  4254. "version": {
  4255. "type": "array",
  4256. "items": {
  4257. "$ref": "#/definitions/md.Version"
  4258. }
  4259. }
  4260. }
  4261. },
  4262. "md.WalletFlowNode": {
  4263. "type": "object",
  4264. "properties": {
  4265. "after_amount": {
  4266. "description": "变动后金额",
  4267. "type": "string"
  4268. },
  4269. "amount": {
  4270. "description": "变动金额",
  4271. "type": "string"
  4272. },
  4273. "before_amount": {
  4274. "description": "变动前金额",
  4275. "type": "string"
  4276. },
  4277. "create_time": {
  4278. "description": "创建时间",
  4279. "type": "string"
  4280. },
  4281. "direction": {
  4282. "description": "方向:1.收入 2.支出",
  4283. "type": "integer"
  4284. },
  4285. "id": {
  4286. "type": "integer"
  4287. },
  4288. "kind": {
  4289. "description": "1:管理员操作增加余额 2:管理员操作扣除余额 3:蛋蛋能量兑换余额 4:余额兑换蛋蛋能量",
  4290. "type": "integer"
  4291. },
  4292. "memo": {
  4293. "description": "备注",
  4294. "type": "string"
  4295. },
  4296. "ord_id": {
  4297. "description": "对应订单编号",
  4298. "type": "string"
  4299. },
  4300. "state": {
  4301. "description": "1未到账,2已到账",
  4302. "type": "integer"
  4303. },
  4304. "sys_fee": {
  4305. "description": "手续费",
  4306. "type": "string"
  4307. },
  4308. "title": {
  4309. "description": "标题",
  4310. "type": "string"
  4311. },
  4312. "uid": {
  4313. "description": "用户 ID",
  4314. "type": "integer"
  4315. },
  4316. "update_time": {
  4317. "description": "更新时间",
  4318. "type": "string"
  4319. }
  4320. }
  4321. },
  4322. "md.WechatLoginReq": {
  4323. "type": "object",
  4324. "properties": {
  4325. "avatar": {
  4326. "type": "string",
  4327. "example": "头像"
  4328. },
  4329. "nickname": {
  4330. "type": "string",
  4331. "example": "昵称"
  4332. },
  4333. "open_id": {
  4334. "type": "string",
  4335. "example": "微信openId"
  4336. },
  4337. "union_id": {
  4338. "type": "string",
  4339. "example": "微信UnionId"
  4340. }
  4341. }
  4342. },
  4343. "md.WithdrawGetAmountResp": {
  4344. "type": "object",
  4345. "properties": {
  4346. "amount": {
  4347. "description": "余额",
  4348. "type": "string"
  4349. }
  4350. }
  4351. },
  4352. "model.ImSendRedPackageOrd": {
  4353. "type": "object",
  4354. "properties": {
  4355. "amount": {
  4356. "type": "string"
  4357. },
  4358. "create_time": {
  4359. "type": "string"
  4360. },
  4361. "id": {
  4362. "type": "integer"
  4363. },
  4364. "im_data": {
  4365. "type": "string"
  4366. },
  4367. "im_uid": {
  4368. "type": "integer"
  4369. },
  4370. "ord_no": {
  4371. "type": "string"
  4372. },
  4373. "received_im_user_ids": {
  4374. "type": "string"
  4375. },
  4376. "received_times": {
  4377. "type": "string"
  4378. },
  4379. "received_user_amount": {
  4380. "type": "string"
  4381. },
  4382. "received_user_ids": {
  4383. "type": "string"
  4384. },
  4385. "red_packet_balance_amount": {
  4386. "type": "string"
  4387. },
  4388. "red_packet_balance_nums": {
  4389. "type": "integer"
  4390. },
  4391. "red_packet_nums": {
  4392. "type": "integer"
  4393. },
  4394. "red_packet_type": {
  4395. "type": "integer"
  4396. },
  4397. "state": {
  4398. "type": "integer"
  4399. },
  4400. "uid": {
  4401. "type": "integer"
  4402. },
  4403. "update_time": {
  4404. "type": "string"
  4405. },
  4406. "wait_draw_im_user_ids": {
  4407. "type": "string"
  4408. },
  4409. "wait_draw_user_ids": {
  4410. "type": "string"
  4411. }
  4412. }
  4413. },
  4414. "pb.SendRedPacketResp": {
  4415. "type": "object",
  4416. "properties": {
  4417. "seq": {
  4418. "description": "消息序列号",
  4419. "type": "integer"
  4420. }
  4421. }
  4422. }
  4423. }
  4424. }