swagger.json 318 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "This is a gateway server. On the page, you can go to do testing for every API.",
  5. "title": "Project property-household-gateway's APIs",
  6. "contact": {},
  7. "license": {},
  8. "version": "1.1"
  9. },
  10. "paths": {
  11. "/api/v1/area/city": {
  12. "get": {
  13. "description": "用城市名换取城市code",
  14. "consumes": [
  15. "application/json"
  16. ],
  17. "produces": [
  18. "application/json"
  19. ],
  20. "tags": [
  21. "区域"
  22. ],
  23. "summary": "用城市名换取城市code",
  24. "parameters": [
  25. {
  26. "type": "string",
  27. "description": " ",
  28. "name": "token",
  29. "in": "header",
  30. "required": true
  31. },
  32. {
  33. "type": "string",
  34. "description": "城市名称",
  35. "name": "city_name",
  36. "in": "query",
  37. "required": true
  38. }
  39. ],
  40. "responses": {
  41. "200": {
  42. "description": "OK",
  43. "schema": {
  44. "$ref": "#/definitions/v1.CityResponse"
  45. }
  46. },
  47. "500": {
  48. "description": "Internal Server Error",
  49. "schema": {
  50. "$ref": "#/definitions/base.HTTPError"
  51. }
  52. }
  53. }
  54. }
  55. },
  56. "/api/v1/area/province_city_area": {
  57. "get": {
  58. "description": "省市区列表",
  59. "consumes": [
  60. "application/json"
  61. ],
  62. "produces": [
  63. "application/json"
  64. ],
  65. "tags": [
  66. "区域"
  67. ],
  68. "summary": "省市区列表",
  69. "parameters": [
  70. {
  71. "type": "string",
  72. "description": " ",
  73. "name": "token",
  74. "in": "header",
  75. "required": true
  76. }
  77. ],
  78. "responses": {
  79. "200": {
  80. "description": "OK",
  81. "schema": {
  82. "$ref": "#/definitions/v1.ProvinceCityAreaResponse"
  83. }
  84. },
  85. "500": {
  86. "description": "Internal Server Error",
  87. "schema": {
  88. "$ref": "#/definitions/base.HTTPError"
  89. }
  90. }
  91. }
  92. }
  93. },
  94. "/api/v1/area/street_committee": {
  95. "get": {
  96. "description": "街道社区列表",
  97. "consumes": [
  98. "application/json"
  99. ],
  100. "produces": [
  101. "application/json"
  102. ],
  103. "tags": [
  104. "区域"
  105. ],
  106. "summary": "街道社区列表",
  107. "parameters": [
  108. {
  109. "type": "string",
  110. "description": " ",
  111. "name": "token",
  112. "in": "header",
  113. "required": true
  114. },
  115. {
  116. "type": "string",
  117. "description": "区域代码",
  118. "name": "area_code",
  119. "in": "query",
  120. "required": true
  121. }
  122. ],
  123. "responses": {
  124. "200": {
  125. "description": "OK",
  126. "schema": {
  127. "$ref": "#/definitions/v1.StreetCommitteeResponse"
  128. }
  129. },
  130. "500": {
  131. "description": "Internal Server Error",
  132. "schema": {
  133. "$ref": "#/definitions/base.HTTPError"
  134. }
  135. }
  136. }
  137. }
  138. },
  139. "/api/v1/charge/bill_list": {
  140. "get": {
  141. "description": "待缴费某个费项的账单列表",
  142. "consumes": [
  143. "application/json"
  144. ],
  145. "produces": [
  146. "application/json"
  147. ],
  148. "tags": [
  149. "生活缴费"
  150. ],
  151. "summary": "待缴费某个费项的账单列表",
  152. "parameters": [
  153. {
  154. "type": "string",
  155. "description": "token",
  156. "name": "token",
  157. "in": "header",
  158. "required": true
  159. },
  160. {
  161. "type": "integer",
  162. "description": "小区id",
  163. "name": "garden_id",
  164. "in": "query",
  165. "required": true
  166. },
  167. {
  168. "type": "integer",
  169. "description": "绑定关系id",
  170. "name": "bind_id",
  171. "in": "query",
  172. "required": true
  173. },
  174. {
  175. "type": "integer",
  176. "description": " ",
  177. "name": "page",
  178. "in": "query"
  179. },
  180. {
  181. "type": "integer",
  182. "description": " ",
  183. "name": "page_size",
  184. "in": "query"
  185. }
  186. ],
  187. "responses": {
  188. "200": {
  189. "description": "OK",
  190. "schema": {
  191. "$ref": "#/definitions/v1.ChargeBillListResponse"
  192. }
  193. },
  194. "500": {
  195. "description": "Internal Server Error",
  196. "schema": {
  197. "$ref": "#/definitions/base.HTTPError"
  198. }
  199. }
  200. }
  201. }
  202. },
  203. "/api/v1/charge/months/property": {
  204. "get": {
  205. "description": "预缴物业费前获取月数和赠送信息",
  206. "consumes": [
  207. "application/json"
  208. ],
  209. "produces": [
  210. "application/json"
  211. ],
  212. "tags": [
  213. "预缴"
  214. ],
  215. "summary": "预缴物业费前获取月数和赠送信息",
  216. "parameters": [
  217. {
  218. "type": "string",
  219. "description": "token",
  220. "name": "token",
  221. "in": "header",
  222. "required": true
  223. },
  224. {
  225. "type": "integer",
  226. "description": "小区id",
  227. "name": "garden_id",
  228. "in": "query",
  229. "required": true
  230. },
  231. {
  232. "type": "integer",
  233. "description": "房屋id",
  234. "name": "house_id",
  235. "in": "query",
  236. "required": true
  237. }
  238. ],
  239. "responses": {
  240. "200": {
  241. "description": "OK",
  242. "schema": {
  243. "$ref": "#/definitions/v1.ChargePropertyMonthInfoResponse"
  244. }
  245. },
  246. "500": {
  247. "description": "Internal Server Error",
  248. "schema": {
  249. "$ref": "#/definitions/base.HTTPError"
  250. }
  251. }
  252. }
  253. }
  254. },
  255. "/api/v1/charge/months/space": {
  256. "get": {
  257. "description": "预缴车位管理前获取月数和赠送信息",
  258. "consumes": [
  259. "application/json"
  260. ],
  261. "produces": [
  262. "application/json"
  263. ],
  264. "tags": [
  265. "预缴"
  266. ],
  267. "summary": "预缴车位管理费前获取月数和赠送信息",
  268. "parameters": [
  269. {
  270. "type": "string",
  271. "description": "token",
  272. "name": "token",
  273. "in": "header",
  274. "required": true
  275. },
  276. {
  277. "type": "integer",
  278. "description": "小区id",
  279. "name": "garden_id",
  280. "in": "query",
  281. "required": true
  282. },
  283. {
  284. "type": "integer",
  285. "description": "车位id",
  286. "name": "space_id",
  287. "in": "query",
  288. "required": true
  289. }
  290. ],
  291. "responses": {
  292. "200": {
  293. "description": "OK",
  294. "schema": {
  295. "$ref": "#/definitions/v1.ChargeSpaceMonthInfoResponse"
  296. }
  297. },
  298. "500": {
  299. "description": "Internal Server Error",
  300. "schema": {
  301. "$ref": "#/definitions/base.HTTPError"
  302. }
  303. }
  304. }
  305. }
  306. },
  307. "/api/v1/charge/months/vehicle": {
  308. "get": {
  309. "description": "预缴月租停车费前获取月数和赠送信息",
  310. "consumes": [
  311. "application/json"
  312. ],
  313. "produces": [
  314. "application/json"
  315. ],
  316. "tags": [
  317. "预缴"
  318. ],
  319. "summary": "预缴月租停车费前获取月数和赠送信息",
  320. "parameters": [
  321. {
  322. "type": "string",
  323. "description": "token",
  324. "name": "token",
  325. "in": "header",
  326. "required": true
  327. },
  328. {
  329. "type": "integer",
  330. "description": "小区id",
  331. "name": "garden_id",
  332. "in": "query",
  333. "required": true
  334. },
  335. {
  336. "type": "integer",
  337. "description": "车辆id",
  338. "name": "vehicle_id",
  339. "in": "query",
  340. "required": true
  341. }
  342. ],
  343. "responses": {
  344. "200": {
  345. "description": "OK",
  346. "schema": {
  347. "$ref": "#/definitions/v1.ChargeVehicleMonthInfoResponse"
  348. }
  349. },
  350. "500": {
  351. "description": "Internal Server Error",
  352. "schema": {
  353. "$ref": "#/definitions/base.HTTPError"
  354. }
  355. }
  356. }
  357. }
  358. },
  359. "/api/v1/charge/obj_charge/charge_list": {
  360. "get": {
  361. "description": "查看对象下的费项",
  362. "consumes": [
  363. "application/json"
  364. ],
  365. "produces": [
  366. "application/json"
  367. ],
  368. "tags": [
  369. "预缴"
  370. ],
  371. "summary": "查看对象下的费项",
  372. "parameters": [
  373. {
  374. "type": "string",
  375. "description": "token",
  376. "name": "token",
  377. "in": "header",
  378. "required": true
  379. },
  380. {
  381. "type": "integer",
  382. "description": "房屋/车位/车辆id",
  383. "name": "obj_id",
  384. "in": "query",
  385. "required": true
  386. },
  387. {
  388. "type": "integer",
  389. "description": "1 房屋 2 车位 3 车辆 ",
  390. "name": "obj_type",
  391. "in": "query",
  392. "required": true
  393. },
  394. {
  395. "type": "integer",
  396. "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  397. "name": "charge_type",
  398. "in": "query",
  399. "required": true
  400. },
  401. {
  402. "type": "integer",
  403. "description": " ",
  404. "name": "page",
  405. "in": "query"
  406. },
  407. {
  408. "type": "integer",
  409. "description": " ",
  410. "name": "page_size",
  411. "in": "query"
  412. }
  413. ],
  414. "responses": {
  415. "200": {
  416. "description": "OK",
  417. "schema": {
  418. "$ref": "#/definitions/v1.ChargeListResponse"
  419. }
  420. },
  421. "500": {
  422. "description": "Internal Server Error",
  423. "schema": {
  424. "$ref": "#/definitions/base.HTTPError"
  425. }
  426. }
  427. }
  428. }
  429. },
  430. "/api/v1/charge/order/cancel": {
  431. "put": {
  432. "description": "取消支付",
  433. "consumes": [
  434. "application/json"
  435. ],
  436. "produces": [
  437. "application/json"
  438. ],
  439. "tags": [
  440. "取消支付"
  441. ],
  442. "summary": "取消支付",
  443. "parameters": [
  444. {
  445. "type": "string",
  446. "description": "token",
  447. "name": "token",
  448. "in": "header",
  449. "required": true
  450. },
  451. {
  452. "description": " ",
  453. "name": "body",
  454. "in": "body",
  455. "required": true,
  456. "schema": {
  457. "$ref": "#/definitions/v1.ChargeOrderCancelBody"
  458. }
  459. }
  460. ],
  461. "responses": {
  462. "200": {
  463. "description": "OK",
  464. "schema": {
  465. "$ref": "#/definitions/v1.ChargeOrderCancelResponse"
  466. }
  467. },
  468. "500": {
  469. "description": "Internal Server Error",
  470. "schema": {
  471. "$ref": "#/definitions/base.HTTPError"
  472. }
  473. }
  474. }
  475. }
  476. },
  477. "/api/v1/charge/order/info": {
  478. "get": {
  479. "description": "未支付订单的订单详情",
  480. "consumes": [
  481. "application/json"
  482. ],
  483. "produces": [
  484. "application/json"
  485. ],
  486. "tags": [
  487. "生活缴费"
  488. ],
  489. "summary": "未支付订单的订单详情",
  490. "parameters": [
  491. {
  492. "type": "string",
  493. "description": "token",
  494. "name": "token",
  495. "in": "header",
  496. "required": true
  497. },
  498. {
  499. "type": "integer",
  500. "description": "小区id",
  501. "name": "garden_id",
  502. "in": "query",
  503. "required": true
  504. },
  505. {
  506. "type": "string",
  507. "description": "订单详情",
  508. "name": "order_id",
  509. "in": "query",
  510. "required": true
  511. }
  512. ],
  513. "responses": {
  514. "200": {
  515. "description": "OK",
  516. "schema": {
  517. "$ref": "#/definitions/v1.ChargeOrderInfoResponse"
  518. }
  519. },
  520. "500": {
  521. "description": "Internal Server Error",
  522. "schema": {
  523. "$ref": "#/definitions/base.HTTPError"
  524. }
  525. }
  526. }
  527. }
  528. },
  529. "/api/v1/charge/order/list": {
  530. "get": {
  531. "description": "未支付订单列表",
  532. "consumes": [
  533. "application/json"
  534. ],
  535. "produces": [
  536. "application/json"
  537. ],
  538. "tags": [
  539. "生活缴费"
  540. ],
  541. "summary": "未支付订单列表",
  542. "parameters": [
  543. {
  544. "type": "string",
  545. "description": "token",
  546. "name": "token",
  547. "in": "header",
  548. "required": true
  549. },
  550. {
  551. "type": "integer",
  552. "description": " ",
  553. "name": "page",
  554. "in": "query"
  555. },
  556. {
  557. "type": "integer",
  558. "description": " ",
  559. "name": "page_size",
  560. "in": "query"
  561. },
  562. {
  563. "type": "integer",
  564. "description": "小区id",
  565. "name": "garden_id",
  566. "in": "query",
  567. "required": true
  568. }
  569. ],
  570. "responses": {
  571. "200": {
  572. "description": "OK",
  573. "schema": {
  574. "$ref": "#/definitions/v1.ChargeOrderListResponse"
  575. }
  576. },
  577. "500": {
  578. "description": "Internal Server Error",
  579. "schema": {
  580. "$ref": "#/definitions/base.HTTPError"
  581. }
  582. }
  583. }
  584. }
  585. },
  586. "/api/v1/charge/pay": {
  587. "put": {
  588. "description": "欠费线上缴费",
  589. "consumes": [
  590. "application/json"
  591. ],
  592. "produces": [
  593. "application/json"
  594. ],
  595. "tags": [
  596. "生活缴费"
  597. ],
  598. "summary": "欠费线上缴费",
  599. "parameters": [
  600. {
  601. "type": "string",
  602. "description": "token",
  603. "name": "token",
  604. "in": "header",
  605. "required": true
  606. },
  607. {
  608. "description": " ",
  609. "name": "body",
  610. "in": "body",
  611. "required": true,
  612. "schema": {
  613. "$ref": "#/definitions/v1.ChargeBillPayByHouseholdBody"
  614. }
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/v1.ChargeBillPayByHouseholdResponse"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/base.HTTPError"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/api/v1/charge/pay_test": {
  634. "put": {
  635. "description": "支付测试",
  636. "consumes": [
  637. "application/json"
  638. ],
  639. "produces": [
  640. "application/json"
  641. ],
  642. "tags": [
  643. "支付测试"
  644. ],
  645. "summary": "支付测试",
  646. "parameters": [
  647. {
  648. "type": "string",
  649. "description": "token",
  650. "name": "token",
  651. "in": "header",
  652. "required": true
  653. },
  654. {
  655. "description": " ",
  656. "name": "body",
  657. "in": "body",
  658. "required": true,
  659. "schema": {
  660. "$ref": "#/definitions/v1.ChargeWxPayTestBody"
  661. }
  662. }
  663. ],
  664. "responses": {
  665. "200": {
  666. "description": "OK",
  667. "schema": {
  668. "$ref": "#/definitions/v1.ChargeWxPayTestResponse"
  669. }
  670. },
  671. "500": {
  672. "description": "Internal Server Error",
  673. "schema": {
  674. "$ref": "#/definitions/base.HTTPError"
  675. }
  676. }
  677. }
  678. }
  679. },
  680. "/api/v1/charge/payed_bill_list": {
  681. "get": {
  682. "description": "已缴费的账单列表",
  683. "consumes": [
  684. "application/json"
  685. ],
  686. "produces": [
  687. "application/json"
  688. ],
  689. "tags": [
  690. "生活缴费"
  691. ],
  692. "summary": "已缴费的账单列表",
  693. "parameters": [
  694. {
  695. "type": "string",
  696. "description": "token",
  697. "name": "token",
  698. "in": "header",
  699. "required": true
  700. },
  701. {
  702. "type": "integer",
  703. "description": "小区id",
  704. "name": "garden_id",
  705. "in": "query",
  706. "required": true
  707. },
  708. {
  709. "type": "integer",
  710. "description": "房屋id",
  711. "name": "house_id",
  712. "in": "query",
  713. "required": true
  714. },
  715. {
  716. "type": "integer",
  717. "description": "支付时间",
  718. "name": "pay_time",
  719. "in": "query"
  720. },
  721. {
  722. "type": "integer",
  723. "description": " ",
  724. "name": "page",
  725. "in": "query"
  726. },
  727. {
  728. "type": "integer",
  729. "description": " ",
  730. "name": "page_size",
  731. "in": "query"
  732. }
  733. ],
  734. "responses": {
  735. "200": {
  736. "description": "OK",
  737. "schema": {
  738. "$ref": "#/definitions/v1.ChargeUnpayListResponse"
  739. }
  740. },
  741. "500": {
  742. "description": "Internal Server Error",
  743. "schema": {
  744. "$ref": "#/definitions/base.HTTPError"
  745. }
  746. }
  747. }
  748. }
  749. },
  750. "/api/v1/charge/pre_pay": {
  751. "put": {
  752. "description": "线上预缴物业费、停车费",
  753. "consumes": [
  754. "application/json"
  755. ],
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "预缴"
  761. ],
  762. "summary": "线上预缴物业费、停车费",
  763. "parameters": [
  764. {
  765. "type": "string",
  766. "description": "token",
  767. "name": "token",
  768. "in": "header",
  769. "required": true
  770. },
  771. {
  772. "description": " ",
  773. "name": "body",
  774. "in": "body",
  775. "required": true,
  776. "schema": {
  777. "$ref": "#/definitions/v1.ChargePrePayByHouseholdBody"
  778. }
  779. }
  780. ],
  781. "responses": {
  782. "200": {
  783. "description": "OK",
  784. "schema": {
  785. "$ref": "#/definitions/v1.ChargePrePayByHouseholdResponse"
  786. }
  787. },
  788. "500": {
  789. "description": "Internal Server Error",
  790. "schema": {
  791. "$ref": "#/definitions/base.HTTPError"
  792. }
  793. }
  794. }
  795. }
  796. },
  797. "/api/v1/charge/pre_pay_info": {
  798. "get": {
  799. "description": "预缴物业费或车位费前获取对应的金额信息",
  800. "consumes": [
  801. "application/json"
  802. ],
  803. "produces": [
  804. "application/json"
  805. ],
  806. "tags": [
  807. "预缴"
  808. ],
  809. "summary": "预缴物业费或车位费前获取对应的金额信息",
  810. "parameters": [
  811. {
  812. "type": "string",
  813. "description": "token",
  814. "name": "token",
  815. "in": "header",
  816. "required": true
  817. },
  818. {
  819. "type": "integer",
  820. "description": "小区id",
  821. "name": "garden_id",
  822. "in": "query",
  823. "required": true
  824. },
  825. {
  826. "type": "integer",
  827. "description": "关系id",
  828. "name": "bind_id",
  829. "in": "query",
  830. "required": true
  831. },
  832. {
  833. "type": "integer",
  834. "description": "缴费月数",
  835. "name": "months",
  836. "in": "query",
  837. "required": true
  838. }
  839. ],
  840. "responses": {
  841. "200": {
  842. "description": "OK",
  843. "schema": {
  844. "$ref": "#/definitions/v1.ChargePrePayInfoResponse"
  845. }
  846. },
  847. "500": {
  848. "description": "Internal Server Error",
  849. "schema": {
  850. "$ref": "#/definitions/base.HTTPError"
  851. }
  852. }
  853. }
  854. }
  855. },
  856. "/api/v1/charge/unpay_list": {
  857. "get": {
  858. "description": "待缴费的费项列表",
  859. "consumes": [
  860. "application/json"
  861. ],
  862. "produces": [
  863. "application/json"
  864. ],
  865. "tags": [
  866. "生活缴费"
  867. ],
  868. "summary": "待缴费的费项列表",
  869. "parameters": [
  870. {
  871. "type": "string",
  872. "description": "token",
  873. "name": "token",
  874. "in": "header",
  875. "required": true
  876. },
  877. {
  878. "type": "integer",
  879. "description": "小区id",
  880. "name": "garden_id",
  881. "in": "query",
  882. "required": true
  883. },
  884. {
  885. "type": "integer",
  886. "description": "房屋id",
  887. "name": "house_id",
  888. "in": "query",
  889. "required": true
  890. },
  891. {
  892. "type": "integer",
  893. "description": " ",
  894. "name": "page",
  895. "in": "query"
  896. },
  897. {
  898. "type": "integer",
  899. "description": " ",
  900. "name": "page_size",
  901. "in": "query"
  902. }
  903. ],
  904. "responses": {
  905. "200": {
  906. "description": "OK",
  907. "schema": {
  908. "$ref": "#/definitions/v1.ChargeUnpayListResponse"
  909. }
  910. },
  911. "500": {
  912. "description": "Internal Server Error",
  913. "schema": {
  914. "$ref": "#/definitions/base.HTTPError"
  915. }
  916. }
  917. }
  918. }
  919. },
  920. "/api/v1/garden/building": {
  921. "get": {
  922. "description": "楼栋列表",
  923. "consumes": [
  924. "application/json"
  925. ],
  926. "produces": [
  927. "application/json"
  928. ],
  929. "tags": [
  930. "小区"
  931. ],
  932. "summary": "楼栋列表",
  933. "parameters": [
  934. {
  935. "type": "string",
  936. "description": "token",
  937. "name": "token",
  938. "in": "header",
  939. "required": true
  940. },
  941. {
  942. "type": "string",
  943. "description": "小区id",
  944. "name": "garden_id",
  945. "in": "query",
  946. "required": true
  947. }
  948. ],
  949. "responses": {
  950. "200": {
  951. "description": "OK",
  952. "schema": {
  953. "$ref": "#/definitions/v1.BuildingListResponse"
  954. }
  955. },
  956. "500": {
  957. "description": "Internal Server Error",
  958. "schema": {
  959. "$ref": "#/definitions/base.HTTPError"
  960. }
  961. }
  962. }
  963. }
  964. },
  965. "/api/v1/garden/buildings/manager": {
  966. "get": {
  967. "description": "楼栋管家列表",
  968. "consumes": [
  969. "application/json"
  970. ],
  971. "produces": [
  972. "application/json"
  973. ],
  974. "tags": [
  975. "小区"
  976. ],
  977. "summary": "楼栋管家列表",
  978. "parameters": [
  979. {
  980. "type": "string",
  981. "description": "token",
  982. "name": "token",
  983. "in": "header",
  984. "required": true
  985. },
  986. {
  987. "type": "integer",
  988. "description": "小区id 必填",
  989. "name": "garden_id",
  990. "in": "query",
  991. "required": true
  992. },
  993. {
  994. "type": "integer",
  995. "description": "房屋id 必填",
  996. "name": "house_id",
  997. "in": "query",
  998. "required": true
  999. }
  1000. ],
  1001. "responses": {
  1002. "200": {
  1003. "description": "OK",
  1004. "schema": {
  1005. "$ref": "#/definitions/v1.BuildingManagerListResponse"
  1006. }
  1007. },
  1008. "500": {
  1009. "description": "Internal Server Error",
  1010. "schema": {
  1011. "$ref": "#/definitions/base.HTTPError"
  1012. }
  1013. }
  1014. }
  1015. }
  1016. },
  1017. "/api/v1/garden/house": {
  1018. "get": {
  1019. "description": "房屋列表",
  1020. "consumes": [
  1021. "application/json"
  1022. ],
  1023. "produces": [
  1024. "application/json"
  1025. ],
  1026. "tags": [
  1027. "小区"
  1028. ],
  1029. "summary": "房屋列表",
  1030. "parameters": [
  1031. {
  1032. "type": "string",
  1033. "description": "token",
  1034. "name": "token",
  1035. "in": "header",
  1036. "required": true
  1037. },
  1038. {
  1039. "type": "integer",
  1040. "description": "单元id",
  1041. "name": "unit_id",
  1042. "in": "query",
  1043. "required": true
  1044. },
  1045. {
  1046. "type": "string",
  1047. "description": "小区id",
  1048. "name": "garden_id",
  1049. "in": "query",
  1050. "required": true
  1051. },
  1052. {
  1053. "type": "boolean",
  1054. "description": "true只返回还可以发布租房的房屋",
  1055. "name": "house_rent",
  1056. "in": "query"
  1057. }
  1058. ],
  1059. "responses": {
  1060. "200": {
  1061. "description": "OK",
  1062. "schema": {
  1063. "$ref": "#/definitions/v1.HouseListResponse"
  1064. }
  1065. },
  1066. "500": {
  1067. "description": "Internal Server Error",
  1068. "schema": {
  1069. "$ref": "#/definitions/base.HTTPError"
  1070. }
  1071. }
  1072. }
  1073. }
  1074. },
  1075. "/api/v1/garden/info": {
  1076. "get": {
  1077. "description": "小区详情",
  1078. "consumes": [
  1079. "application/json"
  1080. ],
  1081. "produces": [
  1082. "application/json"
  1083. ],
  1084. "tags": [
  1085. "小区"
  1086. ],
  1087. "summary": "小区详情",
  1088. "parameters": [
  1089. {
  1090. "type": "string",
  1091. "description": " ",
  1092. "name": "token",
  1093. "in": "header",
  1094. "required": true
  1095. },
  1096. {
  1097. "type": "integer",
  1098. "description": "小区id",
  1099. "name": "garden_id",
  1100. "in": "query",
  1101. "required": true
  1102. }
  1103. ],
  1104. "responses": {
  1105. "200": {
  1106. "description": "OK",
  1107. "schema": {
  1108. "$ref": "#/definitions/v1.GardenInfoResponse"
  1109. }
  1110. },
  1111. "500": {
  1112. "description": "Internal Server Error",
  1113. "schema": {
  1114. "$ref": "#/definitions/base.HTTPError"
  1115. }
  1116. }
  1117. }
  1118. }
  1119. },
  1120. "/api/v1/garden/list": {
  1121. "get": {
  1122. "description": "小区列表",
  1123. "consumes": [
  1124. "application/json"
  1125. ],
  1126. "produces": [
  1127. "application/json"
  1128. ],
  1129. "tags": [
  1130. "小区"
  1131. ],
  1132. "summary": "小区列表",
  1133. "parameters": [
  1134. {
  1135. "type": "string",
  1136. "description": " ",
  1137. "name": "token",
  1138. "in": "header",
  1139. "required": true
  1140. },
  1141. {
  1142. "type": "string",
  1143. "description": "省份代码",
  1144. "name": "province_code",
  1145. "in": "query"
  1146. },
  1147. {
  1148. "type": "string",
  1149. "description": "城市代码",
  1150. "name": "city_code",
  1151. "in": "query"
  1152. },
  1153. {
  1154. "type": "string",
  1155. "description": "区域代码",
  1156. "name": "area_code",
  1157. "in": "query"
  1158. },
  1159. {
  1160. "type": "string",
  1161. "description": "社区代码",
  1162. "name": "committee_code",
  1163. "in": "query"
  1164. },
  1165. {
  1166. "type": "string",
  1167. "description": "街道代码",
  1168. "name": "street_code",
  1169. "in": "query"
  1170. },
  1171. {
  1172. "type": "string",
  1173. "description": "小区名字",
  1174. "name": "garden_name",
  1175. "in": "query"
  1176. },
  1177. {
  1178. "type": "integer",
  1179. "description": " 1塔楼 2 板楼 3 塔板结合 4 其他",
  1180. "name": "building_type",
  1181. "in": "query"
  1182. },
  1183. {
  1184. "type": "integer",
  1185. "description": " 楼龄年份大于",
  1186. "name": "building_year_greater",
  1187. "in": "query"
  1188. },
  1189. {
  1190. "type": "integer",
  1191. "description": " 楼龄小于",
  1192. "name": "building_year_less",
  1193. "in": "query"
  1194. },
  1195. {
  1196. "type": "integer",
  1197. "description": " 均价大于",
  1198. "name": "price_greater",
  1199. "in": "query"
  1200. },
  1201. {
  1202. "type": "integer",
  1203. "description": " 均价小于",
  1204. "name": "price_less",
  1205. "in": "query"
  1206. }
  1207. ],
  1208. "responses": {
  1209. "200": {
  1210. "description": "OK",
  1211. "schema": {
  1212. "$ref": "#/definitions/v1.GardenListResponse"
  1213. }
  1214. },
  1215. "500": {
  1216. "description": "Internal Server Error",
  1217. "schema": {
  1218. "$ref": "#/definitions/base.HTTPError"
  1219. }
  1220. }
  1221. }
  1222. }
  1223. },
  1224. "/api/v1/garden/unit": {
  1225. "get": {
  1226. "description": "单元列表",
  1227. "consumes": [
  1228. "application/json"
  1229. ],
  1230. "produces": [
  1231. "application/json"
  1232. ],
  1233. "tags": [
  1234. "小区"
  1235. ],
  1236. "summary": "单元列表",
  1237. "parameters": [
  1238. {
  1239. "type": "string",
  1240. "description": "token",
  1241. "name": "token",
  1242. "in": "header",
  1243. "required": true
  1244. },
  1245. {
  1246. "type": "integer",
  1247. "description": "楼栋id",
  1248. "name": "building_id",
  1249. "in": "query",
  1250. "required": true
  1251. },
  1252. {
  1253. "type": "string",
  1254. "description": "小区id",
  1255. "name": "garden_id",
  1256. "in": "query",
  1257. "required": true
  1258. }
  1259. ],
  1260. "responses": {
  1261. "200": {
  1262. "description": "OK",
  1263. "schema": {
  1264. "$ref": "#/definitions/v1.UnitListResponse"
  1265. }
  1266. },
  1267. "500": {
  1268. "description": "Internal Server Error",
  1269. "schema": {
  1270. "$ref": "#/definitions/base.HTTPError"
  1271. }
  1272. }
  1273. }
  1274. }
  1275. },
  1276. "/api/v1/gate": {
  1277. "get": {
  1278. "description": "门禁列表",
  1279. "consumes": [
  1280. "application/json"
  1281. ],
  1282. "produces": [
  1283. "application/json"
  1284. ],
  1285. "tags": [
  1286. "门禁"
  1287. ],
  1288. "summary": "门禁列表",
  1289. "parameters": [
  1290. {
  1291. "type": "string",
  1292. "description": " ",
  1293. "name": "token",
  1294. "in": "header",
  1295. "required": true
  1296. },
  1297. {
  1298. "type": "integer",
  1299. "description": "小区id",
  1300. "name": "garden_id",
  1301. "in": "query",
  1302. "required": true
  1303. }
  1304. ],
  1305. "responses": {
  1306. "200": {
  1307. "description": "OK",
  1308. "schema": {
  1309. "$ref": "#/definitions/v1.GateListResponse"
  1310. }
  1311. },
  1312. "500": {
  1313. "description": "Internal Server Error",
  1314. "schema": {
  1315. "$ref": "#/definitions/base.HTTPError"
  1316. }
  1317. }
  1318. }
  1319. }
  1320. },
  1321. "/api/v1/gate/face": {
  1322. "get": {
  1323. "description": "人脸信息",
  1324. "consumes": [
  1325. "application/json"
  1326. ],
  1327. "produces": [
  1328. "application/json"
  1329. ],
  1330. "tags": [
  1331. "门禁"
  1332. ],
  1333. "summary": "人脸信息",
  1334. "parameters": [
  1335. {
  1336. "type": "string",
  1337. "description": " ",
  1338. "name": "token",
  1339. "in": "header",
  1340. "required": true
  1341. },
  1342. {
  1343. "type": "integer",
  1344. "description": "小区id",
  1345. "name": "garden_id",
  1346. "in": "query",
  1347. "required": true
  1348. }
  1349. ],
  1350. "responses": {
  1351. "200": {
  1352. "description": "OK",
  1353. "schema": {
  1354. "$ref": "#/definitions/v1.GateUserPicInfoResponse"
  1355. }
  1356. },
  1357. "500": {
  1358. "description": "Internal Server Error",
  1359. "schema": {
  1360. "$ref": "#/definitions/base.HTTPError"
  1361. }
  1362. }
  1363. }
  1364. },
  1365. "post": {
  1366. "description": "录入人脸",
  1367. "consumes": [
  1368. "application/json"
  1369. ],
  1370. "produces": [
  1371. "application/json"
  1372. ],
  1373. "tags": [
  1374. "门禁"
  1375. ],
  1376. "summary": "录入人脸",
  1377. "parameters": [
  1378. {
  1379. "type": "string",
  1380. "description": " ",
  1381. "name": "token",
  1382. "in": "header",
  1383. "required": true
  1384. },
  1385. {
  1386. "description": " ",
  1387. "name": "body",
  1388. "in": "body",
  1389. "required": true,
  1390. "schema": {
  1391. "$ref": "#/definitions/v1.GateUserPicAddBody"
  1392. }
  1393. }
  1394. ],
  1395. "responses": {
  1396. "200": {
  1397. "description": "OK",
  1398. "schema": {
  1399. "$ref": "#/definitions/v1.GateUserPicAddResponse"
  1400. }
  1401. },
  1402. "500": {
  1403. "description": "Internal Server Error",
  1404. "schema": {
  1405. "$ref": "#/definitions/base.HTTPError"
  1406. }
  1407. }
  1408. }
  1409. }
  1410. },
  1411. "/api/v1/gate/has_face_device": {
  1412. "get": {
  1413. "description": "是否有人脸设备",
  1414. "consumes": [
  1415. "application/json"
  1416. ],
  1417. "produces": [
  1418. "application/json"
  1419. ],
  1420. "tags": [
  1421. "门禁"
  1422. ],
  1423. "summary": "是否有人脸设备",
  1424. "parameters": [
  1425. {
  1426. "type": "string",
  1427. "description": " ",
  1428. "name": "token",
  1429. "in": "header",
  1430. "required": true
  1431. },
  1432. {
  1433. "type": "integer",
  1434. "description": "小区id",
  1435. "name": "garden_id",
  1436. "in": "query",
  1437. "required": true
  1438. }
  1439. ],
  1440. "responses": {
  1441. "200": {
  1442. "description": "OK",
  1443. "schema": {
  1444. "$ref": "#/definitions/v1.GateHasFaceResponse"
  1445. }
  1446. },
  1447. "500": {
  1448. "description": "Internal Server Error",
  1449. "schema": {
  1450. "$ref": "#/definitions/base.HTTPError"
  1451. }
  1452. }
  1453. }
  1454. }
  1455. },
  1456. "/api/v1/gate/qcode": {
  1457. "get": {
  1458. "description": "门禁二维码",
  1459. "consumes": [
  1460. "application/json"
  1461. ],
  1462. "produces": [
  1463. "application/json"
  1464. ],
  1465. "tags": [
  1466. "门禁"
  1467. ],
  1468. "summary": "门禁二维码",
  1469. "parameters": [
  1470. {
  1471. "type": "string",
  1472. "description": " ",
  1473. "name": "token",
  1474. "in": "header",
  1475. "required": true
  1476. },
  1477. {
  1478. "type": "integer",
  1479. "description": "小区id",
  1480. "name": "garden_id",
  1481. "in": "query",
  1482. "required": true
  1483. }
  1484. ],
  1485. "responses": {
  1486. "200": {
  1487. "description": "OK",
  1488. "schema": {
  1489. "$ref": "#/definitions/v1.GateQcodeResponse"
  1490. }
  1491. },
  1492. "500": {
  1493. "description": "Internal Server Error",
  1494. "schema": {
  1495. "$ref": "#/definitions/base.HTTPError"
  1496. }
  1497. }
  1498. }
  1499. }
  1500. },
  1501. "/api/v1/gate/qcode_visitor": {
  1502. "get": {
  1503. "description": "门禁访客邀约二维码",
  1504. "consumes": [
  1505. "application/json"
  1506. ],
  1507. "produces": [
  1508. "application/json"
  1509. ],
  1510. "tags": [
  1511. "门禁"
  1512. ],
  1513. "summary": "门禁访客邀约二维码",
  1514. "parameters": [
  1515. {
  1516. "type": "string",
  1517. "description": " ",
  1518. "name": "token",
  1519. "in": "header",
  1520. "required": true
  1521. },
  1522. {
  1523. "type": "integer",
  1524. "description": "设备id",
  1525. "name": "device_id",
  1526. "in": "query",
  1527. "required": true
  1528. },
  1529. {
  1530. "type": "integer",
  1531. "description": "小区id",
  1532. "name": "garden_id",
  1533. "in": "query",
  1534. "required": true
  1535. },
  1536. {
  1537. "type": "integer",
  1538. "description": "开始时间戳",
  1539. "name": "start",
  1540. "in": "query",
  1541. "required": true
  1542. },
  1543. {
  1544. "type": "integer",
  1545. "description": "截止时间戳",
  1546. "name": "end",
  1547. "in": "query",
  1548. "required": true
  1549. },
  1550. {
  1551. "type": "string",
  1552. "description": "访客姓名",
  1553. "name": "visitor_name",
  1554. "in": "query",
  1555. "required": true
  1556. },
  1557. {
  1558. "type": "string",
  1559. "description": "访客联系方式",
  1560. "name": "visitor_phone",
  1561. "in": "query",
  1562. "required": true
  1563. },
  1564. {
  1565. "type": "string",
  1566. "description": "访问是由",
  1567. "name": "comment",
  1568. "in": "query",
  1569. "required": true
  1570. }
  1571. ],
  1572. "responses": {
  1573. "200": {
  1574. "description": "OK",
  1575. "schema": {
  1576. "$ref": "#/definitions/v1.GateQcodeVisitorResponse"
  1577. }
  1578. },
  1579. "500": {
  1580. "description": "Internal Server Error",
  1581. "schema": {
  1582. "$ref": "#/definitions/base.HTTPError"
  1583. }
  1584. }
  1585. }
  1586. }
  1587. },
  1588. "/api/v1/gate/visitor": {
  1589. "get": {
  1590. "description": "我的邀约",
  1591. "consumes": [
  1592. "application/json"
  1593. ],
  1594. "produces": [
  1595. "application/json"
  1596. ],
  1597. "tags": [
  1598. "门禁"
  1599. ],
  1600. "summary": "我的邀约",
  1601. "parameters": [
  1602. {
  1603. "type": "string",
  1604. "description": " ",
  1605. "name": "token",
  1606. "in": "header",
  1607. "required": true
  1608. },
  1609. {
  1610. "type": "integer",
  1611. "description": " ",
  1612. "name": "page",
  1613. "in": "query"
  1614. },
  1615. {
  1616. "type": "integer",
  1617. "description": " ",
  1618. "name": "page_size",
  1619. "in": "query"
  1620. },
  1621. {
  1622. "type": "integer",
  1623. "description": "门禁id选填",
  1624. "name": "gate_id",
  1625. "in": "query"
  1626. }
  1627. ],
  1628. "responses": {
  1629. "200": {
  1630. "description": "OK",
  1631. "schema": {
  1632. "$ref": "#/definitions/v1.GateVisitorListResponse"
  1633. }
  1634. },
  1635. "500": {
  1636. "description": "Internal Server Error",
  1637. "schema": {
  1638. "$ref": "#/definitions/base.HTTPError"
  1639. }
  1640. }
  1641. }
  1642. },
  1643. "delete": {
  1644. "description": "删除访客记录",
  1645. "consumes": [
  1646. "application/json"
  1647. ],
  1648. "produces": [
  1649. "application/json"
  1650. ],
  1651. "tags": [
  1652. "门禁"
  1653. ],
  1654. "summary": "删除访客记录",
  1655. "parameters": [
  1656. {
  1657. "type": "string",
  1658. "description": " ",
  1659. "name": "token",
  1660. "in": "header",
  1661. "required": true
  1662. },
  1663. {
  1664. "type": "integer",
  1665. "description": " 记录id",
  1666. "name": "id",
  1667. "in": "query",
  1668. "required": true
  1669. }
  1670. ],
  1671. "responses": {
  1672. "200": {
  1673. "description": "OK",
  1674. "schema": {
  1675. "$ref": "#/definitions/v1.GateVisitorDelResponse"
  1676. }
  1677. },
  1678. "500": {
  1679. "description": "Internal Server Error",
  1680. "schema": {
  1681. "$ref": "#/definitions/base.HTTPError"
  1682. }
  1683. }
  1684. }
  1685. }
  1686. },
  1687. "/api/v1/gate/visitor/share": {
  1688. "get": {
  1689. "description": "访客获取到的分享页面",
  1690. "consumes": [
  1691. "application/json"
  1692. ],
  1693. "produces": [
  1694. "application/json"
  1695. ],
  1696. "tags": [
  1697. "门禁"
  1698. ],
  1699. "summary": "访客获取到的分享页面",
  1700. "parameters": [
  1701. {
  1702. "type": "integer",
  1703. "description": " 访客邀约记录id",
  1704. "name": "id",
  1705. "in": "query",
  1706. "required": true
  1707. }
  1708. ],
  1709. "responses": {
  1710. "200": {
  1711. "description": "OK",
  1712. "schema": {
  1713. "$ref": "#/definitions/v1.GateVisitorPageResponse"
  1714. }
  1715. },
  1716. "500": {
  1717. "description": "Internal Server Error",
  1718. "schema": {
  1719. "$ref": "#/definitions/base.HTTPError"
  1720. }
  1721. }
  1722. }
  1723. }
  1724. },
  1725. "/api/v1/household/apply": {
  1726. "post": {
  1727. "description": "房屋认证申请",
  1728. "consumes": [
  1729. "application/json"
  1730. ],
  1731. "produces": [
  1732. "application/json"
  1733. ],
  1734. "tags": [
  1735. "业主房屋"
  1736. ],
  1737. "summary": "房屋认证申请",
  1738. "parameters": [
  1739. {
  1740. "type": "string",
  1741. "description": " ",
  1742. "name": "token",
  1743. "in": "header",
  1744. "required": true
  1745. },
  1746. {
  1747. "description": "信息",
  1748. "name": "body",
  1749. "in": "body",
  1750. "required": true,
  1751. "schema": {
  1752. "$ref": "#/definitions/v1.HouseholdApplyBody"
  1753. }
  1754. }
  1755. ],
  1756. "responses": {
  1757. "200": {
  1758. "description": "OK",
  1759. "schema": {
  1760. "$ref": "#/definitions/v1.HouseholdApplyResponse"
  1761. }
  1762. },
  1763. "500": {
  1764. "description": "Internal Server Error",
  1765. "schema": {
  1766. "$ref": "#/definitions/base.HTTPError"
  1767. }
  1768. }
  1769. }
  1770. }
  1771. },
  1772. "/api/v1/household/house": {
  1773. "get": {
  1774. "description": "房屋列表",
  1775. "consumes": [
  1776. "application/json"
  1777. ],
  1778. "produces": [
  1779. "application/json"
  1780. ],
  1781. "tags": [
  1782. "业主房屋"
  1783. ],
  1784. "summary": "房屋列表",
  1785. "parameters": [
  1786. {
  1787. "type": "string",
  1788. "description": " ",
  1789. "name": "token",
  1790. "in": "header",
  1791. "required": true
  1792. },
  1793. {
  1794. "type": "integer",
  1795. "description": "1 待审核 2 通过审核 3 未通过审核",
  1796. "name": "approve_status",
  1797. "in": "query",
  1798. "required": true
  1799. }
  1800. ],
  1801. "responses": {
  1802. "200": {
  1803. "description": "OK",
  1804. "schema": {
  1805. "$ref": "#/definitions/v1.HouseholdListResponse"
  1806. }
  1807. },
  1808. "500": {
  1809. "description": "Internal Server Error",
  1810. "schema": {
  1811. "$ref": "#/definitions/base.HTTPError"
  1812. }
  1813. }
  1814. }
  1815. },
  1816. "delete": {
  1817. "description": "解绑房屋",
  1818. "consumes": [
  1819. "application/json"
  1820. ],
  1821. "produces": [
  1822. "application/json"
  1823. ],
  1824. "tags": [
  1825. "业主房屋"
  1826. ],
  1827. "summary": "解绑房屋",
  1828. "parameters": [
  1829. {
  1830. "type": "string",
  1831. "description": " ",
  1832. "name": "token",
  1833. "in": "header",
  1834. "required": true
  1835. },
  1836. {
  1837. "type": "integer",
  1838. "description": " ",
  1839. "name": "garden_id",
  1840. "in": "query",
  1841. "required": true
  1842. },
  1843. {
  1844. "type": "integer",
  1845. "description": " ",
  1846. "name": "house_id",
  1847. "in": "query",
  1848. "required": true
  1849. }
  1850. ],
  1851. "responses": {
  1852. "200": {
  1853. "description": "OK",
  1854. "schema": {
  1855. "$ref": "#/definitions/v1.HouseholdListResponse"
  1856. }
  1857. },
  1858. "500": {
  1859. "description": "Internal Server Error",
  1860. "schema": {
  1861. "$ref": "#/definitions/base.HTTPError"
  1862. }
  1863. }
  1864. }
  1865. }
  1866. },
  1867. "/api/v1/material/info": {
  1868. "get": {
  1869. "description": "获取单个素材",
  1870. "consumes": [
  1871. "application/json"
  1872. ],
  1873. "produces": [
  1874. "application/json"
  1875. ],
  1876. "tags": [
  1877. "素材"
  1878. ],
  1879. "summary": "获取单个素材",
  1880. "parameters": [
  1881. {
  1882. "type": "string",
  1883. "description": " ",
  1884. "name": "token",
  1885. "in": "header",
  1886. "required": true
  1887. },
  1888. {
  1889. "type": "integer",
  1890. "description": "素材类型",
  1891. "name": "mtype",
  1892. "in": "query",
  1893. "required": true
  1894. }
  1895. ],
  1896. "responses": {
  1897. "200": {
  1898. "description": "OK",
  1899. "schema": {
  1900. "$ref": "#/definitions/v1.MaterialInfoResponse"
  1901. }
  1902. },
  1903. "500": {
  1904. "description": "Internal Server Error",
  1905. "schema": {
  1906. "$ref": "#/definitions/base.HTTPError"
  1907. }
  1908. }
  1909. }
  1910. }
  1911. },
  1912. "/api/v1/material/list": {
  1913. "get": {
  1914. "description": "根据类型获取素材列表",
  1915. "consumes": [
  1916. "application/json"
  1917. ],
  1918. "produces": [
  1919. "application/json"
  1920. ],
  1921. "tags": [
  1922. "素材"
  1923. ],
  1924. "summary": "根据类型获取素材列表",
  1925. "parameters": [
  1926. {
  1927. "type": "string",
  1928. "description": " ",
  1929. "name": "token",
  1930. "in": "header",
  1931. "required": true
  1932. },
  1933. {
  1934. "type": "string",
  1935. "description": "类型,多个类型以逗号分隔",
  1936. "name": "mtypes",
  1937. "in": "query",
  1938. "required": true
  1939. }
  1940. ],
  1941. "responses": {
  1942. "200": {
  1943. "description": "OK",
  1944. "schema": {
  1945. "$ref": "#/definitions/v1.MaterialListResponse"
  1946. }
  1947. },
  1948. "500": {
  1949. "description": "Internal Server Error",
  1950. "schema": {
  1951. "$ref": "#/definitions/base.HTTPError"
  1952. }
  1953. }
  1954. }
  1955. }
  1956. },
  1957. "/api/v1/openim_upload": {
  1958. "post": {
  1959. "description": "上传文件(openim聊天专用)",
  1960. "consumes": [
  1961. "application/json"
  1962. ],
  1963. "produces": [
  1964. "application/json"
  1965. ],
  1966. "tags": [
  1967. "upload"
  1968. ],
  1969. "summary": "上传文件(openim聊天专用)",
  1970. "parameters": [
  1971. {
  1972. "type": "string",
  1973. "description": "jwt token",
  1974. "name": "token",
  1975. "in": "header",
  1976. "required": true
  1977. },
  1978. {
  1979. "type": "file",
  1980. "description": "file",
  1981. "name": "file",
  1982. "in": "formData"
  1983. }
  1984. ],
  1985. "responses": {
  1986. "200": {
  1987. "description": "OK",
  1988. "schema": {
  1989. "$ref": "#/definitions/v1.UploadResponse"
  1990. }
  1991. },
  1992. "500": {
  1993. "description": "Internal Server Error",
  1994. "schema": {
  1995. "$ref": "#/definitions/base.HTTPError"
  1996. }
  1997. }
  1998. }
  1999. }
  2000. },
  2001. "/api/v1/rent/garden_info": {
  2002. "get": {
  2003. "description": "均价,已租已售数",
  2004. "consumes": [
  2005. "application/json"
  2006. ],
  2007. "produces": [
  2008. "application/json"
  2009. ],
  2010. "tags": [
  2011. "房屋租赁"
  2012. ],
  2013. "summary": "均价,已租已售数",
  2014. "parameters": [
  2015. {
  2016. "type": "string",
  2017. "description": "token",
  2018. "name": "token",
  2019. "in": "header",
  2020. "required": true
  2021. },
  2022. {
  2023. "type": "integer",
  2024. "description": " 小区id",
  2025. "name": "garden_id",
  2026. "in": "query",
  2027. "required": true
  2028. },
  2029. {
  2030. "type": "boolean",
  2031. "description": "我发布的",
  2032. "name": "is_me",
  2033. "in": "query"
  2034. }
  2035. ],
  2036. "responses": {
  2037. "200": {
  2038. "description": "OK",
  2039. "schema": {
  2040. "$ref": "#/definitions/v1.GardenHouseRentInfoResponse"
  2041. }
  2042. },
  2043. "500": {
  2044. "description": "Internal Server Error",
  2045. "schema": {
  2046. "$ref": "#/definitions/base.HTTPError"
  2047. }
  2048. }
  2049. }
  2050. }
  2051. },
  2052. "/api/v1/rent/house": {
  2053. "get": {
  2054. "description": "租房列表",
  2055. "consumes": [
  2056. "application/json"
  2057. ],
  2058. "produces": [
  2059. "application/json"
  2060. ],
  2061. "tags": [
  2062. "房屋租赁"
  2063. ],
  2064. "summary": "租房列表",
  2065. "parameters": [
  2066. {
  2067. "type": "string",
  2068. "description": "token",
  2069. "name": "token",
  2070. "in": "header",
  2071. "required": true
  2072. },
  2073. {
  2074. "type": "string",
  2075. "description": "省份代码",
  2076. "name": "province_code",
  2077. "in": "query"
  2078. },
  2079. {
  2080. "type": "string",
  2081. "description": "城市代码",
  2082. "name": "city_code",
  2083. "in": "query"
  2084. },
  2085. {
  2086. "type": "string",
  2087. "description": "区域代码",
  2088. "name": "area_code",
  2089. "in": "query"
  2090. },
  2091. {
  2092. "type": "string",
  2093. "description": "街道代码",
  2094. "name": "street_code",
  2095. "in": "query"
  2096. },
  2097. {
  2098. "type": "integer",
  2099. "description": "几室",
  2100. "name": "room_count",
  2101. "in": "query"
  2102. },
  2103. {
  2104. "type": "integer",
  2105. "description": "几厅",
  2106. "name": "hall_count",
  2107. "in": "query"
  2108. },
  2109. {
  2110. "type": "integer",
  2111. "description": "几卫",
  2112. "name": "wc_count",
  2113. "in": "query"
  2114. },
  2115. {
  2116. "type": "string",
  2117. "description": "租金大于",
  2118. "name": "rent_price_greater",
  2119. "in": "query"
  2120. },
  2121. {
  2122. "type": "string",
  2123. "description": "租金小于",
  2124. "name": "rent_price_less",
  2125. "in": "query"
  2126. },
  2127. {
  2128. "type": "integer",
  2129. "description": "审核状态 0 不过滤 1 待审核 2 通过 3 未通过",
  2130. "name": "approve_status",
  2131. "in": "query"
  2132. },
  2133. {
  2134. "type": "integer",
  2135. "description": " ",
  2136. "name": "page",
  2137. "in": "query"
  2138. },
  2139. {
  2140. "type": "integer",
  2141. "description": " ",
  2142. "name": "page_size",
  2143. "in": "query"
  2144. },
  2145. {
  2146. "type": "integer",
  2147. "description": "从低bit到高bit分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机",
  2148. "name": "base_conf",
  2149. "in": "query"
  2150. },
  2151. {
  2152. "type": "integer",
  2153. "description": "从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租",
  2154. "name": "special_conf",
  2155. "in": "query"
  2156. },
  2157. {
  2158. "type": "integer",
  2159. "description": " 小区id",
  2160. "name": "garden_id",
  2161. "in": "query"
  2162. },
  2163. {
  2164. "type": "string",
  2165. "description": " 小区名字",
  2166. "name": "garden_name",
  2167. "in": "query"
  2168. },
  2169. {
  2170. "type": "integer",
  2171. "description": " 1塔楼 2 板楼 3 塔板结合 4 其他",
  2172. "name": "building_type",
  2173. "in": "query"
  2174. },
  2175. {
  2176. "type": "integer",
  2177. "description": " 楼龄年份大于",
  2178. "name": "building_year_greater",
  2179. "in": "query"
  2180. },
  2181. {
  2182. "type": "integer",
  2183. "description": " 楼龄小于",
  2184. "name": "building_year_less",
  2185. "in": "query"
  2186. },
  2187. {
  2188. "type": "boolean",
  2189. "description": "我发布的",
  2190. "name": "is_me",
  2191. "in": "query"
  2192. }
  2193. ],
  2194. "responses": {
  2195. "200": {
  2196. "description": "OK",
  2197. "schema": {
  2198. "$ref": "#/definitions/v1.HouseRentListResponse"
  2199. }
  2200. },
  2201. "500": {
  2202. "description": "Internal Server Error",
  2203. "schema": {
  2204. "$ref": "#/definitions/base.HTTPError"
  2205. }
  2206. }
  2207. }
  2208. },
  2209. "put": {
  2210. "description": "修改信息",
  2211. "consumes": [
  2212. "application/json"
  2213. ],
  2214. "produces": [
  2215. "application/json"
  2216. ],
  2217. "tags": [
  2218. "房屋租赁"
  2219. ],
  2220. "summary": "修改信息",
  2221. "parameters": [
  2222. {
  2223. "type": "string",
  2224. "description": "token",
  2225. "name": "token",
  2226. "in": "header",
  2227. "required": true
  2228. },
  2229. {
  2230. "description": " ",
  2231. "name": "body",
  2232. "in": "body",
  2233. "required": true,
  2234. "schema": {
  2235. "$ref": "#/definitions/v1.HouseRentUpdateBody"
  2236. }
  2237. }
  2238. ],
  2239. "responses": {
  2240. "200": {
  2241. "description": "OK",
  2242. "schema": {
  2243. "$ref": "#/definitions/v1.HouseRentUpdateResponse"
  2244. }
  2245. },
  2246. "500": {
  2247. "description": "Internal Server Error",
  2248. "schema": {
  2249. "$ref": "#/definitions/base.HTTPError"
  2250. }
  2251. }
  2252. }
  2253. },
  2254. "post": {
  2255. "description": "发布房源",
  2256. "consumes": [
  2257. "application/json"
  2258. ],
  2259. "produces": [
  2260. "application/json"
  2261. ],
  2262. "tags": [
  2263. "房屋租赁"
  2264. ],
  2265. "summary": "发布房源",
  2266. "parameters": [
  2267. {
  2268. "type": "string",
  2269. "description": "token",
  2270. "name": "token",
  2271. "in": "header",
  2272. "required": true
  2273. },
  2274. {
  2275. "description": " ",
  2276. "name": "body",
  2277. "in": "body",
  2278. "required": true,
  2279. "schema": {
  2280. "$ref": "#/definitions/v1.HouseRentApplyBody"
  2281. }
  2282. }
  2283. ],
  2284. "responses": {
  2285. "200": {
  2286. "description": "OK",
  2287. "schema": {
  2288. "$ref": "#/definitions/v1.HouseRentApplyResponse"
  2289. }
  2290. },
  2291. "500": {
  2292. "description": "Internal Server Error",
  2293. "schema": {
  2294. "$ref": "#/definitions/base.HTTPError"
  2295. }
  2296. }
  2297. }
  2298. }
  2299. },
  2300. "/api/v1/rent/house/appointment": {
  2301. "get": {
  2302. "description": "租房预约记录",
  2303. "consumes": [
  2304. "application/json"
  2305. ],
  2306. "produces": [
  2307. "application/json"
  2308. ],
  2309. "tags": [
  2310. "房屋租赁"
  2311. ],
  2312. "summary": "租房预约记录",
  2313. "parameters": [
  2314. {
  2315. "type": "string",
  2316. "description": "token",
  2317. "name": "token",
  2318. "in": "header",
  2319. "required": true
  2320. },
  2321. {
  2322. "type": "integer",
  2323. "description": " ",
  2324. "name": "page",
  2325. "in": "query"
  2326. },
  2327. {
  2328. "type": "integer",
  2329. "description": " ",
  2330. "name": "page_size",
  2331. "in": "query"
  2332. }
  2333. ],
  2334. "responses": {
  2335. "200": {
  2336. "description": "OK",
  2337. "schema": {
  2338. "$ref": "#/definitions/v1.HouseRentAppointmentListResponse"
  2339. }
  2340. },
  2341. "500": {
  2342. "description": "Internal Server Error",
  2343. "schema": {
  2344. "$ref": "#/definitions/base.HTTPError"
  2345. }
  2346. }
  2347. }
  2348. },
  2349. "post": {
  2350. "description": "租房预约看房",
  2351. "consumes": [
  2352. "application/json"
  2353. ],
  2354. "produces": [
  2355. "application/json"
  2356. ],
  2357. "tags": [
  2358. "房屋租赁"
  2359. ],
  2360. "summary": "租房预约看房",
  2361. "parameters": [
  2362. {
  2363. "type": "string",
  2364. "description": "token",
  2365. "name": "token",
  2366. "in": "header",
  2367. "required": true
  2368. },
  2369. {
  2370. "description": " ",
  2371. "name": "body",
  2372. "in": "body",
  2373. "required": true,
  2374. "schema": {
  2375. "$ref": "#/definitions/v1.HouseRentAppointmentAddBody"
  2376. }
  2377. }
  2378. ],
  2379. "responses": {
  2380. "200": {
  2381. "description": "OK",
  2382. "schema": {
  2383. "$ref": "#/definitions/v1.HouseRentAppointmentListResponse"
  2384. }
  2385. },
  2386. "500": {
  2387. "description": "Internal Server Error",
  2388. "schema": {
  2389. "$ref": "#/definitions/base.HTTPError"
  2390. }
  2391. }
  2392. }
  2393. },
  2394. "delete": {
  2395. "description": "删除租房预约记录",
  2396. "consumes": [
  2397. "application/json"
  2398. ],
  2399. "produces": [
  2400. "application/json"
  2401. ],
  2402. "tags": [
  2403. "房屋租赁"
  2404. ],
  2405. "summary": "删除租房预约记录",
  2406. "parameters": [
  2407. {
  2408. "type": "string",
  2409. "description": "token",
  2410. "name": "token",
  2411. "in": "header",
  2412. "required": true
  2413. },
  2414. {
  2415. "type": "integer",
  2416. "description": "记录id",
  2417. "name": "id",
  2418. "in": "query",
  2419. "required": true
  2420. }
  2421. ],
  2422. "responses": {
  2423. "200": {
  2424. "description": "OK",
  2425. "schema": {
  2426. "$ref": "#/definitions/v1.HouseRentAppointmentDelResponse"
  2427. }
  2428. },
  2429. "500": {
  2430. "description": "Internal Server Error",
  2431. "schema": {
  2432. "$ref": "#/definitions/base.HTTPError"
  2433. }
  2434. }
  2435. }
  2436. }
  2437. },
  2438. "/api/v1/rent/house/down": {
  2439. "put": {
  2440. "description": "下架",
  2441. "consumes": [
  2442. "application/json"
  2443. ],
  2444. "produces": [
  2445. "application/json"
  2446. ],
  2447. "tags": [
  2448. "房屋租赁"
  2449. ],
  2450. "summary": "下架",
  2451. "parameters": [
  2452. {
  2453. "type": "string",
  2454. "description": "token",
  2455. "name": "token",
  2456. "in": "header",
  2457. "required": true
  2458. },
  2459. {
  2460. "description": " ",
  2461. "name": "body",
  2462. "in": "body",
  2463. "required": true,
  2464. "schema": {
  2465. "$ref": "#/definitions/v1.HouseRentDownBody"
  2466. }
  2467. }
  2468. ],
  2469. "responses": {
  2470. "200": {
  2471. "description": "OK",
  2472. "schema": {
  2473. "$ref": "#/definitions/v1.HouseRentDownResponse"
  2474. }
  2475. },
  2476. "500": {
  2477. "description": "Internal Server Error",
  2478. "schema": {
  2479. "$ref": "#/definitions/base.HTTPError"
  2480. }
  2481. }
  2482. }
  2483. }
  2484. },
  2485. "/api/v1/rent/house/manager": {
  2486. "get": {
  2487. "description": "房屋的经纪人列表",
  2488. "consumes": [
  2489. "application/json"
  2490. ],
  2491. "produces": [
  2492. "application/json"
  2493. ],
  2494. "tags": [
  2495. "房屋租赁"
  2496. ],
  2497. "summary": "房屋的经纪人列表",
  2498. "parameters": [
  2499. {
  2500. "type": "string",
  2501. "description": "token",
  2502. "name": "token",
  2503. "in": "header",
  2504. "required": true
  2505. },
  2506. {
  2507. "type": "integer",
  2508. "description": "租房信息id",
  2509. "name": "rent_id",
  2510. "in": "query",
  2511. "required": true
  2512. },
  2513. {
  2514. "type": "integer",
  2515. "description": "小区id",
  2516. "name": "garden_id",
  2517. "in": "query",
  2518. "required": true
  2519. }
  2520. ],
  2521. "responses": {
  2522. "200": {
  2523. "description": "OK",
  2524. "schema": {
  2525. "$ref": "#/definitions/v1.HouseRentManagerListResponse"
  2526. }
  2527. },
  2528. "500": {
  2529. "description": "Internal Server Error",
  2530. "schema": {
  2531. "$ref": "#/definitions/base.HTTPError"
  2532. }
  2533. }
  2534. }
  2535. }
  2536. },
  2537. "/api/v1/repair/class": {
  2538. "get": {
  2539. "description": "分类列表",
  2540. "consumes": [
  2541. "application/json"
  2542. ],
  2543. "produces": [
  2544. "application/json"
  2545. ],
  2546. "tags": [
  2547. "报事报修"
  2548. ],
  2549. "summary": "分类列表",
  2550. "parameters": [
  2551. {
  2552. "type": "string",
  2553. "description": "token",
  2554. "name": "token",
  2555. "in": "header",
  2556. "required": true
  2557. },
  2558. {
  2559. "type": "integer",
  2560. "description": " ",
  2561. "name": "page",
  2562. "in": "query"
  2563. },
  2564. {
  2565. "type": "integer",
  2566. "description": " ",
  2567. "name": "page_size",
  2568. "in": "query"
  2569. },
  2570. {
  2571. "type": "integer",
  2572. "description": " ",
  2573. "name": "garden_id",
  2574. "in": "query",
  2575. "required": true
  2576. },
  2577. {
  2578. "type": "integer",
  2579. "description": " 1 公区 2 室内",
  2580. "name": "area",
  2581. "in": "query"
  2582. }
  2583. ],
  2584. "responses": {
  2585. "200": {
  2586. "description": "OK",
  2587. "schema": {
  2588. "$ref": "#/definitions/v1.RepairClassListResponse"
  2589. }
  2590. },
  2591. "500": {
  2592. "description": "Internal Server Error",
  2593. "schema": {
  2594. "$ref": "#/definitions/base.HTTPError"
  2595. }
  2596. }
  2597. }
  2598. }
  2599. },
  2600. "/api/v1/repair/order": {
  2601. "get": {
  2602. "description": "工单列表",
  2603. "consumes": [
  2604. "application/json"
  2605. ],
  2606. "produces": [
  2607. "application/json"
  2608. ],
  2609. "tags": [
  2610. "报事报修"
  2611. ],
  2612. "summary": "工单列表",
  2613. "parameters": [
  2614. {
  2615. "type": "string",
  2616. "description": "token",
  2617. "name": "token",
  2618. "in": "header",
  2619. "required": true
  2620. },
  2621. {
  2622. "type": "integer",
  2623. "description": " ",
  2624. "name": "page",
  2625. "in": "query"
  2626. },
  2627. {
  2628. "type": "integer",
  2629. "description": " ",
  2630. "name": "page_size",
  2631. "in": "query"
  2632. },
  2633. {
  2634. "type": "integer",
  2635. "description": " 1未派单 2 已派单 3 已完结 ",
  2636. "name": "status",
  2637. "in": "query"
  2638. },
  2639. {
  2640. "type": "string",
  2641. "description": "报修人",
  2642. "name": "apply_people",
  2643. "in": "query"
  2644. },
  2645. {
  2646. "type": "string",
  2647. "description": "报修人电话",
  2648. "name": "apply_people_phone",
  2649. "in": "query"
  2650. },
  2651. {
  2652. "type": "integer",
  2653. "description": " ",
  2654. "name": "garden_id",
  2655. "in": "query",
  2656. "required": true
  2657. },
  2658. {
  2659. "type": "integer",
  2660. "description": "分类id",
  2661. "name": "class_id",
  2662. "in": "query"
  2663. }
  2664. ],
  2665. "responses": {
  2666. "200": {
  2667. "description": "OK",
  2668. "schema": {
  2669. "$ref": "#/definitions/v1.RepairOrderListResponse"
  2670. }
  2671. },
  2672. "500": {
  2673. "description": "Internal Server Error",
  2674. "schema": {
  2675. "$ref": "#/definitions/base.HTTPError"
  2676. }
  2677. }
  2678. }
  2679. },
  2680. "put": {
  2681. "description": "修改工单",
  2682. "consumes": [
  2683. "application/json"
  2684. ],
  2685. "produces": [
  2686. "application/json"
  2687. ],
  2688. "tags": [
  2689. "报事报修"
  2690. ],
  2691. "summary": "修改工单",
  2692. "parameters": [
  2693. {
  2694. "type": "string",
  2695. "description": "token",
  2696. "name": "token",
  2697. "in": "header",
  2698. "required": true
  2699. },
  2700. {
  2701. "description": "信息",
  2702. "name": "body",
  2703. "in": "body",
  2704. "required": true,
  2705. "schema": {
  2706. "$ref": "#/definitions/v1.RepairOrderUpdateBody"
  2707. }
  2708. }
  2709. ],
  2710. "responses": {
  2711. "200": {
  2712. "description": "OK",
  2713. "schema": {
  2714. "$ref": "#/definitions/v1.RepairOrderUpdateResponse"
  2715. }
  2716. },
  2717. "500": {
  2718. "description": "Internal Server Error",
  2719. "schema": {
  2720. "$ref": "#/definitions/base.HTTPError"
  2721. }
  2722. }
  2723. }
  2724. },
  2725. "post": {
  2726. "description": "新增工单",
  2727. "consumes": [
  2728. "application/json"
  2729. ],
  2730. "produces": [
  2731. "application/json"
  2732. ],
  2733. "tags": [
  2734. "报事报修"
  2735. ],
  2736. "summary": "新增工单",
  2737. "parameters": [
  2738. {
  2739. "type": "string",
  2740. "description": "token",
  2741. "name": "token",
  2742. "in": "header",
  2743. "required": true
  2744. },
  2745. {
  2746. "description": "信息",
  2747. "name": "body",
  2748. "in": "body",
  2749. "required": true,
  2750. "schema": {
  2751. "$ref": "#/definitions/v1.RepairOrderAddBody"
  2752. }
  2753. }
  2754. ],
  2755. "responses": {
  2756. "200": {
  2757. "description": "OK",
  2758. "schema": {
  2759. "$ref": "#/definitions/v1.RepairOrderAddResponse"
  2760. }
  2761. },
  2762. "500": {
  2763. "description": "Internal Server Error",
  2764. "schema": {
  2765. "$ref": "#/definitions/base.HTTPError"
  2766. }
  2767. }
  2768. }
  2769. }
  2770. },
  2771. "/api/v1/repair/order/info": {
  2772. "get": {
  2773. "description": "工单详情",
  2774. "consumes": [
  2775. "application/json"
  2776. ],
  2777. "produces": [
  2778. "application/json"
  2779. ],
  2780. "tags": [
  2781. "报事报修"
  2782. ],
  2783. "summary": "工单详情",
  2784. "parameters": [
  2785. {
  2786. "type": "string",
  2787. "description": "token",
  2788. "name": "token",
  2789. "in": "header",
  2790. "required": true
  2791. },
  2792. {
  2793. "type": "integer",
  2794. "description": " ",
  2795. "name": "id",
  2796. "in": "query",
  2797. "required": true
  2798. },
  2799. {
  2800. "type": "integer",
  2801. "description": " ",
  2802. "name": "garden_id",
  2803. "in": "query",
  2804. "required": true
  2805. }
  2806. ],
  2807. "responses": {
  2808. "200": {
  2809. "description": "OK",
  2810. "schema": {
  2811. "$ref": "#/definitions/v1.RepairOrderInfoResponse"
  2812. }
  2813. },
  2814. "500": {
  2815. "description": "Internal Server Error",
  2816. "schema": {
  2817. "$ref": "#/definitions/base.HTTPError"
  2818. }
  2819. }
  2820. }
  2821. }
  2822. },
  2823. "/api/v1/repair/order/return_visit": {
  2824. "put": {
  2825. "description": "回访",
  2826. "consumes": [
  2827. "application/json"
  2828. ],
  2829. "produces": [
  2830. "application/json"
  2831. ],
  2832. "tags": [
  2833. "报事报修"
  2834. ],
  2835. "summary": "回访",
  2836. "parameters": [
  2837. {
  2838. "type": "string",
  2839. "description": "token",
  2840. "name": "token",
  2841. "in": "header",
  2842. "required": true
  2843. },
  2844. {
  2845. "description": "信息",
  2846. "name": "body",
  2847. "in": "body",
  2848. "required": true,
  2849. "schema": {
  2850. "$ref": "#/definitions/v1.RepairOrderReturnVisitBody"
  2851. }
  2852. }
  2853. ],
  2854. "responses": {
  2855. "200": {
  2856. "description": "OK",
  2857. "schema": {
  2858. "$ref": "#/definitions/v1.RepairOrderReturnVisitResponse"
  2859. }
  2860. },
  2861. "500": {
  2862. "description": "Internal Server Error",
  2863. "schema": {
  2864. "$ref": "#/definitions/base.HTTPError"
  2865. }
  2866. }
  2867. }
  2868. }
  2869. },
  2870. "/api/v1/service/announcement": {
  2871. "get": {
  2872. "description": "公告列表",
  2873. "consumes": [
  2874. "application/json"
  2875. ],
  2876. "produces": [
  2877. "application/json"
  2878. ],
  2879. "tags": [
  2880. "公告"
  2881. ],
  2882. "summary": "公告列表",
  2883. "parameters": [
  2884. {
  2885. "type": "string",
  2886. "description": "token",
  2887. "name": "token",
  2888. "in": "header",
  2889. "required": true
  2890. },
  2891. {
  2892. "type": "integer",
  2893. "description": " ",
  2894. "name": "page",
  2895. "in": "query"
  2896. },
  2897. {
  2898. "type": "integer",
  2899. "description": " ",
  2900. "name": "page_size",
  2901. "in": "query"
  2902. },
  2903. {
  2904. "type": "integer",
  2905. "description": "小区id",
  2906. "name": "garden_id",
  2907. "in": "query",
  2908. "required": true
  2909. }
  2910. ],
  2911. "responses": {
  2912. "200": {
  2913. "description": "OK",
  2914. "schema": {
  2915. "$ref": "#/definitions/v1.AnnouncementListResponse"
  2916. }
  2917. },
  2918. "500": {
  2919. "description": "Internal Server Error",
  2920. "schema": {
  2921. "$ref": "#/definitions/base.HTTPError"
  2922. }
  2923. }
  2924. }
  2925. }
  2926. },
  2927. "/api/v1/service/announcement/read_count": {
  2928. "put": {
  2929. "description": "公告增加阅读次数",
  2930. "consumes": [
  2931. "application/json"
  2932. ],
  2933. "produces": [
  2934. "application/json"
  2935. ],
  2936. "tags": [
  2937. "公告"
  2938. ],
  2939. "summary": "公告增加阅读次数",
  2940. "parameters": [
  2941. {
  2942. "type": "string",
  2943. "description": "token",
  2944. "name": "token",
  2945. "in": "header",
  2946. "required": true
  2947. },
  2948. {
  2949. "type": "integer",
  2950. "description": " ",
  2951. "name": "page",
  2952. "in": "query"
  2953. },
  2954. {
  2955. "type": "integer",
  2956. "description": " ",
  2957. "name": "page_size",
  2958. "in": "query"
  2959. },
  2960. {
  2961. "type": "integer",
  2962. "description": "小区id",
  2963. "name": "garden_id",
  2964. "in": "query",
  2965. "required": true
  2966. },
  2967. {
  2968. "type": "integer",
  2969. "description": "公告id",
  2970. "name": "id",
  2971. "in": "query",
  2972. "required": true
  2973. }
  2974. ],
  2975. "responses": {
  2976. "200": {
  2977. "description": "OK",
  2978. "schema": {
  2979. "$ref": "#/definitions/v1.AnnouncementReadAddResponse"
  2980. }
  2981. },
  2982. "500": {
  2983. "description": "Internal Server Error",
  2984. "schema": {
  2985. "$ref": "#/definitions/base.HTTPError"
  2986. }
  2987. }
  2988. }
  2989. }
  2990. },
  2991. "/api/v1/service/event": {
  2992. "get": {
  2993. "description": "社区活动列表",
  2994. "consumes": [
  2995. "application/json"
  2996. ],
  2997. "produces": [
  2998. "application/json"
  2999. ],
  3000. "tags": [
  3001. "社区活动"
  3002. ],
  3003. "summary": "社区活动列表",
  3004. "parameters": [
  3005. {
  3006. "type": "string",
  3007. "description": "token",
  3008. "name": "token",
  3009. "in": "header",
  3010. "required": true
  3011. },
  3012. {
  3013. "type": "integer",
  3014. "description": " ",
  3015. "name": "page",
  3016. "in": "query"
  3017. },
  3018. {
  3019. "type": "integer",
  3020. "description": " ",
  3021. "name": "page_size",
  3022. "in": "query"
  3023. },
  3024. {
  3025. "type": "integer",
  3026. "description": " ",
  3027. "name": "garden_id",
  3028. "in": "query",
  3029. "required": true
  3030. }
  3031. ],
  3032. "responses": {
  3033. "200": {
  3034. "description": "OK",
  3035. "schema": {
  3036. "$ref": "#/definitions/v1.EventListResponse"
  3037. }
  3038. },
  3039. "500": {
  3040. "description": "Internal Server Error",
  3041. "schema": {
  3042. "$ref": "#/definitions/base.HTTPError"
  3043. }
  3044. }
  3045. }
  3046. }
  3047. },
  3048. "/api/v1/service/event/sign": {
  3049. "post": {
  3050. "description": "添加社区活动报名",
  3051. "consumes": [
  3052. "application/json"
  3053. ],
  3054. "produces": [
  3055. "application/json"
  3056. ],
  3057. "tags": [
  3058. "社区活动"
  3059. ],
  3060. "summary": "社区活动报名",
  3061. "parameters": [
  3062. {
  3063. "type": "string",
  3064. "description": "token",
  3065. "name": "token",
  3066. "in": "header",
  3067. "required": true
  3068. },
  3069. {
  3070. "description": "信息",
  3071. "name": "body",
  3072. "in": "body",
  3073. "required": true,
  3074. "schema": {
  3075. "$ref": "#/definitions/v1.EventSignAddBody"
  3076. }
  3077. }
  3078. ],
  3079. "responses": {
  3080. "200": {
  3081. "description": "OK",
  3082. "schema": {
  3083. "$ref": "#/definitions/v1.EventSignAddResponse"
  3084. }
  3085. },
  3086. "500": {
  3087. "description": "Internal Server Error",
  3088. "schema": {
  3089. "$ref": "#/definitions/base.HTTPError"
  3090. }
  3091. }
  3092. }
  3093. }
  3094. },
  3095. "/api/v1/service/neighbor/article": {
  3096. "get": {
  3097. "description": "文章列表",
  3098. "consumes": [
  3099. "application/json"
  3100. ],
  3101. "produces": [
  3102. "application/json"
  3103. ],
  3104. "tags": [
  3105. "社区邻里"
  3106. ],
  3107. "summary": "文章列表",
  3108. "parameters": [
  3109. {
  3110. "type": "string",
  3111. "description": "token",
  3112. "name": "token",
  3113. "in": "header",
  3114. "required": true
  3115. },
  3116. {
  3117. "type": "integer",
  3118. "description": "小区id",
  3119. "name": "garden_id",
  3120. "in": "query",
  3121. "required": true
  3122. },
  3123. {
  3124. "type": "integer",
  3125. "description": " ",
  3126. "name": "page",
  3127. "in": "query"
  3128. },
  3129. {
  3130. "type": "integer",
  3131. "description": " ",
  3132. "name": "page_size",
  3133. "in": "query"
  3134. },
  3135. {
  3136. "type": "string",
  3137. "description": "文章标题 ",
  3138. "name": "title",
  3139. "in": "query"
  3140. },
  3141. {
  3142. "type": "boolean",
  3143. "description": "true我发布的 false 不过滤 ",
  3144. "name": "is_me",
  3145. "in": "query"
  3146. }
  3147. ],
  3148. "responses": {
  3149. "200": {
  3150. "description": "OK",
  3151. "schema": {
  3152. "$ref": "#/definitions/v1.NeighborArticleListResponse"
  3153. }
  3154. },
  3155. "500": {
  3156. "description": "Internal Server Error",
  3157. "schema": {
  3158. "$ref": "#/definitions/base.HTTPError"
  3159. }
  3160. }
  3161. }
  3162. },
  3163. "put": {
  3164. "description": "修改文章",
  3165. "consumes": [
  3166. "application/json"
  3167. ],
  3168. "produces": [
  3169. "application/json"
  3170. ],
  3171. "tags": [
  3172. "社区邻里"
  3173. ],
  3174. "summary": "修改文章",
  3175. "parameters": [
  3176. {
  3177. "type": "string",
  3178. "description": "token",
  3179. "name": "token",
  3180. "in": "header",
  3181. "required": true
  3182. },
  3183. {
  3184. "description": "信息",
  3185. "name": "body",
  3186. "in": "body",
  3187. "required": true,
  3188. "schema": {
  3189. "$ref": "#/definitions/v1.NeighborArticleUpdateBody"
  3190. }
  3191. }
  3192. ],
  3193. "responses": {
  3194. "200": {
  3195. "description": "OK",
  3196. "schema": {
  3197. "$ref": "#/definitions/v1.NeighborArticleUpdateResponse"
  3198. }
  3199. },
  3200. "500": {
  3201. "description": "Internal Server Error",
  3202. "schema": {
  3203. "$ref": "#/definitions/base.HTTPError"
  3204. }
  3205. }
  3206. }
  3207. },
  3208. "post": {
  3209. "description": "添加文章",
  3210. "consumes": [
  3211. "application/json"
  3212. ],
  3213. "produces": [
  3214. "application/json"
  3215. ],
  3216. "tags": [
  3217. "社区邻里"
  3218. ],
  3219. "summary": "添加文章",
  3220. "parameters": [
  3221. {
  3222. "type": "string",
  3223. "description": "token",
  3224. "name": "token",
  3225. "in": "header",
  3226. "required": true
  3227. },
  3228. {
  3229. "description": "信息",
  3230. "name": "body",
  3231. "in": "body",
  3232. "required": true,
  3233. "schema": {
  3234. "$ref": "#/definitions/v1.NeighborArticleAddBody"
  3235. }
  3236. }
  3237. ],
  3238. "responses": {
  3239. "200": {
  3240. "description": "OK",
  3241. "schema": {
  3242. "$ref": "#/definitions/v1.NeighborArticleAddResponse"
  3243. }
  3244. },
  3245. "500": {
  3246. "description": "Internal Server Error",
  3247. "schema": {
  3248. "$ref": "#/definitions/base.HTTPError"
  3249. }
  3250. }
  3251. }
  3252. },
  3253. "delete": {
  3254. "description": "删除文章",
  3255. "consumes": [
  3256. "application/json"
  3257. ],
  3258. "produces": [
  3259. "application/json"
  3260. ],
  3261. "tags": [
  3262. "社区邻里"
  3263. ],
  3264. "summary": "删除文章",
  3265. "parameters": [
  3266. {
  3267. "type": "string",
  3268. "description": "token",
  3269. "name": "token",
  3270. "in": "header",
  3271. "required": true
  3272. },
  3273. {
  3274. "type": "integer",
  3275. "description": "小区id",
  3276. "name": "garden_id",
  3277. "in": "query",
  3278. "required": true
  3279. },
  3280. {
  3281. "type": "integer",
  3282. "description": " ",
  3283. "name": "id",
  3284. "in": "query",
  3285. "required": true
  3286. }
  3287. ],
  3288. "responses": {
  3289. "200": {
  3290. "description": "OK",
  3291. "schema": {
  3292. "$ref": "#/definitions/v1.NeighborArticleDelResponse"
  3293. }
  3294. },
  3295. "500": {
  3296. "description": "Internal Server Error",
  3297. "schema": {
  3298. "$ref": "#/definitions/base.HTTPError"
  3299. }
  3300. }
  3301. }
  3302. }
  3303. },
  3304. "/api/v1/service/neighbor/class": {
  3305. "get": {
  3306. "description": "分类列表",
  3307. "consumes": [
  3308. "application/json"
  3309. ],
  3310. "produces": [
  3311. "application/json"
  3312. ],
  3313. "tags": [
  3314. "社区邻里"
  3315. ],
  3316. "summary": "分类列表",
  3317. "parameters": [
  3318. {
  3319. "type": "string",
  3320. "description": "token",
  3321. "name": "token",
  3322. "in": "header",
  3323. "required": true
  3324. },
  3325. {
  3326. "type": "integer",
  3327. "description": "小区id",
  3328. "name": "garden_id",
  3329. "in": "query",
  3330. "required": true
  3331. },
  3332. {
  3333. "type": "integer",
  3334. "description": " ",
  3335. "name": "page",
  3336. "in": "query"
  3337. },
  3338. {
  3339. "type": "integer",
  3340. "description": " ",
  3341. "name": "page_size",
  3342. "in": "query"
  3343. },
  3344. {
  3345. "type": "string",
  3346. "description": "分类名称",
  3347. "name": "class_name",
  3348. "in": "query"
  3349. }
  3350. ],
  3351. "responses": {
  3352. "200": {
  3353. "description": "OK",
  3354. "schema": {
  3355. "$ref": "#/definitions/v1.NeighborClassListResponse"
  3356. }
  3357. },
  3358. "500": {
  3359. "description": "Internal Server Error",
  3360. "schema": {
  3361. "$ref": "#/definitions/base.HTTPError"
  3362. }
  3363. }
  3364. }
  3365. }
  3366. },
  3367. "/api/v1/service/neighbor/comment": {
  3368. "get": {
  3369. "description": "评论列表",
  3370. "consumes": [
  3371. "application/json"
  3372. ],
  3373. "produces": [
  3374. "application/json"
  3375. ],
  3376. "tags": [
  3377. "社区邻里"
  3378. ],
  3379. "summary": "评论列表",
  3380. "parameters": [
  3381. {
  3382. "type": "string",
  3383. "description": "token",
  3384. "name": "token",
  3385. "in": "header",
  3386. "required": true
  3387. },
  3388. {
  3389. "type": "integer",
  3390. "description": "小区id",
  3391. "name": "garden_id",
  3392. "in": "query",
  3393. "required": true
  3394. },
  3395. {
  3396. "type": "integer",
  3397. "description": " ",
  3398. "name": "page",
  3399. "in": "query"
  3400. },
  3401. {
  3402. "type": "integer",
  3403. "description": " ",
  3404. "name": "page_size",
  3405. "in": "query"
  3406. },
  3407. {
  3408. "type": "integer",
  3409. "description": "文章id",
  3410. "name": "article_id",
  3411. "in": "query",
  3412. "required": true
  3413. },
  3414. {
  3415. "type": "integer",
  3416. "description": "父评论id",
  3417. "name": "pid",
  3418. "in": "query"
  3419. }
  3420. ],
  3421. "responses": {
  3422. "200": {
  3423. "description": "OK",
  3424. "schema": {
  3425. "$ref": "#/definitions/v1.NeighborCommentListResponse"
  3426. }
  3427. },
  3428. "500": {
  3429. "description": "Internal Server Error",
  3430. "schema": {
  3431. "$ref": "#/definitions/base.HTTPError"
  3432. }
  3433. }
  3434. }
  3435. },
  3436. "put": {
  3437. "description": "修改评论",
  3438. "consumes": [
  3439. "application/json"
  3440. ],
  3441. "produces": [
  3442. "application/json"
  3443. ],
  3444. "tags": [
  3445. "社区邻里"
  3446. ],
  3447. "summary": "修改评论",
  3448. "parameters": [
  3449. {
  3450. "type": "string",
  3451. "description": "token",
  3452. "name": "token",
  3453. "in": "header",
  3454. "required": true
  3455. },
  3456. {
  3457. "description": "信息",
  3458. "name": "body",
  3459. "in": "body",
  3460. "required": true,
  3461. "schema": {
  3462. "$ref": "#/definitions/v1.NeighborCommentUpdateBody"
  3463. }
  3464. }
  3465. ],
  3466. "responses": {
  3467. "200": {
  3468. "description": "OK",
  3469. "schema": {
  3470. "$ref": "#/definitions/v1.NeighborCommentUpdateResponse"
  3471. }
  3472. },
  3473. "500": {
  3474. "description": "Internal Server Error",
  3475. "schema": {
  3476. "$ref": "#/definitions/base.HTTPError"
  3477. }
  3478. }
  3479. }
  3480. },
  3481. "post": {
  3482. "description": "添加评论",
  3483. "consumes": [
  3484. "application/json"
  3485. ],
  3486. "produces": [
  3487. "application/json"
  3488. ],
  3489. "tags": [
  3490. "社区邻里"
  3491. ],
  3492. "summary": "添加评论",
  3493. "parameters": [
  3494. {
  3495. "type": "string",
  3496. "description": "token",
  3497. "name": "token",
  3498. "in": "header",
  3499. "required": true
  3500. },
  3501. {
  3502. "description": "信息",
  3503. "name": "body",
  3504. "in": "body",
  3505. "required": true,
  3506. "schema": {
  3507. "$ref": "#/definitions/v1.NeighborCommentAddBody"
  3508. }
  3509. }
  3510. ],
  3511. "responses": {
  3512. "200": {
  3513. "description": "OK",
  3514. "schema": {
  3515. "$ref": "#/definitions/v1.NeighborCommentAddResponse"
  3516. }
  3517. },
  3518. "500": {
  3519. "description": "Internal Server Error",
  3520. "schema": {
  3521. "$ref": "#/definitions/base.HTTPError"
  3522. }
  3523. }
  3524. }
  3525. },
  3526. "delete": {
  3527. "description": "删除评论",
  3528. "consumes": [
  3529. "application/json"
  3530. ],
  3531. "produces": [
  3532. "application/json"
  3533. ],
  3534. "tags": [
  3535. "社区邻里"
  3536. ],
  3537. "summary": "删除评论",
  3538. "parameters": [
  3539. {
  3540. "type": "string",
  3541. "description": "token",
  3542. "name": "token",
  3543. "in": "header",
  3544. "required": true
  3545. },
  3546. {
  3547. "type": "integer",
  3548. "description": "小区id",
  3549. "name": "garden_id",
  3550. "in": "query",
  3551. "required": true
  3552. },
  3553. {
  3554. "type": "integer",
  3555. "description": " ",
  3556. "name": "id",
  3557. "in": "query",
  3558. "required": true
  3559. }
  3560. ],
  3561. "responses": {
  3562. "200": {
  3563. "description": "OK",
  3564. "schema": {
  3565. "$ref": "#/definitions/v1.NeighborCommentDelResponse"
  3566. }
  3567. },
  3568. "500": {
  3569. "description": "Internal Server Error",
  3570. "schema": {
  3571. "$ref": "#/definitions/base.HTTPError"
  3572. }
  3573. }
  3574. }
  3575. }
  3576. },
  3577. "/api/v1/service/neighbor/like": {
  3578. "put": {
  3579. "description": "点赞或撤销点赞",
  3580. "consumes": [
  3581. "application/json"
  3582. ],
  3583. "produces": [
  3584. "application/json"
  3585. ],
  3586. "tags": [
  3587. "社区邻里"
  3588. ],
  3589. "summary": "点赞或撤销点赞",
  3590. "parameters": [
  3591. {
  3592. "type": "string",
  3593. "description": "token",
  3594. "name": "token",
  3595. "in": "header",
  3596. "required": true
  3597. },
  3598. {
  3599. "description": "信息",
  3600. "name": "body",
  3601. "in": "body",
  3602. "required": true,
  3603. "schema": {
  3604. "$ref": "#/definitions/v1.NeighborLikeBody"
  3605. }
  3606. }
  3607. ],
  3608. "responses": {
  3609. "200": {
  3610. "description": "OK",
  3611. "schema": {
  3612. "$ref": "#/definitions/v1.NeighborLikeResponse"
  3613. }
  3614. },
  3615. "500": {
  3616. "description": "Internal Server Error",
  3617. "schema": {
  3618. "$ref": "#/definitions/base.HTTPError"
  3619. }
  3620. }
  3621. }
  3622. }
  3623. },
  3624. "/api/v1/service/vote": {
  3625. "get": {
  3626. "description": "投票列表",
  3627. "consumes": [
  3628. "application/json"
  3629. ],
  3630. "produces": [
  3631. "application/json"
  3632. ],
  3633. "tags": [
  3634. "投票"
  3635. ],
  3636. "summary": "投票列表",
  3637. "parameters": [
  3638. {
  3639. "type": "string",
  3640. "description": "token",
  3641. "name": "token",
  3642. "in": "header",
  3643. "required": true
  3644. },
  3645. {
  3646. "type": "integer",
  3647. "description": " ",
  3648. "name": "page",
  3649. "in": "query"
  3650. },
  3651. {
  3652. "type": "integer",
  3653. "description": " ",
  3654. "name": "page_size",
  3655. "in": "query"
  3656. },
  3657. {
  3658. "type": "string",
  3659. "description": "投票标题",
  3660. "name": "title",
  3661. "in": "query"
  3662. },
  3663. {
  3664. "type": "integer",
  3665. "description": "小区id",
  3666. "name": "garden_id",
  3667. "in": "query",
  3668. "required": true
  3669. }
  3670. ],
  3671. "responses": {
  3672. "200": {
  3673. "description": "OK",
  3674. "schema": {
  3675. "$ref": "#/definitions/v1.VoteListForHouseholdResponse"
  3676. }
  3677. },
  3678. "500": {
  3679. "description": "Internal Server Error",
  3680. "schema": {
  3681. "$ref": "#/definitions/base.HTTPError"
  3682. }
  3683. }
  3684. }
  3685. }
  3686. },
  3687. "/api/v1/service/vote/answer": {
  3688. "post": {
  3689. "description": "提交投票回答",
  3690. "consumes": [
  3691. "application/json"
  3692. ],
  3693. "produces": [
  3694. "application/json"
  3695. ],
  3696. "tags": [
  3697. "投票"
  3698. ],
  3699. "summary": "提交投票回答",
  3700. "parameters": [
  3701. {
  3702. "type": "string",
  3703. "description": "token",
  3704. "name": "token",
  3705. "in": "header",
  3706. "required": true
  3707. },
  3708. {
  3709. "description": "信息",
  3710. "name": "body",
  3711. "in": "body",
  3712. "required": true,
  3713. "schema": {
  3714. "$ref": "#/definitions/v1.VoteAddAnswerBody"
  3715. }
  3716. }
  3717. ],
  3718. "responses": {
  3719. "200": {
  3720. "description": "OK",
  3721. "schema": {
  3722. "$ref": "#/definitions/v1.VoteAddAnswerResponse"
  3723. }
  3724. },
  3725. "500": {
  3726. "description": "Internal Server Error",
  3727. "schema": {
  3728. "$ref": "#/definitions/base.HTTPError"
  3729. }
  3730. }
  3731. }
  3732. }
  3733. },
  3734. "/api/v1/service/vote/result/statistic": {
  3735. "get": {
  3736. "description": "投票结果统计",
  3737. "consumes": [
  3738. "application/json"
  3739. ],
  3740. "produces": [
  3741. "application/json"
  3742. ],
  3743. "tags": [
  3744. "投票"
  3745. ],
  3746. "summary": "投票结果统计",
  3747. "parameters": [
  3748. {
  3749. "type": "string",
  3750. "description": "token",
  3751. "name": "token",
  3752. "in": "header",
  3753. "required": true
  3754. },
  3755. {
  3756. "type": "integer",
  3757. "description": " ",
  3758. "name": "id",
  3759. "in": "query",
  3760. "required": true
  3761. },
  3762. {
  3763. "type": "integer",
  3764. "description": "小区id",
  3765. "name": "garden_id",
  3766. "in": "query",
  3767. "required": true
  3768. }
  3769. ],
  3770. "responses": {
  3771. "200": {
  3772. "description": "OK",
  3773. "schema": {
  3774. "$ref": "#/definitions/v1.VoteResultStatisticResponse"
  3775. }
  3776. },
  3777. "500": {
  3778. "description": "Internal Server Error",
  3779. "schema": {
  3780. "$ref": "#/definitions/base.HTTPError"
  3781. }
  3782. }
  3783. }
  3784. }
  3785. },
  3786. "/api/v1/service_phone": {
  3787. "get": {
  3788. "description": "电话列表",
  3789. "consumes": [
  3790. "application/json"
  3791. ],
  3792. "produces": [
  3793. "application/json"
  3794. ],
  3795. "tags": [
  3796. "服务电话"
  3797. ],
  3798. "summary": "电话列表",
  3799. "parameters": [
  3800. {
  3801. "type": "string",
  3802. "description": "token",
  3803. "name": "token",
  3804. "in": "header",
  3805. "required": true
  3806. },
  3807. {
  3808. "type": "integer",
  3809. "description": " ",
  3810. "name": "page",
  3811. "in": "query"
  3812. },
  3813. {
  3814. "type": "integer",
  3815. "description": " ",
  3816. "name": "page_size",
  3817. "in": "query"
  3818. },
  3819. {
  3820. "type": "integer",
  3821. "description": "分类id",
  3822. "name": "class_id",
  3823. "in": "query"
  3824. },
  3825. {
  3826. "type": "integer",
  3827. "description": "小区id",
  3828. "name": "garden_id",
  3829. "in": "query",
  3830. "required": true
  3831. }
  3832. ],
  3833. "responses": {
  3834. "200": {
  3835. "description": "OK",
  3836. "schema": {
  3837. "$ref": "#/definitions/v1.ServicePhoneListResponse"
  3838. }
  3839. },
  3840. "500": {
  3841. "description": "Internal Server Error",
  3842. "schema": {
  3843. "$ref": "#/definitions/base.HTTPError"
  3844. }
  3845. }
  3846. }
  3847. }
  3848. },
  3849. "/api/v1/service_phone/class": {
  3850. "get": {
  3851. "description": "分类列表",
  3852. "consumes": [
  3853. "application/json"
  3854. ],
  3855. "produces": [
  3856. "application/json"
  3857. ],
  3858. "tags": [
  3859. "服务电话"
  3860. ],
  3861. "summary": "分类列表",
  3862. "parameters": [
  3863. {
  3864. "type": "string",
  3865. "description": "token",
  3866. "name": "token",
  3867. "in": "header",
  3868. "required": true
  3869. },
  3870. {
  3871. "type": "integer",
  3872. "description": " ",
  3873. "name": "page",
  3874. "in": "query"
  3875. },
  3876. {
  3877. "type": "integer",
  3878. "description": " ",
  3879. "name": "page_size",
  3880. "in": "query"
  3881. },
  3882. {
  3883. "type": "integer",
  3884. "description": "小区id",
  3885. "name": "garden_id",
  3886. "in": "query",
  3887. "required": true
  3888. }
  3889. ],
  3890. "responses": {
  3891. "200": {
  3892. "description": "OK",
  3893. "schema": {
  3894. "$ref": "#/definitions/v1.ServicePhoneClassListResponse"
  3895. }
  3896. },
  3897. "500": {
  3898. "description": "Internal Server Error",
  3899. "schema": {
  3900. "$ref": "#/definitions/base.HTTPError"
  3901. }
  3902. }
  3903. }
  3904. }
  3905. },
  3906. "/api/v1/suggestion/order": {
  3907. "get": {
  3908. "description": "工单列表",
  3909. "consumes": [
  3910. "application/json"
  3911. ],
  3912. "produces": [
  3913. "application/json"
  3914. ],
  3915. "tags": [
  3916. "投诉与建议"
  3917. ],
  3918. "summary": "工单列表",
  3919. "parameters": [
  3920. {
  3921. "type": "string",
  3922. "description": "token",
  3923. "name": "token",
  3924. "in": "header",
  3925. "required": true
  3926. },
  3927. {
  3928. "type": "integer",
  3929. "description": " ",
  3930. "name": "page",
  3931. "in": "query"
  3932. },
  3933. {
  3934. "type": "integer",
  3935. "description": " ",
  3936. "name": "page_size",
  3937. "in": "query"
  3938. },
  3939. {
  3940. "type": "integer",
  3941. "description": " 1未派单 2 已派单 3 已完结 ",
  3942. "name": "status",
  3943. "in": "query"
  3944. },
  3945. {
  3946. "type": "string",
  3947. "description": "报修人",
  3948. "name": "apply_people",
  3949. "in": "query"
  3950. },
  3951. {
  3952. "type": "string",
  3953. "description": "报修人电话",
  3954. "name": "apply_people_phone",
  3955. "in": "query"
  3956. },
  3957. {
  3958. "type": "integer",
  3959. "description": " ",
  3960. "name": "garden_id",
  3961. "in": "query",
  3962. "required": true
  3963. },
  3964. {
  3965. "type": "integer",
  3966. "description": "投诉类型 1 投诉 2 建议",
  3967. "name": "suggestion_type",
  3968. "in": "query"
  3969. }
  3970. ],
  3971. "responses": {
  3972. "200": {
  3973. "description": "OK",
  3974. "schema": {
  3975. "$ref": "#/definitions/v1.SuggestionOrderListResponse"
  3976. }
  3977. },
  3978. "500": {
  3979. "description": "Internal Server Error",
  3980. "schema": {
  3981. "$ref": "#/definitions/base.HTTPError"
  3982. }
  3983. }
  3984. }
  3985. },
  3986. "put": {
  3987. "description": "修改工单",
  3988. "consumes": [
  3989. "application/json"
  3990. ],
  3991. "produces": [
  3992. "application/json"
  3993. ],
  3994. "tags": [
  3995. "投诉与建议"
  3996. ],
  3997. "summary": "修改工单",
  3998. "parameters": [
  3999. {
  4000. "type": "string",
  4001. "description": "token",
  4002. "name": "token",
  4003. "in": "header",
  4004. "required": true
  4005. },
  4006. {
  4007. "description": "信息",
  4008. "name": "body",
  4009. "in": "body",
  4010. "required": true,
  4011. "schema": {
  4012. "$ref": "#/definitions/v1.SuggestionOrderUpdateBody"
  4013. }
  4014. }
  4015. ],
  4016. "responses": {
  4017. "200": {
  4018. "description": "OK",
  4019. "schema": {
  4020. "$ref": "#/definitions/v1.SuggestionOrderUpdateResponse"
  4021. }
  4022. },
  4023. "500": {
  4024. "description": "Internal Server Error",
  4025. "schema": {
  4026. "$ref": "#/definitions/base.HTTPError"
  4027. }
  4028. }
  4029. }
  4030. },
  4031. "post": {
  4032. "description": "新增工单",
  4033. "consumes": [
  4034. "application/json"
  4035. ],
  4036. "produces": [
  4037. "application/json"
  4038. ],
  4039. "tags": [
  4040. "投诉与建议"
  4041. ],
  4042. "summary": "新增工单",
  4043. "parameters": [
  4044. {
  4045. "type": "string",
  4046. "description": "token",
  4047. "name": "token",
  4048. "in": "header",
  4049. "required": true
  4050. },
  4051. {
  4052. "description": "信息",
  4053. "name": "body",
  4054. "in": "body",
  4055. "required": true,
  4056. "schema": {
  4057. "$ref": "#/definitions/v1.SuggestionOrderAddBody"
  4058. }
  4059. }
  4060. ],
  4061. "responses": {
  4062. "200": {
  4063. "description": "OK",
  4064. "schema": {
  4065. "$ref": "#/definitions/v1.SuggestionOrderAddResponse"
  4066. }
  4067. },
  4068. "500": {
  4069. "description": "Internal Server Error",
  4070. "schema": {
  4071. "$ref": "#/definitions/base.HTTPError"
  4072. }
  4073. }
  4074. }
  4075. }
  4076. },
  4077. "/api/v1/suggestion/order/info": {
  4078. "get": {
  4079. "description": "工单详情",
  4080. "consumes": [
  4081. "application/json"
  4082. ],
  4083. "produces": [
  4084. "application/json"
  4085. ],
  4086. "tags": [
  4087. "投诉与建议"
  4088. ],
  4089. "summary": "工单详情",
  4090. "parameters": [
  4091. {
  4092. "type": "string",
  4093. "description": "token",
  4094. "name": "token",
  4095. "in": "header",
  4096. "required": true
  4097. },
  4098. {
  4099. "type": "integer",
  4100. "description": " ",
  4101. "name": "id",
  4102. "in": "query",
  4103. "required": true
  4104. },
  4105. {
  4106. "type": "integer",
  4107. "description": " ",
  4108. "name": "garden_id",
  4109. "in": "query",
  4110. "required": true
  4111. }
  4112. ],
  4113. "responses": {
  4114. "200": {
  4115. "description": "OK",
  4116. "schema": {
  4117. "$ref": "#/definitions/v1.SuggestionOrderInfoResponse"
  4118. }
  4119. },
  4120. "500": {
  4121. "description": "Internal Server Error",
  4122. "schema": {
  4123. "$ref": "#/definitions/base.HTTPError"
  4124. }
  4125. }
  4126. }
  4127. }
  4128. },
  4129. "/api/v1/suggestion/order/return_visit": {
  4130. "put": {
  4131. "description": "回访",
  4132. "consumes": [
  4133. "application/json"
  4134. ],
  4135. "produces": [
  4136. "application/json"
  4137. ],
  4138. "tags": [
  4139. "投诉与建议"
  4140. ],
  4141. "summary": "回访",
  4142. "parameters": [
  4143. {
  4144. "type": "string",
  4145. "description": "token",
  4146. "name": "token",
  4147. "in": "header",
  4148. "required": true
  4149. },
  4150. {
  4151. "description": "信息",
  4152. "name": "body",
  4153. "in": "body",
  4154. "required": true,
  4155. "schema": {
  4156. "$ref": "#/definitions/v1.SuggestionOrderReturnVisitBody"
  4157. }
  4158. }
  4159. ],
  4160. "responses": {
  4161. "200": {
  4162. "description": "OK",
  4163. "schema": {
  4164. "$ref": "#/definitions/v1.SuggestionOrderReturnVisitResponse"
  4165. }
  4166. },
  4167. "500": {
  4168. "description": "Internal Server Error",
  4169. "schema": {
  4170. "$ref": "#/definitions/base.HTTPError"
  4171. }
  4172. }
  4173. }
  4174. }
  4175. },
  4176. "/api/v1/token_refresh": {
  4177. "put": {
  4178. "description": "刷新token",
  4179. "consumes": [
  4180. "application/json"
  4181. ],
  4182. "produces": [
  4183. "application/json"
  4184. ],
  4185. "tags": [
  4186. "用户"
  4187. ],
  4188. "summary": "刷新token",
  4189. "parameters": [
  4190. {
  4191. "type": "string",
  4192. "description": "token",
  4193. "name": "token",
  4194. "in": "header",
  4195. "required": true
  4196. }
  4197. ],
  4198. "responses": {
  4199. "200": {
  4200. "description": "OK",
  4201. "schema": {
  4202. "$ref": "#/definitions/v1.TokenResponse"
  4203. }
  4204. },
  4205. "500": {
  4206. "description": "Internal Server Error",
  4207. "schema": {
  4208. "$ref": "#/definitions/base.HTTPError"
  4209. }
  4210. }
  4211. }
  4212. }
  4213. },
  4214. "/api/v1/upload": {
  4215. "post": {
  4216. "description": "上传文件",
  4217. "consumes": [
  4218. "application/json"
  4219. ],
  4220. "produces": [
  4221. "application/json"
  4222. ],
  4223. "tags": [
  4224. "upload"
  4225. ],
  4226. "summary": "上传文件",
  4227. "parameters": [
  4228. {
  4229. "type": "string",
  4230. "description": "jwt token",
  4231. "name": "token",
  4232. "in": "header",
  4233. "required": true
  4234. },
  4235. {
  4236. "type": "file",
  4237. "description": "file",
  4238. "name": "file",
  4239. "in": "formData"
  4240. }
  4241. ],
  4242. "responses": {
  4243. "200": {
  4244. "description": "OK",
  4245. "schema": {
  4246. "$ref": "#/definitions/v1.UploadResponse"
  4247. }
  4248. },
  4249. "500": {
  4250. "description": "Internal Server Error",
  4251. "schema": {
  4252. "$ref": "#/definitions/base.HTTPError"
  4253. }
  4254. }
  4255. }
  4256. }
  4257. },
  4258. "/api/v1/user/house": {
  4259. "get": {
  4260. "description": "用户的房屋",
  4261. "consumes": [
  4262. "application/json"
  4263. ],
  4264. "produces": [
  4265. "application/json"
  4266. ],
  4267. "tags": [
  4268. "用户"
  4269. ],
  4270. "summary": "用户的房屋",
  4271. "parameters": [
  4272. {
  4273. "type": "string",
  4274. "description": "token",
  4275. "name": "token",
  4276. "in": "header",
  4277. "required": true
  4278. },
  4279. {
  4280. "type": "boolean",
  4281. "description": "true:返回可发布租房的房屋 false:返回用户的所有房屋",
  4282. "name": "for_rent",
  4283. "in": "query"
  4284. }
  4285. ],
  4286. "responses": {
  4287. "200": {
  4288. "description": "OK",
  4289. "schema": {
  4290. "$ref": "#/definitions/v1.HouseholdHousesResponse"
  4291. }
  4292. },
  4293. "500": {
  4294. "description": "Internal Server Error",
  4295. "schema": {
  4296. "$ref": "#/definitions/base.HTTPError"
  4297. }
  4298. }
  4299. }
  4300. }
  4301. },
  4302. "/api/v1/user/info": {
  4303. "get": {
  4304. "description": "获取用户信息",
  4305. "consumes": [
  4306. "application/json"
  4307. ],
  4308. "produces": [
  4309. "application/json"
  4310. ],
  4311. "tags": [
  4312. "用户"
  4313. ],
  4314. "summary": "获取用户信息",
  4315. "parameters": [
  4316. {
  4317. "type": "string",
  4318. "description": "token",
  4319. "name": "token",
  4320. "in": "header",
  4321. "required": true
  4322. }
  4323. ],
  4324. "responses": {
  4325. "200": {
  4326. "description": "OK",
  4327. "schema": {
  4328. "$ref": "#/definitions/v1.UserInfoResponse"
  4329. }
  4330. },
  4331. "500": {
  4332. "description": "Internal Server Error",
  4333. "schema": {
  4334. "$ref": "#/definitions/base.HTTPError"
  4335. }
  4336. }
  4337. }
  4338. }
  4339. },
  4340. "/api/v1/user/login": {
  4341. "post": {
  4342. "description": "登录",
  4343. "consumes": [
  4344. "application/json"
  4345. ],
  4346. "produces": [
  4347. "application/json"
  4348. ],
  4349. "tags": [
  4350. "用户"
  4351. ],
  4352. "summary": "登录",
  4353. "parameters": [
  4354. {
  4355. "description": "登录信息",
  4356. "name": "body",
  4357. "in": "body",
  4358. "required": true,
  4359. "schema": {
  4360. "$ref": "#/definitions/v1.LoginBody"
  4361. }
  4362. }
  4363. ],
  4364. "responses": {
  4365. "200": {
  4366. "description": "OK",
  4367. "schema": {
  4368. "$ref": "#/definitions/v1.LoginResponse"
  4369. }
  4370. },
  4371. "500": {
  4372. "description": "Internal Server Error",
  4373. "schema": {
  4374. "$ref": "#/definitions/base.HTTPError"
  4375. }
  4376. }
  4377. }
  4378. }
  4379. },
  4380. "/api/v1/user/nick_name": {
  4381. "put": {
  4382. "description": "修改昵称",
  4383. "consumes": [
  4384. "application/json"
  4385. ],
  4386. "produces": [
  4387. "application/json"
  4388. ],
  4389. "tags": [
  4390. "用户"
  4391. ],
  4392. "summary": "修改昵称",
  4393. "parameters": [
  4394. {
  4395. "type": "string",
  4396. "description": "token",
  4397. "name": "token",
  4398. "in": "header",
  4399. "required": true
  4400. },
  4401. {
  4402. "description": "信息",
  4403. "name": "body",
  4404. "in": "body",
  4405. "required": true,
  4406. "schema": {
  4407. "$ref": "#/definitions/v1.UserUpdateNickNameBody"
  4408. }
  4409. }
  4410. ],
  4411. "responses": {
  4412. "200": {
  4413. "description": "OK",
  4414. "schema": {
  4415. "$ref": "#/definitions/v1.UserUpdateNickNameResponse"
  4416. }
  4417. },
  4418. "500": {
  4419. "description": "Internal Server Error",
  4420. "schema": {
  4421. "$ref": "#/definitions/base.HTTPError"
  4422. }
  4423. }
  4424. }
  4425. }
  4426. },
  4427. "/api/v1/user/openim_token": {
  4428. "get": {
  4429. "description": "获取openim_token",
  4430. "consumes": [
  4431. "application/json"
  4432. ],
  4433. "produces": [
  4434. "application/json"
  4435. ],
  4436. "tags": [
  4437. "openim"
  4438. ],
  4439. "summary": "获取openim token",
  4440. "parameters": [
  4441. {
  4442. "type": "string",
  4443. "description": "token",
  4444. "name": "token",
  4445. "in": "header",
  4446. "required": true
  4447. },
  4448. {
  4449. "type": "string",
  4450. "description": "openim_id",
  4451. "name": "openim_id",
  4452. "in": "query",
  4453. "required": true
  4454. }
  4455. ],
  4456. "responses": {
  4457. "200": {
  4458. "description": "OK",
  4459. "schema": {
  4460. "$ref": "#/definitions/v1.OpenImTokenResponse"
  4461. }
  4462. },
  4463. "500": {
  4464. "description": "Internal Server Error",
  4465. "schema": {
  4466. "$ref": "#/definitions/base.HTTPError"
  4467. }
  4468. }
  4469. }
  4470. }
  4471. },
  4472. "/api/v1/user/openim_users_info": {
  4473. "get": {
  4474. "description": "批量获取openim_用户信息",
  4475. "consumes": [
  4476. "application/json"
  4477. ],
  4478. "produces": [
  4479. "application/json"
  4480. ],
  4481. "tags": [
  4482. "openim"
  4483. ],
  4484. "summary": "批量获取openim 用户信息",
  4485. "parameters": [
  4486. {
  4487. "type": "string",
  4488. "description": "token",
  4489. "name": "token",
  4490. "in": "header",
  4491. "required": true
  4492. },
  4493. {
  4494. "type": "string",
  4495. "description": "用户openim_id,以逗号分割",
  4496. "name": "openim_ids",
  4497. "in": "query",
  4498. "required": true
  4499. }
  4500. ],
  4501. "responses": {
  4502. "200": {
  4503. "description": "OK",
  4504. "schema": {
  4505. "$ref": "#/definitions/v1.OpenImUsersInfoResponse"
  4506. }
  4507. },
  4508. "500": {
  4509. "description": "Internal Server Error",
  4510. "schema": {
  4511. "$ref": "#/definitions/base.HTTPError"
  4512. }
  4513. }
  4514. }
  4515. }
  4516. },
  4517. "/api/v1/user/real_name_auth": {
  4518. "put": {
  4519. "description": "实名认证",
  4520. "consumes": [
  4521. "application/json"
  4522. ],
  4523. "produces": [
  4524. "application/json"
  4525. ],
  4526. "tags": [
  4527. "用户"
  4528. ],
  4529. "summary": "实名认证",
  4530. "parameters": [
  4531. {
  4532. "type": "string",
  4533. "description": "token",
  4534. "name": "token",
  4535. "in": "header",
  4536. "required": true
  4537. },
  4538. {
  4539. "description": "信息",
  4540. "name": "body",
  4541. "in": "body",
  4542. "required": true,
  4543. "schema": {
  4544. "$ref": "#/definitions/v1.RealNameAuthBody"
  4545. }
  4546. }
  4547. ],
  4548. "responses": {
  4549. "200": {
  4550. "description": "OK",
  4551. "schema": {
  4552. "$ref": "#/definitions/v1.RealNameAuthResponse"
  4553. }
  4554. },
  4555. "500": {
  4556. "description": "Internal Server Error",
  4557. "schema": {
  4558. "$ref": "#/definitions/base.HTTPError"
  4559. }
  4560. }
  4561. }
  4562. }
  4563. },
  4564. "/api/v1/user/space": {
  4565. "get": {
  4566. "description": "用户房屋下的车位(仅业主可查看)",
  4567. "consumes": [
  4568. "application/json"
  4569. ],
  4570. "produces": [
  4571. "application/json"
  4572. ],
  4573. "tags": [
  4574. "用户"
  4575. ],
  4576. "summary": "用户房屋下的车位(仅业主可查看)",
  4577. "parameters": [
  4578. {
  4579. "type": "string",
  4580. "description": "token",
  4581. "name": "token",
  4582. "in": "header",
  4583. "required": true
  4584. },
  4585. {
  4586. "type": "integer",
  4587. "description": "房屋id",
  4588. "name": "house_id",
  4589. "in": "query",
  4590. "required": true
  4591. },
  4592. {
  4593. "type": "integer",
  4594. "description": "小区id",
  4595. "name": "garden_id",
  4596. "in": "query",
  4597. "required": true
  4598. },
  4599. {
  4600. "type": "integer",
  4601. "description": "住户类型1 业主 2 家人 3 租户",
  4602. "name": "user_type",
  4603. "in": "query",
  4604. "required": true
  4605. }
  4606. ],
  4607. "responses": {
  4608. "200": {
  4609. "description": "OK",
  4610. "schema": {
  4611. "$ref": "#/definitions/v1.HouseholdSpaceResponse"
  4612. }
  4613. },
  4614. "500": {
  4615. "description": "Internal Server Error",
  4616. "schema": {
  4617. "$ref": "#/definitions/base.HTTPError"
  4618. }
  4619. }
  4620. }
  4621. }
  4622. },
  4623. "/api/v1/user/vehicle": {
  4624. "get": {
  4625. "description": "用户小区下的车辆",
  4626. "consumes": [
  4627. "application/json"
  4628. ],
  4629. "produces": [
  4630. "application/json"
  4631. ],
  4632. "tags": [
  4633. "用户"
  4634. ],
  4635. "summary": "用户小区下的车辆",
  4636. "parameters": [
  4637. {
  4638. "type": "string",
  4639. "description": "token",
  4640. "name": "token",
  4641. "in": "header",
  4642. "required": true
  4643. },
  4644. {
  4645. "type": "integer",
  4646. "description": "小区id",
  4647. "name": "garden_id",
  4648. "in": "query",
  4649. "required": true
  4650. }
  4651. ],
  4652. "responses": {
  4653. "200": {
  4654. "description": "OK",
  4655. "schema": {
  4656. "$ref": "#/definitions/v1.HouseholdVehicleResponse"
  4657. }
  4658. },
  4659. "500": {
  4660. "description": "Internal Server Error",
  4661. "schema": {
  4662. "$ref": "#/definitions/base.HTTPError"
  4663. }
  4664. }
  4665. }
  4666. }
  4667. }
  4668. },
  4669. "definitions": {
  4670. "base.HTTPError": {
  4671. "type": "object",
  4672. "properties": {
  4673. "code": {
  4674. "type": "integer",
  4675. "format": "int",
  4676. "example": 500
  4677. },
  4678. "message": {
  4679. "type": "string",
  4680. "example": "status bad request"
  4681. }
  4682. }
  4683. },
  4684. "v1.AnnouncementItem": {
  4685. "type": "object",
  4686. "properties": {
  4687. "content": {
  4688. "type": "string"
  4689. },
  4690. "created_at": {
  4691. "type": "string"
  4692. },
  4693. "id": {
  4694. "type": "integer"
  4695. },
  4696. "read": {
  4697. "type": "boolean"
  4698. },
  4699. "read_count": {
  4700. "type": "integer"
  4701. },
  4702. "title": {
  4703. "type": "string"
  4704. }
  4705. }
  4706. },
  4707. "v1.AnnouncementListReply": {
  4708. "type": "object",
  4709. "properties": {
  4710. "list": {
  4711. "type": "array",
  4712. "items": {
  4713. "$ref": "#/definitions/v1.AnnouncementItem"
  4714. }
  4715. },
  4716. "page": {
  4717. "type": "integer"
  4718. },
  4719. "total": {
  4720. "type": "integer"
  4721. }
  4722. }
  4723. },
  4724. "v1.AnnouncementListResponse": {
  4725. "type": "object",
  4726. "properties": {
  4727. "code": {
  4728. "description": "返回码",
  4729. "type": "integer",
  4730. "format": "int",
  4731. "default": 0
  4732. },
  4733. "data": {
  4734. "type": "object",
  4735. "$ref": "#/definitions/v1.AnnouncementListReply"
  4736. },
  4737. "message": {
  4738. "description": "消息",
  4739. "type": "string",
  4740. "default": "success"
  4741. }
  4742. }
  4743. },
  4744. "v1.AnnouncementReadAddResponse": {
  4745. "type": "object",
  4746. "properties": {
  4747. "code": {
  4748. "description": "返回码",
  4749. "type": "integer",
  4750. "format": "int",
  4751. "default": 0
  4752. },
  4753. "message": {
  4754. "description": "消息",
  4755. "type": "string",
  4756. "default": "success"
  4757. }
  4758. }
  4759. },
  4760. "v1.AreaData": {
  4761. "type": "object",
  4762. "properties": {
  4763. "city_code": {
  4764. "type": "string"
  4765. },
  4766. "code": {
  4767. "type": "string"
  4768. },
  4769. "name": {
  4770. "type": "string"
  4771. },
  4772. "province_code": {
  4773. "type": "string"
  4774. }
  4775. }
  4776. },
  4777. "v1.BuildingItem": {
  4778. "type": "object",
  4779. "properties": {
  4780. "building_area": {
  4781. "description": "楼栋建筑面积",
  4782. "type": "number"
  4783. },
  4784. "building_name": {
  4785. "description": "楼栋名",
  4786. "type": "string"
  4787. },
  4788. "building_number": {
  4789. "description": "楼栋编号",
  4790. "type": "string"
  4791. },
  4792. "building_used_area": {
  4793. "description": "楼栋使用面积",
  4794. "type": "number"
  4795. },
  4796. "comment": {
  4797. "description": "备注",
  4798. "type": "string"
  4799. },
  4800. "id": {
  4801. "description": "id",
  4802. "type": "integer"
  4803. },
  4804. "unit_count": {
  4805. "type": "integer"
  4806. }
  4807. }
  4808. },
  4809. "v1.BuildingListReply": {
  4810. "type": "object",
  4811. "properties": {
  4812. "list": {
  4813. "type": "array",
  4814. "items": {
  4815. "$ref": "#/definitions/v1.BuildingItem"
  4816. }
  4817. },
  4818. "page": {
  4819. "type": "integer"
  4820. },
  4821. "total": {
  4822. "type": "integer"
  4823. }
  4824. }
  4825. },
  4826. "v1.BuildingListResponse": {
  4827. "type": "object",
  4828. "properties": {
  4829. "code": {
  4830. "description": "返回码",
  4831. "type": "integer",
  4832. "format": "int",
  4833. "default": 0
  4834. },
  4835. "data": {
  4836. "type": "object",
  4837. "$ref": "#/definitions/v1.BuildingListReply"
  4838. },
  4839. "message": {
  4840. "description": "消息",
  4841. "type": "string",
  4842. "default": "success"
  4843. }
  4844. }
  4845. },
  4846. "v1.BuildingManagerItem": {
  4847. "type": "object",
  4848. "properties": {
  4849. "id": {
  4850. "type": "integer"
  4851. },
  4852. "manager_uid": {
  4853. "type": "integer"
  4854. },
  4855. "name": {
  4856. "description": "姓名",
  4857. "type": "string"
  4858. },
  4859. "openim_id": {
  4860. "type": "string"
  4861. },
  4862. "phone": {
  4863. "type": "string"
  4864. },
  4865. "user_name": {
  4866. "description": "账号",
  4867. "type": "string"
  4868. }
  4869. }
  4870. },
  4871. "v1.BuildingManagerListReply": {
  4872. "type": "object",
  4873. "properties": {
  4874. "list": {
  4875. "type": "array",
  4876. "items": {
  4877. "$ref": "#/definitions/v1.BuildingManagerItem"
  4878. }
  4879. }
  4880. }
  4881. },
  4882. "v1.BuildingManagerListResponse": {
  4883. "type": "object",
  4884. "properties": {
  4885. "code": {
  4886. "description": "返回码",
  4887. "type": "integer",
  4888. "format": "int",
  4889. "default": 0
  4890. },
  4891. "data": {
  4892. "type": "object",
  4893. "$ref": "#/definitions/v1.BuildingManagerListReply"
  4894. },
  4895. "message": {
  4896. "description": "消息",
  4897. "type": "string",
  4898. "default": "success"
  4899. }
  4900. }
  4901. },
  4902. "v1.ChargeBillItem": {
  4903. "type": "object",
  4904. "properties": {
  4905. "amount": {
  4906. "type": "integer"
  4907. },
  4908. "bill_id": {
  4909. "type": "integer"
  4910. },
  4911. "charge_desc": {
  4912. "type": "string"
  4913. },
  4914. "charge_name": {
  4915. "type": "string"
  4916. },
  4917. "charge_type": {
  4918. "type": "integer"
  4919. },
  4920. "current_used": {
  4921. "type": "number"
  4922. },
  4923. "end": {
  4924. "type": "string"
  4925. },
  4926. "last_used": {
  4927. "type": "number"
  4928. },
  4929. "late_days": {
  4930. "type": "integer"
  4931. },
  4932. "late_fee": {
  4933. "type": "integer"
  4934. },
  4935. "obj_id": {
  4936. "type": "integer"
  4937. },
  4938. "obj_name": {
  4939. "type": "string"
  4940. },
  4941. "obj_type": {
  4942. "type": "integer"
  4943. },
  4944. "start": {
  4945. "type": "string"
  4946. }
  4947. }
  4948. },
  4949. "v1.ChargeBillListReply": {
  4950. "type": "object",
  4951. "properties": {
  4952. "charge_name": {
  4953. "type": "string"
  4954. },
  4955. "charge_type": {
  4956. "type": "integer"
  4957. },
  4958. "list": {
  4959. "type": "array",
  4960. "items": {
  4961. "$ref": "#/definitions/v1.ChargeBillItem"
  4962. }
  4963. },
  4964. "page": {
  4965. "type": "integer"
  4966. },
  4967. "should_pay_amount": {
  4968. "type": "integer"
  4969. },
  4970. "total": {
  4971. "type": "integer"
  4972. }
  4973. }
  4974. },
  4975. "v1.ChargeBillListResponse": {
  4976. "type": "object",
  4977. "properties": {
  4978. "code": {
  4979. "description": "返回码",
  4980. "type": "integer",
  4981. "format": "int",
  4982. "default": 0
  4983. },
  4984. "data": {
  4985. "type": "object",
  4986. "$ref": "#/definitions/v1.ChargeBillListReply"
  4987. },
  4988. "message": {
  4989. "description": "消息",
  4990. "type": "string",
  4991. "default": "success"
  4992. }
  4993. }
  4994. },
  4995. "v1.ChargeBillPayByHouseholdBody": {
  4996. "type": "object",
  4997. "properties": {
  4998. "bill_ids": {
  4999. "type": "array",
  5000. "items": {
  5001. "type": "integer"
  5002. }
  5003. },
  5004. "bind_ids": {
  5005. "description": "绑定关系id列表",
  5006. "type": "array",
  5007. "items": {
  5008. "type": "integer"
  5009. }
  5010. },
  5011. "comment": {
  5012. "description": "备注",
  5013. "type": "string"
  5014. },
  5015. "garden_id": {
  5016. "type": "integer"
  5017. },
  5018. "pay_amount": {
  5019. "description": "实缴",
  5020. "type": "integer"
  5021. },
  5022. "should_pay_amount": {
  5023. "description": "应缴",
  5024. "type": "integer"
  5025. }
  5026. }
  5027. },
  5028. "v1.ChargeBillPayByHouseholdReply": {
  5029. "type": "object",
  5030. "properties": {
  5031. "order_id": {
  5032. "type": "string"
  5033. },
  5034. "prepay_info": {
  5035. "description": "三方预支付信息",
  5036. "type": "string"
  5037. }
  5038. }
  5039. },
  5040. "v1.ChargeBillPayByHouseholdResponse": {
  5041. "type": "object",
  5042. "properties": {
  5043. "code": {
  5044. "description": "返回码",
  5045. "type": "integer",
  5046. "format": "int",
  5047. "default": 0
  5048. },
  5049. "data": {
  5050. "type": "object",
  5051. "$ref": "#/definitions/v1.ChargeBillPayByHouseholdReply"
  5052. },
  5053. "message": {
  5054. "description": "消息",
  5055. "type": "string",
  5056. "default": "success"
  5057. }
  5058. }
  5059. },
  5060. "v1.ChargeItem": {
  5061. "type": "object",
  5062. "properties": {
  5063. "bind_id": {
  5064. "type": "integer"
  5065. },
  5066. "charge_name": {
  5067. "type": "string"
  5068. },
  5069. "charge_time_type": {
  5070. "type": "integer"
  5071. },
  5072. "charge_type": {
  5073. "type": "integer"
  5074. },
  5075. "created_at": {
  5076. "type": "string"
  5077. },
  5078. "desc": {
  5079. "type": "string"
  5080. },
  5081. "end": {
  5082. "type": "string"
  5083. },
  5084. "start": {
  5085. "type": "string"
  5086. },
  5087. "status": {
  5088. "type": "string"
  5089. }
  5090. }
  5091. },
  5092. "v1.ChargeListReply": {
  5093. "type": "object",
  5094. "properties": {
  5095. "list": {
  5096. "type": "array",
  5097. "items": {
  5098. "$ref": "#/definitions/v1.ChargeItem"
  5099. }
  5100. },
  5101. "page": {
  5102. "type": "integer"
  5103. },
  5104. "total": {
  5105. "type": "integer"
  5106. }
  5107. }
  5108. },
  5109. "v1.ChargeListResponse": {
  5110. "type": "object",
  5111. "properties": {
  5112. "code": {
  5113. "description": "返回码",
  5114. "type": "integer",
  5115. "format": "int",
  5116. "default": 0
  5117. },
  5118. "data": {
  5119. "type": "object",
  5120. "$ref": "#/definitions/v1.ChargeListReply"
  5121. },
  5122. "message": {
  5123. "description": "消息",
  5124. "type": "string",
  5125. "default": "success"
  5126. }
  5127. }
  5128. },
  5129. "v1.ChargeMonthInfoReply": {
  5130. "type": "object",
  5131. "properties": {
  5132. "bind_id": {
  5133. "type": "integer"
  5134. },
  5135. "desc": {
  5136. "type": "string"
  5137. },
  5138. "month_list": {
  5139. "type": "array",
  5140. "items": {
  5141. "$ref": "#/definitions/v1.MonthInfo"
  5142. }
  5143. }
  5144. }
  5145. },
  5146. "v1.ChargeOrderBillItem": {
  5147. "type": "object",
  5148. "properties": {
  5149. "amount": {
  5150. "type": "integer"
  5151. },
  5152. "bill_id": {
  5153. "type": "integer"
  5154. },
  5155. "charge_desc": {
  5156. "type": "string"
  5157. },
  5158. "charge_name": {
  5159. "type": "string"
  5160. },
  5161. "charge_type": {
  5162. "type": "integer"
  5163. },
  5164. "current_used": {
  5165. "type": "number"
  5166. },
  5167. "end": {
  5168. "type": "string"
  5169. },
  5170. "last_used": {
  5171. "type": "number"
  5172. },
  5173. "late_fee": {
  5174. "type": "integer"
  5175. },
  5176. "obj_name": {
  5177. "type": "string"
  5178. },
  5179. "start": {
  5180. "type": "string"
  5181. }
  5182. }
  5183. },
  5184. "v1.ChargeOrderCancelBody": {
  5185. "type": "object",
  5186. "properties": {
  5187. "by_user": {
  5188. "description": "true 未支付订单中用户主动取消,false 前端判断未支付时主动调接口删除",
  5189. "type": "boolean"
  5190. },
  5191. "garden_id": {
  5192. "type": "integer"
  5193. },
  5194. "order_id": {
  5195. "type": "string"
  5196. }
  5197. }
  5198. },
  5199. "v1.ChargeOrderCancelResponse": {
  5200. "type": "object",
  5201. "properties": {
  5202. "code": {
  5203. "description": "返回码",
  5204. "type": "integer",
  5205. "format": "int",
  5206. "default": 0
  5207. },
  5208. "message": {
  5209. "description": "消息",
  5210. "type": "string",
  5211. "default": "success"
  5212. }
  5213. }
  5214. },
  5215. "v1.ChargeOrderInfoReply": {
  5216. "type": "object",
  5217. "properties": {
  5218. "list": {
  5219. "type": "array",
  5220. "items": {
  5221. "$ref": "#/definitions/v1.ChargeOrderBillItem"
  5222. }
  5223. }
  5224. }
  5225. },
  5226. "v1.ChargeOrderInfoResponse": {
  5227. "type": "object",
  5228. "properties": {
  5229. "code": {
  5230. "description": "返回码",
  5231. "type": "integer",
  5232. "format": "int",
  5233. "default": 0
  5234. },
  5235. "data": {
  5236. "type": "object",
  5237. "$ref": "#/definitions/v1.ChargeOrderInfoReply"
  5238. },
  5239. "message": {
  5240. "description": "消息",
  5241. "type": "string",
  5242. "default": "success"
  5243. }
  5244. }
  5245. },
  5246. "v1.ChargeOrderItem": {
  5247. "type": "object",
  5248. "properties": {
  5249. "bill_count": {
  5250. "description": "账单数",
  5251. "type": "integer"
  5252. },
  5253. "comment": {
  5254. "type": "string"
  5255. },
  5256. "desc": {
  5257. "type": "string"
  5258. },
  5259. "obj_name": {
  5260. "type": "string"
  5261. },
  5262. "order_id": {
  5263. "type": "string"
  5264. },
  5265. "pay_amount": {
  5266. "type": "integer"
  5267. },
  5268. "pay_time": {
  5269. "type": "string"
  5270. },
  5271. "pay_type": {
  5272. "type": "integer"
  5273. },
  5274. "paying_desc": {
  5275. "type": "string"
  5276. },
  5277. "should_pay_amount": {
  5278. "type": "integer"
  5279. },
  5280. "status": {
  5281. "description": "1 待支付 2 已支付",
  5282. "type": "integer"
  5283. },
  5284. "transaction_id": {
  5285. "type": "string"
  5286. }
  5287. }
  5288. },
  5289. "v1.ChargeOrderListReply": {
  5290. "type": "object",
  5291. "properties": {
  5292. "list": {
  5293. "type": "array",
  5294. "items": {
  5295. "$ref": "#/definitions/v1.ChargeOrderItem"
  5296. }
  5297. },
  5298. "page": {
  5299. "type": "integer"
  5300. },
  5301. "total": {
  5302. "type": "integer"
  5303. }
  5304. }
  5305. },
  5306. "v1.ChargeOrderListResponse": {
  5307. "type": "object",
  5308. "properties": {
  5309. "code": {
  5310. "description": "返回码",
  5311. "type": "integer",
  5312. "format": "int",
  5313. "default": 0
  5314. },
  5315. "data": {
  5316. "type": "object",
  5317. "$ref": "#/definitions/v1.ChargeOrderListReply"
  5318. },
  5319. "message": {
  5320. "description": "消息",
  5321. "type": "string",
  5322. "default": "success"
  5323. }
  5324. }
  5325. },
  5326. "v1.ChargePrePayByHouseholdBody": {
  5327. "type": "object",
  5328. "properties": {
  5329. "bind_id": {
  5330. "type": "integer"
  5331. },
  5332. "garden_id": {
  5333. "type": "integer"
  5334. },
  5335. "months": {
  5336. "type": "integer"
  5337. },
  5338. "package_id": {
  5339. "description": "套餐id",
  5340. "type": "integer"
  5341. },
  5342. "pay_amount": {
  5343. "description": "实缴金额",
  5344. "type": "integer"
  5345. },
  5346. "should_pay_amount": {
  5347. "description": "应缴金额",
  5348. "type": "integer"
  5349. }
  5350. }
  5351. },
  5352. "v1.ChargePrePayByHouseholdReply": {
  5353. "type": "object",
  5354. "properties": {
  5355. "order_id": {
  5356. "type": "string"
  5357. },
  5358. "prepay_info": {
  5359. "description": "三方预支付信息",
  5360. "type": "string"
  5361. }
  5362. }
  5363. },
  5364. "v1.ChargePrePayByHouseholdResponse": {
  5365. "type": "object",
  5366. "properties": {
  5367. "code": {
  5368. "description": "返回码",
  5369. "type": "integer",
  5370. "format": "int",
  5371. "default": 0
  5372. },
  5373. "data": {
  5374. "type": "object",
  5375. "$ref": "#/definitions/v1.ChargePrePayByHouseholdReply"
  5376. },
  5377. "message": {
  5378. "description": "消息",
  5379. "type": "string",
  5380. "default": "success"
  5381. }
  5382. }
  5383. },
  5384. "v1.ChargePrePayInfoReply": {
  5385. "type": "object",
  5386. "properties": {
  5387. "charge_desc": {
  5388. "type": "string"
  5389. },
  5390. "charge_name": {
  5391. "type": "string"
  5392. },
  5393. "charge_type": {
  5394. "type": "integer"
  5395. },
  5396. "end": {
  5397. "type": "integer"
  5398. },
  5399. "should_pay_amount": {
  5400. "type": "integer"
  5401. },
  5402. "start": {
  5403. "type": "integer"
  5404. }
  5405. }
  5406. },
  5407. "v1.ChargePrePayInfoResponse": {
  5408. "type": "object",
  5409. "properties": {
  5410. "code": {
  5411. "description": "返回码",
  5412. "type": "integer",
  5413. "format": "int",
  5414. "default": 0
  5415. },
  5416. "data": {
  5417. "type": "object",
  5418. "$ref": "#/definitions/v1.ChargePrePayInfoReply"
  5419. },
  5420. "message": {
  5421. "description": "消息",
  5422. "type": "string",
  5423. "default": "success"
  5424. }
  5425. }
  5426. },
  5427. "v1.ChargePropertyMonthInfoResponse": {
  5428. "type": "object",
  5429. "properties": {
  5430. "code": {
  5431. "description": "返回码",
  5432. "type": "integer",
  5433. "format": "int",
  5434. "default": 0
  5435. },
  5436. "data": {
  5437. "type": "object",
  5438. "$ref": "#/definitions/v1.ChargeMonthInfoReply"
  5439. },
  5440. "message": {
  5441. "description": "消息",
  5442. "type": "string",
  5443. "default": "success"
  5444. }
  5445. }
  5446. },
  5447. "v1.ChargeSpaceMonthInfoResponse": {
  5448. "type": "object",
  5449. "properties": {
  5450. "code": {
  5451. "description": "返回码",
  5452. "type": "integer",
  5453. "format": "int",
  5454. "default": 0
  5455. },
  5456. "data": {
  5457. "type": "object",
  5458. "$ref": "#/definitions/v1.ChargeMonthInfoReply"
  5459. },
  5460. "message": {
  5461. "description": "消息",
  5462. "type": "string",
  5463. "default": "success"
  5464. }
  5465. }
  5466. },
  5467. "v1.ChargeUnpayItem": {
  5468. "type": "object",
  5469. "properties": {
  5470. "bill_count": {
  5471. "type": "integer"
  5472. },
  5473. "bind_id": {
  5474. "type": "integer"
  5475. },
  5476. "charge_name": {
  5477. "type": "string"
  5478. },
  5479. "charge_time_type": {
  5480. "type": "integer"
  5481. },
  5482. "charge_type": {
  5483. "type": "integer"
  5484. },
  5485. "unpay_amount": {
  5486. "type": "integer"
  5487. }
  5488. }
  5489. },
  5490. "v1.ChargeUnpayListReply": {
  5491. "type": "object",
  5492. "properties": {
  5493. "list": {
  5494. "type": "array",
  5495. "items": {
  5496. "$ref": "#/definitions/v1.ChargeUnpayItem"
  5497. }
  5498. },
  5499. "page": {
  5500. "type": "integer"
  5501. },
  5502. "total": {
  5503. "type": "integer"
  5504. }
  5505. }
  5506. },
  5507. "v1.ChargeUnpayListResponse": {
  5508. "type": "object",
  5509. "properties": {
  5510. "code": {
  5511. "description": "返回码",
  5512. "type": "integer",
  5513. "format": "int",
  5514. "default": 0
  5515. },
  5516. "data": {
  5517. "type": "object",
  5518. "$ref": "#/definitions/v1.ChargeUnpayListReply"
  5519. },
  5520. "message": {
  5521. "description": "消息",
  5522. "type": "string",
  5523. "default": "success"
  5524. }
  5525. }
  5526. },
  5527. "v1.ChargeVehicleMonthInfoResponse": {
  5528. "type": "object",
  5529. "properties": {
  5530. "code": {
  5531. "description": "返回码",
  5532. "type": "integer",
  5533. "format": "int",
  5534. "default": 0
  5535. },
  5536. "data": {
  5537. "type": "object",
  5538. "$ref": "#/definitions/v1.ChargeMonthInfoReply"
  5539. },
  5540. "message": {
  5541. "description": "消息",
  5542. "type": "string",
  5543. "default": "success"
  5544. }
  5545. }
  5546. },
  5547. "v1.ChargeWxPayTestBody": {
  5548. "type": "object",
  5549. "properties": {
  5550. "pay_amount": {
  5551. "type": "integer"
  5552. }
  5553. }
  5554. },
  5555. "v1.ChargeWxPayTestResponse": {
  5556. "type": "object",
  5557. "properties": {
  5558. "code": {
  5559. "description": "返回码",
  5560. "type": "integer",
  5561. "format": "int",
  5562. "default": 0
  5563. },
  5564. "data": {
  5565. "type": "object",
  5566. "$ref": "#/definitions/v1.WxAppletPrepayReply"
  5567. },
  5568. "message": {
  5569. "description": "消息",
  5570. "type": "string",
  5571. "default": "success"
  5572. }
  5573. }
  5574. },
  5575. "v1.CityData": {
  5576. "type": "object",
  5577. "properties": {
  5578. "code": {
  5579. "type": "string"
  5580. },
  5581. "name": {
  5582. "type": "string"
  5583. },
  5584. "province_code": {
  5585. "type": "string"
  5586. }
  5587. }
  5588. },
  5589. "v1.CityReply": {
  5590. "type": "object",
  5591. "properties": {
  5592. "code": {
  5593. "type": "string"
  5594. },
  5595. "name": {
  5596. "type": "string"
  5597. },
  5598. "province_code": {
  5599. "type": "string"
  5600. },
  5601. "province_name": {
  5602. "type": "string"
  5603. }
  5604. }
  5605. },
  5606. "v1.CityResponse": {
  5607. "type": "object",
  5608. "properties": {
  5609. "code": {
  5610. "description": "返回码",
  5611. "type": "integer",
  5612. "format": "int",
  5613. "default": 0
  5614. },
  5615. "data": {
  5616. "type": "object",
  5617. "$ref": "#/definitions/v1.CityReply"
  5618. },
  5619. "message": {
  5620. "description": "消息",
  5621. "type": "string",
  5622. "default": "success"
  5623. }
  5624. }
  5625. },
  5626. "v1.CommitteeData": {
  5627. "type": "object",
  5628. "properties": {
  5629. "code": {
  5630. "type": "string"
  5631. },
  5632. "name": {
  5633. "type": "string"
  5634. },
  5635. "street_code": {
  5636. "type": "string"
  5637. }
  5638. }
  5639. },
  5640. "v1.EventItem": {
  5641. "type": "object",
  5642. "properties": {
  5643. "addr": {
  5644. "description": "活动地址",
  5645. "type": "string"
  5646. },
  5647. "content": {
  5648. "description": "内容",
  5649. "type": "string"
  5650. },
  5651. "created_at": {
  5652. "type": "string"
  5653. },
  5654. "end": {
  5655. "description": "活动结束时间",
  5656. "type": "integer"
  5657. },
  5658. "fee": {
  5659. "description": "报名费用",
  5660. "type": "integer"
  5661. },
  5662. "id": {
  5663. "type": "integer"
  5664. },
  5665. "people_count": {
  5666. "description": "已报名人数",
  5667. "type": "integer"
  5668. },
  5669. "people_limit": {
  5670. "description": "人数限制",
  5671. "type": "integer"
  5672. },
  5673. "pic": {
  5674. "description": "图片",
  5675. "type": "array",
  5676. "items": {
  5677. "type": "string"
  5678. }
  5679. },
  5680. "sign": {
  5681. "description": "物业端不管该字段,小程序查询时该字段有效 是否报名",
  5682. "type": "boolean"
  5683. },
  5684. "sign_up_end": {
  5685. "description": "报名截止时间",
  5686. "type": "integer"
  5687. },
  5688. "start": {
  5689. "description": "活动开始时间",
  5690. "type": "integer"
  5691. },
  5692. "status": {
  5693. "description": "1 报名进行中 2 报名已截止",
  5694. "type": "integer"
  5695. },
  5696. "title": {
  5697. "description": "标题",
  5698. "type": "string"
  5699. }
  5700. }
  5701. },
  5702. "v1.EventListReply": {
  5703. "type": "object",
  5704. "properties": {
  5705. "list": {
  5706. "type": "array",
  5707. "items": {
  5708. "$ref": "#/definitions/v1.EventItem"
  5709. }
  5710. },
  5711. "page": {
  5712. "type": "integer"
  5713. },
  5714. "total": {
  5715. "type": "integer"
  5716. }
  5717. }
  5718. },
  5719. "v1.EventListResponse": {
  5720. "type": "object",
  5721. "properties": {
  5722. "code": {
  5723. "description": "返回码",
  5724. "type": "integer",
  5725. "format": "int",
  5726. "default": 0
  5727. },
  5728. "data": {
  5729. "type": "object",
  5730. "$ref": "#/definitions/v1.EventListReply"
  5731. },
  5732. "message": {
  5733. "description": "消息",
  5734. "type": "string",
  5735. "default": "success"
  5736. }
  5737. }
  5738. },
  5739. "v1.EventSignAddBody": {
  5740. "type": "object",
  5741. "properties": {
  5742. "comment": {
  5743. "type": "string"
  5744. },
  5745. "count": {
  5746. "description": "报名人数",
  5747. "type": "integer"
  5748. },
  5749. "event_id": {
  5750. "type": "integer"
  5751. },
  5752. "garden_id": {
  5753. "type": "integer"
  5754. },
  5755. "name": {
  5756. "type": "string"
  5757. },
  5758. "phone": {
  5759. "type": "string"
  5760. }
  5761. }
  5762. },
  5763. "v1.EventSignAddResponse": {
  5764. "type": "object",
  5765. "properties": {
  5766. "code": {
  5767. "description": "返回码",
  5768. "type": "integer",
  5769. "format": "int",
  5770. "default": 0
  5771. },
  5772. "message": {
  5773. "description": "消息",
  5774. "type": "string",
  5775. "default": "success"
  5776. }
  5777. }
  5778. },
  5779. "v1.GardenHouseRentInfoReply": {
  5780. "type": "object",
  5781. "properties": {
  5782. "area_percent": {
  5783. "description": "容积率",
  5784. "type": "number"
  5785. },
  5786. "avg_price": {
  5787. "type": "integer"
  5788. },
  5789. "building_area": {
  5790. "description": "建筑面积",
  5791. "type": "number"
  5792. },
  5793. "building_company": {
  5794. "description": "开发企业",
  5795. "type": "string"
  5796. },
  5797. "building_end": {
  5798. "description": "建成年份结束时间戳",
  5799. "type": "integer"
  5800. },
  5801. "building_start": {
  5802. "description": "建成年份开始时间戳",
  5803. "type": "integer"
  5804. },
  5805. "building_type": {
  5806. "description": "1塔楼 2 板楼 3 塔板结合 4 其他",
  5807. "type": "integer"
  5808. },
  5809. "covered_area": {
  5810. "description": "占地面积",
  5811. "type": "number"
  5812. },
  5813. "electric_type": {
  5814. "description": "电费类型多选 1 民用 2 商用",
  5815. "type": "array",
  5816. "items": {
  5817. "type": "integer"
  5818. }
  5819. },
  5820. "garden_pics": {
  5821. "description": "小区图片",
  5822. "type": "array",
  5823. "items": {
  5824. "type": "string"
  5825. }
  5826. },
  5827. "gas_fee_end": {
  5828. "description": "燃气费开始,单位分",
  5829. "type": "integer"
  5830. },
  5831. "gas_fee_start": {
  5832. "description": "燃气费开始,单位分",
  5833. "type": "integer"
  5834. },
  5835. "green_percent": {
  5836. "description": "绿化率",
  5837. "type": "number"
  5838. },
  5839. "house_total": {
  5840. "description": "总户数",
  5841. "type": "integer"
  5842. },
  5843. "property_fee_end": {
  5844. "description": "物业费结束, 单位分",
  5845. "type": "integer"
  5846. },
  5847. "property_fee_start": {
  5848. "description": "物业费开始,单位分",
  5849. "type": "integer"
  5850. },
  5851. "rent_count": {
  5852. "type": "integer"
  5853. },
  5854. "sell_count": {
  5855. "type": "integer"
  5856. },
  5857. "space_info": {
  5858. "description": "车位配比",
  5859. "type": "string"
  5860. },
  5861. "space_total": {
  5862. "description": "固定车位数",
  5863. "type": "integer"
  5864. },
  5865. "water_type": {
  5866. "description": "水费类型多选 1 民用 2 商用",
  5867. "type": "array",
  5868. "items": {
  5869. "type": "integer"
  5870. }
  5871. }
  5872. }
  5873. },
  5874. "v1.GardenHouseRentInfoResponse": {
  5875. "type": "object",
  5876. "properties": {
  5877. "code": {
  5878. "description": "返回码",
  5879. "type": "integer",
  5880. "format": "int",
  5881. "default": 0
  5882. },
  5883. "data": {
  5884. "type": "object",
  5885. "$ref": "#/definitions/v1.GardenHouseRentInfoReply"
  5886. },
  5887. "message": {
  5888. "description": "消息",
  5889. "type": "string",
  5890. "default": "success"
  5891. }
  5892. }
  5893. },
  5894. "v1.GardenInfoResponse": {
  5895. "type": "object",
  5896. "properties": {
  5897. "code": {
  5898. "description": "返回码",
  5899. "type": "integer",
  5900. "format": "int",
  5901. "default": 0
  5902. },
  5903. "data": {
  5904. "type": "object",
  5905. "$ref": "#/definitions/v1.GardenItem"
  5906. },
  5907. "message": {
  5908. "description": "消息",
  5909. "type": "string",
  5910. "default": "success"
  5911. }
  5912. }
  5913. },
  5914. "v1.GardenItem": {
  5915. "type": "object",
  5916. "properties": {
  5917. "appendix": {
  5918. "type": "array",
  5919. "items": {
  5920. "type": "string"
  5921. }
  5922. },
  5923. "area": {
  5924. "description": "区",
  5925. "type": "string"
  5926. },
  5927. "area_code": {
  5928. "type": "string"
  5929. },
  5930. "area_percent": {
  5931. "description": "容积率",
  5932. "type": "number"
  5933. },
  5934. "avg_price": {
  5935. "type": "integer"
  5936. },
  5937. "building_area": {
  5938. "description": "建筑面积",
  5939. "type": "number"
  5940. },
  5941. "building_company": {
  5942. "description": "开发企业",
  5943. "type": "string"
  5944. },
  5945. "building_end": {
  5946. "description": "建成年份结束时间戳",
  5947. "type": "integer"
  5948. },
  5949. "building_start": {
  5950. "description": "建成年份开始时间戳",
  5951. "type": "integer"
  5952. },
  5953. "building_type": {
  5954. "description": "1塔楼 2 板楼 3 塔板结合 4 其他",
  5955. "type": "integer"
  5956. },
  5957. "cid": {
  5958. "description": "物业公司id",
  5959. "type": "integer"
  5960. },
  5961. "city": {
  5962. "description": "市",
  5963. "type": "string"
  5964. },
  5965. "city_code": {
  5966. "type": "string"
  5967. },
  5968. "committee": {
  5969. "description": "社区",
  5970. "type": "string"
  5971. },
  5972. "committee_code": {
  5973. "type": "string"
  5974. },
  5975. "covered_area": {
  5976. "description": "占地面积",
  5977. "type": "number"
  5978. },
  5979. "electric_type": {
  5980. "description": "电费类型多选 1 民用 2 商用",
  5981. "type": "array",
  5982. "items": {
  5983. "type": "integer"
  5984. }
  5985. },
  5986. "feedback": {
  5987. "type": "string"
  5988. },
  5989. "garden_addr": {
  5990. "description": "小区地址",
  5991. "type": "string"
  5992. },
  5993. "garden_desc": {
  5994. "type": "string"
  5995. },
  5996. "garden_name": {
  5997. "description": "小区名字",
  5998. "type": "string"
  5999. },
  6000. "garden_pic": {
  6001. "type": "string"
  6002. },
  6003. "garden_pics": {
  6004. "description": "小区图片",
  6005. "type": "array",
  6006. "items": {
  6007. "type": "string"
  6008. }
  6009. },
  6010. "gas_fee_end": {
  6011. "description": "燃气费开始,单位分",
  6012. "type": "integer"
  6013. },
  6014. "gas_fee_start": {
  6015. "description": "燃气费开始,单位分",
  6016. "type": "integer"
  6017. },
  6018. "green_percent": {
  6019. "description": "绿化率",
  6020. "type": "number"
  6021. },
  6022. "house_total": {
  6023. "description": "总户数",
  6024. "type": "integer"
  6025. },
  6026. "id": {
  6027. "type": "integer"
  6028. },
  6029. "in_use": {
  6030. "type": "boolean"
  6031. },
  6032. "lat": {
  6033. "description": "纬度",
  6034. "type": "number"
  6035. },
  6036. "lnt": {
  6037. "description": "经度",
  6038. "type": "number"
  6039. },
  6040. "property_fee_end": {
  6041. "description": "物业费结束, 单位分",
  6042. "type": "integer"
  6043. },
  6044. "property_fee_start": {
  6045. "description": "物业费开始,单位分",
  6046. "type": "integer"
  6047. },
  6048. "property_person": {
  6049. "description": "物业联系人",
  6050. "type": "string"
  6051. },
  6052. "property_phone": {
  6053. "description": "物业联系人手机号",
  6054. "type": "string"
  6055. },
  6056. "province": {
  6057. "description": "省",
  6058. "type": "string"
  6059. },
  6060. "province_code": {
  6061. "type": "string"
  6062. },
  6063. "rent_avg_price": {
  6064. "type": "integer"
  6065. },
  6066. "rent_count": {
  6067. "type": "integer"
  6068. },
  6069. "sell_count": {
  6070. "type": "integer"
  6071. },
  6072. "space_info": {
  6073. "description": "车位配比",
  6074. "type": "string"
  6075. },
  6076. "space_total": {
  6077. "description": "固定车位数",
  6078. "type": "integer"
  6079. },
  6080. "status": {
  6081. "type": "integer"
  6082. },
  6083. "street": {
  6084. "description": "街道",
  6085. "type": "string"
  6086. },
  6087. "street_code": {
  6088. "type": "string"
  6089. },
  6090. "water_type": {
  6091. "description": "水费类型多选 1 民用 2 商用",
  6092. "type": "array",
  6093. "items": {
  6094. "type": "integer"
  6095. }
  6096. }
  6097. }
  6098. },
  6099. "v1.GardenListReply": {
  6100. "type": "object",
  6101. "properties": {
  6102. "list": {
  6103. "type": "array",
  6104. "items": {
  6105. "$ref": "#/definitions/v1.GardenItem"
  6106. }
  6107. },
  6108. "page": {
  6109. "type": "integer"
  6110. },
  6111. "total": {
  6112. "type": "integer"
  6113. }
  6114. }
  6115. },
  6116. "v1.GardenListResponse": {
  6117. "type": "object",
  6118. "properties": {
  6119. "code": {
  6120. "description": "返回码",
  6121. "type": "integer",
  6122. "format": "int",
  6123. "default": 0
  6124. },
  6125. "data": {
  6126. "type": "object",
  6127. "$ref": "#/definitions/v1.GardenListReply"
  6128. },
  6129. "message": {
  6130. "description": "消息",
  6131. "type": "string",
  6132. "default": "success"
  6133. }
  6134. }
  6135. },
  6136. "v1.GateHasFaceData": {
  6137. "type": "object",
  6138. "properties": {
  6139. "has_face_device": {
  6140. "type": "boolean"
  6141. }
  6142. }
  6143. },
  6144. "v1.GateHasFaceResponse": {
  6145. "type": "object",
  6146. "properties": {
  6147. "code": {
  6148. "description": "返回码",
  6149. "type": "integer",
  6150. "format": "int",
  6151. "default": 0
  6152. },
  6153. "data": {
  6154. "type": "object",
  6155. "$ref": "#/definitions/v1.GateHasFaceData"
  6156. },
  6157. "message": {
  6158. "description": "消息",
  6159. "type": "string",
  6160. "default": "success"
  6161. }
  6162. }
  6163. },
  6164. "v1.GateItem": {
  6165. "type": "object",
  6166. "properties": {
  6167. "auth_key": {
  6168. "description": "授权key",
  6169. "type": "string"
  6170. },
  6171. "card_support": {
  6172. "description": "1 支持卡 2 不支持",
  6173. "type": "integer"
  6174. },
  6175. "device_id": {
  6176. "description": "设备id",
  6177. "type": "integer"
  6178. },
  6179. "device_name": {
  6180. "description": "设备名",
  6181. "type": "string"
  6182. },
  6183. "direction": {
  6184. "description": "1 进场 2 出场 3 进出场",
  6185. "type": "integer"
  6186. },
  6187. "enable": {
  6188. "description": "true 已启用 false 已禁用",
  6189. "type": "boolean"
  6190. },
  6191. "garden_id": {
  6192. "description": "小区id",
  6193. "type": "integer"
  6194. },
  6195. "garden_name": {
  6196. "description": "小区名",
  6197. "type": "string"
  6198. },
  6199. "ip": {
  6200. "type": "string"
  6201. },
  6202. "location": {
  6203. "type": "string"
  6204. },
  6205. "mac": {
  6206. "type": "string"
  6207. },
  6208. "manufactor": {
  6209. "description": "厂商",
  6210. "type": "string"
  6211. },
  6212. "out_time": {
  6213. "description": "出库时间",
  6214. "type": "integer"
  6215. },
  6216. "out_user": {
  6217. "description": "出库人",
  6218. "type": "string"
  6219. },
  6220. "password": {
  6221. "type": "string"
  6222. },
  6223. "pic_support": {
  6224. "description": "1 支持人脸 2 不支持",
  6225. "type": "integer"
  6226. },
  6227. "port": {
  6228. "type": "integer"
  6229. },
  6230. "protocol": {
  6231. "description": "协议",
  6232. "type": "integer"
  6233. },
  6234. "protocol_desc": {
  6235. "type": "string"
  6236. },
  6237. "qcode_support": {
  6238. "description": "1支持二维码 2 不支持",
  6239. "type": "integer"
  6240. },
  6241. "sn": {
  6242. "description": "序列号",
  6243. "type": "string"
  6244. },
  6245. "status": {
  6246. "description": "1 在线 2 离线",
  6247. "type": "integer"
  6248. },
  6249. "user_name": {
  6250. "type": "string"
  6251. }
  6252. }
  6253. },
  6254. "v1.GateListResponse": {
  6255. "type": "object",
  6256. "properties": {
  6257. "code": {
  6258. "description": "返回码",
  6259. "type": "integer",
  6260. "format": "int",
  6261. "default": 0
  6262. },
  6263. "data": {
  6264. "type": "object",
  6265. "$ref": "#/definitions/v1.GateUnitDeviceReply"
  6266. },
  6267. "message": {
  6268. "description": "消息",
  6269. "type": "string",
  6270. "default": "success"
  6271. }
  6272. }
  6273. },
  6274. "v1.GateQcodeReply": {
  6275. "type": "object",
  6276. "properties": {
  6277. "id": {
  6278. "type": "integer"
  6279. },
  6280. "qcode": {
  6281. "type": "string"
  6282. }
  6283. }
  6284. },
  6285. "v1.GateQcodeResponse": {
  6286. "type": "object",
  6287. "properties": {
  6288. "code": {
  6289. "description": "返回码",
  6290. "type": "integer",
  6291. "format": "int",
  6292. "default": 0
  6293. },
  6294. "data": {
  6295. "type": "object",
  6296. "$ref": "#/definitions/v1.GateQcodeReply"
  6297. },
  6298. "message": {
  6299. "description": "消息",
  6300. "type": "string",
  6301. "default": "success"
  6302. }
  6303. }
  6304. },
  6305. "v1.GateQcodeVisitorResponse": {
  6306. "type": "object",
  6307. "properties": {
  6308. "code": {
  6309. "description": "返回码",
  6310. "type": "integer",
  6311. "format": "int",
  6312. "default": 0
  6313. },
  6314. "data": {
  6315. "type": "object",
  6316. "$ref": "#/definitions/v1.GateQcodeReply"
  6317. },
  6318. "message": {
  6319. "description": "消息",
  6320. "type": "string",
  6321. "default": "success"
  6322. }
  6323. }
  6324. },
  6325. "v1.GateUnitDeviceReply": {
  6326. "type": "object",
  6327. "properties": {
  6328. "has_device": {
  6329. "type": "boolean"
  6330. },
  6331. "list": {
  6332. "type": "array",
  6333. "items": {
  6334. "$ref": "#/definitions/v1.GateItem"
  6335. }
  6336. }
  6337. }
  6338. },
  6339. "v1.GateUserPicAddBody": {
  6340. "type": "object",
  6341. "properties": {
  6342. "garden_id": {
  6343. "type": "integer"
  6344. },
  6345. "pic_url": {
  6346. "type": "string"
  6347. }
  6348. }
  6349. },
  6350. "v1.GateUserPicAddResponse": {
  6351. "type": "object",
  6352. "properties": {
  6353. "code": {
  6354. "description": "返回码",
  6355. "type": "integer",
  6356. "format": "int",
  6357. "default": 0
  6358. },
  6359. "message": {
  6360. "description": "消息",
  6361. "type": "string",
  6362. "default": "success"
  6363. }
  6364. }
  6365. },
  6366. "v1.GateUserPicInfoReply": {
  6367. "type": "object",
  6368. "properties": {
  6369. "approve_status": {
  6370. "description": "1 待审核 2 审核通过 3 审核未通过",
  6371. "type": "integer"
  6372. },
  6373. "down_status": {
  6374. "description": "1 待下发 2 已下发 3 下发失败",
  6375. "type": "integer"
  6376. },
  6377. "feedback": {
  6378. "type": "string"
  6379. },
  6380. "pic_url": {
  6381. "type": "string"
  6382. }
  6383. }
  6384. },
  6385. "v1.GateUserPicInfoResponse": {
  6386. "type": "object",
  6387. "properties": {
  6388. "code": {
  6389. "description": "返回码",
  6390. "type": "integer",
  6391. "format": "int",
  6392. "default": 0
  6393. },
  6394. "data": {
  6395. "type": "object",
  6396. "$ref": "#/definitions/v1.GateUserPicInfoReply"
  6397. },
  6398. "message": {
  6399. "description": "消息",
  6400. "type": "string",
  6401. "default": "success"
  6402. }
  6403. }
  6404. },
  6405. "v1.GateVisitorDelResponse": {
  6406. "type": "object",
  6407. "properties": {
  6408. "code": {
  6409. "description": "返回码",
  6410. "type": "integer",
  6411. "format": "int",
  6412. "default": 0
  6413. },
  6414. "message": {
  6415. "description": "消息",
  6416. "type": "string",
  6417. "default": "success"
  6418. }
  6419. }
  6420. },
  6421. "v1.GateVisitorListItem": {
  6422. "type": "object",
  6423. "properties": {
  6424. "comment": {
  6425. "type": "string"
  6426. },
  6427. "device_id": {
  6428. "type": "integer"
  6429. },
  6430. "end": {
  6431. "type": "integer"
  6432. },
  6433. "garden_name": {
  6434. "type": "string"
  6435. },
  6436. "gate_name": {
  6437. "type": "string"
  6438. },
  6439. "id": {
  6440. "type": "integer"
  6441. },
  6442. "location": {
  6443. "type": "string"
  6444. },
  6445. "name": {
  6446. "type": "string"
  6447. },
  6448. "open_time": {
  6449. "type": "integer"
  6450. },
  6451. "phone": {
  6452. "type": "string"
  6453. },
  6454. "qcode": {
  6455. "type": "string"
  6456. },
  6457. "start": {
  6458. "type": "integer"
  6459. },
  6460. "status": {
  6461. "description": "1 未通行 2 已同行 3 已过期",
  6462. "type": "integer"
  6463. },
  6464. "uid": {
  6465. "type": "integer"
  6466. },
  6467. "visitor": {
  6468. "type": "string"
  6469. },
  6470. "visitor_phone": {
  6471. "type": "string"
  6472. }
  6473. }
  6474. },
  6475. "v1.GateVisitorListReply": {
  6476. "type": "object",
  6477. "properties": {
  6478. "list": {
  6479. "type": "array",
  6480. "items": {
  6481. "$ref": "#/definitions/v1.GateVisitorListItem"
  6482. }
  6483. },
  6484. "page": {
  6485. "type": "integer"
  6486. },
  6487. "total": {
  6488. "type": "integer"
  6489. }
  6490. }
  6491. },
  6492. "v1.GateVisitorListResponse": {
  6493. "type": "object",
  6494. "properties": {
  6495. "code": {
  6496. "description": "返回码",
  6497. "type": "integer",
  6498. "format": "int",
  6499. "default": 0
  6500. },
  6501. "data": {
  6502. "type": "object",
  6503. "$ref": "#/definitions/v1.GateVisitorListReply"
  6504. },
  6505. "message": {
  6506. "description": "消息",
  6507. "type": "string",
  6508. "default": "success"
  6509. }
  6510. }
  6511. },
  6512. "v1.GateVisitorPageResponse": {
  6513. "type": "object",
  6514. "properties": {
  6515. "code": {
  6516. "description": "返回码",
  6517. "type": "integer",
  6518. "format": "int",
  6519. "default": 0
  6520. },
  6521. "data": {
  6522. "type": "object",
  6523. "$ref": "#/definitions/v1.GateVisitorListItem"
  6524. },
  6525. "message": {
  6526. "description": "消息",
  6527. "type": "string",
  6528. "default": "success"
  6529. }
  6530. }
  6531. },
  6532. "v1.HouseItem": {
  6533. "type": "object",
  6534. "properties": {
  6535. "building_id": {
  6536. "type": "integer"
  6537. },
  6538. "hall_count": {
  6539. "description": "几厅",
  6540. "type": "integer"
  6541. },
  6542. "has_lift": {
  6543. "type": "boolean"
  6544. },
  6545. "house_area": {
  6546. "description": "房屋建筑面积",
  6547. "type": "number"
  6548. },
  6549. "house_name": {
  6550. "type": "string"
  6551. },
  6552. "house_number": {
  6553. "description": "门牌号",
  6554. "type": "string"
  6555. },
  6556. "house_type": {
  6557. "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅",
  6558. "type": "integer"
  6559. },
  6560. "house_used_area": {
  6561. "description": "房屋使用面积",
  6562. "type": "number"
  6563. },
  6564. "id": {
  6565. "type": "integer"
  6566. },
  6567. "layer": {
  6568. "description": "楼层",
  6569. "type": "integer"
  6570. },
  6571. "room_count": {
  6572. "description": "几室",
  6573. "type": "integer"
  6574. },
  6575. "status": {
  6576. "description": "房屋状态 1 未入住 2 已入住 3 已出租",
  6577. "type": "integer"
  6578. },
  6579. "unit_id": {
  6580. "description": "单元id",
  6581. "type": "integer"
  6582. }
  6583. }
  6584. },
  6585. "v1.HouseListReply": {
  6586. "type": "object",
  6587. "properties": {
  6588. "list": {
  6589. "type": "array",
  6590. "items": {
  6591. "$ref": "#/definitions/v1.HouseItem"
  6592. }
  6593. },
  6594. "page": {
  6595. "type": "integer"
  6596. },
  6597. "total": {
  6598. "type": "integer"
  6599. }
  6600. }
  6601. },
  6602. "v1.HouseListResponse": {
  6603. "type": "object",
  6604. "properties": {
  6605. "code": {
  6606. "description": "返回码",
  6607. "type": "integer",
  6608. "format": "int",
  6609. "default": 0
  6610. },
  6611. "data": {
  6612. "type": "object",
  6613. "$ref": "#/definitions/v1.HouseListReply"
  6614. },
  6615. "message": {
  6616. "description": "消息",
  6617. "type": "string",
  6618. "default": "success"
  6619. }
  6620. }
  6621. },
  6622. "v1.HouseRentApplyBody": {
  6623. "type": "object",
  6624. "properties": {
  6625. "base_conf": {
  6626. "description": "基础设施 从低到高分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机",
  6627. "type": "integer"
  6628. },
  6629. "cert_pic": {
  6630. "description": "房屋证件图片",
  6631. "type": "array",
  6632. "items": {
  6633. "type": "string"
  6634. }
  6635. },
  6636. "contact_phone": {
  6637. "description": "联系人电话",
  6638. "type": "string"
  6639. },
  6640. "contacter": {
  6641. "description": "联系人",
  6642. "type": "string"
  6643. },
  6644. "decorating": {
  6645. "description": "1 精装 2 简装 3 清水",
  6646. "type": "integer"
  6647. },
  6648. "desc": {
  6649. "description": "简介",
  6650. "type": "string"
  6651. },
  6652. "desposit": {
  6653. "description": "押金",
  6654. "type": "integer"
  6655. },
  6656. "direction": {
  6657. "description": "朝向",
  6658. "type": "integer"
  6659. },
  6660. "garden_id": {
  6661. "type": "integer"
  6662. },
  6663. "house_id": {
  6664. "type": "integer"
  6665. },
  6666. "house_pic": {
  6667. "description": "房屋图片",
  6668. "type": "array",
  6669. "items": {
  6670. "type": "string"
  6671. }
  6672. },
  6673. "household_uid": {
  6674. "description": "业主uid",
  6675. "type": "integer"
  6676. },
  6677. "in_time": {
  6678. "description": "可入住时间",
  6679. "type": "integer"
  6680. },
  6681. "intermediary_price": {
  6682. "description": "中介费",
  6683. "type": "integer"
  6684. },
  6685. "pay_time_type": {
  6686. "description": "1 月付 2 季付 3 半年付 4 年付",
  6687. "type": "integer"
  6688. },
  6689. "rent_price": {
  6690. "description": "月租",
  6691. "type": "integer"
  6692. },
  6693. "rent_type": {
  6694. "description": "1 整租 2 合租 3 转租",
  6695. "type": "integer"
  6696. },
  6697. "room_area": {
  6698. "description": "房间面积",
  6699. "type": "number"
  6700. },
  6701. "room_type": {
  6702. "description": "1 全部 2 主卧 3 次卧",
  6703. "type": "integer"
  6704. },
  6705. "service_price": {
  6706. "description": "服务费",
  6707. "type": "integer"
  6708. },
  6709. "special_conf": {
  6710. "description": "特色配置 从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租",
  6711. "type": "integer"
  6712. },
  6713. "wc_count": {
  6714. "description": "几卫",
  6715. "type": "integer"
  6716. }
  6717. }
  6718. },
  6719. "v1.HouseRentApplyReply": {
  6720. "type": "object",
  6721. "properties": {
  6722. "id": {
  6723. "type": "integer"
  6724. }
  6725. }
  6726. },
  6727. "v1.HouseRentApplyResponse": {
  6728. "type": "object",
  6729. "properties": {
  6730. "code": {
  6731. "description": "返回码",
  6732. "type": "integer",
  6733. "format": "int",
  6734. "default": 0
  6735. },
  6736. "data": {
  6737. "type": "object",
  6738. "$ref": "#/definitions/v1.HouseRentApplyReply"
  6739. },
  6740. "message": {
  6741. "description": "消息",
  6742. "type": "string",
  6743. "default": "success"
  6744. }
  6745. }
  6746. },
  6747. "v1.HouseRentAppointmentAddBody": {
  6748. "type": "object",
  6749. "properties": {
  6750. "appointment_time": {
  6751. "description": "预约时间 0 代表随时看房",
  6752. "type": "integer"
  6753. },
  6754. "garden_id": {
  6755. "type": "integer"
  6756. },
  6757. "gender": {
  6758. "type": "integer"
  6759. },
  6760. "name": {
  6761. "type": "string"
  6762. },
  6763. "phone": {
  6764. "type": "string"
  6765. },
  6766. "rent_id": {
  6767. "type": "integer"
  6768. }
  6769. }
  6770. },
  6771. "v1.HouseRentAppointmentDelResponse": {
  6772. "type": "object",
  6773. "properties": {
  6774. "code": {
  6775. "description": "返回码",
  6776. "type": "integer",
  6777. "format": "int",
  6778. "default": 0
  6779. },
  6780. "message": {
  6781. "description": "消息",
  6782. "type": "string",
  6783. "default": "success"
  6784. }
  6785. }
  6786. },
  6787. "v1.HouseRentAppointmentItem": {
  6788. "type": "object",
  6789. "properties": {
  6790. "appointment_time": {
  6791. "type": "integer"
  6792. },
  6793. "area": {
  6794. "type": "number"
  6795. },
  6796. "garden_id": {
  6797. "type": "integer"
  6798. },
  6799. "garden_name": {
  6800. "type": "string"
  6801. },
  6802. "gender": {
  6803. "type": "integer"
  6804. },
  6805. "house_name": {
  6806. "type": "string"
  6807. },
  6808. "id": {
  6809. "type": "integer"
  6810. },
  6811. "layer": {
  6812. "type": "integer"
  6813. },
  6814. "name": {
  6815. "type": "string"
  6816. },
  6817. "phone": {
  6818. "type": "string"
  6819. },
  6820. "rent_id": {
  6821. "type": "integer"
  6822. },
  6823. "status": {
  6824. "description": "1 待受理,2 已受理,3 已拒绝,4 未到访,5已到访,6已过期",
  6825. "type": "integer"
  6826. },
  6827. "uid": {
  6828. "type": "integer"
  6829. }
  6830. }
  6831. },
  6832. "v1.HouseRentAppointmentListReply": {
  6833. "type": "object",
  6834. "properties": {
  6835. "list": {
  6836. "type": "array",
  6837. "items": {
  6838. "$ref": "#/definitions/v1.HouseRentAppointmentItem"
  6839. }
  6840. },
  6841. "page": {
  6842. "type": "integer"
  6843. },
  6844. "total": {
  6845. "type": "integer"
  6846. }
  6847. }
  6848. },
  6849. "v1.HouseRentAppointmentListResponse": {
  6850. "type": "object",
  6851. "properties": {
  6852. "code": {
  6853. "description": "返回码",
  6854. "type": "integer",
  6855. "format": "int",
  6856. "default": 0
  6857. },
  6858. "data": {
  6859. "type": "object",
  6860. "$ref": "#/definitions/v1.HouseRentAppointmentListReply"
  6861. },
  6862. "message": {
  6863. "description": "消息",
  6864. "type": "string",
  6865. "default": "success"
  6866. }
  6867. }
  6868. },
  6869. "v1.HouseRentDownBody": {
  6870. "type": "object",
  6871. "properties": {
  6872. "garden_id": {
  6873. "type": "integer"
  6874. },
  6875. "id": {
  6876. "type": "integer"
  6877. }
  6878. }
  6879. },
  6880. "v1.HouseRentDownResponse": {
  6881. "type": "object",
  6882. "properties": {
  6883. "code": {
  6884. "description": "返回码",
  6885. "type": "integer",
  6886. "format": "int",
  6887. "default": 0
  6888. },
  6889. "message": {
  6890. "description": "消息",
  6891. "type": "string",
  6892. "default": "success"
  6893. }
  6894. }
  6895. },
  6896. "v1.HouseRentItem": {
  6897. "type": "object",
  6898. "properties": {
  6899. "addr": {
  6900. "type": "string"
  6901. },
  6902. "approve_status": {
  6903. "description": "审核状态 1 待审 2 通过 3 未通过",
  6904. "type": "integer"
  6905. },
  6906. "area": {
  6907. "description": "区域",
  6908. "type": "string"
  6909. },
  6910. "base_conf": {
  6911. "description": "基础设施",
  6912. "type": "integer"
  6913. },
  6914. "cert_pic": {
  6915. "description": "房屋证件图片",
  6916. "type": "array",
  6917. "items": {
  6918. "type": "string"
  6919. }
  6920. },
  6921. "city": {
  6922. "description": "城市",
  6923. "type": "string"
  6924. },
  6925. "contact_phone": {
  6926. "description": "联系人电话",
  6927. "type": "string"
  6928. },
  6929. "contacter": {
  6930. "description": "联系人",
  6931. "type": "string"
  6932. },
  6933. "decorating": {
  6934. "description": "1 精装 2 简装 3 清水",
  6935. "type": "integer"
  6936. },
  6937. "desc": {
  6938. "description": "简介",
  6939. "type": "string"
  6940. },
  6941. "desposit": {
  6942. "description": "押金",
  6943. "type": "integer"
  6944. },
  6945. "direction": {
  6946. "description": "朝向",
  6947. "type": "integer"
  6948. },
  6949. "garden_desc": {
  6950. "type": "string"
  6951. },
  6952. "garden_id": {
  6953. "description": "小区id",
  6954. "type": "integer"
  6955. },
  6956. "garden_name": {
  6957. "description": "小区名称",
  6958. "type": "string"
  6959. },
  6960. "hall_count": {
  6961. "description": "几厅",
  6962. "type": "integer"
  6963. },
  6964. "has_lift": {
  6965. "description": "是否有电梯",
  6966. "type": "boolean"
  6967. },
  6968. "house_area": {
  6969. "description": "房屋建筑面积",
  6970. "type": "number"
  6971. },
  6972. "house_id": {
  6973. "type": "integer"
  6974. },
  6975. "house_name": {
  6976. "description": "房屋号",
  6977. "type": "string"
  6978. },
  6979. "house_pic": {
  6980. "description": "房屋图片",
  6981. "type": "array",
  6982. "items": {
  6983. "type": "string"
  6984. }
  6985. },
  6986. "id": {
  6987. "description": "租房id",
  6988. "type": "integer"
  6989. },
  6990. "in_time": {
  6991. "description": "可入住时间",
  6992. "type": "integer"
  6993. },
  6994. "intermediary_price": {
  6995. "description": "中介费",
  6996. "type": "integer"
  6997. },
  6998. "lat": {
  6999. "description": "纬度",
  7000. "type": "number"
  7001. },
  7002. "layer": {
  7003. "description": "楼层",
  7004. "type": "integer"
  7005. },
  7006. "lnt": {
  7007. "description": "经度",
  7008. "type": "number"
  7009. },
  7010. "pay_time_type": {
  7011. "description": "1 月付 2 季付 3 半年付 4 年付",
  7012. "type": "integer"
  7013. },
  7014. "province": {
  7015. "description": "省份",
  7016. "type": "string"
  7017. },
  7018. "rent_price": {
  7019. "description": "月租",
  7020. "type": "integer"
  7021. },
  7022. "rent_type": {
  7023. "description": "1 整租 2 合租 3 转租",
  7024. "type": "integer"
  7025. },
  7026. "room_area": {
  7027. "description": "房间面积",
  7028. "type": "number"
  7029. },
  7030. "room_count": {
  7031. "description": "几室",
  7032. "type": "integer"
  7033. },
  7034. "room_type": {
  7035. "description": "1 全部 2 主卧 3 次卧",
  7036. "type": "integer"
  7037. },
  7038. "service_price": {
  7039. "description": "服务费",
  7040. "type": "integer"
  7041. },
  7042. "special_conf": {
  7043. "description": "特色配置",
  7044. "type": "integer"
  7045. },
  7046. "street": {
  7047. "description": "街道",
  7048. "type": "string"
  7049. },
  7050. "wc_count": {
  7051. "description": "几卫",
  7052. "type": "integer"
  7053. }
  7054. }
  7055. },
  7056. "v1.HouseRentListReply": {
  7057. "type": "object",
  7058. "properties": {
  7059. "list": {
  7060. "type": "array",
  7061. "items": {
  7062. "$ref": "#/definitions/v1.HouseRentItem"
  7063. }
  7064. },
  7065. "page": {
  7066. "type": "integer"
  7067. },
  7068. "total": {
  7069. "type": "integer"
  7070. }
  7071. }
  7072. },
  7073. "v1.HouseRentListResponse": {
  7074. "type": "object",
  7075. "properties": {
  7076. "code": {
  7077. "description": "返回码",
  7078. "type": "integer",
  7079. "format": "int",
  7080. "default": 0
  7081. },
  7082. "data": {
  7083. "type": "object",
  7084. "$ref": "#/definitions/v1.HouseRentListReply"
  7085. },
  7086. "message": {
  7087. "description": "消息",
  7088. "type": "string",
  7089. "default": "success"
  7090. }
  7091. }
  7092. },
  7093. "v1.HouseRentManagerItem": {
  7094. "type": "object",
  7095. "properties": {
  7096. "id": {
  7097. "type": "integer"
  7098. },
  7099. "manager_uid": {
  7100. "type": "integer"
  7101. },
  7102. "name": {
  7103. "description": "姓名",
  7104. "type": "string"
  7105. },
  7106. "openim_id": {
  7107. "type": "string"
  7108. },
  7109. "phone": {
  7110. "type": "string"
  7111. },
  7112. "user_name": {
  7113. "description": "账号",
  7114. "type": "string"
  7115. }
  7116. }
  7117. },
  7118. "v1.HouseRentManagerListReply": {
  7119. "type": "object",
  7120. "properties": {
  7121. "list": {
  7122. "type": "array",
  7123. "items": {
  7124. "$ref": "#/definitions/v1.HouseRentManagerItem"
  7125. }
  7126. }
  7127. }
  7128. },
  7129. "v1.HouseRentManagerListResponse": {
  7130. "type": "object",
  7131. "properties": {
  7132. "code": {
  7133. "description": "返回码",
  7134. "type": "integer",
  7135. "format": "int",
  7136. "default": 0
  7137. },
  7138. "data": {
  7139. "type": "object",
  7140. "$ref": "#/definitions/v1.HouseRentManagerListReply"
  7141. },
  7142. "message": {
  7143. "description": "消息",
  7144. "type": "string",
  7145. "default": "success"
  7146. }
  7147. }
  7148. },
  7149. "v1.HouseRentUpdateBody": {
  7150. "type": "object",
  7151. "properties": {
  7152. "base_conf": {
  7153. "description": "基础设施 从低到高分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机",
  7154. "type": "integer"
  7155. },
  7156. "cert_pic": {
  7157. "description": "房屋证件图片",
  7158. "type": "array",
  7159. "items": {
  7160. "type": "string"
  7161. }
  7162. },
  7163. "contact_phone": {
  7164. "description": "联系人电话",
  7165. "type": "string"
  7166. },
  7167. "contacter": {
  7168. "description": "联系人",
  7169. "type": "string"
  7170. },
  7171. "decorating": {
  7172. "description": "1 精装 2 简装 3 清水",
  7173. "type": "integer"
  7174. },
  7175. "desc": {
  7176. "description": "简介",
  7177. "type": "string"
  7178. },
  7179. "desposit": {
  7180. "description": "押金",
  7181. "type": "integer"
  7182. },
  7183. "direction": {
  7184. "description": "朝向",
  7185. "type": "integer"
  7186. },
  7187. "garden_id": {
  7188. "type": "integer"
  7189. },
  7190. "house_id": {
  7191. "type": "integer"
  7192. },
  7193. "house_pic": {
  7194. "description": "房屋图片",
  7195. "type": "array",
  7196. "items": {
  7197. "type": "string"
  7198. }
  7199. },
  7200. "id": {
  7201. "type": "integer"
  7202. },
  7203. "in_time": {
  7204. "description": "可入住时间",
  7205. "type": "integer"
  7206. },
  7207. "intermediary_price": {
  7208. "description": "中介费",
  7209. "type": "integer"
  7210. },
  7211. "pay_time_type": {
  7212. "description": "1 月付 2 季付 3 半年付 4 年付",
  7213. "type": "integer"
  7214. },
  7215. "rent_price": {
  7216. "description": "月租",
  7217. "type": "integer"
  7218. },
  7219. "rent_type": {
  7220. "description": "1 整租 2 合租 3 转租",
  7221. "type": "integer"
  7222. },
  7223. "room_area": {
  7224. "description": "房间面积",
  7225. "type": "number"
  7226. },
  7227. "room_type": {
  7228. "description": "1 全部 2 主卧 3 次卧",
  7229. "type": "integer"
  7230. },
  7231. "service_price": {
  7232. "description": "服务费",
  7233. "type": "integer"
  7234. },
  7235. "special_conf": {
  7236. "description": "特色配置 从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租",
  7237. "type": "integer"
  7238. },
  7239. "wc_count": {
  7240. "type": "integer"
  7241. }
  7242. }
  7243. },
  7244. "v1.HouseRentUpdateResponse": {
  7245. "type": "object",
  7246. "properties": {
  7247. "code": {
  7248. "description": "返回码",
  7249. "type": "integer",
  7250. "format": "int",
  7251. "default": 0
  7252. },
  7253. "message": {
  7254. "description": "消息",
  7255. "type": "string",
  7256. "default": "success"
  7257. }
  7258. }
  7259. },
  7260. "v1.HouseholdApplyBody": {
  7261. "type": "object",
  7262. "properties": {
  7263. "appendix": {
  7264. "description": "附件",
  7265. "type": "array",
  7266. "items": {
  7267. "type": "string"
  7268. }
  7269. },
  7270. "garden_id": {
  7271. "description": "小区id",
  7272. "type": "integer"
  7273. },
  7274. "house_id": {
  7275. "description": "房屋id",
  7276. "type": "integer"
  7277. },
  7278. "id_number": {
  7279. "description": "证件号",
  7280. "type": "string"
  7281. },
  7282. "id_type": {
  7283. "description": "1 身份证 2 护照",
  7284. "type": "integer"
  7285. },
  7286. "name": {
  7287. "description": "姓名",
  7288. "type": "string"
  7289. },
  7290. "phone": {
  7291. "type": "string"
  7292. },
  7293. "user_type": {
  7294. "description": "1业主 2家人 3租客",
  7295. "type": "integer"
  7296. }
  7297. }
  7298. },
  7299. "v1.HouseholdApplyReply": {
  7300. "type": "object",
  7301. "properties": {
  7302. "id": {
  7303. "type": "integer"
  7304. }
  7305. }
  7306. },
  7307. "v1.HouseholdApplyResponse": {
  7308. "type": "object",
  7309. "properties": {
  7310. "code": {
  7311. "description": "返回码",
  7312. "type": "integer",
  7313. "format": "int",
  7314. "default": 0
  7315. },
  7316. "data": {
  7317. "type": "object",
  7318. "$ref": "#/definitions/v1.HouseholdApplyReply"
  7319. },
  7320. "message": {
  7321. "description": "消息",
  7322. "type": "string",
  7323. "default": "success"
  7324. }
  7325. }
  7326. },
  7327. "v1.HouseholdHouseInfo": {
  7328. "type": "object",
  7329. "properties": {
  7330. "can_pay": {
  7331. "description": "是否支持线上支付",
  7332. "type": "boolean"
  7333. },
  7334. "garden_id": {
  7335. "type": "integer"
  7336. },
  7337. "garden_name": {
  7338. "type": "string"
  7339. },
  7340. "house_id": {
  7341. "type": "integer"
  7342. },
  7343. "house_name": {
  7344. "type": "string"
  7345. },
  7346. "id": {
  7347. "type": "integer"
  7348. },
  7349. "user_type": {
  7350. "description": "住户在该房屋下的类型 1 业主 2 家人 3 租客",
  7351. "type": "integer"
  7352. }
  7353. }
  7354. },
  7355. "v1.HouseholdHousesReply": {
  7356. "type": "object",
  7357. "properties": {
  7358. "list": {
  7359. "type": "array",
  7360. "items": {
  7361. "$ref": "#/definitions/v1.HouseholdHouseInfo"
  7362. }
  7363. }
  7364. }
  7365. },
  7366. "v1.HouseholdHousesResponse": {
  7367. "type": "object",
  7368. "properties": {
  7369. "code": {
  7370. "description": "返回码",
  7371. "type": "integer",
  7372. "format": "int",
  7373. "default": 0
  7374. },
  7375. "data": {
  7376. "type": "object",
  7377. "$ref": "#/definitions/v1.HouseholdHousesReply"
  7378. },
  7379. "message": {
  7380. "description": "消息",
  7381. "type": "string",
  7382. "default": "success"
  7383. }
  7384. }
  7385. },
  7386. "v1.HouseholdItem": {
  7387. "type": "object",
  7388. "properties": {
  7389. "appendix": {
  7390. "type": "array",
  7391. "items": {
  7392. "type": "string"
  7393. }
  7394. },
  7395. "approve_status": {
  7396. "type": "integer"
  7397. },
  7398. "garden_id": {
  7399. "type": "integer"
  7400. },
  7401. "garden_name": {
  7402. "type": "string"
  7403. },
  7404. "house_id": {
  7405. "type": "integer"
  7406. },
  7407. "house_name": {
  7408. "description": "房号",
  7409. "type": "string"
  7410. },
  7411. "id": {
  7412. "type": "integer"
  7413. },
  7414. "id_number": {
  7415. "description": "证件号",
  7416. "type": "string"
  7417. },
  7418. "id_type": {
  7419. "description": "1 身份证 2 护照",
  7420. "type": "integer"
  7421. },
  7422. "name": {
  7423. "type": "string"
  7424. },
  7425. "phone": {
  7426. "type": "string"
  7427. },
  7428. "uid": {
  7429. "type": "integer"
  7430. },
  7431. "user_type": {
  7432. "description": "1业主 2家人 3租客",
  7433. "type": "integer"
  7434. }
  7435. }
  7436. },
  7437. "v1.HouseholdListReply": {
  7438. "type": "object",
  7439. "properties": {
  7440. "list": {
  7441. "type": "array",
  7442. "items": {
  7443. "$ref": "#/definitions/v1.HouseholdItem"
  7444. }
  7445. },
  7446. "page": {
  7447. "type": "integer"
  7448. },
  7449. "total": {
  7450. "type": "integer"
  7451. }
  7452. }
  7453. },
  7454. "v1.HouseholdListResponse": {
  7455. "type": "object",
  7456. "properties": {
  7457. "code": {
  7458. "description": "返回码",
  7459. "type": "integer",
  7460. "format": "int",
  7461. "default": 0
  7462. },
  7463. "data": {
  7464. "type": "object",
  7465. "$ref": "#/definitions/v1.HouseholdListReply"
  7466. },
  7467. "message": {
  7468. "description": "消息",
  7469. "type": "string",
  7470. "default": "success"
  7471. }
  7472. }
  7473. },
  7474. "v1.HouseholdSpaceResponse": {
  7475. "type": "object",
  7476. "properties": {
  7477. "code": {
  7478. "description": "返回码",
  7479. "type": "integer",
  7480. "format": "int",
  7481. "default": 0
  7482. },
  7483. "data": {
  7484. "type": "object",
  7485. "$ref": "#/definitions/v1.ParkSpaceListReply"
  7486. },
  7487. "message": {
  7488. "description": "消息",
  7489. "type": "string",
  7490. "default": "success"
  7491. }
  7492. }
  7493. },
  7494. "v1.HouseholdVehicleResponse": {
  7495. "type": "object",
  7496. "properties": {
  7497. "code": {
  7498. "description": "返回码",
  7499. "type": "integer",
  7500. "format": "int",
  7501. "default": 0
  7502. },
  7503. "data": {
  7504. "type": "object",
  7505. "$ref": "#/definitions/v1.VehicleListReply"
  7506. },
  7507. "message": {
  7508. "description": "消息",
  7509. "type": "string",
  7510. "default": "success"
  7511. }
  7512. }
  7513. },
  7514. "v1.LoginBody": {
  7515. "type": "object",
  7516. "properties": {
  7517. "code": {
  7518. "type": "string"
  7519. },
  7520. "phone_encrypt": {
  7521. "description": "手机号加密数据",
  7522. "type": "string"
  7523. },
  7524. "phone_iv": {
  7525. "description": "手机号加密初始向量",
  7526. "type": "string"
  7527. },
  7528. "user_encrypt": {
  7529. "description": "用户信息加密数据",
  7530. "type": "string"
  7531. },
  7532. "user_iv": {
  7533. "description": "用户信息加密初始向量",
  7534. "type": "string"
  7535. }
  7536. }
  7537. },
  7538. "v1.LoginData": {
  7539. "type": "object",
  7540. "properties": {
  7541. "avatar": {
  7542. "description": "头像",
  7543. "type": "string"
  7544. },
  7545. "nick_name": {
  7546. "type": "string"
  7547. },
  7548. "open_id": {
  7549. "type": "string"
  7550. },
  7551. "openim_id": {
  7552. "type": "string"
  7553. },
  7554. "phone": {
  7555. "type": "string"
  7556. },
  7557. "token": {
  7558. "type": "string"
  7559. },
  7560. "uid": {
  7561. "type": "integer"
  7562. },
  7563. "user": {
  7564. "type": "string"
  7565. }
  7566. }
  7567. },
  7568. "v1.LoginResponse": {
  7569. "type": "object",
  7570. "properties": {
  7571. "code": {
  7572. "description": "返回码",
  7573. "type": "integer",
  7574. "format": "int",
  7575. "default": 0
  7576. },
  7577. "data": {
  7578. "type": "object",
  7579. "$ref": "#/definitions/v1.LoginData"
  7580. },
  7581. "message": {
  7582. "description": "消息",
  7583. "type": "string",
  7584. "default": "success"
  7585. }
  7586. }
  7587. },
  7588. "v1.MaterialInfoReply": {
  7589. "type": "object",
  7590. "properties": {
  7591. "pic": {
  7592. "type": "string"
  7593. }
  7594. }
  7595. },
  7596. "v1.MaterialInfoResponse": {
  7597. "type": "object",
  7598. "properties": {
  7599. "code": {
  7600. "description": "返回码",
  7601. "type": "integer",
  7602. "format": "int",
  7603. "default": 0
  7604. },
  7605. "data": {
  7606. "type": "object",
  7607. "$ref": "#/definitions/v1.MaterialInfoReply"
  7608. },
  7609. "message": {
  7610. "description": "消息",
  7611. "type": "string",
  7612. "default": "success"
  7613. }
  7614. }
  7615. },
  7616. "v1.MaterialItem": {
  7617. "type": "object",
  7618. "properties": {
  7619. "created_at": {
  7620. "type": "integer"
  7621. },
  7622. "enable": {
  7623. "type": "integer"
  7624. },
  7625. "id": {
  7626. "type": "integer"
  7627. },
  7628. "mtype": {
  7629. "type": "integer"
  7630. },
  7631. "pic": {
  7632. "type": "string"
  7633. }
  7634. }
  7635. },
  7636. "v1.MaterialListReply": {
  7637. "type": "object",
  7638. "properties": {
  7639. "list": {
  7640. "type": "array",
  7641. "items": {
  7642. "$ref": "#/definitions/v1.MaterialItem"
  7643. }
  7644. },
  7645. "page": {
  7646. "type": "integer"
  7647. },
  7648. "total": {
  7649. "type": "integer"
  7650. }
  7651. }
  7652. },
  7653. "v1.MaterialListResponse": {
  7654. "type": "object",
  7655. "properties": {
  7656. "code": {
  7657. "description": "返回码",
  7658. "type": "integer",
  7659. "format": "int",
  7660. "default": 0
  7661. },
  7662. "data": {
  7663. "type": "object",
  7664. "$ref": "#/definitions/v1.MaterialListReply"
  7665. },
  7666. "message": {
  7667. "description": "消息",
  7668. "type": "string",
  7669. "default": "success"
  7670. }
  7671. }
  7672. },
  7673. "v1.MonthInfo": {
  7674. "type": "object",
  7675. "properties": {
  7676. "give_months": {
  7677. "description": "赠送月数",
  7678. "type": "integer"
  7679. },
  7680. "give_text": {
  7681. "description": "赠送其他的描述",
  7682. "type": "string"
  7683. },
  7684. "months": {
  7685. "description": "缴费月数",
  7686. "type": "integer"
  7687. },
  7688. "package_id": {
  7689. "type": "integer"
  7690. }
  7691. }
  7692. },
  7693. "v1.NeighborArticleAddBody": {
  7694. "type": "object",
  7695. "properties": {
  7696. "class_id": {
  7697. "description": "分类id",
  7698. "type": "integer"
  7699. },
  7700. "content": {
  7701. "description": "文章类容",
  7702. "type": "string"
  7703. },
  7704. "garden_id": {
  7705. "type": "integer"
  7706. },
  7707. "pics": {
  7708. "description": "文章图片",
  7709. "type": "array",
  7710. "items": {
  7711. "type": "string"
  7712. }
  7713. },
  7714. "title": {
  7715. "description": "文章标题",
  7716. "type": "string"
  7717. }
  7718. }
  7719. },
  7720. "v1.NeighborArticleAddResponse": {
  7721. "type": "object",
  7722. "properties": {
  7723. "code": {
  7724. "description": "返回码",
  7725. "type": "integer",
  7726. "format": "int",
  7727. "default": 0
  7728. },
  7729. "message": {
  7730. "description": "消息",
  7731. "type": "string",
  7732. "default": "success"
  7733. }
  7734. }
  7735. },
  7736. "v1.NeighborArticleDelResponse": {
  7737. "type": "object",
  7738. "properties": {
  7739. "code": {
  7740. "description": "返回码",
  7741. "type": "integer",
  7742. "format": "int",
  7743. "default": 0
  7744. },
  7745. "message": {
  7746. "description": "消息",
  7747. "type": "string",
  7748. "default": "success"
  7749. }
  7750. }
  7751. },
  7752. "v1.NeighborArticleItem": {
  7753. "type": "object",
  7754. "properties": {
  7755. "class_id": {
  7756. "description": "分类id",
  7757. "type": "integer"
  7758. },
  7759. "comment_count": {
  7760. "description": "评论总数",
  7761. "type": "integer"
  7762. },
  7763. "content": {
  7764. "type": "string"
  7765. },
  7766. "created_at": {
  7767. "type": "string"
  7768. },
  7769. "id": {
  7770. "type": "integer"
  7771. },
  7772. "like": {
  7773. "description": "true 本人已点赞 false 本人未点赞",
  7774. "type": "boolean"
  7775. },
  7776. "likes": {
  7777. "description": "文章点赞数",
  7778. "type": "integer"
  7779. },
  7780. "nick_name": {
  7781. "type": "string"
  7782. },
  7783. "owner": {
  7784. "description": "是否是本人发布的文章",
  7785. "type": "boolean"
  7786. },
  7787. "pics": {
  7788. "type": "array",
  7789. "items": {
  7790. "type": "string"
  7791. }
  7792. },
  7793. "title": {
  7794. "type": "string"
  7795. },
  7796. "uid": {
  7797. "type": "integer"
  7798. },
  7799. "updated_at": {
  7800. "type": "string"
  7801. },
  7802. "user_icon": {
  7803. "description": "用户头像",
  7804. "type": "string"
  7805. },
  7806. "user_name": {
  7807. "type": "string"
  7808. },
  7809. "user_phone": {
  7810. "type": "string"
  7811. }
  7812. }
  7813. },
  7814. "v1.NeighborArticleListReply": {
  7815. "type": "object",
  7816. "properties": {
  7817. "list": {
  7818. "type": "array",
  7819. "items": {
  7820. "$ref": "#/definitions/v1.NeighborArticleItem"
  7821. }
  7822. },
  7823. "page": {
  7824. "type": "integer"
  7825. },
  7826. "total": {
  7827. "type": "integer"
  7828. }
  7829. }
  7830. },
  7831. "v1.NeighborArticleListResponse": {
  7832. "type": "object",
  7833. "properties": {
  7834. "code": {
  7835. "description": "返回码",
  7836. "type": "integer",
  7837. "format": "int",
  7838. "default": 0
  7839. },
  7840. "data": {
  7841. "type": "object",
  7842. "$ref": "#/definitions/v1.NeighborArticleListReply"
  7843. },
  7844. "message": {
  7845. "description": "消息",
  7846. "type": "string",
  7847. "default": "success"
  7848. }
  7849. }
  7850. },
  7851. "v1.NeighborArticleUpdateBody": {
  7852. "type": "object",
  7853. "properties": {
  7854. "content": {
  7855. "description": "文章类容",
  7856. "type": "string"
  7857. },
  7858. "garden_id": {
  7859. "type": "integer"
  7860. },
  7861. "id": {
  7862. "type": "integer"
  7863. },
  7864. "pics": {
  7865. "description": "文章图片",
  7866. "type": "array",
  7867. "items": {
  7868. "type": "string"
  7869. }
  7870. },
  7871. "title": {
  7872. "description": "文章标题",
  7873. "type": "string"
  7874. }
  7875. }
  7876. },
  7877. "v1.NeighborArticleUpdateResponse": {
  7878. "type": "object",
  7879. "properties": {
  7880. "code": {
  7881. "description": "返回码",
  7882. "type": "integer",
  7883. "format": "int",
  7884. "default": 0
  7885. },
  7886. "message": {
  7887. "description": "消息",
  7888. "type": "string",
  7889. "default": "success"
  7890. }
  7891. }
  7892. },
  7893. "v1.NeighborClassItem": {
  7894. "type": "object",
  7895. "properties": {
  7896. "article_count": {
  7897. "description": "分类下的文章总数",
  7898. "type": "integer"
  7899. },
  7900. "class_name": {
  7901. "type": "string"
  7902. },
  7903. "class_pic": {
  7904. "type": "string"
  7905. },
  7906. "created_at": {
  7907. "description": "分类创建时间",
  7908. "type": "string"
  7909. },
  7910. "enable": {
  7911. "type": "boolean"
  7912. },
  7913. "id": {
  7914. "type": "integer"
  7915. },
  7916. "updated_at": {
  7917. "description": "分类结束时间",
  7918. "type": "string"
  7919. }
  7920. }
  7921. },
  7922. "v1.NeighborClassListReply": {
  7923. "type": "object",
  7924. "properties": {
  7925. "list": {
  7926. "type": "array",
  7927. "items": {
  7928. "$ref": "#/definitions/v1.NeighborClassItem"
  7929. }
  7930. },
  7931. "page": {
  7932. "type": "integer"
  7933. },
  7934. "total": {
  7935. "type": "integer"
  7936. }
  7937. }
  7938. },
  7939. "v1.NeighborClassListResponse": {
  7940. "type": "object",
  7941. "properties": {
  7942. "code": {
  7943. "description": "返回码",
  7944. "type": "integer",
  7945. "format": "int",
  7946. "default": 0
  7947. },
  7948. "data": {
  7949. "type": "object",
  7950. "$ref": "#/definitions/v1.NeighborClassListReply"
  7951. },
  7952. "message": {
  7953. "description": "消息",
  7954. "type": "string",
  7955. "default": "success"
  7956. }
  7957. }
  7958. },
  7959. "v1.NeighborCommentAddBody": {
  7960. "type": "object",
  7961. "properties": {
  7962. "article_id": {
  7963. "type": "integer"
  7964. },
  7965. "content": {
  7966. "description": "文章类容",
  7967. "type": "string"
  7968. },
  7969. "garden_id": {
  7970. "type": "integer"
  7971. },
  7972. "pics": {
  7973. "description": "文章图片",
  7974. "type": "array",
  7975. "items": {
  7976. "type": "string"
  7977. }
  7978. },
  7979. "pid": {
  7980. "description": "pid 和 article_id 二选一, 当为文章评论使用article_id, 当为评论添加子评论使用pid(即父评论id)",
  7981. "type": "integer"
  7982. }
  7983. }
  7984. },
  7985. "v1.NeighborCommentAddResponse": {
  7986. "type": "object",
  7987. "properties": {
  7988. "code": {
  7989. "description": "返回码",
  7990. "type": "integer",
  7991. "format": "int",
  7992. "default": 0
  7993. },
  7994. "message": {
  7995. "description": "消息",
  7996. "type": "string",
  7997. "default": "success"
  7998. }
  7999. }
  8000. },
  8001. "v1.NeighborCommentDelResponse": {
  8002. "type": "object",
  8003. "properties": {
  8004. "code": {
  8005. "description": "返回码",
  8006. "type": "integer",
  8007. "format": "int",
  8008. "default": 0
  8009. },
  8010. "message": {
  8011. "description": "消息",
  8012. "type": "string",
  8013. "default": "success"
  8014. }
  8015. }
  8016. },
  8017. "v1.NeighborCommentItem": {
  8018. "type": "object",
  8019. "properties": {
  8020. "content": {
  8021. "type": "string"
  8022. },
  8023. "created_at": {
  8024. "type": "string"
  8025. },
  8026. "id": {
  8027. "type": "integer"
  8028. },
  8029. "like": {
  8030. "description": "本人是否点赞",
  8031. "type": "boolean"
  8032. },
  8033. "likes": {
  8034. "description": "点赞数",
  8035. "type": "integer"
  8036. },
  8037. "nick_name": {
  8038. "type": "string"
  8039. },
  8040. "owner": {
  8041. "description": "是否是本人发布的文章",
  8042. "type": "boolean"
  8043. },
  8044. "pics": {
  8045. "type": "array",
  8046. "items": {
  8047. "type": "string"
  8048. }
  8049. },
  8050. "sub_comment_count": {
  8051. "description": "子评论数",
  8052. "type": "integer"
  8053. },
  8054. "uid": {
  8055. "type": "integer"
  8056. },
  8057. "updated_at": {
  8058. "type": "string"
  8059. },
  8060. "user_icon": {
  8061. "description": "用户头像",
  8062. "type": "string"
  8063. },
  8064. "user_name": {
  8065. "type": "string"
  8066. },
  8067. "user_phone": {
  8068. "type": "string"
  8069. }
  8070. }
  8071. },
  8072. "v1.NeighborCommentListReply": {
  8073. "type": "object",
  8074. "properties": {
  8075. "list": {
  8076. "type": "array",
  8077. "items": {
  8078. "$ref": "#/definitions/v1.NeighborCommentItem"
  8079. }
  8080. },
  8081. "page": {
  8082. "type": "integer"
  8083. },
  8084. "total": {
  8085. "type": "integer"
  8086. }
  8087. }
  8088. },
  8089. "v1.NeighborCommentListResponse": {
  8090. "type": "object",
  8091. "properties": {
  8092. "code": {
  8093. "description": "返回码",
  8094. "type": "integer",
  8095. "format": "int",
  8096. "default": 0
  8097. },
  8098. "data": {
  8099. "type": "object",
  8100. "$ref": "#/definitions/v1.NeighborCommentListReply"
  8101. },
  8102. "message": {
  8103. "description": "消息",
  8104. "type": "string",
  8105. "default": "success"
  8106. }
  8107. }
  8108. },
  8109. "v1.NeighborCommentUpdateBody": {
  8110. "type": "object",
  8111. "properties": {
  8112. "content": {
  8113. "description": "文章类容",
  8114. "type": "string"
  8115. },
  8116. "garden_id": {
  8117. "type": "integer"
  8118. },
  8119. "id": {
  8120. "type": "integer"
  8121. },
  8122. "pics": {
  8123. "description": "文章图片",
  8124. "type": "array",
  8125. "items": {
  8126. "type": "string"
  8127. }
  8128. }
  8129. }
  8130. },
  8131. "v1.NeighborCommentUpdateResponse": {
  8132. "type": "object",
  8133. "properties": {
  8134. "code": {
  8135. "description": "返回码",
  8136. "type": "integer",
  8137. "format": "int",
  8138. "default": 0
  8139. },
  8140. "message": {
  8141. "description": "消息",
  8142. "type": "string",
  8143. "default": "success"
  8144. }
  8145. }
  8146. },
  8147. "v1.NeighborLikeBody": {
  8148. "type": "object",
  8149. "properties": {
  8150. "garden_id": {
  8151. "type": "integer"
  8152. },
  8153. "like": {
  8154. "description": "true 点赞 false 撤销点赞(前端应做相应控制,如果目标已点赞则不能点赞只能撤销,如果目标未点赞则只能点赞,不能撤销)",
  8155. "type": "boolean"
  8156. },
  8157. "like_id": {
  8158. "description": "点赞id(like_type为1时代表文章id,like_type为2时代表评论id)",
  8159. "type": "integer"
  8160. },
  8161. "like_type": {
  8162. "description": "点赞类型 1 文章 2 评论",
  8163. "type": "integer"
  8164. }
  8165. }
  8166. },
  8167. "v1.NeighborLikeResponse": {
  8168. "type": "object",
  8169. "properties": {
  8170. "code": {
  8171. "description": "返回码",
  8172. "type": "integer",
  8173. "format": "int",
  8174. "default": 0
  8175. },
  8176. "message": {
  8177. "description": "消息",
  8178. "type": "string",
  8179. "default": "success"
  8180. }
  8181. }
  8182. },
  8183. "v1.OpenImTokenReply": {
  8184. "type": "object",
  8185. "properties": {
  8186. "expire_at": {
  8187. "type": "integer"
  8188. },
  8189. "token": {
  8190. "type": "string"
  8191. }
  8192. }
  8193. },
  8194. "v1.OpenImTokenResponse": {
  8195. "type": "object",
  8196. "properties": {
  8197. "data": {
  8198. "type": "object",
  8199. "$ref": "#/definitions/v1.OpenImTokenReply"
  8200. },
  8201. "token": {
  8202. "description": "token",
  8203. "type": "string"
  8204. },
  8205. "userId": {
  8206. "description": "用户id",
  8207. "type": "integer"
  8208. }
  8209. }
  8210. },
  8211. "v1.OpenImUserData": {
  8212. "type": "object",
  8213. "properties": {
  8214. "face_url": {
  8215. "type": "string"
  8216. },
  8217. "gender": {
  8218. "type": "integer"
  8219. },
  8220. "nick_name": {
  8221. "type": "string"
  8222. },
  8223. "openim_id": {
  8224. "type": "string"
  8225. }
  8226. }
  8227. },
  8228. "v1.OpenImUserInfoReply": {
  8229. "type": "object",
  8230. "properties": {
  8231. "list": {
  8232. "type": "array",
  8233. "items": {
  8234. "$ref": "#/definitions/v1.OpenImUserData"
  8235. }
  8236. }
  8237. }
  8238. },
  8239. "v1.OpenImUsersInfoResponse": {
  8240. "type": "object",
  8241. "properties": {
  8242. "code": {
  8243. "description": "返回码",
  8244. "type": "integer",
  8245. "format": "int",
  8246. "default": 0
  8247. },
  8248. "data": {
  8249. "type": "object",
  8250. "$ref": "#/definitions/v1.OpenImUserInfoReply"
  8251. },
  8252. "message": {
  8253. "description": "消息",
  8254. "type": "string",
  8255. "default": "success"
  8256. }
  8257. }
  8258. },
  8259. "v1.ParkSpaceItem": {
  8260. "type": "object",
  8261. "properties": {
  8262. "comment": {
  8263. "type": "string"
  8264. },
  8265. "created_at": {
  8266. "type": "string"
  8267. },
  8268. "house_id": {
  8269. "type": "integer"
  8270. },
  8271. "house_name": {
  8272. "type": "string"
  8273. },
  8274. "id": {
  8275. "type": "integer"
  8276. },
  8277. "park_id": {
  8278. "type": "integer"
  8279. },
  8280. "park_name": {
  8281. "type": "string"
  8282. },
  8283. "park_number": {
  8284. "type": "string"
  8285. },
  8286. "park_type": {
  8287. "type": "integer"
  8288. },
  8289. "space_area": {
  8290. "type": "number"
  8291. },
  8292. "space_number": {
  8293. "type": "string"
  8294. },
  8295. "space_type": {
  8296. "type": "integer"
  8297. }
  8298. }
  8299. },
  8300. "v1.ParkSpaceListReply": {
  8301. "type": "object",
  8302. "properties": {
  8303. "list": {
  8304. "type": "array",
  8305. "items": {
  8306. "$ref": "#/definitions/v1.ParkSpaceItem"
  8307. }
  8308. },
  8309. "page": {
  8310. "type": "integer"
  8311. },
  8312. "total": {
  8313. "type": "integer"
  8314. }
  8315. }
  8316. },
  8317. "v1.ProvinceCityAreaReply": {
  8318. "type": "object",
  8319. "properties": {
  8320. "area_list": {
  8321. "type": "array",
  8322. "items": {
  8323. "$ref": "#/definitions/v1.AreaData"
  8324. }
  8325. },
  8326. "city_list": {
  8327. "type": "array",
  8328. "items": {
  8329. "$ref": "#/definitions/v1.CityData"
  8330. }
  8331. },
  8332. "province_list": {
  8333. "type": "array",
  8334. "items": {
  8335. "$ref": "#/definitions/v1.ProvinceData"
  8336. }
  8337. }
  8338. }
  8339. },
  8340. "v1.ProvinceCityAreaResponse": {
  8341. "type": "object",
  8342. "properties": {
  8343. "code": {
  8344. "description": "返回码",
  8345. "type": "integer",
  8346. "format": "int",
  8347. "default": 0
  8348. },
  8349. "data": {
  8350. "type": "object",
  8351. "$ref": "#/definitions/v1.ProvinceCityAreaReply"
  8352. },
  8353. "message": {
  8354. "description": "消息",
  8355. "type": "string",
  8356. "default": "success"
  8357. }
  8358. }
  8359. },
  8360. "v1.ProvinceData": {
  8361. "type": "object",
  8362. "properties": {
  8363. "code": {
  8364. "type": "string"
  8365. },
  8366. "name": {
  8367. "type": "string"
  8368. }
  8369. }
  8370. },
  8371. "v1.RealNameAuthBody": {
  8372. "type": "object",
  8373. "properties": {
  8374. "id_number": {
  8375. "type": "string"
  8376. },
  8377. "id_type": {
  8378. "type": "integer"
  8379. },
  8380. "real_name": {
  8381. "type": "string"
  8382. }
  8383. }
  8384. },
  8385. "v1.RealNameAuthData": {
  8386. "type": "object",
  8387. "properties": {
  8388. "token": {
  8389. "type": "string"
  8390. }
  8391. }
  8392. },
  8393. "v1.RealNameAuthResponse": {
  8394. "type": "object",
  8395. "properties": {
  8396. "code": {
  8397. "description": "返回码",
  8398. "type": "integer",
  8399. "format": "int",
  8400. "default": 0
  8401. },
  8402. "data": {
  8403. "type": "object",
  8404. "$ref": "#/definitions/v1.RealNameAuthData"
  8405. },
  8406. "message": {
  8407. "description": "消息",
  8408. "type": "string",
  8409. "default": "success"
  8410. }
  8411. }
  8412. },
  8413. "v1.RepairClassItem": {
  8414. "type": "object",
  8415. "properties": {
  8416. "area": {
  8417. "type": "integer"
  8418. },
  8419. "enable": {
  8420. "type": "boolean"
  8421. },
  8422. "id": {
  8423. "type": "integer"
  8424. },
  8425. "name": {
  8426. "type": "string"
  8427. }
  8428. }
  8429. },
  8430. "v1.RepairClassListReply": {
  8431. "type": "object",
  8432. "properties": {
  8433. "list": {
  8434. "type": "array",
  8435. "items": {
  8436. "$ref": "#/definitions/v1.RepairClassItem"
  8437. }
  8438. },
  8439. "page": {
  8440. "type": "integer"
  8441. },
  8442. "total": {
  8443. "type": "integer"
  8444. }
  8445. }
  8446. },
  8447. "v1.RepairClassListResponse": {
  8448. "type": "object",
  8449. "properties": {
  8450. "code": {
  8451. "description": "返回码",
  8452. "type": "integer",
  8453. "format": "int",
  8454. "default": 0
  8455. },
  8456. "data": {
  8457. "type": "object",
  8458. "$ref": "#/definitions/v1.RepairClassListReply"
  8459. },
  8460. "message": {
  8461. "description": "消息",
  8462. "type": "string",
  8463. "default": "success"
  8464. }
  8465. }
  8466. },
  8467. "v1.RepairOrderAddBody": {
  8468. "type": "object",
  8469. "properties": {
  8470. "apply_content": {
  8471. "description": "报修内容",
  8472. "type": "string"
  8473. },
  8474. "apply_people": {
  8475. "description": "报修人",
  8476. "type": "string"
  8477. },
  8478. "apply_people_phone": {
  8479. "description": "报修人电话",
  8480. "type": "string"
  8481. },
  8482. "apply_pic": {
  8483. "description": "报修图片",
  8484. "type": "array",
  8485. "items": {
  8486. "type": "string"
  8487. }
  8488. },
  8489. "appointment": {
  8490. "description": "预约时间",
  8491. "type": "integer"
  8492. },
  8493. "class_id": {
  8494. "description": "分类id",
  8495. "type": "integer"
  8496. },
  8497. "garden_id": {
  8498. "type": "integer"
  8499. },
  8500. "house_id": {
  8501. "description": "房屋id",
  8502. "type": "integer"
  8503. }
  8504. }
  8505. },
  8506. "v1.RepairOrderAddReply": {
  8507. "type": "object",
  8508. "properties": {
  8509. "id": {
  8510. "type": "integer"
  8511. }
  8512. }
  8513. },
  8514. "v1.RepairOrderAddResponse": {
  8515. "type": "object",
  8516. "properties": {
  8517. "code": {
  8518. "description": "返回码",
  8519. "type": "integer",
  8520. "format": "int",
  8521. "default": 0
  8522. },
  8523. "data": {
  8524. "type": "object",
  8525. "$ref": "#/definitions/v1.RepairOrderAddReply"
  8526. },
  8527. "message": {
  8528. "description": "消息",
  8529. "type": "string",
  8530. "default": "success"
  8531. }
  8532. }
  8533. },
  8534. "v1.RepairOrderInfoReply": {
  8535. "type": "object",
  8536. "properties": {
  8537. "base_info": {
  8538. "description": "基本信息",
  8539. "type": "object",
  8540. "$ref": "#/definitions/v1.RepairOrderItem"
  8541. },
  8542. "list": {
  8543. "description": "工单流水线",
  8544. "type": "array",
  8545. "items": {
  8546. "$ref": "#/definitions/v1.RepairOrderPipelineData"
  8547. }
  8548. }
  8549. }
  8550. },
  8551. "v1.RepairOrderInfoResponse": {
  8552. "type": "object",
  8553. "properties": {
  8554. "code": {
  8555. "description": "返回码",
  8556. "type": "integer",
  8557. "format": "int",
  8558. "default": 0
  8559. },
  8560. "data": {
  8561. "type": "object",
  8562. "$ref": "#/definitions/v1.RepairOrderInfoReply"
  8563. },
  8564. "message": {
  8565. "description": "消息",
  8566. "type": "string",
  8567. "default": "success"
  8568. }
  8569. }
  8570. },
  8571. "v1.RepairOrderItem": {
  8572. "type": "object",
  8573. "properties": {
  8574. "apply_content": {
  8575. "description": "报修内容",
  8576. "type": "string"
  8577. },
  8578. "apply_people": {
  8579. "description": "报修人",
  8580. "type": "string"
  8581. },
  8582. "apply_people_phone": {
  8583. "description": "报修人电话",
  8584. "type": "string"
  8585. },
  8586. "apply_pic": {
  8587. "description": "报修图片",
  8588. "type": "array",
  8589. "items": {
  8590. "type": "string"
  8591. }
  8592. },
  8593. "appointment": {
  8594. "description": "预约时间",
  8595. "type": "string"
  8596. },
  8597. "area": {
  8598. "description": "1 公共区域 2 室内",
  8599. "type": "integer"
  8600. },
  8601. "building_id": {
  8602. "description": "楼栋id",
  8603. "type": "integer"
  8604. },
  8605. "class_id": {
  8606. "description": "分类id",
  8607. "type": "integer"
  8608. },
  8609. "class_name": {
  8610. "description": "分类名称",
  8611. "type": "string"
  8612. },
  8613. "created_at": {
  8614. "description": "报修时间",
  8615. "type": "string"
  8616. },
  8617. "current_user": {
  8618. "description": "当前状态处理人",
  8619. "type": "string"
  8620. },
  8621. "house_id": {
  8622. "description": "房屋id",
  8623. "type": "integer"
  8624. },
  8625. "house_name": {
  8626. "description": "房屋全称",
  8627. "type": "string"
  8628. },
  8629. "id": {
  8630. "type": "integer"
  8631. },
  8632. "last_user": {
  8633. "description": "上级处理人",
  8634. "type": "string"
  8635. },
  8636. "repair_pic": {
  8637. "type": "array",
  8638. "items": {
  8639. "type": "string"
  8640. }
  8641. },
  8642. "repair_time": {
  8643. "description": "维修时间",
  8644. "type": "string"
  8645. },
  8646. "return_visit_content": {
  8647. "description": "回访内容",
  8648. "type": "string"
  8649. },
  8650. "return_visit_level": {
  8651. "description": "回访满意度",
  8652. "type": "integer"
  8653. },
  8654. "status": {
  8655. "type": "integer"
  8656. },
  8657. "unit_id": {
  8658. "description": "单元id",
  8659. "type": "integer"
  8660. }
  8661. }
  8662. },
  8663. "v1.RepairOrderListReply": {
  8664. "type": "object",
  8665. "properties": {
  8666. "list": {
  8667. "type": "array",
  8668. "items": {
  8669. "$ref": "#/definitions/v1.RepairOrderItem"
  8670. }
  8671. },
  8672. "page": {
  8673. "type": "integer"
  8674. },
  8675. "total": {
  8676. "type": "integer"
  8677. }
  8678. }
  8679. },
  8680. "v1.RepairOrderListResponse": {
  8681. "type": "object",
  8682. "properties": {
  8683. "code": {
  8684. "description": "返回码",
  8685. "type": "integer",
  8686. "format": "int",
  8687. "default": 0
  8688. },
  8689. "data": {
  8690. "type": "object",
  8691. "$ref": "#/definitions/v1.RepairOrderListReply"
  8692. },
  8693. "message": {
  8694. "description": "消息",
  8695. "type": "string",
  8696. "default": "success"
  8697. }
  8698. }
  8699. },
  8700. "v1.RepairOrderPipelineData": {
  8701. "type": "object",
  8702. "properties": {
  8703. "feedback": {
  8704. "description": "处理意见",
  8705. "type": "string"
  8706. },
  8707. "handle_time": {
  8708. "description": "处理时间",
  8709. "type": "string"
  8710. },
  8711. "phone": {
  8712. "type": "string"
  8713. },
  8714. "status": {
  8715. "type": "string"
  8716. },
  8717. "user": {
  8718. "description": "处理人",
  8719. "type": "string"
  8720. }
  8721. }
  8722. },
  8723. "v1.RepairOrderReturnVisitBody": {
  8724. "type": "object",
  8725. "properties": {
  8726. "garden_id": {
  8727. "type": "integer"
  8728. },
  8729. "id": {
  8730. "type": "integer"
  8731. },
  8732. "return_visit_content": {
  8733. "description": "回访内容",
  8734. "type": "string"
  8735. },
  8736. "return_visit_level": {
  8737. "description": "1 满意 2 不满意",
  8738. "type": "integer"
  8739. }
  8740. }
  8741. },
  8742. "v1.RepairOrderReturnVisitResponse": {
  8743. "type": "object",
  8744. "properties": {
  8745. "code": {
  8746. "description": "返回码",
  8747. "type": "integer",
  8748. "format": "int",
  8749. "default": 0
  8750. },
  8751. "message": {
  8752. "description": "消息",
  8753. "type": "string",
  8754. "default": "success"
  8755. }
  8756. }
  8757. },
  8758. "v1.RepairOrderUpdateBody": {
  8759. "type": "object",
  8760. "properties": {
  8761. "apply_content": {
  8762. "description": "报修内容",
  8763. "type": "string"
  8764. },
  8765. "apply_people": {
  8766. "description": "报修人",
  8767. "type": "string"
  8768. },
  8769. "apply_people_phone": {
  8770. "description": "报修人电话",
  8771. "type": "string"
  8772. },
  8773. "apply_pic": {
  8774. "description": "报修图片",
  8775. "type": "array",
  8776. "items": {
  8777. "type": "string"
  8778. }
  8779. },
  8780. "appointment": {
  8781. "description": "预约时间",
  8782. "type": "integer"
  8783. },
  8784. "class_id": {
  8785. "description": "分类id",
  8786. "type": "integer"
  8787. },
  8788. "garden_id": {
  8789. "type": "integer"
  8790. },
  8791. "house_id": {
  8792. "description": "房屋id",
  8793. "type": "integer"
  8794. },
  8795. "id": {
  8796. "type": "integer"
  8797. }
  8798. }
  8799. },
  8800. "v1.RepairOrderUpdateResponse": {
  8801. "type": "object",
  8802. "properties": {
  8803. "code": {
  8804. "description": "返回码",
  8805. "type": "integer",
  8806. "format": "int",
  8807. "default": 0
  8808. },
  8809. "message": {
  8810. "description": "消息",
  8811. "type": "string",
  8812. "default": "success"
  8813. }
  8814. }
  8815. },
  8816. "v1.ServicePhoneClassItem": {
  8817. "type": "object",
  8818. "properties": {
  8819. "class_name": {
  8820. "type": "string"
  8821. },
  8822. "enable": {
  8823. "type": "boolean"
  8824. },
  8825. "id": {
  8826. "type": "integer"
  8827. }
  8828. }
  8829. },
  8830. "v1.ServicePhoneClassListReply": {
  8831. "type": "object",
  8832. "properties": {
  8833. "list": {
  8834. "type": "array",
  8835. "items": {
  8836. "$ref": "#/definitions/v1.ServicePhoneClassItem"
  8837. }
  8838. },
  8839. "page": {
  8840. "type": "integer"
  8841. },
  8842. "total": {
  8843. "type": "integer"
  8844. }
  8845. }
  8846. },
  8847. "v1.ServicePhoneClassListResponse": {
  8848. "type": "object",
  8849. "properties": {
  8850. "code": {
  8851. "description": "返回码",
  8852. "type": "integer",
  8853. "format": "int",
  8854. "default": 0
  8855. },
  8856. "data": {
  8857. "type": "object",
  8858. "$ref": "#/definitions/v1.ServicePhoneClassListReply"
  8859. },
  8860. "message": {
  8861. "description": "消息",
  8862. "type": "string",
  8863. "default": "success"
  8864. }
  8865. }
  8866. },
  8867. "v1.ServicePhoneItem": {
  8868. "type": "object",
  8869. "properties": {
  8870. "class_id": {
  8871. "type": "integer"
  8872. },
  8873. "class_name": {
  8874. "type": "string"
  8875. },
  8876. "enable": {
  8877. "type": "boolean"
  8878. },
  8879. "id": {
  8880. "type": "integer"
  8881. },
  8882. "name": {
  8883. "type": "string"
  8884. },
  8885. "phone": {
  8886. "type": "string"
  8887. }
  8888. }
  8889. },
  8890. "v1.ServicePhoneListReply": {
  8891. "type": "object",
  8892. "properties": {
  8893. "list": {
  8894. "type": "array",
  8895. "items": {
  8896. "$ref": "#/definitions/v1.ServicePhoneItem"
  8897. }
  8898. },
  8899. "page": {
  8900. "type": "integer"
  8901. },
  8902. "total": {
  8903. "type": "integer"
  8904. }
  8905. }
  8906. },
  8907. "v1.ServicePhoneListResponse": {
  8908. "type": "object",
  8909. "properties": {
  8910. "code": {
  8911. "description": "返回码",
  8912. "type": "integer",
  8913. "format": "int",
  8914. "default": 0
  8915. },
  8916. "data": {
  8917. "type": "object",
  8918. "$ref": "#/definitions/v1.ServicePhoneListReply"
  8919. },
  8920. "message": {
  8921. "description": "消息",
  8922. "type": "string",
  8923. "default": "success"
  8924. }
  8925. }
  8926. },
  8927. "v1.StreetCommitteeReply": {
  8928. "type": "object",
  8929. "properties": {
  8930. "committee_list": {
  8931. "type": "array",
  8932. "items": {
  8933. "$ref": "#/definitions/v1.CommitteeData"
  8934. }
  8935. },
  8936. "street_list": {
  8937. "type": "array",
  8938. "items": {
  8939. "$ref": "#/definitions/v1.StreetData"
  8940. }
  8941. }
  8942. }
  8943. },
  8944. "v1.StreetCommitteeResponse": {
  8945. "type": "object",
  8946. "properties": {
  8947. "code": {
  8948. "description": "返回码",
  8949. "type": "integer",
  8950. "format": "int",
  8951. "default": 0
  8952. },
  8953. "data": {
  8954. "type": "object",
  8955. "$ref": "#/definitions/v1.StreetCommitteeReply"
  8956. },
  8957. "message": {
  8958. "description": "消息",
  8959. "type": "string",
  8960. "default": "success"
  8961. }
  8962. }
  8963. },
  8964. "v1.StreetData": {
  8965. "type": "object",
  8966. "properties": {
  8967. "code": {
  8968. "type": "string"
  8969. },
  8970. "name": {
  8971. "type": "string"
  8972. }
  8973. }
  8974. },
  8975. "v1.SuggestionOrderAddBody": {
  8976. "type": "object",
  8977. "properties": {
  8978. "apply_content": {
  8979. "description": "投诉内容",
  8980. "type": "string"
  8981. },
  8982. "apply_people": {
  8983. "description": "投诉人",
  8984. "type": "string"
  8985. },
  8986. "apply_people_phone": {
  8987. "description": "投诉人电话",
  8988. "type": "string"
  8989. },
  8990. "apply_pic": {
  8991. "description": "投诉图片",
  8992. "type": "array",
  8993. "items": {
  8994. "type": "string"
  8995. }
  8996. },
  8997. "garden_id": {
  8998. "type": "integer"
  8999. },
  9000. "suggestion_type": {
  9001. "description": "投诉类型 1 投诉 2 建议",
  9002. "type": "integer"
  9003. }
  9004. }
  9005. },
  9006. "v1.SuggestionOrderAddReply": {
  9007. "type": "object",
  9008. "properties": {
  9009. "id": {
  9010. "type": "integer"
  9011. }
  9012. }
  9013. },
  9014. "v1.SuggestionOrderAddResponse": {
  9015. "type": "object",
  9016. "properties": {
  9017. "code": {
  9018. "description": "返回码",
  9019. "type": "integer",
  9020. "format": "int",
  9021. "default": 0
  9022. },
  9023. "data": {
  9024. "type": "object",
  9025. "$ref": "#/definitions/v1.SuggestionOrderAddReply"
  9026. },
  9027. "message": {
  9028. "description": "消息",
  9029. "type": "string",
  9030. "default": "success"
  9031. }
  9032. }
  9033. },
  9034. "v1.SuggestionOrderInfoReply": {
  9035. "type": "object",
  9036. "properties": {
  9037. "base_info": {
  9038. "description": "基本信息",
  9039. "type": "object",
  9040. "$ref": "#/definitions/v1.SuggestionOrderItem"
  9041. },
  9042. "list": {
  9043. "description": "工单流水线",
  9044. "type": "array",
  9045. "items": {
  9046. "$ref": "#/definitions/v1.SuggestionOrderPipelineData"
  9047. }
  9048. }
  9049. }
  9050. },
  9051. "v1.SuggestionOrderInfoResponse": {
  9052. "type": "object",
  9053. "properties": {
  9054. "code": {
  9055. "description": "返回码",
  9056. "type": "integer",
  9057. "format": "int",
  9058. "default": 0
  9059. },
  9060. "data": {
  9061. "type": "object",
  9062. "$ref": "#/definitions/v1.SuggestionOrderInfoReply"
  9063. },
  9064. "message": {
  9065. "description": "消息",
  9066. "type": "string",
  9067. "default": "success"
  9068. }
  9069. }
  9070. },
  9071. "v1.SuggestionOrderItem": {
  9072. "type": "object",
  9073. "properties": {
  9074. "apply_content": {
  9075. "description": "投诉内容",
  9076. "type": "string"
  9077. },
  9078. "apply_people": {
  9079. "description": "投诉人",
  9080. "type": "string"
  9081. },
  9082. "apply_people_phone": {
  9083. "description": "投诉人电话",
  9084. "type": "string"
  9085. },
  9086. "apply_pic": {
  9087. "description": "投诉图片",
  9088. "type": "array",
  9089. "items": {
  9090. "type": "string"
  9091. }
  9092. },
  9093. "created_at": {
  9094. "description": "投诉时间",
  9095. "type": "string"
  9096. },
  9097. "current_user": {
  9098. "description": "当前状态处理人",
  9099. "type": "string"
  9100. },
  9101. "id": {
  9102. "type": "integer"
  9103. },
  9104. "last_user": {
  9105. "description": "上级处理人",
  9106. "type": "string"
  9107. },
  9108. "return_visit_content": {
  9109. "description": "回访内容",
  9110. "type": "string"
  9111. },
  9112. "return_visit_level": {
  9113. "description": "回访满意度",
  9114. "type": "integer"
  9115. },
  9116. "status": {
  9117. "type": "integer"
  9118. },
  9119. "suggestion_type": {
  9120. "description": "投诉类型 1 投诉 2 建议",
  9121. "type": "integer"
  9122. }
  9123. }
  9124. },
  9125. "v1.SuggestionOrderListReply": {
  9126. "type": "object",
  9127. "properties": {
  9128. "list": {
  9129. "type": "array",
  9130. "items": {
  9131. "$ref": "#/definitions/v1.SuggestionOrderItem"
  9132. }
  9133. },
  9134. "page": {
  9135. "type": "integer"
  9136. },
  9137. "total": {
  9138. "type": "integer"
  9139. }
  9140. }
  9141. },
  9142. "v1.SuggestionOrderListResponse": {
  9143. "type": "object",
  9144. "properties": {
  9145. "code": {
  9146. "description": "返回码",
  9147. "type": "integer",
  9148. "format": "int",
  9149. "default": 0
  9150. },
  9151. "data": {
  9152. "type": "object",
  9153. "$ref": "#/definitions/v1.SuggestionOrderListReply"
  9154. },
  9155. "message": {
  9156. "description": "消息",
  9157. "type": "string",
  9158. "default": "success"
  9159. }
  9160. }
  9161. },
  9162. "v1.SuggestionOrderPipelineData": {
  9163. "type": "object",
  9164. "properties": {
  9165. "feedback": {
  9166. "description": "处理意见",
  9167. "type": "string"
  9168. },
  9169. "handle_time": {
  9170. "description": "处理时间",
  9171. "type": "string"
  9172. },
  9173. "phone": {
  9174. "type": "string"
  9175. },
  9176. "status": {
  9177. "type": "string"
  9178. },
  9179. "user": {
  9180. "description": "处理人",
  9181. "type": "string"
  9182. }
  9183. }
  9184. },
  9185. "v1.SuggestionOrderReturnVisitBody": {
  9186. "type": "object",
  9187. "properties": {
  9188. "garden_id": {
  9189. "type": "integer"
  9190. },
  9191. "id": {
  9192. "type": "integer"
  9193. },
  9194. "return_visit_content": {
  9195. "description": "回访内容",
  9196. "type": "string"
  9197. },
  9198. "return_visit_level": {
  9199. "description": "1 满意 2 不满意",
  9200. "type": "integer"
  9201. }
  9202. }
  9203. },
  9204. "v1.SuggestionOrderReturnVisitResponse": {
  9205. "type": "object",
  9206. "properties": {
  9207. "code": {
  9208. "description": "返回码",
  9209. "type": "integer",
  9210. "format": "int",
  9211. "default": 0
  9212. },
  9213. "message": {
  9214. "description": "消息",
  9215. "type": "string",
  9216. "default": "success"
  9217. }
  9218. }
  9219. },
  9220. "v1.SuggestionOrderUpdateBody": {
  9221. "type": "object",
  9222. "properties": {
  9223. "apply_content": {
  9224. "description": "投诉内容",
  9225. "type": "string"
  9226. },
  9227. "apply_people": {
  9228. "description": "投诉人",
  9229. "type": "string"
  9230. },
  9231. "apply_people_phone": {
  9232. "description": "投诉人电话",
  9233. "type": "string"
  9234. },
  9235. "apply_pic": {
  9236. "description": "投诉图片",
  9237. "type": "array",
  9238. "items": {
  9239. "type": "string"
  9240. }
  9241. },
  9242. "garden_id": {
  9243. "type": "integer"
  9244. },
  9245. "id": {
  9246. "type": "integer"
  9247. },
  9248. "suggestion_type": {
  9249. "description": "投诉类型 1 投诉 2 建议",
  9250. "type": "integer"
  9251. }
  9252. }
  9253. },
  9254. "v1.SuggestionOrderUpdateResponse": {
  9255. "type": "object",
  9256. "properties": {
  9257. "code": {
  9258. "description": "返回码",
  9259. "type": "integer",
  9260. "format": "int",
  9261. "default": 0
  9262. },
  9263. "message": {
  9264. "description": "消息",
  9265. "type": "string",
  9266. "default": "success"
  9267. }
  9268. }
  9269. },
  9270. "v1.TokenResponse": {
  9271. "type": "object",
  9272. "properties": {
  9273. "code": {
  9274. "description": "返回码",
  9275. "type": "integer",
  9276. "format": "int",
  9277. "default": 0
  9278. },
  9279. "data": {
  9280. "type": "string"
  9281. },
  9282. "message": {
  9283. "description": "消息",
  9284. "type": "string",
  9285. "default": "success"
  9286. },
  9287. "refresh_token": {
  9288. "type": "string"
  9289. }
  9290. }
  9291. },
  9292. "v1.UnitItem": {
  9293. "type": "object",
  9294. "properties": {
  9295. "building_id": {
  9296. "description": "楼栋id",
  9297. "type": "integer"
  9298. },
  9299. "building_name": {
  9300. "type": "string"
  9301. },
  9302. "id": {
  9303. "type": "integer"
  9304. },
  9305. "unit_layers": {
  9306. "description": "楼层数",
  9307. "type": "integer"
  9308. },
  9309. "unit_name": {
  9310. "description": "单元名",
  9311. "type": "string"
  9312. },
  9313. "unit_number": {
  9314. "description": "单元编号",
  9315. "type": "integer"
  9316. }
  9317. }
  9318. },
  9319. "v1.UnitListReply": {
  9320. "type": "object",
  9321. "properties": {
  9322. "list": {
  9323. "type": "array",
  9324. "items": {
  9325. "$ref": "#/definitions/v1.UnitItem"
  9326. }
  9327. },
  9328. "page": {
  9329. "type": "integer"
  9330. },
  9331. "total": {
  9332. "type": "integer"
  9333. }
  9334. }
  9335. },
  9336. "v1.UnitListResponse": {
  9337. "type": "object",
  9338. "properties": {
  9339. "code": {
  9340. "description": "返回码",
  9341. "type": "integer",
  9342. "format": "int",
  9343. "default": 0
  9344. },
  9345. "data": {
  9346. "type": "object",
  9347. "$ref": "#/definitions/v1.UnitListReply"
  9348. },
  9349. "message": {
  9350. "description": "消息",
  9351. "type": "string",
  9352. "default": "success"
  9353. }
  9354. }
  9355. },
  9356. "v1.UploadResponse": {
  9357. "type": "object",
  9358. "properties": {
  9359. "code": {
  9360. "description": "返回码",
  9361. "type": "integer",
  9362. "format": "int",
  9363. "default": 0
  9364. },
  9365. "data": {
  9366. "type": "string"
  9367. },
  9368. "message": {
  9369. "description": "消息",
  9370. "type": "string",
  9371. "default": "success"
  9372. }
  9373. }
  9374. },
  9375. "v1.UserInfoReply": {
  9376. "type": "object",
  9377. "properties": {
  9378. "id_number": {
  9379. "type": "string"
  9380. },
  9381. "id_type": {
  9382. "type": "integer"
  9383. },
  9384. "real_name": {
  9385. "type": "string"
  9386. }
  9387. }
  9388. },
  9389. "v1.UserInfoResponse": {
  9390. "type": "object",
  9391. "properties": {
  9392. "code": {
  9393. "description": "返回码",
  9394. "type": "integer",
  9395. "format": "int",
  9396. "default": 0
  9397. },
  9398. "data": {
  9399. "type": "object",
  9400. "$ref": "#/definitions/v1.UserInfoReply"
  9401. },
  9402. "message": {
  9403. "description": "消息",
  9404. "type": "string",
  9405. "default": "success"
  9406. }
  9407. }
  9408. },
  9409. "v1.UserUpdateNickNameBody": {
  9410. "type": "object",
  9411. "properties": {
  9412. "nick_name": {
  9413. "type": "string"
  9414. }
  9415. }
  9416. },
  9417. "v1.UserUpdateNickNameResponse": {
  9418. "type": "object",
  9419. "properties": {
  9420. "code": {
  9421. "description": "返回码",
  9422. "type": "integer",
  9423. "format": "int",
  9424. "default": 0
  9425. },
  9426. "message": {
  9427. "description": "消息",
  9428. "type": "string",
  9429. "default": "success"
  9430. }
  9431. }
  9432. },
  9433. "v1.VehicleItem": {
  9434. "type": "object",
  9435. "properties": {
  9436. "bind_type": {
  9437. "type": "integer"
  9438. },
  9439. "brand": {
  9440. "type": "string"
  9441. },
  9442. "brand_pic": {
  9443. "type": "string"
  9444. },
  9445. "color": {
  9446. "type": "string"
  9447. },
  9448. "displacement": {
  9449. "type": "number"
  9450. },
  9451. "displacement_unit": {
  9452. "type": "string"
  9453. },
  9454. "engine_no": {
  9455. "type": "string"
  9456. },
  9457. "household_name": {
  9458. "type": "string"
  9459. },
  9460. "household_phone": {
  9461. "type": "string"
  9462. },
  9463. "household_uid": {
  9464. "type": "integer"
  9465. },
  9466. "id": {
  9467. "type": "integer"
  9468. },
  9469. "park_id": {
  9470. "type": "integer"
  9471. },
  9472. "park_name": {
  9473. "type": "string"
  9474. },
  9475. "park_number": {
  9476. "type": "string"
  9477. },
  9478. "plate_no": {
  9479. "type": "string"
  9480. },
  9481. "seat": {
  9482. "type": "integer"
  9483. },
  9484. "space_id": {
  9485. "type": "integer"
  9486. },
  9487. "space_number": {
  9488. "type": "string"
  9489. },
  9490. "vehicle_type": {
  9491. "type": "integer"
  9492. },
  9493. "vin": {
  9494. "type": "string"
  9495. }
  9496. }
  9497. },
  9498. "v1.VehicleListReply": {
  9499. "type": "object",
  9500. "properties": {
  9501. "list": {
  9502. "type": "array",
  9503. "items": {
  9504. "$ref": "#/definitions/v1.VehicleItem"
  9505. }
  9506. },
  9507. "page": {
  9508. "type": "integer"
  9509. },
  9510. "total": {
  9511. "type": "integer"
  9512. }
  9513. }
  9514. },
  9515. "v1.VoteAddAnswerBody": {
  9516. "type": "object",
  9517. "properties": {
  9518. "answers": {
  9519. "type": "array",
  9520. "items": {
  9521. "$ref": "#/definitions/v1.VoteTopicAnswer"
  9522. }
  9523. },
  9524. "garden_id": {
  9525. "type": "integer"
  9526. },
  9527. "id": {
  9528. "type": "integer"
  9529. }
  9530. }
  9531. },
  9532. "v1.VoteAddAnswerResponse": {
  9533. "type": "object",
  9534. "properties": {
  9535. "code": {
  9536. "description": "返回码",
  9537. "type": "integer",
  9538. "format": "int",
  9539. "default": 0
  9540. },
  9541. "message": {
  9542. "description": "消息",
  9543. "type": "string",
  9544. "default": "success"
  9545. }
  9546. }
  9547. },
  9548. "v1.VoteListForHouseholdItem": {
  9549. "type": "object",
  9550. "properties": {
  9551. "answered": {
  9552. "description": "是否已投票",
  9553. "type": "boolean"
  9554. },
  9555. "created_at": {
  9556. "type": "integer"
  9557. },
  9558. "end": {
  9559. "type": "integer"
  9560. },
  9561. "id": {
  9562. "type": "integer"
  9563. },
  9564. "pics": {
  9565. "type": "array",
  9566. "items": {
  9567. "type": "string"
  9568. }
  9569. },
  9570. "start": {
  9571. "type": "integer"
  9572. },
  9573. "title": {
  9574. "description": "标题",
  9575. "type": "string"
  9576. },
  9577. "topics": {
  9578. "description": "题目类容和用户回答",
  9579. "type": "array",
  9580. "items": {
  9581. "$ref": "#/definitions/v1.VoteTopicForHouseholdItem"
  9582. }
  9583. }
  9584. }
  9585. },
  9586. "v1.VoteListForHouseholdReply": {
  9587. "type": "object",
  9588. "properties": {
  9589. "list": {
  9590. "type": "array",
  9591. "items": {
  9592. "$ref": "#/definitions/v1.VoteListForHouseholdItem"
  9593. }
  9594. },
  9595. "page": {
  9596. "type": "integer"
  9597. },
  9598. "total": {
  9599. "type": "integer"
  9600. }
  9601. }
  9602. },
  9603. "v1.VoteListForHouseholdResponse": {
  9604. "type": "object",
  9605. "properties": {
  9606. "code": {
  9607. "description": "返回码",
  9608. "type": "integer",
  9609. "format": "int",
  9610. "default": 0
  9611. },
  9612. "data": {
  9613. "type": "object",
  9614. "$ref": "#/definitions/v1.VoteListForHouseholdReply"
  9615. },
  9616. "message": {
  9617. "description": "消息",
  9618. "type": "string",
  9619. "default": "success"
  9620. }
  9621. }
  9622. },
  9623. "v1.VoteResultStatisticChoice": {
  9624. "type": "object",
  9625. "properties": {
  9626. "count": {
  9627. "description": "该选项被选的用户",
  9628. "type": "integer"
  9629. },
  9630. "flag": {
  9631. "description": "选择选项标识",
  9632. "type": "string"
  9633. }
  9634. }
  9635. },
  9636. "v1.VoteResultStatisticItem": {
  9637. "type": "object",
  9638. "properties": {
  9639. "choice_items": {
  9640. "description": "选择题的选项内容",
  9641. "type": "array",
  9642. "items": {
  9643. "$ref": "#/definitions/v1.VoteTopicChoiceItem"
  9644. }
  9645. },
  9646. "choice_statistic": {
  9647. "description": "选择题的选项回答统计,当题目类型为选择题时有效",
  9648. "type": "array",
  9649. "items": {
  9650. "$ref": "#/definitions/v1.VoteResultStatisticChoice"
  9651. }
  9652. },
  9653. "must": {
  9654. "description": "是否必选",
  9655. "type": "boolean"
  9656. },
  9657. "number": {
  9658. "description": "题目编号",
  9659. "type": "integer"
  9660. },
  9661. "star": {
  9662. "description": "总星数,当为评分题时有效",
  9663. "type": "integer"
  9664. },
  9665. "star_avg": {
  9666. "description": "平均分, 当题目类型为评分题时有效",
  9667. "type": "integer"
  9668. },
  9669. "star_statistic": {
  9670. "description": "评分题的分数回答统计,当题目类型为评分题时有效",
  9671. "type": "array",
  9672. "items": {
  9673. "$ref": "#/definitions/v1.VoteResultStatisticStar"
  9674. }
  9675. },
  9676. "topic_name": {
  9677. "type": "string"
  9678. },
  9679. "topic_type": {
  9680. "description": "题目类型 1 填空题 2 单选题 3 多选题 4 评分题",
  9681. "type": "integer"
  9682. }
  9683. }
  9684. },
  9685. "v1.VoteResultStatisticReply": {
  9686. "type": "object",
  9687. "properties": {
  9688. "list": {
  9689. "description": "题目统计",
  9690. "type": "array",
  9691. "items": {
  9692. "$ref": "#/definitions/v1.VoteResultStatisticItem"
  9693. }
  9694. }
  9695. }
  9696. },
  9697. "v1.VoteResultStatisticResponse": {
  9698. "type": "object",
  9699. "properties": {
  9700. "code": {
  9701. "description": "返回码",
  9702. "type": "integer",
  9703. "format": "int",
  9704. "default": 0
  9705. },
  9706. "data": {
  9707. "type": "object",
  9708. "$ref": "#/definitions/v1.VoteResultStatisticReply"
  9709. },
  9710. "message": {
  9711. "description": "消息",
  9712. "type": "string",
  9713. "default": "success"
  9714. }
  9715. }
  9716. },
  9717. "v1.VoteResultStatisticStar": {
  9718. "type": "object",
  9719. "properties": {
  9720. "count": {
  9721. "description": "评该星数的用户数量",
  9722. "type": "integer"
  9723. },
  9724. "star": {
  9725. "description": "评分星数",
  9726. "type": "integer"
  9727. }
  9728. }
  9729. },
  9730. "v1.VoteTopicAnswer": {
  9731. "type": "object",
  9732. "properties": {
  9733. "choice_answers": {
  9734. "description": "选择题回答,当题目类型为选择题时有效",
  9735. "type": "array",
  9736. "items": {
  9737. "type": "string"
  9738. }
  9739. },
  9740. "completion_answers": {
  9741. "description": "问答题回答,当题目类型为问答题时有效",
  9742. "type": "array",
  9743. "items": {
  9744. "type": "string"
  9745. }
  9746. },
  9747. "number": {
  9748. "description": "题目编号",
  9749. "type": "integer"
  9750. },
  9751. "star_answers": {
  9752. "description": "评分题回答,当题目类型为评分题时有效",
  9753. "type": "integer"
  9754. },
  9755. "topic_type": {
  9756. "description": "题目类型",
  9757. "type": "integer"
  9758. }
  9759. }
  9760. },
  9761. "v1.VoteTopicChoiceItem": {
  9762. "type": "object",
  9763. "properties": {
  9764. "flag": {
  9765. "type": "string"
  9766. },
  9767. "text": {
  9768. "type": "string"
  9769. }
  9770. }
  9771. },
  9772. "v1.VoteTopicForHouseholdItem": {
  9773. "type": "object",
  9774. "properties": {
  9775. "choice_answers": {
  9776. "description": "选择题回答,当题目类型为选择题时有效",
  9777. "type": "array",
  9778. "items": {
  9779. "type": "string"
  9780. }
  9781. },
  9782. "choice_items": {
  9783. "description": "选择题的选项",
  9784. "type": "array",
  9785. "items": {
  9786. "$ref": "#/definitions/v1.VoteTopicChoiceItem"
  9787. }
  9788. },
  9789. "completion_answers": {
  9790. "description": "当已投票时,以下字段有效\n问答题回答,当题目类型为问答题时有效",
  9791. "type": "array",
  9792. "items": {
  9793. "type": "string"
  9794. }
  9795. },
  9796. "must": {
  9797. "description": "是否必选",
  9798. "type": "boolean"
  9799. },
  9800. "number": {
  9801. "description": "题目编号",
  9802. "type": "integer"
  9803. },
  9804. "star": {
  9805. "description": "总星数,当为评分题时有效",
  9806. "type": "integer"
  9807. },
  9808. "star_answers": {
  9809. "description": "评分题回答,当题目类型为评分题时有效",
  9810. "type": "integer"
  9811. },
  9812. "topic_name": {
  9813. "type": "string"
  9814. },
  9815. "topic_type": {
  9816. "description": "题目类型 1 填空题 2 单选题 3 多选题 4 评分题",
  9817. "type": "integer"
  9818. }
  9819. }
  9820. },
  9821. "v1.WxAppletPrepayReply": {
  9822. "type": "object",
  9823. "properties": {
  9824. "prepay": {
  9825. "type": "string"
  9826. },
  9827. "prepay_id": {
  9828. "type": "string"
  9829. }
  9830. }
  9831. }
  9832. }
  9833. }