蛋蛋星球-客户端
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

swagger.json 49 KiB

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