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

4131 lines
137 KiB

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