docs.go 319 KB

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