蛋蛋星球-客户端
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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