蛋蛋星球-客户端
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 

3414 linhas
84 KiB

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