swagger.yaml 155 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762
  1. definitions:
  2. base.HTTPError:
  3. properties:
  4. code:
  5. example: 500
  6. format: int
  7. type: integer
  8. message:
  9. example: status bad request
  10. type: string
  11. type: object
  12. v1.AnnouncementItem:
  13. properties:
  14. content:
  15. type: string
  16. created_at:
  17. type: string
  18. id:
  19. type: integer
  20. read:
  21. type: boolean
  22. read_count:
  23. type: integer
  24. title:
  25. type: string
  26. type: object
  27. v1.AnnouncementListReply:
  28. properties:
  29. list:
  30. items:
  31. $ref: '#/definitions/v1.AnnouncementItem'
  32. type: array
  33. page:
  34. type: integer
  35. total:
  36. type: integer
  37. type: object
  38. v1.AnnouncementListResponse:
  39. properties:
  40. code:
  41. default: 0
  42. description: 返回码
  43. format: int
  44. type: integer
  45. data:
  46. $ref: '#/definitions/v1.AnnouncementListReply'
  47. type: object
  48. message:
  49. default: success
  50. description: 消息
  51. type: string
  52. type: object
  53. v1.AnnouncementReadAddResponse:
  54. properties:
  55. code:
  56. default: 0
  57. description: 返回码
  58. format: int
  59. type: integer
  60. message:
  61. default: success
  62. description: 消息
  63. type: string
  64. type: object
  65. v1.AreaData:
  66. properties:
  67. city_code:
  68. type: string
  69. code:
  70. type: string
  71. name:
  72. type: string
  73. province_code:
  74. type: string
  75. type: object
  76. v1.BuildingItem:
  77. properties:
  78. building_area:
  79. description: 楼栋建筑面积
  80. type: number
  81. building_name:
  82. description: 楼栋名
  83. type: string
  84. building_number:
  85. description: 楼栋编号
  86. type: string
  87. building_used_area:
  88. description: 楼栋使用面积
  89. type: number
  90. comment:
  91. description: 备注
  92. type: string
  93. id:
  94. description: id
  95. type: integer
  96. unit_count:
  97. type: integer
  98. type: object
  99. v1.BuildingListReply:
  100. properties:
  101. list:
  102. items:
  103. $ref: '#/definitions/v1.BuildingItem'
  104. type: array
  105. page:
  106. type: integer
  107. total:
  108. type: integer
  109. type: object
  110. v1.BuildingListResponse:
  111. properties:
  112. code:
  113. default: 0
  114. description: 返回码
  115. format: int
  116. type: integer
  117. data:
  118. $ref: '#/definitions/v1.BuildingListReply'
  119. type: object
  120. message:
  121. default: success
  122. description: 消息
  123. type: string
  124. type: object
  125. v1.BuildingManagerItem:
  126. properties:
  127. id:
  128. type: integer
  129. manager_uid:
  130. type: integer
  131. name:
  132. description: 姓名
  133. type: string
  134. openim_id:
  135. type: string
  136. phone:
  137. type: string
  138. user_name:
  139. description: 账号
  140. type: string
  141. type: object
  142. v1.BuildingManagerListReply:
  143. properties:
  144. list:
  145. items:
  146. $ref: '#/definitions/v1.BuildingManagerItem'
  147. type: array
  148. type: object
  149. v1.BuildingManagerListResponse:
  150. properties:
  151. code:
  152. default: 0
  153. description: 返回码
  154. format: int
  155. type: integer
  156. data:
  157. $ref: '#/definitions/v1.BuildingManagerListReply'
  158. type: object
  159. message:
  160. default: success
  161. description: 消息
  162. type: string
  163. type: object
  164. v1.ChargeBillItem:
  165. properties:
  166. amount:
  167. type: integer
  168. bill_id:
  169. type: integer
  170. charge_desc:
  171. type: string
  172. charge_name:
  173. type: string
  174. charge_type:
  175. type: integer
  176. current_used:
  177. type: number
  178. end:
  179. type: string
  180. last_used:
  181. type: number
  182. late_days:
  183. type: integer
  184. late_fee:
  185. type: integer
  186. obj_id:
  187. type: integer
  188. obj_name:
  189. type: string
  190. obj_type:
  191. type: integer
  192. start:
  193. type: string
  194. type: object
  195. v1.ChargeBillListReply:
  196. properties:
  197. charge_name:
  198. type: string
  199. charge_type:
  200. type: integer
  201. list:
  202. items:
  203. $ref: '#/definitions/v1.ChargeBillItem'
  204. type: array
  205. page:
  206. type: integer
  207. should_pay_amount:
  208. type: integer
  209. total:
  210. type: integer
  211. type: object
  212. v1.ChargeBillListResponse:
  213. properties:
  214. code:
  215. default: 0
  216. description: 返回码
  217. format: int
  218. type: integer
  219. data:
  220. $ref: '#/definitions/v1.ChargeBillListReply'
  221. type: object
  222. message:
  223. default: success
  224. description: 消息
  225. type: string
  226. type: object
  227. v1.ChargeBillPayByHouseholdBody:
  228. properties:
  229. bill_ids:
  230. items:
  231. type: integer
  232. type: array
  233. bind_ids:
  234. description: 绑定关系id列表
  235. items:
  236. type: integer
  237. type: array
  238. comment:
  239. description: 备注
  240. type: string
  241. garden_id:
  242. type: integer
  243. pay_amount:
  244. description: 实缴
  245. type: integer
  246. should_pay_amount:
  247. description: 应缴
  248. type: integer
  249. type: object
  250. v1.ChargeBillPayByHouseholdReply:
  251. properties:
  252. order_id:
  253. type: string
  254. prepay_info:
  255. description: 三方预支付信息
  256. type: string
  257. type: object
  258. v1.ChargeBillPayByHouseholdResponse:
  259. properties:
  260. code:
  261. default: 0
  262. description: 返回码
  263. format: int
  264. type: integer
  265. data:
  266. $ref: '#/definitions/v1.ChargeBillPayByHouseholdReply'
  267. type: object
  268. message:
  269. default: success
  270. description: 消息
  271. type: string
  272. type: object
  273. v1.ChargeItem:
  274. properties:
  275. bind_id:
  276. type: integer
  277. charge_name:
  278. type: string
  279. charge_time_type:
  280. type: integer
  281. charge_type:
  282. type: integer
  283. created_at:
  284. type: string
  285. desc:
  286. type: string
  287. end:
  288. type: string
  289. start:
  290. type: string
  291. status:
  292. type: string
  293. type: object
  294. v1.ChargeListReply:
  295. properties:
  296. list:
  297. items:
  298. $ref: '#/definitions/v1.ChargeItem'
  299. type: array
  300. page:
  301. type: integer
  302. total:
  303. type: integer
  304. type: object
  305. v1.ChargeListResponse:
  306. properties:
  307. code:
  308. default: 0
  309. description: 返回码
  310. format: int
  311. type: integer
  312. data:
  313. $ref: '#/definitions/v1.ChargeListReply'
  314. type: object
  315. message:
  316. default: success
  317. description: 消息
  318. type: string
  319. type: object
  320. v1.ChargeMonthInfoReply:
  321. properties:
  322. bind_id:
  323. type: integer
  324. desc:
  325. type: string
  326. month_list:
  327. items:
  328. $ref: '#/definitions/v1.MonthInfo'
  329. type: array
  330. type: object
  331. v1.ChargeOrderBillItem:
  332. properties:
  333. amount:
  334. type: integer
  335. bill_id:
  336. type: integer
  337. charge_desc:
  338. type: string
  339. charge_name:
  340. type: string
  341. charge_type:
  342. type: integer
  343. current_used:
  344. type: number
  345. end:
  346. type: string
  347. last_used:
  348. type: number
  349. late_fee:
  350. type: integer
  351. obj_name:
  352. type: string
  353. start:
  354. type: string
  355. type: object
  356. v1.ChargeOrderCancelBody:
  357. properties:
  358. by_user:
  359. description: true 未支付订单中用户主动取消,false 前端判断未支付时主动调接口删除
  360. type: boolean
  361. garden_id:
  362. type: integer
  363. order_id:
  364. type: string
  365. type: object
  366. v1.ChargeOrderCancelResponse:
  367. properties:
  368. code:
  369. default: 0
  370. description: 返回码
  371. format: int
  372. type: integer
  373. message:
  374. default: success
  375. description: 消息
  376. type: string
  377. type: object
  378. v1.ChargeOrderInfoReply:
  379. properties:
  380. list:
  381. items:
  382. $ref: '#/definitions/v1.ChargeOrderBillItem'
  383. type: array
  384. type: object
  385. v1.ChargeOrderInfoResponse:
  386. properties:
  387. code:
  388. default: 0
  389. description: 返回码
  390. format: int
  391. type: integer
  392. data:
  393. $ref: '#/definitions/v1.ChargeOrderInfoReply'
  394. type: object
  395. message:
  396. default: success
  397. description: 消息
  398. type: string
  399. type: object
  400. v1.ChargeOrderItem:
  401. properties:
  402. bill_count:
  403. description: 账单数
  404. type: integer
  405. comment:
  406. type: string
  407. desc:
  408. type: string
  409. obj_name:
  410. type: string
  411. order_id:
  412. type: string
  413. pay_amount:
  414. type: integer
  415. pay_time:
  416. type: string
  417. pay_type:
  418. type: integer
  419. paying_desc:
  420. type: string
  421. should_pay_amount:
  422. type: integer
  423. status:
  424. description: 1 待支付 2 已支付
  425. type: integer
  426. transaction_id:
  427. type: string
  428. type: object
  429. v1.ChargeOrderListReply:
  430. properties:
  431. list:
  432. items:
  433. $ref: '#/definitions/v1.ChargeOrderItem'
  434. type: array
  435. page:
  436. type: integer
  437. total:
  438. type: integer
  439. type: object
  440. v1.ChargeOrderListResponse:
  441. properties:
  442. code:
  443. default: 0
  444. description: 返回码
  445. format: int
  446. type: integer
  447. data:
  448. $ref: '#/definitions/v1.ChargeOrderListReply'
  449. type: object
  450. message:
  451. default: success
  452. description: 消息
  453. type: string
  454. type: object
  455. v1.ChargePrePayByHouseholdBody:
  456. properties:
  457. bind_id:
  458. type: integer
  459. garden_id:
  460. type: integer
  461. months:
  462. type: integer
  463. package_id:
  464. description: 套餐id
  465. type: integer
  466. pay_amount:
  467. description: 实缴金额
  468. type: integer
  469. should_pay_amount:
  470. description: 应缴金额
  471. type: integer
  472. type: object
  473. v1.ChargePrePayByHouseholdReply:
  474. properties:
  475. order_id:
  476. type: string
  477. prepay_info:
  478. description: 三方预支付信息
  479. type: string
  480. type: object
  481. v1.ChargePrePayByHouseholdResponse:
  482. properties:
  483. code:
  484. default: 0
  485. description: 返回码
  486. format: int
  487. type: integer
  488. data:
  489. $ref: '#/definitions/v1.ChargePrePayByHouseholdReply'
  490. type: object
  491. message:
  492. default: success
  493. description: 消息
  494. type: string
  495. type: object
  496. v1.ChargePrePayInfoReply:
  497. properties:
  498. charge_desc:
  499. type: string
  500. charge_name:
  501. type: string
  502. charge_type:
  503. type: integer
  504. end:
  505. type: integer
  506. should_pay_amount:
  507. type: integer
  508. start:
  509. type: integer
  510. type: object
  511. v1.ChargePrePayInfoResponse:
  512. properties:
  513. code:
  514. default: 0
  515. description: 返回码
  516. format: int
  517. type: integer
  518. data:
  519. $ref: '#/definitions/v1.ChargePrePayInfoReply'
  520. type: object
  521. message:
  522. default: success
  523. description: 消息
  524. type: string
  525. type: object
  526. v1.ChargePropertyMonthInfoResponse:
  527. properties:
  528. code:
  529. default: 0
  530. description: 返回码
  531. format: int
  532. type: integer
  533. data:
  534. $ref: '#/definitions/v1.ChargeMonthInfoReply'
  535. type: object
  536. message:
  537. default: success
  538. description: 消息
  539. type: string
  540. type: object
  541. v1.ChargeSpaceMonthInfoResponse:
  542. properties:
  543. code:
  544. default: 0
  545. description: 返回码
  546. format: int
  547. type: integer
  548. data:
  549. $ref: '#/definitions/v1.ChargeMonthInfoReply'
  550. type: object
  551. message:
  552. default: success
  553. description: 消息
  554. type: string
  555. type: object
  556. v1.ChargeUnpayItem:
  557. properties:
  558. bill_count:
  559. type: integer
  560. bind_id:
  561. type: integer
  562. charge_name:
  563. type: string
  564. charge_time_type:
  565. type: integer
  566. charge_type:
  567. type: integer
  568. unpay_amount:
  569. type: integer
  570. type: object
  571. v1.ChargeUnpayListReply:
  572. properties:
  573. list:
  574. items:
  575. $ref: '#/definitions/v1.ChargeUnpayItem'
  576. type: array
  577. page:
  578. type: integer
  579. total:
  580. type: integer
  581. type: object
  582. v1.ChargeUnpayListResponse:
  583. properties:
  584. code:
  585. default: 0
  586. description: 返回码
  587. format: int
  588. type: integer
  589. data:
  590. $ref: '#/definitions/v1.ChargeUnpayListReply'
  591. type: object
  592. message:
  593. default: success
  594. description: 消息
  595. type: string
  596. type: object
  597. v1.ChargeVehicleMonthInfoResponse:
  598. properties:
  599. code:
  600. default: 0
  601. description: 返回码
  602. format: int
  603. type: integer
  604. data:
  605. $ref: '#/definitions/v1.ChargeMonthInfoReply'
  606. type: object
  607. message:
  608. default: success
  609. description: 消息
  610. type: string
  611. type: object
  612. v1.ChargeWxPayTestBody:
  613. properties:
  614. pay_amount:
  615. type: integer
  616. type: object
  617. v1.ChargeWxPayTestResponse:
  618. properties:
  619. code:
  620. default: 0
  621. description: 返回码
  622. format: int
  623. type: integer
  624. data:
  625. $ref: '#/definitions/v1.WxAppletPrepayReply'
  626. type: object
  627. message:
  628. default: success
  629. description: 消息
  630. type: string
  631. type: object
  632. v1.CityData:
  633. properties:
  634. code:
  635. type: string
  636. name:
  637. type: string
  638. province_code:
  639. type: string
  640. type: object
  641. v1.CityReply:
  642. properties:
  643. code:
  644. type: string
  645. name:
  646. type: string
  647. province_code:
  648. type: string
  649. province_name:
  650. type: string
  651. type: object
  652. v1.CityResponse:
  653. properties:
  654. code:
  655. default: 0
  656. description: 返回码
  657. format: int
  658. type: integer
  659. data:
  660. $ref: '#/definitions/v1.CityReply'
  661. type: object
  662. message:
  663. default: success
  664. description: 消息
  665. type: string
  666. type: object
  667. v1.CommitteeData:
  668. properties:
  669. code:
  670. type: string
  671. name:
  672. type: string
  673. street_code:
  674. type: string
  675. type: object
  676. v1.EventItem:
  677. properties:
  678. addr:
  679. description: 活动地址
  680. type: string
  681. content:
  682. description: 内容
  683. type: string
  684. created_at:
  685. type: string
  686. end:
  687. description: 活动结束时间
  688. type: integer
  689. fee:
  690. description: 报名费用
  691. type: integer
  692. id:
  693. type: integer
  694. people_count:
  695. description: 已报名人数
  696. type: integer
  697. people_limit:
  698. description: 人数限制
  699. type: integer
  700. pic:
  701. description: 图片
  702. items:
  703. type: string
  704. type: array
  705. sign:
  706. description: 物业端不管该字段,小程序查询时该字段有效 是否报名
  707. type: boolean
  708. sign_up_end:
  709. description: 报名截止时间
  710. type: integer
  711. start:
  712. description: 活动开始时间
  713. type: integer
  714. status:
  715. description: 1 报名进行中 2 报名已截止
  716. type: integer
  717. title:
  718. description: 标题
  719. type: string
  720. type: object
  721. v1.EventListReply:
  722. properties:
  723. list:
  724. items:
  725. $ref: '#/definitions/v1.EventItem'
  726. type: array
  727. page:
  728. type: integer
  729. total:
  730. type: integer
  731. type: object
  732. v1.EventListResponse:
  733. properties:
  734. code:
  735. default: 0
  736. description: 返回码
  737. format: int
  738. type: integer
  739. data:
  740. $ref: '#/definitions/v1.EventListReply'
  741. type: object
  742. message:
  743. default: success
  744. description: 消息
  745. type: string
  746. type: object
  747. v1.EventSignAddBody:
  748. properties:
  749. comment:
  750. type: string
  751. count:
  752. description: 报名人数
  753. type: integer
  754. event_id:
  755. type: integer
  756. garden_id:
  757. type: integer
  758. name:
  759. type: string
  760. phone:
  761. type: string
  762. type: object
  763. v1.EventSignAddResponse:
  764. properties:
  765. code:
  766. default: 0
  767. description: 返回码
  768. format: int
  769. type: integer
  770. message:
  771. default: success
  772. description: 消息
  773. type: string
  774. type: object
  775. v1.GardenHouseRentInfoReply:
  776. properties:
  777. area_percent:
  778. description: 容积率
  779. type: number
  780. avg_price:
  781. type: integer
  782. building_area:
  783. description: 建筑面积
  784. type: number
  785. building_company:
  786. description: 开发企业
  787. type: string
  788. building_end:
  789. description: 建成年份结束时间戳
  790. type: integer
  791. building_start:
  792. description: 建成年份开始时间戳
  793. type: integer
  794. building_type:
  795. description: 1塔楼 2 板楼 3 塔板结合 4 其他
  796. type: integer
  797. covered_area:
  798. description: 占地面积
  799. type: number
  800. electric_type:
  801. description: 电费类型多选 1 民用 2 商用
  802. items:
  803. type: integer
  804. type: array
  805. garden_pics:
  806. description: 小区图片
  807. items:
  808. type: string
  809. type: array
  810. gas_fee_end:
  811. description: 燃气费开始,单位分
  812. type: integer
  813. gas_fee_start:
  814. description: 燃气费开始,单位分
  815. type: integer
  816. green_percent:
  817. description: 绿化率
  818. type: number
  819. house_total:
  820. description: 总户数
  821. type: integer
  822. property_fee_end:
  823. description: 物业费结束, 单位分
  824. type: integer
  825. property_fee_start:
  826. description: 物业费开始,单位分
  827. type: integer
  828. rent_count:
  829. type: integer
  830. sell_count:
  831. type: integer
  832. space_info:
  833. description: 车位配比
  834. type: string
  835. space_total:
  836. description: 固定车位数
  837. type: integer
  838. water_type:
  839. description: 水费类型多选 1 民用 2 商用
  840. items:
  841. type: integer
  842. type: array
  843. type: object
  844. v1.GardenHouseRentInfoResponse:
  845. properties:
  846. code:
  847. default: 0
  848. description: 返回码
  849. format: int
  850. type: integer
  851. data:
  852. $ref: '#/definitions/v1.GardenHouseRentInfoReply'
  853. type: object
  854. message:
  855. default: success
  856. description: 消息
  857. type: string
  858. type: object
  859. v1.GardenInfoResponse:
  860. properties:
  861. code:
  862. default: 0
  863. description: 返回码
  864. format: int
  865. type: integer
  866. data:
  867. $ref: '#/definitions/v1.GardenItem'
  868. type: object
  869. message:
  870. default: success
  871. description: 消息
  872. type: string
  873. type: object
  874. v1.GardenItem:
  875. properties:
  876. appendix:
  877. items:
  878. type: string
  879. type: array
  880. area:
  881. description: 区
  882. type: string
  883. area_code:
  884. type: string
  885. area_percent:
  886. description: 容积率
  887. type: number
  888. avg_price:
  889. type: integer
  890. building_area:
  891. description: 建筑面积
  892. type: number
  893. building_company:
  894. description: 开发企业
  895. type: string
  896. building_end:
  897. description: 建成年份结束时间戳
  898. type: integer
  899. building_start:
  900. description: 建成年份开始时间戳
  901. type: integer
  902. building_type:
  903. description: 1塔楼 2 板楼 3 塔板结合 4 其他
  904. type: integer
  905. cid:
  906. description: 物业公司id
  907. type: integer
  908. city:
  909. description: 市
  910. type: string
  911. city_code:
  912. type: string
  913. committee:
  914. description: 社区
  915. type: string
  916. committee_code:
  917. type: string
  918. covered_area:
  919. description: 占地面积
  920. type: number
  921. electric_type:
  922. description: 电费类型多选 1 民用 2 商用
  923. items:
  924. type: integer
  925. type: array
  926. feedback:
  927. type: string
  928. garden_addr:
  929. description: 小区地址
  930. type: string
  931. garden_desc:
  932. type: string
  933. garden_name:
  934. description: 小区名字
  935. type: string
  936. garden_pic:
  937. type: string
  938. garden_pics:
  939. description: 小区图片
  940. items:
  941. type: string
  942. type: array
  943. gas_fee_end:
  944. description: 燃气费开始,单位分
  945. type: integer
  946. gas_fee_start:
  947. description: 燃气费开始,单位分
  948. type: integer
  949. green_percent:
  950. description: 绿化率
  951. type: number
  952. house_total:
  953. description: 总户数
  954. type: integer
  955. id:
  956. type: integer
  957. in_use:
  958. type: boolean
  959. lat:
  960. description: 纬度
  961. type: number
  962. lnt:
  963. description: 经度
  964. type: number
  965. property_fee_end:
  966. description: 物业费结束, 单位分
  967. type: integer
  968. property_fee_start:
  969. description: 物业费开始,单位分
  970. type: integer
  971. property_person:
  972. description: 物业联系人
  973. type: string
  974. property_phone:
  975. description: 物业联系人手机号
  976. type: string
  977. province:
  978. description: 省
  979. type: string
  980. province_code:
  981. type: string
  982. rent_avg_price:
  983. type: integer
  984. rent_count:
  985. type: integer
  986. sell_count:
  987. type: integer
  988. space_info:
  989. description: 车位配比
  990. type: string
  991. space_total:
  992. description: 固定车位数
  993. type: integer
  994. status:
  995. type: integer
  996. street:
  997. description: 街道
  998. type: string
  999. street_code:
  1000. type: string
  1001. water_type:
  1002. description: 水费类型多选 1 民用 2 商用
  1003. items:
  1004. type: integer
  1005. type: array
  1006. type: object
  1007. v1.GardenListReply:
  1008. properties:
  1009. list:
  1010. items:
  1011. $ref: '#/definitions/v1.GardenItem'
  1012. type: array
  1013. page:
  1014. type: integer
  1015. total:
  1016. type: integer
  1017. type: object
  1018. v1.GardenListResponse:
  1019. properties:
  1020. code:
  1021. default: 0
  1022. description: 返回码
  1023. format: int
  1024. type: integer
  1025. data:
  1026. $ref: '#/definitions/v1.GardenListReply'
  1027. type: object
  1028. message:
  1029. default: success
  1030. description: 消息
  1031. type: string
  1032. type: object
  1033. v1.GateHasFaceData:
  1034. properties:
  1035. has_face_device:
  1036. type: boolean
  1037. type: object
  1038. v1.GateHasFaceResponse:
  1039. properties:
  1040. code:
  1041. default: 0
  1042. description: 返回码
  1043. format: int
  1044. type: integer
  1045. data:
  1046. $ref: '#/definitions/v1.GateHasFaceData'
  1047. type: object
  1048. message:
  1049. default: success
  1050. description: 消息
  1051. type: string
  1052. type: object
  1053. v1.GateItem:
  1054. properties:
  1055. auth_key:
  1056. description: 授权key
  1057. type: string
  1058. card_support:
  1059. description: 1 支持卡 2 不支持
  1060. type: integer
  1061. device_id:
  1062. description: 设备id
  1063. type: integer
  1064. device_name:
  1065. description: 设备名
  1066. type: string
  1067. direction:
  1068. description: 1 进场 2 出场 3 进出场
  1069. type: integer
  1070. enable:
  1071. description: true 已启用 false 已禁用
  1072. type: boolean
  1073. garden_id:
  1074. description: 小区id
  1075. type: integer
  1076. garden_name:
  1077. description: 小区名
  1078. type: string
  1079. ip:
  1080. type: string
  1081. location:
  1082. type: string
  1083. mac:
  1084. type: string
  1085. manufactor:
  1086. description: 厂商
  1087. type: string
  1088. out_time:
  1089. description: 出库时间
  1090. type: integer
  1091. out_user:
  1092. description: 出库人
  1093. type: string
  1094. password:
  1095. type: string
  1096. pic_support:
  1097. description: 1 支持人脸 2 不支持
  1098. type: integer
  1099. port:
  1100. type: integer
  1101. protocol:
  1102. description: 协议
  1103. type: integer
  1104. protocol_desc:
  1105. type: string
  1106. qcode_support:
  1107. description: 1支持二维码 2 不支持
  1108. type: integer
  1109. sn:
  1110. description: 序列号
  1111. type: string
  1112. status:
  1113. description: 1 在线 2 离线
  1114. type: integer
  1115. user_name:
  1116. type: string
  1117. type: object
  1118. v1.GateListResponse:
  1119. properties:
  1120. code:
  1121. default: 0
  1122. description: 返回码
  1123. format: int
  1124. type: integer
  1125. data:
  1126. $ref: '#/definitions/v1.GateUnitDeviceReply'
  1127. type: object
  1128. message:
  1129. default: success
  1130. description: 消息
  1131. type: string
  1132. type: object
  1133. v1.GateQcodeReply:
  1134. properties:
  1135. id:
  1136. type: integer
  1137. qcode:
  1138. type: string
  1139. type: object
  1140. v1.GateQcodeResponse:
  1141. properties:
  1142. code:
  1143. default: 0
  1144. description: 返回码
  1145. format: int
  1146. type: integer
  1147. data:
  1148. $ref: '#/definitions/v1.GateQcodeReply'
  1149. type: object
  1150. message:
  1151. default: success
  1152. description: 消息
  1153. type: string
  1154. type: object
  1155. v1.GateQcodeVisitorResponse:
  1156. properties:
  1157. code:
  1158. default: 0
  1159. description: 返回码
  1160. format: int
  1161. type: integer
  1162. data:
  1163. $ref: '#/definitions/v1.GateQcodeReply'
  1164. type: object
  1165. message:
  1166. default: success
  1167. description: 消息
  1168. type: string
  1169. type: object
  1170. v1.GateUnitDeviceReply:
  1171. properties:
  1172. has_device:
  1173. type: boolean
  1174. list:
  1175. items:
  1176. $ref: '#/definitions/v1.GateItem'
  1177. type: array
  1178. type: object
  1179. v1.GateUserPicAddBody:
  1180. properties:
  1181. garden_id:
  1182. type: integer
  1183. pic_url:
  1184. type: string
  1185. type: object
  1186. v1.GateUserPicAddResponse:
  1187. properties:
  1188. code:
  1189. default: 0
  1190. description: 返回码
  1191. format: int
  1192. type: integer
  1193. message:
  1194. default: success
  1195. description: 消息
  1196. type: string
  1197. type: object
  1198. v1.GateUserPicInfoReply:
  1199. properties:
  1200. approve_status:
  1201. description: 1 待审核 2 审核通过 3 审核未通过
  1202. type: integer
  1203. down_status:
  1204. description: 1 待下发 2 已下发 3 下发失败
  1205. type: integer
  1206. feedback:
  1207. type: string
  1208. pic_url:
  1209. type: string
  1210. type: object
  1211. v1.GateUserPicInfoResponse:
  1212. properties:
  1213. code:
  1214. default: 0
  1215. description: 返回码
  1216. format: int
  1217. type: integer
  1218. data:
  1219. $ref: '#/definitions/v1.GateUserPicInfoReply'
  1220. type: object
  1221. message:
  1222. default: success
  1223. description: 消息
  1224. type: string
  1225. type: object
  1226. v1.GateVisitorDelResponse:
  1227. properties:
  1228. code:
  1229. default: 0
  1230. description: 返回码
  1231. format: int
  1232. type: integer
  1233. message:
  1234. default: success
  1235. description: 消息
  1236. type: string
  1237. type: object
  1238. v1.GateVisitorListItem:
  1239. properties:
  1240. comment:
  1241. type: string
  1242. device_id:
  1243. type: integer
  1244. end:
  1245. type: integer
  1246. garden_name:
  1247. type: string
  1248. gate_name:
  1249. type: string
  1250. id:
  1251. type: integer
  1252. location:
  1253. type: string
  1254. name:
  1255. type: string
  1256. open_time:
  1257. type: integer
  1258. phone:
  1259. type: string
  1260. qcode:
  1261. type: string
  1262. start:
  1263. type: integer
  1264. status:
  1265. description: 1 未通行 2 已同行 3 已过期
  1266. type: integer
  1267. uid:
  1268. type: integer
  1269. visitor:
  1270. type: string
  1271. visitor_phone:
  1272. type: string
  1273. type: object
  1274. v1.GateVisitorListReply:
  1275. properties:
  1276. list:
  1277. items:
  1278. $ref: '#/definitions/v1.GateVisitorListItem'
  1279. type: array
  1280. page:
  1281. type: integer
  1282. total:
  1283. type: integer
  1284. type: object
  1285. v1.GateVisitorListResponse:
  1286. properties:
  1287. code:
  1288. default: 0
  1289. description: 返回码
  1290. format: int
  1291. type: integer
  1292. data:
  1293. $ref: '#/definitions/v1.GateVisitorListReply'
  1294. type: object
  1295. message:
  1296. default: success
  1297. description: 消息
  1298. type: string
  1299. type: object
  1300. v1.GateVisitorPageResponse:
  1301. properties:
  1302. code:
  1303. default: 0
  1304. description: 返回码
  1305. format: int
  1306. type: integer
  1307. data:
  1308. $ref: '#/definitions/v1.GateVisitorListItem'
  1309. type: object
  1310. message:
  1311. default: success
  1312. description: 消息
  1313. type: string
  1314. type: object
  1315. v1.HouseItem:
  1316. properties:
  1317. building_id:
  1318. type: integer
  1319. hall_count:
  1320. description: 几厅
  1321. type: integer
  1322. has_lift:
  1323. type: boolean
  1324. house_area:
  1325. description: 房屋建筑面积
  1326. type: number
  1327. house_name:
  1328. type: string
  1329. house_number:
  1330. description: 门牌号
  1331. type: string
  1332. house_type:
  1333. description: 房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅
  1334. type: integer
  1335. house_used_area:
  1336. description: 房屋使用面积
  1337. type: number
  1338. id:
  1339. type: integer
  1340. layer:
  1341. description: 楼层
  1342. type: integer
  1343. room_count:
  1344. description: 几室
  1345. type: integer
  1346. status:
  1347. description: 房屋状态 1 未入住 2 已入住 3 已出租
  1348. type: integer
  1349. unit_id:
  1350. description: 单元id
  1351. type: integer
  1352. type: object
  1353. v1.HouseListReply:
  1354. properties:
  1355. list:
  1356. items:
  1357. $ref: '#/definitions/v1.HouseItem'
  1358. type: array
  1359. page:
  1360. type: integer
  1361. total:
  1362. type: integer
  1363. type: object
  1364. v1.HouseListResponse:
  1365. properties:
  1366. code:
  1367. default: 0
  1368. description: 返回码
  1369. format: int
  1370. type: integer
  1371. data:
  1372. $ref: '#/definitions/v1.HouseListReply'
  1373. type: object
  1374. message:
  1375. default: success
  1376. description: 消息
  1377. type: string
  1378. type: object
  1379. v1.HouseRentApplyBody:
  1380. properties:
  1381. base_conf:
  1382. description: 基础设施 从低到高分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机
  1383. type: integer
  1384. cert_pic:
  1385. description: 房屋证件图片
  1386. items:
  1387. type: string
  1388. type: array
  1389. contact_phone:
  1390. description: 联系人电话
  1391. type: string
  1392. contacter:
  1393. description: 联系人
  1394. type: string
  1395. decorating:
  1396. description: 1 精装 2 简装 3 清水
  1397. type: integer
  1398. desc:
  1399. description: 简介
  1400. type: string
  1401. desposit:
  1402. description: 押金
  1403. type: integer
  1404. direction:
  1405. description: 朝向
  1406. type: integer
  1407. garden_id:
  1408. type: integer
  1409. house_id:
  1410. type: integer
  1411. house_pic:
  1412. description: 房屋图片
  1413. items:
  1414. type: string
  1415. type: array
  1416. household_uid:
  1417. description: 业主uid
  1418. type: integer
  1419. in_time:
  1420. description: 可入住时间
  1421. type: integer
  1422. intermediary_price:
  1423. description: 中介费
  1424. type: integer
  1425. pay_time_type:
  1426. description: 1 月付 2 季付 3 半年付 4 年付
  1427. type: integer
  1428. rent_price:
  1429. description: 月租
  1430. type: integer
  1431. rent_type:
  1432. description: 1 整租 2 合租 3 转租
  1433. type: integer
  1434. room_area:
  1435. description: 房间面积
  1436. type: number
  1437. room_type:
  1438. description: 1 全部 2 主卧 3 次卧
  1439. type: integer
  1440. service_price:
  1441. description: 服务费
  1442. type: integer
  1443. special_conf:
  1444. description: 特色配置 从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租
  1445. type: integer
  1446. wc_count:
  1447. description: 几卫
  1448. type: integer
  1449. type: object
  1450. v1.HouseRentApplyReply:
  1451. properties:
  1452. id:
  1453. type: integer
  1454. type: object
  1455. v1.HouseRentApplyResponse:
  1456. properties:
  1457. code:
  1458. default: 0
  1459. description: 返回码
  1460. format: int
  1461. type: integer
  1462. data:
  1463. $ref: '#/definitions/v1.HouseRentApplyReply'
  1464. type: object
  1465. message:
  1466. default: success
  1467. description: 消息
  1468. type: string
  1469. type: object
  1470. v1.HouseRentAppointmentAddBody:
  1471. properties:
  1472. appointment_time:
  1473. description: 预约时间 0 代表随时看房
  1474. type: integer
  1475. garden_id:
  1476. type: integer
  1477. gender:
  1478. type: integer
  1479. name:
  1480. type: string
  1481. phone:
  1482. type: string
  1483. rent_id:
  1484. type: integer
  1485. type: object
  1486. v1.HouseRentAppointmentDelResponse:
  1487. properties:
  1488. code:
  1489. default: 0
  1490. description: 返回码
  1491. format: int
  1492. type: integer
  1493. message:
  1494. default: success
  1495. description: 消息
  1496. type: string
  1497. type: object
  1498. v1.HouseRentAppointmentItem:
  1499. properties:
  1500. appointment_time:
  1501. type: integer
  1502. area:
  1503. type: number
  1504. garden_id:
  1505. type: integer
  1506. garden_name:
  1507. type: string
  1508. gender:
  1509. type: integer
  1510. house_name:
  1511. type: string
  1512. id:
  1513. type: integer
  1514. layer:
  1515. type: integer
  1516. name:
  1517. type: string
  1518. phone:
  1519. type: string
  1520. rent_id:
  1521. type: integer
  1522. status:
  1523. description: 1 待受理,2 已受理,3 已拒绝,4 未到访,5已到访,6已过期
  1524. type: integer
  1525. uid:
  1526. type: integer
  1527. type: object
  1528. v1.HouseRentAppointmentListReply:
  1529. properties:
  1530. list:
  1531. items:
  1532. $ref: '#/definitions/v1.HouseRentAppointmentItem'
  1533. type: array
  1534. page:
  1535. type: integer
  1536. total:
  1537. type: integer
  1538. type: object
  1539. v1.HouseRentAppointmentListResponse:
  1540. properties:
  1541. code:
  1542. default: 0
  1543. description: 返回码
  1544. format: int
  1545. type: integer
  1546. data:
  1547. $ref: '#/definitions/v1.HouseRentAppointmentListReply'
  1548. type: object
  1549. message:
  1550. default: success
  1551. description: 消息
  1552. type: string
  1553. type: object
  1554. v1.HouseRentDownBody:
  1555. properties:
  1556. garden_id:
  1557. type: integer
  1558. id:
  1559. type: integer
  1560. type: object
  1561. v1.HouseRentDownResponse:
  1562. properties:
  1563. code:
  1564. default: 0
  1565. description: 返回码
  1566. format: int
  1567. type: integer
  1568. message:
  1569. default: success
  1570. description: 消息
  1571. type: string
  1572. type: object
  1573. v1.HouseRentItem:
  1574. properties:
  1575. addr:
  1576. type: string
  1577. approve_status:
  1578. description: 审核状态 1 待审 2 通过 3 未通过
  1579. type: integer
  1580. area:
  1581. description: 区域
  1582. type: string
  1583. base_conf:
  1584. description: 基础设施
  1585. type: integer
  1586. cert_pic:
  1587. description: 房屋证件图片
  1588. items:
  1589. type: string
  1590. type: array
  1591. city:
  1592. description: 城市
  1593. type: string
  1594. contact_phone:
  1595. description: 联系人电话
  1596. type: string
  1597. contacter:
  1598. description: 联系人
  1599. type: string
  1600. decorating:
  1601. description: 1 精装 2 简装 3 清水
  1602. type: integer
  1603. desc:
  1604. description: 简介
  1605. type: string
  1606. desposit:
  1607. description: 押金
  1608. type: integer
  1609. direction:
  1610. description: 朝向
  1611. type: integer
  1612. garden_desc:
  1613. type: string
  1614. garden_id:
  1615. description: 小区id
  1616. type: integer
  1617. garden_name:
  1618. description: 小区名称
  1619. type: string
  1620. hall_count:
  1621. description: 几厅
  1622. type: integer
  1623. has_lift:
  1624. description: 是否有电梯
  1625. type: boolean
  1626. house_area:
  1627. description: 房屋建筑面积
  1628. type: number
  1629. house_id:
  1630. type: integer
  1631. house_name:
  1632. description: 房屋号
  1633. type: string
  1634. house_pic:
  1635. description: 房屋图片
  1636. items:
  1637. type: string
  1638. type: array
  1639. id:
  1640. description: 租房id
  1641. type: integer
  1642. in_time:
  1643. description: 可入住时间
  1644. type: integer
  1645. intermediary_price:
  1646. description: 中介费
  1647. type: integer
  1648. lat:
  1649. description: 纬度
  1650. type: number
  1651. layer:
  1652. description: 楼层
  1653. type: integer
  1654. lnt:
  1655. description: 经度
  1656. type: number
  1657. pay_time_type:
  1658. description: 1 月付 2 季付 3 半年付 4 年付
  1659. type: integer
  1660. province:
  1661. description: 省份
  1662. type: string
  1663. rent_price:
  1664. description: 月租
  1665. type: integer
  1666. rent_type:
  1667. description: 1 整租 2 合租 3 转租
  1668. type: integer
  1669. room_area:
  1670. description: 房间面积
  1671. type: number
  1672. room_count:
  1673. description: 几室
  1674. type: integer
  1675. room_type:
  1676. description: 1 全部 2 主卧 3 次卧
  1677. type: integer
  1678. service_price:
  1679. description: 服务费
  1680. type: integer
  1681. special_conf:
  1682. description: 特色配置
  1683. type: integer
  1684. street:
  1685. description: 街道
  1686. type: string
  1687. wc_count:
  1688. description: 几卫
  1689. type: integer
  1690. type: object
  1691. v1.HouseRentListReply:
  1692. properties:
  1693. list:
  1694. items:
  1695. $ref: '#/definitions/v1.HouseRentItem'
  1696. type: array
  1697. page:
  1698. type: integer
  1699. total:
  1700. type: integer
  1701. type: object
  1702. v1.HouseRentListResponse:
  1703. properties:
  1704. code:
  1705. default: 0
  1706. description: 返回码
  1707. format: int
  1708. type: integer
  1709. data:
  1710. $ref: '#/definitions/v1.HouseRentListReply'
  1711. type: object
  1712. message:
  1713. default: success
  1714. description: 消息
  1715. type: string
  1716. type: object
  1717. v1.HouseRentManagerItem:
  1718. properties:
  1719. id:
  1720. type: integer
  1721. manager_uid:
  1722. type: integer
  1723. name:
  1724. description: 姓名
  1725. type: string
  1726. openim_id:
  1727. type: string
  1728. phone:
  1729. type: string
  1730. user_name:
  1731. description: 账号
  1732. type: string
  1733. type: object
  1734. v1.HouseRentManagerListReply:
  1735. properties:
  1736. list:
  1737. items:
  1738. $ref: '#/definitions/v1.HouseRentManagerItem'
  1739. type: array
  1740. type: object
  1741. v1.HouseRentManagerListResponse:
  1742. properties:
  1743. code:
  1744. default: 0
  1745. description: 返回码
  1746. format: int
  1747. type: integer
  1748. data:
  1749. $ref: '#/definitions/v1.HouseRentManagerListReply'
  1750. type: object
  1751. message:
  1752. default: success
  1753. description: 消息
  1754. type: string
  1755. type: object
  1756. v1.HouseRentUpdateBody:
  1757. properties:
  1758. base_conf:
  1759. description: 基础设施 从低到高分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机
  1760. type: integer
  1761. cert_pic:
  1762. description: 房屋证件图片
  1763. items:
  1764. type: string
  1765. type: array
  1766. contact_phone:
  1767. description: 联系人电话
  1768. type: string
  1769. contacter:
  1770. description: 联系人
  1771. type: string
  1772. decorating:
  1773. description: 1 精装 2 简装 3 清水
  1774. type: integer
  1775. desc:
  1776. description: 简介
  1777. type: string
  1778. desposit:
  1779. description: 押金
  1780. type: integer
  1781. direction:
  1782. description: 朝向
  1783. type: integer
  1784. garden_id:
  1785. type: integer
  1786. house_id:
  1787. type: integer
  1788. house_pic:
  1789. description: 房屋图片
  1790. items:
  1791. type: string
  1792. type: array
  1793. id:
  1794. type: integer
  1795. in_time:
  1796. description: 可入住时间
  1797. type: integer
  1798. intermediary_price:
  1799. description: 中介费
  1800. type: integer
  1801. pay_time_type:
  1802. description: 1 月付 2 季付 3 半年付 4 年付
  1803. type: integer
  1804. rent_price:
  1805. description: 月租
  1806. type: integer
  1807. rent_type:
  1808. description: 1 整租 2 合租 3 转租
  1809. type: integer
  1810. room_area:
  1811. description: 房间面积
  1812. type: number
  1813. room_type:
  1814. description: 1 全部 2 主卧 3 次卧
  1815. type: integer
  1816. service_price:
  1817. description: 服务费
  1818. type: integer
  1819. special_conf:
  1820. description: 特色配置 从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租
  1821. type: integer
  1822. wc_count:
  1823. type: integer
  1824. type: object
  1825. v1.HouseRentUpdateResponse:
  1826. properties:
  1827. code:
  1828. default: 0
  1829. description: 返回码
  1830. format: int
  1831. type: integer
  1832. message:
  1833. default: success
  1834. description: 消息
  1835. type: string
  1836. type: object
  1837. v1.HouseholdApplyBody:
  1838. properties:
  1839. appendix:
  1840. description: 附件
  1841. items:
  1842. type: string
  1843. type: array
  1844. garden_id:
  1845. description: 小区id
  1846. type: integer
  1847. house_id:
  1848. description: 房屋id
  1849. type: integer
  1850. id_number:
  1851. description: 证件号
  1852. type: string
  1853. id_type:
  1854. description: 1 身份证 2 护照
  1855. type: integer
  1856. name:
  1857. description: 姓名
  1858. type: string
  1859. phone:
  1860. type: string
  1861. user_type:
  1862. description: 1业主 2家人 3租客
  1863. type: integer
  1864. type: object
  1865. v1.HouseholdApplyReply:
  1866. properties:
  1867. id:
  1868. type: integer
  1869. type: object
  1870. v1.HouseholdApplyResponse:
  1871. properties:
  1872. code:
  1873. default: 0
  1874. description: 返回码
  1875. format: int
  1876. type: integer
  1877. data:
  1878. $ref: '#/definitions/v1.HouseholdApplyReply'
  1879. type: object
  1880. message:
  1881. default: success
  1882. description: 消息
  1883. type: string
  1884. type: object
  1885. v1.HouseholdHouseInfo:
  1886. properties:
  1887. can_pay:
  1888. description: 是否支持线上支付
  1889. type: boolean
  1890. garden_id:
  1891. type: integer
  1892. garden_name:
  1893. type: string
  1894. house_id:
  1895. type: integer
  1896. house_name:
  1897. type: string
  1898. id:
  1899. type: integer
  1900. user_type:
  1901. description: 住户在该房屋下的类型 1 业主 2 家人 3 租客
  1902. type: integer
  1903. type: object
  1904. v1.HouseholdHousesReply:
  1905. properties:
  1906. list:
  1907. items:
  1908. $ref: '#/definitions/v1.HouseholdHouseInfo'
  1909. type: array
  1910. type: object
  1911. v1.HouseholdHousesResponse:
  1912. properties:
  1913. code:
  1914. default: 0
  1915. description: 返回码
  1916. format: int
  1917. type: integer
  1918. data:
  1919. $ref: '#/definitions/v1.HouseholdHousesReply'
  1920. type: object
  1921. message:
  1922. default: success
  1923. description: 消息
  1924. type: string
  1925. type: object
  1926. v1.HouseholdItem:
  1927. properties:
  1928. appendix:
  1929. items:
  1930. type: string
  1931. type: array
  1932. approve_status:
  1933. type: integer
  1934. garden_id:
  1935. type: integer
  1936. garden_name:
  1937. type: string
  1938. house_id:
  1939. type: integer
  1940. house_name:
  1941. description: 房号
  1942. type: string
  1943. id:
  1944. type: integer
  1945. id_number:
  1946. description: 证件号
  1947. type: string
  1948. id_type:
  1949. description: 1 身份证 2 护照
  1950. type: integer
  1951. name:
  1952. type: string
  1953. phone:
  1954. type: string
  1955. uid:
  1956. type: integer
  1957. user_type:
  1958. description: 1业主 2家人 3租客
  1959. type: integer
  1960. type: object
  1961. v1.HouseholdListReply:
  1962. properties:
  1963. list:
  1964. items:
  1965. $ref: '#/definitions/v1.HouseholdItem'
  1966. type: array
  1967. page:
  1968. type: integer
  1969. total:
  1970. type: integer
  1971. type: object
  1972. v1.HouseholdListResponse:
  1973. properties:
  1974. code:
  1975. default: 0
  1976. description: 返回码
  1977. format: int
  1978. type: integer
  1979. data:
  1980. $ref: '#/definitions/v1.HouseholdListReply'
  1981. type: object
  1982. message:
  1983. default: success
  1984. description: 消息
  1985. type: string
  1986. type: object
  1987. v1.HouseholdSpaceResponse:
  1988. properties:
  1989. code:
  1990. default: 0
  1991. description: 返回码
  1992. format: int
  1993. type: integer
  1994. data:
  1995. $ref: '#/definitions/v1.ParkSpaceListReply'
  1996. type: object
  1997. message:
  1998. default: success
  1999. description: 消息
  2000. type: string
  2001. type: object
  2002. v1.HouseholdVehicleResponse:
  2003. properties:
  2004. code:
  2005. default: 0
  2006. description: 返回码
  2007. format: int
  2008. type: integer
  2009. data:
  2010. $ref: '#/definitions/v1.VehicleListReply'
  2011. type: object
  2012. message:
  2013. default: success
  2014. description: 消息
  2015. type: string
  2016. type: object
  2017. v1.LoginBody:
  2018. properties:
  2019. code:
  2020. type: string
  2021. phone_encrypt:
  2022. description: 手机号加密数据
  2023. type: string
  2024. phone_iv:
  2025. description: 手机号加密初始向量
  2026. type: string
  2027. user_encrypt:
  2028. description: 用户信息加密数据
  2029. type: string
  2030. user_iv:
  2031. description: 用户信息加密初始向量
  2032. type: string
  2033. type: object
  2034. v1.LoginData:
  2035. properties:
  2036. avatar:
  2037. description: 头像
  2038. type: string
  2039. nick_name:
  2040. type: string
  2041. open_id:
  2042. type: string
  2043. openim_id:
  2044. type: string
  2045. phone:
  2046. type: string
  2047. token:
  2048. type: string
  2049. uid:
  2050. type: integer
  2051. user:
  2052. type: string
  2053. type: object
  2054. v1.LoginResponse:
  2055. properties:
  2056. code:
  2057. default: 0
  2058. description: 返回码
  2059. format: int
  2060. type: integer
  2061. data:
  2062. $ref: '#/definitions/v1.LoginData'
  2063. type: object
  2064. message:
  2065. default: success
  2066. description: 消息
  2067. type: string
  2068. type: object
  2069. v1.MaterialInfoReply:
  2070. properties:
  2071. pic:
  2072. type: string
  2073. type: object
  2074. v1.MaterialInfoResponse:
  2075. properties:
  2076. code:
  2077. default: 0
  2078. description: 返回码
  2079. format: int
  2080. type: integer
  2081. data:
  2082. $ref: '#/definitions/v1.MaterialInfoReply'
  2083. type: object
  2084. message:
  2085. default: success
  2086. description: 消息
  2087. type: string
  2088. type: object
  2089. v1.MaterialItem:
  2090. properties:
  2091. created_at:
  2092. type: integer
  2093. enable:
  2094. type: integer
  2095. id:
  2096. type: integer
  2097. mtype:
  2098. type: integer
  2099. pic:
  2100. type: string
  2101. type: object
  2102. v1.MaterialListReply:
  2103. properties:
  2104. list:
  2105. items:
  2106. $ref: '#/definitions/v1.MaterialItem'
  2107. type: array
  2108. page:
  2109. type: integer
  2110. total:
  2111. type: integer
  2112. type: object
  2113. v1.MaterialListResponse:
  2114. properties:
  2115. code:
  2116. default: 0
  2117. description: 返回码
  2118. format: int
  2119. type: integer
  2120. data:
  2121. $ref: '#/definitions/v1.MaterialListReply'
  2122. type: object
  2123. message:
  2124. default: success
  2125. description: 消息
  2126. type: string
  2127. type: object
  2128. v1.MonthInfo:
  2129. properties:
  2130. give_months:
  2131. description: 赠送月数
  2132. type: integer
  2133. give_text:
  2134. description: 赠送其他的描述
  2135. type: string
  2136. months:
  2137. description: 缴费月数
  2138. type: integer
  2139. package_id:
  2140. type: integer
  2141. type: object
  2142. v1.NeighborArticleAddBody:
  2143. properties:
  2144. class_id:
  2145. description: 分类id
  2146. type: integer
  2147. content:
  2148. description: 文章类容
  2149. type: string
  2150. garden_id:
  2151. type: integer
  2152. pics:
  2153. description: 文章图片
  2154. items:
  2155. type: string
  2156. type: array
  2157. title:
  2158. description: 文章标题
  2159. type: string
  2160. type: object
  2161. v1.NeighborArticleAddResponse:
  2162. properties:
  2163. code:
  2164. default: 0
  2165. description: 返回码
  2166. format: int
  2167. type: integer
  2168. message:
  2169. default: success
  2170. description: 消息
  2171. type: string
  2172. type: object
  2173. v1.NeighborArticleDelResponse:
  2174. properties:
  2175. code:
  2176. default: 0
  2177. description: 返回码
  2178. format: int
  2179. type: integer
  2180. message:
  2181. default: success
  2182. description: 消息
  2183. type: string
  2184. type: object
  2185. v1.NeighborArticleItem:
  2186. properties:
  2187. class_id:
  2188. description: 分类id
  2189. type: integer
  2190. comment_count:
  2191. description: 评论总数
  2192. type: integer
  2193. content:
  2194. type: string
  2195. created_at:
  2196. type: string
  2197. id:
  2198. type: integer
  2199. like:
  2200. description: true 本人已点赞 false 本人未点赞
  2201. type: boolean
  2202. likes:
  2203. description: 文章点赞数
  2204. type: integer
  2205. nick_name:
  2206. type: string
  2207. owner:
  2208. description: 是否是本人发布的文章
  2209. type: boolean
  2210. pics:
  2211. items:
  2212. type: string
  2213. type: array
  2214. title:
  2215. type: string
  2216. uid:
  2217. type: integer
  2218. updated_at:
  2219. type: string
  2220. user_icon:
  2221. description: 用户头像
  2222. type: string
  2223. user_name:
  2224. type: string
  2225. user_phone:
  2226. type: string
  2227. type: object
  2228. v1.NeighborArticleListReply:
  2229. properties:
  2230. list:
  2231. items:
  2232. $ref: '#/definitions/v1.NeighborArticleItem'
  2233. type: array
  2234. page:
  2235. type: integer
  2236. total:
  2237. type: integer
  2238. type: object
  2239. v1.NeighborArticleListResponse:
  2240. properties:
  2241. code:
  2242. default: 0
  2243. description: 返回码
  2244. format: int
  2245. type: integer
  2246. data:
  2247. $ref: '#/definitions/v1.NeighborArticleListReply'
  2248. type: object
  2249. message:
  2250. default: success
  2251. description: 消息
  2252. type: string
  2253. type: object
  2254. v1.NeighborArticleUpdateBody:
  2255. properties:
  2256. content:
  2257. description: 文章类容
  2258. type: string
  2259. garden_id:
  2260. type: integer
  2261. id:
  2262. type: integer
  2263. pics:
  2264. description: 文章图片
  2265. items:
  2266. type: string
  2267. type: array
  2268. title:
  2269. description: 文章标题
  2270. type: string
  2271. type: object
  2272. v1.NeighborArticleUpdateResponse:
  2273. properties:
  2274. code:
  2275. default: 0
  2276. description: 返回码
  2277. format: int
  2278. type: integer
  2279. message:
  2280. default: success
  2281. description: 消息
  2282. type: string
  2283. type: object
  2284. v1.NeighborClassItem:
  2285. properties:
  2286. article_count:
  2287. description: 分类下的文章总数
  2288. type: integer
  2289. class_name:
  2290. type: string
  2291. class_pic:
  2292. type: string
  2293. created_at:
  2294. description: 分类创建时间
  2295. type: string
  2296. enable:
  2297. type: boolean
  2298. id:
  2299. type: integer
  2300. updated_at:
  2301. description: 分类结束时间
  2302. type: string
  2303. type: object
  2304. v1.NeighborClassListReply:
  2305. properties:
  2306. list:
  2307. items:
  2308. $ref: '#/definitions/v1.NeighborClassItem'
  2309. type: array
  2310. page:
  2311. type: integer
  2312. total:
  2313. type: integer
  2314. type: object
  2315. v1.NeighborClassListResponse:
  2316. properties:
  2317. code:
  2318. default: 0
  2319. description: 返回码
  2320. format: int
  2321. type: integer
  2322. data:
  2323. $ref: '#/definitions/v1.NeighborClassListReply'
  2324. type: object
  2325. message:
  2326. default: success
  2327. description: 消息
  2328. type: string
  2329. type: object
  2330. v1.NeighborCommentAddBody:
  2331. properties:
  2332. article_id:
  2333. type: integer
  2334. content:
  2335. description: 文章类容
  2336. type: string
  2337. garden_id:
  2338. type: integer
  2339. pics:
  2340. description: 文章图片
  2341. items:
  2342. type: string
  2343. type: array
  2344. pid:
  2345. description: pid 和 article_id 二选一, 当为文章评论使用article_id, 当为评论添加子评论使用pid(即父评论id)
  2346. type: integer
  2347. type: object
  2348. v1.NeighborCommentAddResponse:
  2349. properties:
  2350. code:
  2351. default: 0
  2352. description: 返回码
  2353. format: int
  2354. type: integer
  2355. message:
  2356. default: success
  2357. description: 消息
  2358. type: string
  2359. type: object
  2360. v1.NeighborCommentDelResponse:
  2361. properties:
  2362. code:
  2363. default: 0
  2364. description: 返回码
  2365. format: int
  2366. type: integer
  2367. message:
  2368. default: success
  2369. description: 消息
  2370. type: string
  2371. type: object
  2372. v1.NeighborCommentItem:
  2373. properties:
  2374. content:
  2375. type: string
  2376. created_at:
  2377. type: string
  2378. id:
  2379. type: integer
  2380. like:
  2381. description: 本人是否点赞
  2382. type: boolean
  2383. likes:
  2384. description: 点赞数
  2385. type: integer
  2386. nick_name:
  2387. type: string
  2388. owner:
  2389. description: 是否是本人发布的文章
  2390. type: boolean
  2391. pics:
  2392. items:
  2393. type: string
  2394. type: array
  2395. sub_comment_count:
  2396. description: 子评论数
  2397. type: integer
  2398. uid:
  2399. type: integer
  2400. updated_at:
  2401. type: string
  2402. user_icon:
  2403. description: 用户头像
  2404. type: string
  2405. user_name:
  2406. type: string
  2407. user_phone:
  2408. type: string
  2409. type: object
  2410. v1.NeighborCommentListReply:
  2411. properties:
  2412. list:
  2413. items:
  2414. $ref: '#/definitions/v1.NeighborCommentItem'
  2415. type: array
  2416. page:
  2417. type: integer
  2418. total:
  2419. type: integer
  2420. type: object
  2421. v1.NeighborCommentListResponse:
  2422. properties:
  2423. code:
  2424. default: 0
  2425. description: 返回码
  2426. format: int
  2427. type: integer
  2428. data:
  2429. $ref: '#/definitions/v1.NeighborCommentListReply'
  2430. type: object
  2431. message:
  2432. default: success
  2433. description: 消息
  2434. type: string
  2435. type: object
  2436. v1.NeighborCommentUpdateBody:
  2437. properties:
  2438. content:
  2439. description: 文章类容
  2440. type: string
  2441. garden_id:
  2442. type: integer
  2443. id:
  2444. type: integer
  2445. pics:
  2446. description: 文章图片
  2447. items:
  2448. type: string
  2449. type: array
  2450. type: object
  2451. v1.NeighborCommentUpdateResponse:
  2452. properties:
  2453. code:
  2454. default: 0
  2455. description: 返回码
  2456. format: int
  2457. type: integer
  2458. message:
  2459. default: success
  2460. description: 消息
  2461. type: string
  2462. type: object
  2463. v1.NeighborLikeBody:
  2464. properties:
  2465. garden_id:
  2466. type: integer
  2467. like:
  2468. description: true 点赞 false 撤销点赞(前端应做相应控制,如果目标已点赞则不能点赞只能撤销,如果目标未点赞则只能点赞,不能撤销)
  2469. type: boolean
  2470. like_id:
  2471. description: 点赞id(like_type为1时代表文章id,like_type为2时代表评论id)
  2472. type: integer
  2473. like_type:
  2474. description: 点赞类型 1 文章 2 评论
  2475. type: integer
  2476. type: object
  2477. v1.NeighborLikeResponse:
  2478. properties:
  2479. code:
  2480. default: 0
  2481. description: 返回码
  2482. format: int
  2483. type: integer
  2484. message:
  2485. default: success
  2486. description: 消息
  2487. type: string
  2488. type: object
  2489. v1.OpenImTokenReply:
  2490. properties:
  2491. expire_at:
  2492. type: integer
  2493. token:
  2494. type: string
  2495. type: object
  2496. v1.OpenImTokenResponse:
  2497. properties:
  2498. data:
  2499. $ref: '#/definitions/v1.OpenImTokenReply'
  2500. type: object
  2501. token:
  2502. description: token
  2503. type: string
  2504. userId:
  2505. description: 用户id
  2506. type: integer
  2507. type: object
  2508. v1.OpenImUserData:
  2509. properties:
  2510. face_url:
  2511. type: string
  2512. gender:
  2513. type: integer
  2514. nick_name:
  2515. type: string
  2516. openim_id:
  2517. type: string
  2518. type: object
  2519. v1.OpenImUserInfoReply:
  2520. properties:
  2521. list:
  2522. items:
  2523. $ref: '#/definitions/v1.OpenImUserData'
  2524. type: array
  2525. type: object
  2526. v1.OpenImUsersInfoResponse:
  2527. properties:
  2528. code:
  2529. default: 0
  2530. description: 返回码
  2531. format: int
  2532. type: integer
  2533. data:
  2534. $ref: '#/definitions/v1.OpenImUserInfoReply'
  2535. type: object
  2536. message:
  2537. default: success
  2538. description: 消息
  2539. type: string
  2540. type: object
  2541. v1.ParkSpaceItem:
  2542. properties:
  2543. comment:
  2544. type: string
  2545. created_at:
  2546. type: string
  2547. house_id:
  2548. type: integer
  2549. house_name:
  2550. type: string
  2551. id:
  2552. type: integer
  2553. park_id:
  2554. type: integer
  2555. park_name:
  2556. type: string
  2557. park_number:
  2558. type: string
  2559. park_type:
  2560. type: integer
  2561. space_area:
  2562. type: number
  2563. space_number:
  2564. type: string
  2565. space_type:
  2566. type: integer
  2567. type: object
  2568. v1.ParkSpaceListReply:
  2569. properties:
  2570. list:
  2571. items:
  2572. $ref: '#/definitions/v1.ParkSpaceItem'
  2573. type: array
  2574. page:
  2575. type: integer
  2576. total:
  2577. type: integer
  2578. type: object
  2579. v1.ProvinceCityAreaReply:
  2580. properties:
  2581. area_list:
  2582. items:
  2583. $ref: '#/definitions/v1.AreaData'
  2584. type: array
  2585. city_list:
  2586. items:
  2587. $ref: '#/definitions/v1.CityData'
  2588. type: array
  2589. province_list:
  2590. items:
  2591. $ref: '#/definitions/v1.ProvinceData'
  2592. type: array
  2593. type: object
  2594. v1.ProvinceCityAreaResponse:
  2595. properties:
  2596. code:
  2597. default: 0
  2598. description: 返回码
  2599. format: int
  2600. type: integer
  2601. data:
  2602. $ref: '#/definitions/v1.ProvinceCityAreaReply'
  2603. type: object
  2604. message:
  2605. default: success
  2606. description: 消息
  2607. type: string
  2608. type: object
  2609. v1.ProvinceData:
  2610. properties:
  2611. code:
  2612. type: string
  2613. name:
  2614. type: string
  2615. type: object
  2616. v1.RealNameAuthBody:
  2617. properties:
  2618. id_number:
  2619. type: string
  2620. id_type:
  2621. type: integer
  2622. real_name:
  2623. type: string
  2624. type: object
  2625. v1.RealNameAuthData:
  2626. properties:
  2627. token:
  2628. type: string
  2629. type: object
  2630. v1.RealNameAuthResponse:
  2631. properties:
  2632. code:
  2633. default: 0
  2634. description: 返回码
  2635. format: int
  2636. type: integer
  2637. data:
  2638. $ref: '#/definitions/v1.RealNameAuthData'
  2639. type: object
  2640. message:
  2641. default: success
  2642. description: 消息
  2643. type: string
  2644. type: object
  2645. v1.RepairClassItem:
  2646. properties:
  2647. area:
  2648. type: integer
  2649. enable:
  2650. type: boolean
  2651. id:
  2652. type: integer
  2653. name:
  2654. type: string
  2655. type: object
  2656. v1.RepairClassListReply:
  2657. properties:
  2658. list:
  2659. items:
  2660. $ref: '#/definitions/v1.RepairClassItem'
  2661. type: array
  2662. page:
  2663. type: integer
  2664. total:
  2665. type: integer
  2666. type: object
  2667. v1.RepairClassListResponse:
  2668. properties:
  2669. code:
  2670. default: 0
  2671. description: 返回码
  2672. format: int
  2673. type: integer
  2674. data:
  2675. $ref: '#/definitions/v1.RepairClassListReply'
  2676. type: object
  2677. message:
  2678. default: success
  2679. description: 消息
  2680. type: string
  2681. type: object
  2682. v1.RepairOrderAddBody:
  2683. properties:
  2684. apply_content:
  2685. description: 报修内容
  2686. type: string
  2687. apply_people:
  2688. description: 报修人
  2689. type: string
  2690. apply_people_phone:
  2691. description: 报修人电话
  2692. type: string
  2693. apply_pic:
  2694. description: 报修图片
  2695. items:
  2696. type: string
  2697. type: array
  2698. appointment:
  2699. description: 预约时间
  2700. type: integer
  2701. class_id:
  2702. description: 分类id
  2703. type: integer
  2704. garden_id:
  2705. type: integer
  2706. house_id:
  2707. description: 房屋id
  2708. type: integer
  2709. type: object
  2710. v1.RepairOrderAddReply:
  2711. properties:
  2712. id:
  2713. type: integer
  2714. type: object
  2715. v1.RepairOrderAddResponse:
  2716. properties:
  2717. code:
  2718. default: 0
  2719. description: 返回码
  2720. format: int
  2721. type: integer
  2722. data:
  2723. $ref: '#/definitions/v1.RepairOrderAddReply'
  2724. type: object
  2725. message:
  2726. default: success
  2727. description: 消息
  2728. type: string
  2729. type: object
  2730. v1.RepairOrderInfoReply:
  2731. properties:
  2732. base_info:
  2733. $ref: '#/definitions/v1.RepairOrderItem'
  2734. description: 基本信息
  2735. type: object
  2736. list:
  2737. description: 工单流水线
  2738. items:
  2739. $ref: '#/definitions/v1.RepairOrderPipelineData'
  2740. type: array
  2741. type: object
  2742. v1.RepairOrderInfoResponse:
  2743. properties:
  2744. code:
  2745. default: 0
  2746. description: 返回码
  2747. format: int
  2748. type: integer
  2749. data:
  2750. $ref: '#/definitions/v1.RepairOrderInfoReply'
  2751. type: object
  2752. message:
  2753. default: success
  2754. description: 消息
  2755. type: string
  2756. type: object
  2757. v1.RepairOrderItem:
  2758. properties:
  2759. apply_content:
  2760. description: 报修内容
  2761. type: string
  2762. apply_people:
  2763. description: 报修人
  2764. type: string
  2765. apply_people_phone:
  2766. description: 报修人电话
  2767. type: string
  2768. apply_pic:
  2769. description: 报修图片
  2770. items:
  2771. type: string
  2772. type: array
  2773. appointment:
  2774. description: 预约时间
  2775. type: string
  2776. area:
  2777. description: 1 公共区域 2 室内
  2778. type: integer
  2779. building_id:
  2780. description: 楼栋id
  2781. type: integer
  2782. class_id:
  2783. description: 分类id
  2784. type: integer
  2785. class_name:
  2786. description: 分类名称
  2787. type: string
  2788. created_at:
  2789. description: 报修时间
  2790. type: string
  2791. current_user:
  2792. description: 当前状态处理人
  2793. type: string
  2794. house_id:
  2795. description: 房屋id
  2796. type: integer
  2797. house_name:
  2798. description: 房屋全称
  2799. type: string
  2800. id:
  2801. type: integer
  2802. last_user:
  2803. description: 上级处理人
  2804. type: string
  2805. repair_pic:
  2806. items:
  2807. type: string
  2808. type: array
  2809. repair_time:
  2810. description: 维修时间
  2811. type: string
  2812. return_visit_content:
  2813. description: 回访内容
  2814. type: string
  2815. return_visit_level:
  2816. description: 回访满意度
  2817. type: integer
  2818. status:
  2819. type: integer
  2820. unit_id:
  2821. description: 单元id
  2822. type: integer
  2823. type: object
  2824. v1.RepairOrderListReply:
  2825. properties:
  2826. list:
  2827. items:
  2828. $ref: '#/definitions/v1.RepairOrderItem'
  2829. type: array
  2830. page:
  2831. type: integer
  2832. total:
  2833. type: integer
  2834. type: object
  2835. v1.RepairOrderListResponse:
  2836. properties:
  2837. code:
  2838. default: 0
  2839. description: 返回码
  2840. format: int
  2841. type: integer
  2842. data:
  2843. $ref: '#/definitions/v1.RepairOrderListReply'
  2844. type: object
  2845. message:
  2846. default: success
  2847. description: 消息
  2848. type: string
  2849. type: object
  2850. v1.RepairOrderPipelineData:
  2851. properties:
  2852. feedback:
  2853. description: 处理意见
  2854. type: string
  2855. handle_time:
  2856. description: 处理时间
  2857. type: string
  2858. phone:
  2859. type: string
  2860. status:
  2861. type: string
  2862. user:
  2863. description: 处理人
  2864. type: string
  2865. type: object
  2866. v1.RepairOrderReturnVisitBody:
  2867. properties:
  2868. garden_id:
  2869. type: integer
  2870. id:
  2871. type: integer
  2872. return_visit_content:
  2873. description: 回访内容
  2874. type: string
  2875. return_visit_level:
  2876. description: 1 满意 2 不满意
  2877. type: integer
  2878. type: object
  2879. v1.RepairOrderReturnVisitResponse:
  2880. properties:
  2881. code:
  2882. default: 0
  2883. description: 返回码
  2884. format: int
  2885. type: integer
  2886. message:
  2887. default: success
  2888. description: 消息
  2889. type: string
  2890. type: object
  2891. v1.RepairOrderUpdateBody:
  2892. properties:
  2893. apply_content:
  2894. description: 报修内容
  2895. type: string
  2896. apply_people:
  2897. description: 报修人
  2898. type: string
  2899. apply_people_phone:
  2900. description: 报修人电话
  2901. type: string
  2902. apply_pic:
  2903. description: 报修图片
  2904. items:
  2905. type: string
  2906. type: array
  2907. appointment:
  2908. description: 预约时间
  2909. type: integer
  2910. class_id:
  2911. description: 分类id
  2912. type: integer
  2913. garden_id:
  2914. type: integer
  2915. house_id:
  2916. description: 房屋id
  2917. type: integer
  2918. id:
  2919. type: integer
  2920. type: object
  2921. v1.RepairOrderUpdateResponse:
  2922. properties:
  2923. code:
  2924. default: 0
  2925. description: 返回码
  2926. format: int
  2927. type: integer
  2928. message:
  2929. default: success
  2930. description: 消息
  2931. type: string
  2932. type: object
  2933. v1.ServicePhoneClassItem:
  2934. properties:
  2935. class_name:
  2936. type: string
  2937. enable:
  2938. type: boolean
  2939. id:
  2940. type: integer
  2941. type: object
  2942. v1.ServicePhoneClassListReply:
  2943. properties:
  2944. list:
  2945. items:
  2946. $ref: '#/definitions/v1.ServicePhoneClassItem'
  2947. type: array
  2948. page:
  2949. type: integer
  2950. total:
  2951. type: integer
  2952. type: object
  2953. v1.ServicePhoneClassListResponse:
  2954. properties:
  2955. code:
  2956. default: 0
  2957. description: 返回码
  2958. format: int
  2959. type: integer
  2960. data:
  2961. $ref: '#/definitions/v1.ServicePhoneClassListReply'
  2962. type: object
  2963. message:
  2964. default: success
  2965. description: 消息
  2966. type: string
  2967. type: object
  2968. v1.ServicePhoneItem:
  2969. properties:
  2970. class_id:
  2971. type: integer
  2972. class_name:
  2973. type: string
  2974. enable:
  2975. type: boolean
  2976. id:
  2977. type: integer
  2978. name:
  2979. type: string
  2980. phone:
  2981. type: string
  2982. type: object
  2983. v1.ServicePhoneListReply:
  2984. properties:
  2985. list:
  2986. items:
  2987. $ref: '#/definitions/v1.ServicePhoneItem'
  2988. type: array
  2989. page:
  2990. type: integer
  2991. total:
  2992. type: integer
  2993. type: object
  2994. v1.ServicePhoneListResponse:
  2995. properties:
  2996. code:
  2997. default: 0
  2998. description: 返回码
  2999. format: int
  3000. type: integer
  3001. data:
  3002. $ref: '#/definitions/v1.ServicePhoneListReply'
  3003. type: object
  3004. message:
  3005. default: success
  3006. description: 消息
  3007. type: string
  3008. type: object
  3009. v1.StreetCommitteeReply:
  3010. properties:
  3011. committee_list:
  3012. items:
  3013. $ref: '#/definitions/v1.CommitteeData'
  3014. type: array
  3015. street_list:
  3016. items:
  3017. $ref: '#/definitions/v1.StreetData'
  3018. type: array
  3019. type: object
  3020. v1.StreetCommitteeResponse:
  3021. properties:
  3022. code:
  3023. default: 0
  3024. description: 返回码
  3025. format: int
  3026. type: integer
  3027. data:
  3028. $ref: '#/definitions/v1.StreetCommitteeReply'
  3029. type: object
  3030. message:
  3031. default: success
  3032. description: 消息
  3033. type: string
  3034. type: object
  3035. v1.StreetData:
  3036. properties:
  3037. code:
  3038. type: string
  3039. name:
  3040. type: string
  3041. type: object
  3042. v1.SuggestionOrderAddBody:
  3043. properties:
  3044. apply_content:
  3045. description: 投诉内容
  3046. type: string
  3047. apply_people:
  3048. description: 投诉人
  3049. type: string
  3050. apply_people_phone:
  3051. description: 投诉人电话
  3052. type: string
  3053. apply_pic:
  3054. description: 投诉图片
  3055. items:
  3056. type: string
  3057. type: array
  3058. garden_id:
  3059. type: integer
  3060. suggestion_type:
  3061. description: 投诉类型 1 投诉 2 建议
  3062. type: integer
  3063. type: object
  3064. v1.SuggestionOrderAddReply:
  3065. properties:
  3066. id:
  3067. type: integer
  3068. type: object
  3069. v1.SuggestionOrderAddResponse:
  3070. properties:
  3071. code:
  3072. default: 0
  3073. description: 返回码
  3074. format: int
  3075. type: integer
  3076. data:
  3077. $ref: '#/definitions/v1.SuggestionOrderAddReply'
  3078. type: object
  3079. message:
  3080. default: success
  3081. description: 消息
  3082. type: string
  3083. type: object
  3084. v1.SuggestionOrderInfoReply:
  3085. properties:
  3086. base_info:
  3087. $ref: '#/definitions/v1.SuggestionOrderItem'
  3088. description: 基本信息
  3089. type: object
  3090. list:
  3091. description: 工单流水线
  3092. items:
  3093. $ref: '#/definitions/v1.SuggestionOrderPipelineData'
  3094. type: array
  3095. type: object
  3096. v1.SuggestionOrderInfoResponse:
  3097. properties:
  3098. code:
  3099. default: 0
  3100. description: 返回码
  3101. format: int
  3102. type: integer
  3103. data:
  3104. $ref: '#/definitions/v1.SuggestionOrderInfoReply'
  3105. type: object
  3106. message:
  3107. default: success
  3108. description: 消息
  3109. type: string
  3110. type: object
  3111. v1.SuggestionOrderItem:
  3112. properties:
  3113. apply_content:
  3114. description: 投诉内容
  3115. type: string
  3116. apply_people:
  3117. description: 投诉人
  3118. type: string
  3119. apply_people_phone:
  3120. description: 投诉人电话
  3121. type: string
  3122. apply_pic:
  3123. description: 投诉图片
  3124. items:
  3125. type: string
  3126. type: array
  3127. created_at:
  3128. description: 投诉时间
  3129. type: string
  3130. current_user:
  3131. description: 当前状态处理人
  3132. type: string
  3133. id:
  3134. type: integer
  3135. last_user:
  3136. description: 上级处理人
  3137. type: string
  3138. return_visit_content:
  3139. description: 回访内容
  3140. type: string
  3141. return_visit_level:
  3142. description: 回访满意度
  3143. type: integer
  3144. status:
  3145. type: integer
  3146. suggestion_type:
  3147. description: 投诉类型 1 投诉 2 建议
  3148. type: integer
  3149. type: object
  3150. v1.SuggestionOrderListReply:
  3151. properties:
  3152. list:
  3153. items:
  3154. $ref: '#/definitions/v1.SuggestionOrderItem'
  3155. type: array
  3156. page:
  3157. type: integer
  3158. total:
  3159. type: integer
  3160. type: object
  3161. v1.SuggestionOrderListResponse:
  3162. properties:
  3163. code:
  3164. default: 0
  3165. description: 返回码
  3166. format: int
  3167. type: integer
  3168. data:
  3169. $ref: '#/definitions/v1.SuggestionOrderListReply'
  3170. type: object
  3171. message:
  3172. default: success
  3173. description: 消息
  3174. type: string
  3175. type: object
  3176. v1.SuggestionOrderPipelineData:
  3177. properties:
  3178. feedback:
  3179. description: 处理意见
  3180. type: string
  3181. handle_time:
  3182. description: 处理时间
  3183. type: string
  3184. phone:
  3185. type: string
  3186. status:
  3187. type: string
  3188. user:
  3189. description: 处理人
  3190. type: string
  3191. type: object
  3192. v1.SuggestionOrderReturnVisitBody:
  3193. properties:
  3194. garden_id:
  3195. type: integer
  3196. id:
  3197. type: integer
  3198. return_visit_content:
  3199. description: 回访内容
  3200. type: string
  3201. return_visit_level:
  3202. description: 1 满意 2 不满意
  3203. type: integer
  3204. type: object
  3205. v1.SuggestionOrderReturnVisitResponse:
  3206. properties:
  3207. code:
  3208. default: 0
  3209. description: 返回码
  3210. format: int
  3211. type: integer
  3212. message:
  3213. default: success
  3214. description: 消息
  3215. type: string
  3216. type: object
  3217. v1.SuggestionOrderUpdateBody:
  3218. properties:
  3219. apply_content:
  3220. description: 投诉内容
  3221. type: string
  3222. apply_people:
  3223. description: 投诉人
  3224. type: string
  3225. apply_people_phone:
  3226. description: 投诉人电话
  3227. type: string
  3228. apply_pic:
  3229. description: 投诉图片
  3230. items:
  3231. type: string
  3232. type: array
  3233. garden_id:
  3234. type: integer
  3235. id:
  3236. type: integer
  3237. suggestion_type:
  3238. description: 投诉类型 1 投诉 2 建议
  3239. type: integer
  3240. type: object
  3241. v1.SuggestionOrderUpdateResponse:
  3242. properties:
  3243. code:
  3244. default: 0
  3245. description: 返回码
  3246. format: int
  3247. type: integer
  3248. message:
  3249. default: success
  3250. description: 消息
  3251. type: string
  3252. type: object
  3253. v1.TokenResponse:
  3254. properties:
  3255. code:
  3256. default: 0
  3257. description: 返回码
  3258. format: int
  3259. type: integer
  3260. data:
  3261. type: string
  3262. message:
  3263. default: success
  3264. description: 消息
  3265. type: string
  3266. refresh_token:
  3267. type: string
  3268. type: object
  3269. v1.UnitItem:
  3270. properties:
  3271. building_id:
  3272. description: 楼栋id
  3273. type: integer
  3274. building_name:
  3275. type: string
  3276. id:
  3277. type: integer
  3278. unit_layers:
  3279. description: 楼层数
  3280. type: integer
  3281. unit_name:
  3282. description: 单元名
  3283. type: string
  3284. unit_number:
  3285. description: 单元编号
  3286. type: integer
  3287. type: object
  3288. v1.UnitListReply:
  3289. properties:
  3290. list:
  3291. items:
  3292. $ref: '#/definitions/v1.UnitItem'
  3293. type: array
  3294. page:
  3295. type: integer
  3296. total:
  3297. type: integer
  3298. type: object
  3299. v1.UnitListResponse:
  3300. properties:
  3301. code:
  3302. default: 0
  3303. description: 返回码
  3304. format: int
  3305. type: integer
  3306. data:
  3307. $ref: '#/definitions/v1.UnitListReply'
  3308. type: object
  3309. message:
  3310. default: success
  3311. description: 消息
  3312. type: string
  3313. type: object
  3314. v1.UploadResponse:
  3315. properties:
  3316. code:
  3317. default: 0
  3318. description: 返回码
  3319. format: int
  3320. type: integer
  3321. data:
  3322. type: string
  3323. message:
  3324. default: success
  3325. description: 消息
  3326. type: string
  3327. type: object
  3328. v1.UserInfoReply:
  3329. properties:
  3330. id_number:
  3331. type: string
  3332. id_type:
  3333. type: integer
  3334. real_name:
  3335. type: string
  3336. type: object
  3337. v1.UserInfoResponse:
  3338. properties:
  3339. code:
  3340. default: 0
  3341. description: 返回码
  3342. format: int
  3343. type: integer
  3344. data:
  3345. $ref: '#/definitions/v1.UserInfoReply'
  3346. type: object
  3347. message:
  3348. default: success
  3349. description: 消息
  3350. type: string
  3351. type: object
  3352. v1.UserUpdateNickNameBody:
  3353. properties:
  3354. nick_name:
  3355. type: string
  3356. type: object
  3357. v1.UserUpdateNickNameResponse:
  3358. properties:
  3359. code:
  3360. default: 0
  3361. description: 返回码
  3362. format: int
  3363. type: integer
  3364. message:
  3365. default: success
  3366. description: 消息
  3367. type: string
  3368. type: object
  3369. v1.VehicleItem:
  3370. properties:
  3371. bind_type:
  3372. type: integer
  3373. brand:
  3374. type: string
  3375. brand_pic:
  3376. type: string
  3377. color:
  3378. type: string
  3379. displacement:
  3380. type: number
  3381. displacement_unit:
  3382. type: string
  3383. engine_no:
  3384. type: string
  3385. household_name:
  3386. type: string
  3387. household_phone:
  3388. type: string
  3389. household_uid:
  3390. type: integer
  3391. id:
  3392. type: integer
  3393. park_id:
  3394. type: integer
  3395. park_name:
  3396. type: string
  3397. park_number:
  3398. type: string
  3399. plate_no:
  3400. type: string
  3401. seat:
  3402. type: integer
  3403. space_id:
  3404. type: integer
  3405. space_number:
  3406. type: string
  3407. vehicle_type:
  3408. type: integer
  3409. vin:
  3410. type: string
  3411. type: object
  3412. v1.VehicleListReply:
  3413. properties:
  3414. list:
  3415. items:
  3416. $ref: '#/definitions/v1.VehicleItem'
  3417. type: array
  3418. page:
  3419. type: integer
  3420. total:
  3421. type: integer
  3422. type: object
  3423. v1.VoteAddAnswerBody:
  3424. properties:
  3425. answers:
  3426. items:
  3427. $ref: '#/definitions/v1.VoteTopicAnswer'
  3428. type: array
  3429. garden_id:
  3430. type: integer
  3431. id:
  3432. type: integer
  3433. type: object
  3434. v1.VoteAddAnswerResponse:
  3435. properties:
  3436. code:
  3437. default: 0
  3438. description: 返回码
  3439. format: int
  3440. type: integer
  3441. message:
  3442. default: success
  3443. description: 消息
  3444. type: string
  3445. type: object
  3446. v1.VoteListForHouseholdItem:
  3447. properties:
  3448. answered:
  3449. description: 是否已投票
  3450. type: boolean
  3451. created_at:
  3452. type: integer
  3453. end:
  3454. type: integer
  3455. id:
  3456. type: integer
  3457. pics:
  3458. items:
  3459. type: string
  3460. type: array
  3461. start:
  3462. type: integer
  3463. title:
  3464. description: 标题
  3465. type: string
  3466. topics:
  3467. description: 题目类容和用户回答
  3468. items:
  3469. $ref: '#/definitions/v1.VoteTopicForHouseholdItem'
  3470. type: array
  3471. type: object
  3472. v1.VoteListForHouseholdReply:
  3473. properties:
  3474. list:
  3475. items:
  3476. $ref: '#/definitions/v1.VoteListForHouseholdItem'
  3477. type: array
  3478. page:
  3479. type: integer
  3480. total:
  3481. type: integer
  3482. type: object
  3483. v1.VoteListForHouseholdResponse:
  3484. properties:
  3485. code:
  3486. default: 0
  3487. description: 返回码
  3488. format: int
  3489. type: integer
  3490. data:
  3491. $ref: '#/definitions/v1.VoteListForHouseholdReply'
  3492. type: object
  3493. message:
  3494. default: success
  3495. description: 消息
  3496. type: string
  3497. type: object
  3498. v1.VoteResultStatisticChoice:
  3499. properties:
  3500. count:
  3501. description: 该选项被选的用户
  3502. type: integer
  3503. flag:
  3504. description: 选择选项标识
  3505. type: string
  3506. type: object
  3507. v1.VoteResultStatisticItem:
  3508. properties:
  3509. choice_items:
  3510. description: 选择题的选项内容
  3511. items:
  3512. $ref: '#/definitions/v1.VoteTopicChoiceItem'
  3513. type: array
  3514. choice_statistic:
  3515. description: 选择题的选项回答统计,当题目类型为选择题时有效
  3516. items:
  3517. $ref: '#/definitions/v1.VoteResultStatisticChoice'
  3518. type: array
  3519. must:
  3520. description: 是否必选
  3521. type: boolean
  3522. number:
  3523. description: 题目编号
  3524. type: integer
  3525. star:
  3526. description: 总星数,当为评分题时有效
  3527. type: integer
  3528. star_avg:
  3529. description: 平均分, 当题目类型为评分题时有效
  3530. type: integer
  3531. star_statistic:
  3532. description: 评分题的分数回答统计,当题目类型为评分题时有效
  3533. items:
  3534. $ref: '#/definitions/v1.VoteResultStatisticStar'
  3535. type: array
  3536. topic_name:
  3537. type: string
  3538. topic_type:
  3539. description: 题目类型 1 填空题 2 单选题 3 多选题 4 评分题
  3540. type: integer
  3541. type: object
  3542. v1.VoteResultStatisticReply:
  3543. properties:
  3544. list:
  3545. description: 题目统计
  3546. items:
  3547. $ref: '#/definitions/v1.VoteResultStatisticItem'
  3548. type: array
  3549. type: object
  3550. v1.VoteResultStatisticResponse:
  3551. properties:
  3552. code:
  3553. default: 0
  3554. description: 返回码
  3555. format: int
  3556. type: integer
  3557. data:
  3558. $ref: '#/definitions/v1.VoteResultStatisticReply'
  3559. type: object
  3560. message:
  3561. default: success
  3562. description: 消息
  3563. type: string
  3564. type: object
  3565. v1.VoteResultStatisticStar:
  3566. properties:
  3567. count:
  3568. description: 评该星数的用户数量
  3569. type: integer
  3570. star:
  3571. description: 评分星数
  3572. type: integer
  3573. type: object
  3574. v1.VoteTopicAnswer:
  3575. properties:
  3576. choice_answers:
  3577. description: 选择题回答,当题目类型为选择题时有效
  3578. items:
  3579. type: string
  3580. type: array
  3581. completion_answers:
  3582. description: 问答题回答,当题目类型为问答题时有效
  3583. items:
  3584. type: string
  3585. type: array
  3586. number:
  3587. description: 题目编号
  3588. type: integer
  3589. star_answers:
  3590. description: 评分题回答,当题目类型为评分题时有效
  3591. type: integer
  3592. topic_type:
  3593. description: 题目类型
  3594. type: integer
  3595. type: object
  3596. v1.VoteTopicChoiceItem:
  3597. properties:
  3598. flag:
  3599. type: string
  3600. text:
  3601. type: string
  3602. type: object
  3603. v1.VoteTopicForHouseholdItem:
  3604. properties:
  3605. choice_answers:
  3606. description: 选择题回答,当题目类型为选择题时有效
  3607. items:
  3608. type: string
  3609. type: array
  3610. choice_items:
  3611. description: 选择题的选项
  3612. items:
  3613. $ref: '#/definitions/v1.VoteTopicChoiceItem'
  3614. type: array
  3615. completion_answers:
  3616. description: |-
  3617. 当已投票时,以下字段有效
  3618. 问答题回答,当题目类型为问答题时有效
  3619. items:
  3620. type: string
  3621. type: array
  3622. must:
  3623. description: 是否必选
  3624. type: boolean
  3625. number:
  3626. description: 题目编号
  3627. type: integer
  3628. star:
  3629. description: 总星数,当为评分题时有效
  3630. type: integer
  3631. star_answers:
  3632. description: 评分题回答,当题目类型为评分题时有效
  3633. type: integer
  3634. topic_name:
  3635. type: string
  3636. topic_type:
  3637. description: 题目类型 1 填空题 2 单选题 3 多选题 4 评分题
  3638. type: integer
  3639. type: object
  3640. v1.WxAppletPrepayReply:
  3641. properties:
  3642. prepay:
  3643. type: string
  3644. prepay_id:
  3645. type: string
  3646. type: object
  3647. info:
  3648. contact: {}
  3649. description: This is a gateway server. On the page, you can go to do testing for every API.
  3650. license: {}
  3651. title: Project property-household-gateway's APIs
  3652. version: "1.1"
  3653. paths:
  3654. /api/v1/area/city:
  3655. get:
  3656. consumes:
  3657. - application/json
  3658. description: 用城市名换取城市code
  3659. parameters:
  3660. - description: ' '
  3661. in: header
  3662. name: token
  3663. required: true
  3664. type: string
  3665. - description: 城市名称
  3666. in: query
  3667. name: city_name
  3668. required: true
  3669. type: string
  3670. produces:
  3671. - application/json
  3672. responses:
  3673. "200":
  3674. description: OK
  3675. schema:
  3676. $ref: '#/definitions/v1.CityResponse'
  3677. "500":
  3678. description: Internal Server Error
  3679. schema:
  3680. $ref: '#/definitions/base.HTTPError'
  3681. summary: 用城市名换取城市code
  3682. tags:
  3683. - 区域
  3684. /api/v1/area/province_city_area:
  3685. get:
  3686. consumes:
  3687. - application/json
  3688. description: 省市区列表
  3689. parameters:
  3690. - description: ' '
  3691. in: header
  3692. name: token
  3693. required: true
  3694. type: string
  3695. produces:
  3696. - application/json
  3697. responses:
  3698. "200":
  3699. description: OK
  3700. schema:
  3701. $ref: '#/definitions/v1.ProvinceCityAreaResponse'
  3702. "500":
  3703. description: Internal Server Error
  3704. schema:
  3705. $ref: '#/definitions/base.HTTPError'
  3706. summary: 省市区列表
  3707. tags:
  3708. - 区域
  3709. /api/v1/area/street_committee:
  3710. get:
  3711. consumes:
  3712. - application/json
  3713. description: 街道社区列表
  3714. parameters:
  3715. - description: ' '
  3716. in: header
  3717. name: token
  3718. required: true
  3719. type: string
  3720. - description: 区域代码
  3721. in: query
  3722. name: area_code
  3723. required: true
  3724. type: string
  3725. produces:
  3726. - application/json
  3727. responses:
  3728. "200":
  3729. description: OK
  3730. schema:
  3731. $ref: '#/definitions/v1.StreetCommitteeResponse'
  3732. "500":
  3733. description: Internal Server Error
  3734. schema:
  3735. $ref: '#/definitions/base.HTTPError'
  3736. summary: 街道社区列表
  3737. tags:
  3738. - 区域
  3739. /api/v1/charge/bill_list:
  3740. get:
  3741. consumes:
  3742. - application/json
  3743. description: 待缴费某个费项的账单列表
  3744. parameters:
  3745. - description: token
  3746. in: header
  3747. name: token
  3748. required: true
  3749. type: string
  3750. - description: 小区id
  3751. in: query
  3752. name: garden_id
  3753. required: true
  3754. type: integer
  3755. - description: 绑定关系id
  3756. in: query
  3757. name: bind_id
  3758. required: true
  3759. type: integer
  3760. - description: ' '
  3761. in: query
  3762. name: page
  3763. type: integer
  3764. - description: ' '
  3765. in: query
  3766. name: page_size
  3767. type: integer
  3768. produces:
  3769. - application/json
  3770. responses:
  3771. "200":
  3772. description: OK
  3773. schema:
  3774. $ref: '#/definitions/v1.ChargeBillListResponse'
  3775. "500":
  3776. description: Internal Server Error
  3777. schema:
  3778. $ref: '#/definitions/base.HTTPError'
  3779. summary: 待缴费某个费项的账单列表
  3780. tags:
  3781. - 生活缴费
  3782. /api/v1/charge/months/property:
  3783. get:
  3784. consumes:
  3785. - application/json
  3786. description: 预缴物业费前获取月数和赠送信息
  3787. parameters:
  3788. - description: token
  3789. in: header
  3790. name: token
  3791. required: true
  3792. type: string
  3793. - description: 小区id
  3794. in: query
  3795. name: garden_id
  3796. required: true
  3797. type: integer
  3798. - description: 房屋id
  3799. in: query
  3800. name: house_id
  3801. required: true
  3802. type: integer
  3803. produces:
  3804. - application/json
  3805. responses:
  3806. "200":
  3807. description: OK
  3808. schema:
  3809. $ref: '#/definitions/v1.ChargePropertyMonthInfoResponse'
  3810. "500":
  3811. description: Internal Server Error
  3812. schema:
  3813. $ref: '#/definitions/base.HTTPError'
  3814. summary: 预缴物业费前获取月数和赠送信息
  3815. tags:
  3816. - 预缴
  3817. /api/v1/charge/months/space:
  3818. get:
  3819. consumes:
  3820. - application/json
  3821. description: 预缴车位管理前获取月数和赠送信息
  3822. parameters:
  3823. - description: token
  3824. in: header
  3825. name: token
  3826. required: true
  3827. type: string
  3828. - description: 小区id
  3829. in: query
  3830. name: garden_id
  3831. required: true
  3832. type: integer
  3833. - description: 车位id
  3834. in: query
  3835. name: space_id
  3836. required: true
  3837. type: integer
  3838. produces:
  3839. - application/json
  3840. responses:
  3841. "200":
  3842. description: OK
  3843. schema:
  3844. $ref: '#/definitions/v1.ChargeSpaceMonthInfoResponse'
  3845. "500":
  3846. description: Internal Server Error
  3847. schema:
  3848. $ref: '#/definitions/base.HTTPError'
  3849. summary: 预缴车位管理费前获取月数和赠送信息
  3850. tags:
  3851. - 预缴
  3852. /api/v1/charge/months/vehicle:
  3853. get:
  3854. consumes:
  3855. - application/json
  3856. description: 预缴月租停车费前获取月数和赠送信息
  3857. parameters:
  3858. - description: token
  3859. in: header
  3860. name: token
  3861. required: true
  3862. type: string
  3863. - description: 小区id
  3864. in: query
  3865. name: garden_id
  3866. required: true
  3867. type: integer
  3868. - description: 车辆id
  3869. in: query
  3870. name: vehicle_id
  3871. required: true
  3872. type: integer
  3873. produces:
  3874. - application/json
  3875. responses:
  3876. "200":
  3877. description: OK
  3878. schema:
  3879. $ref: '#/definitions/v1.ChargeVehicleMonthInfoResponse'
  3880. "500":
  3881. description: Internal Server Error
  3882. schema:
  3883. $ref: '#/definitions/base.HTTPError'
  3884. summary: 预缴月租停车费前获取月数和赠送信息
  3885. tags:
  3886. - 预缴
  3887. /api/v1/charge/obj_charge/charge_list:
  3888. get:
  3889. consumes:
  3890. - application/json
  3891. description: 查看对象下的费项
  3892. parameters:
  3893. - description: token
  3894. in: header
  3895. name: token
  3896. required: true
  3897. type: string
  3898. - description: 房屋/车位/车辆id
  3899. in: query
  3900. name: obj_id
  3901. required: true
  3902. type: integer
  3903. - description: '1 房屋 2 车位 3 车辆 '
  3904. in: query
  3905. name: obj_type
  3906. required: true
  3907. type: integer
  3908. - description: 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他
  3909. in: query
  3910. name: charge_type
  3911. required: true
  3912. type: integer
  3913. - description: ' '
  3914. in: query
  3915. name: page
  3916. type: integer
  3917. - description: ' '
  3918. in: query
  3919. name: page_size
  3920. type: integer
  3921. produces:
  3922. - application/json
  3923. responses:
  3924. "200":
  3925. description: OK
  3926. schema:
  3927. $ref: '#/definitions/v1.ChargeListResponse'
  3928. "500":
  3929. description: Internal Server Error
  3930. schema:
  3931. $ref: '#/definitions/base.HTTPError'
  3932. summary: 查看对象下的费项
  3933. tags:
  3934. - 预缴
  3935. /api/v1/charge/order/cancel:
  3936. put:
  3937. consumes:
  3938. - application/json
  3939. description: 取消支付
  3940. parameters:
  3941. - description: token
  3942. in: header
  3943. name: token
  3944. required: true
  3945. type: string
  3946. - description: ' '
  3947. in: body
  3948. name: body
  3949. required: true
  3950. schema:
  3951. $ref: '#/definitions/v1.ChargeOrderCancelBody'
  3952. produces:
  3953. - application/json
  3954. responses:
  3955. "200":
  3956. description: OK
  3957. schema:
  3958. $ref: '#/definitions/v1.ChargeOrderCancelResponse'
  3959. "500":
  3960. description: Internal Server Error
  3961. schema:
  3962. $ref: '#/definitions/base.HTTPError'
  3963. summary: 取消支付
  3964. tags:
  3965. - 取消支付
  3966. /api/v1/charge/order/info:
  3967. get:
  3968. consumes:
  3969. - application/json
  3970. description: 未支付订单的订单详情
  3971. parameters:
  3972. - description: token
  3973. in: header
  3974. name: token
  3975. required: true
  3976. type: string
  3977. - description: 小区id
  3978. in: query
  3979. name: garden_id
  3980. required: true
  3981. type: integer
  3982. - description: 订单详情
  3983. in: query
  3984. name: order_id
  3985. required: true
  3986. type: string
  3987. produces:
  3988. - application/json
  3989. responses:
  3990. "200":
  3991. description: OK
  3992. schema:
  3993. $ref: '#/definitions/v1.ChargeOrderInfoResponse'
  3994. "500":
  3995. description: Internal Server Error
  3996. schema:
  3997. $ref: '#/definitions/base.HTTPError'
  3998. summary: 未支付订单的订单详情
  3999. tags:
  4000. - 生活缴费
  4001. /api/v1/charge/order/list:
  4002. get:
  4003. consumes:
  4004. - application/json
  4005. description: 未支付订单列表
  4006. parameters:
  4007. - description: token
  4008. in: header
  4009. name: token
  4010. required: true
  4011. type: string
  4012. - description: ' '
  4013. in: query
  4014. name: page
  4015. type: integer
  4016. - description: ' '
  4017. in: query
  4018. name: page_size
  4019. type: integer
  4020. - description: 小区id
  4021. in: query
  4022. name: garden_id
  4023. required: true
  4024. type: integer
  4025. produces:
  4026. - application/json
  4027. responses:
  4028. "200":
  4029. description: OK
  4030. schema:
  4031. $ref: '#/definitions/v1.ChargeOrderListResponse'
  4032. "500":
  4033. description: Internal Server Error
  4034. schema:
  4035. $ref: '#/definitions/base.HTTPError'
  4036. summary: 未支付订单列表
  4037. tags:
  4038. - 生活缴费
  4039. /api/v1/charge/pay:
  4040. put:
  4041. consumes:
  4042. - application/json
  4043. description: 欠费线上缴费
  4044. parameters:
  4045. - description: token
  4046. in: header
  4047. name: token
  4048. required: true
  4049. type: string
  4050. - description: ' '
  4051. in: body
  4052. name: body
  4053. required: true
  4054. schema:
  4055. $ref: '#/definitions/v1.ChargeBillPayByHouseholdBody'
  4056. produces:
  4057. - application/json
  4058. responses:
  4059. "200":
  4060. description: OK
  4061. schema:
  4062. $ref: '#/definitions/v1.ChargeBillPayByHouseholdResponse'
  4063. "500":
  4064. description: Internal Server Error
  4065. schema:
  4066. $ref: '#/definitions/base.HTTPError'
  4067. summary: 欠费线上缴费
  4068. tags:
  4069. - 生活缴费
  4070. /api/v1/charge/pay_test:
  4071. put:
  4072. consumes:
  4073. - application/json
  4074. description: 支付测试
  4075. parameters:
  4076. - description: token
  4077. in: header
  4078. name: token
  4079. required: true
  4080. type: string
  4081. - description: ' '
  4082. in: body
  4083. name: body
  4084. required: true
  4085. schema:
  4086. $ref: '#/definitions/v1.ChargeWxPayTestBody'
  4087. produces:
  4088. - application/json
  4089. responses:
  4090. "200":
  4091. description: OK
  4092. schema:
  4093. $ref: '#/definitions/v1.ChargeWxPayTestResponse'
  4094. "500":
  4095. description: Internal Server Error
  4096. schema:
  4097. $ref: '#/definitions/base.HTTPError'
  4098. summary: 支付测试
  4099. tags:
  4100. - 支付测试
  4101. /api/v1/charge/payed_bill_list:
  4102. get:
  4103. consumes:
  4104. - application/json
  4105. description: 已缴费的账单列表
  4106. parameters:
  4107. - description: token
  4108. in: header
  4109. name: token
  4110. required: true
  4111. type: string
  4112. - description: 小区id
  4113. in: query
  4114. name: garden_id
  4115. required: true
  4116. type: integer
  4117. - description: 房屋id
  4118. in: query
  4119. name: house_id
  4120. required: true
  4121. type: integer
  4122. - description: 支付时间
  4123. in: query
  4124. name: pay_time
  4125. type: integer
  4126. - description: ' '
  4127. in: query
  4128. name: page
  4129. type: integer
  4130. - description: ' '
  4131. in: query
  4132. name: page_size
  4133. type: integer
  4134. produces:
  4135. - application/json
  4136. responses:
  4137. "200":
  4138. description: OK
  4139. schema:
  4140. $ref: '#/definitions/v1.ChargeUnpayListResponse'
  4141. "500":
  4142. description: Internal Server Error
  4143. schema:
  4144. $ref: '#/definitions/base.HTTPError'
  4145. summary: 已缴费的账单列表
  4146. tags:
  4147. - 生活缴费
  4148. /api/v1/charge/pre_pay:
  4149. put:
  4150. consumes:
  4151. - application/json
  4152. description: 线上预缴物业费、停车费
  4153. parameters:
  4154. - description: token
  4155. in: header
  4156. name: token
  4157. required: true
  4158. type: string
  4159. - description: ' '
  4160. in: body
  4161. name: body
  4162. required: true
  4163. schema:
  4164. $ref: '#/definitions/v1.ChargePrePayByHouseholdBody'
  4165. produces:
  4166. - application/json
  4167. responses:
  4168. "200":
  4169. description: OK
  4170. schema:
  4171. $ref: '#/definitions/v1.ChargePrePayByHouseholdResponse'
  4172. "500":
  4173. description: Internal Server Error
  4174. schema:
  4175. $ref: '#/definitions/base.HTTPError'
  4176. summary: 线上预缴物业费、停车费
  4177. tags:
  4178. - 预缴
  4179. /api/v1/charge/pre_pay_info:
  4180. get:
  4181. consumes:
  4182. - application/json
  4183. description: 预缴物业费或车位费前获取对应的金额信息
  4184. parameters:
  4185. - description: token
  4186. in: header
  4187. name: token
  4188. required: true
  4189. type: string
  4190. - description: 小区id
  4191. in: query
  4192. name: garden_id
  4193. required: true
  4194. type: integer
  4195. - description: 关系id
  4196. in: query
  4197. name: bind_id
  4198. required: true
  4199. type: integer
  4200. - description: 缴费月数
  4201. in: query
  4202. name: months
  4203. required: true
  4204. type: integer
  4205. produces:
  4206. - application/json
  4207. responses:
  4208. "200":
  4209. description: OK
  4210. schema:
  4211. $ref: '#/definitions/v1.ChargePrePayInfoResponse'
  4212. "500":
  4213. description: Internal Server Error
  4214. schema:
  4215. $ref: '#/definitions/base.HTTPError'
  4216. summary: 预缴物业费或车位费前获取对应的金额信息
  4217. tags:
  4218. - 预缴
  4219. /api/v1/charge/unpay_list:
  4220. get:
  4221. consumes:
  4222. - application/json
  4223. description: 待缴费的费项列表
  4224. parameters:
  4225. - description: token
  4226. in: header
  4227. name: token
  4228. required: true
  4229. type: string
  4230. - description: 小区id
  4231. in: query
  4232. name: garden_id
  4233. required: true
  4234. type: integer
  4235. - description: 房屋id
  4236. in: query
  4237. name: house_id
  4238. required: true
  4239. type: integer
  4240. - description: ' '
  4241. in: query
  4242. name: page
  4243. type: integer
  4244. - description: ' '
  4245. in: query
  4246. name: page_size
  4247. type: integer
  4248. produces:
  4249. - application/json
  4250. responses:
  4251. "200":
  4252. description: OK
  4253. schema:
  4254. $ref: '#/definitions/v1.ChargeUnpayListResponse'
  4255. "500":
  4256. description: Internal Server Error
  4257. schema:
  4258. $ref: '#/definitions/base.HTTPError'
  4259. summary: 待缴费的费项列表
  4260. tags:
  4261. - 生活缴费
  4262. /api/v1/garden/building:
  4263. get:
  4264. consumes:
  4265. - application/json
  4266. description: 楼栋列表
  4267. parameters:
  4268. - description: token
  4269. in: header
  4270. name: token
  4271. required: true
  4272. type: string
  4273. - description: 小区id
  4274. in: query
  4275. name: garden_id
  4276. required: true
  4277. type: string
  4278. produces:
  4279. - application/json
  4280. responses:
  4281. "200":
  4282. description: OK
  4283. schema:
  4284. $ref: '#/definitions/v1.BuildingListResponse'
  4285. "500":
  4286. description: Internal Server Error
  4287. schema:
  4288. $ref: '#/definitions/base.HTTPError'
  4289. summary: 楼栋列表
  4290. tags:
  4291. - 小区
  4292. /api/v1/garden/buildings/manager:
  4293. get:
  4294. consumes:
  4295. - application/json
  4296. description: 楼栋管家列表
  4297. parameters:
  4298. - description: token
  4299. in: header
  4300. name: token
  4301. required: true
  4302. type: string
  4303. - description: 小区id 必填
  4304. in: query
  4305. name: garden_id
  4306. required: true
  4307. type: integer
  4308. - description: 房屋id 必填
  4309. in: query
  4310. name: house_id
  4311. required: true
  4312. type: integer
  4313. produces:
  4314. - application/json
  4315. responses:
  4316. "200":
  4317. description: OK
  4318. schema:
  4319. $ref: '#/definitions/v1.BuildingManagerListResponse'
  4320. "500":
  4321. description: Internal Server Error
  4322. schema:
  4323. $ref: '#/definitions/base.HTTPError'
  4324. summary: 楼栋管家列表
  4325. tags:
  4326. - 小区
  4327. /api/v1/garden/house:
  4328. get:
  4329. consumes:
  4330. - application/json
  4331. description: 房屋列表
  4332. parameters:
  4333. - description: token
  4334. in: header
  4335. name: token
  4336. required: true
  4337. type: string
  4338. - description: 单元id
  4339. in: query
  4340. name: unit_id
  4341. required: true
  4342. type: integer
  4343. - description: 小区id
  4344. in: query
  4345. name: garden_id
  4346. required: true
  4347. type: string
  4348. - description: true只返回还可以发布租房的房屋
  4349. in: query
  4350. name: house_rent
  4351. type: boolean
  4352. produces:
  4353. - application/json
  4354. responses:
  4355. "200":
  4356. description: OK
  4357. schema:
  4358. $ref: '#/definitions/v1.HouseListResponse'
  4359. "500":
  4360. description: Internal Server Error
  4361. schema:
  4362. $ref: '#/definitions/base.HTTPError'
  4363. summary: 房屋列表
  4364. tags:
  4365. - 小区
  4366. /api/v1/garden/info:
  4367. get:
  4368. consumes:
  4369. - application/json
  4370. description: 小区详情
  4371. parameters:
  4372. - description: ' '
  4373. in: header
  4374. name: token
  4375. required: true
  4376. type: string
  4377. - description: 小区id
  4378. in: query
  4379. name: garden_id
  4380. required: true
  4381. type: integer
  4382. produces:
  4383. - application/json
  4384. responses:
  4385. "200":
  4386. description: OK
  4387. schema:
  4388. $ref: '#/definitions/v1.GardenInfoResponse'
  4389. "500":
  4390. description: Internal Server Error
  4391. schema:
  4392. $ref: '#/definitions/base.HTTPError'
  4393. summary: 小区详情
  4394. tags:
  4395. - 小区
  4396. /api/v1/garden/list:
  4397. get:
  4398. consumes:
  4399. - application/json
  4400. description: 小区列表
  4401. parameters:
  4402. - description: ' '
  4403. in: header
  4404. name: token
  4405. required: true
  4406. type: string
  4407. - description: 省份代码
  4408. in: query
  4409. name: province_code
  4410. type: string
  4411. - description: 城市代码
  4412. in: query
  4413. name: city_code
  4414. type: string
  4415. - description: 区域代码
  4416. in: query
  4417. name: area_code
  4418. type: string
  4419. - description: 社区代码
  4420. in: query
  4421. name: committee_code
  4422. type: string
  4423. - description: 街道代码
  4424. in: query
  4425. name: street_code
  4426. type: string
  4427. - description: 小区名字
  4428. in: query
  4429. name: garden_name
  4430. type: string
  4431. - description: ' 1塔楼 2 板楼 3 塔板结合 4 其他'
  4432. in: query
  4433. name: building_type
  4434. type: integer
  4435. - description: ' 楼龄年份大于'
  4436. in: query
  4437. name: building_year_greater
  4438. type: integer
  4439. - description: ' 楼龄小于'
  4440. in: query
  4441. name: building_year_less
  4442. type: integer
  4443. - description: ' 均价大于'
  4444. in: query
  4445. name: price_greater
  4446. type: integer
  4447. - description: ' 均价小于'
  4448. in: query
  4449. name: price_less
  4450. type: integer
  4451. produces:
  4452. - application/json
  4453. responses:
  4454. "200":
  4455. description: OK
  4456. schema:
  4457. $ref: '#/definitions/v1.GardenListResponse'
  4458. "500":
  4459. description: Internal Server Error
  4460. schema:
  4461. $ref: '#/definitions/base.HTTPError'
  4462. summary: 小区列表
  4463. tags:
  4464. - 小区
  4465. /api/v1/garden/unit:
  4466. get:
  4467. consumes:
  4468. - application/json
  4469. description: 单元列表
  4470. parameters:
  4471. - description: token
  4472. in: header
  4473. name: token
  4474. required: true
  4475. type: string
  4476. - description: 楼栋id
  4477. in: query
  4478. name: building_id
  4479. required: true
  4480. type: integer
  4481. - description: 小区id
  4482. in: query
  4483. name: garden_id
  4484. required: true
  4485. type: string
  4486. produces:
  4487. - application/json
  4488. responses:
  4489. "200":
  4490. description: OK
  4491. schema:
  4492. $ref: '#/definitions/v1.UnitListResponse'
  4493. "500":
  4494. description: Internal Server Error
  4495. schema:
  4496. $ref: '#/definitions/base.HTTPError'
  4497. summary: 单元列表
  4498. tags:
  4499. - 小区
  4500. /api/v1/gate:
  4501. get:
  4502. consumes:
  4503. - application/json
  4504. description: 门禁列表
  4505. parameters:
  4506. - description: ' '
  4507. in: header
  4508. name: token
  4509. required: true
  4510. type: string
  4511. - description: 小区id
  4512. in: query
  4513. name: garden_id
  4514. required: true
  4515. type: integer
  4516. produces:
  4517. - application/json
  4518. responses:
  4519. "200":
  4520. description: OK
  4521. schema:
  4522. $ref: '#/definitions/v1.GateListResponse'
  4523. "500":
  4524. description: Internal Server Error
  4525. schema:
  4526. $ref: '#/definitions/base.HTTPError'
  4527. summary: 门禁列表
  4528. tags:
  4529. - 门禁
  4530. /api/v1/gate/face:
  4531. get:
  4532. consumes:
  4533. - application/json
  4534. description: 人脸信息
  4535. parameters:
  4536. - description: ' '
  4537. in: header
  4538. name: token
  4539. required: true
  4540. type: string
  4541. - description: 小区id
  4542. in: query
  4543. name: garden_id
  4544. required: true
  4545. type: integer
  4546. produces:
  4547. - application/json
  4548. responses:
  4549. "200":
  4550. description: OK
  4551. schema:
  4552. $ref: '#/definitions/v1.GateUserPicInfoResponse'
  4553. "500":
  4554. description: Internal Server Error
  4555. schema:
  4556. $ref: '#/definitions/base.HTTPError'
  4557. summary: 人脸信息
  4558. tags:
  4559. - 门禁
  4560. post:
  4561. consumes:
  4562. - application/json
  4563. description: 录入人脸
  4564. parameters:
  4565. - description: ' '
  4566. in: header
  4567. name: token
  4568. required: true
  4569. type: string
  4570. - description: ' '
  4571. in: body
  4572. name: body
  4573. required: true
  4574. schema:
  4575. $ref: '#/definitions/v1.GateUserPicAddBody'
  4576. produces:
  4577. - application/json
  4578. responses:
  4579. "200":
  4580. description: OK
  4581. schema:
  4582. $ref: '#/definitions/v1.GateUserPicAddResponse'
  4583. "500":
  4584. description: Internal Server Error
  4585. schema:
  4586. $ref: '#/definitions/base.HTTPError'
  4587. summary: 录入人脸
  4588. tags:
  4589. - 门禁
  4590. /api/v1/gate/has_face_device:
  4591. get:
  4592. consumes:
  4593. - application/json
  4594. description: 是否有人脸设备
  4595. parameters:
  4596. - description: ' '
  4597. in: header
  4598. name: token
  4599. required: true
  4600. type: string
  4601. - description: 小区id
  4602. in: query
  4603. name: garden_id
  4604. required: true
  4605. type: integer
  4606. produces:
  4607. - application/json
  4608. responses:
  4609. "200":
  4610. description: OK
  4611. schema:
  4612. $ref: '#/definitions/v1.GateHasFaceResponse'
  4613. "500":
  4614. description: Internal Server Error
  4615. schema:
  4616. $ref: '#/definitions/base.HTTPError'
  4617. summary: 是否有人脸设备
  4618. tags:
  4619. - 门禁
  4620. /api/v1/gate/qcode:
  4621. get:
  4622. consumes:
  4623. - application/json
  4624. description: 门禁二维码
  4625. parameters:
  4626. - description: ' '
  4627. in: header
  4628. name: token
  4629. required: true
  4630. type: string
  4631. - description: 小区id
  4632. in: query
  4633. name: garden_id
  4634. required: true
  4635. type: integer
  4636. produces:
  4637. - application/json
  4638. responses:
  4639. "200":
  4640. description: OK
  4641. schema:
  4642. $ref: '#/definitions/v1.GateQcodeResponse'
  4643. "500":
  4644. description: Internal Server Error
  4645. schema:
  4646. $ref: '#/definitions/base.HTTPError'
  4647. summary: 门禁二维码
  4648. tags:
  4649. - 门禁
  4650. /api/v1/gate/qcode_visitor:
  4651. get:
  4652. consumes:
  4653. - application/json
  4654. description: 门禁访客邀约二维码
  4655. parameters:
  4656. - description: ' '
  4657. in: header
  4658. name: token
  4659. required: true
  4660. type: string
  4661. - description: 设备id
  4662. in: query
  4663. name: device_id
  4664. required: true
  4665. type: integer
  4666. - description: 小区id
  4667. in: query
  4668. name: garden_id
  4669. required: true
  4670. type: integer
  4671. - description: 开始时间戳
  4672. in: query
  4673. name: start
  4674. required: true
  4675. type: integer
  4676. - description: 截止时间戳
  4677. in: query
  4678. name: end
  4679. required: true
  4680. type: integer
  4681. - description: 访客姓名
  4682. in: query
  4683. name: visitor_name
  4684. required: true
  4685. type: string
  4686. - description: 访客联系方式
  4687. in: query
  4688. name: visitor_phone
  4689. required: true
  4690. type: string
  4691. - description: 访问是由
  4692. in: query
  4693. name: comment
  4694. required: true
  4695. type: string
  4696. produces:
  4697. - application/json
  4698. responses:
  4699. "200":
  4700. description: OK
  4701. schema:
  4702. $ref: '#/definitions/v1.GateQcodeVisitorResponse'
  4703. "500":
  4704. description: Internal Server Error
  4705. schema:
  4706. $ref: '#/definitions/base.HTTPError'
  4707. summary: 门禁访客邀约二维码
  4708. tags:
  4709. - 门禁
  4710. /api/v1/gate/visitor:
  4711. delete:
  4712. consumes:
  4713. - application/json
  4714. description: 删除访客记录
  4715. parameters:
  4716. - description: ' '
  4717. in: header
  4718. name: token
  4719. required: true
  4720. type: string
  4721. - description: ' 记录id'
  4722. in: query
  4723. name: id
  4724. required: true
  4725. type: integer
  4726. produces:
  4727. - application/json
  4728. responses:
  4729. "200":
  4730. description: OK
  4731. schema:
  4732. $ref: '#/definitions/v1.GateVisitorDelResponse'
  4733. "500":
  4734. description: Internal Server Error
  4735. schema:
  4736. $ref: '#/definitions/base.HTTPError'
  4737. summary: 删除访客记录
  4738. tags:
  4739. - 门禁
  4740. get:
  4741. consumes:
  4742. - application/json
  4743. description: 我的邀约
  4744. parameters:
  4745. - description: ' '
  4746. in: header
  4747. name: token
  4748. required: true
  4749. type: string
  4750. - description: ' '
  4751. in: query
  4752. name: page
  4753. type: integer
  4754. - description: ' '
  4755. in: query
  4756. name: page_size
  4757. type: integer
  4758. - description: 门禁id选填
  4759. in: query
  4760. name: gate_id
  4761. type: integer
  4762. produces:
  4763. - application/json
  4764. responses:
  4765. "200":
  4766. description: OK
  4767. schema:
  4768. $ref: '#/definitions/v1.GateVisitorListResponse'
  4769. "500":
  4770. description: Internal Server Error
  4771. schema:
  4772. $ref: '#/definitions/base.HTTPError'
  4773. summary: 我的邀约
  4774. tags:
  4775. - 门禁
  4776. /api/v1/gate/visitor/share:
  4777. get:
  4778. consumes:
  4779. - application/json
  4780. description: 访客获取到的分享页面
  4781. parameters:
  4782. - description: ' 访客邀约记录id'
  4783. in: query
  4784. name: id
  4785. required: true
  4786. type: integer
  4787. produces:
  4788. - application/json
  4789. responses:
  4790. "200":
  4791. description: OK
  4792. schema:
  4793. $ref: '#/definitions/v1.GateVisitorPageResponse'
  4794. "500":
  4795. description: Internal Server Error
  4796. schema:
  4797. $ref: '#/definitions/base.HTTPError'
  4798. summary: 访客获取到的分享页面
  4799. tags:
  4800. - 门禁
  4801. /api/v1/household/apply:
  4802. post:
  4803. consumes:
  4804. - application/json
  4805. description: 房屋认证申请
  4806. parameters:
  4807. - description: ' '
  4808. in: header
  4809. name: token
  4810. required: true
  4811. type: string
  4812. - description: 信息
  4813. in: body
  4814. name: body
  4815. required: true
  4816. schema:
  4817. $ref: '#/definitions/v1.HouseholdApplyBody'
  4818. produces:
  4819. - application/json
  4820. responses:
  4821. "200":
  4822. description: OK
  4823. schema:
  4824. $ref: '#/definitions/v1.HouseholdApplyResponse'
  4825. "500":
  4826. description: Internal Server Error
  4827. schema:
  4828. $ref: '#/definitions/base.HTTPError'
  4829. summary: 房屋认证申请
  4830. tags:
  4831. - 业主房屋
  4832. /api/v1/household/house:
  4833. delete:
  4834. consumes:
  4835. - application/json
  4836. description: 解绑房屋
  4837. parameters:
  4838. - description: ' '
  4839. in: header
  4840. name: token
  4841. required: true
  4842. type: string
  4843. - description: ' '
  4844. in: query
  4845. name: garden_id
  4846. required: true
  4847. type: integer
  4848. - description: ' '
  4849. in: query
  4850. name: house_id
  4851. required: true
  4852. type: integer
  4853. produces:
  4854. - application/json
  4855. responses:
  4856. "200":
  4857. description: OK
  4858. schema:
  4859. $ref: '#/definitions/v1.HouseholdListResponse'
  4860. "500":
  4861. description: Internal Server Error
  4862. schema:
  4863. $ref: '#/definitions/base.HTTPError'
  4864. summary: 解绑房屋
  4865. tags:
  4866. - 业主房屋
  4867. get:
  4868. consumes:
  4869. - application/json
  4870. description: 房屋列表
  4871. parameters:
  4872. - description: ' '
  4873. in: header
  4874. name: token
  4875. required: true
  4876. type: string
  4877. - description: 1 待审核 2 通过审核 3 未通过审核
  4878. in: query
  4879. name: approve_status
  4880. required: true
  4881. type: integer
  4882. produces:
  4883. - application/json
  4884. responses:
  4885. "200":
  4886. description: OK
  4887. schema:
  4888. $ref: '#/definitions/v1.HouseholdListResponse'
  4889. "500":
  4890. description: Internal Server Error
  4891. schema:
  4892. $ref: '#/definitions/base.HTTPError'
  4893. summary: 房屋列表
  4894. tags:
  4895. - 业主房屋
  4896. /api/v1/material/info:
  4897. get:
  4898. consumes:
  4899. - application/json
  4900. description: 获取单个素材
  4901. parameters:
  4902. - description: ' '
  4903. in: header
  4904. name: token
  4905. required: true
  4906. type: string
  4907. - description: 素材类型
  4908. in: query
  4909. name: mtype
  4910. required: true
  4911. type: integer
  4912. produces:
  4913. - application/json
  4914. responses:
  4915. "200":
  4916. description: OK
  4917. schema:
  4918. $ref: '#/definitions/v1.MaterialInfoResponse'
  4919. "500":
  4920. description: Internal Server Error
  4921. schema:
  4922. $ref: '#/definitions/base.HTTPError'
  4923. summary: 获取单个素材
  4924. tags:
  4925. - 素材
  4926. /api/v1/material/list:
  4927. get:
  4928. consumes:
  4929. - application/json
  4930. description: 根据类型获取素材列表
  4931. parameters:
  4932. - description: ' '
  4933. in: header
  4934. name: token
  4935. required: true
  4936. type: string
  4937. - description: 类型,多个类型以逗号分隔
  4938. in: query
  4939. name: mtypes
  4940. required: true
  4941. type: string
  4942. produces:
  4943. - application/json
  4944. responses:
  4945. "200":
  4946. description: OK
  4947. schema:
  4948. $ref: '#/definitions/v1.MaterialListResponse'
  4949. "500":
  4950. description: Internal Server Error
  4951. schema:
  4952. $ref: '#/definitions/base.HTTPError'
  4953. summary: 根据类型获取素材列表
  4954. tags:
  4955. - 素材
  4956. /api/v1/openim_upload:
  4957. post:
  4958. consumes:
  4959. - application/json
  4960. description: 上传文件(openim聊天专用)
  4961. parameters:
  4962. - description: jwt token
  4963. in: header
  4964. name: token
  4965. required: true
  4966. type: string
  4967. - description: file
  4968. in: formData
  4969. name: file
  4970. type: file
  4971. produces:
  4972. - application/json
  4973. responses:
  4974. "200":
  4975. description: OK
  4976. schema:
  4977. $ref: '#/definitions/v1.UploadResponse'
  4978. "500":
  4979. description: Internal Server Error
  4980. schema:
  4981. $ref: '#/definitions/base.HTTPError'
  4982. summary: 上传文件(openim聊天专用)
  4983. tags:
  4984. - upload
  4985. /api/v1/rent/garden_info:
  4986. get:
  4987. consumes:
  4988. - application/json
  4989. description: 均价,已租已售数
  4990. parameters:
  4991. - description: token
  4992. in: header
  4993. name: token
  4994. required: true
  4995. type: string
  4996. - description: ' 小区id'
  4997. in: query
  4998. name: garden_id
  4999. required: true
  5000. type: integer
  5001. - description: 我发布的
  5002. in: query
  5003. name: is_me
  5004. type: boolean
  5005. produces:
  5006. - application/json
  5007. responses:
  5008. "200":
  5009. description: OK
  5010. schema:
  5011. $ref: '#/definitions/v1.GardenHouseRentInfoResponse'
  5012. "500":
  5013. description: Internal Server Error
  5014. schema:
  5015. $ref: '#/definitions/base.HTTPError'
  5016. summary: 均价,已租已售数
  5017. tags:
  5018. - 房屋租赁
  5019. /api/v1/rent/house:
  5020. get:
  5021. consumes:
  5022. - application/json
  5023. description: 租房列表
  5024. parameters:
  5025. - description: token
  5026. in: header
  5027. name: token
  5028. required: true
  5029. type: string
  5030. - description: 省份代码
  5031. in: query
  5032. name: province_code
  5033. type: string
  5034. - description: 城市代码
  5035. in: query
  5036. name: city_code
  5037. type: string
  5038. - description: 区域代码
  5039. in: query
  5040. name: area_code
  5041. type: string
  5042. - description: 街道代码
  5043. in: query
  5044. name: street_code
  5045. type: string
  5046. - description: 几室
  5047. in: query
  5048. name: room_count
  5049. type: integer
  5050. - description: 几厅
  5051. in: query
  5052. name: hall_count
  5053. type: integer
  5054. - description: 几卫
  5055. in: query
  5056. name: wc_count
  5057. type: integer
  5058. - description: 租金大于
  5059. in: query
  5060. name: rent_price_greater
  5061. type: string
  5062. - description: 租金小于
  5063. in: query
  5064. name: rent_price_less
  5065. type: string
  5066. - description: 审核状态 0 不过滤 1 待审核 2 通过 3 未通过
  5067. in: query
  5068. name: approve_status
  5069. type: integer
  5070. - description: ' '
  5071. in: query
  5072. name: page
  5073. type: integer
  5074. - description: ' '
  5075. in: query
  5076. name: page_size
  5077. type: integer
  5078. - description: 从低bit到高bit分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机
  5079. in: query
  5080. name: base_conf
  5081. type: integer
  5082. - description: 从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租
  5083. in: query
  5084. name: special_conf
  5085. type: integer
  5086. - description: ' 小区id'
  5087. in: query
  5088. name: garden_id
  5089. type: integer
  5090. - description: ' 小区名字'
  5091. in: query
  5092. name: garden_name
  5093. type: string
  5094. - description: ' 1塔楼 2 板楼 3 塔板结合 4 其他'
  5095. in: query
  5096. name: building_type
  5097. type: integer
  5098. - description: ' 楼龄年份大于'
  5099. in: query
  5100. name: building_year_greater
  5101. type: integer
  5102. - description: ' 楼龄小于'
  5103. in: query
  5104. name: building_year_less
  5105. type: integer
  5106. - description: 我发布的
  5107. in: query
  5108. name: is_me
  5109. type: boolean
  5110. produces:
  5111. - application/json
  5112. responses:
  5113. "200":
  5114. description: OK
  5115. schema:
  5116. $ref: '#/definitions/v1.HouseRentListResponse'
  5117. "500":
  5118. description: Internal Server Error
  5119. schema:
  5120. $ref: '#/definitions/base.HTTPError'
  5121. summary: 租房列表
  5122. tags:
  5123. - 房屋租赁
  5124. post:
  5125. consumes:
  5126. - application/json
  5127. description: 发布房源
  5128. parameters:
  5129. - description: token
  5130. in: header
  5131. name: token
  5132. required: true
  5133. type: string
  5134. - description: ' '
  5135. in: body
  5136. name: body
  5137. required: true
  5138. schema:
  5139. $ref: '#/definitions/v1.HouseRentApplyBody'
  5140. produces:
  5141. - application/json
  5142. responses:
  5143. "200":
  5144. description: OK
  5145. schema:
  5146. $ref: '#/definitions/v1.HouseRentApplyResponse'
  5147. "500":
  5148. description: Internal Server Error
  5149. schema:
  5150. $ref: '#/definitions/base.HTTPError'
  5151. summary: 发布房源
  5152. tags:
  5153. - 房屋租赁
  5154. put:
  5155. consumes:
  5156. - application/json
  5157. description: 修改信息
  5158. parameters:
  5159. - description: token
  5160. in: header
  5161. name: token
  5162. required: true
  5163. type: string
  5164. - description: ' '
  5165. in: body
  5166. name: body
  5167. required: true
  5168. schema:
  5169. $ref: '#/definitions/v1.HouseRentUpdateBody'
  5170. produces:
  5171. - application/json
  5172. responses:
  5173. "200":
  5174. description: OK
  5175. schema:
  5176. $ref: '#/definitions/v1.HouseRentUpdateResponse'
  5177. "500":
  5178. description: Internal Server Error
  5179. schema:
  5180. $ref: '#/definitions/base.HTTPError'
  5181. summary: 修改信息
  5182. tags:
  5183. - 房屋租赁
  5184. /api/v1/rent/house/appointment:
  5185. delete:
  5186. consumes:
  5187. - application/json
  5188. description: 删除租房预约记录
  5189. parameters:
  5190. - description: token
  5191. in: header
  5192. name: token
  5193. required: true
  5194. type: string
  5195. - description: 记录id
  5196. in: query
  5197. name: id
  5198. required: true
  5199. type: integer
  5200. produces:
  5201. - application/json
  5202. responses:
  5203. "200":
  5204. description: OK
  5205. schema:
  5206. $ref: '#/definitions/v1.HouseRentAppointmentDelResponse'
  5207. "500":
  5208. description: Internal Server Error
  5209. schema:
  5210. $ref: '#/definitions/base.HTTPError'
  5211. summary: 删除租房预约记录
  5212. tags:
  5213. - 房屋租赁
  5214. get:
  5215. consumes:
  5216. - application/json
  5217. description: 租房预约记录
  5218. parameters:
  5219. - description: token
  5220. in: header
  5221. name: token
  5222. required: true
  5223. type: string
  5224. - description: ' '
  5225. in: query
  5226. name: page
  5227. type: integer
  5228. - description: ' '
  5229. in: query
  5230. name: page_size
  5231. type: integer
  5232. produces:
  5233. - application/json
  5234. responses:
  5235. "200":
  5236. description: OK
  5237. schema:
  5238. $ref: '#/definitions/v1.HouseRentAppointmentListResponse'
  5239. "500":
  5240. description: Internal Server Error
  5241. schema:
  5242. $ref: '#/definitions/base.HTTPError'
  5243. summary: 租房预约记录
  5244. tags:
  5245. - 房屋租赁
  5246. post:
  5247. consumes:
  5248. - application/json
  5249. description: 租房预约看房
  5250. parameters:
  5251. - description: token
  5252. in: header
  5253. name: token
  5254. required: true
  5255. type: string
  5256. - description: ' '
  5257. in: body
  5258. name: body
  5259. required: true
  5260. schema:
  5261. $ref: '#/definitions/v1.HouseRentAppointmentAddBody'
  5262. produces:
  5263. - application/json
  5264. responses:
  5265. "200":
  5266. description: OK
  5267. schema:
  5268. $ref: '#/definitions/v1.HouseRentAppointmentListResponse'
  5269. "500":
  5270. description: Internal Server Error
  5271. schema:
  5272. $ref: '#/definitions/base.HTTPError'
  5273. summary: 租房预约看房
  5274. tags:
  5275. - 房屋租赁
  5276. /api/v1/rent/house/down:
  5277. put:
  5278. consumes:
  5279. - application/json
  5280. description: 下架
  5281. parameters:
  5282. - description: token
  5283. in: header
  5284. name: token
  5285. required: true
  5286. type: string
  5287. - description: ' '
  5288. in: body
  5289. name: body
  5290. required: true
  5291. schema:
  5292. $ref: '#/definitions/v1.HouseRentDownBody'
  5293. produces:
  5294. - application/json
  5295. responses:
  5296. "200":
  5297. description: OK
  5298. schema:
  5299. $ref: '#/definitions/v1.HouseRentDownResponse'
  5300. "500":
  5301. description: Internal Server Error
  5302. schema:
  5303. $ref: '#/definitions/base.HTTPError'
  5304. summary: 下架
  5305. tags:
  5306. - 房屋租赁
  5307. /api/v1/rent/house/manager:
  5308. get:
  5309. consumes:
  5310. - application/json
  5311. description: 房屋的经纪人列表
  5312. parameters:
  5313. - description: token
  5314. in: header
  5315. name: token
  5316. required: true
  5317. type: string
  5318. - description: 租房信息id
  5319. in: query
  5320. name: rent_id
  5321. required: true
  5322. type: integer
  5323. - description: 小区id
  5324. in: query
  5325. name: garden_id
  5326. required: true
  5327. type: integer
  5328. produces:
  5329. - application/json
  5330. responses:
  5331. "200":
  5332. description: OK
  5333. schema:
  5334. $ref: '#/definitions/v1.HouseRentManagerListResponse'
  5335. "500":
  5336. description: Internal Server Error
  5337. schema:
  5338. $ref: '#/definitions/base.HTTPError'
  5339. summary: 房屋的经纪人列表
  5340. tags:
  5341. - 房屋租赁
  5342. /api/v1/repair/class:
  5343. get:
  5344. consumes:
  5345. - application/json
  5346. description: 分类列表
  5347. parameters:
  5348. - description: token
  5349. in: header
  5350. name: token
  5351. required: true
  5352. type: string
  5353. - description: ' '
  5354. in: query
  5355. name: page
  5356. type: integer
  5357. - description: ' '
  5358. in: query
  5359. name: page_size
  5360. type: integer
  5361. - description: ' '
  5362. in: query
  5363. name: garden_id
  5364. required: true
  5365. type: integer
  5366. - description: ' 1 公区 2 室内'
  5367. in: query
  5368. name: area
  5369. type: integer
  5370. produces:
  5371. - application/json
  5372. responses:
  5373. "200":
  5374. description: OK
  5375. schema:
  5376. $ref: '#/definitions/v1.RepairClassListResponse'
  5377. "500":
  5378. description: Internal Server Error
  5379. schema:
  5380. $ref: '#/definitions/base.HTTPError'
  5381. summary: 分类列表
  5382. tags:
  5383. - 报事报修
  5384. /api/v1/repair/order:
  5385. get:
  5386. consumes:
  5387. - application/json
  5388. description: 工单列表
  5389. parameters:
  5390. - description: token
  5391. in: header
  5392. name: token
  5393. required: true
  5394. type: string
  5395. - description: ' '
  5396. in: query
  5397. name: page
  5398. type: integer
  5399. - description: ' '
  5400. in: query
  5401. name: page_size
  5402. type: integer
  5403. - description: ' 1未派单 2 已派单 3 已完结 '
  5404. in: query
  5405. name: status
  5406. type: integer
  5407. - description: 报修人
  5408. in: query
  5409. name: apply_people
  5410. type: string
  5411. - description: 报修人电话
  5412. in: query
  5413. name: apply_people_phone
  5414. type: string
  5415. - description: ' '
  5416. in: query
  5417. name: garden_id
  5418. required: true
  5419. type: integer
  5420. - description: 分类id
  5421. in: query
  5422. name: class_id
  5423. type: integer
  5424. produces:
  5425. - application/json
  5426. responses:
  5427. "200":
  5428. description: OK
  5429. schema:
  5430. $ref: '#/definitions/v1.RepairOrderListResponse'
  5431. "500":
  5432. description: Internal Server Error
  5433. schema:
  5434. $ref: '#/definitions/base.HTTPError'
  5435. summary: 工单列表
  5436. tags:
  5437. - 报事报修
  5438. post:
  5439. consumes:
  5440. - application/json
  5441. description: 新增工单
  5442. parameters:
  5443. - description: token
  5444. in: header
  5445. name: token
  5446. required: true
  5447. type: string
  5448. - description: 信息
  5449. in: body
  5450. name: body
  5451. required: true
  5452. schema:
  5453. $ref: '#/definitions/v1.RepairOrderAddBody'
  5454. produces:
  5455. - application/json
  5456. responses:
  5457. "200":
  5458. description: OK
  5459. schema:
  5460. $ref: '#/definitions/v1.RepairOrderAddResponse'
  5461. "500":
  5462. description: Internal Server Error
  5463. schema:
  5464. $ref: '#/definitions/base.HTTPError'
  5465. summary: 新增工单
  5466. tags:
  5467. - 报事报修
  5468. put:
  5469. consumes:
  5470. - application/json
  5471. description: 修改工单
  5472. parameters:
  5473. - description: token
  5474. in: header
  5475. name: token
  5476. required: true
  5477. type: string
  5478. - description: 信息
  5479. in: body
  5480. name: body
  5481. required: true
  5482. schema:
  5483. $ref: '#/definitions/v1.RepairOrderUpdateBody'
  5484. produces:
  5485. - application/json
  5486. responses:
  5487. "200":
  5488. description: OK
  5489. schema:
  5490. $ref: '#/definitions/v1.RepairOrderUpdateResponse'
  5491. "500":
  5492. description: Internal Server Error
  5493. schema:
  5494. $ref: '#/definitions/base.HTTPError'
  5495. summary: 修改工单
  5496. tags:
  5497. - 报事报修
  5498. /api/v1/repair/order/info:
  5499. get:
  5500. consumes:
  5501. - application/json
  5502. description: 工单详情
  5503. parameters:
  5504. - description: token
  5505. in: header
  5506. name: token
  5507. required: true
  5508. type: string
  5509. - description: ' '
  5510. in: query
  5511. name: id
  5512. required: true
  5513. type: integer
  5514. - description: ' '
  5515. in: query
  5516. name: garden_id
  5517. required: true
  5518. type: integer
  5519. produces:
  5520. - application/json
  5521. responses:
  5522. "200":
  5523. description: OK
  5524. schema:
  5525. $ref: '#/definitions/v1.RepairOrderInfoResponse'
  5526. "500":
  5527. description: Internal Server Error
  5528. schema:
  5529. $ref: '#/definitions/base.HTTPError'
  5530. summary: 工单详情
  5531. tags:
  5532. - 报事报修
  5533. /api/v1/repair/order/return_visit:
  5534. put:
  5535. consumes:
  5536. - application/json
  5537. description: 回访
  5538. parameters:
  5539. - description: token
  5540. in: header
  5541. name: token
  5542. required: true
  5543. type: string
  5544. - description: 信息
  5545. in: body
  5546. name: body
  5547. required: true
  5548. schema:
  5549. $ref: '#/definitions/v1.RepairOrderReturnVisitBody'
  5550. produces:
  5551. - application/json
  5552. responses:
  5553. "200":
  5554. description: OK
  5555. schema:
  5556. $ref: '#/definitions/v1.RepairOrderReturnVisitResponse'
  5557. "500":
  5558. description: Internal Server Error
  5559. schema:
  5560. $ref: '#/definitions/base.HTTPError'
  5561. summary: 回访
  5562. tags:
  5563. - 报事报修
  5564. /api/v1/service/announcement:
  5565. get:
  5566. consumes:
  5567. - application/json
  5568. description: 公告列表
  5569. parameters:
  5570. - description: token
  5571. in: header
  5572. name: token
  5573. required: true
  5574. type: string
  5575. - description: ' '
  5576. in: query
  5577. name: page
  5578. type: integer
  5579. - description: ' '
  5580. in: query
  5581. name: page_size
  5582. type: integer
  5583. - description: 小区id
  5584. in: query
  5585. name: garden_id
  5586. required: true
  5587. type: integer
  5588. produces:
  5589. - application/json
  5590. responses:
  5591. "200":
  5592. description: OK
  5593. schema:
  5594. $ref: '#/definitions/v1.AnnouncementListResponse'
  5595. "500":
  5596. description: Internal Server Error
  5597. schema:
  5598. $ref: '#/definitions/base.HTTPError'
  5599. summary: 公告列表
  5600. tags:
  5601. - 公告
  5602. /api/v1/service/announcement/read_count:
  5603. put:
  5604. consumes:
  5605. - application/json
  5606. description: 公告增加阅读次数
  5607. parameters:
  5608. - description: token
  5609. in: header
  5610. name: token
  5611. required: true
  5612. type: string
  5613. - description: ' '
  5614. in: query
  5615. name: page
  5616. type: integer
  5617. - description: ' '
  5618. in: query
  5619. name: page_size
  5620. type: integer
  5621. - description: 小区id
  5622. in: query
  5623. name: garden_id
  5624. required: true
  5625. type: integer
  5626. - description: 公告id
  5627. in: query
  5628. name: id
  5629. required: true
  5630. type: integer
  5631. produces:
  5632. - application/json
  5633. responses:
  5634. "200":
  5635. description: OK
  5636. schema:
  5637. $ref: '#/definitions/v1.AnnouncementReadAddResponse'
  5638. "500":
  5639. description: Internal Server Error
  5640. schema:
  5641. $ref: '#/definitions/base.HTTPError'
  5642. summary: 公告增加阅读次数
  5643. tags:
  5644. - 公告
  5645. /api/v1/service/event:
  5646. get:
  5647. consumes:
  5648. - application/json
  5649. description: 社区活动列表
  5650. parameters:
  5651. - description: token
  5652. in: header
  5653. name: token
  5654. required: true
  5655. type: string
  5656. - description: ' '
  5657. in: query
  5658. name: page
  5659. type: integer
  5660. - description: ' '
  5661. in: query
  5662. name: page_size
  5663. type: integer
  5664. - description: ' '
  5665. in: query
  5666. name: garden_id
  5667. required: true
  5668. type: integer
  5669. produces:
  5670. - application/json
  5671. responses:
  5672. "200":
  5673. description: OK
  5674. schema:
  5675. $ref: '#/definitions/v1.EventListResponse'
  5676. "500":
  5677. description: Internal Server Error
  5678. schema:
  5679. $ref: '#/definitions/base.HTTPError'
  5680. summary: 社区活动列表
  5681. tags:
  5682. - 社区活动
  5683. /api/v1/service/event/sign:
  5684. post:
  5685. consumes:
  5686. - application/json
  5687. description: 添加社区活动报名
  5688. parameters:
  5689. - description: token
  5690. in: header
  5691. name: token
  5692. required: true
  5693. type: string
  5694. - description: 信息
  5695. in: body
  5696. name: body
  5697. required: true
  5698. schema:
  5699. $ref: '#/definitions/v1.EventSignAddBody'
  5700. produces:
  5701. - application/json
  5702. responses:
  5703. "200":
  5704. description: OK
  5705. schema:
  5706. $ref: '#/definitions/v1.EventSignAddResponse'
  5707. "500":
  5708. description: Internal Server Error
  5709. schema:
  5710. $ref: '#/definitions/base.HTTPError'
  5711. summary: 社区活动报名
  5712. tags:
  5713. - 社区活动
  5714. /api/v1/service/neighbor/article:
  5715. delete:
  5716. consumes:
  5717. - application/json
  5718. description: 删除文章
  5719. parameters:
  5720. - description: token
  5721. in: header
  5722. name: token
  5723. required: true
  5724. type: string
  5725. - description: 小区id
  5726. in: query
  5727. name: garden_id
  5728. required: true
  5729. type: integer
  5730. - description: ' '
  5731. in: query
  5732. name: id
  5733. required: true
  5734. type: integer
  5735. produces:
  5736. - application/json
  5737. responses:
  5738. "200":
  5739. description: OK
  5740. schema:
  5741. $ref: '#/definitions/v1.NeighborArticleDelResponse'
  5742. "500":
  5743. description: Internal Server Error
  5744. schema:
  5745. $ref: '#/definitions/base.HTTPError'
  5746. summary: 删除文章
  5747. tags:
  5748. - 社区邻里
  5749. get:
  5750. consumes:
  5751. - application/json
  5752. description: 文章列表
  5753. parameters:
  5754. - description: token
  5755. in: header
  5756. name: token
  5757. required: true
  5758. type: string
  5759. - description: 小区id
  5760. in: query
  5761. name: garden_id
  5762. required: true
  5763. type: integer
  5764. - description: ' '
  5765. in: query
  5766. name: page
  5767. type: integer
  5768. - description: ' '
  5769. in: query
  5770. name: page_size
  5771. type: integer
  5772. - description: '文章标题 '
  5773. in: query
  5774. name: title
  5775. type: string
  5776. - description: 'true我发布的 false 不过滤 '
  5777. in: query
  5778. name: is_me
  5779. type: boolean
  5780. produces:
  5781. - application/json
  5782. responses:
  5783. "200":
  5784. description: OK
  5785. schema:
  5786. $ref: '#/definitions/v1.NeighborArticleListResponse'
  5787. "500":
  5788. description: Internal Server Error
  5789. schema:
  5790. $ref: '#/definitions/base.HTTPError'
  5791. summary: 文章列表
  5792. tags:
  5793. - 社区邻里
  5794. post:
  5795. consumes:
  5796. - application/json
  5797. description: 添加文章
  5798. parameters:
  5799. - description: token
  5800. in: header
  5801. name: token
  5802. required: true
  5803. type: string
  5804. - description: 信息
  5805. in: body
  5806. name: body
  5807. required: true
  5808. schema:
  5809. $ref: '#/definitions/v1.NeighborArticleAddBody'
  5810. produces:
  5811. - application/json
  5812. responses:
  5813. "200":
  5814. description: OK
  5815. schema:
  5816. $ref: '#/definitions/v1.NeighborArticleAddResponse'
  5817. "500":
  5818. description: Internal Server Error
  5819. schema:
  5820. $ref: '#/definitions/base.HTTPError'
  5821. summary: 添加文章
  5822. tags:
  5823. - 社区邻里
  5824. put:
  5825. consumes:
  5826. - application/json
  5827. description: 修改文章
  5828. parameters:
  5829. - description: token
  5830. in: header
  5831. name: token
  5832. required: true
  5833. type: string
  5834. - description: 信息
  5835. in: body
  5836. name: body
  5837. required: true
  5838. schema:
  5839. $ref: '#/definitions/v1.NeighborArticleUpdateBody'
  5840. produces:
  5841. - application/json
  5842. responses:
  5843. "200":
  5844. description: OK
  5845. schema:
  5846. $ref: '#/definitions/v1.NeighborArticleUpdateResponse'
  5847. "500":
  5848. description: Internal Server Error
  5849. schema:
  5850. $ref: '#/definitions/base.HTTPError'
  5851. summary: 修改文章
  5852. tags:
  5853. - 社区邻里
  5854. /api/v1/service/neighbor/class:
  5855. get:
  5856. consumes:
  5857. - application/json
  5858. description: 分类列表
  5859. parameters:
  5860. - description: token
  5861. in: header
  5862. name: token
  5863. required: true
  5864. type: string
  5865. - description: 小区id
  5866. in: query
  5867. name: garden_id
  5868. required: true
  5869. type: integer
  5870. - description: ' '
  5871. in: query
  5872. name: page
  5873. type: integer
  5874. - description: ' '
  5875. in: query
  5876. name: page_size
  5877. type: integer
  5878. - description: 分类名称
  5879. in: query
  5880. name: class_name
  5881. type: string
  5882. produces:
  5883. - application/json
  5884. responses:
  5885. "200":
  5886. description: OK
  5887. schema:
  5888. $ref: '#/definitions/v1.NeighborClassListResponse'
  5889. "500":
  5890. description: Internal Server Error
  5891. schema:
  5892. $ref: '#/definitions/base.HTTPError'
  5893. summary: 分类列表
  5894. tags:
  5895. - 社区邻里
  5896. /api/v1/service/neighbor/comment:
  5897. delete:
  5898. consumes:
  5899. - application/json
  5900. description: 删除评论
  5901. parameters:
  5902. - description: token
  5903. in: header
  5904. name: token
  5905. required: true
  5906. type: string
  5907. - description: 小区id
  5908. in: query
  5909. name: garden_id
  5910. required: true
  5911. type: integer
  5912. - description: ' '
  5913. in: query
  5914. name: id
  5915. required: true
  5916. type: integer
  5917. produces:
  5918. - application/json
  5919. responses:
  5920. "200":
  5921. description: OK
  5922. schema:
  5923. $ref: '#/definitions/v1.NeighborCommentDelResponse'
  5924. "500":
  5925. description: Internal Server Error
  5926. schema:
  5927. $ref: '#/definitions/base.HTTPError'
  5928. summary: 删除评论
  5929. tags:
  5930. - 社区邻里
  5931. get:
  5932. consumes:
  5933. - application/json
  5934. description: 评论列表
  5935. parameters:
  5936. - description: token
  5937. in: header
  5938. name: token
  5939. required: true
  5940. type: string
  5941. - description: 小区id
  5942. in: query
  5943. name: garden_id
  5944. required: true
  5945. type: integer
  5946. - description: ' '
  5947. in: query
  5948. name: page
  5949. type: integer
  5950. - description: ' '
  5951. in: query
  5952. name: page_size
  5953. type: integer
  5954. - description: 文章id
  5955. in: query
  5956. name: article_id
  5957. required: true
  5958. type: integer
  5959. - description: 父评论id
  5960. in: query
  5961. name: pid
  5962. type: integer
  5963. produces:
  5964. - application/json
  5965. responses:
  5966. "200":
  5967. description: OK
  5968. schema:
  5969. $ref: '#/definitions/v1.NeighborCommentListResponse'
  5970. "500":
  5971. description: Internal Server Error
  5972. schema:
  5973. $ref: '#/definitions/base.HTTPError'
  5974. summary: 评论列表
  5975. tags:
  5976. - 社区邻里
  5977. post:
  5978. consumes:
  5979. - application/json
  5980. description: 添加评论
  5981. parameters:
  5982. - description: token
  5983. in: header
  5984. name: token
  5985. required: true
  5986. type: string
  5987. - description: 信息
  5988. in: body
  5989. name: body
  5990. required: true
  5991. schema:
  5992. $ref: '#/definitions/v1.NeighborCommentAddBody'
  5993. produces:
  5994. - application/json
  5995. responses:
  5996. "200":
  5997. description: OK
  5998. schema:
  5999. $ref: '#/definitions/v1.NeighborCommentAddResponse'
  6000. "500":
  6001. description: Internal Server Error
  6002. schema:
  6003. $ref: '#/definitions/base.HTTPError'
  6004. summary: 添加评论
  6005. tags:
  6006. - 社区邻里
  6007. put:
  6008. consumes:
  6009. - application/json
  6010. description: 修改评论
  6011. parameters:
  6012. - description: token
  6013. in: header
  6014. name: token
  6015. required: true
  6016. type: string
  6017. - description: 信息
  6018. in: body
  6019. name: body
  6020. required: true
  6021. schema:
  6022. $ref: '#/definitions/v1.NeighborCommentUpdateBody'
  6023. produces:
  6024. - application/json
  6025. responses:
  6026. "200":
  6027. description: OK
  6028. schema:
  6029. $ref: '#/definitions/v1.NeighborCommentUpdateResponse'
  6030. "500":
  6031. description: Internal Server Error
  6032. schema:
  6033. $ref: '#/definitions/base.HTTPError'
  6034. summary: 修改评论
  6035. tags:
  6036. - 社区邻里
  6037. /api/v1/service/neighbor/like:
  6038. put:
  6039. consumes:
  6040. - application/json
  6041. description: 点赞或撤销点赞
  6042. parameters:
  6043. - description: token
  6044. in: header
  6045. name: token
  6046. required: true
  6047. type: string
  6048. - description: 信息
  6049. in: body
  6050. name: body
  6051. required: true
  6052. schema:
  6053. $ref: '#/definitions/v1.NeighborLikeBody'
  6054. produces:
  6055. - application/json
  6056. responses:
  6057. "200":
  6058. description: OK
  6059. schema:
  6060. $ref: '#/definitions/v1.NeighborLikeResponse'
  6061. "500":
  6062. description: Internal Server Error
  6063. schema:
  6064. $ref: '#/definitions/base.HTTPError'
  6065. summary: 点赞或撤销点赞
  6066. tags:
  6067. - 社区邻里
  6068. /api/v1/service/vote:
  6069. get:
  6070. consumes:
  6071. - application/json
  6072. description: 投票列表
  6073. parameters:
  6074. - description: token
  6075. in: header
  6076. name: token
  6077. required: true
  6078. type: string
  6079. - description: ' '
  6080. in: query
  6081. name: page
  6082. type: integer
  6083. - description: ' '
  6084. in: query
  6085. name: page_size
  6086. type: integer
  6087. - description: 投票标题
  6088. in: query
  6089. name: title
  6090. type: string
  6091. - description: 小区id
  6092. in: query
  6093. name: garden_id
  6094. required: true
  6095. type: integer
  6096. produces:
  6097. - application/json
  6098. responses:
  6099. "200":
  6100. description: OK
  6101. schema:
  6102. $ref: '#/definitions/v1.VoteListForHouseholdResponse'
  6103. "500":
  6104. description: Internal Server Error
  6105. schema:
  6106. $ref: '#/definitions/base.HTTPError'
  6107. summary: 投票列表
  6108. tags:
  6109. - 投票
  6110. /api/v1/service/vote/answer:
  6111. post:
  6112. consumes:
  6113. - application/json
  6114. description: 提交投票回答
  6115. parameters:
  6116. - description: token
  6117. in: header
  6118. name: token
  6119. required: true
  6120. type: string
  6121. - description: 信息
  6122. in: body
  6123. name: body
  6124. required: true
  6125. schema:
  6126. $ref: '#/definitions/v1.VoteAddAnswerBody'
  6127. produces:
  6128. - application/json
  6129. responses:
  6130. "200":
  6131. description: OK
  6132. schema:
  6133. $ref: '#/definitions/v1.VoteAddAnswerResponse'
  6134. "500":
  6135. description: Internal Server Error
  6136. schema:
  6137. $ref: '#/definitions/base.HTTPError'
  6138. summary: 提交投票回答
  6139. tags:
  6140. - 投票
  6141. /api/v1/service/vote/result/statistic:
  6142. get:
  6143. consumes:
  6144. - application/json
  6145. description: 投票结果统计
  6146. parameters:
  6147. - description: token
  6148. in: header
  6149. name: token
  6150. required: true
  6151. type: string
  6152. - description: ' '
  6153. in: query
  6154. name: id
  6155. required: true
  6156. type: integer
  6157. - description: 小区id
  6158. in: query
  6159. name: garden_id
  6160. required: true
  6161. type: integer
  6162. produces:
  6163. - application/json
  6164. responses:
  6165. "200":
  6166. description: OK
  6167. schema:
  6168. $ref: '#/definitions/v1.VoteResultStatisticResponse'
  6169. "500":
  6170. description: Internal Server Error
  6171. schema:
  6172. $ref: '#/definitions/base.HTTPError'
  6173. summary: 投票结果统计
  6174. tags:
  6175. - 投票
  6176. /api/v1/service_phone:
  6177. get:
  6178. consumes:
  6179. - application/json
  6180. description: 电话列表
  6181. parameters:
  6182. - description: token
  6183. in: header
  6184. name: token
  6185. required: true
  6186. type: string
  6187. - description: ' '
  6188. in: query
  6189. name: page
  6190. type: integer
  6191. - description: ' '
  6192. in: query
  6193. name: page_size
  6194. type: integer
  6195. - description: 分类id
  6196. in: query
  6197. name: class_id
  6198. type: integer
  6199. - description: 小区id
  6200. in: query
  6201. name: garden_id
  6202. required: true
  6203. type: integer
  6204. produces:
  6205. - application/json
  6206. responses:
  6207. "200":
  6208. description: OK
  6209. schema:
  6210. $ref: '#/definitions/v1.ServicePhoneListResponse'
  6211. "500":
  6212. description: Internal Server Error
  6213. schema:
  6214. $ref: '#/definitions/base.HTTPError'
  6215. summary: 电话列表
  6216. tags:
  6217. - 服务电话
  6218. /api/v1/service_phone/class:
  6219. get:
  6220. consumes:
  6221. - application/json
  6222. description: 分类列表
  6223. parameters:
  6224. - description: token
  6225. in: header
  6226. name: token
  6227. required: true
  6228. type: string
  6229. - description: ' '
  6230. in: query
  6231. name: page
  6232. type: integer
  6233. - description: ' '
  6234. in: query
  6235. name: page_size
  6236. type: integer
  6237. - description: 小区id
  6238. in: query
  6239. name: garden_id
  6240. required: true
  6241. type: integer
  6242. produces:
  6243. - application/json
  6244. responses:
  6245. "200":
  6246. description: OK
  6247. schema:
  6248. $ref: '#/definitions/v1.ServicePhoneClassListResponse'
  6249. "500":
  6250. description: Internal Server Error
  6251. schema:
  6252. $ref: '#/definitions/base.HTTPError'
  6253. summary: 分类列表
  6254. tags:
  6255. - 服务电话
  6256. /api/v1/suggestion/order:
  6257. get:
  6258. consumes:
  6259. - application/json
  6260. description: 工单列表
  6261. parameters:
  6262. - description: token
  6263. in: header
  6264. name: token
  6265. required: true
  6266. type: string
  6267. - description: ' '
  6268. in: query
  6269. name: page
  6270. type: integer
  6271. - description: ' '
  6272. in: query
  6273. name: page_size
  6274. type: integer
  6275. - description: ' 1未派单 2 已派单 3 已完结 '
  6276. in: query
  6277. name: status
  6278. type: integer
  6279. - description: 报修人
  6280. in: query
  6281. name: apply_people
  6282. type: string
  6283. - description: 报修人电话
  6284. in: query
  6285. name: apply_people_phone
  6286. type: string
  6287. - description: ' '
  6288. in: query
  6289. name: garden_id
  6290. required: true
  6291. type: integer
  6292. - description: 投诉类型 1 投诉 2 建议
  6293. in: query
  6294. name: suggestion_type
  6295. type: integer
  6296. produces:
  6297. - application/json
  6298. responses:
  6299. "200":
  6300. description: OK
  6301. schema:
  6302. $ref: '#/definitions/v1.SuggestionOrderListResponse'
  6303. "500":
  6304. description: Internal Server Error
  6305. schema:
  6306. $ref: '#/definitions/base.HTTPError'
  6307. summary: 工单列表
  6308. tags:
  6309. - 投诉与建议
  6310. post:
  6311. consumes:
  6312. - application/json
  6313. description: 新增工单
  6314. parameters:
  6315. - description: token
  6316. in: header
  6317. name: token
  6318. required: true
  6319. type: string
  6320. - description: 信息
  6321. in: body
  6322. name: body
  6323. required: true
  6324. schema:
  6325. $ref: '#/definitions/v1.SuggestionOrderAddBody'
  6326. produces:
  6327. - application/json
  6328. responses:
  6329. "200":
  6330. description: OK
  6331. schema:
  6332. $ref: '#/definitions/v1.SuggestionOrderAddResponse'
  6333. "500":
  6334. description: Internal Server Error
  6335. schema:
  6336. $ref: '#/definitions/base.HTTPError'
  6337. summary: 新增工单
  6338. tags:
  6339. - 投诉与建议
  6340. put:
  6341. consumes:
  6342. - application/json
  6343. description: 修改工单
  6344. parameters:
  6345. - description: token
  6346. in: header
  6347. name: token
  6348. required: true
  6349. type: string
  6350. - description: 信息
  6351. in: body
  6352. name: body
  6353. required: true
  6354. schema:
  6355. $ref: '#/definitions/v1.SuggestionOrderUpdateBody'
  6356. produces:
  6357. - application/json
  6358. responses:
  6359. "200":
  6360. description: OK
  6361. schema:
  6362. $ref: '#/definitions/v1.SuggestionOrderUpdateResponse'
  6363. "500":
  6364. description: Internal Server Error
  6365. schema:
  6366. $ref: '#/definitions/base.HTTPError'
  6367. summary: 修改工单
  6368. tags:
  6369. - 投诉与建议
  6370. /api/v1/suggestion/order/info:
  6371. get:
  6372. consumes:
  6373. - application/json
  6374. description: 工单详情
  6375. parameters:
  6376. - description: token
  6377. in: header
  6378. name: token
  6379. required: true
  6380. type: string
  6381. - description: ' '
  6382. in: query
  6383. name: id
  6384. required: true
  6385. type: integer
  6386. - description: ' '
  6387. in: query
  6388. name: garden_id
  6389. required: true
  6390. type: integer
  6391. produces:
  6392. - application/json
  6393. responses:
  6394. "200":
  6395. description: OK
  6396. schema:
  6397. $ref: '#/definitions/v1.SuggestionOrderInfoResponse'
  6398. "500":
  6399. description: Internal Server Error
  6400. schema:
  6401. $ref: '#/definitions/base.HTTPError'
  6402. summary: 工单详情
  6403. tags:
  6404. - 投诉与建议
  6405. /api/v1/suggestion/order/return_visit:
  6406. put:
  6407. consumes:
  6408. - application/json
  6409. description: 回访
  6410. parameters:
  6411. - description: token
  6412. in: header
  6413. name: token
  6414. required: true
  6415. type: string
  6416. - description: 信息
  6417. in: body
  6418. name: body
  6419. required: true
  6420. schema:
  6421. $ref: '#/definitions/v1.SuggestionOrderReturnVisitBody'
  6422. produces:
  6423. - application/json
  6424. responses:
  6425. "200":
  6426. description: OK
  6427. schema:
  6428. $ref: '#/definitions/v1.SuggestionOrderReturnVisitResponse'
  6429. "500":
  6430. description: Internal Server Error
  6431. schema:
  6432. $ref: '#/definitions/base.HTTPError'
  6433. summary: 回访
  6434. tags:
  6435. - 投诉与建议
  6436. /api/v1/token_refresh:
  6437. put:
  6438. consumes:
  6439. - application/json
  6440. description: 刷新token
  6441. parameters:
  6442. - description: token
  6443. in: header
  6444. name: token
  6445. required: true
  6446. type: string
  6447. produces:
  6448. - application/json
  6449. responses:
  6450. "200":
  6451. description: OK
  6452. schema:
  6453. $ref: '#/definitions/v1.TokenResponse'
  6454. "500":
  6455. description: Internal Server Error
  6456. schema:
  6457. $ref: '#/definitions/base.HTTPError'
  6458. summary: 刷新token
  6459. tags:
  6460. - 用户
  6461. /api/v1/upload:
  6462. post:
  6463. consumes:
  6464. - application/json
  6465. description: 上传文件
  6466. parameters:
  6467. - description: jwt token
  6468. in: header
  6469. name: token
  6470. required: true
  6471. type: string
  6472. - description: file
  6473. in: formData
  6474. name: file
  6475. type: file
  6476. produces:
  6477. - application/json
  6478. responses:
  6479. "200":
  6480. description: OK
  6481. schema:
  6482. $ref: '#/definitions/v1.UploadResponse'
  6483. "500":
  6484. description: Internal Server Error
  6485. schema:
  6486. $ref: '#/definitions/base.HTTPError'
  6487. summary: 上传文件
  6488. tags:
  6489. - upload
  6490. /api/v1/user/house:
  6491. get:
  6492. consumes:
  6493. - application/json
  6494. description: 用户的房屋
  6495. parameters:
  6496. - description: token
  6497. in: header
  6498. name: token
  6499. required: true
  6500. type: string
  6501. - description: true:返回可发布租房的房屋 false:返回用户的所有房屋
  6502. in: query
  6503. name: for_rent
  6504. type: boolean
  6505. produces:
  6506. - application/json
  6507. responses:
  6508. "200":
  6509. description: OK
  6510. schema:
  6511. $ref: '#/definitions/v1.HouseholdHousesResponse'
  6512. "500":
  6513. description: Internal Server Error
  6514. schema:
  6515. $ref: '#/definitions/base.HTTPError'
  6516. summary: 用户的房屋
  6517. tags:
  6518. - 用户
  6519. /api/v1/user/info:
  6520. get:
  6521. consumes:
  6522. - application/json
  6523. description: 获取用户信息
  6524. parameters:
  6525. - description: token
  6526. in: header
  6527. name: token
  6528. required: true
  6529. type: string
  6530. produces:
  6531. - application/json
  6532. responses:
  6533. "200":
  6534. description: OK
  6535. schema:
  6536. $ref: '#/definitions/v1.UserInfoResponse'
  6537. "500":
  6538. description: Internal Server Error
  6539. schema:
  6540. $ref: '#/definitions/base.HTTPError'
  6541. summary: 获取用户信息
  6542. tags:
  6543. - 用户
  6544. /api/v1/user/login:
  6545. post:
  6546. consumes:
  6547. - application/json
  6548. description: 登录
  6549. parameters:
  6550. - description: 登录信息
  6551. in: body
  6552. name: body
  6553. required: true
  6554. schema:
  6555. $ref: '#/definitions/v1.LoginBody'
  6556. produces:
  6557. - application/json
  6558. responses:
  6559. "200":
  6560. description: OK
  6561. schema:
  6562. $ref: '#/definitions/v1.LoginResponse'
  6563. "500":
  6564. description: Internal Server Error
  6565. schema:
  6566. $ref: '#/definitions/base.HTTPError'
  6567. summary: 登录
  6568. tags:
  6569. - 用户
  6570. /api/v1/user/nick_name:
  6571. put:
  6572. consumes:
  6573. - application/json
  6574. description: 修改昵称
  6575. parameters:
  6576. - description: token
  6577. in: header
  6578. name: token
  6579. required: true
  6580. type: string
  6581. - description: 信息
  6582. in: body
  6583. name: body
  6584. required: true
  6585. schema:
  6586. $ref: '#/definitions/v1.UserUpdateNickNameBody'
  6587. produces:
  6588. - application/json
  6589. responses:
  6590. "200":
  6591. description: OK
  6592. schema:
  6593. $ref: '#/definitions/v1.UserUpdateNickNameResponse'
  6594. "500":
  6595. description: Internal Server Error
  6596. schema:
  6597. $ref: '#/definitions/base.HTTPError'
  6598. summary: 修改昵称
  6599. tags:
  6600. - 用户
  6601. /api/v1/user/openim_token:
  6602. get:
  6603. consumes:
  6604. - application/json
  6605. description: 获取openim_token
  6606. parameters:
  6607. - description: token
  6608. in: header
  6609. name: token
  6610. required: true
  6611. type: string
  6612. - description: openim_id
  6613. in: query
  6614. name: openim_id
  6615. required: true
  6616. type: string
  6617. produces:
  6618. - application/json
  6619. responses:
  6620. "200":
  6621. description: OK
  6622. schema:
  6623. $ref: '#/definitions/v1.OpenImTokenResponse'
  6624. "500":
  6625. description: Internal Server Error
  6626. schema:
  6627. $ref: '#/definitions/base.HTTPError'
  6628. summary: 获取openim token
  6629. tags:
  6630. - openim
  6631. /api/v1/user/openim_users_info:
  6632. get:
  6633. consumes:
  6634. - application/json
  6635. description: 批量获取openim_用户信息
  6636. parameters:
  6637. - description: token
  6638. in: header
  6639. name: token
  6640. required: true
  6641. type: string
  6642. - description: 用户openim_id,以逗号分割
  6643. in: query
  6644. name: openim_ids
  6645. required: true
  6646. type: string
  6647. produces:
  6648. - application/json
  6649. responses:
  6650. "200":
  6651. description: OK
  6652. schema:
  6653. $ref: '#/definitions/v1.OpenImUsersInfoResponse'
  6654. "500":
  6655. description: Internal Server Error
  6656. schema:
  6657. $ref: '#/definitions/base.HTTPError'
  6658. summary: 批量获取openim 用户信息
  6659. tags:
  6660. - openim
  6661. /api/v1/user/real_name_auth:
  6662. put:
  6663. consumes:
  6664. - application/json
  6665. description: 实名认证
  6666. parameters:
  6667. - description: token
  6668. in: header
  6669. name: token
  6670. required: true
  6671. type: string
  6672. - description: 信息
  6673. in: body
  6674. name: body
  6675. required: true
  6676. schema:
  6677. $ref: '#/definitions/v1.RealNameAuthBody'
  6678. produces:
  6679. - application/json
  6680. responses:
  6681. "200":
  6682. description: OK
  6683. schema:
  6684. $ref: '#/definitions/v1.RealNameAuthResponse'
  6685. "500":
  6686. description: Internal Server Error
  6687. schema:
  6688. $ref: '#/definitions/base.HTTPError'
  6689. summary: 实名认证
  6690. tags:
  6691. - 用户
  6692. /api/v1/user/space:
  6693. get:
  6694. consumes:
  6695. - application/json
  6696. description: 用户房屋下的车位(仅业主可查看)
  6697. parameters:
  6698. - description: token
  6699. in: header
  6700. name: token
  6701. required: true
  6702. type: string
  6703. - description: 房屋id
  6704. in: query
  6705. name: house_id
  6706. required: true
  6707. type: integer
  6708. - description: 小区id
  6709. in: query
  6710. name: garden_id
  6711. required: true
  6712. type: integer
  6713. - description: 住户类型1 业主 2 家人 3 租户
  6714. in: query
  6715. name: user_type
  6716. required: true
  6717. type: integer
  6718. produces:
  6719. - application/json
  6720. responses:
  6721. "200":
  6722. description: OK
  6723. schema:
  6724. $ref: '#/definitions/v1.HouseholdSpaceResponse'
  6725. "500":
  6726. description: Internal Server Error
  6727. schema:
  6728. $ref: '#/definitions/base.HTTPError'
  6729. summary: 用户房屋下的车位(仅业主可查看)
  6730. tags:
  6731. - 用户
  6732. /api/v1/user/vehicle:
  6733. get:
  6734. consumes:
  6735. - application/json
  6736. description: 用户小区下的车辆
  6737. parameters:
  6738. - description: token
  6739. in: header
  6740. name: token
  6741. required: true
  6742. type: string
  6743. - description: 小区id
  6744. in: query
  6745. name: garden_id
  6746. required: true
  6747. type: integer
  6748. produces:
  6749. - application/json
  6750. responses:
  6751. "200":
  6752. description: OK
  6753. schema:
  6754. $ref: '#/definitions/v1.HouseholdVehicleResponse'
  6755. "500":
  6756. description: Internal Server Error
  6757. schema:
  6758. $ref: '#/definitions/base.HTTPError'
  6759. summary: 用户小区下的车辆
  6760. tags:
  6761. - 用户
  6762. swagger: "2.0"