蛋蛋星球-客户端
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

swagger.yaml 37 KiB

1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
1 개월 전
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493
  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. md.AdvertisingBasic:
  16. properties:
  17. android_ad_is_open:
  18. example: 安卓广告是否开启(1:开启 0:不开启)
  19. type: string
  20. android_open_ad_is_open:
  21. example: 安卓开屏广告是否开启(1:开启 0:不开启)
  22. type: string
  23. info:
  24. additionalProperties: true
  25. type: object
  26. ios_ad_is_open:
  27. example: ios广告是否开启(1:开启 0:不开启)
  28. type: string
  29. ios_open_ad_is_open:
  30. example: ios开屏广告是否开启(1:开启 0:不开启)
  31. type: string
  32. voice:
  33. example: 领取声音
  34. type: string
  35. type: object
  36. md.AdvertisingFunction:
  37. properties:
  38. ad_id:
  39. example: 广告id
  40. type: string
  41. name:
  42. example: 名称
  43. type: string
  44. type:
  45. example: 位置
  46. type: string
  47. type: object
  48. md.AdvertisingLimit:
  49. properties:
  50. public_img:
  51. example: 公共弹窗图
  52. type: string
  53. public_str:
  54. example: 公共弹窗文字
  55. type: string
  56. withdraw_img:
  57. example: 提现弹窗图
  58. type: string
  59. withdraw_str:
  60. example: 提现弹窗文字
  61. type: string
  62. type: object
  63. md.AdvertisingReq:
  64. properties:
  65. id:
  66. type: string
  67. type: object
  68. md.AdvertisingResp:
  69. properties:
  70. basic:
  71. $ref: '#/definitions/md.AdvertisingBasic'
  72. function:
  73. items:
  74. $ref: '#/definitions/md.AdvertisingFunction'
  75. type: array
  76. pop:
  77. $ref: '#/definitions/md.AdvertisingLimit'
  78. space:
  79. items:
  80. $ref: '#/definitions/md.AdvertisingSpace'
  81. type: array
  82. type: object
  83. md.AdvertisingSpace:
  84. properties:
  85. counting_down:
  86. example: 倒计时 x秒
  87. type: string
  88. id:
  89. example: id
  90. type: string
  91. info:
  92. additionalProperties: true
  93. type: object
  94. kind:
  95. example: 广告类型(1:开屏广告 2:插屏广告 3:激励视频 4:信息流广告)
  96. type: string
  97. name:
  98. example: 名称
  99. type: string
  100. type: object
  101. md.BasalRateResp:
  102. properties:
  103. basal_rate:
  104. description: 基础速率
  105. type: string
  106. consumed_egg_energy:
  107. description: 收益蛋蛋能量
  108. type: string
  109. consumed_egg_point:
  110. description: 消耗蛋蛋积分
  111. type: string
  112. consumed_time:
  113. description: 消耗时间/小时
  114. type: string
  115. estimated_revenue:
  116. description: 预估收益蛋蛋能量
  117. type: string
  118. remaining_egg_energy:
  119. description: 剩余蛋蛋能量
  120. type: string
  121. remaining_time:
  122. description: 剩余时间/小时
  123. type: string
  124. sign_countdown:
  125. description: 收益倒计时
  126. type: string
  127. type: object
  128. md.ConfigResp:
  129. properties:
  130. content:
  131. example: 软件使用协议内容
  132. type: string
  133. privacy_title:
  134. example: 隐私协议标题
  135. type: string
  136. privacy_url:
  137. example: 隐私协议链接
  138. type: string
  139. title:
  140. example: 软件使用协议标题
  141. type: string
  142. user_title:
  143. example: 用户协议标题
  144. type: string
  145. user_url:
  146. example: 用户协议链接
  147. type: string
  148. type: object
  149. md.ContributionValueFlowNode:
  150. properties:
  151. amount:
  152. description: 变更数量
  153. type: string
  154. create_at:
  155. description: 完成时间
  156. type: string
  157. direction:
  158. description: 方向: 1.收入 2.支出
  159. type: string
  160. title:
  161. description: 标题
  162. type: string
  163. type: object
  164. md.EggEnergyDetailReq:
  165. properties:
  166. asc:
  167. description: 1.升序 2.倒序
  168. type: string
  169. direction:
  170. description: 类型 1.收入 2.支出 全部则传空
  171. type: string
  172. kind:
  173. description: 类型:1. 个人蛋蛋能量 2.团队蛋蛋能量
  174. type: string
  175. limit:
  176. description: 每页大小
  177. type: integer
  178. page:
  179. description: 页数
  180. type: integer
  181. type:
  182. description: 变动类型 全部则传空
  183. type: string
  184. type: object
  185. md.EggEnergyDetailResp:
  186. properties:
  187. list:
  188. description: 流水数据
  189. items:
  190. additionalProperties:
  191. type: string
  192. type: object
  193. type: array
  194. paginate:
  195. allOf:
  196. - $ref: '#/definitions/applet_app_md.Paginate'
  197. description: 分页信息
  198. person_egg_energy:
  199. description: 个人蛋蛋能量
  200. type: string
  201. team_egg_energy:
  202. description: 团队蛋蛋能量
  203. type: string
  204. total_egg_energy:
  205. description: 总蛋蛋能量
  206. type: string
  207. total_egg_energy_price:
  208. description: 蛋蛋能量总价
  209. type: string
  210. transfer_type_list:
  211. allOf:
  212. - $ref: '#/definitions/md.TransferTypeList'
  213. description: 转账类型列表
  214. type: object
  215. md.EggPointDetailsReq:
  216. properties:
  217. asc:
  218. description: 1.升序 2.倒序
  219. type: string
  220. direction:
  221. description: 类型 1.收入 2.支出 全部则传空
  222. type: string
  223. kind:
  224. description: 类型:1. 个人蛋蛋积分 2.团队蛋蛋积分
  225. type: string
  226. limit:
  227. description: 每页大小
  228. type: integer
  229. page:
  230. description: 页数
  231. type: integer
  232. type:
  233. description: 变动类型 全部则传空
  234. type: string
  235. type: object
  236. md.EggPointDetailsResp:
  237. properties:
  238. list:
  239. description: 流水数据
  240. items:
  241. additionalProperties:
  242. type: string
  243. type: object
  244. type: array
  245. paginate:
  246. allOf:
  247. - $ref: '#/definitions/applet_app_md.Paginate'
  248. description: 分页信息
  249. person_egg_points:
  250. description: 个人蛋蛋积分
  251. type: string
  252. team_egg_points:
  253. description: 团队蛋蛋积分
  254. type: string
  255. total_egg_points:
  256. description: 总蛋蛋积分
  257. type: string
  258. total_egg_points_amount:
  259. description: 蛋蛋积分余额
  260. type: string
  261. transfer_type_list:
  262. allOf:
  263. - $ref: '#/definitions/md.TransferTypeList'
  264. description: 转账类型列表
  265. type: object
  266. md.ExchangeEnergyReq:
  267. properties:
  268. energy_amount:
  269. description: 兑换能量数值
  270. type: string
  271. type: object
  272. md.FastLoginReq:
  273. properties:
  274. invite_code:
  275. example: 邀请码
  276. type: string
  277. token:
  278. example: 一键登录的token
  279. type: string
  280. type: object
  281. md.FindPasswordReq:
  282. properties:
  283. code:
  284. example: 验证码
  285. type: string
  286. mobile:
  287. type: string
  288. password:
  289. example: 密码 如 123
  290. type: string
  291. required:
  292. - mobile
  293. type: object
  294. md.GetContributionValueFlowResp:
  295. properties:
  296. list:
  297. items:
  298. $ref: '#/definitions/md.ContributionValueFlowNode'
  299. type: array
  300. paginate:
  301. $ref: '#/definitions/applet_app_md.Paginate'
  302. type: object
  303. md.GetContributionValueResp:
  304. properties:
  305. contribution_value:
  306. description: 贡献值
  307. type: string
  308. ratio:
  309. description: 兑换比率(x 分兑换 1 人民币)
  310. type: string
  311. type: object
  312. md.GetPriceCurveResp:
  313. properties:
  314. x_data:
  315. items: {}
  316. type: array
  317. y_data:
  318. items: {}
  319. type: array
  320. type: object
  321. md.HomePageResp:
  322. properties:
  323. egg_energy_now_price:
  324. description: 蛋蛋能量当前价格
  325. type: string
  326. initial_price:
  327. description: 蛋蛋能量初始价格
  328. type: string
  329. is_rises:
  330. description: 是否涨价
  331. type: boolean
  332. is_sign:
  333. description: 是否开始签到
  334. type: boolean
  335. nick_name:
  336. description: 用户名称
  337. type: string
  338. now_basal_rate:
  339. description: 当前基础速率/小时
  340. type: string
  341. now_team_rate:
  342. description: 当前团队速率/小时
  343. type: string
  344. rises:
  345. description: 涨/跌价百分比
  346. type: string
  347. sign_end_time:
  348. description: 签到截止时间
  349. type: string
  350. total_active_points:
  351. description: 总蛋蛋积分
  352. type: string
  353. total_egg_energy:
  354. description: 总蛋蛋能量
  355. type: string
  356. user_count:
  357. description: 当前用户数量
  358. type: integer
  359. type: object
  360. md.HomePageWatchAdRuleResp:
  361. properties:
  362. each_round_hour:
  363. description: 每一轮X个小时
  364. type: string
  365. interval_minutes:
  366. description: 间隔X秒
  367. type: string
  368. reward_total_num:
  369. description: 一共X个奖励视屏
  370. type: string
  371. reward_value:
  372. description: 奖励X个活跃积分
  373. type: string
  374. type: object
  375. md.IntegralList:
  376. properties:
  377. expend_list:
  378. description: 支出类型列表
  379. items:
  380. $ref: '#/definitions/md.TransferTypeNode'
  381. type: array
  382. income_list:
  383. description: 收入类型列表
  384. items:
  385. $ref: '#/definitions/md.TransferTypeNode'
  386. type: array
  387. type: object
  388. md.IsCanGetRedPackageResp:
  389. properties:
  390. is_can_get_red_package:
  391. type: boolean
  392. type: object
  393. md.IsCanSignInResp:
  394. properties:
  395. is_can_sign_in:
  396. type: boolean
  397. type: object
  398. md.LoginReq:
  399. properties:
  400. code:
  401. example: 验证码
  402. type: string
  403. password:
  404. example: 登录密码
  405. type: string
  406. phone:
  407. example: 手机号
  408. type: string
  409. required:
  410. - password
  411. - phone
  412. type: object
  413. md.LoginResponse:
  414. properties:
  415. token:
  416. type: string
  417. type: object
  418. md.MemberCenterGetBasicResp:
  419. properties:
  420. active_num:
  421. description: 活跃值
  422. type: string
  423. amount:
  424. description: 账户余额
  425. type: string
  426. contribution_value:
  427. description: 贡献值
  428. type: string
  429. date:
  430. description: 兑换时间(每月x日)
  431. type: string
  432. egg_energy:
  433. description: 能量值
  434. type: string
  435. egg_energy_value:
  436. description: 能量预估价值
  437. type: string
  438. egg_score:
  439. description: 蛋蛋分
  440. type: string
  441. level_name:
  442. description: 会员等级名称
  443. type: string
  444. nickname:
  445. description: 会员名称
  446. type: string
  447. ratio:
  448. description: 兑换比例(x:y)
  449. type: string
  450. type: object
  451. md.MyFansResp:
  452. properties:
  453. now_team_assistance_num:
  454. description: 团队助力人数
  455. type: integer
  456. now_team_assistance_reward:
  457. description: 团队助力收益
  458. type: string
  459. now_team_user:
  460. description: 团队人数
  461. type: integer
  462. type: object
  463. md.MyFansUserListResp:
  464. properties:
  465. list:
  466. items:
  467. $ref: '#/definitions/md.OneLineUserNode'
  468. type: array
  469. type: object
  470. md.NineDimensionalSpaceResp:
  471. properties:
  472. a_lot_of_nums:
  473. description: 全网至多用户数
  474. type: string
  475. day_num:
  476. description: 连续x天不活跃
  477. type: string
  478. rows:
  479. description: 行数
  480. type: string
  481. space_list:
  482. description: 数据列表
  483. items:
  484. $ref: '#/definitions/md.SpaceListNode'
  485. type: array
  486. space_nums:
  487. description: 空间人数
  488. type: string
  489. space_total_nums:
  490. description: 空间总数
  491. type: string
  492. times:
  493. description: 排数
  494. type: string
  495. type: object
  496. md.OneLineUserNode:
  497. properties:
  498. avatar_url:
  499. type: string
  500. invite_time:
  501. type: string
  502. is_online:
  503. type: boolean
  504. nickname:
  505. type: string
  506. type: object
  507. md.PointsCenterGetBasicResp:
  508. properties:
  509. available_cash:
  510. description: 可用现金
  511. type: string
  512. available_energy:
  513. description: 可用能量
  514. type: string
  515. type: object
  516. md.RealTimePriceResp:
  517. properties:
  518. is_rises:
  519. type: boolean
  520. now_price:
  521. type: string
  522. rises:
  523. type: string
  524. user_count:
  525. type: string
  526. type: object
  527. md.RegisterReq:
  528. properties:
  529. avatar:
  530. example: 头像
  531. type: string
  532. code:
  533. example: 验证码
  534. type: string
  535. invite_code:
  536. example: 邀请码
  537. type: string
  538. mobile:
  539. type: string
  540. nickname:
  541. example: 昵称
  542. type: string
  543. open_id:
  544. example: 微信openId
  545. type: string
  546. password:
  547. example: 密码 如 123
  548. type: string
  549. sex:
  550. description: 性别(0:未知 1:男 2:女)
  551. type: integer
  552. type:
  553. example: app:APP注册、h5:H5注册
  554. type: string
  555. union_id:
  556. example: 微信UnionId
  557. type: string
  558. required:
  559. - mobile
  560. type: object
  561. md.Response:
  562. properties:
  563. code:
  564. example: 响应码
  565. type: string
  566. data:
  567. description: 内容
  568. msg:
  569. example: 具体错误原因
  570. type: string
  571. type: object
  572. md.SmsSendReq:
  573. properties:
  574. captcha_output:
  575. example: 阿里云图形验证码对应参数
  576. type: string
  577. gen_time:
  578. example: 阿里云图形验证码对应参数
  579. type: string
  580. lot_number:
  581. example: 阿里云图形验证码对应参数
  582. type: string
  583. mobile:
  584. type: string
  585. pass_token:
  586. example: 阿里云图形验证码对应参数
  587. type: string
  588. type:
  589. example: h5Register:h5注册页、wechatBindPhone:微信绑定手机、login:登陆、findPwd:找回密码、changePwd:修改密码
  590. type: string
  591. required:
  592. - mobile
  593. type: object
  594. md.SpaceListNode:
  595. properties:
  596. max_count:
  597. description: 最大容纳人数
  598. type: string
  599. name:
  600. description: 维度
  601. type: string
  602. now_count:
  603. description: 当前人数
  604. type: string
  605. type: object
  606. md.TotalRateResp:
  607. properties:
  608. consumed_personal_egg_point:
  609. description: 消耗个人蛋蛋积分
  610. type: string
  611. consumed_team_egg_point:
  612. description: 消耗团队蛋蛋积分
  613. type: string
  614. now_basal_rate:
  615. description: 当前基础速率/小时
  616. type: string
  617. now_team_rate:
  618. description: 当前团队速率/小时
  619. type: string
  620. now_total_rate:
  621. description: 总速率/小时
  622. type: string
  623. type: object
  624. md.TransferTypeList:
  625. properties:
  626. TeamTransferTypeList:
  627. allOf:
  628. - $ref: '#/definitions/md.IntegralList'
  629. description: 团队积分变动列表
  630. personal_transfer_type_list:
  631. allOf:
  632. - $ref: '#/definitions/md.IntegralList'
  633. description: 个人积分变动列表
  634. type: object
  635. md.TransferTypeNode:
  636. properties:
  637. name:
  638. type: string
  639. value:
  640. type: string
  641. type: object
  642. md.UserInfoResp:
  643. properties:
  644. head_img:
  645. type: string
  646. id:
  647. type: string
  648. invite_code:
  649. type: string
  650. is_bind_extend:
  651. example: 是否绑定了上级 0否 1是
  652. type: string
  653. nickname:
  654. type: string
  655. phone:
  656. type: string
  657. type: object
  658. md.WechatLoginReq:
  659. properties:
  660. avatar:
  661. example: 头像
  662. type: string
  663. nickname:
  664. example: 昵称
  665. type: string
  666. open_id:
  667. example: 微信openId
  668. type: string
  669. union_id:
  670. example: 微信UnionId
  671. type: string
  672. type: object
  673. host: ddxq.izhim.com
  674. info:
  675. contact:
  676. email: 1239118001@qq.com
  677. name: dengbiao
  678. url: http://www.swagger.io/support
  679. description: APP客户端-Api接口
  680. license:
  681. name: Apache 2.0
  682. url: http://www.apache.org/licenses/LICENSE-2.0.html
  683. termsOfService: http://swagger.io/terms/
  684. title: 蛋蛋星球-APP客户端
  685. version: "1.0"
  686. paths:
  687. /api/v1/addFriend/basalRate:
  688. get:
  689. consumes:
  690. - application/json
  691. description: 基础速率(获取)
  692. parameters:
  693. - description: 验证参数Bearer和token空格拼接
  694. in: header
  695. name: Authorization
  696. required: true
  697. type: string
  698. produces:
  699. - application/json
  700. responses:
  701. "200":
  702. description: 具体数据
  703. schema:
  704. $ref: '#/definitions/md.BasalRateResp'
  705. "400":
  706. description: 具体错误
  707. schema:
  708. $ref: '#/definitions/md.Response'
  709. summary: 蛋蛋星球-添加好友-基础速率(获取)
  710. tags:
  711. - 添加好友
  712. /api/v1/addFriend/eggEnergyDetails:
  713. post:
  714. consumes:
  715. - application/json
  716. description: 蛋蛋能量明细(获取)
  717. parameters:
  718. - description: 验证参数Bearer和token空格拼接
  719. in: header
  720. name: Authorization
  721. required: true
  722. type: string
  723. - description: 分页类型必填
  724. in: body
  725. name: req
  726. required: true
  727. schema:
  728. $ref: '#/definitions/md.EggEnergyDetailReq'
  729. produces:
  730. - application/json
  731. responses:
  732. "200":
  733. description: 具体数据
  734. schema:
  735. $ref: '#/definitions/md.EggEnergyDetailResp'
  736. "400":
  737. description: 具体错误
  738. schema:
  739. $ref: '#/definitions/md.Response'
  740. summary: 蛋蛋星球-添加好友-蛋蛋能量明细(获取)
  741. tags:
  742. - 添加好友
  743. /api/v1/addFriend/eggPointDetails:
  744. post:
  745. consumes:
  746. - application/json
  747. description: 蛋蛋积分明细(获取)
  748. parameters:
  749. - description: 验证参数Bearer和token空格拼接
  750. in: header
  751. name: Authorization
  752. required: true
  753. type: string
  754. - description: 分页类型必填
  755. in: body
  756. name: req
  757. required: true
  758. schema:
  759. $ref: '#/definitions/md.EggPointDetailsReq'
  760. produces:
  761. - application/json
  762. responses:
  763. "200":
  764. description: 具体数据
  765. schema:
  766. $ref: '#/definitions/md.EggPointDetailsResp'
  767. "400":
  768. description: 具体错误
  769. schema:
  770. $ref: '#/definitions/md.Response'
  771. summary: 蛋蛋星球-添加好友-蛋蛋积分明细(获取)
  772. tags:
  773. - 添加好友
  774. /api/v1/addFriend/myFans:
  775. get:
  776. consumes:
  777. - application/json
  778. description: 团队加速速率(获取)
  779. parameters:
  780. - description: 验证参数Bearer和token空格拼接
  781. in: header
  782. name: Authorization
  783. required: true
  784. type: string
  785. produces:
  786. - application/json
  787. responses:
  788. "200":
  789. description: 具体数据
  790. schema:
  791. $ref: '#/definitions/md.MyFansResp'
  792. "400":
  793. description: 具体错误
  794. schema:
  795. $ref: '#/definitions/md.Response'
  796. summary: 蛋蛋星球-添加好友-粉丝团队-我的粉丝-团队加速速率(获取)
  797. tags:
  798. - 添加好友
  799. /api/v1/addFriend/myFansUserList:
  800. get:
  801. consumes:
  802. - application/json
  803. description: 在线好友列表(获取)
  804. parameters:
  805. - description: 验证参数Bearer和token空格拼接
  806. in: header
  807. name: Authorization
  808. required: true
  809. type: string
  810. - description: 每页大小
  811. in: query
  812. name: limit
  813. required: true
  814. type: integer
  815. - description: 页数
  816. in: query
  817. name: page
  818. required: true
  819. type: integer
  820. produces:
  821. - application/json
  822. responses:
  823. "200":
  824. description: 具体数据
  825. schema:
  826. $ref: '#/definitions/md.MyFansUserListResp'
  827. "400":
  828. description: 具体错误
  829. schema:
  830. $ref: '#/definitions/md.Response'
  831. summary: 蛋蛋星球-添加好友-粉丝团队-我的粉丝-在线好友列表(获取)
  832. tags:
  833. - 添加好友
  834. /api/v1/addFriend/nineDimensionalSpace:
  835. get:
  836. consumes:
  837. - application/json
  838. description: 九维空间(获取)
  839. parameters:
  840. - description: 验证参数Bearer和token空格拼接
  841. in: header
  842. name: Authorization
  843. required: true
  844. type: string
  845. produces:
  846. - application/json
  847. responses:
  848. "200":
  849. description: 具体数据
  850. schema:
  851. $ref: '#/definitions/md.NineDimensionalSpaceResp'
  852. "400":
  853. description: 具体错误
  854. schema:
  855. $ref: '#/definitions/md.Response'
  856. summary: 蛋蛋星球-添加好友-粉丝团队-九维空间(获取)
  857. tags:
  858. - 添加好友
  859. /api/v1/addFriend/totalRate:
  860. get:
  861. consumes:
  862. - application/json
  863. description: 总速率(获取)
  864. parameters:
  865. - description: 验证参数Bearer和token空格拼接
  866. in: header
  867. name: Authorization
  868. required: true
  869. type: string
  870. produces:
  871. - application/json
  872. responses:
  873. "200":
  874. description: 具体数据
  875. schema:
  876. $ref: '#/definitions/md.TotalRateResp'
  877. "400":
  878. description: 具体错误
  879. schema:
  880. $ref: '#/definitions/md.Response'
  881. summary: 蛋蛋星球-添加好友-总速率(获取)
  882. tags:
  883. - 添加好友
  884. /api/v1/advertising:
  885. get:
  886. consumes:
  887. - application/json
  888. description: 广告位
  889. parameters:
  890. - description: 验证参数Bearer和token空格拼接
  891. in: header
  892. name: Authorization
  893. required: true
  894. type: string
  895. produces:
  896. - application/json
  897. responses:
  898. "200":
  899. description: 具体数据
  900. schema:
  901. $ref: '#/definitions/md.AdvertisingResp'
  902. "400":
  903. description: 具体错误
  904. schema:
  905. $ref: '#/definitions/md.Response'
  906. summary: 广告位
  907. tags:
  908. - 广告位
  909. /api/v1/advertising/detail:
  910. post:
  911. consumes:
  912. - application/json
  913. description: 广告位详情
  914. parameters:
  915. - description: 验证参数Bearer和token空格拼接
  916. in: header
  917. name: Authorization
  918. required: true
  919. type: string
  920. - description: 注册参数
  921. in: body
  922. name: req
  923. required: true
  924. schema:
  925. $ref: '#/definitions/md.AdvertisingReq'
  926. produces:
  927. - application/json
  928. responses:
  929. "200":
  930. description: 具体数据
  931. schema:
  932. $ref: '#/definitions/md.AdvertisingSpace'
  933. "400":
  934. description: 具体错误
  935. schema:
  936. $ref: '#/definitions/md.Response'
  937. summary: 广告位详情
  938. tags:
  939. - 广告位详情
  940. /api/v1/comm/getOssUrl:
  941. get:
  942. consumes:
  943. - application/json
  944. description: 上传许可链接(获取)
  945. parameters:
  946. - description: 验证参数Bearer和token空格拼接
  947. in: header
  948. name: Authorization
  949. required: true
  950. type: string
  951. produces:
  952. - application/json
  953. responses:
  954. "200":
  955. description: 许可链接
  956. schema:
  957. type: string
  958. "400":
  959. description: 具体错误
  960. schema:
  961. $ref: '#/definitions/md.Response'
  962. summary: 通用请求-对象存储-上传许可链接(获取)
  963. tags:
  964. - 对象存储
  965. /api/v1/config:
  966. get:
  967. consumes:
  968. - application/json
  969. description: 基本配置
  970. parameters:
  971. - description: 验证参数Bearer和token空格拼接
  972. in: header
  973. name: Authorization
  974. required: true
  975. type: string
  976. produces:
  977. - application/json
  978. responses:
  979. "200":
  980. description: 具体数据
  981. schema:
  982. $ref: '#/definitions/md.ConfigResp'
  983. "400":
  984. description: 具体错误
  985. schema:
  986. $ref: '#/definitions/md.Response'
  987. summary: 基本配置
  988. tags:
  989. - 基本配置
  990. /api/v1/fastLogin:
  991. post:
  992. consumes:
  993. - application/json
  994. description: 一键登录
  995. parameters:
  996. - description: 注册参数
  997. in: body
  998. name: req
  999. required: true
  1000. schema:
  1001. $ref: '#/definitions/md.FastLoginReq'
  1002. produces:
  1003. - application/json
  1004. responses:
  1005. "200":
  1006. description: 登录成功返回
  1007. schema:
  1008. $ref: '#/definitions/md.LoginResponse'
  1009. "400":
  1010. description: 具体错误
  1011. schema:
  1012. $ref: '#/definitions/md.Response'
  1013. summary: 一键登录
  1014. tags:
  1015. - 一键登录
  1016. /api/v1/findPassword:
  1017. post:
  1018. consumes:
  1019. - application/json
  1020. description: 注册
  1021. parameters:
  1022. - description: 注册参数
  1023. in: body
  1024. name: req
  1025. required: true
  1026. schema:
  1027. $ref: '#/definitions/md.FindPasswordReq'
  1028. produces:
  1029. - application/json
  1030. responses:
  1031. "200":
  1032. description: 登录成功返回
  1033. schema:
  1034. type: string
  1035. "400":
  1036. description: 具体错误
  1037. schema:
  1038. $ref: '#/definitions/md.Response'
  1039. summary: 注册
  1040. tags:
  1041. - 注册
  1042. /api/v1/homePage/adRule:
  1043. get:
  1044. consumes:
  1045. - application/json
  1046. description: 视频奖励规则(获取)
  1047. parameters:
  1048. - description: 验证参数Bearer和token空格拼接
  1049. in: header
  1050. name: Authorization
  1051. required: true
  1052. type: string
  1053. produces:
  1054. - application/json
  1055. responses:
  1056. "200":
  1057. description: 具体数据
  1058. schema:
  1059. $ref: '#/definitions/md.HomePageWatchAdRuleResp'
  1060. "400":
  1061. description: 具体错误
  1062. schema:
  1063. $ref: '#/definitions/md.Response'
  1064. summary: 蛋蛋星球-主页-视频奖励规则(获取)
  1065. tags:
  1066. - 主页
  1067. /api/v1/homePage/index:
  1068. get:
  1069. consumes:
  1070. - application/json
  1071. description: 基础信息(获取)
  1072. parameters:
  1073. - description: 验证参数Bearer和token空格拼接
  1074. in: header
  1075. name: Authorization
  1076. required: true
  1077. type: string
  1078. produces:
  1079. - application/json
  1080. responses:
  1081. "200":
  1082. description: 具体数据
  1083. schema:
  1084. $ref: '#/definitions/md.HomePageResp'
  1085. "400":
  1086. description: 具体错误
  1087. schema:
  1088. $ref: '#/definitions/md.Response'
  1089. summary: 蛋蛋星球-主页-基础信息(获取)
  1090. tags:
  1091. - 主页
  1092. /api/v1/homePage/isCanGetRedPackage:
  1093. get:
  1094. consumes:
  1095. - application/json
  1096. description: 是否可以领取红包(获取)
  1097. parameters:
  1098. - description: 验证参数Bearer和token空格拼接
  1099. in: header
  1100. name: Authorization
  1101. required: true
  1102. type: string
  1103. produces:
  1104. - application/json
  1105. responses:
  1106. "200":
  1107. description: 具体数据
  1108. schema:
  1109. $ref: '#/definitions/md.IsCanGetRedPackageResp'
  1110. "400":
  1111. description: 具体错误
  1112. schema:
  1113. $ref: '#/definitions/md.Response'
  1114. summary: 蛋蛋星球-主页-是否领取红包(获取)
  1115. tags:
  1116. - 主页
  1117. /api/v1/homePage/isCanSignIn:
  1118. get:
  1119. consumes:
  1120. - application/json
  1121. description: 是否可以签到(获取)
  1122. parameters:
  1123. - description: 验证参数Bearer和token空格拼接
  1124. in: header
  1125. name: Authorization
  1126. required: true
  1127. type: string
  1128. produces:
  1129. - application/json
  1130. responses:
  1131. "200":
  1132. description: 具体数据
  1133. schema:
  1134. $ref: '#/definitions/md.IsCanSignInResp'
  1135. "400":
  1136. description: 具体错误
  1137. schema:
  1138. $ref: '#/definitions/md.Response'
  1139. summary: 蛋蛋星球-主页-是否能签到(获取)
  1140. tags:
  1141. - 主页
  1142. /api/v1/homePage/realTimePrice:
  1143. get:
  1144. consumes:
  1145. - application/json
  1146. description: 实时数据(获取)
  1147. parameters:
  1148. - description: 验证参数Bearer和token空格拼接
  1149. in: header
  1150. name: Authorization
  1151. required: true
  1152. type: string
  1153. produces:
  1154. - application/json
  1155. responses:
  1156. "200":
  1157. description: 具体数据
  1158. schema:
  1159. $ref: '#/definitions/md.RealTimePriceResp'
  1160. "400":
  1161. description: 具体错误
  1162. schema:
  1163. $ref: '#/definitions/md.Response'
  1164. summary: 蛋蛋星球-主页-实时数据(获取)
  1165. tags:
  1166. - 主页
  1167. /api/v1/login:
  1168. post:
  1169. consumes:
  1170. - application/json
  1171. description: 登入
  1172. parameters:
  1173. - description: 用户名密码
  1174. in: body
  1175. name: req
  1176. required: true
  1177. schema:
  1178. $ref: '#/definitions/md.LoginReq'
  1179. produces:
  1180. - application/json
  1181. responses:
  1182. "200":
  1183. description: token
  1184. schema:
  1185. $ref: '#/definitions/md.LoginResponse'
  1186. "400":
  1187. description: 具体错误
  1188. schema:
  1189. $ref: '#/definitions/md.Response'
  1190. summary: 登陆
  1191. tags:
  1192. - 登录
  1193. /api/v1/memberCenter/getBasic:
  1194. get:
  1195. consumes:
  1196. - application/json
  1197. description: 基础数据(获取)
  1198. parameters:
  1199. - description: 验证参数Bearer和token空格拼接
  1200. in: header
  1201. name: Authorization
  1202. required: true
  1203. type: string
  1204. produces:
  1205. - application/json
  1206. responses:
  1207. "200":
  1208. description: 具体数据
  1209. schema:
  1210. $ref: '#/definitions/md.MemberCenterGetBasicResp'
  1211. "400":
  1212. description: 具体错误
  1213. schema:
  1214. $ref: '#/definitions/md.Response'
  1215. summary: 蛋蛋星球-会员中心-基础数据(获取)
  1216. tags:
  1217. - 会员中心
  1218. /api/v1/pointsCenter/contributionValue:
  1219. get:
  1220. consumes:
  1221. - application/json
  1222. description: 贡献值(获取)
  1223. parameters:
  1224. - description: 验证参数Bearer和token空格拼接
  1225. in: header
  1226. name: Authorization
  1227. required: true
  1228. type: string
  1229. produces:
  1230. - application/json
  1231. responses:
  1232. "200":
  1233. description: 具体数据
  1234. schema:
  1235. $ref: '#/definitions/md.GetContributionValueResp'
  1236. "400":
  1237. description: 具体错误
  1238. schema:
  1239. $ref: '#/definitions/md.Response'
  1240. summary: 蛋蛋星球-积分中心-贡献值(获取)
  1241. tags:
  1242. - 积分中心
  1243. /api/v1/pointsCenter/contributionValueFlow:
  1244. get:
  1245. consumes:
  1246. - application/json
  1247. description: 贡献值明细(获取)
  1248. parameters:
  1249. - description: 验证参数Bearer和token空格拼接
  1250. in: header
  1251. name: Authorization
  1252. required: true
  1253. type: string
  1254. - description: 每页大小
  1255. in: query
  1256. name: limit
  1257. required: true
  1258. type: integer
  1259. - description: 页数
  1260. in: query
  1261. name: page
  1262. required: true
  1263. type: integer
  1264. produces:
  1265. - application/json
  1266. responses:
  1267. "200":
  1268. description: 具体数据
  1269. schema:
  1270. $ref: '#/definitions/md.GetContributionValueFlowResp'
  1271. "400":
  1272. description: 具体错误
  1273. schema:
  1274. $ref: '#/definitions/md.Response'
  1275. summary: 蛋蛋星球-积分中心-贡献值明细(获取)
  1276. tags:
  1277. - 积分中心
  1278. /api/v1/pointsCenter/exchangeEnergy:
  1279. post:
  1280. consumes:
  1281. - application/json
  1282. description: 能量兑换
  1283. parameters:
  1284. - description: 验证参数Bearer和token空格拼接
  1285. in: header
  1286. name: Authorization
  1287. required: true
  1288. type: string
  1289. - description: 需要兑换的能量值
  1290. in: body
  1291. name: req
  1292. required: true
  1293. schema:
  1294. $ref: '#/definitions/md.ExchangeEnergyReq'
  1295. produces:
  1296. - application/json
  1297. responses:
  1298. "200":
  1299. description: success
  1300. schema:
  1301. type: string
  1302. "400":
  1303. description: 具体错误
  1304. schema:
  1305. $ref: '#/definitions/md.Response'
  1306. summary: 蛋蛋星球-积分中心-能量兑换
  1307. tags:
  1308. - 积分中心
  1309. /api/v1/pointsCenter/getBasic:
  1310. get:
  1311. consumes:
  1312. - application/json
  1313. description: 基础信息(获取)
  1314. parameters:
  1315. - description: 验证参数Bearer和token空格拼接
  1316. in: header
  1317. name: Authorization
  1318. required: true
  1319. type: string
  1320. produces:
  1321. - application/json
  1322. responses:
  1323. "200":
  1324. description: 具体数据
  1325. schema:
  1326. $ref: '#/definitions/md.PointsCenterGetBasicResp'
  1327. "400":
  1328. description: 具体错误
  1329. schema:
  1330. $ref: '#/definitions/md.Response'
  1331. summary: 蛋蛋星球-积分中心-基础信息(获取)
  1332. tags:
  1333. - 积分中心
  1334. /api/v1/pointsCenter/priceCurve:
  1335. get:
  1336. consumes:
  1337. - application/json
  1338. description: 价格趋势(获取)
  1339. parameters:
  1340. - description: 验证参数Bearer和token空格拼接
  1341. in: header
  1342. name: Authorization
  1343. required: true
  1344. type: string
  1345. - description: 1:按天 2:按小时 3:按周
  1346. in: query
  1347. name: kind
  1348. type: string
  1349. produces:
  1350. - application/json
  1351. responses:
  1352. "200":
  1353. description: 具体数据
  1354. schema:
  1355. $ref: '#/definitions/md.GetPriceCurveResp'
  1356. "400":
  1357. description: 具体错误
  1358. schema:
  1359. $ref: '#/definitions/md.Response'
  1360. summary: 蛋蛋星球-积分中心-价格趋势(获取)
  1361. tags:
  1362. - 积分中心
  1363. /api/v1/register:
  1364. post:
  1365. consumes:
  1366. - application/json
  1367. description: 注册
  1368. parameters:
  1369. - description: 注册参数
  1370. in: body
  1371. name: req
  1372. required: true
  1373. schema:
  1374. $ref: '#/definitions/md.RegisterReq'
  1375. produces:
  1376. - application/json
  1377. responses:
  1378. "200":
  1379. description: 登录成功返回
  1380. schema:
  1381. $ref: '#/definitions/md.LoginResponse'
  1382. "400":
  1383. description: 具体错误
  1384. schema:
  1385. $ref: '#/definitions/md.Response'
  1386. summary: 注册
  1387. tags:
  1388. - 注册
  1389. /api/v1/smsSend:
  1390. post:
  1391. consumes:
  1392. - application/json
  1393. description: 发送短信
  1394. parameters:
  1395. - description: 注册参数
  1396. in: body
  1397. name: req
  1398. required: true
  1399. schema:
  1400. $ref: '#/definitions/md.SmsSendReq'
  1401. produces:
  1402. - application/json
  1403. responses:
  1404. "200":
  1405. description: 成功返回
  1406. schema:
  1407. type: string
  1408. "400":
  1409. description: 具体错误
  1410. schema:
  1411. $ref: '#/definitions/md.Response'
  1412. summary: 发送短信
  1413. tags:
  1414. - 发送短信
  1415. /api/v1/test:
  1416. get:
  1417. consumes:
  1418. - application/json
  1419. description: Demo样例测试
  1420. parameters:
  1421. - description: 任意参数
  1422. in: body
  1423. name: req
  1424. required: true
  1425. schema:
  1426. type: object
  1427. produces:
  1428. - application/json
  1429. responses:
  1430. "200":
  1431. description: 返回任意参数
  1432. schema:
  1433. additionalProperties: true
  1434. type: object
  1435. "400":
  1436. description: 具体错误
  1437. schema:
  1438. $ref: '#/definitions/md.Response'
  1439. summary: Demo测试
  1440. tags:
  1441. - Demo
  1442. /api/v1/userInfo:
  1443. get:
  1444. consumes:
  1445. - application/json
  1446. description: 用户信息
  1447. parameters:
  1448. - description: 验证参数Bearer和token空格拼接
  1449. in: header
  1450. name: Authorization
  1451. required: true
  1452. type: string
  1453. produces:
  1454. - application/json
  1455. responses:
  1456. "200":
  1457. description: 具体数据
  1458. schema:
  1459. $ref: '#/definitions/md.UserInfoResp'
  1460. "400":
  1461. description: 具体错误
  1462. schema:
  1463. $ref: '#/definitions/md.Response'
  1464. summary: 用户信息
  1465. tags:
  1466. - 用户信息
  1467. /api/v1/wechatLogin:
  1468. post:
  1469. consumes:
  1470. - application/json
  1471. description: 微信登陆
  1472. parameters:
  1473. - description: 注册参数
  1474. in: body
  1475. name: req
  1476. required: true
  1477. schema:
  1478. $ref: '#/definitions/md.WechatLoginReq'
  1479. produces:
  1480. - application/json
  1481. responses:
  1482. "200":
  1483. description: 登录成功返回
  1484. schema:
  1485. $ref: '#/definitions/md.LoginResponse'
  1486. "400":
  1487. description: 具体错误
  1488. schema:
  1489. $ref: '#/definitions/md.Response'
  1490. summary: 微信登陆
  1491. tags:
  1492. - 微信登陆
  1493. swagger: "2.0"