蛋蛋星球-客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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