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

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