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

swagger.yaml 48 KiB

1週間前
1週間前
1週間前
6日前
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週間前
6日前
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週間前
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912
  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. md.AdvertisingBasic:
  22. properties:
  23. android_ad_is_open:
  24. example: 安卓广告是否开启(1:开启 0:不开启)
  25. type: string
  26. android_open_ad_is_open:
  27. example: 安卓开屏广告是否开启(1:开启 0:不开启)
  28. type: string
  29. info:
  30. additionalProperties: true
  31. type: object
  32. ios_ad_is_open:
  33. example: ios广告是否开启(1:开启 0:不开启)
  34. type: string
  35. ios_open_ad_is_open:
  36. example: ios开屏广告是否开启(1:开启 0:不开启)
  37. type: string
  38. voice:
  39. example: 领取声音
  40. type: string
  41. type: object
  42. md.AdvertisingFunction:
  43. properties:
  44. ad_id:
  45. example: 广告id
  46. type: string
  47. name:
  48. example: 名称
  49. type: string
  50. type:
  51. example: 位置
  52. type: string
  53. type: object
  54. md.AdvertisingLimit:
  55. properties:
  56. public_img:
  57. example: 公共弹窗图
  58. type: string
  59. public_str:
  60. example: 公共弹窗文字
  61. type: string
  62. withdraw_img:
  63. example: 提现弹窗图
  64. type: string
  65. withdraw_str:
  66. example: 提现弹窗文字
  67. type: string
  68. type: object
  69. md.AdvertisingReq:
  70. properties:
  71. id:
  72. type: string
  73. type: object
  74. md.AdvertisingResp:
  75. properties:
  76. basic:
  77. $ref: '#/definitions/md.AdvertisingBasic'
  78. function:
  79. items:
  80. $ref: '#/definitions/md.AdvertisingFunction'
  81. type: array
  82. pop:
  83. $ref: '#/definitions/md.AdvertisingLimit'
  84. space:
  85. items:
  86. $ref: '#/definitions/md.AdvertisingSpace'
  87. type: array
  88. type: object
  89. md.AdvertisingSpace:
  90. properties:
  91. counting_down:
  92. example: 倒计时 x秒
  93. type: string
  94. id:
  95. example: id
  96. type: string
  97. info:
  98. additionalProperties: true
  99. type: object
  100. kind:
  101. example: 广告类型(1:开屏广告 2:插屏广告 3:激励视频 4:信息流广告)
  102. type: string
  103. name:
  104. example: 名称
  105. type: string
  106. type: object
  107. md.BasalRateResp:
  108. properties:
  109. basal_rate:
  110. description: 基础速率
  111. type: string
  112. consumed_egg_energy:
  113. description: 收益蛋蛋能量
  114. type: string
  115. consumed_egg_point:
  116. description: 消耗蛋蛋积分
  117. type: string
  118. consumed_time:
  119. description: 消耗时间/小时
  120. type: string
  121. estimated_revenue:
  122. description: 预估收益蛋蛋能量
  123. type: string
  124. remaining_egg_energy:
  125. description: 剩余蛋蛋能量
  126. type: string
  127. remaining_time:
  128. description: 剩余时间/小时
  129. type: string
  130. sign_countdown:
  131. description: 收益倒计时
  132. type: string
  133. type: object
  134. md.ConfigResp:
  135. properties:
  136. content:
  137. example: 软件使用协议内容
  138. type: string
  139. privacy_title:
  140. example: 隐私协议标题
  141. type: string
  142. privacy_url:
  143. example: 隐私协议链接
  144. type: string
  145. title:
  146. example: 软件使用协议标题
  147. type: string
  148. user_title:
  149. example: 用户协议标题
  150. type: string
  151. user_url:
  152. example: 用户协议链接
  153. type: string
  154. type: object
  155. md.ContributionValueFlowNode:
  156. properties:
  157. amount:
  158. description: 变更数量
  159. type: string
  160. create_at:
  161. description: 完成时间
  162. type: string
  163. direction:
  164. description: 方向: 1.收入 2.支出
  165. type: string
  166. title:
  167. description: 标题
  168. type: string
  169. type: object
  170. md.DynamicDataResp:
  171. properties:
  172. development_committee:
  173. description: 发展委员会
  174. type: string
  175. public_welfare_and_charity:
  176. description: 公益基金
  177. type: string
  178. star_level_dividends:
  179. description: 星级分红
  180. type: string
  181. user_total_hold:
  182. description: 用户持有总量
  183. type: string
  184. type: object
  185. md.EggEnergyDetailReq:
  186. properties:
  187. asc:
  188. description: 1.升序 2.倒序
  189. type: string
  190. direction:
  191. description: 类型 1.收入 2.支出 全部则传空
  192. type: string
  193. kind:
  194. description: 类型:1. 个人蛋蛋能量 2.团队蛋蛋能量
  195. type: string
  196. limit:
  197. description: 每页大小
  198. type: integer
  199. page:
  200. description: 页数
  201. type: integer
  202. type:
  203. description: 变动类型 全部则传空
  204. type: string
  205. type: object
  206. md.EggEnergyDetailResp:
  207. properties:
  208. list:
  209. description: 流水数据
  210. items:
  211. additionalProperties:
  212. type: string
  213. type: object
  214. type: array
  215. paginate:
  216. allOf:
  217. - $ref: '#/definitions/applet_app_md.Paginate'
  218. description: 分页信息
  219. person_egg_energy:
  220. description: 个人蛋蛋能量
  221. type: string
  222. team_egg_energy:
  223. description: 团队蛋蛋能量
  224. type: string
  225. total_egg_energy:
  226. description: 总蛋蛋能量
  227. type: string
  228. total_egg_energy_price:
  229. description: 蛋蛋能量总价
  230. type: string
  231. transfer_type_list:
  232. allOf:
  233. - $ref: '#/definitions/md.TransferTypeList'
  234. description: 转账类型列表
  235. type: object
  236. md.EggEnergyFlowNode:
  237. properties:
  238. after_amount:
  239. description: 变更后数量
  240. type: string
  241. amount:
  242. description: 变更数量
  243. type: string
  244. before_amount:
  245. description: 变更前数量
  246. type: string
  247. coin_name:
  248. description: 虚拟币名称
  249. type: string
  250. create_at:
  251. description: 创建时间
  252. type: string
  253. direction:
  254. description: 方向:1.收入 2.支出
  255. type: integer
  256. id:
  257. type: integer
  258. sys_fee:
  259. description: 手续费
  260. type: string
  261. title:
  262. description: 标题
  263. type: string
  264. transfer_type:
  265. description: 转账类型
  266. type: string
  267. type: object
  268. md.EggPointDetailsReq:
  269. properties:
  270. asc:
  271. description: 1.升序 2.倒序
  272. type: string
  273. direction:
  274. description: 类型 1.收入 2.支出 全部则传空
  275. type: string
  276. kind:
  277. description: 类型:1. 个人蛋蛋积分 2.团队蛋蛋积分
  278. type: string
  279. limit:
  280. description: 每页大小
  281. type: integer
  282. page:
  283. description: 页数
  284. type: integer
  285. type:
  286. description: 变动类型 全部则传空
  287. type: string
  288. type: object
  289. md.EggPointDetailsResp:
  290. properties:
  291. list:
  292. description: 流水数据
  293. items:
  294. additionalProperties:
  295. type: string
  296. type: object
  297. type: array
  298. paginate:
  299. allOf:
  300. - $ref: '#/definitions/applet_app_md.Paginate'
  301. description: 分页信息
  302. person_egg_points:
  303. description: 个人蛋蛋积分
  304. type: string
  305. team_egg_points:
  306. description: 团队蛋蛋积分
  307. type: string
  308. total_egg_points:
  309. description: 总蛋蛋积分
  310. type: string
  311. total_egg_points_amount:
  312. description: 蛋蛋积分余额
  313. type: string
  314. transfer_type_list:
  315. allOf:
  316. - $ref: '#/definitions/md.TransferTypeList'
  317. description: 转账类型列表
  318. type: object
  319. md.EggPointRecordNode:
  320. properties:
  321. end_at:
  322. description: 结束时间
  323. type: string
  324. score:
  325. description: 分数
  326. type: string
  327. start_at:
  328. description: 开始时间
  329. type: string
  330. week:
  331. description: 周数
  332. type: string
  333. year:
  334. description: 年份
  335. type: string
  336. type: object
  337. md.ExchangeEnergyReq:
  338. properties:
  339. energy_amount:
  340. description: 兑换能量数值
  341. type: string
  342. type: object
  343. md.FastLoginReq:
  344. properties:
  345. invite_code:
  346. example: 邀请码
  347. type: string
  348. token:
  349. example: 一键登录的token
  350. type: string
  351. type: object
  352. md.FindPasswordReq:
  353. properties:
  354. code:
  355. example: 验证码
  356. type: string
  357. mobile:
  358. type: string
  359. password:
  360. example: 密码 如 123
  361. type: string
  362. required:
  363. - mobile
  364. type: object
  365. md.GetAmountFlowResp:
  366. properties:
  367. list:
  368. items:
  369. $ref: '#/definitions/md.WalletFlowNode'
  370. type: array
  371. paginate:
  372. $ref: '#/definitions/applet_app_md.Paginate'
  373. type: object
  374. md.GetContributionValueFlowResp:
  375. properties:
  376. list:
  377. items:
  378. $ref: '#/definitions/md.ContributionValueFlowNode'
  379. type: array
  380. paginate:
  381. $ref: '#/definitions/applet_app_md.Paginate'
  382. type: object
  383. md.GetContributionValueResp:
  384. properties:
  385. contribution_value:
  386. description: 贡献值
  387. type: string
  388. ratio:
  389. description: 兑换比率(x 分兑换 1 人民币)
  390. type: string
  391. type: object
  392. md.GetEggEnergyFlowResp:
  393. properties:
  394. list:
  395. items:
  396. $ref: '#/definitions/md.EggEnergyFlowNode'
  397. type: array
  398. paginate:
  399. $ref: '#/definitions/applet_app_md.Paginate'
  400. type: object
  401. md.GetEggPointRecordResp:
  402. properties:
  403. list:
  404. description: 分数明细列表
  405. items:
  406. $ref: '#/definitions/md.EggPointRecordNode'
  407. type: array
  408. now_score:
  409. description: 当前分数
  410. type: string
  411. paginate:
  412. $ref: '#/definitions/applet_app_md.Paginate'
  413. type: object
  414. md.GetPriceCurveResp:
  415. properties:
  416. x_data:
  417. items: {}
  418. type: array
  419. y_data:
  420. items: {}
  421. type: array
  422. type: object
  423. md.HomePageResp:
  424. properties:
  425. egg_energy_now_price:
  426. description: 蛋蛋能量当前价格
  427. type: string
  428. initial_price:
  429. description: 蛋蛋能量初始价格
  430. type: string
  431. is_rises:
  432. description: 是否涨价
  433. type: boolean
  434. is_sign:
  435. description: 是否开始签到
  436. type: boolean
  437. nick_name:
  438. description: 用户名称
  439. type: string
  440. now_basal_rate:
  441. description: 当前基础速率/小时
  442. type: string
  443. now_team_rate:
  444. description: 当前团队速率/小时
  445. type: string
  446. rises:
  447. description: 涨/跌价百分比
  448. type: string
  449. sign_end_time:
  450. description: 签到截止时间
  451. type: string
  452. total_active_points:
  453. description: 总蛋蛋积分
  454. type: string
  455. total_egg_energy:
  456. description: 总蛋蛋能量
  457. type: string
  458. user_count:
  459. description: 当前用户数量
  460. type: integer
  461. type: object
  462. md.HomePageWatchAdRuleResp:
  463. properties:
  464. each_round_hour:
  465. description: 每一轮X个小时
  466. type: string
  467. interval_minutes:
  468. description: 间隔X秒
  469. type: string
  470. reward_total_num:
  471. description: 一共X个奖励视屏
  472. type: string
  473. reward_value:
  474. description: 奖励X个活跃积分
  475. type: string
  476. type: object
  477. md.InitialDataResp:
  478. properties:
  479. initial_price:
  480. description: 初始价格
  481. type: string
  482. total_angel_investor:
  483. description: 天使投资人
  484. type: string
  485. total_ecological_development:
  486. description: 生态建设
  487. type: string
  488. total_issuance_amount:
  489. description: 总发行量
  490. type: string
  491. total_operate_fund:
  492. description: 运营资金
  493. type: string
  494. total_technology_team:
  495. description: 技术团队
  496. type: string
  497. type: object
  498. md.IntegralList:
  499. properties:
  500. expend_list:
  501. description: 支出类型列表
  502. items:
  503. $ref: '#/definitions/md.TransferTypeNode'
  504. type: array
  505. income_list:
  506. description: 收入类型列表
  507. items:
  508. $ref: '#/definitions/md.TransferTypeNode'
  509. type: array
  510. type: object
  511. md.IsCanGetRedPackageResp:
  512. properties:
  513. is_can_get_red_package:
  514. type: boolean
  515. type: object
  516. md.IsCanSignInResp:
  517. properties:
  518. is_can_sign_in:
  519. type: boolean
  520. type: object
  521. md.LoginReq:
  522. properties:
  523. code:
  524. example: 验证码
  525. type: string
  526. password:
  527. example: 登录密码
  528. type: string
  529. phone:
  530. example: 手机号
  531. type: string
  532. required:
  533. - password
  534. - phone
  535. type: object
  536. md.LoginResponse:
  537. properties:
  538. token:
  539. type: string
  540. type: object
  541. md.MemberCenterGetBasicResp:
  542. properties:
  543. active_num:
  544. description: 活跃值
  545. type: string
  546. amount:
  547. description: 账户余额
  548. type: string
  549. contribution_value:
  550. description: 贡献值
  551. type: string
  552. date:
  553. description: 兑换时间(每月x日)
  554. type: string
  555. egg_energy:
  556. description: 能量值
  557. type: string
  558. egg_energy_value:
  559. description: 能量预估价值
  560. type: string
  561. egg_score:
  562. description: 蛋蛋分
  563. type: string
  564. level_name:
  565. description: 会员等级名称
  566. type: string
  567. nickname:
  568. description: 会员名称
  569. type: string
  570. ratio:
  571. description: 兑换比例(x:y)
  572. type: string
  573. type: object
  574. md.MyFansResp:
  575. properties:
  576. now_team_assistance_num:
  577. description: 团队助力人数
  578. type: integer
  579. now_team_assistance_reward:
  580. description: 团队助力收益
  581. type: string
  582. now_team_user:
  583. description: 团队人数
  584. type: integer
  585. type: object
  586. md.MyFansUserListResp:
  587. properties:
  588. list:
  589. items:
  590. $ref: '#/definitions/md.OneLineUserNode'
  591. type: array
  592. type: object
  593. md.NineDimensionalSpaceResp:
  594. properties:
  595. a_lot_of_nums:
  596. description: 全网至多用户数
  597. type: string
  598. day_num:
  599. description: 连续x天不活跃
  600. type: string
  601. rows:
  602. description: 行数
  603. type: string
  604. space_list:
  605. description: 数据列表
  606. items:
  607. $ref: '#/definitions/md.SpaceListNode'
  608. type: array
  609. space_nums:
  610. description: 空间人数
  611. type: string
  612. space_total_nums:
  613. description: 空间总数
  614. type: string
  615. times:
  616. description: 排数
  617. type: string
  618. type: object
  619. md.OneLineUserNode:
  620. properties:
  621. avatar_url:
  622. type: string
  623. invite_time:
  624. type: string
  625. is_online:
  626. type: boolean
  627. nickname:
  628. type: string
  629. type: object
  630. md.PointsCenterGetBasicResp:
  631. properties:
  632. egg_point:
  633. description: 能量积分
  634. type: string
  635. egg_point_amount:
  636. description: 能量积分价值
  637. type: string
  638. energy:
  639. description: 蛋蛋能量值
  640. type: string
  641. energy_amount:
  642. description: 能量价值
  643. type: string
  644. wallet_amount:
  645. description: 账户余额
  646. type: string
  647. type: object
  648. md.PointsExchangeGetBasicResp:
  649. properties:
  650. available_cash:
  651. description: 可用现金
  652. type: string
  653. available_energy:
  654. description: 可用能量
  655. type: string
  656. type: object
  657. md.RealTimePriceResp:
  658. properties:
  659. is_rises:
  660. type: boolean
  661. now_price:
  662. type: string
  663. rises:
  664. type: string
  665. user_count:
  666. type: string
  667. type: object
  668. md.RegisterReq:
  669. properties:
  670. avatar:
  671. example: 头像
  672. type: string
  673. code:
  674. example: 验证码
  675. type: string
  676. invite_code:
  677. example: 邀请码
  678. type: string
  679. mobile:
  680. type: string
  681. nickname:
  682. example: 昵称
  683. type: string
  684. open_id:
  685. example: 微信openId
  686. type: string
  687. password:
  688. example: 密码 如 123
  689. type: string
  690. sex:
  691. description: 性别(0:未知 1:男 2:女)
  692. type: integer
  693. type:
  694. example: app:APP注册、h5:H5注册
  695. type: string
  696. union_id:
  697. example: 微信UnionId
  698. type: string
  699. required:
  700. - mobile
  701. type: object
  702. md.Response:
  703. properties:
  704. code:
  705. example: 响应码
  706. type: string
  707. data:
  708. description: 内容
  709. msg:
  710. example: 具体错误原因
  711. type: string
  712. type: object
  713. md.SmsSendReq:
  714. properties:
  715. captcha_output:
  716. example: 阿里云图形验证码对应参数
  717. type: string
  718. gen_time:
  719. example: 阿里云图形验证码对应参数
  720. type: string
  721. lot_number:
  722. example: 阿里云图形验证码对应参数
  723. type: string
  724. mobile:
  725. type: string
  726. pass_token:
  727. example: 阿里云图形验证码对应参数
  728. type: string
  729. type:
  730. example: h5Register:h5注册页、wechatBindPhone:微信绑定手机、login:登陆、findPwd:找回密码、changePwd:修改密码
  731. type: string
  732. required:
  733. - mobile
  734. type: object
  735. md.SpaceListNode:
  736. properties:
  737. max_count:
  738. description: 最大容纳人数
  739. type: string
  740. name:
  741. description: 维度
  742. type: string
  743. now_count:
  744. description: 当前人数
  745. type: string
  746. type: object
  747. md.TotalRateResp:
  748. properties:
  749. consumed_personal_egg_point:
  750. description: 消耗个人蛋蛋积分
  751. type: string
  752. consumed_team_egg_point:
  753. description: 消耗团队蛋蛋积分
  754. type: string
  755. now_basal_rate:
  756. description: 当前基础速率/小时
  757. type: string
  758. now_team_rate:
  759. description: 当前团队速率/小时
  760. type: string
  761. now_total_rate:
  762. description: 总速率/小时
  763. type: string
  764. type: object
  765. md.TransferTypeList:
  766. properties:
  767. TeamTransferTypeList:
  768. allOf:
  769. - $ref: '#/definitions/md.IntegralList'
  770. description: 团队积分变动列表
  771. personal_transfer_type_list:
  772. allOf:
  773. - $ref: '#/definitions/md.IntegralList'
  774. description: 个人积分变动列表
  775. type: object
  776. md.TransferTypeNode:
  777. properties:
  778. name:
  779. type: string
  780. value:
  781. type: string
  782. type: object
  783. md.UserInfoResp:
  784. properties:
  785. head_img:
  786. type: string
  787. id:
  788. type: string
  789. invite_code:
  790. type: string
  791. is_bind_extend:
  792. example: 是否绑定了上级 0否 1是
  793. type: string
  794. nickname:
  795. type: string
  796. phone:
  797. type: string
  798. type: object
  799. md.WalletFlowNode:
  800. properties:
  801. after_amount:
  802. description: 变动后金额
  803. type: string
  804. amount:
  805. description: 变动金额
  806. type: string
  807. before_amount:
  808. description: 变动前金额
  809. type: string
  810. create_time:
  811. description: 创建时间
  812. type: string
  813. direction:
  814. description: 方向:1.收入 2.支出
  815. type: integer
  816. id:
  817. type: integer
  818. kind:
  819. description: 1:管理员操作增加余额 2:管理员操作扣除余额 3:蛋蛋能量兑换余额 4:余额兑换蛋蛋能量
  820. type: integer
  821. memo:
  822. description: 备注
  823. type: string
  824. ord_id:
  825. description: 对应订单编号
  826. type: string
  827. state:
  828. description: 1未到账,2已到账
  829. type: integer
  830. sys_fee:
  831. description: 手续费
  832. type: string
  833. title:
  834. description: 标题
  835. type: string
  836. uid:
  837. description: 用户 ID
  838. type: integer
  839. update_time:
  840. description: 更新时间
  841. type: string
  842. type: object
  843. md.WechatLoginReq:
  844. properties:
  845. avatar:
  846. example: 头像
  847. type: string
  848. nickname:
  849. example: 昵称
  850. type: string
  851. open_id:
  852. example: 微信openId
  853. type: string
  854. union_id:
  855. example: 微信UnionId
  856. type: string
  857. type: object
  858. host: ddxq.izhim.com
  859. info:
  860. contact:
  861. email: 1239118001@qq.com
  862. name: dengbiao
  863. url: http://www.swagger.io/support
  864. description: APP客户端-Api接口
  865. license:
  866. name: Apache 2.0
  867. url: http://www.apache.org/licenses/LICENSE-2.0.html
  868. termsOfService: http://swagger.io/terms/
  869. title: 蛋蛋星球-APP客户端
  870. version: "1.0"
  871. paths:
  872. /api/v1/addFriend/basalRate:
  873. get:
  874. consumes:
  875. - application/json
  876. description: 基础速率(获取)
  877. parameters:
  878. - description: 验证参数Bearer和token空格拼接
  879. in: header
  880. name: Authorization
  881. required: true
  882. type: string
  883. produces:
  884. - application/json
  885. responses:
  886. "200":
  887. description: 具体数据
  888. schema:
  889. $ref: '#/definitions/md.BasalRateResp'
  890. "400":
  891. description: 具体错误
  892. schema:
  893. $ref: '#/definitions/md.Response'
  894. summary: 蛋蛋星球-添加好友-基础速率(获取)
  895. tags:
  896. - 添加好友
  897. /api/v1/addFriend/eggEnergyDetails:
  898. post:
  899. consumes:
  900. - application/json
  901. description: 蛋蛋能量明细(获取)
  902. parameters:
  903. - description: 验证参数Bearer和token空格拼接
  904. in: header
  905. name: Authorization
  906. required: true
  907. type: string
  908. - description: 分页类型必填
  909. in: body
  910. name: req
  911. required: true
  912. schema:
  913. $ref: '#/definitions/md.EggEnergyDetailReq'
  914. produces:
  915. - application/json
  916. responses:
  917. "200":
  918. description: 具体数据
  919. schema:
  920. $ref: '#/definitions/md.EggEnergyDetailResp'
  921. "400":
  922. description: 具体错误
  923. schema:
  924. $ref: '#/definitions/md.Response'
  925. summary: 蛋蛋星球-添加好友-蛋蛋能量明细(获取)
  926. tags:
  927. - 添加好友
  928. /api/v1/addFriend/eggPointDetails:
  929. post:
  930. consumes:
  931. - application/json
  932. description: 蛋蛋积分明细(获取)
  933. parameters:
  934. - description: 验证参数Bearer和token空格拼接
  935. in: header
  936. name: Authorization
  937. required: true
  938. type: string
  939. - description: 分页类型必填
  940. in: body
  941. name: req
  942. required: true
  943. schema:
  944. $ref: '#/definitions/md.EggPointDetailsReq'
  945. produces:
  946. - application/json
  947. responses:
  948. "200":
  949. description: 具体数据
  950. schema:
  951. $ref: '#/definitions/md.EggPointDetailsResp'
  952. "400":
  953. description: 具体错误
  954. schema:
  955. $ref: '#/definitions/md.Response'
  956. summary: 蛋蛋星球-添加好友-蛋蛋积分明细(获取)
  957. tags:
  958. - 添加好友
  959. /api/v1/addFriend/myFans:
  960. get:
  961. consumes:
  962. - application/json
  963. description: 团队加速速率(获取)
  964. parameters:
  965. - description: 验证参数Bearer和token空格拼接
  966. in: header
  967. name: Authorization
  968. required: true
  969. type: string
  970. produces:
  971. - application/json
  972. responses:
  973. "200":
  974. description: 具体数据
  975. schema:
  976. $ref: '#/definitions/md.MyFansResp'
  977. "400":
  978. description: 具体错误
  979. schema:
  980. $ref: '#/definitions/md.Response'
  981. summary: 蛋蛋星球-添加好友-粉丝团队-我的粉丝-团队加速速率(获取)
  982. tags:
  983. - 添加好友
  984. /api/v1/addFriend/myFansUserList:
  985. get:
  986. consumes:
  987. - application/json
  988. description: 在线好友列表(获取)
  989. parameters:
  990. - description: 验证参数Bearer和token空格拼接
  991. in: header
  992. name: Authorization
  993. required: true
  994. type: string
  995. - description: 每页大小
  996. in: query
  997. name: limit
  998. required: true
  999. type: integer
  1000. - description: 页数
  1001. in: query
  1002. name: page
  1003. required: true
  1004. type: integer
  1005. produces:
  1006. - application/json
  1007. responses:
  1008. "200":
  1009. description: 具体数据
  1010. schema:
  1011. $ref: '#/definitions/md.MyFansUserListResp'
  1012. "400":
  1013. description: 具体错误
  1014. schema:
  1015. $ref: '#/definitions/md.Response'
  1016. summary: 蛋蛋星球-添加好友-粉丝团队-我的粉丝-在线好友列表(获取)
  1017. tags:
  1018. - 添加好友
  1019. /api/v1/addFriend/nineDimensionalSpace:
  1020. get:
  1021. consumes:
  1022. - application/json
  1023. description: 九维空间(获取)
  1024. parameters:
  1025. - description: 验证参数Bearer和token空格拼接
  1026. in: header
  1027. name: Authorization
  1028. required: true
  1029. type: string
  1030. produces:
  1031. - application/json
  1032. responses:
  1033. "200":
  1034. description: 具体数据
  1035. schema:
  1036. $ref: '#/definitions/md.NineDimensionalSpaceResp'
  1037. "400":
  1038. description: 具体错误
  1039. schema:
  1040. $ref: '#/definitions/md.Response'
  1041. summary: 蛋蛋星球-添加好友-粉丝团队-九维空间(获取)
  1042. tags:
  1043. - 添加好友
  1044. /api/v1/addFriend/totalRate:
  1045. get:
  1046. consumes:
  1047. - application/json
  1048. description: 总速率(获取)
  1049. parameters:
  1050. - description: 验证参数Bearer和token空格拼接
  1051. in: header
  1052. name: Authorization
  1053. required: true
  1054. type: string
  1055. produces:
  1056. - application/json
  1057. responses:
  1058. "200":
  1059. description: 具体数据
  1060. schema:
  1061. $ref: '#/definitions/md.TotalRateResp'
  1062. "400":
  1063. description: 具体错误
  1064. schema:
  1065. $ref: '#/definitions/md.Response'
  1066. summary: 蛋蛋星球-添加好友-总速率(获取)
  1067. tags:
  1068. - 添加好友
  1069. /api/v1/advertising:
  1070. get:
  1071. consumes:
  1072. - application/json
  1073. description: 广告位
  1074. parameters:
  1075. - description: 验证参数Bearer和token空格拼接
  1076. in: header
  1077. name: Authorization
  1078. required: true
  1079. type: string
  1080. produces:
  1081. - application/json
  1082. responses:
  1083. "200":
  1084. description: 具体数据
  1085. schema:
  1086. $ref: '#/definitions/md.AdvertisingResp'
  1087. "400":
  1088. description: 具体错误
  1089. schema:
  1090. $ref: '#/definitions/md.Response'
  1091. summary: 广告位
  1092. tags:
  1093. - 广告位
  1094. /api/v1/advertising/detail:
  1095. post:
  1096. consumes:
  1097. - application/json
  1098. description: 广告位详情
  1099. parameters:
  1100. - description: 验证参数Bearer和token空格拼接
  1101. in: header
  1102. name: Authorization
  1103. required: true
  1104. type: string
  1105. - description: 注册参数
  1106. in: body
  1107. name: req
  1108. required: true
  1109. schema:
  1110. $ref: '#/definitions/md.AdvertisingReq'
  1111. produces:
  1112. - application/json
  1113. responses:
  1114. "200":
  1115. description: 具体数据
  1116. schema:
  1117. $ref: '#/definitions/md.AdvertisingSpace'
  1118. "400":
  1119. description: 具体错误
  1120. schema:
  1121. $ref: '#/definitions/md.Response'
  1122. summary: 广告位详情
  1123. tags:
  1124. - 广告位详情
  1125. /api/v1/comm/accessRecords:
  1126. post:
  1127. consumes:
  1128. - application/json
  1129. description: 页面记录
  1130. parameters:
  1131. - description: 验证参数Bearer和token空格拼接
  1132. in: header
  1133. name: Authorization
  1134. required: true
  1135. type: string
  1136. - description: 页面标识
  1137. in: body
  1138. name: req
  1139. required: true
  1140. schema:
  1141. $ref: '#/definitions/comm.AccessRecordsReq'
  1142. produces:
  1143. - application/json
  1144. responses:
  1145. "200":
  1146. description: data exist
  1147. schema:
  1148. type: string
  1149. "400":
  1150. description: 具体错误
  1151. schema:
  1152. $ref: '#/definitions/md.Response'
  1153. summary: 通用请求-访问记录-页面记录
  1154. tags:
  1155. - 访问记录
  1156. /api/v1/comm/getOssUrl:
  1157. get:
  1158. consumes:
  1159. - application/json
  1160. description: 上传许可链接(获取)
  1161. parameters:
  1162. - description: 验证参数Bearer和token空格拼接
  1163. in: header
  1164. name: Authorization
  1165. required: true
  1166. type: string
  1167. produces:
  1168. - application/json
  1169. responses:
  1170. "200":
  1171. description: 许可链接
  1172. schema:
  1173. type: string
  1174. "400":
  1175. description: 具体错误
  1176. schema:
  1177. $ref: '#/definitions/md.Response'
  1178. summary: 通用请求-对象存储-上传许可链接(获取)
  1179. tags:
  1180. - 对象存储
  1181. /api/v1/config:
  1182. get:
  1183. consumes:
  1184. - application/json
  1185. description: 基本配置
  1186. parameters:
  1187. - description: 验证参数Bearer和token空格拼接
  1188. in: header
  1189. name: Authorization
  1190. required: true
  1191. type: string
  1192. produces:
  1193. - application/json
  1194. responses:
  1195. "200":
  1196. description: 具体数据
  1197. schema:
  1198. $ref: '#/definitions/md.ConfigResp'
  1199. "400":
  1200. description: 具体错误
  1201. schema:
  1202. $ref: '#/definitions/md.Response'
  1203. summary: 基本配置
  1204. tags:
  1205. - 基本配置
  1206. /api/v1/fastLogin:
  1207. post:
  1208. consumes:
  1209. - application/json
  1210. description: 一键登录
  1211. parameters:
  1212. - description: 注册参数
  1213. in: body
  1214. name: req
  1215. required: true
  1216. schema:
  1217. $ref: '#/definitions/md.FastLoginReq'
  1218. produces:
  1219. - application/json
  1220. responses:
  1221. "200":
  1222. description: 登录成功返回
  1223. schema:
  1224. $ref: '#/definitions/md.LoginResponse'
  1225. "400":
  1226. description: 具体错误
  1227. schema:
  1228. $ref: '#/definitions/md.Response'
  1229. summary: 一键登录
  1230. tags:
  1231. - 一键登录
  1232. /api/v1/findPassword:
  1233. post:
  1234. consumes:
  1235. - application/json
  1236. description: 注册
  1237. parameters:
  1238. - description: 注册参数
  1239. in: body
  1240. name: req
  1241. required: true
  1242. schema:
  1243. $ref: '#/definitions/md.FindPasswordReq'
  1244. produces:
  1245. - application/json
  1246. responses:
  1247. "200":
  1248. description: 登录成功返回
  1249. schema:
  1250. type: string
  1251. "400":
  1252. description: 具体错误
  1253. schema:
  1254. $ref: '#/definitions/md.Response'
  1255. summary: 注册
  1256. tags:
  1257. - 注册
  1258. /api/v1/homePage/adRule:
  1259. get:
  1260. consumes:
  1261. - application/json
  1262. description: 视频奖励规则(获取)
  1263. parameters:
  1264. - description: 验证参数Bearer和token空格拼接
  1265. in: header
  1266. name: Authorization
  1267. required: true
  1268. type: string
  1269. produces:
  1270. - application/json
  1271. responses:
  1272. "200":
  1273. description: 具体数据
  1274. schema:
  1275. $ref: '#/definitions/md.HomePageWatchAdRuleResp'
  1276. "400":
  1277. description: 具体错误
  1278. schema:
  1279. $ref: '#/definitions/md.Response'
  1280. summary: 蛋蛋星球-主页-视频奖励规则(获取)
  1281. tags:
  1282. - 主页
  1283. /api/v1/homePage/index:
  1284. get:
  1285. consumes:
  1286. - application/json
  1287. description: 基础信息(获取)
  1288. parameters:
  1289. - description: 验证参数Bearer和token空格拼接
  1290. in: header
  1291. name: Authorization
  1292. required: true
  1293. type: string
  1294. produces:
  1295. - application/json
  1296. responses:
  1297. "200":
  1298. description: 具体数据
  1299. schema:
  1300. $ref: '#/definitions/md.HomePageResp'
  1301. "400":
  1302. description: 具体错误
  1303. schema:
  1304. $ref: '#/definitions/md.Response'
  1305. summary: 蛋蛋星球-主页-基础信息(获取)
  1306. tags:
  1307. - 主页
  1308. /api/v1/homePage/isCanGetRedPackage:
  1309. get:
  1310. consumes:
  1311. - application/json
  1312. description: 是否可以领取红包(获取)
  1313. parameters:
  1314. - description: 验证参数Bearer和token空格拼接
  1315. in: header
  1316. name: Authorization
  1317. required: true
  1318. type: string
  1319. produces:
  1320. - application/json
  1321. responses:
  1322. "200":
  1323. description: 具体数据
  1324. schema:
  1325. $ref: '#/definitions/md.IsCanGetRedPackageResp'
  1326. "400":
  1327. description: 具体错误
  1328. schema:
  1329. $ref: '#/definitions/md.Response'
  1330. summary: 蛋蛋星球-主页-是否领取红包(获取)
  1331. tags:
  1332. - 主页
  1333. /api/v1/homePage/isCanSignIn:
  1334. get:
  1335. consumes:
  1336. - application/json
  1337. description: 是否可以签到(获取)
  1338. parameters:
  1339. - description: 验证参数Bearer和token空格拼接
  1340. in: header
  1341. name: Authorization
  1342. required: true
  1343. type: string
  1344. produces:
  1345. - application/json
  1346. responses:
  1347. "200":
  1348. description: 具体数据
  1349. schema:
  1350. $ref: '#/definitions/md.IsCanSignInResp'
  1351. "400":
  1352. description: 具体错误
  1353. schema:
  1354. $ref: '#/definitions/md.Response'
  1355. summary: 蛋蛋星球-主页-是否能签到(获取)
  1356. tags:
  1357. - 主页
  1358. /api/v1/homePage/realTimePrice:
  1359. get:
  1360. consumes:
  1361. - application/json
  1362. description: 实时数据(获取)
  1363. parameters:
  1364. - description: 验证参数Bearer和token空格拼接
  1365. in: header
  1366. name: Authorization
  1367. required: true
  1368. type: string
  1369. produces:
  1370. - application/json
  1371. responses:
  1372. "200":
  1373. description: 具体数据
  1374. schema:
  1375. $ref: '#/definitions/md.RealTimePriceResp'
  1376. "400":
  1377. description: 具体错误
  1378. schema:
  1379. $ref: '#/definitions/md.Response'
  1380. summary: 蛋蛋星球-主页-实时数据(获取)
  1381. tags:
  1382. - 主页
  1383. /api/v1/login:
  1384. post:
  1385. consumes:
  1386. - application/json
  1387. description: 登入
  1388. parameters:
  1389. - description: 用户名密码
  1390. in: body
  1391. name: req
  1392. required: true
  1393. schema:
  1394. $ref: '#/definitions/md.LoginReq'
  1395. produces:
  1396. - application/json
  1397. responses:
  1398. "200":
  1399. description: token
  1400. schema:
  1401. $ref: '#/definitions/md.LoginResponse'
  1402. "400":
  1403. description: 具体错误
  1404. schema:
  1405. $ref: '#/definitions/md.Response'
  1406. summary: 登陆
  1407. tags:
  1408. - 登录
  1409. /api/v1/memberCenter/getBasic:
  1410. get:
  1411. consumes:
  1412. - application/json
  1413. description: 基础数据(获取)
  1414. parameters:
  1415. - description: 验证参数Bearer和token空格拼接
  1416. in: header
  1417. name: Authorization
  1418. required: true
  1419. type: string
  1420. produces:
  1421. - application/json
  1422. responses:
  1423. "200":
  1424. description: 具体数据
  1425. schema:
  1426. $ref: '#/definitions/md.MemberCenterGetBasicResp'
  1427. "400":
  1428. description: 具体错误
  1429. schema:
  1430. $ref: '#/definitions/md.Response'
  1431. summary: 蛋蛋星球-会员中心-基础数据(获取)
  1432. tags:
  1433. - 会员中心
  1434. /api/v1/pointsCenter/basic:
  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.PointsCenterGetBasicResp'
  1452. "400":
  1453. description: 具体错误
  1454. schema:
  1455. $ref: '#/definitions/md.Response'
  1456. summary: 蛋蛋星球-积分中心-上部分基础信息(获取)
  1457. tags:
  1458. - 积分中心
  1459. /api/v1/pointsCenter/contributionValue:
  1460. get:
  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. produces:
  1471. - application/json
  1472. responses:
  1473. "200":
  1474. description: 具体数据
  1475. schema:
  1476. $ref: '#/definitions/md.GetContributionValueResp'
  1477. "400":
  1478. description: 具体错误
  1479. schema:
  1480. $ref: '#/definitions/md.Response'
  1481. summary: 蛋蛋星球-积分中心-贡献值(获取)
  1482. tags:
  1483. - 积分中心
  1484. /api/v1/pointsCenter/contributionValueFlow:
  1485. get:
  1486. consumes:
  1487. - application/json
  1488. description: 贡献值明细(获取)
  1489. parameters:
  1490. - description: 验证参数Bearer和token空格拼接
  1491. in: header
  1492. name: Authorization
  1493. required: true
  1494. type: string
  1495. - description: 每页大小
  1496. in: query
  1497. name: limit
  1498. required: true
  1499. type: string
  1500. - description: 页数
  1501. in: query
  1502. name: page
  1503. required: true
  1504. type: string
  1505. produces:
  1506. - application/json
  1507. responses:
  1508. "200":
  1509. description: 具体数据
  1510. schema:
  1511. $ref: '#/definitions/md.GetContributionValueFlowResp'
  1512. "400":
  1513. description: 具体错误
  1514. schema:
  1515. $ref: '#/definitions/md.Response'
  1516. summary: 蛋蛋星球-积分中心-贡献值明细(获取)
  1517. tags:
  1518. - 积分中心
  1519. /api/v1/pointsCenter/dynamicData:
  1520. get:
  1521. consumes:
  1522. - application/json
  1523. description: 动态数据(获取)
  1524. parameters:
  1525. - description: 验证参数Bearer和token空格拼接
  1526. in: header
  1527. name: Authorization
  1528. required: true
  1529. type: string
  1530. produces:
  1531. - application/json
  1532. responses:
  1533. "200":
  1534. description: 具体数据
  1535. schema:
  1536. $ref: '#/definitions/md.DynamicDataResp'
  1537. "400":
  1538. description: 具体错误
  1539. schema:
  1540. $ref: '#/definitions/md.Response'
  1541. summary: 蛋蛋星球-积分中心-动态数据(获取)
  1542. tags:
  1543. - 积分中心
  1544. /api/v1/pointsCenter/energyFlow:
  1545. get:
  1546. consumes:
  1547. - application/json
  1548. description: 收支明细(获取)
  1549. parameters:
  1550. - description: 验证参数Bearer和token空格拼接
  1551. in: header
  1552. name: Authorization
  1553. required: true
  1554. type: string
  1555. - description: 每页大小
  1556. in: query
  1557. name: limit
  1558. required: true
  1559. type: string
  1560. - description: 页数
  1561. in: query
  1562. name: page
  1563. required: true
  1564. type: string
  1565. - description: 开始时间
  1566. in: query
  1567. name: startAt
  1568. type: string
  1569. - description: 结束时间
  1570. in: query
  1571. name: endAt
  1572. type: string
  1573. - description: 流水方向(1.收入 2.支出 0.全部)
  1574. in: query
  1575. name: direction
  1576. type: string
  1577. produces:
  1578. - application/json
  1579. responses:
  1580. "200":
  1581. description: 具体数据
  1582. schema:
  1583. $ref: '#/definitions/md.GetEggEnergyFlowResp'
  1584. "400":
  1585. description: 具体错误
  1586. schema:
  1587. $ref: '#/definitions/md.Response'
  1588. summary: 蛋蛋星球-积分中心-收支明细(获取)
  1589. tags:
  1590. - 积分中心
  1591. /api/v1/pointsCenter/exchangeEnergy:
  1592. post:
  1593. consumes:
  1594. - application/json
  1595. description: 能量兑换
  1596. parameters:
  1597. - description: 验证参数Bearer和token空格拼接
  1598. in: header
  1599. name: Authorization
  1600. required: true
  1601. type: string
  1602. - description: 需要兑换的能量值
  1603. in: body
  1604. name: req
  1605. required: true
  1606. schema:
  1607. $ref: '#/definitions/md.ExchangeEnergyReq'
  1608. produces:
  1609. - application/json
  1610. responses:
  1611. "200":
  1612. description: success
  1613. schema:
  1614. type: string
  1615. "400":
  1616. description: 具体错误
  1617. schema:
  1618. $ref: '#/definitions/md.Response'
  1619. summary: 蛋蛋星球-积分中心-能量兑换
  1620. tags:
  1621. - 积分中心
  1622. /api/v1/pointsCenter/initialData:
  1623. get:
  1624. consumes:
  1625. - application/json
  1626. description: 初始数据(获取)
  1627. parameters:
  1628. - description: 验证参数Bearer和token空格拼接
  1629. in: header
  1630. name: Authorization
  1631. required: true
  1632. type: string
  1633. produces:
  1634. - application/json
  1635. responses:
  1636. "200":
  1637. description: 具体数据
  1638. schema:
  1639. $ref: '#/definitions/md.InitialDataResp'
  1640. "400":
  1641. description: 具体错误
  1642. schema:
  1643. $ref: '#/definitions/md.Response'
  1644. summary: 蛋蛋星球-积分中心-初始数据(获取)
  1645. tags:
  1646. - 积分中心
  1647. /api/v1/pointsCenter/pointsExchangeBasic:
  1648. get:
  1649. consumes:
  1650. - application/json
  1651. description: 积分兑换基础信息(获取)
  1652. parameters:
  1653. - description: 验证参数Bearer和token空格拼接
  1654. in: header
  1655. name: Authorization
  1656. required: true
  1657. type: string
  1658. produces:
  1659. - application/json
  1660. responses:
  1661. "200":
  1662. description: 具体数据
  1663. schema:
  1664. $ref: '#/definitions/md.PointsExchangeGetBasicResp'
  1665. "400":
  1666. description: 具体错误
  1667. schema:
  1668. $ref: '#/definitions/md.Response'
  1669. summary: 蛋蛋星球-积分中心-积分兑换基础信息(获取)
  1670. tags:
  1671. - 积分中心
  1672. /api/v1/pointsCenter/priceCurve:
  1673. get:
  1674. consumes:
  1675. - application/json
  1676. description: 价格趋势(获取)
  1677. parameters:
  1678. - description: 验证参数Bearer和token空格拼接
  1679. in: header
  1680. name: Authorization
  1681. required: true
  1682. type: string
  1683. - description: 1:按天 2:按小时 3:按周
  1684. in: query
  1685. name: kind
  1686. type: string
  1687. produces:
  1688. - application/json
  1689. responses:
  1690. "200":
  1691. description: 具体数据
  1692. schema:
  1693. $ref: '#/definitions/md.GetPriceCurveResp'
  1694. "400":
  1695. description: 具体错误
  1696. schema:
  1697. $ref: '#/definitions/md.Response'
  1698. summary: 蛋蛋星球-积分中心-价格趋势(获取)
  1699. tags:
  1700. - 积分中心
  1701. /api/v1/pointsCenter/record:
  1702. get:
  1703. consumes:
  1704. - application/json
  1705. description: 蛋蛋分明细(获取)
  1706. parameters:
  1707. - description: 验证参数Bearer和token空格拼接
  1708. in: header
  1709. name: Authorization
  1710. required: true
  1711. type: string
  1712. - description: 每页大小
  1713. in: query
  1714. name: limit
  1715. required: true
  1716. type: string
  1717. - description: 页数
  1718. in: query
  1719. name: page
  1720. required: true
  1721. type: string
  1722. produces:
  1723. - application/json
  1724. responses:
  1725. "200":
  1726. description: 具体数据
  1727. schema:
  1728. $ref: '#/definitions/md.GetEggPointRecordResp'
  1729. "400":
  1730. description: 具体错误
  1731. schema:
  1732. $ref: '#/definitions/md.Response'
  1733. summary: 蛋蛋星球-积分中心-蛋蛋分明细(获取)
  1734. tags:
  1735. - 积分中心
  1736. /api/v1/register:
  1737. post:
  1738. consumes:
  1739. - application/json
  1740. description: 注册
  1741. parameters:
  1742. - description: 注册参数
  1743. in: body
  1744. name: req
  1745. required: true
  1746. schema:
  1747. $ref: '#/definitions/md.RegisterReq'
  1748. produces:
  1749. - application/json
  1750. responses:
  1751. "200":
  1752. description: 登录成功返回
  1753. schema:
  1754. $ref: '#/definitions/md.LoginResponse'
  1755. "400":
  1756. description: 具体错误
  1757. schema:
  1758. $ref: '#/definitions/md.Response'
  1759. summary: 注册
  1760. tags:
  1761. - 注册
  1762. /api/v1/smsSend:
  1763. post:
  1764. consumes:
  1765. - application/json
  1766. description: 发送短信
  1767. parameters:
  1768. - description: 注册参数
  1769. in: body
  1770. name: req
  1771. required: true
  1772. schema:
  1773. $ref: '#/definitions/md.SmsSendReq'
  1774. produces:
  1775. - application/json
  1776. responses:
  1777. "200":
  1778. description: 成功返回
  1779. schema:
  1780. type: string
  1781. "400":
  1782. description: 具体错误
  1783. schema:
  1784. $ref: '#/definitions/md.Response'
  1785. summary: 发送短信
  1786. tags:
  1787. - 发送短信
  1788. /api/v1/test:
  1789. get:
  1790. consumes:
  1791. - application/json
  1792. description: Demo样例测试
  1793. parameters:
  1794. - description: 任意参数
  1795. in: body
  1796. name: req
  1797. required: true
  1798. schema: {}
  1799. produces:
  1800. - application/json
  1801. responses:
  1802. "200":
  1803. description: 返回任意参数
  1804. schema:
  1805. additionalProperties: true
  1806. type: object
  1807. "400":
  1808. description: 具体错误
  1809. schema:
  1810. $ref: '#/definitions/md.Response'
  1811. summary: Demo测试
  1812. tags:
  1813. - Demo
  1814. /api/v1/userInfo:
  1815. get:
  1816. consumes:
  1817. - application/json
  1818. description: 用户信息
  1819. parameters:
  1820. - description: 验证参数Bearer和token空格拼接
  1821. in: header
  1822. name: Authorization
  1823. required: true
  1824. type: string
  1825. produces:
  1826. - application/json
  1827. responses:
  1828. "200":
  1829. description: 具体数据
  1830. schema:
  1831. $ref: '#/definitions/md.UserInfoResp'
  1832. "400":
  1833. description: 具体错误
  1834. schema:
  1835. $ref: '#/definitions/md.Response'
  1836. summary: 用户信息
  1837. tags:
  1838. - 用户信息
  1839. /api/v1/wallet/amountFlow:
  1840. get:
  1841. consumes:
  1842. - application/json
  1843. description: 余额明细(获取)
  1844. parameters:
  1845. - description: 验证参数Bearer和token空格拼接
  1846. in: header
  1847. name: Authorization
  1848. required: true
  1849. type: string
  1850. - description: 每页大小
  1851. in: query
  1852. name: limit
  1853. required: true
  1854. type: string
  1855. - description: 页数
  1856. in: query
  1857. name: page
  1858. required: true
  1859. type: string
  1860. - description: 开始时间
  1861. in: query
  1862. name: startAt
  1863. type: string
  1864. - description: 结束时间
  1865. in: query
  1866. name: endAt
  1867. type: string
  1868. - description: 流水方向(1.收入 2.支出 0.全部)
  1869. in: query
  1870. name: direction
  1871. type: string
  1872. produces:
  1873. - application/json
  1874. responses:
  1875. "200":
  1876. description: 具体数据
  1877. schema:
  1878. $ref: '#/definitions/md.GetAmountFlowResp'
  1879. "400":
  1880. description: 具体错误
  1881. schema:
  1882. $ref: '#/definitions/md.Response'
  1883. summary: 蛋蛋星球-钱包-余额明细(获取)
  1884. tags:
  1885. - 钱包
  1886. /api/v1/wechatLogin:
  1887. post:
  1888. consumes:
  1889. - application/json
  1890. description: 微信登陆
  1891. parameters:
  1892. - description: 注册参数
  1893. in: body
  1894. name: req
  1895. required: true
  1896. schema:
  1897. $ref: '#/definitions/md.WechatLoginReq'
  1898. produces:
  1899. - application/json
  1900. responses:
  1901. "200":
  1902. description: 登录成功返回
  1903. schema:
  1904. $ref: '#/definitions/md.LoginResponse'
  1905. "400":
  1906. description: 具体错误
  1907. schema:
  1908. $ref: '#/definitions/md.Response'
  1909. summary: 微信登陆
  1910. tags:
  1911. - 微信登陆
  1912. swagger: "2.0"