api.html 339 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981
  1. <!DOCTYPE html>
  2. <html lang="zh-cn">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <meta name="description" content="">
  8. <title>保险</title>
  9. <!-- Bootstrap Core CSS -->
  10. <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
  11. <!-- Plugin CSS -->
  12. <link href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
  13. <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  14. <!--[if lt IE 9]>
  15. <script src="https://cdn.staticfile.org/html5shiv/3.7.3/html5shiv.min.js"></script>
  16. <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
  17. <![endif]-->
  18. <style type="text/css">
  19. body {
  20. padding-top: 70px; margin-bottom: 15px;
  21. -webkit-font-smoothing: antialiased;
  22. -moz-osx-font-smoothing: grayscale;
  23. font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  24. font-weight: 400;
  25. }
  26. h2 { font-size: 1.2em; }
  27. hr { margin-top: 10px; }
  28. .tab-pane { padding-top: 10px; }
  29. .mt0 { margin-top: 0px; }
  30. .footer { font-size: 12px; color: #666; }
  31. .docs-list .label { display: inline-block; min-width: 65px; padding: 0.3em 0.6em 0.3em; }
  32. .string { color: green; }
  33. .number { color: darkorange; }
  34. .boolean { color: blue; }
  35. .null { color: magenta; }
  36. .key { color: red; }
  37. .popover { max-width: 400px; max-height: 400px; overflow-y: auto;}
  38. .list-group.panel > .list-group-item {
  39. }
  40. .list-group-item:last-child {
  41. border-radius:0;
  42. }
  43. h4.panel-title a {
  44. font-weight:normal;
  45. font-size:14px;
  46. }
  47. h4.panel-title a .text-muted {
  48. font-size:12px;
  49. font-weight:normal;
  50. font-family: 'Verdana';
  51. }
  52. #sidebar {
  53. width: 220px;
  54. position: fixed;
  55. margin-left: -240px;
  56. overflow-y:auto;
  57. }
  58. #sidebar > .list-group {
  59. margin-bottom:0;
  60. }
  61. #sidebar > .list-group > a{
  62. text-indent:0;
  63. }
  64. #sidebar .child > a .tag{
  65. position: absolute;
  66. right: 10px;
  67. top: 11px;
  68. }
  69. #sidebar .child > a .pull-right{
  70. margin-left:3px;
  71. }
  72. #sidebar .child {
  73. border:1px solid #ddd;
  74. border-bottom:none;
  75. }
  76. #sidebar .child:last-child {
  77. border-bottom:1px solid #ddd;
  78. }
  79. #sidebar .child > a {
  80. border:0;
  81. min-height: 40px;
  82. }
  83. #sidebar .list-group a.current {
  84. background:#f5f5f5;
  85. }
  86. @media (max-width: 1620px){
  87. #sidebar {
  88. margin:0;
  89. }
  90. #accordion {
  91. padding-left:235px;
  92. }
  93. }
  94. @media (max-width: 768px){
  95. #sidebar {
  96. display: none;
  97. }
  98. #accordion {
  99. padding-left:0px;
  100. }
  101. }
  102. .label-primary {
  103. background-color: #248aff;
  104. }
  105. .docs-list .panel .panel-body .table {
  106. margin-bottom: 0;
  107. }
  108. </style>
  109. </head>
  110. <body>
  111. <!-- Fixed navbar -->
  112. <div class="navbar navbar-default navbar-fixed-top" role="navigation">
  113. <div class="container">
  114. <div class="navbar-header">
  115. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
  116. <span class="sr-only">Toggle navigation</span>
  117. <span class="icon-bar"></span>
  118. <span class="icon-bar"></span>
  119. <span class="icon-bar"></span>
  120. </button>
  121. <a class="navbar-brand" href="./" target="_blank">保险</a>
  122. </div>
  123. <div class="navbar-collapse collapse">
  124. <form class="navbar-form navbar-right">
  125. <div class="form-group">
  126. Token:
  127. </div>
  128. <div class="form-group">
  129. <input type="text" class="form-control input-sm" data-toggle="tooltip" title="Token在会员注册或登录后都会返回,WEB端同时存在于Cookie中" placeholder="token" id="token" />
  130. </div>
  131. <div class="form-group">
  132. Apiurl:
  133. </div>
  134. <div class="form-group">
  135. <input id="apiUrl" type="text" class="form-control input-sm" data-toggle="tooltip" title="API接口URL" placeholder="https://api.mydomain.com" value="" />
  136. </div>
  137. <div class="form-group">
  138. <button type="button" class="btn btn-success btn-sm" data-toggle="tooltip" title="点击保存后Token和Api url都将保存在本地Localstorage中" id="save_data">
  139. <span class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span>
  140. </button>
  141. </div>
  142. </form>
  143. </div><!--/.nav-collapse -->
  144. </div>
  145. </div>
  146. <div class="container">
  147. <!-- menu -->
  148. <div id="sidebar">
  149. <div class="list-group panel">
  150. <a href="#公共接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">公共接口 <i class="fa fa-caret-down"></i></a>
  151. <div class="child collapse" id="公共接口">
  152. <a href="javascript:;" data-id="0" class="list-group-item">加载初始化 <span class="tag">
  153. </span>
  154. </a>
  155. <a href="javascript:;" data-id="1" class="list-group-item">上传文件 <span class="tag">
  156. <span class="label label-success pull-right noneedlogin">登</span>
  157. </span>
  158. </a>
  159. </div>
  160. <a href="#示例接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">示例接口 <i class="fa fa-caret-down"></i></a>
  161. <div class="child collapse" id="示例接口">
  162. <a href="javascript:;" data-id="2" class="list-group-item">测试名称 <span class="tag">
  163. </span>
  164. </a>
  165. <a href="javascript:;" data-id="3" class="list-group-item">无需登录的接口 <span class="tag">
  166. </span>
  167. </a>
  168. <a href="javascript:;" data-id="4" class="list-group-item">需要登录的接口 <span class="tag">
  169. <span class="label label-success pull-right noneedlogin">登</span>
  170. </span>
  171. </a>
  172. <a href="javascript:;" data-id="5" class="list-group-item">需要登录且需要验证有相应组的权限 <span class="tag">
  173. <span class="label label-danger pull-right">鉴</span>
  174. <span class="label label-success pull-right noneedlogin">登</span>
  175. </span>
  176. </a>
  177. </div>
  178. <a href="#邮箱验证码接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">邮箱验证码接口 <i class="fa fa-caret-down"></i></a>
  179. <div class="child collapse" id="邮箱验证码接口">
  180. <a href="javascript:;" data-id="6" class="list-group-item">发送验证码 <span class="tag">
  181. </span>
  182. </a>
  183. <a href="javascript:;" data-id="7" class="list-group-item">检测验证码 <span class="tag">
  184. </span>
  185. </a>
  186. </div>
  187. <a href="#首页接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">首页接口 <i class="fa fa-caret-down"></i></a>
  188. <div class="child collapse" id="首页接口">
  189. <a href="javascript:;" data-id="8" class="list-group-item">首页 <span class="tag">
  190. </span>
  191. </a>
  192. </div>
  193. <a href="#Insurance" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">Insurance <i class="fa fa-caret-down"></i></a>
  194. <div class="child collapse" id="Insurance">
  195. <a href="javascript:;" data-id="9" class="list-group-item">获取排行榜 <span class="tag">
  196. </span>
  197. </a>
  198. </div>
  199. <a href="#手机短信接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">手机短信接口 <i class="fa fa-caret-down"></i></a>
  200. <div class="child collapse" id="手机短信接口">
  201. <a href="javascript:;" data-id="10" class="list-group-item">发送验证码 <span class="tag">
  202. </span>
  203. </a>
  204. <a href="javascript:;" data-id="11" class="list-group-item">检测验证码 <span class="tag">
  205. </span>
  206. </a>
  207. </div>
  208. <a href="#Token接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">Token接口 <i class="fa fa-caret-down"></i></a>
  209. <div class="child collapse" id="Token接口">
  210. <a href="javascript:;" data-id="12" class="list-group-item">检测Token是否过期 <span class="tag">
  211. <span class="label label-success pull-right noneedlogin">登</span>
  212. </span>
  213. </a>
  214. <a href="javascript:;" data-id="13" class="list-group-item">刷新Token <span class="tag">
  215. <span class="label label-success pull-right noneedlogin">登</span>
  216. </span>
  217. </a>
  218. </div>
  219. <a href="#会员接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">会员接口 <i class="fa fa-caret-down"></i></a>
  220. <div class="child collapse" id="会员接口">
  221. <a href="javascript:;" data-id="14" class="list-group-item">会员中心 <span class="tag">
  222. <span class="label label-success pull-right noneedlogin">登</span>
  223. </span>
  224. </a>
  225. <a href="javascript:;" data-id="15" class="list-group-item">会员登录 <span class="tag">
  226. </span>
  227. </a>
  228. <a href="javascript:;" data-id="16" class="list-group-item">手机验证码登录 <span class="tag">
  229. </span>
  230. </a>
  231. <a href="javascript:;" data-id="17" class="list-group-item">注册会员 <span class="tag">
  232. </span>
  233. </a>
  234. <a href="javascript:;" data-id="18" class="list-group-item">退出登录 <span class="tag">
  235. <span class="label label-success pull-right noneedlogin">登</span>
  236. </span>
  237. </a>
  238. <a href="javascript:;" data-id="19" class="list-group-item">修改会员个人信息 <span class="tag">
  239. <span class="label label-success pull-right noneedlogin">登</span>
  240. </span>
  241. </a>
  242. <a href="javascript:;" data-id="20" class="list-group-item">修改邮箱 <span class="tag">
  243. </span>
  244. </a>
  245. <a href="javascript:;" data-id="21" class="list-group-item">修改手机号 <span class="tag">
  246. </span>
  247. </a>
  248. <a href="javascript:;" data-id="22" class="list-group-item">第三方登录 <span class="tag">
  249. </span>
  250. </a>
  251. <a href="javascript:;" data-id="23" class="list-group-item">重置密码 <span class="tag">
  252. </span>
  253. </a>
  254. </div>
  255. <a href="#验证接口" class="list-group-item" data-toggle="collapse" data-parent="#sidebar">验证接口 <i class="fa fa-caret-down"></i></a>
  256. <div class="child collapse" id="验证接口">
  257. <a href="javascript:;" data-id="24" class="list-group-item">检测邮箱 <span class="tag">
  258. </span>
  259. </a>
  260. <a href="javascript:;" data-id="25" class="list-group-item">检测用户名 <span class="tag">
  261. </span>
  262. </a>
  263. <a href="javascript:;" data-id="26" class="list-group-item">检测昵称 <span class="tag">
  264. </span>
  265. </a>
  266. <a href="javascript:;" data-id="27" class="list-group-item">检测手机 <span class="tag">
  267. </span>
  268. </a>
  269. <a href="javascript:;" data-id="28" class="list-group-item">检测手机 <span class="tag">
  270. </span>
  271. </a>
  272. <a href="javascript:;" data-id="29" class="list-group-item">检测邮箱 <span class="tag">
  273. </span>
  274. </a>
  275. <a href="javascript:;" data-id="30" class="list-group-item">检测手机验证码 <span class="tag">
  276. </span>
  277. </a>
  278. <a href="javascript:;" data-id="31" class="list-group-item">检测邮箱验证码 <span class="tag">
  279. </span>
  280. </a>
  281. </div>
  282. </div>
  283. </div>
  284. <div class="panel-group docs-list" id="accordion">
  285. <h2>公共接口</h2>
  286. <hr>
  287. <div class="panel panel-default">
  288. <div class="panel-heading" id="heading-0">
  289. <h4 class="panel-title">
  290. <span class="label label-success">GET</span>
  291. <a data-toggle="collapse" data-parent="#accordion0" href="#collapseOne0"> 加载初始化 <span class="text-muted">/api/common/init</span></a>
  292. </h4>
  293. </div>
  294. <div id="collapseOne0" class="panel-collapse collapse">
  295. <div class="panel-body">
  296. <!-- Nav tabs -->
  297. <ul class="nav nav-tabs" id="doctab0">
  298. <li class="active"><a href="#info0" data-toggle="tab">基础信息</a></li>
  299. <li><a href="#sandbox0" data-toggle="tab">在线测试</a></li>
  300. <li><a href="#sample0" data-toggle="tab">返回示例</a></li>
  301. </ul>
  302. <!-- Tab panes -->
  303. <div class="tab-content">
  304. <div class="tab-pane active" id="info0">
  305. <div class="well">
  306. 加载初始化 </div>
  307. <div class="panel panel-default">
  308. <div class="panel-heading"><strong>权限</strong></div>
  309. <div class="panel-body">
  310. <table class="table table-hover">
  311. <tbody>
  312. <tr>
  313. <td>登录</td>
  314. <td>否</td>
  315. </tr>
  316. <tr>
  317. <td>鉴权</td>
  318. <td>否</td>
  319. </tr>
  320. </tbody>
  321. </table>
  322. </div>
  323. </div>
  324. <div class="panel panel-default">
  325. <div class="panel-heading"><strong>Headers</strong></div>
  326. <div class="panel-body">
  327. </div>
  328. </div>
  329. <div class="panel panel-default">
  330. <div class="panel-heading"><strong>参数</strong></div>
  331. <div class="panel-body">
  332. <table class="table table-hover">
  333. <thead>
  334. <tr>
  335. <th>名称</th>
  336. <th>类型</th>
  337. <th>必选</th>
  338. <th>描述</th>
  339. </tr>
  340. </thead>
  341. <tbody>
  342. <tr>
  343. <td>version</td>
  344. <td>string</td>
  345. <td>是</td>
  346. <td>版本号</td>
  347. </tr>
  348. <tr>
  349. <td>lng</td>
  350. <td>string</td>
  351. <td>是</td>
  352. <td>经度</td>
  353. </tr>
  354. <tr>
  355. <td>lat</td>
  356. <td>string</td>
  357. <td>是</td>
  358. <td>纬度</td>
  359. </tr>
  360. </tbody>
  361. </table>
  362. </div>
  363. </div>
  364. <div class="panel panel-default">
  365. <div class="panel-heading"><strong>正文</strong></div>
  366. <div class="panel-body">
  367. 无 </div>
  368. </div>
  369. </div><!-- #info -->
  370. <div class="tab-pane" id="sandbox0">
  371. <div class="row">
  372. <div class="col-md-12">
  373. <div class="panel panel-default">
  374. <div class="panel-heading"><strong>参数</strong>
  375. <div class="pull-right">
  376. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  377. </div>
  378. </div>
  379. <div class="panel-body">
  380. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/common/init" method="get" name="form0" id="form0">
  381. <div class="form-group">
  382. <label class="control-label" for="version">version</label>
  383. <input type="string" class="form-control input-sm" id="version" required placeholder="版本号" name="version">
  384. </div>
  385. <div class="form-group">
  386. <label class="control-label" for="lng">lng</label>
  387. <input type="string" class="form-control input-sm" id="lng" required placeholder="经度" name="lng">
  388. </div>
  389. <div class="form-group">
  390. <label class="control-label" for="lat">lat</label>
  391. <input type="string" class="form-control input-sm" id="lat" required placeholder="纬度" name="lat">
  392. </div>
  393. <div class="form-group form-group-submit">
  394. <button type="submit" class="btn btn-success send" rel="0">提交</button>
  395. <button type="reset" class="btn btn-info" rel="0">重置</button>
  396. </div>
  397. </form>
  398. </div>
  399. </div>
  400. <div class="panel panel-default">
  401. <div class="panel-heading"><strong>响应输出</strong></div>
  402. <div class="panel-body">
  403. <div class="row">
  404. <div class="col-md-12" style="overflow-x:auto">
  405. <pre id="response_headers0"></pre>
  406. <pre id="response0"></pre>
  407. </div>
  408. </div>
  409. </div>
  410. </div>
  411. <div class="panel panel-default">
  412. <div class="panel-heading"><strong>返回参数</strong></div>
  413. <div class="panel-body">
  414. </div>
  415. </div>
  416. </div>
  417. </div>
  418. </div><!-- #sandbox -->
  419. <div class="tab-pane" id="sample0">
  420. <div class="row">
  421. <div class="col-md-12">
  422. <pre id="sample_response0">无</pre>
  423. </div>
  424. </div>
  425. </div><!-- #sample -->
  426. </div><!-- .tab-content -->
  427. </div>
  428. </div>
  429. </div>
  430. <div class="panel panel-default">
  431. <div class="panel-heading" id="heading-1">
  432. <h4 class="panel-title">
  433. <span class="label label-primary">POST</span>
  434. <a data-toggle="collapse" data-parent="#accordion1" href="#collapseOne1"> 上传文件 <span class="text-muted">/api/common/upload</span></a>
  435. </h4>
  436. </div>
  437. <div id="collapseOne1" class="panel-collapse collapse">
  438. <div class="panel-body">
  439. <!-- Nav tabs -->
  440. <ul class="nav nav-tabs" id="doctab1">
  441. <li class="active"><a href="#info1" data-toggle="tab">基础信息</a></li>
  442. <li><a href="#sandbox1" data-toggle="tab">在线测试</a></li>
  443. <li><a href="#sample1" data-toggle="tab">返回示例</a></li>
  444. </ul>
  445. <!-- Tab panes -->
  446. <div class="tab-content">
  447. <div class="tab-pane active" id="info1">
  448. <div class="well">
  449. 上传文件 </div>
  450. <div class="panel panel-default">
  451. <div class="panel-heading"><strong>权限</strong></div>
  452. <div class="panel-body">
  453. <table class="table table-hover">
  454. <tbody>
  455. <tr>
  456. <td>登录</td>
  457. <td>是</td>
  458. </tr>
  459. <tr>
  460. <td>鉴权</td>
  461. <td>否</td>
  462. </tr>
  463. </tbody>
  464. </table>
  465. </div>
  466. </div>
  467. <div class="panel panel-default">
  468. <div class="panel-heading"><strong>Headers</strong></div>
  469. <div class="panel-body">
  470. </div>
  471. </div>
  472. <div class="panel panel-default">
  473. <div class="panel-heading"><strong>参数</strong></div>
  474. <div class="panel-body">
  475. <table class="table table-hover">
  476. <thead>
  477. <tr>
  478. <th>名称</th>
  479. <th>类型</th>
  480. <th>必选</th>
  481. <th>描述</th>
  482. </tr>
  483. </thead>
  484. <tbody>
  485. <tr>
  486. <td>file</td>
  487. <td>File</td>
  488. <td>是</td>
  489. <td>文件流</td>
  490. </tr>
  491. </tbody>
  492. </table>
  493. </div>
  494. </div>
  495. <div class="panel panel-default">
  496. <div class="panel-heading"><strong>正文</strong></div>
  497. <div class="panel-body">
  498. 无 </div>
  499. </div>
  500. </div><!-- #info -->
  501. <div class="tab-pane" id="sandbox1">
  502. <div class="row">
  503. <div class="col-md-12">
  504. <div class="panel panel-default">
  505. <div class="panel-heading"><strong>参数</strong>
  506. <div class="pull-right">
  507. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  508. </div>
  509. </div>
  510. <div class="panel-body">
  511. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/common/upload" method="POST" name="form1" id="form1">
  512. <div class="form-group">
  513. <label class="control-label" for="file">file</label>
  514. <input type="File" class="form-control input-sm" id="file" required placeholder="文件流" name="file">
  515. </div>
  516. <div class="form-group form-group-submit">
  517. <button type="submit" class="btn btn-success send" rel="1">提交</button>
  518. <button type="reset" class="btn btn-info" rel="1">重置</button>
  519. </div>
  520. </form>
  521. </div>
  522. </div>
  523. <div class="panel panel-default">
  524. <div class="panel-heading"><strong>响应输出</strong></div>
  525. <div class="panel-body">
  526. <div class="row">
  527. <div class="col-md-12" style="overflow-x:auto">
  528. <pre id="response_headers1"></pre>
  529. <pre id="response1"></pre>
  530. </div>
  531. </div>
  532. </div>
  533. </div>
  534. <div class="panel panel-default">
  535. <div class="panel-heading"><strong>返回参数</strong></div>
  536. <div class="panel-body">
  537. </div>
  538. </div>
  539. </div>
  540. </div>
  541. </div><!-- #sandbox -->
  542. <div class="tab-pane" id="sample1">
  543. <div class="row">
  544. <div class="col-md-12">
  545. <pre id="sample_response1">无</pre>
  546. </div>
  547. </div>
  548. </div><!-- #sample -->
  549. </div><!-- .tab-content -->
  550. </div>
  551. </div>
  552. </div>
  553. <h2>示例接口</h2>
  554. <hr>
  555. <div class="panel panel-default">
  556. <div class="panel-heading" id="heading-2">
  557. <h4 class="panel-title">
  558. <span class="label label-primary">POST</span>
  559. <a data-toggle="collapse" data-parent="#accordion2" href="#collapseOne2"> 测试名称 <span class="text-muted">/api/demo/test/id/{id}/name/{name}</span></a>
  560. </h4>
  561. </div>
  562. <div id="collapseOne2" class="panel-collapse collapse">
  563. <div class="panel-body">
  564. <!-- Nav tabs -->
  565. <ul class="nav nav-tabs" id="doctab2">
  566. <li class="active"><a href="#info2" data-toggle="tab">基础信息</a></li>
  567. <li><a href="#sandbox2" data-toggle="tab">在线测试</a></li>
  568. <li><a href="#sample2" data-toggle="tab">返回示例</a></li>
  569. </ul>
  570. <!-- Tab panes -->
  571. <div class="tab-content">
  572. <div class="tab-pane active" id="info2">
  573. <div class="well">
  574. 测试描述信息 </div>
  575. <div class="panel panel-default">
  576. <div class="panel-heading"><strong>权限</strong></div>
  577. <div class="panel-body">
  578. <table class="table table-hover">
  579. <tbody>
  580. <tr>
  581. <td>登录</td>
  582. <td>否</td>
  583. </tr>
  584. <tr>
  585. <td>鉴权</td>
  586. <td>否</td>
  587. </tr>
  588. </tbody>
  589. </table>
  590. </div>
  591. </div>
  592. <div class="panel panel-default">
  593. <div class="panel-heading"><strong>Headers</strong></div>
  594. <div class="panel-body">
  595. <table class="table table-hover">
  596. <thead>
  597. <tr>
  598. <th>名称</th>
  599. <th>类型</th>
  600. <th>必选</th>
  601. <th>描述</th>
  602. </tr>
  603. </thead>
  604. <tbody>
  605. <tr>
  606. <td>token</td>
  607. <td>string</td>
  608. <td>是</td>
  609. <td>请求的Token</td>
  610. </tr>
  611. </tbody>
  612. </table>
  613. </div>
  614. </div>
  615. <div class="panel panel-default">
  616. <div class="panel-heading"><strong>参数</strong></div>
  617. <div class="panel-body">
  618. <table class="table table-hover">
  619. <thead>
  620. <tr>
  621. <th>名称</th>
  622. <th>类型</th>
  623. <th>必选</th>
  624. <th>描述</th>
  625. </tr>
  626. </thead>
  627. <tbody>
  628. <tr>
  629. <td>id</td>
  630. <td>integer</td>
  631. <td>是</td>
  632. <td>会员ID</td>
  633. </tr>
  634. <tr>
  635. <td>name</td>
  636. <td>string</td>
  637. <td>是</td>
  638. <td>用户名</td>
  639. </tr>
  640. <tr>
  641. <td>data</td>
  642. <td>object</td>
  643. <td>是</td>
  644. <td>扩展数据</td>
  645. </tr>
  646. </tbody>
  647. </table>
  648. </div>
  649. </div>
  650. <div class="panel panel-default">
  651. <div class="panel-heading"><strong>正文</strong></div>
  652. <div class="panel-body">
  653. 无 </div>
  654. </div>
  655. </div><!-- #info -->
  656. <div class="tab-pane" id="sandbox2">
  657. <div class="row">
  658. <div class="col-md-12">
  659. <div class="panel panel-default">
  660. <div class="panel-heading"><strong>Headers</strong></div>
  661. <div class="panel-body">
  662. <div class="headers">
  663. <div class="form-group">
  664. <label class="control-label" for="token">token</label>
  665. <input type="string" class="form-control input-sm" id="token" required placeholder="请求的Token - Ex: " name="token">
  666. </div>
  667. </div>
  668. </div>
  669. </div>
  670. <div class="panel panel-default">
  671. <div class="panel-heading"><strong>参数</strong>
  672. <div class="pull-right">
  673. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  674. </div>
  675. </div>
  676. <div class="panel-body">
  677. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/demo/test/id/{id}/name/{name}" method="POST" name="form2" id="form2">
  678. <div class="form-group">
  679. <label class="control-label" for="id">id</label>
  680. <input type="integer" class="form-control input-sm" id="id" required placeholder="会员ID" name="id">
  681. </div>
  682. <div class="form-group">
  683. <label class="control-label" for="name">name</label>
  684. <input type="string" class="form-control input-sm" id="name" required placeholder="用户名" name="name">
  685. </div>
  686. <div class="form-group">
  687. <label class="control-label" for="data">data</label>
  688. <input type="object" class="form-control input-sm" id="data" required placeholder="扩展数据 - 例: {'user_id':'int','user_name':'string','profile':{'email':'string','age':'integer'}}" name="data">
  689. </div>
  690. <div class="form-group form-group-submit">
  691. <button type="submit" class="btn btn-success send" rel="2">提交</button>
  692. <button type="reset" class="btn btn-info" rel="2">重置</button>
  693. </div>
  694. </form>
  695. </div>
  696. </div>
  697. <div class="panel panel-default">
  698. <div class="panel-heading"><strong>响应输出</strong></div>
  699. <div class="panel-body">
  700. <div class="row">
  701. <div class="col-md-12" style="overflow-x:auto">
  702. <pre id="response_headers2"></pre>
  703. <pre id="response2"></pre>
  704. </div>
  705. </div>
  706. </div>
  707. </div>
  708. <div class="panel panel-default">
  709. <div class="panel-heading"><strong>返回参数</strong></div>
  710. <div class="panel-body">
  711. <table class="table table-hover">
  712. <thead>
  713. <tr>
  714. <th>名称</th>
  715. <th>类型</th>
  716. <th>描述</th>
  717. </tr>
  718. </thead>
  719. <tbody>
  720. <tr>
  721. <td>code</td>
  722. <td>integer</td>
  723. <td></td>
  724. </tr>
  725. <tr>
  726. <td>msg</td>
  727. <td>string</td>
  728. <td></td>
  729. </tr>
  730. <tr>
  731. <td>data</td>
  732. <td>object</td>
  733. <td>扩展数据返回</td>
  734. </tr>
  735. </tbody>
  736. </table>
  737. </div>
  738. </div>
  739. </div>
  740. </div>
  741. </div><!-- #sandbox -->
  742. <div class="tab-pane" id="sample2">
  743. <div class="row">
  744. <div class="col-md-12">
  745. <pre id="sample_response2">{
  746. 'code':'1',
  747. 'msg':'返回成功'
  748. }</pre>
  749. </div>
  750. </div>
  751. </div><!-- #sample -->
  752. </div><!-- .tab-content -->
  753. </div>
  754. </div>
  755. </div>
  756. <div class="panel panel-default">
  757. <div class="panel-heading" id="heading-3">
  758. <h4 class="panel-title">
  759. <span class="label label-success">GET</span>
  760. <a data-toggle="collapse" data-parent="#accordion3" href="#collapseOne3"> 无需登录的接口 <span class="text-muted">/api/demo/test1</span></a>
  761. </h4>
  762. </div>
  763. <div id="collapseOne3" class="panel-collapse collapse">
  764. <div class="panel-body">
  765. <!-- Nav tabs -->
  766. <ul class="nav nav-tabs" id="doctab3">
  767. <li class="active"><a href="#info3" data-toggle="tab">基础信息</a></li>
  768. <li><a href="#sandbox3" data-toggle="tab">在线测试</a></li>
  769. <li><a href="#sample3" data-toggle="tab">返回示例</a></li>
  770. </ul>
  771. <!-- Tab panes -->
  772. <div class="tab-content">
  773. <div class="tab-pane active" id="info3">
  774. <div class="well">
  775. 无需登录的接口 </div>
  776. <div class="panel panel-default">
  777. <div class="panel-heading"><strong>权限</strong></div>
  778. <div class="panel-body">
  779. <table class="table table-hover">
  780. <tbody>
  781. <tr>
  782. <td>登录</td>
  783. <td>否</td>
  784. </tr>
  785. <tr>
  786. <td>鉴权</td>
  787. <td>否</td>
  788. </tr>
  789. </tbody>
  790. </table>
  791. </div>
  792. </div>
  793. <div class="panel panel-default">
  794. <div class="panel-heading"><strong>Headers</strong></div>
  795. <div class="panel-body">
  796. </div>
  797. </div>
  798. <div class="panel panel-default">
  799. <div class="panel-heading"><strong>参数</strong></div>
  800. <div class="panel-body">
  801. </div>
  802. </div>
  803. <div class="panel panel-default">
  804. <div class="panel-heading"><strong>正文</strong></div>
  805. <div class="panel-body">
  806. 无 </div>
  807. </div>
  808. </div><!-- #info -->
  809. <div class="tab-pane" id="sandbox3">
  810. <div class="row">
  811. <div class="col-md-12">
  812. <div class="panel panel-default">
  813. <div class="panel-heading"><strong>参数</strong>
  814. <div class="pull-right">
  815. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  816. </div>
  817. </div>
  818. <div class="panel-body">
  819. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/demo/test1" method="get" name="form3" id="form3">
  820. <div class="form-group">
  821. </div>
  822. <div class="form-group form-group-submit">
  823. <button type="submit" class="btn btn-success send" rel="3">提交</button>
  824. <button type="reset" class="btn btn-info" rel="3">重置</button>
  825. </div>
  826. </form>
  827. </div>
  828. </div>
  829. <div class="panel panel-default">
  830. <div class="panel-heading"><strong>响应输出</strong></div>
  831. <div class="panel-body">
  832. <div class="row">
  833. <div class="col-md-12" style="overflow-x:auto">
  834. <pre id="response_headers3"></pre>
  835. <pre id="response3"></pre>
  836. </div>
  837. </div>
  838. </div>
  839. </div>
  840. <div class="panel panel-default">
  841. <div class="panel-heading"><strong>返回参数</strong></div>
  842. <div class="panel-body">
  843. </div>
  844. </div>
  845. </div>
  846. </div>
  847. </div><!-- #sandbox -->
  848. <div class="tab-pane" id="sample3">
  849. <div class="row">
  850. <div class="col-md-12">
  851. <pre id="sample_response3">无</pre>
  852. </div>
  853. </div>
  854. </div><!-- #sample -->
  855. </div><!-- .tab-content -->
  856. </div>
  857. </div>
  858. </div>
  859. <div class="panel panel-default">
  860. <div class="panel-heading" id="heading-4">
  861. <h4 class="panel-title">
  862. <span class="label label-success">GET</span>
  863. <a data-toggle="collapse" data-parent="#accordion4" href="#collapseOne4"> 需要登录的接口 <span class="text-muted">/api/demo/test2</span></a>
  864. </h4>
  865. </div>
  866. <div id="collapseOne4" class="panel-collapse collapse">
  867. <div class="panel-body">
  868. <!-- Nav tabs -->
  869. <ul class="nav nav-tabs" id="doctab4">
  870. <li class="active"><a href="#info4" data-toggle="tab">基础信息</a></li>
  871. <li><a href="#sandbox4" data-toggle="tab">在线测试</a></li>
  872. <li><a href="#sample4" data-toggle="tab">返回示例</a></li>
  873. </ul>
  874. <!-- Tab panes -->
  875. <div class="tab-content">
  876. <div class="tab-pane active" id="info4">
  877. <div class="well">
  878. 需要登录的接口 </div>
  879. <div class="panel panel-default">
  880. <div class="panel-heading"><strong>权限</strong></div>
  881. <div class="panel-body">
  882. <table class="table table-hover">
  883. <tbody>
  884. <tr>
  885. <td>登录</td>
  886. <td>是</td>
  887. </tr>
  888. <tr>
  889. <td>鉴权</td>
  890. <td>否</td>
  891. </tr>
  892. </tbody>
  893. </table>
  894. </div>
  895. </div>
  896. <div class="panel panel-default">
  897. <div class="panel-heading"><strong>Headers</strong></div>
  898. <div class="panel-body">
  899. </div>
  900. </div>
  901. <div class="panel panel-default">
  902. <div class="panel-heading"><strong>参数</strong></div>
  903. <div class="panel-body">
  904. </div>
  905. </div>
  906. <div class="panel panel-default">
  907. <div class="panel-heading"><strong>正文</strong></div>
  908. <div class="panel-body">
  909. 无 </div>
  910. </div>
  911. </div><!-- #info -->
  912. <div class="tab-pane" id="sandbox4">
  913. <div class="row">
  914. <div class="col-md-12">
  915. <div class="panel panel-default">
  916. <div class="panel-heading"><strong>参数</strong>
  917. <div class="pull-right">
  918. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  919. </div>
  920. </div>
  921. <div class="panel-body">
  922. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/demo/test2" method="get" name="form4" id="form4">
  923. <div class="form-group">
  924. </div>
  925. <div class="form-group form-group-submit">
  926. <button type="submit" class="btn btn-success send" rel="4">提交</button>
  927. <button type="reset" class="btn btn-info" rel="4">重置</button>
  928. </div>
  929. </form>
  930. </div>
  931. </div>
  932. <div class="panel panel-default">
  933. <div class="panel-heading"><strong>响应输出</strong></div>
  934. <div class="panel-body">
  935. <div class="row">
  936. <div class="col-md-12" style="overflow-x:auto">
  937. <pre id="response_headers4"></pre>
  938. <pre id="response4"></pre>
  939. </div>
  940. </div>
  941. </div>
  942. </div>
  943. <div class="panel panel-default">
  944. <div class="panel-heading"><strong>返回参数</strong></div>
  945. <div class="panel-body">
  946. </div>
  947. </div>
  948. </div>
  949. </div>
  950. </div><!-- #sandbox -->
  951. <div class="tab-pane" id="sample4">
  952. <div class="row">
  953. <div class="col-md-12">
  954. <pre id="sample_response4">无</pre>
  955. </div>
  956. </div>
  957. </div><!-- #sample -->
  958. </div><!-- .tab-content -->
  959. </div>
  960. </div>
  961. </div>
  962. <div class="panel panel-default">
  963. <div class="panel-heading" id="heading-5">
  964. <h4 class="panel-title">
  965. <span class="label label-success">GET</span>
  966. <a data-toggle="collapse" data-parent="#accordion5" href="#collapseOne5"> 需要登录且需要验证有相应组的权限 <span class="text-muted">/api/demo/test3</span></a>
  967. </h4>
  968. </div>
  969. <div id="collapseOne5" class="panel-collapse collapse">
  970. <div class="panel-body">
  971. <!-- Nav tabs -->
  972. <ul class="nav nav-tabs" id="doctab5">
  973. <li class="active"><a href="#info5" data-toggle="tab">基础信息</a></li>
  974. <li><a href="#sandbox5" data-toggle="tab">在线测试</a></li>
  975. <li><a href="#sample5" data-toggle="tab">返回示例</a></li>
  976. </ul>
  977. <!-- Tab panes -->
  978. <div class="tab-content">
  979. <div class="tab-pane active" id="info5">
  980. <div class="well">
  981. 需要登录且需要验证有相应组的权限 </div>
  982. <div class="panel panel-default">
  983. <div class="panel-heading"><strong>权限</strong></div>
  984. <div class="panel-body">
  985. <table class="table table-hover">
  986. <tbody>
  987. <tr>
  988. <td>登录</td>
  989. <td>是</td>
  990. </tr>
  991. <tr>
  992. <td>鉴权</td>
  993. <td>是</td>
  994. </tr>
  995. </tbody>
  996. </table>
  997. </div>
  998. </div>
  999. <div class="panel panel-default">
  1000. <div class="panel-heading"><strong>Headers</strong></div>
  1001. <div class="panel-body">
  1002. </div>
  1003. </div>
  1004. <div class="panel panel-default">
  1005. <div class="panel-heading"><strong>参数</strong></div>
  1006. <div class="panel-body">
  1007. </div>
  1008. </div>
  1009. <div class="panel panel-default">
  1010. <div class="panel-heading"><strong>正文</strong></div>
  1011. <div class="panel-body">
  1012. 无 </div>
  1013. </div>
  1014. </div><!-- #info -->
  1015. <div class="tab-pane" id="sandbox5">
  1016. <div class="row">
  1017. <div class="col-md-12">
  1018. <div class="panel panel-default">
  1019. <div class="panel-heading"><strong>参数</strong>
  1020. <div class="pull-right">
  1021. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  1022. </div>
  1023. </div>
  1024. <div class="panel-body">
  1025. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/demo/test3" method="get" name="form5" id="form5">
  1026. <div class="form-group">
  1027. </div>
  1028. <div class="form-group form-group-submit">
  1029. <button type="submit" class="btn btn-success send" rel="5">提交</button>
  1030. <button type="reset" class="btn btn-info" rel="5">重置</button>
  1031. </div>
  1032. </form>
  1033. </div>
  1034. </div>
  1035. <div class="panel panel-default">
  1036. <div class="panel-heading"><strong>响应输出</strong></div>
  1037. <div class="panel-body">
  1038. <div class="row">
  1039. <div class="col-md-12" style="overflow-x:auto">
  1040. <pre id="response_headers5"></pre>
  1041. <pre id="response5"></pre>
  1042. </div>
  1043. </div>
  1044. </div>
  1045. </div>
  1046. <div class="panel panel-default">
  1047. <div class="panel-heading"><strong>返回参数</strong></div>
  1048. <div class="panel-body">
  1049. </div>
  1050. </div>
  1051. </div>
  1052. </div>
  1053. </div><!-- #sandbox -->
  1054. <div class="tab-pane" id="sample5">
  1055. <div class="row">
  1056. <div class="col-md-12">
  1057. <pre id="sample_response5">无</pre>
  1058. </div>
  1059. </div>
  1060. </div><!-- #sample -->
  1061. </div><!-- .tab-content -->
  1062. </div>
  1063. </div>
  1064. </div>
  1065. <h2>邮箱验证码接口</h2>
  1066. <hr>
  1067. <div class="panel panel-default">
  1068. <div class="panel-heading" id="heading-6">
  1069. <h4 class="panel-title">
  1070. <span class="label label-success">GET</span>
  1071. <a data-toggle="collapse" data-parent="#accordion6" href="#collapseOne6"> 发送验证码 <span class="text-muted">/api/ems/send</span></a>
  1072. </h4>
  1073. </div>
  1074. <div id="collapseOne6" class="panel-collapse collapse">
  1075. <div class="panel-body">
  1076. <!-- Nav tabs -->
  1077. <ul class="nav nav-tabs" id="doctab6">
  1078. <li class="active"><a href="#info6" data-toggle="tab">基础信息</a></li>
  1079. <li><a href="#sandbox6" data-toggle="tab">在线测试</a></li>
  1080. <li><a href="#sample6" data-toggle="tab">返回示例</a></li>
  1081. </ul>
  1082. <!-- Tab panes -->
  1083. <div class="tab-content">
  1084. <div class="tab-pane active" id="info6">
  1085. <div class="well">
  1086. 发送验证码 </div>
  1087. <div class="panel panel-default">
  1088. <div class="panel-heading"><strong>权限</strong></div>
  1089. <div class="panel-body">
  1090. <table class="table table-hover">
  1091. <tbody>
  1092. <tr>
  1093. <td>登录</td>
  1094. <td>否</td>
  1095. </tr>
  1096. <tr>
  1097. <td>鉴权</td>
  1098. <td>否</td>
  1099. </tr>
  1100. </tbody>
  1101. </table>
  1102. </div>
  1103. </div>
  1104. <div class="panel panel-default">
  1105. <div class="panel-heading"><strong>Headers</strong></div>
  1106. <div class="panel-body">
  1107. </div>
  1108. </div>
  1109. <div class="panel panel-default">
  1110. <div class="panel-heading"><strong>参数</strong></div>
  1111. <div class="panel-body">
  1112. <table class="table table-hover">
  1113. <thead>
  1114. <tr>
  1115. <th>名称</th>
  1116. <th>类型</th>
  1117. <th>必选</th>
  1118. <th>描述</th>
  1119. </tr>
  1120. </thead>
  1121. <tbody>
  1122. <tr>
  1123. <td>email</td>
  1124. <td>string</td>
  1125. <td>是</td>
  1126. <td>邮箱</td>
  1127. </tr>
  1128. <tr>
  1129. <td>event</td>
  1130. <td>string</td>
  1131. <td>是</td>
  1132. <td>事件名称</td>
  1133. </tr>
  1134. </tbody>
  1135. </table>
  1136. </div>
  1137. </div>
  1138. <div class="panel panel-default">
  1139. <div class="panel-heading"><strong>正文</strong></div>
  1140. <div class="panel-body">
  1141. 无 </div>
  1142. </div>
  1143. </div><!-- #info -->
  1144. <div class="tab-pane" id="sandbox6">
  1145. <div class="row">
  1146. <div class="col-md-12">
  1147. <div class="panel panel-default">
  1148. <div class="panel-heading"><strong>参数</strong>
  1149. <div class="pull-right">
  1150. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  1151. </div>
  1152. </div>
  1153. <div class="panel-body">
  1154. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/ems/send" method="get" name="form6" id="form6">
  1155. <div class="form-group">
  1156. <label class="control-label" for="email">email</label>
  1157. <input type="string" class="form-control input-sm" id="email" required placeholder="邮箱" name="email">
  1158. </div>
  1159. <div class="form-group">
  1160. <label class="control-label" for="event">event</label>
  1161. <input type="string" class="form-control input-sm" id="event" required placeholder="事件名称" name="event">
  1162. </div>
  1163. <div class="form-group form-group-submit">
  1164. <button type="submit" class="btn btn-success send" rel="6">提交</button>
  1165. <button type="reset" class="btn btn-info" rel="6">重置</button>
  1166. </div>
  1167. </form>
  1168. </div>
  1169. </div>
  1170. <div class="panel panel-default">
  1171. <div class="panel-heading"><strong>响应输出</strong></div>
  1172. <div class="panel-body">
  1173. <div class="row">
  1174. <div class="col-md-12" style="overflow-x:auto">
  1175. <pre id="response_headers6"></pre>
  1176. <pre id="response6"></pre>
  1177. </div>
  1178. </div>
  1179. </div>
  1180. </div>
  1181. <div class="panel panel-default">
  1182. <div class="panel-heading"><strong>返回参数</strong></div>
  1183. <div class="panel-body">
  1184. </div>
  1185. </div>
  1186. </div>
  1187. </div>
  1188. </div><!-- #sandbox -->
  1189. <div class="tab-pane" id="sample6">
  1190. <div class="row">
  1191. <div class="col-md-12">
  1192. <pre id="sample_response6">无</pre>
  1193. </div>
  1194. </div>
  1195. </div><!-- #sample -->
  1196. </div><!-- .tab-content -->
  1197. </div>
  1198. </div>
  1199. </div>
  1200. <div class="panel panel-default">
  1201. <div class="panel-heading" id="heading-7">
  1202. <h4 class="panel-title">
  1203. <span class="label label-success">GET</span>
  1204. <a data-toggle="collapse" data-parent="#accordion7" href="#collapseOne7"> 检测验证码 <span class="text-muted">/api/ems/check</span></a>
  1205. </h4>
  1206. </div>
  1207. <div id="collapseOne7" class="panel-collapse collapse">
  1208. <div class="panel-body">
  1209. <!-- Nav tabs -->
  1210. <ul class="nav nav-tabs" id="doctab7">
  1211. <li class="active"><a href="#info7" data-toggle="tab">基础信息</a></li>
  1212. <li><a href="#sandbox7" data-toggle="tab">在线测试</a></li>
  1213. <li><a href="#sample7" data-toggle="tab">返回示例</a></li>
  1214. </ul>
  1215. <!-- Tab panes -->
  1216. <div class="tab-content">
  1217. <div class="tab-pane active" id="info7">
  1218. <div class="well">
  1219. 检测验证码 </div>
  1220. <div class="panel panel-default">
  1221. <div class="panel-heading"><strong>权限</strong></div>
  1222. <div class="panel-body">
  1223. <table class="table table-hover">
  1224. <tbody>
  1225. <tr>
  1226. <td>登录</td>
  1227. <td>否</td>
  1228. </tr>
  1229. <tr>
  1230. <td>鉴权</td>
  1231. <td>否</td>
  1232. </tr>
  1233. </tbody>
  1234. </table>
  1235. </div>
  1236. </div>
  1237. <div class="panel panel-default">
  1238. <div class="panel-heading"><strong>Headers</strong></div>
  1239. <div class="panel-body">
  1240. </div>
  1241. </div>
  1242. <div class="panel panel-default">
  1243. <div class="panel-heading"><strong>参数</strong></div>
  1244. <div class="panel-body">
  1245. <table class="table table-hover">
  1246. <thead>
  1247. <tr>
  1248. <th>名称</th>
  1249. <th>类型</th>
  1250. <th>必选</th>
  1251. <th>描述</th>
  1252. </tr>
  1253. </thead>
  1254. <tbody>
  1255. <tr>
  1256. <td>email</td>
  1257. <td>string</td>
  1258. <td>是</td>
  1259. <td>邮箱</td>
  1260. </tr>
  1261. <tr>
  1262. <td>event</td>
  1263. <td>string</td>
  1264. <td>是</td>
  1265. <td>事件名称</td>
  1266. </tr>
  1267. <tr>
  1268. <td>captcha</td>
  1269. <td>string</td>
  1270. <td>是</td>
  1271. <td>验证码</td>
  1272. </tr>
  1273. </tbody>
  1274. </table>
  1275. </div>
  1276. </div>
  1277. <div class="panel panel-default">
  1278. <div class="panel-heading"><strong>正文</strong></div>
  1279. <div class="panel-body">
  1280. 无 </div>
  1281. </div>
  1282. </div><!-- #info -->
  1283. <div class="tab-pane" id="sandbox7">
  1284. <div class="row">
  1285. <div class="col-md-12">
  1286. <div class="panel panel-default">
  1287. <div class="panel-heading"><strong>参数</strong>
  1288. <div class="pull-right">
  1289. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  1290. </div>
  1291. </div>
  1292. <div class="panel-body">
  1293. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/ems/check" method="get" name="form7" id="form7">
  1294. <div class="form-group">
  1295. <label class="control-label" for="email">email</label>
  1296. <input type="string" class="form-control input-sm" id="email" required placeholder="邮箱" name="email">
  1297. </div>
  1298. <div class="form-group">
  1299. <label class="control-label" for="event">event</label>
  1300. <input type="string" class="form-control input-sm" id="event" required placeholder="事件名称" name="event">
  1301. </div>
  1302. <div class="form-group">
  1303. <label class="control-label" for="captcha">captcha</label>
  1304. <input type="string" class="form-control input-sm" id="captcha" required placeholder="验证码" name="captcha">
  1305. </div>
  1306. <div class="form-group form-group-submit">
  1307. <button type="submit" class="btn btn-success send" rel="7">提交</button>
  1308. <button type="reset" class="btn btn-info" rel="7">重置</button>
  1309. </div>
  1310. </form>
  1311. </div>
  1312. </div>
  1313. <div class="panel panel-default">
  1314. <div class="panel-heading"><strong>响应输出</strong></div>
  1315. <div class="panel-body">
  1316. <div class="row">
  1317. <div class="col-md-12" style="overflow-x:auto">
  1318. <pre id="response_headers7"></pre>
  1319. <pre id="response7"></pre>
  1320. </div>
  1321. </div>
  1322. </div>
  1323. </div>
  1324. <div class="panel panel-default">
  1325. <div class="panel-heading"><strong>返回参数</strong></div>
  1326. <div class="panel-body">
  1327. </div>
  1328. </div>
  1329. </div>
  1330. </div>
  1331. </div><!-- #sandbox -->
  1332. <div class="tab-pane" id="sample7">
  1333. <div class="row">
  1334. <div class="col-md-12">
  1335. <pre id="sample_response7">无</pre>
  1336. </div>
  1337. </div>
  1338. </div><!-- #sample -->
  1339. </div><!-- .tab-content -->
  1340. </div>
  1341. </div>
  1342. </div>
  1343. <h2>首页接口</h2>
  1344. <hr>
  1345. <div class="panel panel-default">
  1346. <div class="panel-heading" id="heading-8">
  1347. <h4 class="panel-title">
  1348. <span class="label label-success">GET</span>
  1349. <a data-toggle="collapse" data-parent="#accordion8" href="#collapseOne8"> 首页 <span class="text-muted">/api/index/index</span></a>
  1350. </h4>
  1351. </div>
  1352. <div id="collapseOne8" class="panel-collapse collapse">
  1353. <div class="panel-body">
  1354. <!-- Nav tabs -->
  1355. <ul class="nav nav-tabs" id="doctab8">
  1356. <li class="active"><a href="#info8" data-toggle="tab">基础信息</a></li>
  1357. <li><a href="#sandbox8" data-toggle="tab">在线测试</a></li>
  1358. <li><a href="#sample8" data-toggle="tab">返回示例</a></li>
  1359. </ul>
  1360. <!-- Tab panes -->
  1361. <div class="tab-content">
  1362. <div class="tab-pane active" id="info8">
  1363. <div class="well">
  1364. 首页 </div>
  1365. <div class="panel panel-default">
  1366. <div class="panel-heading"><strong>权限</strong></div>
  1367. <div class="panel-body">
  1368. <table class="table table-hover">
  1369. <tbody>
  1370. <tr>
  1371. <td>登录</td>
  1372. <td>否</td>
  1373. </tr>
  1374. <tr>
  1375. <td>鉴权</td>
  1376. <td>否</td>
  1377. </tr>
  1378. </tbody>
  1379. </table>
  1380. </div>
  1381. </div>
  1382. <div class="panel panel-default">
  1383. <div class="panel-heading"><strong>Headers</strong></div>
  1384. <div class="panel-body">
  1385. </div>
  1386. </div>
  1387. <div class="panel panel-default">
  1388. <div class="panel-heading"><strong>参数</strong></div>
  1389. <div class="panel-body">
  1390. </div>
  1391. </div>
  1392. <div class="panel panel-default">
  1393. <div class="panel-heading"><strong>正文</strong></div>
  1394. <div class="panel-body">
  1395. 无 </div>
  1396. </div>
  1397. </div><!-- #info -->
  1398. <div class="tab-pane" id="sandbox8">
  1399. <div class="row">
  1400. <div class="col-md-12">
  1401. <div class="panel panel-default">
  1402. <div class="panel-heading"><strong>参数</strong>
  1403. <div class="pull-right">
  1404. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  1405. </div>
  1406. </div>
  1407. <div class="panel-body">
  1408. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/index/index" method="get" name="form8" id="form8">
  1409. <div class="form-group">
  1410. </div>
  1411. <div class="form-group form-group-submit">
  1412. <button type="submit" class="btn btn-success send" rel="8">提交</button>
  1413. <button type="reset" class="btn btn-info" rel="8">重置</button>
  1414. </div>
  1415. </form>
  1416. </div>
  1417. </div>
  1418. <div class="panel panel-default">
  1419. <div class="panel-heading"><strong>响应输出</strong></div>
  1420. <div class="panel-body">
  1421. <div class="row">
  1422. <div class="col-md-12" style="overflow-x:auto">
  1423. <pre id="response_headers8"></pre>
  1424. <pre id="response8"></pre>
  1425. </div>
  1426. </div>
  1427. </div>
  1428. </div>
  1429. <div class="panel panel-default">
  1430. <div class="panel-heading"><strong>返回参数</strong></div>
  1431. <div class="panel-body">
  1432. </div>
  1433. </div>
  1434. </div>
  1435. </div>
  1436. </div><!-- #sandbox -->
  1437. <div class="tab-pane" id="sample8">
  1438. <div class="row">
  1439. <div class="col-md-12">
  1440. <pre id="sample_response8">无</pre>
  1441. </div>
  1442. </div>
  1443. </div><!-- #sample -->
  1444. </div><!-- .tab-content -->
  1445. </div>
  1446. </div>
  1447. </div>
  1448. <h2>Insurance</h2>
  1449. <hr>
  1450. <div class="panel panel-default">
  1451. <div class="panel-heading" id="heading-9">
  1452. <h4 class="panel-title">
  1453. <span class="label label-success">GET</span>
  1454. <a data-toggle="collapse" data-parent="#accordion9" href="#collapseOne9"> 获取排行榜 <span class="text-muted">/api/insurance/getRanking</span></a>
  1455. </h4>
  1456. </div>
  1457. <div id="collapseOne9" class="panel-collapse collapse">
  1458. <div class="panel-body">
  1459. <!-- Nav tabs -->
  1460. <ul class="nav nav-tabs" id="doctab9">
  1461. <li class="active"><a href="#info9" data-toggle="tab">基础信息</a></li>
  1462. <li><a href="#sandbox9" data-toggle="tab">在线测试</a></li>
  1463. <li><a href="#sample9" data-toggle="tab">返回示例</a></li>
  1464. </ul>
  1465. <!-- Tab panes -->
  1466. <div class="tab-content">
  1467. <div class="tab-pane active" id="info9">
  1468. <div class="well">
  1469. 获取排行榜 </div>
  1470. <div class="panel panel-default">
  1471. <div class="panel-heading"><strong>权限</strong></div>
  1472. <div class="panel-body">
  1473. <table class="table table-hover">
  1474. <tbody>
  1475. <tr>
  1476. <td>登录</td>
  1477. <td>否</td>
  1478. </tr>
  1479. <tr>
  1480. <td>鉴权</td>
  1481. <td>否</td>
  1482. </tr>
  1483. </tbody>
  1484. </table>
  1485. </div>
  1486. </div>
  1487. <div class="panel panel-default">
  1488. <div class="panel-heading"><strong>Headers</strong></div>
  1489. <div class="panel-body">
  1490. </div>
  1491. </div>
  1492. <div class="panel panel-default">
  1493. <div class="panel-heading"><strong>参数</strong></div>
  1494. <div class="panel-body">
  1495. </div>
  1496. </div>
  1497. <div class="panel panel-default">
  1498. <div class="panel-heading"><strong>正文</strong></div>
  1499. <div class="panel-body">
  1500. 无 </div>
  1501. </div>
  1502. </div><!-- #info -->
  1503. <div class="tab-pane" id="sandbox9">
  1504. <div class="row">
  1505. <div class="col-md-12">
  1506. <div class="panel panel-default">
  1507. <div class="panel-heading"><strong>参数</strong>
  1508. <div class="pull-right">
  1509. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  1510. </div>
  1511. </div>
  1512. <div class="panel-body">
  1513. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/insurance/getRanking" method="get" name="form9" id="form9">
  1514. <div class="form-group">
  1515. </div>
  1516. <div class="form-group form-group-submit">
  1517. <button type="submit" class="btn btn-success send" rel="9">提交</button>
  1518. <button type="reset" class="btn btn-info" rel="9">重置</button>
  1519. </div>
  1520. </form>
  1521. </div>
  1522. </div>
  1523. <div class="panel panel-default">
  1524. <div class="panel-heading"><strong>响应输出</strong></div>
  1525. <div class="panel-body">
  1526. <div class="row">
  1527. <div class="col-md-12" style="overflow-x:auto">
  1528. <pre id="response_headers9"></pre>
  1529. <pre id="response9"></pre>
  1530. </div>
  1531. </div>
  1532. </div>
  1533. </div>
  1534. <div class="panel panel-default">
  1535. <div class="panel-heading"><strong>返回参数</strong></div>
  1536. <div class="panel-body">
  1537. </div>
  1538. </div>
  1539. </div>
  1540. </div>
  1541. </div><!-- #sandbox -->
  1542. <div class="tab-pane" id="sample9">
  1543. <div class="row">
  1544. <div class="col-md-12">
  1545. <pre id="sample_response9">无</pre>
  1546. </div>
  1547. </div>
  1548. </div><!-- #sample -->
  1549. </div><!-- .tab-content -->
  1550. </div>
  1551. </div>
  1552. </div>
  1553. <h2>手机短信接口</h2>
  1554. <hr>
  1555. <div class="panel panel-default">
  1556. <div class="panel-heading" id="heading-10">
  1557. <h4 class="panel-title">
  1558. <span class="label label-success">GET</span>
  1559. <a data-toggle="collapse" data-parent="#accordion10" href="#collapseOne10"> 发送验证码 <span class="text-muted">/api/sms/send</span></a>
  1560. </h4>
  1561. </div>
  1562. <div id="collapseOne10" class="panel-collapse collapse">
  1563. <div class="panel-body">
  1564. <!-- Nav tabs -->
  1565. <ul class="nav nav-tabs" id="doctab10">
  1566. <li class="active"><a href="#info10" data-toggle="tab">基础信息</a></li>
  1567. <li><a href="#sandbox10" data-toggle="tab">在线测试</a></li>
  1568. <li><a href="#sample10" data-toggle="tab">返回示例</a></li>
  1569. </ul>
  1570. <!-- Tab panes -->
  1571. <div class="tab-content">
  1572. <div class="tab-pane active" id="info10">
  1573. <div class="well">
  1574. 发送验证码 </div>
  1575. <div class="panel panel-default">
  1576. <div class="panel-heading"><strong>权限</strong></div>
  1577. <div class="panel-body">
  1578. <table class="table table-hover">
  1579. <tbody>
  1580. <tr>
  1581. <td>登录</td>
  1582. <td>否</td>
  1583. </tr>
  1584. <tr>
  1585. <td>鉴权</td>
  1586. <td>否</td>
  1587. </tr>
  1588. </tbody>
  1589. </table>
  1590. </div>
  1591. </div>
  1592. <div class="panel panel-default">
  1593. <div class="panel-heading"><strong>Headers</strong></div>
  1594. <div class="panel-body">
  1595. </div>
  1596. </div>
  1597. <div class="panel panel-default">
  1598. <div class="panel-heading"><strong>参数</strong></div>
  1599. <div class="panel-body">
  1600. <table class="table table-hover">
  1601. <thead>
  1602. <tr>
  1603. <th>名称</th>
  1604. <th>类型</th>
  1605. <th>必选</th>
  1606. <th>描述</th>
  1607. </tr>
  1608. </thead>
  1609. <tbody>
  1610. <tr>
  1611. <td>mobile</td>
  1612. <td>string</td>
  1613. <td>是</td>
  1614. <td>手机号</td>
  1615. </tr>
  1616. <tr>
  1617. <td>event</td>
  1618. <td>string</td>
  1619. <td>是</td>
  1620. <td>事件名称</td>
  1621. </tr>
  1622. </tbody>
  1623. </table>
  1624. </div>
  1625. </div>
  1626. <div class="panel panel-default">
  1627. <div class="panel-heading"><strong>正文</strong></div>
  1628. <div class="panel-body">
  1629. 无 </div>
  1630. </div>
  1631. </div><!-- #info -->
  1632. <div class="tab-pane" id="sandbox10">
  1633. <div class="row">
  1634. <div class="col-md-12">
  1635. <div class="panel panel-default">
  1636. <div class="panel-heading"><strong>参数</strong>
  1637. <div class="pull-right">
  1638. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  1639. </div>
  1640. </div>
  1641. <div class="panel-body">
  1642. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/sms/send" method="get" name="form10" id="form10">
  1643. <div class="form-group">
  1644. <label class="control-label" for="mobile">mobile</label>
  1645. <input type="string" class="form-control input-sm" id="mobile" required placeholder="手机号" name="mobile">
  1646. </div>
  1647. <div class="form-group">
  1648. <label class="control-label" for="event">event</label>
  1649. <input type="string" class="form-control input-sm" id="event" required placeholder="事件名称" name="event">
  1650. </div>
  1651. <div class="form-group form-group-submit">
  1652. <button type="submit" class="btn btn-success send" rel="10">提交</button>
  1653. <button type="reset" class="btn btn-info" rel="10">重置</button>
  1654. </div>
  1655. </form>
  1656. </div>
  1657. </div>
  1658. <div class="panel panel-default">
  1659. <div class="panel-heading"><strong>响应输出</strong></div>
  1660. <div class="panel-body">
  1661. <div class="row">
  1662. <div class="col-md-12" style="overflow-x:auto">
  1663. <pre id="response_headers10"></pre>
  1664. <pre id="response10"></pre>
  1665. </div>
  1666. </div>
  1667. </div>
  1668. </div>
  1669. <div class="panel panel-default">
  1670. <div class="panel-heading"><strong>返回参数</strong></div>
  1671. <div class="panel-body">
  1672. </div>
  1673. </div>
  1674. </div>
  1675. </div>
  1676. </div><!-- #sandbox -->
  1677. <div class="tab-pane" id="sample10">
  1678. <div class="row">
  1679. <div class="col-md-12">
  1680. <pre id="sample_response10">无</pre>
  1681. </div>
  1682. </div>
  1683. </div><!-- #sample -->
  1684. </div><!-- .tab-content -->
  1685. </div>
  1686. </div>
  1687. </div>
  1688. <div class="panel panel-default">
  1689. <div class="panel-heading" id="heading-11">
  1690. <h4 class="panel-title">
  1691. <span class="label label-success">GET</span>
  1692. <a data-toggle="collapse" data-parent="#accordion11" href="#collapseOne11"> 检测验证码 <span class="text-muted">/api/sms/check</span></a>
  1693. </h4>
  1694. </div>
  1695. <div id="collapseOne11" class="panel-collapse collapse">
  1696. <div class="panel-body">
  1697. <!-- Nav tabs -->
  1698. <ul class="nav nav-tabs" id="doctab11">
  1699. <li class="active"><a href="#info11" data-toggle="tab">基础信息</a></li>
  1700. <li><a href="#sandbox11" data-toggle="tab">在线测试</a></li>
  1701. <li><a href="#sample11" data-toggle="tab">返回示例</a></li>
  1702. </ul>
  1703. <!-- Tab panes -->
  1704. <div class="tab-content">
  1705. <div class="tab-pane active" id="info11">
  1706. <div class="well">
  1707. 检测验证码 </div>
  1708. <div class="panel panel-default">
  1709. <div class="panel-heading"><strong>权限</strong></div>
  1710. <div class="panel-body">
  1711. <table class="table table-hover">
  1712. <tbody>
  1713. <tr>
  1714. <td>登录</td>
  1715. <td>否</td>
  1716. </tr>
  1717. <tr>
  1718. <td>鉴权</td>
  1719. <td>否</td>
  1720. </tr>
  1721. </tbody>
  1722. </table>
  1723. </div>
  1724. </div>
  1725. <div class="panel panel-default">
  1726. <div class="panel-heading"><strong>Headers</strong></div>
  1727. <div class="panel-body">
  1728. </div>
  1729. </div>
  1730. <div class="panel panel-default">
  1731. <div class="panel-heading"><strong>参数</strong></div>
  1732. <div class="panel-body">
  1733. <table class="table table-hover">
  1734. <thead>
  1735. <tr>
  1736. <th>名称</th>
  1737. <th>类型</th>
  1738. <th>必选</th>
  1739. <th>描述</th>
  1740. </tr>
  1741. </thead>
  1742. <tbody>
  1743. <tr>
  1744. <td>mobile</td>
  1745. <td>string</td>
  1746. <td>是</td>
  1747. <td>手机号</td>
  1748. </tr>
  1749. <tr>
  1750. <td>event</td>
  1751. <td>string</td>
  1752. <td>是</td>
  1753. <td>事件名称</td>
  1754. </tr>
  1755. <tr>
  1756. <td>captcha</td>
  1757. <td>string</td>
  1758. <td>是</td>
  1759. <td>验证码</td>
  1760. </tr>
  1761. </tbody>
  1762. </table>
  1763. </div>
  1764. </div>
  1765. <div class="panel panel-default">
  1766. <div class="panel-heading"><strong>正文</strong></div>
  1767. <div class="panel-body">
  1768. 无 </div>
  1769. </div>
  1770. </div><!-- #info -->
  1771. <div class="tab-pane" id="sandbox11">
  1772. <div class="row">
  1773. <div class="col-md-12">
  1774. <div class="panel panel-default">
  1775. <div class="panel-heading"><strong>参数</strong>
  1776. <div class="pull-right">
  1777. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  1778. </div>
  1779. </div>
  1780. <div class="panel-body">
  1781. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/sms/check" method="get" name="form11" id="form11">
  1782. <div class="form-group">
  1783. <label class="control-label" for="mobile">mobile</label>
  1784. <input type="string" class="form-control input-sm" id="mobile" required placeholder="手机号" name="mobile">
  1785. </div>
  1786. <div class="form-group">
  1787. <label class="control-label" for="event">event</label>
  1788. <input type="string" class="form-control input-sm" id="event" required placeholder="事件名称" name="event">
  1789. </div>
  1790. <div class="form-group">
  1791. <label class="control-label" for="captcha">captcha</label>
  1792. <input type="string" class="form-control input-sm" id="captcha" required placeholder="验证码" name="captcha">
  1793. </div>
  1794. <div class="form-group form-group-submit">
  1795. <button type="submit" class="btn btn-success send" rel="11">提交</button>
  1796. <button type="reset" class="btn btn-info" rel="11">重置</button>
  1797. </div>
  1798. </form>
  1799. </div>
  1800. </div>
  1801. <div class="panel panel-default">
  1802. <div class="panel-heading"><strong>响应输出</strong></div>
  1803. <div class="panel-body">
  1804. <div class="row">
  1805. <div class="col-md-12" style="overflow-x:auto">
  1806. <pre id="response_headers11"></pre>
  1807. <pre id="response11"></pre>
  1808. </div>
  1809. </div>
  1810. </div>
  1811. </div>
  1812. <div class="panel panel-default">
  1813. <div class="panel-heading"><strong>返回参数</strong></div>
  1814. <div class="panel-body">
  1815. </div>
  1816. </div>
  1817. </div>
  1818. </div>
  1819. </div><!-- #sandbox -->
  1820. <div class="tab-pane" id="sample11">
  1821. <div class="row">
  1822. <div class="col-md-12">
  1823. <pre id="sample_response11">无</pre>
  1824. </div>
  1825. </div>
  1826. </div><!-- #sample -->
  1827. </div><!-- .tab-content -->
  1828. </div>
  1829. </div>
  1830. </div>
  1831. <h2>Token接口</h2>
  1832. <hr>
  1833. <div class="panel panel-default">
  1834. <div class="panel-heading" id="heading-12">
  1835. <h4 class="panel-title">
  1836. <span class="label label-success">GET</span>
  1837. <a data-toggle="collapse" data-parent="#accordion12" href="#collapseOne12"> 检测Token是否过期 <span class="text-muted">/api/token/check</span></a>
  1838. </h4>
  1839. </div>
  1840. <div id="collapseOne12" class="panel-collapse collapse">
  1841. <div class="panel-body">
  1842. <!-- Nav tabs -->
  1843. <ul class="nav nav-tabs" id="doctab12">
  1844. <li class="active"><a href="#info12" data-toggle="tab">基础信息</a></li>
  1845. <li><a href="#sandbox12" data-toggle="tab">在线测试</a></li>
  1846. <li><a href="#sample12" data-toggle="tab">返回示例</a></li>
  1847. </ul>
  1848. <!-- Tab panes -->
  1849. <div class="tab-content">
  1850. <div class="tab-pane active" id="info12">
  1851. <div class="well">
  1852. 检测Token是否过期 </div>
  1853. <div class="panel panel-default">
  1854. <div class="panel-heading"><strong>权限</strong></div>
  1855. <div class="panel-body">
  1856. <table class="table table-hover">
  1857. <tbody>
  1858. <tr>
  1859. <td>登录</td>
  1860. <td>是</td>
  1861. </tr>
  1862. <tr>
  1863. <td>鉴权</td>
  1864. <td>否</td>
  1865. </tr>
  1866. </tbody>
  1867. </table>
  1868. </div>
  1869. </div>
  1870. <div class="panel panel-default">
  1871. <div class="panel-heading"><strong>Headers</strong></div>
  1872. <div class="panel-body">
  1873. </div>
  1874. </div>
  1875. <div class="panel panel-default">
  1876. <div class="panel-heading"><strong>参数</strong></div>
  1877. <div class="panel-body">
  1878. </div>
  1879. </div>
  1880. <div class="panel panel-default">
  1881. <div class="panel-heading"><strong>正文</strong></div>
  1882. <div class="panel-body">
  1883. 无 </div>
  1884. </div>
  1885. </div><!-- #info -->
  1886. <div class="tab-pane" id="sandbox12">
  1887. <div class="row">
  1888. <div class="col-md-12">
  1889. <div class="panel panel-default">
  1890. <div class="panel-heading"><strong>参数</strong>
  1891. <div class="pull-right">
  1892. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  1893. </div>
  1894. </div>
  1895. <div class="panel-body">
  1896. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/token/check" method="get" name="form12" id="form12">
  1897. <div class="form-group">
  1898. </div>
  1899. <div class="form-group form-group-submit">
  1900. <button type="submit" class="btn btn-success send" rel="12">提交</button>
  1901. <button type="reset" class="btn btn-info" rel="12">重置</button>
  1902. </div>
  1903. </form>
  1904. </div>
  1905. </div>
  1906. <div class="panel panel-default">
  1907. <div class="panel-heading"><strong>响应输出</strong></div>
  1908. <div class="panel-body">
  1909. <div class="row">
  1910. <div class="col-md-12" style="overflow-x:auto">
  1911. <pre id="response_headers12"></pre>
  1912. <pre id="response12"></pre>
  1913. </div>
  1914. </div>
  1915. </div>
  1916. </div>
  1917. <div class="panel panel-default">
  1918. <div class="panel-heading"><strong>返回参数</strong></div>
  1919. <div class="panel-body">
  1920. </div>
  1921. </div>
  1922. </div>
  1923. </div>
  1924. </div><!-- #sandbox -->
  1925. <div class="tab-pane" id="sample12">
  1926. <div class="row">
  1927. <div class="col-md-12">
  1928. <pre id="sample_response12">无</pre>
  1929. </div>
  1930. </div>
  1931. </div><!-- #sample -->
  1932. </div><!-- .tab-content -->
  1933. </div>
  1934. </div>
  1935. </div>
  1936. <div class="panel panel-default">
  1937. <div class="panel-heading" id="heading-13">
  1938. <h4 class="panel-title">
  1939. <span class="label label-success">GET</span>
  1940. <a data-toggle="collapse" data-parent="#accordion13" href="#collapseOne13"> 刷新Token <span class="text-muted">/api/token/refresh</span></a>
  1941. </h4>
  1942. </div>
  1943. <div id="collapseOne13" class="panel-collapse collapse">
  1944. <div class="panel-body">
  1945. <!-- Nav tabs -->
  1946. <ul class="nav nav-tabs" id="doctab13">
  1947. <li class="active"><a href="#info13" data-toggle="tab">基础信息</a></li>
  1948. <li><a href="#sandbox13" data-toggle="tab">在线测试</a></li>
  1949. <li><a href="#sample13" data-toggle="tab">返回示例</a></li>
  1950. </ul>
  1951. <!-- Tab panes -->
  1952. <div class="tab-content">
  1953. <div class="tab-pane active" id="info13">
  1954. <div class="well">
  1955. 刷新Token </div>
  1956. <div class="panel panel-default">
  1957. <div class="panel-heading"><strong>权限</strong></div>
  1958. <div class="panel-body">
  1959. <table class="table table-hover">
  1960. <tbody>
  1961. <tr>
  1962. <td>登录</td>
  1963. <td>是</td>
  1964. </tr>
  1965. <tr>
  1966. <td>鉴权</td>
  1967. <td>否</td>
  1968. </tr>
  1969. </tbody>
  1970. </table>
  1971. </div>
  1972. </div>
  1973. <div class="panel panel-default">
  1974. <div class="panel-heading"><strong>Headers</strong></div>
  1975. <div class="panel-body">
  1976. </div>
  1977. </div>
  1978. <div class="panel panel-default">
  1979. <div class="panel-heading"><strong>参数</strong></div>
  1980. <div class="panel-body">
  1981. </div>
  1982. </div>
  1983. <div class="panel panel-default">
  1984. <div class="panel-heading"><strong>正文</strong></div>
  1985. <div class="panel-body">
  1986. 无 </div>
  1987. </div>
  1988. </div><!-- #info -->
  1989. <div class="tab-pane" id="sandbox13">
  1990. <div class="row">
  1991. <div class="col-md-12">
  1992. <div class="panel panel-default">
  1993. <div class="panel-heading"><strong>参数</strong>
  1994. <div class="pull-right">
  1995. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  1996. </div>
  1997. </div>
  1998. <div class="panel-body">
  1999. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/token/refresh" method="get" name="form13" id="form13">
  2000. <div class="form-group">
  2001. </div>
  2002. <div class="form-group form-group-submit">
  2003. <button type="submit" class="btn btn-success send" rel="13">提交</button>
  2004. <button type="reset" class="btn btn-info" rel="13">重置</button>
  2005. </div>
  2006. </form>
  2007. </div>
  2008. </div>
  2009. <div class="panel panel-default">
  2010. <div class="panel-heading"><strong>响应输出</strong></div>
  2011. <div class="panel-body">
  2012. <div class="row">
  2013. <div class="col-md-12" style="overflow-x:auto">
  2014. <pre id="response_headers13"></pre>
  2015. <pre id="response13"></pre>
  2016. </div>
  2017. </div>
  2018. </div>
  2019. </div>
  2020. <div class="panel panel-default">
  2021. <div class="panel-heading"><strong>返回参数</strong></div>
  2022. <div class="panel-body">
  2023. </div>
  2024. </div>
  2025. </div>
  2026. </div>
  2027. </div><!-- #sandbox -->
  2028. <div class="tab-pane" id="sample13">
  2029. <div class="row">
  2030. <div class="col-md-12">
  2031. <pre id="sample_response13">无</pre>
  2032. </div>
  2033. </div>
  2034. </div><!-- #sample -->
  2035. </div><!-- .tab-content -->
  2036. </div>
  2037. </div>
  2038. </div>
  2039. <h2>会员接口</h2>
  2040. <hr>
  2041. <div class="panel panel-default">
  2042. <div class="panel-heading" id="heading-14">
  2043. <h4 class="panel-title">
  2044. <span class="label label-success">GET</span>
  2045. <a data-toggle="collapse" data-parent="#accordion14" href="#collapseOne14"> 会员中心 <span class="text-muted">/api/user/index</span></a>
  2046. </h4>
  2047. </div>
  2048. <div id="collapseOne14" class="panel-collapse collapse">
  2049. <div class="panel-body">
  2050. <!-- Nav tabs -->
  2051. <ul class="nav nav-tabs" id="doctab14">
  2052. <li class="active"><a href="#info14" data-toggle="tab">基础信息</a></li>
  2053. <li><a href="#sandbox14" data-toggle="tab">在线测试</a></li>
  2054. <li><a href="#sample14" data-toggle="tab">返回示例</a></li>
  2055. </ul>
  2056. <!-- Tab panes -->
  2057. <div class="tab-content">
  2058. <div class="tab-pane active" id="info14">
  2059. <div class="well">
  2060. 会员中心 </div>
  2061. <div class="panel panel-default">
  2062. <div class="panel-heading"><strong>权限</strong></div>
  2063. <div class="panel-body">
  2064. <table class="table table-hover">
  2065. <tbody>
  2066. <tr>
  2067. <td>登录</td>
  2068. <td>是</td>
  2069. </tr>
  2070. <tr>
  2071. <td>鉴权</td>
  2072. <td>否</td>
  2073. </tr>
  2074. </tbody>
  2075. </table>
  2076. </div>
  2077. </div>
  2078. <div class="panel panel-default">
  2079. <div class="panel-heading"><strong>Headers</strong></div>
  2080. <div class="panel-body">
  2081. </div>
  2082. </div>
  2083. <div class="panel panel-default">
  2084. <div class="panel-heading"><strong>参数</strong></div>
  2085. <div class="panel-body">
  2086. </div>
  2087. </div>
  2088. <div class="panel panel-default">
  2089. <div class="panel-heading"><strong>正文</strong></div>
  2090. <div class="panel-body">
  2091. 无 </div>
  2092. </div>
  2093. </div><!-- #info -->
  2094. <div class="tab-pane" id="sandbox14">
  2095. <div class="row">
  2096. <div class="col-md-12">
  2097. <div class="panel panel-default">
  2098. <div class="panel-heading"><strong>参数</strong>
  2099. <div class="pull-right">
  2100. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  2101. </div>
  2102. </div>
  2103. <div class="panel-body">
  2104. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/index" method="get" name="form14" id="form14">
  2105. <div class="form-group">
  2106. </div>
  2107. <div class="form-group form-group-submit">
  2108. <button type="submit" class="btn btn-success send" rel="14">提交</button>
  2109. <button type="reset" class="btn btn-info" rel="14">重置</button>
  2110. </div>
  2111. </form>
  2112. </div>
  2113. </div>
  2114. <div class="panel panel-default">
  2115. <div class="panel-heading"><strong>响应输出</strong></div>
  2116. <div class="panel-body">
  2117. <div class="row">
  2118. <div class="col-md-12" style="overflow-x:auto">
  2119. <pre id="response_headers14"></pre>
  2120. <pre id="response14"></pre>
  2121. </div>
  2122. </div>
  2123. </div>
  2124. </div>
  2125. <div class="panel panel-default">
  2126. <div class="panel-heading"><strong>返回参数</strong></div>
  2127. <div class="panel-body">
  2128. </div>
  2129. </div>
  2130. </div>
  2131. </div>
  2132. </div><!-- #sandbox -->
  2133. <div class="tab-pane" id="sample14">
  2134. <div class="row">
  2135. <div class="col-md-12">
  2136. <pre id="sample_response14">无</pre>
  2137. </div>
  2138. </div>
  2139. </div><!-- #sample -->
  2140. </div><!-- .tab-content -->
  2141. </div>
  2142. </div>
  2143. </div>
  2144. <div class="panel panel-default">
  2145. <div class="panel-heading" id="heading-15">
  2146. <h4 class="panel-title">
  2147. <span class="label label-success">GET</span>
  2148. <a data-toggle="collapse" data-parent="#accordion15" href="#collapseOne15"> 会员登录 <span class="text-muted">/api/user/login</span></a>
  2149. </h4>
  2150. </div>
  2151. <div id="collapseOne15" class="panel-collapse collapse">
  2152. <div class="panel-body">
  2153. <!-- Nav tabs -->
  2154. <ul class="nav nav-tabs" id="doctab15">
  2155. <li class="active"><a href="#info15" data-toggle="tab">基础信息</a></li>
  2156. <li><a href="#sandbox15" data-toggle="tab">在线测试</a></li>
  2157. <li><a href="#sample15" data-toggle="tab">返回示例</a></li>
  2158. </ul>
  2159. <!-- Tab panes -->
  2160. <div class="tab-content">
  2161. <div class="tab-pane active" id="info15">
  2162. <div class="well">
  2163. 会员登录 </div>
  2164. <div class="panel panel-default">
  2165. <div class="panel-heading"><strong>权限</strong></div>
  2166. <div class="panel-body">
  2167. <table class="table table-hover">
  2168. <tbody>
  2169. <tr>
  2170. <td>登录</td>
  2171. <td>否</td>
  2172. </tr>
  2173. <tr>
  2174. <td>鉴权</td>
  2175. <td>否</td>
  2176. </tr>
  2177. </tbody>
  2178. </table>
  2179. </div>
  2180. </div>
  2181. <div class="panel panel-default">
  2182. <div class="panel-heading"><strong>Headers</strong></div>
  2183. <div class="panel-body">
  2184. </div>
  2185. </div>
  2186. <div class="panel panel-default">
  2187. <div class="panel-heading"><strong>参数</strong></div>
  2188. <div class="panel-body">
  2189. <table class="table table-hover">
  2190. <thead>
  2191. <tr>
  2192. <th>名称</th>
  2193. <th>类型</th>
  2194. <th>必选</th>
  2195. <th>描述</th>
  2196. </tr>
  2197. </thead>
  2198. <tbody>
  2199. <tr>
  2200. <td>account</td>
  2201. <td>string</td>
  2202. <td>是</td>
  2203. <td>账号</td>
  2204. </tr>
  2205. <tr>
  2206. <td>password</td>
  2207. <td>string</td>
  2208. <td>是</td>
  2209. <td>密码</td>
  2210. </tr>
  2211. </tbody>
  2212. </table>
  2213. </div>
  2214. </div>
  2215. <div class="panel panel-default">
  2216. <div class="panel-heading"><strong>正文</strong></div>
  2217. <div class="panel-body">
  2218. 无 </div>
  2219. </div>
  2220. </div><!-- #info -->
  2221. <div class="tab-pane" id="sandbox15">
  2222. <div class="row">
  2223. <div class="col-md-12">
  2224. <div class="panel panel-default">
  2225. <div class="panel-heading"><strong>参数</strong>
  2226. <div class="pull-right">
  2227. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  2228. </div>
  2229. </div>
  2230. <div class="panel-body">
  2231. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/login" method="get" name="form15" id="form15">
  2232. <div class="form-group">
  2233. <label class="control-label" for="account">account</label>
  2234. <input type="string" class="form-control input-sm" id="account" required placeholder="账号" name="account">
  2235. </div>
  2236. <div class="form-group">
  2237. <label class="control-label" for="password">password</label>
  2238. <input type="string" class="form-control input-sm" id="password" required placeholder="密码" name="password">
  2239. </div>
  2240. <div class="form-group form-group-submit">
  2241. <button type="submit" class="btn btn-success send" rel="15">提交</button>
  2242. <button type="reset" class="btn btn-info" rel="15">重置</button>
  2243. </div>
  2244. </form>
  2245. </div>
  2246. </div>
  2247. <div class="panel panel-default">
  2248. <div class="panel-heading"><strong>响应输出</strong></div>
  2249. <div class="panel-body">
  2250. <div class="row">
  2251. <div class="col-md-12" style="overflow-x:auto">
  2252. <pre id="response_headers15"></pre>
  2253. <pre id="response15"></pre>
  2254. </div>
  2255. </div>
  2256. </div>
  2257. </div>
  2258. <div class="panel panel-default">
  2259. <div class="panel-heading"><strong>返回参数</strong></div>
  2260. <div class="panel-body">
  2261. </div>
  2262. </div>
  2263. </div>
  2264. </div>
  2265. </div><!-- #sandbox -->
  2266. <div class="tab-pane" id="sample15">
  2267. <div class="row">
  2268. <div class="col-md-12">
  2269. <pre id="sample_response15">无</pre>
  2270. </div>
  2271. </div>
  2272. </div><!-- #sample -->
  2273. </div><!-- .tab-content -->
  2274. </div>
  2275. </div>
  2276. </div>
  2277. <div class="panel panel-default">
  2278. <div class="panel-heading" id="heading-16">
  2279. <h4 class="panel-title">
  2280. <span class="label label-success">GET</span>
  2281. <a data-toggle="collapse" data-parent="#accordion16" href="#collapseOne16"> 手机验证码登录 <span class="text-muted">/api/user/mobilelogin</span></a>
  2282. </h4>
  2283. </div>
  2284. <div id="collapseOne16" class="panel-collapse collapse">
  2285. <div class="panel-body">
  2286. <!-- Nav tabs -->
  2287. <ul class="nav nav-tabs" id="doctab16">
  2288. <li class="active"><a href="#info16" data-toggle="tab">基础信息</a></li>
  2289. <li><a href="#sandbox16" data-toggle="tab">在线测试</a></li>
  2290. <li><a href="#sample16" data-toggle="tab">返回示例</a></li>
  2291. </ul>
  2292. <!-- Tab panes -->
  2293. <div class="tab-content">
  2294. <div class="tab-pane active" id="info16">
  2295. <div class="well">
  2296. 手机验证码登录 </div>
  2297. <div class="panel panel-default">
  2298. <div class="panel-heading"><strong>权限</strong></div>
  2299. <div class="panel-body">
  2300. <table class="table table-hover">
  2301. <tbody>
  2302. <tr>
  2303. <td>登录</td>
  2304. <td>否</td>
  2305. </tr>
  2306. <tr>
  2307. <td>鉴权</td>
  2308. <td>否</td>
  2309. </tr>
  2310. </tbody>
  2311. </table>
  2312. </div>
  2313. </div>
  2314. <div class="panel panel-default">
  2315. <div class="panel-heading"><strong>Headers</strong></div>
  2316. <div class="panel-body">
  2317. </div>
  2318. </div>
  2319. <div class="panel panel-default">
  2320. <div class="panel-heading"><strong>参数</strong></div>
  2321. <div class="panel-body">
  2322. <table class="table table-hover">
  2323. <thead>
  2324. <tr>
  2325. <th>名称</th>
  2326. <th>类型</th>
  2327. <th>必选</th>
  2328. <th>描述</th>
  2329. </tr>
  2330. </thead>
  2331. <tbody>
  2332. <tr>
  2333. <td>mobile</td>
  2334. <td>string</td>
  2335. <td>是</td>
  2336. <td>手机号</td>
  2337. </tr>
  2338. <tr>
  2339. <td>captcha</td>
  2340. <td>string</td>
  2341. <td>是</td>
  2342. <td>验证码</td>
  2343. </tr>
  2344. </tbody>
  2345. </table>
  2346. </div>
  2347. </div>
  2348. <div class="panel panel-default">
  2349. <div class="panel-heading"><strong>正文</strong></div>
  2350. <div class="panel-body">
  2351. 无 </div>
  2352. </div>
  2353. </div><!-- #info -->
  2354. <div class="tab-pane" id="sandbox16">
  2355. <div class="row">
  2356. <div class="col-md-12">
  2357. <div class="panel panel-default">
  2358. <div class="panel-heading"><strong>参数</strong>
  2359. <div class="pull-right">
  2360. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  2361. </div>
  2362. </div>
  2363. <div class="panel-body">
  2364. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/mobilelogin" method="get" name="form16" id="form16">
  2365. <div class="form-group">
  2366. <label class="control-label" for="mobile">mobile</label>
  2367. <input type="string" class="form-control input-sm" id="mobile" required placeholder="手机号" name="mobile">
  2368. </div>
  2369. <div class="form-group">
  2370. <label class="control-label" for="captcha">captcha</label>
  2371. <input type="string" class="form-control input-sm" id="captcha" required placeholder="验证码" name="captcha">
  2372. </div>
  2373. <div class="form-group form-group-submit">
  2374. <button type="submit" class="btn btn-success send" rel="16">提交</button>
  2375. <button type="reset" class="btn btn-info" rel="16">重置</button>
  2376. </div>
  2377. </form>
  2378. </div>
  2379. </div>
  2380. <div class="panel panel-default">
  2381. <div class="panel-heading"><strong>响应输出</strong></div>
  2382. <div class="panel-body">
  2383. <div class="row">
  2384. <div class="col-md-12" style="overflow-x:auto">
  2385. <pre id="response_headers16"></pre>
  2386. <pre id="response16"></pre>
  2387. </div>
  2388. </div>
  2389. </div>
  2390. </div>
  2391. <div class="panel panel-default">
  2392. <div class="panel-heading"><strong>返回参数</strong></div>
  2393. <div class="panel-body">
  2394. </div>
  2395. </div>
  2396. </div>
  2397. </div>
  2398. </div><!-- #sandbox -->
  2399. <div class="tab-pane" id="sample16">
  2400. <div class="row">
  2401. <div class="col-md-12">
  2402. <pre id="sample_response16">无</pre>
  2403. </div>
  2404. </div>
  2405. </div><!-- #sample -->
  2406. </div><!-- .tab-content -->
  2407. </div>
  2408. </div>
  2409. </div>
  2410. <div class="panel panel-default">
  2411. <div class="panel-heading" id="heading-17">
  2412. <h4 class="panel-title">
  2413. <span class="label label-success">GET</span>
  2414. <a data-toggle="collapse" data-parent="#accordion17" href="#collapseOne17"> 注册会员 <span class="text-muted">/api/user/register</span></a>
  2415. </h4>
  2416. </div>
  2417. <div id="collapseOne17" class="panel-collapse collapse">
  2418. <div class="panel-body">
  2419. <!-- Nav tabs -->
  2420. <ul class="nav nav-tabs" id="doctab17">
  2421. <li class="active"><a href="#info17" data-toggle="tab">基础信息</a></li>
  2422. <li><a href="#sandbox17" data-toggle="tab">在线测试</a></li>
  2423. <li><a href="#sample17" data-toggle="tab">返回示例</a></li>
  2424. </ul>
  2425. <!-- Tab panes -->
  2426. <div class="tab-content">
  2427. <div class="tab-pane active" id="info17">
  2428. <div class="well">
  2429. 注册会员 </div>
  2430. <div class="panel panel-default">
  2431. <div class="panel-heading"><strong>权限</strong></div>
  2432. <div class="panel-body">
  2433. <table class="table table-hover">
  2434. <tbody>
  2435. <tr>
  2436. <td>登录</td>
  2437. <td>否</td>
  2438. </tr>
  2439. <tr>
  2440. <td>鉴权</td>
  2441. <td>否</td>
  2442. </tr>
  2443. </tbody>
  2444. </table>
  2445. </div>
  2446. </div>
  2447. <div class="panel panel-default">
  2448. <div class="panel-heading"><strong>Headers</strong></div>
  2449. <div class="panel-body">
  2450. </div>
  2451. </div>
  2452. <div class="panel panel-default">
  2453. <div class="panel-heading"><strong>参数</strong></div>
  2454. <div class="panel-body">
  2455. <table class="table table-hover">
  2456. <thead>
  2457. <tr>
  2458. <th>名称</th>
  2459. <th>类型</th>
  2460. <th>必选</th>
  2461. <th>描述</th>
  2462. </tr>
  2463. </thead>
  2464. <tbody>
  2465. <tr>
  2466. <td>username</td>
  2467. <td>string</td>
  2468. <td>是</td>
  2469. <td>用户名</td>
  2470. </tr>
  2471. <tr>
  2472. <td>password</td>
  2473. <td>string</td>
  2474. <td>是</td>
  2475. <td>密码</td>
  2476. </tr>
  2477. <tr>
  2478. <td>email</td>
  2479. <td>string</td>
  2480. <td>是</td>
  2481. <td>邮箱</td>
  2482. </tr>
  2483. <tr>
  2484. <td>mobile</td>
  2485. <td>string</td>
  2486. <td>是</td>
  2487. <td>手机号</td>
  2488. </tr>
  2489. <tr>
  2490. <td>code</td>
  2491. <td>string</td>
  2492. <td>是</td>
  2493. <td>验证码</td>
  2494. </tr>
  2495. </tbody>
  2496. </table>
  2497. </div>
  2498. </div>
  2499. <div class="panel panel-default">
  2500. <div class="panel-heading"><strong>正文</strong></div>
  2501. <div class="panel-body">
  2502. 无 </div>
  2503. </div>
  2504. </div><!-- #info -->
  2505. <div class="tab-pane" id="sandbox17">
  2506. <div class="row">
  2507. <div class="col-md-12">
  2508. <div class="panel panel-default">
  2509. <div class="panel-heading"><strong>参数</strong>
  2510. <div class="pull-right">
  2511. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  2512. </div>
  2513. </div>
  2514. <div class="panel-body">
  2515. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/register" method="get" name="form17" id="form17">
  2516. <div class="form-group">
  2517. <label class="control-label" for="username">username</label>
  2518. <input type="string" class="form-control input-sm" id="username" required placeholder="用户名" name="username">
  2519. </div>
  2520. <div class="form-group">
  2521. <label class="control-label" for="password">password</label>
  2522. <input type="string" class="form-control input-sm" id="password" required placeholder="密码" name="password">
  2523. </div>
  2524. <div class="form-group">
  2525. <label class="control-label" for="email">email</label>
  2526. <input type="string" class="form-control input-sm" id="email" required placeholder="邮箱" name="email">
  2527. </div>
  2528. <div class="form-group">
  2529. <label class="control-label" for="mobile">mobile</label>
  2530. <input type="string" class="form-control input-sm" id="mobile" required placeholder="手机号" name="mobile">
  2531. </div>
  2532. <div class="form-group">
  2533. <label class="control-label" for="code">code</label>
  2534. <input type="string" class="form-control input-sm" id="code" required placeholder="验证码" name="code">
  2535. </div>
  2536. <div class="form-group form-group-submit">
  2537. <button type="submit" class="btn btn-success send" rel="17">提交</button>
  2538. <button type="reset" class="btn btn-info" rel="17">重置</button>
  2539. </div>
  2540. </form>
  2541. </div>
  2542. </div>
  2543. <div class="panel panel-default">
  2544. <div class="panel-heading"><strong>响应输出</strong></div>
  2545. <div class="panel-body">
  2546. <div class="row">
  2547. <div class="col-md-12" style="overflow-x:auto">
  2548. <pre id="response_headers17"></pre>
  2549. <pre id="response17"></pre>
  2550. </div>
  2551. </div>
  2552. </div>
  2553. </div>
  2554. <div class="panel panel-default">
  2555. <div class="panel-heading"><strong>返回参数</strong></div>
  2556. <div class="panel-body">
  2557. </div>
  2558. </div>
  2559. </div>
  2560. </div>
  2561. </div><!-- #sandbox -->
  2562. <div class="tab-pane" id="sample17">
  2563. <div class="row">
  2564. <div class="col-md-12">
  2565. <pre id="sample_response17">无</pre>
  2566. </div>
  2567. </div>
  2568. </div><!-- #sample -->
  2569. </div><!-- .tab-content -->
  2570. </div>
  2571. </div>
  2572. </div>
  2573. <div class="panel panel-default">
  2574. <div class="panel-heading" id="heading-18">
  2575. <h4 class="panel-title">
  2576. <span class="label label-success">GET</span>
  2577. <a data-toggle="collapse" data-parent="#accordion18" href="#collapseOne18"> 退出登录 <span class="text-muted">/api/user/logout</span></a>
  2578. </h4>
  2579. </div>
  2580. <div id="collapseOne18" class="panel-collapse collapse">
  2581. <div class="panel-body">
  2582. <!-- Nav tabs -->
  2583. <ul class="nav nav-tabs" id="doctab18">
  2584. <li class="active"><a href="#info18" data-toggle="tab">基础信息</a></li>
  2585. <li><a href="#sandbox18" data-toggle="tab">在线测试</a></li>
  2586. <li><a href="#sample18" data-toggle="tab">返回示例</a></li>
  2587. </ul>
  2588. <!-- Tab panes -->
  2589. <div class="tab-content">
  2590. <div class="tab-pane active" id="info18">
  2591. <div class="well">
  2592. 退出登录 </div>
  2593. <div class="panel panel-default">
  2594. <div class="panel-heading"><strong>权限</strong></div>
  2595. <div class="panel-body">
  2596. <table class="table table-hover">
  2597. <tbody>
  2598. <tr>
  2599. <td>登录</td>
  2600. <td>是</td>
  2601. </tr>
  2602. <tr>
  2603. <td>鉴权</td>
  2604. <td>否</td>
  2605. </tr>
  2606. </tbody>
  2607. </table>
  2608. </div>
  2609. </div>
  2610. <div class="panel panel-default">
  2611. <div class="panel-heading"><strong>Headers</strong></div>
  2612. <div class="panel-body">
  2613. </div>
  2614. </div>
  2615. <div class="panel panel-default">
  2616. <div class="panel-heading"><strong>参数</strong></div>
  2617. <div class="panel-body">
  2618. </div>
  2619. </div>
  2620. <div class="panel panel-default">
  2621. <div class="panel-heading"><strong>正文</strong></div>
  2622. <div class="panel-body">
  2623. 无 </div>
  2624. </div>
  2625. </div><!-- #info -->
  2626. <div class="tab-pane" id="sandbox18">
  2627. <div class="row">
  2628. <div class="col-md-12">
  2629. <div class="panel panel-default">
  2630. <div class="panel-heading"><strong>参数</strong>
  2631. <div class="pull-right">
  2632. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  2633. </div>
  2634. </div>
  2635. <div class="panel-body">
  2636. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/logout" method="get" name="form18" id="form18">
  2637. <div class="form-group">
  2638. </div>
  2639. <div class="form-group form-group-submit">
  2640. <button type="submit" class="btn btn-success send" rel="18">提交</button>
  2641. <button type="reset" class="btn btn-info" rel="18">重置</button>
  2642. </div>
  2643. </form>
  2644. </div>
  2645. </div>
  2646. <div class="panel panel-default">
  2647. <div class="panel-heading"><strong>响应输出</strong></div>
  2648. <div class="panel-body">
  2649. <div class="row">
  2650. <div class="col-md-12" style="overflow-x:auto">
  2651. <pre id="response_headers18"></pre>
  2652. <pre id="response18"></pre>
  2653. </div>
  2654. </div>
  2655. </div>
  2656. </div>
  2657. <div class="panel panel-default">
  2658. <div class="panel-heading"><strong>返回参数</strong></div>
  2659. <div class="panel-body">
  2660. </div>
  2661. </div>
  2662. </div>
  2663. </div>
  2664. </div><!-- #sandbox -->
  2665. <div class="tab-pane" id="sample18">
  2666. <div class="row">
  2667. <div class="col-md-12">
  2668. <pre id="sample_response18">无</pre>
  2669. </div>
  2670. </div>
  2671. </div><!-- #sample -->
  2672. </div><!-- .tab-content -->
  2673. </div>
  2674. </div>
  2675. </div>
  2676. <div class="panel panel-default">
  2677. <div class="panel-heading" id="heading-19">
  2678. <h4 class="panel-title">
  2679. <span class="label label-success">GET</span>
  2680. <a data-toggle="collapse" data-parent="#accordion19" href="#collapseOne19"> 修改会员个人信息 <span class="text-muted">/api/user/profile</span></a>
  2681. </h4>
  2682. </div>
  2683. <div id="collapseOne19" class="panel-collapse collapse">
  2684. <div class="panel-body">
  2685. <!-- Nav tabs -->
  2686. <ul class="nav nav-tabs" id="doctab19">
  2687. <li class="active"><a href="#info19" data-toggle="tab">基础信息</a></li>
  2688. <li><a href="#sandbox19" data-toggle="tab">在线测试</a></li>
  2689. <li><a href="#sample19" data-toggle="tab">返回示例</a></li>
  2690. </ul>
  2691. <!-- Tab panes -->
  2692. <div class="tab-content">
  2693. <div class="tab-pane active" id="info19">
  2694. <div class="well">
  2695. 修改会员个人信息 </div>
  2696. <div class="panel panel-default">
  2697. <div class="panel-heading"><strong>权限</strong></div>
  2698. <div class="panel-body">
  2699. <table class="table table-hover">
  2700. <tbody>
  2701. <tr>
  2702. <td>登录</td>
  2703. <td>是</td>
  2704. </tr>
  2705. <tr>
  2706. <td>鉴权</td>
  2707. <td>否</td>
  2708. </tr>
  2709. </tbody>
  2710. </table>
  2711. </div>
  2712. </div>
  2713. <div class="panel panel-default">
  2714. <div class="panel-heading"><strong>Headers</strong></div>
  2715. <div class="panel-body">
  2716. </div>
  2717. </div>
  2718. <div class="panel panel-default">
  2719. <div class="panel-heading"><strong>参数</strong></div>
  2720. <div class="panel-body">
  2721. <table class="table table-hover">
  2722. <thead>
  2723. <tr>
  2724. <th>名称</th>
  2725. <th>类型</th>
  2726. <th>必选</th>
  2727. <th>描述</th>
  2728. </tr>
  2729. </thead>
  2730. <tbody>
  2731. <tr>
  2732. <td>avatar</td>
  2733. <td>string</td>
  2734. <td>是</td>
  2735. <td>头像地址</td>
  2736. </tr>
  2737. <tr>
  2738. <td>username</td>
  2739. <td>string</td>
  2740. <td>是</td>
  2741. <td>用户名</td>
  2742. </tr>
  2743. <tr>
  2744. <td>nickname</td>
  2745. <td>string</td>
  2746. <td>是</td>
  2747. <td>昵称</td>
  2748. </tr>
  2749. <tr>
  2750. <td>bio</td>
  2751. <td>string</td>
  2752. <td>是</td>
  2753. <td>个人简介</td>
  2754. </tr>
  2755. </tbody>
  2756. </table>
  2757. </div>
  2758. </div>
  2759. <div class="panel panel-default">
  2760. <div class="panel-heading"><strong>正文</strong></div>
  2761. <div class="panel-body">
  2762. 无 </div>
  2763. </div>
  2764. </div><!-- #info -->
  2765. <div class="tab-pane" id="sandbox19">
  2766. <div class="row">
  2767. <div class="col-md-12">
  2768. <div class="panel panel-default">
  2769. <div class="panel-heading"><strong>参数</strong>
  2770. <div class="pull-right">
  2771. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  2772. </div>
  2773. </div>
  2774. <div class="panel-body">
  2775. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/profile" method="get" name="form19" id="form19">
  2776. <div class="form-group">
  2777. <label class="control-label" for="avatar">avatar</label>
  2778. <input type="string" class="form-control input-sm" id="avatar" required placeholder="头像地址" name="avatar">
  2779. </div>
  2780. <div class="form-group">
  2781. <label class="control-label" for="username">username</label>
  2782. <input type="string" class="form-control input-sm" id="username" required placeholder="用户名" name="username">
  2783. </div>
  2784. <div class="form-group">
  2785. <label class="control-label" for="nickname">nickname</label>
  2786. <input type="string" class="form-control input-sm" id="nickname" required placeholder="昵称" name="nickname">
  2787. </div>
  2788. <div class="form-group">
  2789. <label class="control-label" for="bio">bio</label>
  2790. <input type="string" class="form-control input-sm" id="bio" required placeholder="个人简介" name="bio">
  2791. </div>
  2792. <div class="form-group form-group-submit">
  2793. <button type="submit" class="btn btn-success send" rel="19">提交</button>
  2794. <button type="reset" class="btn btn-info" rel="19">重置</button>
  2795. </div>
  2796. </form>
  2797. </div>
  2798. </div>
  2799. <div class="panel panel-default">
  2800. <div class="panel-heading"><strong>响应输出</strong></div>
  2801. <div class="panel-body">
  2802. <div class="row">
  2803. <div class="col-md-12" style="overflow-x:auto">
  2804. <pre id="response_headers19"></pre>
  2805. <pre id="response19"></pre>
  2806. </div>
  2807. </div>
  2808. </div>
  2809. </div>
  2810. <div class="panel panel-default">
  2811. <div class="panel-heading"><strong>返回参数</strong></div>
  2812. <div class="panel-body">
  2813. </div>
  2814. </div>
  2815. </div>
  2816. </div>
  2817. </div><!-- #sandbox -->
  2818. <div class="tab-pane" id="sample19">
  2819. <div class="row">
  2820. <div class="col-md-12">
  2821. <pre id="sample_response19">无</pre>
  2822. </div>
  2823. </div>
  2824. </div><!-- #sample -->
  2825. </div><!-- .tab-content -->
  2826. </div>
  2827. </div>
  2828. </div>
  2829. <div class="panel panel-default">
  2830. <div class="panel-heading" id="heading-20">
  2831. <h4 class="panel-title">
  2832. <span class="label label-success">GET</span>
  2833. <a data-toggle="collapse" data-parent="#accordion20" href="#collapseOne20"> 修改邮箱 <span class="text-muted">/api/user/changeemail</span></a>
  2834. </h4>
  2835. </div>
  2836. <div id="collapseOne20" class="panel-collapse collapse">
  2837. <div class="panel-body">
  2838. <!-- Nav tabs -->
  2839. <ul class="nav nav-tabs" id="doctab20">
  2840. <li class="active"><a href="#info20" data-toggle="tab">基础信息</a></li>
  2841. <li><a href="#sandbox20" data-toggle="tab">在线测试</a></li>
  2842. <li><a href="#sample20" data-toggle="tab">返回示例</a></li>
  2843. </ul>
  2844. <!-- Tab panes -->
  2845. <div class="tab-content">
  2846. <div class="tab-pane active" id="info20">
  2847. <div class="well">
  2848. 修改邮箱 </div>
  2849. <div class="panel panel-default">
  2850. <div class="panel-heading"><strong>权限</strong></div>
  2851. <div class="panel-body">
  2852. <table class="table table-hover">
  2853. <tbody>
  2854. <tr>
  2855. <td>登录</td>
  2856. <td>否</td>
  2857. </tr>
  2858. <tr>
  2859. <td>鉴权</td>
  2860. <td>否</td>
  2861. </tr>
  2862. </tbody>
  2863. </table>
  2864. </div>
  2865. </div>
  2866. <div class="panel panel-default">
  2867. <div class="panel-heading"><strong>Headers</strong></div>
  2868. <div class="panel-body">
  2869. </div>
  2870. </div>
  2871. <div class="panel panel-default">
  2872. <div class="panel-heading"><strong>参数</strong></div>
  2873. <div class="panel-body">
  2874. <table class="table table-hover">
  2875. <thead>
  2876. <tr>
  2877. <th>名称</th>
  2878. <th>类型</th>
  2879. <th>必选</th>
  2880. <th>描述</th>
  2881. </tr>
  2882. </thead>
  2883. <tbody>
  2884. <tr>
  2885. <td>email</td>
  2886. <td>string</td>
  2887. <td>是</td>
  2888. <td>邮箱</td>
  2889. </tr>
  2890. <tr>
  2891. <td>captcha</td>
  2892. <td>string</td>
  2893. <td>是</td>
  2894. <td>验证码</td>
  2895. </tr>
  2896. </tbody>
  2897. </table>
  2898. </div>
  2899. </div>
  2900. <div class="panel panel-default">
  2901. <div class="panel-heading"><strong>正文</strong></div>
  2902. <div class="panel-body">
  2903. 无 </div>
  2904. </div>
  2905. </div><!-- #info -->
  2906. <div class="tab-pane" id="sandbox20">
  2907. <div class="row">
  2908. <div class="col-md-12">
  2909. <div class="panel panel-default">
  2910. <div class="panel-heading"><strong>参数</strong>
  2911. <div class="pull-right">
  2912. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  2913. </div>
  2914. </div>
  2915. <div class="panel-body">
  2916. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/changeemail" method="get" name="form20" id="form20">
  2917. <div class="form-group">
  2918. <label class="control-label" for="email">email</label>
  2919. <input type="string" class="form-control input-sm" id="email" required placeholder="邮箱" name="email">
  2920. </div>
  2921. <div class="form-group">
  2922. <label class="control-label" for="captcha">captcha</label>
  2923. <input type="string" class="form-control input-sm" id="captcha" required placeholder="验证码" name="captcha">
  2924. </div>
  2925. <div class="form-group form-group-submit">
  2926. <button type="submit" class="btn btn-success send" rel="20">提交</button>
  2927. <button type="reset" class="btn btn-info" rel="20">重置</button>
  2928. </div>
  2929. </form>
  2930. </div>
  2931. </div>
  2932. <div class="panel panel-default">
  2933. <div class="panel-heading"><strong>响应输出</strong></div>
  2934. <div class="panel-body">
  2935. <div class="row">
  2936. <div class="col-md-12" style="overflow-x:auto">
  2937. <pre id="response_headers20"></pre>
  2938. <pre id="response20"></pre>
  2939. </div>
  2940. </div>
  2941. </div>
  2942. </div>
  2943. <div class="panel panel-default">
  2944. <div class="panel-heading"><strong>返回参数</strong></div>
  2945. <div class="panel-body">
  2946. </div>
  2947. </div>
  2948. </div>
  2949. </div>
  2950. </div><!-- #sandbox -->
  2951. <div class="tab-pane" id="sample20">
  2952. <div class="row">
  2953. <div class="col-md-12">
  2954. <pre id="sample_response20">无</pre>
  2955. </div>
  2956. </div>
  2957. </div><!-- #sample -->
  2958. </div><!-- .tab-content -->
  2959. </div>
  2960. </div>
  2961. </div>
  2962. <div class="panel panel-default">
  2963. <div class="panel-heading" id="heading-21">
  2964. <h4 class="panel-title">
  2965. <span class="label label-success">GET</span>
  2966. <a data-toggle="collapse" data-parent="#accordion21" href="#collapseOne21"> 修改手机号 <span class="text-muted">/api/user/changemobile</span></a>
  2967. </h4>
  2968. </div>
  2969. <div id="collapseOne21" class="panel-collapse collapse">
  2970. <div class="panel-body">
  2971. <!-- Nav tabs -->
  2972. <ul class="nav nav-tabs" id="doctab21">
  2973. <li class="active"><a href="#info21" data-toggle="tab">基础信息</a></li>
  2974. <li><a href="#sandbox21" data-toggle="tab">在线测试</a></li>
  2975. <li><a href="#sample21" data-toggle="tab">返回示例</a></li>
  2976. </ul>
  2977. <!-- Tab panes -->
  2978. <div class="tab-content">
  2979. <div class="tab-pane active" id="info21">
  2980. <div class="well">
  2981. 修改手机号 </div>
  2982. <div class="panel panel-default">
  2983. <div class="panel-heading"><strong>权限</strong></div>
  2984. <div class="panel-body">
  2985. <table class="table table-hover">
  2986. <tbody>
  2987. <tr>
  2988. <td>登录</td>
  2989. <td>否</td>
  2990. </tr>
  2991. <tr>
  2992. <td>鉴权</td>
  2993. <td>否</td>
  2994. </tr>
  2995. </tbody>
  2996. </table>
  2997. </div>
  2998. </div>
  2999. <div class="panel panel-default">
  3000. <div class="panel-heading"><strong>Headers</strong></div>
  3001. <div class="panel-body">
  3002. </div>
  3003. </div>
  3004. <div class="panel panel-default">
  3005. <div class="panel-heading"><strong>参数</strong></div>
  3006. <div class="panel-body">
  3007. <table class="table table-hover">
  3008. <thead>
  3009. <tr>
  3010. <th>名称</th>
  3011. <th>类型</th>
  3012. <th>必选</th>
  3013. <th>描述</th>
  3014. </tr>
  3015. </thead>
  3016. <tbody>
  3017. <tr>
  3018. <td>mobile</td>
  3019. <td>string</td>
  3020. <td>是</td>
  3021. <td>手机号</td>
  3022. </tr>
  3023. <tr>
  3024. <td>captcha</td>
  3025. <td>string</td>
  3026. <td>是</td>
  3027. <td>验证码</td>
  3028. </tr>
  3029. </tbody>
  3030. </table>
  3031. </div>
  3032. </div>
  3033. <div class="panel panel-default">
  3034. <div class="panel-heading"><strong>正文</strong></div>
  3035. <div class="panel-body">
  3036. 无 </div>
  3037. </div>
  3038. </div><!-- #info -->
  3039. <div class="tab-pane" id="sandbox21">
  3040. <div class="row">
  3041. <div class="col-md-12">
  3042. <div class="panel panel-default">
  3043. <div class="panel-heading"><strong>参数</strong>
  3044. <div class="pull-right">
  3045. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  3046. </div>
  3047. </div>
  3048. <div class="panel-body">
  3049. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/changemobile" method="get" name="form21" id="form21">
  3050. <div class="form-group">
  3051. <label class="control-label" for="mobile">mobile</label>
  3052. <input type="string" class="form-control input-sm" id="mobile" required placeholder="手机号" name="mobile">
  3053. </div>
  3054. <div class="form-group">
  3055. <label class="control-label" for="captcha">captcha</label>
  3056. <input type="string" class="form-control input-sm" id="captcha" required placeholder="验证码" name="captcha">
  3057. </div>
  3058. <div class="form-group form-group-submit">
  3059. <button type="submit" class="btn btn-success send" rel="21">提交</button>
  3060. <button type="reset" class="btn btn-info" rel="21">重置</button>
  3061. </div>
  3062. </form>
  3063. </div>
  3064. </div>
  3065. <div class="panel panel-default">
  3066. <div class="panel-heading"><strong>响应输出</strong></div>
  3067. <div class="panel-body">
  3068. <div class="row">
  3069. <div class="col-md-12" style="overflow-x:auto">
  3070. <pre id="response_headers21"></pre>
  3071. <pre id="response21"></pre>
  3072. </div>
  3073. </div>
  3074. </div>
  3075. </div>
  3076. <div class="panel panel-default">
  3077. <div class="panel-heading"><strong>返回参数</strong></div>
  3078. <div class="panel-body">
  3079. </div>
  3080. </div>
  3081. </div>
  3082. </div>
  3083. </div><!-- #sandbox -->
  3084. <div class="tab-pane" id="sample21">
  3085. <div class="row">
  3086. <div class="col-md-12">
  3087. <pre id="sample_response21">无</pre>
  3088. </div>
  3089. </div>
  3090. </div><!-- #sample -->
  3091. </div><!-- .tab-content -->
  3092. </div>
  3093. </div>
  3094. </div>
  3095. <div class="panel panel-default">
  3096. <div class="panel-heading" id="heading-22">
  3097. <h4 class="panel-title">
  3098. <span class="label label-success">GET</span>
  3099. <a data-toggle="collapse" data-parent="#accordion22" href="#collapseOne22"> 第三方登录 <span class="text-muted">/api/user/third</span></a>
  3100. </h4>
  3101. </div>
  3102. <div id="collapseOne22" class="panel-collapse collapse">
  3103. <div class="panel-body">
  3104. <!-- Nav tabs -->
  3105. <ul class="nav nav-tabs" id="doctab22">
  3106. <li class="active"><a href="#info22" data-toggle="tab">基础信息</a></li>
  3107. <li><a href="#sandbox22" data-toggle="tab">在线测试</a></li>
  3108. <li><a href="#sample22" data-toggle="tab">返回示例</a></li>
  3109. </ul>
  3110. <!-- Tab panes -->
  3111. <div class="tab-content">
  3112. <div class="tab-pane active" id="info22">
  3113. <div class="well">
  3114. 第三方登录 </div>
  3115. <div class="panel panel-default">
  3116. <div class="panel-heading"><strong>权限</strong></div>
  3117. <div class="panel-body">
  3118. <table class="table table-hover">
  3119. <tbody>
  3120. <tr>
  3121. <td>登录</td>
  3122. <td>否</td>
  3123. </tr>
  3124. <tr>
  3125. <td>鉴权</td>
  3126. <td>否</td>
  3127. </tr>
  3128. </tbody>
  3129. </table>
  3130. </div>
  3131. </div>
  3132. <div class="panel panel-default">
  3133. <div class="panel-heading"><strong>Headers</strong></div>
  3134. <div class="panel-body">
  3135. </div>
  3136. </div>
  3137. <div class="panel panel-default">
  3138. <div class="panel-heading"><strong>参数</strong></div>
  3139. <div class="panel-body">
  3140. <table class="table table-hover">
  3141. <thead>
  3142. <tr>
  3143. <th>名称</th>
  3144. <th>类型</th>
  3145. <th>必选</th>
  3146. <th>描述</th>
  3147. </tr>
  3148. </thead>
  3149. <tbody>
  3150. <tr>
  3151. <td>platform</td>
  3152. <td>string</td>
  3153. <td>是</td>
  3154. <td>平台名称</td>
  3155. </tr>
  3156. <tr>
  3157. <td>code</td>
  3158. <td>string</td>
  3159. <td>是</td>
  3160. <td>Code码</td>
  3161. </tr>
  3162. </tbody>
  3163. </table>
  3164. </div>
  3165. </div>
  3166. <div class="panel panel-default">
  3167. <div class="panel-heading"><strong>正文</strong></div>
  3168. <div class="panel-body">
  3169. 无 </div>
  3170. </div>
  3171. </div><!-- #info -->
  3172. <div class="tab-pane" id="sandbox22">
  3173. <div class="row">
  3174. <div class="col-md-12">
  3175. <div class="panel panel-default">
  3176. <div class="panel-heading"><strong>参数</strong>
  3177. <div class="pull-right">
  3178. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  3179. </div>
  3180. </div>
  3181. <div class="panel-body">
  3182. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/third" method="get" name="form22" id="form22">
  3183. <div class="form-group">
  3184. <label class="control-label" for="platform">platform</label>
  3185. <input type="string" class="form-control input-sm" id="platform" required placeholder="平台名称" name="platform">
  3186. </div>
  3187. <div class="form-group">
  3188. <label class="control-label" for="code">code</label>
  3189. <input type="string" class="form-control input-sm" id="code" required placeholder="Code码" name="code">
  3190. </div>
  3191. <div class="form-group form-group-submit">
  3192. <button type="submit" class="btn btn-success send" rel="22">提交</button>
  3193. <button type="reset" class="btn btn-info" rel="22">重置</button>
  3194. </div>
  3195. </form>
  3196. </div>
  3197. </div>
  3198. <div class="panel panel-default">
  3199. <div class="panel-heading"><strong>响应输出</strong></div>
  3200. <div class="panel-body">
  3201. <div class="row">
  3202. <div class="col-md-12" style="overflow-x:auto">
  3203. <pre id="response_headers22"></pre>
  3204. <pre id="response22"></pre>
  3205. </div>
  3206. </div>
  3207. </div>
  3208. </div>
  3209. <div class="panel panel-default">
  3210. <div class="panel-heading"><strong>返回参数</strong></div>
  3211. <div class="panel-body">
  3212. </div>
  3213. </div>
  3214. </div>
  3215. </div>
  3216. </div><!-- #sandbox -->
  3217. <div class="tab-pane" id="sample22">
  3218. <div class="row">
  3219. <div class="col-md-12">
  3220. <pre id="sample_response22">无</pre>
  3221. </div>
  3222. </div>
  3223. </div><!-- #sample -->
  3224. </div><!-- .tab-content -->
  3225. </div>
  3226. </div>
  3227. </div>
  3228. <div class="panel panel-default">
  3229. <div class="panel-heading" id="heading-23">
  3230. <h4 class="panel-title">
  3231. <span class="label label-success">GET</span>
  3232. <a data-toggle="collapse" data-parent="#accordion23" href="#collapseOne23"> 重置密码 <span class="text-muted">/api/user/resetpwd</span></a>
  3233. </h4>
  3234. </div>
  3235. <div id="collapseOne23" class="panel-collapse collapse">
  3236. <div class="panel-body">
  3237. <!-- Nav tabs -->
  3238. <ul class="nav nav-tabs" id="doctab23">
  3239. <li class="active"><a href="#info23" data-toggle="tab">基础信息</a></li>
  3240. <li><a href="#sandbox23" data-toggle="tab">在线测试</a></li>
  3241. <li><a href="#sample23" data-toggle="tab">返回示例</a></li>
  3242. </ul>
  3243. <!-- Tab panes -->
  3244. <div class="tab-content">
  3245. <div class="tab-pane active" id="info23">
  3246. <div class="well">
  3247. 重置密码 </div>
  3248. <div class="panel panel-default">
  3249. <div class="panel-heading"><strong>权限</strong></div>
  3250. <div class="panel-body">
  3251. <table class="table table-hover">
  3252. <tbody>
  3253. <tr>
  3254. <td>登录</td>
  3255. <td>否</td>
  3256. </tr>
  3257. <tr>
  3258. <td>鉴权</td>
  3259. <td>否</td>
  3260. </tr>
  3261. </tbody>
  3262. </table>
  3263. </div>
  3264. </div>
  3265. <div class="panel panel-default">
  3266. <div class="panel-heading"><strong>Headers</strong></div>
  3267. <div class="panel-body">
  3268. </div>
  3269. </div>
  3270. <div class="panel panel-default">
  3271. <div class="panel-heading"><strong>参数</strong></div>
  3272. <div class="panel-body">
  3273. <table class="table table-hover">
  3274. <thead>
  3275. <tr>
  3276. <th>名称</th>
  3277. <th>类型</th>
  3278. <th>必选</th>
  3279. <th>描述</th>
  3280. </tr>
  3281. </thead>
  3282. <tbody>
  3283. <tr>
  3284. <td>mobile</td>
  3285. <td>string</td>
  3286. <td>是</td>
  3287. <td>手机号</td>
  3288. </tr>
  3289. <tr>
  3290. <td>newpassword</td>
  3291. <td>string</td>
  3292. <td>是</td>
  3293. <td>新密码</td>
  3294. </tr>
  3295. <tr>
  3296. <td>captcha</td>
  3297. <td>string</td>
  3298. <td>是</td>
  3299. <td>验证码</td>
  3300. </tr>
  3301. </tbody>
  3302. </table>
  3303. </div>
  3304. </div>
  3305. <div class="panel panel-default">
  3306. <div class="panel-heading"><strong>正文</strong></div>
  3307. <div class="panel-body">
  3308. 无 </div>
  3309. </div>
  3310. </div><!-- #info -->
  3311. <div class="tab-pane" id="sandbox23">
  3312. <div class="row">
  3313. <div class="col-md-12">
  3314. <div class="panel panel-default">
  3315. <div class="panel-heading"><strong>参数</strong>
  3316. <div class="pull-right">
  3317. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  3318. </div>
  3319. </div>
  3320. <div class="panel-body">
  3321. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/user/resetpwd" method="get" name="form23" id="form23">
  3322. <div class="form-group">
  3323. <label class="control-label" for="mobile">mobile</label>
  3324. <input type="string" class="form-control input-sm" id="mobile" required placeholder="手机号" name="mobile">
  3325. </div>
  3326. <div class="form-group">
  3327. <label class="control-label" for="newpassword">newpassword</label>
  3328. <input type="string" class="form-control input-sm" id="newpassword" required placeholder="新密码" name="newpassword">
  3329. </div>
  3330. <div class="form-group">
  3331. <label class="control-label" for="captcha">captcha</label>
  3332. <input type="string" class="form-control input-sm" id="captcha" required placeholder="验证码" name="captcha">
  3333. </div>
  3334. <div class="form-group form-group-submit">
  3335. <button type="submit" class="btn btn-success send" rel="23">提交</button>
  3336. <button type="reset" class="btn btn-info" rel="23">重置</button>
  3337. </div>
  3338. </form>
  3339. </div>
  3340. </div>
  3341. <div class="panel panel-default">
  3342. <div class="panel-heading"><strong>响应输出</strong></div>
  3343. <div class="panel-body">
  3344. <div class="row">
  3345. <div class="col-md-12" style="overflow-x:auto">
  3346. <pre id="response_headers23"></pre>
  3347. <pre id="response23"></pre>
  3348. </div>
  3349. </div>
  3350. </div>
  3351. </div>
  3352. <div class="panel panel-default">
  3353. <div class="panel-heading"><strong>返回参数</strong></div>
  3354. <div class="panel-body">
  3355. </div>
  3356. </div>
  3357. </div>
  3358. </div>
  3359. </div><!-- #sandbox -->
  3360. <div class="tab-pane" id="sample23">
  3361. <div class="row">
  3362. <div class="col-md-12">
  3363. <pre id="sample_response23">无</pre>
  3364. </div>
  3365. </div>
  3366. </div><!-- #sample -->
  3367. </div><!-- .tab-content -->
  3368. </div>
  3369. </div>
  3370. </div>
  3371. <h2>验证接口</h2>
  3372. <hr>
  3373. <div class="panel panel-default">
  3374. <div class="panel-heading" id="heading-24">
  3375. <h4 class="panel-title">
  3376. <span class="label label-success">GET</span>
  3377. <a data-toggle="collapse" data-parent="#accordion24" href="#collapseOne24"> 检测邮箱 <span class="text-muted">/api/validate/check_email_available</span></a>
  3378. </h4>
  3379. </div>
  3380. <div id="collapseOne24" class="panel-collapse collapse">
  3381. <div class="panel-body">
  3382. <!-- Nav tabs -->
  3383. <ul class="nav nav-tabs" id="doctab24">
  3384. <li class="active"><a href="#info24" data-toggle="tab">基础信息</a></li>
  3385. <li><a href="#sandbox24" data-toggle="tab">在线测试</a></li>
  3386. <li><a href="#sample24" data-toggle="tab">返回示例</a></li>
  3387. </ul>
  3388. <!-- Tab panes -->
  3389. <div class="tab-content">
  3390. <div class="tab-pane active" id="info24">
  3391. <div class="well">
  3392. 检测邮箱 </div>
  3393. <div class="panel panel-default">
  3394. <div class="panel-heading"><strong>权限</strong></div>
  3395. <div class="panel-body">
  3396. <table class="table table-hover">
  3397. <tbody>
  3398. <tr>
  3399. <td>登录</td>
  3400. <td>否</td>
  3401. </tr>
  3402. <tr>
  3403. <td>鉴权</td>
  3404. <td>否</td>
  3405. </tr>
  3406. </tbody>
  3407. </table>
  3408. </div>
  3409. </div>
  3410. <div class="panel panel-default">
  3411. <div class="panel-heading"><strong>Headers</strong></div>
  3412. <div class="panel-body">
  3413. </div>
  3414. </div>
  3415. <div class="panel panel-default">
  3416. <div class="panel-heading"><strong>参数</strong></div>
  3417. <div class="panel-body">
  3418. <table class="table table-hover">
  3419. <thead>
  3420. <tr>
  3421. <th>名称</th>
  3422. <th>类型</th>
  3423. <th>必选</th>
  3424. <th>描述</th>
  3425. </tr>
  3426. </thead>
  3427. <tbody>
  3428. <tr>
  3429. <td>email</td>
  3430. <td>string</td>
  3431. <td>是</td>
  3432. <td>邮箱</td>
  3433. </tr>
  3434. <tr>
  3435. <td>id</td>
  3436. <td>string</td>
  3437. <td>是</td>
  3438. <td>排除会员ID</td>
  3439. </tr>
  3440. </tbody>
  3441. </table>
  3442. </div>
  3443. </div>
  3444. <div class="panel panel-default">
  3445. <div class="panel-heading"><strong>正文</strong></div>
  3446. <div class="panel-body">
  3447. 无 </div>
  3448. </div>
  3449. </div><!-- #info -->
  3450. <div class="tab-pane" id="sandbox24">
  3451. <div class="row">
  3452. <div class="col-md-12">
  3453. <div class="panel panel-default">
  3454. <div class="panel-heading"><strong>参数</strong>
  3455. <div class="pull-right">
  3456. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  3457. </div>
  3458. </div>
  3459. <div class="panel-body">
  3460. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_email_available" method="get" name="form24" id="form24">
  3461. <div class="form-group">
  3462. <label class="control-label" for="email">email</label>
  3463. <input type="string" class="form-control input-sm" id="email" required placeholder="邮箱" name="email">
  3464. </div>
  3465. <div class="form-group">
  3466. <label class="control-label" for="id">id</label>
  3467. <input type="string" class="form-control input-sm" id="id" required placeholder="排除会员ID" name="id">
  3468. </div>
  3469. <div class="form-group form-group-submit">
  3470. <button type="submit" class="btn btn-success send" rel="24">提交</button>
  3471. <button type="reset" class="btn btn-info" rel="24">重置</button>
  3472. </div>
  3473. </form>
  3474. </div>
  3475. </div>
  3476. <div class="panel panel-default">
  3477. <div class="panel-heading"><strong>响应输出</strong></div>
  3478. <div class="panel-body">
  3479. <div class="row">
  3480. <div class="col-md-12" style="overflow-x:auto">
  3481. <pre id="response_headers24"></pre>
  3482. <pre id="response24"></pre>
  3483. </div>
  3484. </div>
  3485. </div>
  3486. </div>
  3487. <div class="panel panel-default">
  3488. <div class="panel-heading"><strong>返回参数</strong></div>
  3489. <div class="panel-body">
  3490. </div>
  3491. </div>
  3492. </div>
  3493. </div>
  3494. </div><!-- #sandbox -->
  3495. <div class="tab-pane" id="sample24">
  3496. <div class="row">
  3497. <div class="col-md-12">
  3498. <pre id="sample_response24">无</pre>
  3499. </div>
  3500. </div>
  3501. </div><!-- #sample -->
  3502. </div><!-- .tab-content -->
  3503. </div>
  3504. </div>
  3505. </div>
  3506. <div class="panel panel-default">
  3507. <div class="panel-heading" id="heading-25">
  3508. <h4 class="panel-title">
  3509. <span class="label label-success">GET</span>
  3510. <a data-toggle="collapse" data-parent="#accordion25" href="#collapseOne25"> 检测用户名 <span class="text-muted">/api/validate/check_username_available</span></a>
  3511. </h4>
  3512. </div>
  3513. <div id="collapseOne25" class="panel-collapse collapse">
  3514. <div class="panel-body">
  3515. <!-- Nav tabs -->
  3516. <ul class="nav nav-tabs" id="doctab25">
  3517. <li class="active"><a href="#info25" data-toggle="tab">基础信息</a></li>
  3518. <li><a href="#sandbox25" data-toggle="tab">在线测试</a></li>
  3519. <li><a href="#sample25" data-toggle="tab">返回示例</a></li>
  3520. </ul>
  3521. <!-- Tab panes -->
  3522. <div class="tab-content">
  3523. <div class="tab-pane active" id="info25">
  3524. <div class="well">
  3525. 检测用户名 </div>
  3526. <div class="panel panel-default">
  3527. <div class="panel-heading"><strong>权限</strong></div>
  3528. <div class="panel-body">
  3529. <table class="table table-hover">
  3530. <tbody>
  3531. <tr>
  3532. <td>登录</td>
  3533. <td>否</td>
  3534. </tr>
  3535. <tr>
  3536. <td>鉴权</td>
  3537. <td>否</td>
  3538. </tr>
  3539. </tbody>
  3540. </table>
  3541. </div>
  3542. </div>
  3543. <div class="panel panel-default">
  3544. <div class="panel-heading"><strong>Headers</strong></div>
  3545. <div class="panel-body">
  3546. </div>
  3547. </div>
  3548. <div class="panel panel-default">
  3549. <div class="panel-heading"><strong>参数</strong></div>
  3550. <div class="panel-body">
  3551. <table class="table table-hover">
  3552. <thead>
  3553. <tr>
  3554. <th>名称</th>
  3555. <th>类型</th>
  3556. <th>必选</th>
  3557. <th>描述</th>
  3558. </tr>
  3559. </thead>
  3560. <tbody>
  3561. <tr>
  3562. <td>username</td>
  3563. <td>string</td>
  3564. <td>是</td>
  3565. <td>用户名</td>
  3566. </tr>
  3567. <tr>
  3568. <td>id</td>
  3569. <td>string</td>
  3570. <td>是</td>
  3571. <td>排除会员ID</td>
  3572. </tr>
  3573. </tbody>
  3574. </table>
  3575. </div>
  3576. </div>
  3577. <div class="panel panel-default">
  3578. <div class="panel-heading"><strong>正文</strong></div>
  3579. <div class="panel-body">
  3580. 无 </div>
  3581. </div>
  3582. </div><!-- #info -->
  3583. <div class="tab-pane" id="sandbox25">
  3584. <div class="row">
  3585. <div class="col-md-12">
  3586. <div class="panel panel-default">
  3587. <div class="panel-heading"><strong>参数</strong>
  3588. <div class="pull-right">
  3589. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  3590. </div>
  3591. </div>
  3592. <div class="panel-body">
  3593. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_username_available" method="get" name="form25" id="form25">
  3594. <div class="form-group">
  3595. <label class="control-label" for="username">username</label>
  3596. <input type="string" class="form-control input-sm" id="username" required placeholder="用户名" name="username">
  3597. </div>
  3598. <div class="form-group">
  3599. <label class="control-label" for="id">id</label>
  3600. <input type="string" class="form-control input-sm" id="id" required placeholder="排除会员ID" name="id">
  3601. </div>
  3602. <div class="form-group form-group-submit">
  3603. <button type="submit" class="btn btn-success send" rel="25">提交</button>
  3604. <button type="reset" class="btn btn-info" rel="25">重置</button>
  3605. </div>
  3606. </form>
  3607. </div>
  3608. </div>
  3609. <div class="panel panel-default">
  3610. <div class="panel-heading"><strong>响应输出</strong></div>
  3611. <div class="panel-body">
  3612. <div class="row">
  3613. <div class="col-md-12" style="overflow-x:auto">
  3614. <pre id="response_headers25"></pre>
  3615. <pre id="response25"></pre>
  3616. </div>
  3617. </div>
  3618. </div>
  3619. </div>
  3620. <div class="panel panel-default">
  3621. <div class="panel-heading"><strong>返回参数</strong></div>
  3622. <div class="panel-body">
  3623. </div>
  3624. </div>
  3625. </div>
  3626. </div>
  3627. </div><!-- #sandbox -->
  3628. <div class="tab-pane" id="sample25">
  3629. <div class="row">
  3630. <div class="col-md-12">
  3631. <pre id="sample_response25">无</pre>
  3632. </div>
  3633. </div>
  3634. </div><!-- #sample -->
  3635. </div><!-- .tab-content -->
  3636. </div>
  3637. </div>
  3638. </div>
  3639. <div class="panel panel-default">
  3640. <div class="panel-heading" id="heading-26">
  3641. <h4 class="panel-title">
  3642. <span class="label label-success">GET</span>
  3643. <a data-toggle="collapse" data-parent="#accordion26" href="#collapseOne26"> 检测昵称 <span class="text-muted">/api/validate/check_nickname_available</span></a>
  3644. </h4>
  3645. </div>
  3646. <div id="collapseOne26" class="panel-collapse collapse">
  3647. <div class="panel-body">
  3648. <!-- Nav tabs -->
  3649. <ul class="nav nav-tabs" id="doctab26">
  3650. <li class="active"><a href="#info26" data-toggle="tab">基础信息</a></li>
  3651. <li><a href="#sandbox26" data-toggle="tab">在线测试</a></li>
  3652. <li><a href="#sample26" data-toggle="tab">返回示例</a></li>
  3653. </ul>
  3654. <!-- Tab panes -->
  3655. <div class="tab-content">
  3656. <div class="tab-pane active" id="info26">
  3657. <div class="well">
  3658. 检测昵称 </div>
  3659. <div class="panel panel-default">
  3660. <div class="panel-heading"><strong>权限</strong></div>
  3661. <div class="panel-body">
  3662. <table class="table table-hover">
  3663. <tbody>
  3664. <tr>
  3665. <td>登录</td>
  3666. <td>否</td>
  3667. </tr>
  3668. <tr>
  3669. <td>鉴权</td>
  3670. <td>否</td>
  3671. </tr>
  3672. </tbody>
  3673. </table>
  3674. </div>
  3675. </div>
  3676. <div class="panel panel-default">
  3677. <div class="panel-heading"><strong>Headers</strong></div>
  3678. <div class="panel-body">
  3679. </div>
  3680. </div>
  3681. <div class="panel panel-default">
  3682. <div class="panel-heading"><strong>参数</strong></div>
  3683. <div class="panel-body">
  3684. <table class="table table-hover">
  3685. <thead>
  3686. <tr>
  3687. <th>名称</th>
  3688. <th>类型</th>
  3689. <th>必选</th>
  3690. <th>描述</th>
  3691. </tr>
  3692. </thead>
  3693. <tbody>
  3694. <tr>
  3695. <td>nickname</td>
  3696. <td>string</td>
  3697. <td>是</td>
  3698. <td>昵称</td>
  3699. </tr>
  3700. <tr>
  3701. <td>id</td>
  3702. <td>string</td>
  3703. <td>是</td>
  3704. <td>排除会员ID</td>
  3705. </tr>
  3706. </tbody>
  3707. </table>
  3708. </div>
  3709. </div>
  3710. <div class="panel panel-default">
  3711. <div class="panel-heading"><strong>正文</strong></div>
  3712. <div class="panel-body">
  3713. 无 </div>
  3714. </div>
  3715. </div><!-- #info -->
  3716. <div class="tab-pane" id="sandbox26">
  3717. <div class="row">
  3718. <div class="col-md-12">
  3719. <div class="panel panel-default">
  3720. <div class="panel-heading"><strong>参数</strong>
  3721. <div class="pull-right">
  3722. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  3723. </div>
  3724. </div>
  3725. <div class="panel-body">
  3726. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_nickname_available" method="get" name="form26" id="form26">
  3727. <div class="form-group">
  3728. <label class="control-label" for="nickname">nickname</label>
  3729. <input type="string" class="form-control input-sm" id="nickname" required placeholder="昵称" name="nickname">
  3730. </div>
  3731. <div class="form-group">
  3732. <label class="control-label" for="id">id</label>
  3733. <input type="string" class="form-control input-sm" id="id" required placeholder="排除会员ID" name="id">
  3734. </div>
  3735. <div class="form-group form-group-submit">
  3736. <button type="submit" class="btn btn-success send" rel="26">提交</button>
  3737. <button type="reset" class="btn btn-info" rel="26">重置</button>
  3738. </div>
  3739. </form>
  3740. </div>
  3741. </div>
  3742. <div class="panel panel-default">
  3743. <div class="panel-heading"><strong>响应输出</strong></div>
  3744. <div class="panel-body">
  3745. <div class="row">
  3746. <div class="col-md-12" style="overflow-x:auto">
  3747. <pre id="response_headers26"></pre>
  3748. <pre id="response26"></pre>
  3749. </div>
  3750. </div>
  3751. </div>
  3752. </div>
  3753. <div class="panel panel-default">
  3754. <div class="panel-heading"><strong>返回参数</strong></div>
  3755. <div class="panel-body">
  3756. </div>
  3757. </div>
  3758. </div>
  3759. </div>
  3760. </div><!-- #sandbox -->
  3761. <div class="tab-pane" id="sample26">
  3762. <div class="row">
  3763. <div class="col-md-12">
  3764. <pre id="sample_response26">无</pre>
  3765. </div>
  3766. </div>
  3767. </div><!-- #sample -->
  3768. </div><!-- .tab-content -->
  3769. </div>
  3770. </div>
  3771. </div>
  3772. <div class="panel panel-default">
  3773. <div class="panel-heading" id="heading-27">
  3774. <h4 class="panel-title">
  3775. <span class="label label-success">GET</span>
  3776. <a data-toggle="collapse" data-parent="#accordion27" href="#collapseOne27"> 检测手机 <span class="text-muted">/api/validate/check_mobile_available</span></a>
  3777. </h4>
  3778. </div>
  3779. <div id="collapseOne27" class="panel-collapse collapse">
  3780. <div class="panel-body">
  3781. <!-- Nav tabs -->
  3782. <ul class="nav nav-tabs" id="doctab27">
  3783. <li class="active"><a href="#info27" data-toggle="tab">基础信息</a></li>
  3784. <li><a href="#sandbox27" data-toggle="tab">在线测试</a></li>
  3785. <li><a href="#sample27" data-toggle="tab">返回示例</a></li>
  3786. </ul>
  3787. <!-- Tab panes -->
  3788. <div class="tab-content">
  3789. <div class="tab-pane active" id="info27">
  3790. <div class="well">
  3791. 检测手机 </div>
  3792. <div class="panel panel-default">
  3793. <div class="panel-heading"><strong>权限</strong></div>
  3794. <div class="panel-body">
  3795. <table class="table table-hover">
  3796. <tbody>
  3797. <tr>
  3798. <td>登录</td>
  3799. <td>否</td>
  3800. </tr>
  3801. <tr>
  3802. <td>鉴权</td>
  3803. <td>否</td>
  3804. </tr>
  3805. </tbody>
  3806. </table>
  3807. </div>
  3808. </div>
  3809. <div class="panel panel-default">
  3810. <div class="panel-heading"><strong>Headers</strong></div>
  3811. <div class="panel-body">
  3812. </div>
  3813. </div>
  3814. <div class="panel panel-default">
  3815. <div class="panel-heading"><strong>参数</strong></div>
  3816. <div class="panel-body">
  3817. <table class="table table-hover">
  3818. <thead>
  3819. <tr>
  3820. <th>名称</th>
  3821. <th>类型</th>
  3822. <th>必选</th>
  3823. <th>描述</th>
  3824. </tr>
  3825. </thead>
  3826. <tbody>
  3827. <tr>
  3828. <td>mobile</td>
  3829. <td>string</td>
  3830. <td>是</td>
  3831. <td>手机号</td>
  3832. </tr>
  3833. <tr>
  3834. <td>id</td>
  3835. <td>string</td>
  3836. <td>是</td>
  3837. <td>排除会员ID</td>
  3838. </tr>
  3839. </tbody>
  3840. </table>
  3841. </div>
  3842. </div>
  3843. <div class="panel panel-default">
  3844. <div class="panel-heading"><strong>正文</strong></div>
  3845. <div class="panel-body">
  3846. 无 </div>
  3847. </div>
  3848. </div><!-- #info -->
  3849. <div class="tab-pane" id="sandbox27">
  3850. <div class="row">
  3851. <div class="col-md-12">
  3852. <div class="panel panel-default">
  3853. <div class="panel-heading"><strong>参数</strong>
  3854. <div class="pull-right">
  3855. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  3856. </div>
  3857. </div>
  3858. <div class="panel-body">
  3859. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_mobile_available" method="get" name="form27" id="form27">
  3860. <div class="form-group">
  3861. <label class="control-label" for="mobile">mobile</label>
  3862. <input type="string" class="form-control input-sm" id="mobile" required placeholder="手机号" name="mobile">
  3863. </div>
  3864. <div class="form-group">
  3865. <label class="control-label" for="id">id</label>
  3866. <input type="string" class="form-control input-sm" id="id" required placeholder="排除会员ID" name="id">
  3867. </div>
  3868. <div class="form-group form-group-submit">
  3869. <button type="submit" class="btn btn-success send" rel="27">提交</button>
  3870. <button type="reset" class="btn btn-info" rel="27">重置</button>
  3871. </div>
  3872. </form>
  3873. </div>
  3874. </div>
  3875. <div class="panel panel-default">
  3876. <div class="panel-heading"><strong>响应输出</strong></div>
  3877. <div class="panel-body">
  3878. <div class="row">
  3879. <div class="col-md-12" style="overflow-x:auto">
  3880. <pre id="response_headers27"></pre>
  3881. <pre id="response27"></pre>
  3882. </div>
  3883. </div>
  3884. </div>
  3885. </div>
  3886. <div class="panel panel-default">
  3887. <div class="panel-heading"><strong>返回参数</strong></div>
  3888. <div class="panel-body">
  3889. </div>
  3890. </div>
  3891. </div>
  3892. </div>
  3893. </div><!-- #sandbox -->
  3894. <div class="tab-pane" id="sample27">
  3895. <div class="row">
  3896. <div class="col-md-12">
  3897. <pre id="sample_response27">无</pre>
  3898. </div>
  3899. </div>
  3900. </div><!-- #sample -->
  3901. </div><!-- .tab-content -->
  3902. </div>
  3903. </div>
  3904. </div>
  3905. <div class="panel panel-default">
  3906. <div class="panel-heading" id="heading-28">
  3907. <h4 class="panel-title">
  3908. <span class="label label-success">GET</span>
  3909. <a data-toggle="collapse" data-parent="#accordion28" href="#collapseOne28"> 检测手机 <span class="text-muted">/api/validate/check_mobile_exist</span></a>
  3910. </h4>
  3911. </div>
  3912. <div id="collapseOne28" class="panel-collapse collapse">
  3913. <div class="panel-body">
  3914. <!-- Nav tabs -->
  3915. <ul class="nav nav-tabs" id="doctab28">
  3916. <li class="active"><a href="#info28" data-toggle="tab">基础信息</a></li>
  3917. <li><a href="#sandbox28" data-toggle="tab">在线测试</a></li>
  3918. <li><a href="#sample28" data-toggle="tab">返回示例</a></li>
  3919. </ul>
  3920. <!-- Tab panes -->
  3921. <div class="tab-content">
  3922. <div class="tab-pane active" id="info28">
  3923. <div class="well">
  3924. 检测手机 </div>
  3925. <div class="panel panel-default">
  3926. <div class="panel-heading"><strong>权限</strong></div>
  3927. <div class="panel-body">
  3928. <table class="table table-hover">
  3929. <tbody>
  3930. <tr>
  3931. <td>登录</td>
  3932. <td>否</td>
  3933. </tr>
  3934. <tr>
  3935. <td>鉴权</td>
  3936. <td>否</td>
  3937. </tr>
  3938. </tbody>
  3939. </table>
  3940. </div>
  3941. </div>
  3942. <div class="panel panel-default">
  3943. <div class="panel-heading"><strong>Headers</strong></div>
  3944. <div class="panel-body">
  3945. </div>
  3946. </div>
  3947. <div class="panel panel-default">
  3948. <div class="panel-heading"><strong>参数</strong></div>
  3949. <div class="panel-body">
  3950. <table class="table table-hover">
  3951. <thead>
  3952. <tr>
  3953. <th>名称</th>
  3954. <th>类型</th>
  3955. <th>必选</th>
  3956. <th>描述</th>
  3957. </tr>
  3958. </thead>
  3959. <tbody>
  3960. <tr>
  3961. <td>mobile</td>
  3962. <td>string</td>
  3963. <td>是</td>
  3964. <td>手机号</td>
  3965. </tr>
  3966. </tbody>
  3967. </table>
  3968. </div>
  3969. </div>
  3970. <div class="panel panel-default">
  3971. <div class="panel-heading"><strong>正文</strong></div>
  3972. <div class="panel-body">
  3973. 无 </div>
  3974. </div>
  3975. </div><!-- #info -->
  3976. <div class="tab-pane" id="sandbox28">
  3977. <div class="row">
  3978. <div class="col-md-12">
  3979. <div class="panel panel-default">
  3980. <div class="panel-heading"><strong>参数</strong>
  3981. <div class="pull-right">
  3982. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  3983. </div>
  3984. </div>
  3985. <div class="panel-body">
  3986. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_mobile_exist" method="get" name="form28" id="form28">
  3987. <div class="form-group">
  3988. <label class="control-label" for="mobile">mobile</label>
  3989. <input type="string" class="form-control input-sm" id="mobile" required placeholder="手机号" name="mobile">
  3990. </div>
  3991. <div class="form-group form-group-submit">
  3992. <button type="submit" class="btn btn-success send" rel="28">提交</button>
  3993. <button type="reset" class="btn btn-info" rel="28">重置</button>
  3994. </div>
  3995. </form>
  3996. </div>
  3997. </div>
  3998. <div class="panel panel-default">
  3999. <div class="panel-heading"><strong>响应输出</strong></div>
  4000. <div class="panel-body">
  4001. <div class="row">
  4002. <div class="col-md-12" style="overflow-x:auto">
  4003. <pre id="response_headers28"></pre>
  4004. <pre id="response28"></pre>
  4005. </div>
  4006. </div>
  4007. </div>
  4008. </div>
  4009. <div class="panel panel-default">
  4010. <div class="panel-heading"><strong>返回参数</strong></div>
  4011. <div class="panel-body">
  4012. </div>
  4013. </div>
  4014. </div>
  4015. </div>
  4016. </div><!-- #sandbox -->
  4017. <div class="tab-pane" id="sample28">
  4018. <div class="row">
  4019. <div class="col-md-12">
  4020. <pre id="sample_response28">无</pre>
  4021. </div>
  4022. </div>
  4023. </div><!-- #sample -->
  4024. </div><!-- .tab-content -->
  4025. </div>
  4026. </div>
  4027. </div>
  4028. <div class="panel panel-default">
  4029. <div class="panel-heading" id="heading-29">
  4030. <h4 class="panel-title">
  4031. <span class="label label-success">GET</span>
  4032. <a data-toggle="collapse" data-parent="#accordion29" href="#collapseOne29"> 检测邮箱 <span class="text-muted">/api/validate/check_email_exist</span></a>
  4033. </h4>
  4034. </div>
  4035. <div id="collapseOne29" class="panel-collapse collapse">
  4036. <div class="panel-body">
  4037. <!-- Nav tabs -->
  4038. <ul class="nav nav-tabs" id="doctab29">
  4039. <li class="active"><a href="#info29" data-toggle="tab">基础信息</a></li>
  4040. <li><a href="#sandbox29" data-toggle="tab">在线测试</a></li>
  4041. <li><a href="#sample29" data-toggle="tab">返回示例</a></li>
  4042. </ul>
  4043. <!-- Tab panes -->
  4044. <div class="tab-content">
  4045. <div class="tab-pane active" id="info29">
  4046. <div class="well">
  4047. 检测邮箱 </div>
  4048. <div class="panel panel-default">
  4049. <div class="panel-heading"><strong>权限</strong></div>
  4050. <div class="panel-body">
  4051. <table class="table table-hover">
  4052. <tbody>
  4053. <tr>
  4054. <td>登录</td>
  4055. <td>否</td>
  4056. </tr>
  4057. <tr>
  4058. <td>鉴权</td>
  4059. <td>否</td>
  4060. </tr>
  4061. </tbody>
  4062. </table>
  4063. </div>
  4064. </div>
  4065. <div class="panel panel-default">
  4066. <div class="panel-heading"><strong>Headers</strong></div>
  4067. <div class="panel-body">
  4068. </div>
  4069. </div>
  4070. <div class="panel panel-default">
  4071. <div class="panel-heading"><strong>参数</strong></div>
  4072. <div class="panel-body">
  4073. <table class="table table-hover">
  4074. <thead>
  4075. <tr>
  4076. <th>名称</th>
  4077. <th>类型</th>
  4078. <th>必选</th>
  4079. <th>描述</th>
  4080. </tr>
  4081. </thead>
  4082. <tbody>
  4083. <tr>
  4084. <td>mobile</td>
  4085. <td>string</td>
  4086. <td>是</td>
  4087. <td>邮箱</td>
  4088. </tr>
  4089. </tbody>
  4090. </table>
  4091. </div>
  4092. </div>
  4093. <div class="panel panel-default">
  4094. <div class="panel-heading"><strong>正文</strong></div>
  4095. <div class="panel-body">
  4096. 无 </div>
  4097. </div>
  4098. </div><!-- #info -->
  4099. <div class="tab-pane" id="sandbox29">
  4100. <div class="row">
  4101. <div class="col-md-12">
  4102. <div class="panel panel-default">
  4103. <div class="panel-heading"><strong>参数</strong>
  4104. <div class="pull-right">
  4105. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  4106. </div>
  4107. </div>
  4108. <div class="panel-body">
  4109. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_email_exist" method="get" name="form29" id="form29">
  4110. <div class="form-group">
  4111. <label class="control-label" for="mobile">mobile</label>
  4112. <input type="string" class="form-control input-sm" id="mobile" required placeholder="邮箱" name="mobile">
  4113. </div>
  4114. <div class="form-group form-group-submit">
  4115. <button type="submit" class="btn btn-success send" rel="29">提交</button>
  4116. <button type="reset" class="btn btn-info" rel="29">重置</button>
  4117. </div>
  4118. </form>
  4119. </div>
  4120. </div>
  4121. <div class="panel panel-default">
  4122. <div class="panel-heading"><strong>响应输出</strong></div>
  4123. <div class="panel-body">
  4124. <div class="row">
  4125. <div class="col-md-12" style="overflow-x:auto">
  4126. <pre id="response_headers29"></pre>
  4127. <pre id="response29"></pre>
  4128. </div>
  4129. </div>
  4130. </div>
  4131. </div>
  4132. <div class="panel panel-default">
  4133. <div class="panel-heading"><strong>返回参数</strong></div>
  4134. <div class="panel-body">
  4135. </div>
  4136. </div>
  4137. </div>
  4138. </div>
  4139. </div><!-- #sandbox -->
  4140. <div class="tab-pane" id="sample29">
  4141. <div class="row">
  4142. <div class="col-md-12">
  4143. <pre id="sample_response29">无</pre>
  4144. </div>
  4145. </div>
  4146. </div><!-- #sample -->
  4147. </div><!-- .tab-content -->
  4148. </div>
  4149. </div>
  4150. </div>
  4151. <div class="panel panel-default">
  4152. <div class="panel-heading" id="heading-30">
  4153. <h4 class="panel-title">
  4154. <span class="label label-success">GET</span>
  4155. <a data-toggle="collapse" data-parent="#accordion30" href="#collapseOne30"> 检测手机验证码 <span class="text-muted">/api/validate/check_sms_correct</span></a>
  4156. </h4>
  4157. </div>
  4158. <div id="collapseOne30" class="panel-collapse collapse">
  4159. <div class="panel-body">
  4160. <!-- Nav tabs -->
  4161. <ul class="nav nav-tabs" id="doctab30">
  4162. <li class="active"><a href="#info30" data-toggle="tab">基础信息</a></li>
  4163. <li><a href="#sandbox30" data-toggle="tab">在线测试</a></li>
  4164. <li><a href="#sample30" data-toggle="tab">返回示例</a></li>
  4165. </ul>
  4166. <!-- Tab panes -->
  4167. <div class="tab-content">
  4168. <div class="tab-pane active" id="info30">
  4169. <div class="well">
  4170. 检测手机验证码 </div>
  4171. <div class="panel panel-default">
  4172. <div class="panel-heading"><strong>权限</strong></div>
  4173. <div class="panel-body">
  4174. <table class="table table-hover">
  4175. <tbody>
  4176. <tr>
  4177. <td>登录</td>
  4178. <td>否</td>
  4179. </tr>
  4180. <tr>
  4181. <td>鉴权</td>
  4182. <td>否</td>
  4183. </tr>
  4184. </tbody>
  4185. </table>
  4186. </div>
  4187. </div>
  4188. <div class="panel panel-default">
  4189. <div class="panel-heading"><strong>Headers</strong></div>
  4190. <div class="panel-body">
  4191. </div>
  4192. </div>
  4193. <div class="panel panel-default">
  4194. <div class="panel-heading"><strong>参数</strong></div>
  4195. <div class="panel-body">
  4196. <table class="table table-hover">
  4197. <thead>
  4198. <tr>
  4199. <th>名称</th>
  4200. <th>类型</th>
  4201. <th>必选</th>
  4202. <th>描述</th>
  4203. </tr>
  4204. </thead>
  4205. <tbody>
  4206. <tr>
  4207. <td>mobile</td>
  4208. <td>string</td>
  4209. <td>是</td>
  4210. <td>手机号</td>
  4211. </tr>
  4212. <tr>
  4213. <td>captcha</td>
  4214. <td>string</td>
  4215. <td>是</td>
  4216. <td>验证码</td>
  4217. </tr>
  4218. <tr>
  4219. <td>event</td>
  4220. <td>string</td>
  4221. <td>是</td>
  4222. <td>事件</td>
  4223. </tr>
  4224. </tbody>
  4225. </table>
  4226. </div>
  4227. </div>
  4228. <div class="panel panel-default">
  4229. <div class="panel-heading"><strong>正文</strong></div>
  4230. <div class="panel-body">
  4231. 无 </div>
  4232. </div>
  4233. </div><!-- #info -->
  4234. <div class="tab-pane" id="sandbox30">
  4235. <div class="row">
  4236. <div class="col-md-12">
  4237. <div class="panel panel-default">
  4238. <div class="panel-heading"><strong>参数</strong>
  4239. <div class="pull-right">
  4240. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  4241. </div>
  4242. </div>
  4243. <div class="panel-body">
  4244. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_sms_correct" method="get" name="form30" id="form30">
  4245. <div class="form-group">
  4246. <label class="control-label" for="mobile">mobile</label>
  4247. <input type="string" class="form-control input-sm" id="mobile" required placeholder="手机号" name="mobile">
  4248. </div>
  4249. <div class="form-group">
  4250. <label class="control-label" for="captcha">captcha</label>
  4251. <input type="string" class="form-control input-sm" id="captcha" required placeholder="验证码" name="captcha">
  4252. </div>
  4253. <div class="form-group">
  4254. <label class="control-label" for="event">event</label>
  4255. <input type="string" class="form-control input-sm" id="event" required placeholder="事件" name="event">
  4256. </div>
  4257. <div class="form-group form-group-submit">
  4258. <button type="submit" class="btn btn-success send" rel="30">提交</button>
  4259. <button type="reset" class="btn btn-info" rel="30">重置</button>
  4260. </div>
  4261. </form>
  4262. </div>
  4263. </div>
  4264. <div class="panel panel-default">
  4265. <div class="panel-heading"><strong>响应输出</strong></div>
  4266. <div class="panel-body">
  4267. <div class="row">
  4268. <div class="col-md-12" style="overflow-x:auto">
  4269. <pre id="response_headers30"></pre>
  4270. <pre id="response30"></pre>
  4271. </div>
  4272. </div>
  4273. </div>
  4274. </div>
  4275. <div class="panel panel-default">
  4276. <div class="panel-heading"><strong>返回参数</strong></div>
  4277. <div class="panel-body">
  4278. </div>
  4279. </div>
  4280. </div>
  4281. </div>
  4282. </div><!-- #sandbox -->
  4283. <div class="tab-pane" id="sample30">
  4284. <div class="row">
  4285. <div class="col-md-12">
  4286. <pre id="sample_response30">无</pre>
  4287. </div>
  4288. </div>
  4289. </div><!-- #sample -->
  4290. </div><!-- .tab-content -->
  4291. </div>
  4292. </div>
  4293. </div>
  4294. <div class="panel panel-default">
  4295. <div class="panel-heading" id="heading-31">
  4296. <h4 class="panel-title">
  4297. <span class="label label-success">GET</span>
  4298. <a data-toggle="collapse" data-parent="#accordion31" href="#collapseOne31"> 检测邮箱验证码 <span class="text-muted">/api/validate/check_ems_correct</span></a>
  4299. </h4>
  4300. </div>
  4301. <div id="collapseOne31" class="panel-collapse collapse">
  4302. <div class="panel-body">
  4303. <!-- Nav tabs -->
  4304. <ul class="nav nav-tabs" id="doctab31">
  4305. <li class="active"><a href="#info31" data-toggle="tab">基础信息</a></li>
  4306. <li><a href="#sandbox31" data-toggle="tab">在线测试</a></li>
  4307. <li><a href="#sample31" data-toggle="tab">返回示例</a></li>
  4308. </ul>
  4309. <!-- Tab panes -->
  4310. <div class="tab-content">
  4311. <div class="tab-pane active" id="info31">
  4312. <div class="well">
  4313. 检测邮箱验证码 </div>
  4314. <div class="panel panel-default">
  4315. <div class="panel-heading"><strong>权限</strong></div>
  4316. <div class="panel-body">
  4317. <table class="table table-hover">
  4318. <tbody>
  4319. <tr>
  4320. <td>登录</td>
  4321. <td>否</td>
  4322. </tr>
  4323. <tr>
  4324. <td>鉴权</td>
  4325. <td>否</td>
  4326. </tr>
  4327. </tbody>
  4328. </table>
  4329. </div>
  4330. </div>
  4331. <div class="panel panel-default">
  4332. <div class="panel-heading"><strong>Headers</strong></div>
  4333. <div class="panel-body">
  4334. </div>
  4335. </div>
  4336. <div class="panel panel-default">
  4337. <div class="panel-heading"><strong>参数</strong></div>
  4338. <div class="panel-body">
  4339. <table class="table table-hover">
  4340. <thead>
  4341. <tr>
  4342. <th>名称</th>
  4343. <th>类型</th>
  4344. <th>必选</th>
  4345. <th>描述</th>
  4346. </tr>
  4347. </thead>
  4348. <tbody>
  4349. <tr>
  4350. <td>email</td>
  4351. <td>string</td>
  4352. <td>是</td>
  4353. <td>邮箱</td>
  4354. </tr>
  4355. <tr>
  4356. <td>captcha</td>
  4357. <td>string</td>
  4358. <td>是</td>
  4359. <td>验证码</td>
  4360. </tr>
  4361. <tr>
  4362. <td>event</td>
  4363. <td>string</td>
  4364. <td>是</td>
  4365. <td>事件</td>
  4366. </tr>
  4367. </tbody>
  4368. </table>
  4369. </div>
  4370. </div>
  4371. <div class="panel panel-default">
  4372. <div class="panel-heading"><strong>正文</strong></div>
  4373. <div class="panel-body">
  4374. 无 </div>
  4375. </div>
  4376. </div><!-- #info -->
  4377. <div class="tab-pane" id="sandbox31">
  4378. <div class="row">
  4379. <div class="col-md-12">
  4380. <div class="panel panel-default">
  4381. <div class="panel-heading"><strong>参数</strong>
  4382. <div class="pull-right">
  4383. <a href="javascript:" class="btn btn-xs btn-info btn-append">追加</a>
  4384. </div>
  4385. </div>
  4386. <div class="panel-body">
  4387. <form enctype="application/x-www-form-urlencoded" role="form" action="/api/validate/check_ems_correct" method="get" name="form31" id="form31">
  4388. <div class="form-group">
  4389. <label class="control-label" for="email">email</label>
  4390. <input type="string" class="form-control input-sm" id="email" required placeholder="邮箱" name="email">
  4391. </div>
  4392. <div class="form-group">
  4393. <label class="control-label" for="captcha">captcha</label>
  4394. <input type="string" class="form-control input-sm" id="captcha" required placeholder="验证码" name="captcha">
  4395. </div>
  4396. <div class="form-group">
  4397. <label class="control-label" for="event">event</label>
  4398. <input type="string" class="form-control input-sm" id="event" required placeholder="事件" name="event">
  4399. </div>
  4400. <div class="form-group form-group-submit">
  4401. <button type="submit" class="btn btn-success send" rel="31">提交</button>
  4402. <button type="reset" class="btn btn-info" rel="31">重置</button>
  4403. </div>
  4404. </form>
  4405. </div>
  4406. </div>
  4407. <div class="panel panel-default">
  4408. <div class="panel-heading"><strong>响应输出</strong></div>
  4409. <div class="panel-body">
  4410. <div class="row">
  4411. <div class="col-md-12" style="overflow-x:auto">
  4412. <pre id="response_headers31"></pre>
  4413. <pre id="response31"></pre>
  4414. </div>
  4415. </div>
  4416. </div>
  4417. </div>
  4418. <div class="panel panel-default">
  4419. <div class="panel-heading"><strong>返回参数</strong></div>
  4420. <div class="panel-body">
  4421. </div>
  4422. </div>
  4423. </div>
  4424. </div>
  4425. </div><!-- #sandbox -->
  4426. <div class="tab-pane" id="sample31">
  4427. <div class="row">
  4428. <div class="col-md-12">
  4429. <pre id="sample_response31">无</pre>
  4430. </div>
  4431. </div>
  4432. </div><!-- #sample -->
  4433. </div><!-- .tab-content -->
  4434. </div>
  4435. </div>
  4436. </div>
  4437. </div>
  4438. <hr>
  4439. <div class="row mt0 footer">
  4440. <div class="col-md-6" align="left">
  4441. </div>
  4442. <div class="col-md-6" align="right">
  4443. Generated on 2021-07-21 09:03:52 <a href="./" target="_blank">保险</a>
  4444. </div>
  4445. </div>
  4446. </div> <!-- /container -->
  4447. <!-- jQuery -->
  4448. <script src="https://cdn.staticfile.org/jquery/2.1.4/jquery.min.js"></script>
  4449. <!-- Bootstrap Core JavaScript -->
  4450. <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
  4451. <script type="text/javascript">
  4452. function syntaxHighlight(json) {
  4453. if (typeof json != 'string') {
  4454. json = JSON.stringify(json, undefined, 2);
  4455. }
  4456. json = json.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
  4457. return json.replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)/g, function (match) {
  4458. var cls = 'number';
  4459. if (/^"/.test(match)) {
  4460. if (/:$/.test(match)) {
  4461. cls = 'key';
  4462. } else {
  4463. cls = 'string';
  4464. }
  4465. } else if (/true|false/.test(match)) {
  4466. cls = 'boolean';
  4467. } else if (/null/.test(match)) {
  4468. cls = 'null';
  4469. }
  4470. return '<span class="' + cls + '">' + match + '</span>';
  4471. });
  4472. }
  4473. function prepareStr(str) {
  4474. try {
  4475. return syntaxHighlight(JSON.stringify(JSON.parse(str.replace(/'/g, '"')), null, 2));
  4476. } catch (e) {
  4477. return str;
  4478. }
  4479. }
  4480. var storage = (function () {
  4481. var uid = new Date;
  4482. var storage;
  4483. var result;
  4484. try {
  4485. (storage = window.localStorage).setItem(uid, uid);
  4486. result = storage.getItem(uid) == uid;
  4487. storage.removeItem(uid);
  4488. return result && storage;
  4489. } catch (exception) {
  4490. }
  4491. }());
  4492. $.fn.serializeObject = function ()
  4493. {
  4494. var o = {};
  4495. var a = this.serializeArray();
  4496. $.each(a, function () {
  4497. if (!this.value) {
  4498. return;
  4499. }
  4500. if (o[this.name] !== undefined) {
  4501. if (!o[this.name].push) {
  4502. o[this.name] = [o[this.name]];
  4503. }
  4504. o[this.name].push(this.value || '');
  4505. } else {
  4506. o[this.name] = this.value || '';
  4507. }
  4508. });
  4509. return o;
  4510. };
  4511. $(document).ready(function () {
  4512. if (storage) {
  4513. storage.getItem('token') && $('#token').val(storage.getItem('token'));
  4514. storage.getItem('apiUrl') && $('#apiUrl').val(storage.getItem('apiUrl'));
  4515. }
  4516. $('[data-toggle="tooltip"]').tooltip({
  4517. placement: 'bottom'
  4518. });
  4519. $(window).on("resize", function(){
  4520. $("#sidebar").css("max-height", $(window).height()-80);
  4521. });
  4522. $(window).trigger("resize");
  4523. $(document).on("click", "#sidebar .list-group > .list-group-item", function(){
  4524. $("#sidebar .list-group > .list-group-item").removeClass("current");
  4525. $(this).addClass("current");
  4526. });
  4527. $(document).on("click", "#sidebar .child a", function(){
  4528. var heading = $("#heading-"+$(this).data("id"));
  4529. if(!heading.next().hasClass("in")){
  4530. $("a", heading).trigger("click");
  4531. }
  4532. $("html,body").animate({scrollTop:heading.offset().top-70});
  4533. });
  4534. $('code[id^=response]').hide();
  4535. $.each($('pre[id^=sample_response],pre[id^=sample_post_body]'), function () {
  4536. if ($(this).html() == 'NA') {
  4537. return;
  4538. }
  4539. var str = prepareStr($(this).html());
  4540. $(this).html(str);
  4541. });
  4542. $("[data-toggle=popover]").popover({placement: 'right'});
  4543. $('[data-toggle=popover]').on('shown.bs.popover', function () {
  4544. var $sample = $(this).parent().find(".popover-content"),
  4545. str = $(this).data('content');
  4546. if (typeof str == "undefined" || str === "") {
  4547. return;
  4548. }
  4549. var str = prepareStr(str);
  4550. $sample.html('<pre>' + str + '</pre>');
  4551. });
  4552. $(document).on('click', '#save_data', function (e) {
  4553. if (storage) {
  4554. storage.setItem('token', $('#token').val());
  4555. storage.setItem('apiUrl', $('#apiUrl').val());
  4556. } else {
  4557. alert('Your browser does not support local storage');
  4558. }
  4559. });
  4560. $(document).on('click', '.btn-append', function (e) {
  4561. $($("#appendtpl").html()).insertBefore($(this).closest(".panel").find(".form-group-submit"));
  4562. return false;
  4563. });
  4564. $(document).on('click', '.btn-remove', function (e) {
  4565. $(this).closest(".form-group").remove();
  4566. return false;
  4567. });
  4568. $(document).on('keyup', '.input-custom-name', function (e) {
  4569. $(this).closest(".row").find(".input-custom-value").attr("name", $(this).val());
  4570. return false;
  4571. });
  4572. $(document).on('click', '.send', function (e) {
  4573. e.preventDefault();
  4574. var form = $(this).closest('form');
  4575. //added /g to get all the matched params instead of only first
  4576. var matchedParamsInRoute = $(form).attr('action').match(/[^{]+(?=\})/g);
  4577. var theId = $(this).attr('rel');
  4578. //keep a copy of action attribute in order to modify the copy
  4579. //instead of the initial attribute
  4580. var url = $(form).attr('action');
  4581. var method = $(form).prop('method').toLowerCase() || 'get';
  4582. var formData = new FormData();
  4583. $(form).find('input').each(function (i, input) {
  4584. if ($(input).attr('type').toLowerCase() == 'file') {
  4585. formData.append($(input).attr('name'), $(input)[0].files[0]);
  4586. method = 'post';
  4587. } else {
  4588. formData.append($(input).attr('name'), $(input).val())
  4589. }
  4590. });
  4591. var index, key, value;
  4592. if (matchedParamsInRoute) {
  4593. var params = {};
  4594. formData.forEach(function(value, key){
  4595. params[key] = value;
  4596. });
  4597. for (index = 0; index < matchedParamsInRoute.length; ++index) {
  4598. try {
  4599. key = matchedParamsInRoute[index];
  4600. value = params[key];
  4601. if (typeof value == "undefined")
  4602. value = "";
  4603. url = url.replace("\{" + key + "\}", value);
  4604. formData.delete(key);
  4605. } catch (err) {
  4606. console.log(err);
  4607. }
  4608. }
  4609. }
  4610. var headers = {};
  4611. var token = $('#token').val();
  4612. if (token.length > 0) {
  4613. headers['token'] = token;
  4614. }
  4615. $("#sandbox" + theId + " .headers input[type=text]").each(function () {
  4616. val = $(this).val();
  4617. if (val.length > 0) {
  4618. headers[$(this).prop('name')] = val;
  4619. }
  4620. });
  4621. $.ajax({
  4622. url: $('#apiUrl').val() + url,
  4623. data: method == 'get' ? $(form).serialize() : formData,
  4624. type: method,
  4625. dataType: 'json',
  4626. contentType: false,
  4627. processData: false,
  4628. headers: headers,
  4629. xhrFields: {
  4630. withCredentials: true
  4631. },
  4632. success: function (data, textStatus, xhr) {
  4633. if (typeof data === 'object') {
  4634. var str = JSON.stringify(data, null, 2);
  4635. $('#response' + theId).html(syntaxHighlight(str));
  4636. } else {
  4637. $('#response' + theId).html(data || '');
  4638. }
  4639. $('#response_headers' + theId).html('HTTP ' + xhr.status + ' ' + xhr.statusText + '<br/><br/>' + xhr.getAllResponseHeaders());
  4640. $('#response' + theId).show();
  4641. },
  4642. error: function (xhr, textStatus, error) {
  4643. try {
  4644. var str = JSON.stringify($.parseJSON(xhr.responseText), null, 2);
  4645. } catch (e) {
  4646. var str = xhr.responseText;
  4647. }
  4648. $('#response_headers' + theId).html('HTTP ' + xhr.status + ' ' + xhr.statusText + '<br/><br/>' + xhr.getAllResponseHeaders());
  4649. $('#response' + theId).html(syntaxHighlight(str));
  4650. $('#response' + theId).show();
  4651. }
  4652. });
  4653. return false;
  4654. });
  4655. });
  4656. </script>
  4657. <script type="text/html" id="appendtpl">
  4658. <div class="form-group">
  4659. <label class="control-label">自定义</label>
  4660. <div class="row">
  4661. <div class="col-xs-4">
  4662. <input type="text" class="form-control input-sm input-custom-name" placeholder="名称">
  4663. </div>
  4664. <div class="col-xs-6">
  4665. <input type="text" class="form-control input-sm input-custom-value" placeholder="值">
  4666. </div>
  4667. <div class="col-xs-2 text-center">
  4668. <a href="javascript:" class="btn btn-sm btn-danger btn-remove">删除</a>
  4669. </div>
  4670. </div>
  4671. </div>
  4672. </script>
  4673. </body>
  4674. </html>