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

swagger.yaml 55 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ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228
  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.GetModuleSettingResp:
  415. properties:
  416. data:
  417. additionalProperties: true
  418. description: 内容
  419. type: object
  420. mod_name:
  421. description: 模块名称
  422. type: string
  423. position:
  424. description: 位置
  425. type: string
  426. skip_identifier:
  427. description: 跳转标识
  428. type: string
  429. subtitle:
  430. description: 副标题
  431. type: string
  432. title:
  433. description: 标题
  434. type: string
  435. type: object
  436. md.GetPriceCurveResp:
  437. properties:
  438. x_data:
  439. items: {}
  440. type: array
  441. y_data:
  442. items: {}
  443. type: array
  444. type: object
  445. md.GrabRedPackageReq:
  446. properties:
  447. device_id:
  448. description: 设备id
  449. type: string
  450. receiver_id:
  451. description: 用户id或者群组id
  452. type: integer
  453. receiver_type:
  454. description: 接收者类型,1:user;2:group
  455. type: integer
  456. red_package_cover:
  457. description: 红包封面
  458. type: string
  459. red_package_id:
  460. description: 红包id
  461. type: integer
  462. send_red_package_user_nike_name:
  463. description: 红包发送者-im用户昵称
  464. type: string
  465. send_red_packet_avatar_url:
  466. description: 红包发送者-im用户头像
  467. type: string
  468. send_time:
  469. description: 消息发送时间戳,精确到毫秒
  470. type: integer
  471. token:
  472. description: im-token
  473. type: string
  474. user_id:
  475. description: im用户id
  476. type: string
  477. type: object
  478. md.GrabRedPackageResp:
  479. properties:
  480. grab_amount:
  481. description: 抢到的红包金额
  482. type: string
  483. im:
  484. allOf:
  485. - $ref: '#/definitions/pb.SendRedPacketResp'
  486. description: im 返回体
  487. type: object
  488. md.HomePageResp:
  489. properties:
  490. egg_energy_now_price:
  491. description: 蛋蛋能量当前价格
  492. type: string
  493. initial_price:
  494. description: 蛋蛋能量初始价格
  495. type: string
  496. is_rises:
  497. description: 是否涨价
  498. type: boolean
  499. is_sign:
  500. description: 是否开始签到
  501. type: boolean
  502. nick_name:
  503. description: 用户名称
  504. type: string
  505. now_basal_rate:
  506. description: 当前基础速率/小时
  507. type: string
  508. now_team_rate:
  509. description: 当前团队速率/小时
  510. type: string
  511. rises:
  512. description: 涨/跌价百分比
  513. type: string
  514. sign_end_time:
  515. description: 签到截止时间
  516. type: string
  517. total_active_points:
  518. description: 总蛋蛋积分
  519. type: string
  520. total_egg_energy:
  521. description: 总蛋蛋能量
  522. type: string
  523. user_count:
  524. description: 当前用户数量
  525. type: integer
  526. type: object
  527. md.HomePageWatchAdRuleResp:
  528. properties:
  529. each_round_hour:
  530. description: 每一轮X个小时
  531. type: string
  532. interval_minutes:
  533. description: 间隔X秒
  534. type: string
  535. reward_total_num:
  536. description: 一共X个奖励视屏
  537. type: string
  538. reward_value:
  539. description: 奖励X个活跃积分
  540. type: string
  541. type: object
  542. md.InitialDataResp:
  543. properties:
  544. initial_price:
  545. description: 初始价格
  546. type: string
  547. total_angel_investor:
  548. description: 天使投资人
  549. type: string
  550. total_ecological_development:
  551. description: 生态建设
  552. type: string
  553. total_issuance_amount:
  554. description: 总发行量
  555. type: string
  556. total_operate_fund:
  557. description: 运营资金
  558. type: string
  559. total_technology_team:
  560. description: 技术团队
  561. type: string
  562. type: object
  563. md.IntegralList:
  564. properties:
  565. expend_list:
  566. description: 支出类型列表
  567. items:
  568. $ref: '#/definitions/md.TransferTypeNode'
  569. type: array
  570. income_list:
  571. description: 收入类型列表
  572. items:
  573. $ref: '#/definitions/md.TransferTypeNode'
  574. type: array
  575. type: object
  576. md.IsCanGetRedPackageResp:
  577. properties:
  578. is_can_get_red_package:
  579. type: boolean
  580. type: object
  581. md.IsCanSignInResp:
  582. properties:
  583. is_can_sign_in:
  584. type: boolean
  585. type: object
  586. md.LoginReq:
  587. properties:
  588. code:
  589. example: 验证码
  590. type: string
  591. password:
  592. example: 登录密码
  593. type: string
  594. phone:
  595. example: 手机号
  596. type: string
  597. required:
  598. - password
  599. - phone
  600. type: object
  601. md.LoginResponse:
  602. properties:
  603. token:
  604. type: string
  605. type: object
  606. md.MemberCenterGetBasicResp:
  607. properties:
  608. active_num:
  609. description: 活跃值
  610. type: string
  611. amount:
  612. description: 账户余额
  613. type: string
  614. contribution_value:
  615. description: 贡献值
  616. type: string
  617. date:
  618. description: 兑换时间(每月x日)
  619. type: string
  620. egg_energy:
  621. description: 能量值
  622. type: string
  623. egg_energy_value:
  624. description: 能量预估价值
  625. type: string
  626. egg_score:
  627. description: 蛋蛋分
  628. type: string
  629. level_name:
  630. description: 会员等级名称
  631. type: string
  632. nickname:
  633. description: 会员名称
  634. type: string
  635. ratio:
  636. description: 兑换比例(x:y)
  637. type: string
  638. type: object
  639. md.MyFansResp:
  640. properties:
  641. now_team_assistance_num:
  642. description: 团队助力人数
  643. type: integer
  644. now_team_assistance_reward:
  645. description: 团队助力收益
  646. type: string
  647. now_team_user:
  648. description: 团队人数
  649. type: integer
  650. type: object
  651. md.MyFansUserListResp:
  652. properties:
  653. list:
  654. items:
  655. $ref: '#/definitions/md.OneLineUserNode'
  656. type: array
  657. type: object
  658. md.NineDimensionalSpaceResp:
  659. properties:
  660. a_lot_of_nums:
  661. description: 全网至多用户数
  662. type: string
  663. day_num:
  664. description: 连续x天不活跃
  665. type: string
  666. rows:
  667. description: 行数
  668. type: string
  669. space_list:
  670. description: 数据列表
  671. items:
  672. $ref: '#/definitions/md.SpaceListNode'
  673. type: array
  674. space_nums:
  675. description: 空间人数
  676. type: string
  677. space_total_nums:
  678. description: 空间总数
  679. type: string
  680. times:
  681. description: 排数
  682. type: string
  683. type: object
  684. md.OneLineUserNode:
  685. properties:
  686. avatar_url:
  687. type: string
  688. invite_time:
  689. type: string
  690. is_online:
  691. type: boolean
  692. nickname:
  693. type: string
  694. type: object
  695. md.PointsCenterGetBasicResp:
  696. properties:
  697. egg_point:
  698. description: 能量积分
  699. type: string
  700. egg_point_amount:
  701. description: 能量积分价值
  702. type: string
  703. energy:
  704. description: 蛋蛋能量值
  705. type: string
  706. energy_amount:
  707. description: 能量价值
  708. type: string
  709. wallet_amount:
  710. description: 账户余额
  711. type: string
  712. type: object
  713. md.PointsExchangeGetBasicResp:
  714. properties:
  715. available_cash:
  716. description: 可用现金
  717. type: string
  718. available_energy:
  719. description: 可用能量
  720. type: string
  721. type: object
  722. md.RealTimePriceResp:
  723. properties:
  724. is_rises:
  725. type: boolean
  726. now_price:
  727. type: string
  728. rises:
  729. type: string
  730. user_count:
  731. type: string
  732. type: object
  733. md.RedPackageDetailResp:
  734. properties:
  735. detail:
  736. allOf:
  737. - $ref: '#/definitions/model.ImSendRedPackageOrd'
  738. description: 红包详情信息
  739. list:
  740. description: 领取红包用户列表
  741. items:
  742. $ref: '#/definitions/md.RedPackageDetailUserNode'
  743. type: array
  744. type: object
  745. md.RedPackageDetailUserNode:
  746. properties:
  747. amount:
  748. description: 金额
  749. type: string
  750. im_user_id:
  751. description: im用户id
  752. type: string
  753. received_at:
  754. description: 领取时间
  755. type: string
  756. user_avatar_url:
  757. description: im用户昵称
  758. type: string
  759. user_nick_name:
  760. description: im用户昵称
  761. type: string
  762. type: object
  763. md.RegisterReq:
  764. properties:
  765. avatar:
  766. example: 头像
  767. type: string
  768. code:
  769. example: 验证码
  770. type: string
  771. invite_code:
  772. example: 邀请码
  773. type: string
  774. mobile:
  775. type: string
  776. nickname:
  777. example: 昵称
  778. type: string
  779. open_id:
  780. example: 微信openId
  781. type: string
  782. password:
  783. example: 密码 如 123
  784. type: string
  785. sex:
  786. description: 性别(0:未知 1:男 2:女)
  787. type: integer
  788. type:
  789. example: app:APP注册、h5:H5注册
  790. type: string
  791. union_id:
  792. example: 微信UnionId
  793. type: string
  794. required:
  795. - mobile
  796. type: object
  797. md.Response:
  798. properties:
  799. code:
  800. example: 响应码
  801. type: string
  802. data:
  803. description: 内容
  804. msg:
  805. example: 具体错误原因
  806. type: string
  807. type: object
  808. md.SendRedPackageDetailReq:
  809. properties:
  810. order_id:
  811. description: 红包的订单 ID
  812. type: string
  813. type: object
  814. md.SendRedPackageDetailResp:
  815. properties:
  816. im:
  817. $ref: '#/definitions/md.SeqType'
  818. red_package_id:
  819. description: 红包 ID
  820. type: integer
  821. type: object
  822. md.SeqType:
  823. properties:
  824. seq:
  825. description: 序列号
  826. type: integer
  827. type: object
  828. md.SmsSendReq:
  829. properties:
  830. captcha_output:
  831. example: 阿里云图形验证码对应参数
  832. type: string
  833. gen_time:
  834. example: 阿里云图形验证码对应参数
  835. type: string
  836. lot_number:
  837. example: 阿里云图形验证码对应参数
  838. type: string
  839. mobile:
  840. type: string
  841. pass_token:
  842. example: 阿里云图形验证码对应参数
  843. type: string
  844. type:
  845. example: h5Register:h5注册页、wechatBindPhone:微信绑定手机、login:登陆、findPwd:找回密码、changePwd:修改密码
  846. type: string
  847. required:
  848. - mobile
  849. type: object
  850. md.SpaceListNode:
  851. properties:
  852. max_count:
  853. description: 最大容纳人数
  854. type: string
  855. name:
  856. description: 维度
  857. type: string
  858. now_count:
  859. description: 当前人数
  860. type: string
  861. type: object
  862. md.TotalRateResp:
  863. properties:
  864. consumed_personal_egg_point:
  865. description: 消耗个人蛋蛋积分
  866. type: string
  867. consumed_team_egg_point:
  868. description: 消耗团队蛋蛋积分
  869. type: string
  870. now_basal_rate:
  871. description: 当前基础速率/小时
  872. type: string
  873. now_team_rate:
  874. description: 当前团队速率/小时
  875. type: string
  876. now_total_rate:
  877. description: 总速率/小时
  878. type: string
  879. type: object
  880. md.TransferTypeList:
  881. properties:
  882. TeamTransferTypeList:
  883. allOf:
  884. - $ref: '#/definitions/md.IntegralList'
  885. description: 团队积分变动列表
  886. personal_transfer_type_list:
  887. allOf:
  888. - $ref: '#/definitions/md.IntegralList'
  889. description: 个人积分变动列表
  890. type: object
  891. md.TransferTypeNode:
  892. properties:
  893. name:
  894. type: string
  895. value:
  896. type: string
  897. type: object
  898. md.UserInfoResp:
  899. properties:
  900. head_img:
  901. type: string
  902. id:
  903. type: string
  904. invite_code:
  905. type: string
  906. is_bind_extend:
  907. example: 是否绑定了上级 0否 1是
  908. type: string
  909. nickname:
  910. type: string
  911. phone:
  912. type: string
  913. type: object
  914. md.WalletFlowNode:
  915. properties:
  916. after_amount:
  917. description: 变动后金额
  918. type: string
  919. amount:
  920. description: 变动金额
  921. type: string
  922. before_amount:
  923. description: 变动前金额
  924. type: string
  925. create_time:
  926. description: 创建时间
  927. type: string
  928. direction:
  929. description: 方向:1.收入 2.支出
  930. type: integer
  931. id:
  932. type: integer
  933. kind:
  934. description: 1:管理员操作增加余额 2:管理员操作扣除余额 3:蛋蛋能量兑换余额 4:余额兑换蛋蛋能量
  935. type: integer
  936. memo:
  937. description: 备注
  938. type: string
  939. ord_id:
  940. description: 对应订单编号
  941. type: string
  942. state:
  943. description: 1未到账,2已到账
  944. type: integer
  945. sys_fee:
  946. description: 手续费
  947. type: string
  948. title:
  949. description: 标题
  950. type: string
  951. uid:
  952. description: 用户 ID
  953. type: integer
  954. update_time:
  955. description: 更新时间
  956. type: string
  957. type: object
  958. md.WechatLoginReq:
  959. properties:
  960. avatar:
  961. example: 头像
  962. type: string
  963. nickname:
  964. example: 昵称
  965. type: string
  966. open_id:
  967. example: 微信openId
  968. type: string
  969. union_id:
  970. example: 微信UnionId
  971. type: string
  972. type: object
  973. md.WithdrawGetAmountResp:
  974. properties:
  975. amount:
  976. description: 余额
  977. type: string
  978. type: object
  979. model.ImSendRedPackageOrd:
  980. properties:
  981. amount:
  982. type: string
  983. create_time:
  984. type: string
  985. id:
  986. type: integer
  987. im_data:
  988. type: string
  989. im_uid:
  990. type: integer
  991. ord_no:
  992. type: string
  993. received_im_user_ids:
  994. type: string
  995. received_times:
  996. type: string
  997. received_user_amount:
  998. type: string
  999. received_user_ids:
  1000. type: string
  1001. red_packet_balance_amount:
  1002. type: string
  1003. red_packet_balance_nums:
  1004. type: integer
  1005. red_packet_nums:
  1006. type: integer
  1007. red_packet_type:
  1008. type: integer
  1009. state:
  1010. type: integer
  1011. uid:
  1012. type: integer
  1013. update_time:
  1014. type: string
  1015. wait_draw_im_user_ids:
  1016. type: string
  1017. wait_draw_user_ids:
  1018. type: string
  1019. type: object
  1020. pb.SendRedPacketResp:
  1021. properties:
  1022. seq:
  1023. description: 消息序列号
  1024. type: integer
  1025. type: object
  1026. host: ddxq.izhim.com
  1027. info:
  1028. contact:
  1029. email: 1239118001@qq.com
  1030. name: dengbiao
  1031. url: http://www.swagger.io/support
  1032. description: APP客户端-Api接口
  1033. license:
  1034. name: Apache 2.0
  1035. url: http://www.apache.org/licenses/LICENSE-2.0.html
  1036. termsOfService: http://swagger.io/terms/
  1037. title: 蛋蛋星球-APP客户端
  1038. version: "1.0"
  1039. paths:
  1040. /api/v1/addFriend/basalRate:
  1041. get:
  1042. consumes:
  1043. - application/json
  1044. description: 基础速率(获取)
  1045. parameters:
  1046. - description: 验证参数Bearer和token空格拼接
  1047. in: header
  1048. name: Authorization
  1049. required: true
  1050. type: string
  1051. produces:
  1052. - application/json
  1053. responses:
  1054. "200":
  1055. description: 具体数据
  1056. schema:
  1057. $ref: '#/definitions/md.BasalRateResp'
  1058. "400":
  1059. description: 具体错误
  1060. schema:
  1061. $ref: '#/definitions/md.Response'
  1062. summary: 蛋蛋星球-添加好友-基础速率(获取)
  1063. tags:
  1064. - 添加好友
  1065. /api/v1/addFriend/eggEnergyDetails:
  1066. post:
  1067. consumes:
  1068. - application/json
  1069. description: 蛋蛋能量明细(获取)
  1070. parameters:
  1071. - description: 验证参数Bearer和token空格拼接
  1072. in: header
  1073. name: Authorization
  1074. required: true
  1075. type: string
  1076. - description: 分页类型必填
  1077. in: body
  1078. name: req
  1079. required: true
  1080. schema:
  1081. $ref: '#/definitions/md.EggEnergyDetailReq'
  1082. produces:
  1083. - application/json
  1084. responses:
  1085. "200":
  1086. description: 具体数据
  1087. schema:
  1088. $ref: '#/definitions/md.EggEnergyDetailResp'
  1089. "400":
  1090. description: 具体错误
  1091. schema:
  1092. $ref: '#/definitions/md.Response'
  1093. summary: 蛋蛋星球-添加好友-蛋蛋能量明细(获取)
  1094. tags:
  1095. - 添加好友
  1096. /api/v1/addFriend/eggPointDetails:
  1097. post:
  1098. consumes:
  1099. - application/json
  1100. description: 蛋蛋积分明细(获取)
  1101. parameters:
  1102. - description: 验证参数Bearer和token空格拼接
  1103. in: header
  1104. name: Authorization
  1105. required: true
  1106. type: string
  1107. - description: 分页类型必填
  1108. in: body
  1109. name: req
  1110. required: true
  1111. schema:
  1112. $ref: '#/definitions/md.EggPointDetailsReq'
  1113. produces:
  1114. - application/json
  1115. responses:
  1116. "200":
  1117. description: 具体数据
  1118. schema:
  1119. $ref: '#/definitions/md.EggPointDetailsResp'
  1120. "400":
  1121. description: 具体错误
  1122. schema:
  1123. $ref: '#/definitions/md.Response'
  1124. summary: 蛋蛋星球-添加好友-蛋蛋积分明细(获取)
  1125. tags:
  1126. - 添加好友
  1127. /api/v1/addFriend/myFans:
  1128. get:
  1129. consumes:
  1130. - application/json
  1131. description: 团队加速速率(获取)
  1132. parameters:
  1133. - description: 验证参数Bearer和token空格拼接
  1134. in: header
  1135. name: Authorization
  1136. required: true
  1137. type: string
  1138. produces:
  1139. - application/json
  1140. responses:
  1141. "200":
  1142. description: 具体数据
  1143. schema:
  1144. $ref: '#/definitions/md.MyFansResp'
  1145. "400":
  1146. description: 具体错误
  1147. schema:
  1148. $ref: '#/definitions/md.Response'
  1149. summary: 蛋蛋星球-添加好友-粉丝团队-我的粉丝-团队加速速率(获取)
  1150. tags:
  1151. - 添加好友
  1152. /api/v1/addFriend/myFansUserList:
  1153. get:
  1154. consumes:
  1155. - application/json
  1156. description: 在线好友列表(获取)
  1157. parameters:
  1158. - description: 验证参数Bearer和token空格拼接
  1159. in: header
  1160. name: Authorization
  1161. required: true
  1162. type: string
  1163. - description: 每页大小
  1164. in: query
  1165. name: limit
  1166. required: true
  1167. type: integer
  1168. - description: 页数
  1169. in: query
  1170. name: page
  1171. required: true
  1172. type: integer
  1173. produces:
  1174. - application/json
  1175. responses:
  1176. "200":
  1177. description: 具体数据
  1178. schema:
  1179. $ref: '#/definitions/md.MyFansUserListResp'
  1180. "400":
  1181. description: 具体错误
  1182. schema:
  1183. $ref: '#/definitions/md.Response'
  1184. summary: 蛋蛋星球-添加好友-粉丝团队-我的粉丝-在线好友列表(获取)
  1185. tags:
  1186. - 添加好友
  1187. /api/v1/addFriend/nineDimensionalSpace:
  1188. get:
  1189. consumes:
  1190. - application/json
  1191. description: 九维空间(获取)
  1192. parameters:
  1193. - description: 验证参数Bearer和token空格拼接
  1194. in: header
  1195. name: Authorization
  1196. required: true
  1197. type: string
  1198. produces:
  1199. - application/json
  1200. responses:
  1201. "200":
  1202. description: 具体数据
  1203. schema:
  1204. $ref: '#/definitions/md.NineDimensionalSpaceResp'
  1205. "400":
  1206. description: 具体错误
  1207. schema:
  1208. $ref: '#/definitions/md.Response'
  1209. summary: 蛋蛋星球-添加好友-粉丝团队-九维空间(获取)
  1210. tags:
  1211. - 添加好友
  1212. /api/v1/addFriend/totalRate:
  1213. get:
  1214. consumes:
  1215. - application/json
  1216. description: 总速率(获取)
  1217. parameters:
  1218. - description: 验证参数Bearer和token空格拼接
  1219. in: header
  1220. name: Authorization
  1221. required: true
  1222. type: string
  1223. produces:
  1224. - application/json
  1225. responses:
  1226. "200":
  1227. description: 具体数据
  1228. schema:
  1229. $ref: '#/definitions/md.TotalRateResp'
  1230. "400":
  1231. description: 具体错误
  1232. schema:
  1233. $ref: '#/definitions/md.Response'
  1234. summary: 蛋蛋星球-添加好友-总速率(获取)
  1235. tags:
  1236. - 添加好友
  1237. /api/v1/advertising:
  1238. get:
  1239. consumes:
  1240. - application/json
  1241. description: 广告位
  1242. parameters:
  1243. - description: 验证参数Bearer和token空格拼接
  1244. in: header
  1245. name: Authorization
  1246. required: true
  1247. type: string
  1248. produces:
  1249. - application/json
  1250. responses:
  1251. "200":
  1252. description: 具体数据
  1253. schema:
  1254. $ref: '#/definitions/md.AdvertisingResp'
  1255. "400":
  1256. description: 具体错误
  1257. schema:
  1258. $ref: '#/definitions/md.Response'
  1259. summary: 广告位
  1260. tags:
  1261. - 广告位
  1262. /api/v1/advertising/detail:
  1263. post:
  1264. consumes:
  1265. - application/json
  1266. description: 广告位详情
  1267. parameters:
  1268. - description: 验证参数Bearer和token空格拼接
  1269. in: header
  1270. name: Authorization
  1271. required: true
  1272. type: string
  1273. - description: 注册参数
  1274. in: body
  1275. name: req
  1276. required: true
  1277. schema:
  1278. $ref: '#/definitions/md.AdvertisingReq'
  1279. produces:
  1280. - application/json
  1281. responses:
  1282. "200":
  1283. description: 具体数据
  1284. schema:
  1285. $ref: '#/definitions/md.AdvertisingSpace'
  1286. "400":
  1287. description: 具体错误
  1288. schema:
  1289. $ref: '#/definitions/md.Response'
  1290. summary: 广告位详情
  1291. tags:
  1292. - 广告位详情
  1293. /api/v1/comm/accessRecords:
  1294. post:
  1295. consumes:
  1296. - application/json
  1297. description: 页面记录
  1298. parameters:
  1299. - description: 验证参数Bearer和token空格拼接
  1300. in: header
  1301. name: Authorization
  1302. required: true
  1303. type: string
  1304. - description: 页面标识
  1305. in: body
  1306. name: req
  1307. required: true
  1308. schema:
  1309. $ref: '#/definitions/comm.AccessRecordsReq'
  1310. produces:
  1311. - application/json
  1312. responses:
  1313. "200":
  1314. description: data exist
  1315. schema:
  1316. type: string
  1317. "400":
  1318. description: 具体错误
  1319. schema:
  1320. $ref: '#/definitions/md.Response'
  1321. summary: 通用请求-访问记录-页面记录
  1322. tags:
  1323. - 访问记录
  1324. /api/v1/comm/getOssUrl:
  1325. get:
  1326. consumes:
  1327. - application/json
  1328. description: 上传许可链接(获取)
  1329. parameters:
  1330. - description: 验证参数Bearer和token空格拼接
  1331. in: header
  1332. name: Authorization
  1333. required: true
  1334. type: string
  1335. produces:
  1336. - application/json
  1337. responses:
  1338. "200":
  1339. description: 许可链接
  1340. schema:
  1341. type: string
  1342. "400":
  1343. description: 具体错误
  1344. schema:
  1345. $ref: '#/definitions/md.Response'
  1346. summary: 通用请求-对象存储-上传许可链接(获取)
  1347. tags:
  1348. - 对象存储
  1349. /api/v1/config:
  1350. get:
  1351. consumes:
  1352. - application/json
  1353. description: 基本配置
  1354. parameters:
  1355. - description: 验证参数Bearer和token空格拼接
  1356. in: header
  1357. name: Authorization
  1358. required: true
  1359. type: string
  1360. produces:
  1361. - application/json
  1362. responses:
  1363. "200":
  1364. description: 具体数据
  1365. schema:
  1366. $ref: '#/definitions/md.ConfigResp'
  1367. "400":
  1368. description: 具体错误
  1369. schema:
  1370. $ref: '#/definitions/md.Response'
  1371. summary: 基本配置
  1372. tags:
  1373. - 基本配置
  1374. /api/v1/fastLogin:
  1375. post:
  1376. consumes:
  1377. - application/json
  1378. description: 一键登录
  1379. parameters:
  1380. - description: 注册参数
  1381. in: body
  1382. name: req
  1383. required: true
  1384. schema:
  1385. $ref: '#/definitions/md.FastLoginReq'
  1386. produces:
  1387. - application/json
  1388. responses:
  1389. "200":
  1390. description: 登录成功返回
  1391. schema:
  1392. $ref: '#/definitions/md.LoginResponse'
  1393. "400":
  1394. description: 具体错误
  1395. schema:
  1396. $ref: '#/definitions/md.Response'
  1397. summary: 一键登录
  1398. tags:
  1399. - 一键登录
  1400. /api/v1/findPassword:
  1401. post:
  1402. consumes:
  1403. - application/json
  1404. description: 注册
  1405. parameters:
  1406. - description: 注册参数
  1407. in: body
  1408. name: req
  1409. required: true
  1410. schema:
  1411. $ref: '#/definitions/md.FindPasswordReq'
  1412. produces:
  1413. - application/json
  1414. responses:
  1415. "200":
  1416. description: 登录成功返回
  1417. schema:
  1418. type: string
  1419. "400":
  1420. description: 具体错误
  1421. schema:
  1422. $ref: '#/definitions/md.Response'
  1423. summary: 注册
  1424. tags:
  1425. - 注册
  1426. /api/v1/getModuleSetting:
  1427. get:
  1428. consumes:
  1429. - application/json
  1430. description: 页面样式
  1431. parameters:
  1432. - description: 验证参数Bearer和token空格拼接
  1433. in: header
  1434. name: Authorization
  1435. required: true
  1436. type: string
  1437. - description: 页面名称类型值(1:home_page 2:member_center 3:bottom_bar 4:invitation_download_landing_page
  1438. 5:invitation_poster)
  1439. in: query
  1440. name: mod_name_value
  1441. required: true
  1442. type: string
  1443. produces:
  1444. - application/json
  1445. responses:
  1446. "200":
  1447. description: 具体数据
  1448. schema:
  1449. $ref: '#/definitions/md.GetModuleSettingResp'
  1450. "400":
  1451. description: 具体错误
  1452. schema:
  1453. $ref: '#/definitions/md.Response'
  1454. summary: 页面样式
  1455. tags:
  1456. - 页面样式
  1457. /api/v1/homePage/adRule:
  1458. get:
  1459. consumes:
  1460. - application/json
  1461. description: 视频奖励规则(获取)
  1462. parameters:
  1463. - description: 验证参数Bearer和token空格拼接
  1464. in: header
  1465. name: Authorization
  1466. required: true
  1467. type: string
  1468. produces:
  1469. - application/json
  1470. responses:
  1471. "200":
  1472. description: 具体数据
  1473. schema:
  1474. $ref: '#/definitions/md.HomePageWatchAdRuleResp'
  1475. "400":
  1476. description: 具体错误
  1477. schema:
  1478. $ref: '#/definitions/md.Response'
  1479. summary: 蛋蛋星球-主页-视频奖励规则(获取)
  1480. tags:
  1481. - 主页
  1482. /api/v1/homePage/index:
  1483. get:
  1484. consumes:
  1485. - application/json
  1486. description: 基础信息(获取)
  1487. parameters:
  1488. - description: 验证参数Bearer和token空格拼接
  1489. in: header
  1490. name: Authorization
  1491. required: true
  1492. type: string
  1493. produces:
  1494. - application/json
  1495. responses:
  1496. "200":
  1497. description: 具体数据
  1498. schema:
  1499. $ref: '#/definitions/md.HomePageResp'
  1500. "400":
  1501. description: 具体错误
  1502. schema:
  1503. $ref: '#/definitions/md.Response'
  1504. summary: 蛋蛋星球-主页-基础信息(获取)
  1505. tags:
  1506. - 主页
  1507. /api/v1/homePage/isCanGetRedPackage:
  1508. get:
  1509. consumes:
  1510. - application/json
  1511. description: 是否可以领取红包(获取)
  1512. parameters:
  1513. - description: 验证参数Bearer和token空格拼接
  1514. in: header
  1515. name: Authorization
  1516. required: true
  1517. type: string
  1518. produces:
  1519. - application/json
  1520. responses:
  1521. "200":
  1522. description: 具体数据
  1523. schema:
  1524. $ref: '#/definitions/md.IsCanGetRedPackageResp'
  1525. "400":
  1526. description: 具体错误
  1527. schema:
  1528. $ref: '#/definitions/md.Response'
  1529. summary: 蛋蛋星球-主页-是否领取红包(获取)
  1530. tags:
  1531. - 主页
  1532. /api/v1/homePage/isCanSignIn:
  1533. get:
  1534. consumes:
  1535. - application/json
  1536. description: 是否可以签到(获取)
  1537. parameters:
  1538. - description: 验证参数Bearer和token空格拼接
  1539. in: header
  1540. name: Authorization
  1541. required: true
  1542. type: string
  1543. produces:
  1544. - application/json
  1545. responses:
  1546. "200":
  1547. description: 具体数据
  1548. schema:
  1549. $ref: '#/definitions/md.IsCanSignInResp'
  1550. "400":
  1551. description: 具体错误
  1552. schema:
  1553. $ref: '#/definitions/md.Response'
  1554. summary: 蛋蛋星球-主页-是否能签到(获取)
  1555. tags:
  1556. - 主页
  1557. /api/v1/homePage/realTimePrice:
  1558. get:
  1559. consumes:
  1560. - application/json
  1561. description: 实时数据(获取)
  1562. parameters:
  1563. - description: 验证参数Bearer和token空格拼接
  1564. in: header
  1565. name: Authorization
  1566. required: true
  1567. type: string
  1568. produces:
  1569. - application/json
  1570. responses:
  1571. "200":
  1572. description: 具体数据
  1573. schema:
  1574. $ref: '#/definitions/md.RealTimePriceResp'
  1575. "400":
  1576. description: 具体错误
  1577. schema:
  1578. $ref: '#/definitions/md.Response'
  1579. summary: 蛋蛋星球-主页-实时数据(获取)
  1580. tags:
  1581. - 主页
  1582. /api/v1/im/redPackageDetail:
  1583. get:
  1584. consumes:
  1585. - application/json
  1586. description: 红包详情(获取)
  1587. parameters:
  1588. - description: 验证参数Bearer和token空格拼接
  1589. in: header
  1590. name: Authorization
  1591. required: true
  1592. type: string
  1593. - description: 红包 ID
  1594. in: query
  1595. name: red_package_id
  1596. required: true
  1597. type: string
  1598. produces:
  1599. - application/json
  1600. responses:
  1601. "200":
  1602. description: 具体数据
  1603. schema:
  1604. $ref: '#/definitions/md.RedPackageDetailResp'
  1605. "400":
  1606. description: 具体错误
  1607. schema:
  1608. $ref: '#/definitions/md.Response'
  1609. summary: 蛋蛋星球-即时通讯-红包详情(获取)
  1610. tags:
  1611. - 即时通讯
  1612. /api/v1/im/user/grabRedPackage:
  1613. post:
  1614. consumes:
  1615. - application/json
  1616. description: 领取红包
  1617. parameters:
  1618. - description: 验证参数Bearer和token空格拼接
  1619. in: header
  1620. name: Authorization
  1621. required: true
  1622. type: string
  1623. - description: 领取红包信息
  1624. in: body
  1625. name: req
  1626. required: true
  1627. schema:
  1628. $ref: '#/definitions/md.GrabRedPackageReq'
  1629. produces:
  1630. - application/json
  1631. responses:
  1632. "200":
  1633. description: 具体数据
  1634. schema:
  1635. $ref: '#/definitions/md.GrabRedPackageResp'
  1636. "400":
  1637. description: 具体错误
  1638. schema:
  1639. $ref: '#/definitions/md.Response'
  1640. summary: 蛋蛋星球-即时通讯-领取红包
  1641. tags:
  1642. - 即时通讯
  1643. /api/v1/im/user/sendRedPackageDetail:
  1644. post:
  1645. consumes:
  1646. - application/json
  1647. description: 发送红包
  1648. parameters:
  1649. - description: 验证参数Bearer和token空格拼接
  1650. in: header
  1651. name: Authorization
  1652. required: true
  1653. type: string
  1654. - description: 红包的订单 ID
  1655. in: body
  1656. name: req
  1657. required: true
  1658. schema:
  1659. $ref: '#/definitions/md.SendRedPackageDetailReq'
  1660. produces:
  1661. - application/json
  1662. responses:
  1663. "200":
  1664. description: 具体数据
  1665. schema:
  1666. $ref: '#/definitions/md.SendRedPackageDetailResp'
  1667. "400":
  1668. description: 具体错误
  1669. schema:
  1670. $ref: '#/definitions/md.Response'
  1671. summary: 蛋蛋星球-即时通讯-发送红包
  1672. tags:
  1673. - 即时通讯
  1674. /api/v1/login:
  1675. post:
  1676. consumes:
  1677. - application/json
  1678. description: 登入
  1679. parameters:
  1680. - description: 用户名密码
  1681. in: body
  1682. name: req
  1683. required: true
  1684. schema:
  1685. $ref: '#/definitions/md.LoginReq'
  1686. produces:
  1687. - application/json
  1688. responses:
  1689. "200":
  1690. description: token
  1691. schema:
  1692. $ref: '#/definitions/md.LoginResponse'
  1693. "400":
  1694. description: 具体错误
  1695. schema:
  1696. $ref: '#/definitions/md.Response'
  1697. summary: 登陆
  1698. tags:
  1699. - 登录
  1700. /api/v1/memberCenter/getBasic:
  1701. get:
  1702. consumes:
  1703. - application/json
  1704. description: 基础数据(获取)
  1705. parameters:
  1706. - description: 验证参数Bearer和token空格拼接
  1707. in: header
  1708. name: Authorization
  1709. required: true
  1710. type: string
  1711. produces:
  1712. - application/json
  1713. responses:
  1714. "200":
  1715. description: 具体数据
  1716. schema:
  1717. $ref: '#/definitions/md.MemberCenterGetBasicResp'
  1718. "400":
  1719. description: 具体错误
  1720. schema:
  1721. $ref: '#/definitions/md.Response'
  1722. summary: 蛋蛋星球-会员中心-基础数据(获取)
  1723. tags:
  1724. - 会员中心
  1725. /api/v1/pointsCenter/basic:
  1726. get:
  1727. consumes:
  1728. - application/json
  1729. description: 上部分基础信息(获取)
  1730. parameters:
  1731. - description: 验证参数Bearer和token空格拼接
  1732. in: header
  1733. name: Authorization
  1734. required: true
  1735. type: string
  1736. produces:
  1737. - application/json
  1738. responses:
  1739. "200":
  1740. description: 具体数据
  1741. schema:
  1742. $ref: '#/definitions/md.PointsCenterGetBasicResp'
  1743. "400":
  1744. description: 具体错误
  1745. schema:
  1746. $ref: '#/definitions/md.Response'
  1747. summary: 蛋蛋星球-积分中心-上部分基础信息(获取)
  1748. tags:
  1749. - 积分中心
  1750. /api/v1/pointsCenter/contributionValue:
  1751. get:
  1752. consumes:
  1753. - application/json
  1754. description: 贡献值(获取)
  1755. parameters:
  1756. - description: 验证参数Bearer和token空格拼接
  1757. in: header
  1758. name: Authorization
  1759. required: true
  1760. type: string
  1761. produces:
  1762. - application/json
  1763. responses:
  1764. "200":
  1765. description: 具体数据
  1766. schema:
  1767. $ref: '#/definitions/md.GetContributionValueResp'
  1768. "400":
  1769. description: 具体错误
  1770. schema:
  1771. $ref: '#/definitions/md.Response'
  1772. summary: 蛋蛋星球-积分中心-贡献值(获取)
  1773. tags:
  1774. - 积分中心
  1775. /api/v1/pointsCenter/contributionValueFlow:
  1776. get:
  1777. consumes:
  1778. - application/json
  1779. description: 贡献值明细(获取)
  1780. parameters:
  1781. - description: 验证参数Bearer和token空格拼接
  1782. in: header
  1783. name: Authorization
  1784. required: true
  1785. type: string
  1786. - description: 每页大小
  1787. in: query
  1788. name: limit
  1789. required: true
  1790. type: string
  1791. - description: 页数
  1792. in: query
  1793. name: page
  1794. required: true
  1795. type: string
  1796. produces:
  1797. - application/json
  1798. responses:
  1799. "200":
  1800. description: 具体数据
  1801. schema:
  1802. $ref: '#/definitions/md.GetContributionValueFlowResp'
  1803. "400":
  1804. description: 具体错误
  1805. schema:
  1806. $ref: '#/definitions/md.Response'
  1807. summary: 蛋蛋星球-积分中心-贡献值明细(获取)
  1808. tags:
  1809. - 积分中心
  1810. /api/v1/pointsCenter/dynamicData:
  1811. get:
  1812. consumes:
  1813. - application/json
  1814. description: 动态数据(获取)
  1815. parameters:
  1816. - description: 验证参数Bearer和token空格拼接
  1817. in: header
  1818. name: Authorization
  1819. required: true
  1820. type: string
  1821. produces:
  1822. - application/json
  1823. responses:
  1824. "200":
  1825. description: 具体数据
  1826. schema:
  1827. $ref: '#/definitions/md.DynamicDataResp'
  1828. "400":
  1829. description: 具体错误
  1830. schema:
  1831. $ref: '#/definitions/md.Response'
  1832. summary: 蛋蛋星球-积分中心-动态数据(获取)
  1833. tags:
  1834. - 积分中心
  1835. /api/v1/pointsCenter/energyFlow:
  1836. get:
  1837. consumes:
  1838. - application/json
  1839. description: 收支明细(获取)
  1840. parameters:
  1841. - description: 验证参数Bearer和token空格拼接
  1842. in: header
  1843. name: Authorization
  1844. required: true
  1845. type: string
  1846. - description: 每页大小
  1847. in: query
  1848. name: limit
  1849. required: true
  1850. type: string
  1851. - description: 页数
  1852. in: query
  1853. name: page
  1854. required: true
  1855. type: string
  1856. - description: 开始时间
  1857. in: query
  1858. name: startAt
  1859. type: string
  1860. - description: 结束时间
  1861. in: query
  1862. name: endAt
  1863. type: string
  1864. - description: 流水方向(1.收入 2.支出 0.全部)
  1865. in: query
  1866. name: direction
  1867. type: string
  1868. produces:
  1869. - application/json
  1870. responses:
  1871. "200":
  1872. description: 具体数据
  1873. schema:
  1874. $ref: '#/definitions/md.GetEggEnergyFlowResp'
  1875. "400":
  1876. description: 具体错误
  1877. schema:
  1878. $ref: '#/definitions/md.Response'
  1879. summary: 蛋蛋星球-积分中心-收支明细(获取)
  1880. tags:
  1881. - 积分中心
  1882. /api/v1/pointsCenter/exchangeEnergy:
  1883. post:
  1884. consumes:
  1885. - application/json
  1886. description: 能量兑换
  1887. parameters:
  1888. - description: 验证参数Bearer和token空格拼接
  1889. in: header
  1890. name: Authorization
  1891. required: true
  1892. type: string
  1893. - description: 需要兑换的能量值
  1894. in: body
  1895. name: req
  1896. required: true
  1897. schema:
  1898. $ref: '#/definitions/md.ExchangeEnergyReq'
  1899. produces:
  1900. - application/json
  1901. responses:
  1902. "200":
  1903. description: success
  1904. schema:
  1905. type: string
  1906. "400":
  1907. description: 具体错误
  1908. schema:
  1909. $ref: '#/definitions/md.Response'
  1910. summary: 蛋蛋星球-积分中心-能量兑换
  1911. tags:
  1912. - 积分中心
  1913. /api/v1/pointsCenter/initialData:
  1914. get:
  1915. consumes:
  1916. - application/json
  1917. description: 初始数据(获取)
  1918. parameters:
  1919. - description: 验证参数Bearer和token空格拼接
  1920. in: header
  1921. name: Authorization
  1922. required: true
  1923. type: string
  1924. produces:
  1925. - application/json
  1926. responses:
  1927. "200":
  1928. description: 具体数据
  1929. schema:
  1930. $ref: '#/definitions/md.InitialDataResp'
  1931. "400":
  1932. description: 具体错误
  1933. schema:
  1934. $ref: '#/definitions/md.Response'
  1935. summary: 蛋蛋星球-积分中心-初始数据(获取)
  1936. tags:
  1937. - 积分中心
  1938. /api/v1/pointsCenter/pointsExchangeBasic:
  1939. get:
  1940. consumes:
  1941. - application/json
  1942. description: 积分兑换基础信息(获取)
  1943. parameters:
  1944. - description: 验证参数Bearer和token空格拼接
  1945. in: header
  1946. name: Authorization
  1947. required: true
  1948. type: string
  1949. produces:
  1950. - application/json
  1951. responses:
  1952. "200":
  1953. description: 具体数据
  1954. schema:
  1955. $ref: '#/definitions/md.PointsExchangeGetBasicResp'
  1956. "400":
  1957. description: 具体错误
  1958. schema:
  1959. $ref: '#/definitions/md.Response'
  1960. summary: 蛋蛋星球-积分中心-积分兑换基础信息(获取)
  1961. tags:
  1962. - 积分中心
  1963. /api/v1/pointsCenter/priceCurve:
  1964. get:
  1965. consumes:
  1966. - application/json
  1967. description: 价格趋势(获取)
  1968. parameters:
  1969. - description: 验证参数Bearer和token空格拼接
  1970. in: header
  1971. name: Authorization
  1972. required: true
  1973. type: string
  1974. - description: 1:按天 2:按小时 3:按周
  1975. in: query
  1976. name: kind
  1977. type: string
  1978. produces:
  1979. - application/json
  1980. responses:
  1981. "200":
  1982. description: 具体数据
  1983. schema:
  1984. $ref: '#/definitions/md.GetPriceCurveResp'
  1985. "400":
  1986. description: 具体错误
  1987. schema:
  1988. $ref: '#/definitions/md.Response'
  1989. summary: 蛋蛋星球-积分中心-价格趋势(获取)
  1990. tags:
  1991. - 积分中心
  1992. /api/v1/pointsCenter/record:
  1993. get:
  1994. consumes:
  1995. - application/json
  1996. description: 蛋蛋分明细(获取)
  1997. parameters:
  1998. - description: 验证参数Bearer和token空格拼接
  1999. in: header
  2000. name: Authorization
  2001. required: true
  2002. type: string
  2003. - description: 每页大小
  2004. in: query
  2005. name: limit
  2006. required: true
  2007. type: string
  2008. - description: 页数
  2009. in: query
  2010. name: page
  2011. required: true
  2012. type: string
  2013. produces:
  2014. - application/json
  2015. responses:
  2016. "200":
  2017. description: 具体数据
  2018. schema:
  2019. $ref: '#/definitions/md.GetEggPointRecordResp'
  2020. "400":
  2021. description: 具体错误
  2022. schema:
  2023. $ref: '#/definitions/md.Response'
  2024. summary: 蛋蛋星球-积分中心-蛋蛋分明细(获取)
  2025. tags:
  2026. - 积分中心
  2027. /api/v1/register:
  2028. post:
  2029. consumes:
  2030. - application/json
  2031. description: 注册
  2032. parameters:
  2033. - description: 注册参数
  2034. in: body
  2035. name: req
  2036. required: true
  2037. schema:
  2038. $ref: '#/definitions/md.RegisterReq'
  2039. produces:
  2040. - application/json
  2041. responses:
  2042. "200":
  2043. description: 登录成功返回
  2044. schema:
  2045. $ref: '#/definitions/md.LoginResponse'
  2046. "400":
  2047. description: 具体错误
  2048. schema:
  2049. $ref: '#/definitions/md.Response'
  2050. summary: 注册
  2051. tags:
  2052. - 注册
  2053. /api/v1/smsSend:
  2054. post:
  2055. consumes:
  2056. - application/json
  2057. description: 发送短信
  2058. parameters:
  2059. - description: 注册参数
  2060. in: body
  2061. name: req
  2062. required: true
  2063. schema:
  2064. $ref: '#/definitions/md.SmsSendReq'
  2065. produces:
  2066. - application/json
  2067. responses:
  2068. "200":
  2069. description: 成功返回
  2070. schema:
  2071. type: string
  2072. "400":
  2073. description: 具体错误
  2074. schema:
  2075. $ref: '#/definitions/md.Response'
  2076. summary: 发送短信
  2077. tags:
  2078. - 发送短信
  2079. /api/v1/test:
  2080. get:
  2081. consumes:
  2082. - application/json
  2083. description: Demo样例测试
  2084. parameters:
  2085. - description: 任意参数
  2086. in: body
  2087. name: req
  2088. required: true
  2089. schema: {}
  2090. produces:
  2091. - application/json
  2092. responses:
  2093. "200":
  2094. description: 返回任意参数
  2095. schema:
  2096. additionalProperties: true
  2097. type: object
  2098. "400":
  2099. description: 具体错误
  2100. schema:
  2101. $ref: '#/definitions/md.Response'
  2102. summary: Demo测试
  2103. tags:
  2104. - Demo
  2105. /api/v1/userInfo:
  2106. get:
  2107. consumes:
  2108. - application/json
  2109. description: 用户信息
  2110. parameters:
  2111. - description: 验证参数Bearer和token空格拼接
  2112. in: header
  2113. name: Authorization
  2114. required: true
  2115. type: string
  2116. produces:
  2117. - application/json
  2118. responses:
  2119. "200":
  2120. description: 具体数据
  2121. schema:
  2122. $ref: '#/definitions/md.UserInfoResp'
  2123. "400":
  2124. description: 具体错误
  2125. schema:
  2126. $ref: '#/definitions/md.Response'
  2127. summary: 用户信息
  2128. tags:
  2129. - 用户信息
  2130. /api/v1/wallet/amountFlow:
  2131. get:
  2132. consumes:
  2133. - application/json
  2134. description: 余额明细(获取)
  2135. parameters:
  2136. - description: 验证参数Bearer和token空格拼接
  2137. in: header
  2138. name: Authorization
  2139. required: true
  2140. type: string
  2141. - description: 每页大小
  2142. in: query
  2143. name: limit
  2144. required: true
  2145. type: string
  2146. - description: 页数
  2147. in: query
  2148. name: page
  2149. required: true
  2150. type: string
  2151. - description: 开始时间
  2152. in: query
  2153. name: startAt
  2154. type: string
  2155. - description: 结束时间
  2156. in: query
  2157. name: endAt
  2158. type: string
  2159. - description: 流水方向(1.收入 2.支出 0.全部)
  2160. in: query
  2161. name: direction
  2162. type: string
  2163. produces:
  2164. - application/json
  2165. responses:
  2166. "200":
  2167. description: 具体数据
  2168. schema:
  2169. $ref: '#/definitions/md.GetAmountFlowResp'
  2170. "400":
  2171. description: 具体错误
  2172. schema:
  2173. $ref: '#/definitions/md.Response'
  2174. summary: 蛋蛋星球-钱包-余额明细(获取)
  2175. tags:
  2176. - 钱包
  2177. /api/v1/wallet/withdraw/index:
  2178. get:
  2179. consumes:
  2180. - application/json
  2181. description: 提现余额(获取)
  2182. parameters:
  2183. - description: 验证参数Bearer和token空格拼接
  2184. in: header
  2185. name: Authorization
  2186. required: true
  2187. type: string
  2188. produces:
  2189. - application/json
  2190. responses:
  2191. "200":
  2192. description: 具体数据
  2193. schema:
  2194. $ref: '#/definitions/md.WithdrawGetAmountResp'
  2195. "400":
  2196. description: 具体错误
  2197. schema:
  2198. $ref: '#/definitions/md.Response'
  2199. summary: 蛋蛋星球-钱包-提现余额(获取)
  2200. tags:
  2201. - 钱包
  2202. /api/v1/wechatLogin:
  2203. post:
  2204. consumes:
  2205. - application/json
  2206. description: 微信登陆
  2207. parameters:
  2208. - description: 注册参数
  2209. in: body
  2210. name: req
  2211. required: true
  2212. schema:
  2213. $ref: '#/definitions/md.WechatLoginReq'
  2214. produces:
  2215. - application/json
  2216. responses:
  2217. "200":
  2218. description: 登录成功返回
  2219. schema:
  2220. $ref: '#/definitions/md.LoginResponse'
  2221. "400":
  2222. description: 具体错误
  2223. schema:
  2224. $ref: '#/definitions/md.Response'
  2225. summary: 微信登陆
  2226. tags:
  2227. - 微信登陆
  2228. swagger: "2.0"