docs.go 676 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "contact": {},
  18. "license": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/api/v1/application": {
  25. "get": {
  26. "description": "所有应用列表",
  27. "consumes": [
  28. "application/json"
  29. ],
  30. "produces": [
  31. "application/json"
  32. ],
  33. "tags": [
  34. "应用"
  35. ],
  36. "summary": "所有应用列表",
  37. "parameters": [
  38. {
  39. "type": "string",
  40. "description": " ",
  41. "name": "token",
  42. "in": "header",
  43. "required": true
  44. },
  45. {
  46. "type": "integer",
  47. "description": "第几页,1为起始页, -1 不分页返回所有",
  48. "name": "page",
  49. "in": "query",
  50. "required": true
  51. },
  52. {
  53. "type": "integer",
  54. "description": "每页条数,-1 不分页返回所有",
  55. "name": "page_size",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/v1.ApplicationListResponse"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/base.HTTPError"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/api/v1/buildings/building": {
  76. "get": {
  77. "description": "楼栋列表",
  78. "consumes": [
  79. "application/json"
  80. ],
  81. "produces": [
  82. "application/json"
  83. ],
  84. "tags": [
  85. "楼盘管理"
  86. ],
  87. "summary": "楼栋列表",
  88. "parameters": [
  89. {
  90. "type": "string",
  91. "description": "token",
  92. "name": "token",
  93. "in": "header",
  94. "required": true
  95. },
  96. {
  97. "type": "integer",
  98. "description": " ",
  99. "name": "page",
  100. "in": "query"
  101. },
  102. {
  103. "type": "integer",
  104. "description": " ",
  105. "name": "page_size",
  106. "in": "query"
  107. },
  108. {
  109. "type": "string",
  110. "description": "楼栋编号",
  111. "name": "building_number",
  112. "in": "query"
  113. }
  114. ],
  115. "responses": {
  116. "200": {
  117. "description": "OK",
  118. "schema": {
  119. "$ref": "#/definitions/v1.BuildingListResponse"
  120. }
  121. },
  122. "500": {
  123. "description": "Internal Server Error",
  124. "schema": {
  125. "$ref": "#/definitions/base.HTTPError"
  126. }
  127. }
  128. }
  129. },
  130. "put": {
  131. "description": "更改楼栋",
  132. "consumes": [
  133. "application/json"
  134. ],
  135. "produces": [
  136. "application/json"
  137. ],
  138. "tags": [
  139. "楼盘管理"
  140. ],
  141. "summary": "更改楼栋",
  142. "parameters": [
  143. {
  144. "type": "string",
  145. "description": "token",
  146. "name": "token",
  147. "in": "header",
  148. "required": true
  149. },
  150. {
  151. "description": "信息",
  152. "name": "body",
  153. "in": "body",
  154. "required": true,
  155. "schema": {
  156. "$ref": "#/definitions/v1.BuildingUpdateBody"
  157. }
  158. }
  159. ],
  160. "responses": {
  161. "200": {
  162. "description": "OK",
  163. "schema": {
  164. "$ref": "#/definitions/v1.BuildingUpdateResponse"
  165. }
  166. },
  167. "500": {
  168. "description": "Internal Server Error",
  169. "schema": {
  170. "$ref": "#/definitions/base.HTTPError"
  171. }
  172. }
  173. }
  174. },
  175. "post": {
  176. "description": "添加楼栋",
  177. "consumes": [
  178. "application/json"
  179. ],
  180. "produces": [
  181. "application/json"
  182. ],
  183. "tags": [
  184. "楼盘管理"
  185. ],
  186. "summary": "添加楼栋",
  187. "parameters": [
  188. {
  189. "type": "string",
  190. "description": "token",
  191. "name": "token",
  192. "in": "header",
  193. "required": true
  194. },
  195. {
  196. "description": "信息",
  197. "name": "body",
  198. "in": "body",
  199. "required": true,
  200. "schema": {
  201. "$ref": "#/definitions/v1.BuildingAddBody"
  202. }
  203. }
  204. ],
  205. "responses": {
  206. "200": {
  207. "description": "OK",
  208. "schema": {
  209. "$ref": "#/definitions/v1.BuildingAddResponse"
  210. }
  211. },
  212. "500": {
  213. "description": "Internal Server Error",
  214. "schema": {
  215. "$ref": "#/definitions/base.HTTPError"
  216. }
  217. }
  218. }
  219. },
  220. "delete": {
  221. "description": "删除楼栋",
  222. "consumes": [
  223. "application/json"
  224. ],
  225. "produces": [
  226. "application/json"
  227. ],
  228. "tags": [
  229. "楼盘管理"
  230. ],
  231. "summary": "删除楼栋",
  232. "parameters": [
  233. {
  234. "type": "string",
  235. "description": "token",
  236. "name": "token",
  237. "in": "header",
  238. "required": true
  239. },
  240. {
  241. "type": "integer",
  242. "description": "id",
  243. "name": "id",
  244. "in": "query",
  245. "required": true
  246. }
  247. ],
  248. "responses": {
  249. "200": {
  250. "description": "OK",
  251. "schema": {
  252. "$ref": "#/definitions/v1.BuildingDelResponse"
  253. }
  254. },
  255. "500": {
  256. "description": "Internal Server Error",
  257. "schema": {
  258. "$ref": "#/definitions/base.HTTPError"
  259. }
  260. }
  261. }
  262. }
  263. },
  264. "/api/v1/buildings/building/import": {
  265. "post": {
  266. "description": "楼栋导入",
  267. "consumes": [
  268. "application/json"
  269. ],
  270. "produces": [
  271. "application/json"
  272. ],
  273. "tags": [
  274. "楼盘管理"
  275. ],
  276. "summary": "楼栋导入",
  277. "parameters": [
  278. {
  279. "type": "string",
  280. "description": "token",
  281. "name": "token",
  282. "in": "header",
  283. "required": true
  284. },
  285. {
  286. "type": "file",
  287. "description": "file",
  288. "name": "file",
  289. "in": "formData",
  290. "required": true
  291. }
  292. ],
  293. "responses": {
  294. "200": {
  295. "description": "OK",
  296. "schema": {
  297. "$ref": "#/definitions/v1.BatchHouseAddResponse"
  298. }
  299. },
  300. "500": {
  301. "description": "Internal Server Error",
  302. "schema": {
  303. "$ref": "#/definitions/base.HTTPError"
  304. }
  305. }
  306. }
  307. }
  308. },
  309. "/api/v1/buildings/building/template": {
  310. "get": {
  311. "description": "获取楼盘模板",
  312. "consumes": [
  313. "application/json"
  314. ],
  315. "produces": [
  316. "application/json"
  317. ],
  318. "tags": [
  319. "楼盘管理"
  320. ],
  321. "summary": "获取楼盘模板",
  322. "parameters": [
  323. {
  324. "type": "string",
  325. "description": "token",
  326. "name": "token",
  327. "in": "header",
  328. "required": true
  329. }
  330. ],
  331. "responses": {
  332. "200": {
  333. "description": "OK",
  334. "schema": {
  335. "$ref": "#/definitions/v1.TemplateResponse"
  336. }
  337. },
  338. "500": {
  339. "description": "Internal Server Error",
  340. "schema": {
  341. "$ref": "#/definitions/base.HTTPError"
  342. }
  343. }
  344. }
  345. }
  346. },
  347. "/api/v1/buildings/house": {
  348. "get": {
  349. "description": "房屋列表",
  350. "consumes": [
  351. "application/json"
  352. ],
  353. "produces": [
  354. "application/json"
  355. ],
  356. "tags": [
  357. "楼盘管理"
  358. ],
  359. "summary": "房屋列表",
  360. "parameters": [
  361. {
  362. "type": "string",
  363. "description": "token",
  364. "name": "token",
  365. "in": "header",
  366. "required": true
  367. },
  368. {
  369. "type": "integer",
  370. "description": " ",
  371. "name": "page",
  372. "in": "query"
  373. },
  374. {
  375. "type": "integer",
  376. "description": " ",
  377. "name": "page_size",
  378. "in": "query"
  379. },
  380. {
  381. "type": "integer",
  382. "description": "门牌号906",
  383. "name": "house_number",
  384. "in": "query"
  385. },
  386. {
  387. "type": "integer",
  388. "description": "总房号 1-2-906",
  389. "name": "house_name",
  390. "in": "query"
  391. },
  392. {
  393. "type": "integer",
  394. "description": "楼栋id",
  395. "name": "building_id",
  396. "in": "query"
  397. },
  398. {
  399. "type": "integer",
  400. "description": "单元id",
  401. "name": "unit_id",
  402. "in": "query"
  403. },
  404. {
  405. "type": "integer",
  406. "description": "住户uid",
  407. "name": "household_uid",
  408. "in": "query"
  409. },
  410. {
  411. "type": "integer",
  412. "description": "房屋类型 1 住宅 2 商铺 3 办公",
  413. "name": "house_type",
  414. "in": "query"
  415. },
  416. {
  417. "type": "boolean",
  418. "description": "是否用于房屋租赁 true 是 false 否",
  419. "name": "house_rent",
  420. "in": "query"
  421. }
  422. ],
  423. "responses": {
  424. "200": {
  425. "description": "OK",
  426. "schema": {
  427. "$ref": "#/definitions/v1.HouseListResponse"
  428. }
  429. },
  430. "500": {
  431. "description": "Internal Server Error",
  432. "schema": {
  433. "$ref": "#/definitions/base.HTTPError"
  434. }
  435. }
  436. }
  437. },
  438. "put": {
  439. "description": "更改房屋",
  440. "consumes": [
  441. "application/json"
  442. ],
  443. "produces": [
  444. "application/json"
  445. ],
  446. "tags": [
  447. "楼盘管理"
  448. ],
  449. "summary": "更改房屋",
  450. "parameters": [
  451. {
  452. "type": "string",
  453. "description": "token",
  454. "name": "token",
  455. "in": "header",
  456. "required": true
  457. },
  458. {
  459. "description": "信息",
  460. "name": "body",
  461. "in": "body",
  462. "required": true,
  463. "schema": {
  464. "$ref": "#/definitions/v1.HouseUpdateBody"
  465. }
  466. }
  467. ],
  468. "responses": {
  469. "200": {
  470. "description": "OK",
  471. "schema": {
  472. "$ref": "#/definitions/v1.HouseUpdateResponse"
  473. }
  474. },
  475. "500": {
  476. "description": "Internal Server Error",
  477. "schema": {
  478. "$ref": "#/definitions/base.HTTPError"
  479. }
  480. }
  481. }
  482. },
  483. "post": {
  484. "description": "添加房屋",
  485. "consumes": [
  486. "application/json"
  487. ],
  488. "produces": [
  489. "application/json"
  490. ],
  491. "tags": [
  492. "楼盘管理"
  493. ],
  494. "summary": "添加房屋",
  495. "parameters": [
  496. {
  497. "type": "string",
  498. "description": "token",
  499. "name": "token",
  500. "in": "header",
  501. "required": true
  502. },
  503. {
  504. "description": "信息",
  505. "name": "body",
  506. "in": "body",
  507. "required": true,
  508. "schema": {
  509. "$ref": "#/definitions/v1.HouseAddBody"
  510. }
  511. }
  512. ],
  513. "responses": {
  514. "200": {
  515. "description": "OK",
  516. "schema": {
  517. "$ref": "#/definitions/v1.HouseAddResponse"
  518. }
  519. },
  520. "500": {
  521. "description": "Internal Server Error",
  522. "schema": {
  523. "$ref": "#/definitions/base.HTTPError"
  524. }
  525. }
  526. }
  527. },
  528. "delete": {
  529. "description": "删除房屋",
  530. "consumes": [
  531. "application/json"
  532. ],
  533. "produces": [
  534. "application/json"
  535. ],
  536. "tags": [
  537. "楼盘管理"
  538. ],
  539. "summary": "删除房屋",
  540. "parameters": [
  541. {
  542. "type": "string",
  543. "description": "token",
  544. "name": "token",
  545. "in": "header",
  546. "required": true
  547. },
  548. {
  549. "type": "integer",
  550. "description": "id",
  551. "name": "id",
  552. "in": "query",
  553. "required": true
  554. }
  555. ],
  556. "responses": {
  557. "200": {
  558. "description": "OK",
  559. "schema": {
  560. "$ref": "#/definitions/v1.HouseDelResponse"
  561. }
  562. },
  563. "500": {
  564. "description": "Internal Server Error",
  565. "schema": {
  566. "$ref": "#/definitions/base.HTTPError"
  567. }
  568. }
  569. }
  570. }
  571. },
  572. "/api/v1/buildings/house/import": {
  573. "post": {
  574. "description": "房屋导入",
  575. "consumes": [
  576. "application/json"
  577. ],
  578. "produces": [
  579. "application/json"
  580. ],
  581. "tags": [
  582. "楼盘管理"
  583. ],
  584. "summary": "房屋导入",
  585. "parameters": [
  586. {
  587. "type": "string",
  588. "description": "token",
  589. "name": "token",
  590. "in": "header",
  591. "required": true
  592. },
  593. {
  594. "type": "file",
  595. "description": "file",
  596. "name": "file",
  597. "in": "formData",
  598. "required": true
  599. }
  600. ],
  601. "responses": {
  602. "200": {
  603. "description": "OK",
  604. "schema": {
  605. "$ref": "#/definitions/v1.BatchHouseAddResponse"
  606. }
  607. },
  608. "500": {
  609. "description": "Internal Server Error",
  610. "schema": {
  611. "$ref": "#/definitions/base.HTTPError"
  612. }
  613. }
  614. }
  615. }
  616. },
  617. "/api/v1/buildings/house/template": {
  618. "get": {
  619. "description": "获取房屋模板",
  620. "consumes": [
  621. "application/json"
  622. ],
  623. "produces": [
  624. "application/json"
  625. ],
  626. "tags": [
  627. "楼盘管理"
  628. ],
  629. "summary": "获取房屋模板",
  630. "parameters": [
  631. {
  632. "type": "string",
  633. "description": "token",
  634. "name": "token",
  635. "in": "header",
  636. "required": true
  637. }
  638. ],
  639. "responses": {
  640. "200": {
  641. "description": "OK",
  642. "schema": {
  643. "$ref": "#/definitions/v1.TemplateResponse"
  644. }
  645. },
  646. "500": {
  647. "description": "Internal Server Error",
  648. "schema": {
  649. "$ref": "#/definitions/base.HTTPError"
  650. }
  651. }
  652. }
  653. }
  654. },
  655. "/api/v1/buildings/manager": {
  656. "get": {
  657. "description": "楼栋管家列表",
  658. "consumes": [
  659. "application/json"
  660. ],
  661. "produces": [
  662. "application/json"
  663. ],
  664. "tags": [
  665. "楼栋管理"
  666. ],
  667. "summary": "楼栋管家列表",
  668. "parameters": [
  669. {
  670. "type": "string",
  671. "description": "token",
  672. "name": "token",
  673. "in": "header",
  674. "required": true
  675. },
  676. {
  677. "type": "integer",
  678. "description": "楼栋id",
  679. "name": "building_id",
  680. "in": "query",
  681. "required": true
  682. }
  683. ],
  684. "responses": {
  685. "200": {
  686. "description": "OK",
  687. "schema": {
  688. "$ref": "#/definitions/v1.BuildingManagerListResponse"
  689. }
  690. },
  691. "500": {
  692. "description": "Internal Server Error",
  693. "schema": {
  694. "$ref": "#/definitions/base.HTTPError"
  695. }
  696. }
  697. }
  698. },
  699. "post": {
  700. "description": "添加楼栋管家",
  701. "consumes": [
  702. "application/json"
  703. ],
  704. "produces": [
  705. "application/json"
  706. ],
  707. "tags": [
  708. "楼栋管理"
  709. ],
  710. "summary": "添加楼栋管家",
  711. "parameters": [
  712. {
  713. "type": "string",
  714. "description": "token",
  715. "name": "token",
  716. "in": "header",
  717. "required": true
  718. },
  719. {
  720. "description": " ",
  721. "name": "body",
  722. "in": "body",
  723. "required": true,
  724. "schema": {
  725. "$ref": "#/definitions/v1.BuildingAddManagerBody"
  726. }
  727. }
  728. ],
  729. "responses": {
  730. "200": {
  731. "description": "OK",
  732. "schema": {
  733. "$ref": "#/definitions/v1.BuildingAddManagerResponse"
  734. }
  735. },
  736. "500": {
  737. "description": "Internal Server Error",
  738. "schema": {
  739. "$ref": "#/definitions/base.HTTPError"
  740. }
  741. }
  742. }
  743. },
  744. "delete": {
  745. "description": "删除楼栋管家",
  746. "consumes": [
  747. "application/json"
  748. ],
  749. "produces": [
  750. "application/json"
  751. ],
  752. "tags": [
  753. "楼栋管理"
  754. ],
  755. "summary": "删除楼栋管家",
  756. "parameters": [
  757. {
  758. "type": "string",
  759. "description": "token",
  760. "name": "token",
  761. "in": "header",
  762. "required": true
  763. },
  764. {
  765. "type": "integer",
  766. "description": "经纪人与楼栋的关系id",
  767. "name": "id",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/v1.BuildingDelManagerResponse"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/base.HTTPError"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/api/v1/buildings/unit": {
  789. "get": {
  790. "description": "单元列表",
  791. "consumes": [
  792. "application/json"
  793. ],
  794. "produces": [
  795. "application/json"
  796. ],
  797. "tags": [
  798. "楼盘管理"
  799. ],
  800. "summary": "单元列表",
  801. "parameters": [
  802. {
  803. "type": "string",
  804. "description": "token",
  805. "name": "token",
  806. "in": "header",
  807. "required": true
  808. },
  809. {
  810. "type": "integer",
  811. "description": " ",
  812. "name": "page",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": " ",
  818. "name": "page_size",
  819. "in": "query"
  820. },
  821. {
  822. "type": "integer",
  823. "description": "单元编号",
  824. "name": "unit_number",
  825. "in": "query"
  826. },
  827. {
  828. "type": "integer",
  829. "description": "楼栋id",
  830. "name": "building_id",
  831. "in": "query"
  832. }
  833. ],
  834. "responses": {
  835. "200": {
  836. "description": "OK",
  837. "schema": {
  838. "$ref": "#/definitions/v1.UnitListResponse"
  839. }
  840. },
  841. "500": {
  842. "description": "Internal Server Error",
  843. "schema": {
  844. "$ref": "#/definitions/base.HTTPError"
  845. }
  846. }
  847. }
  848. },
  849. "put": {
  850. "description": "更改单元",
  851. "consumes": [
  852. "application/json"
  853. ],
  854. "produces": [
  855. "application/json"
  856. ],
  857. "tags": [
  858. "楼盘管理"
  859. ],
  860. "summary": "更改单元",
  861. "parameters": [
  862. {
  863. "type": "string",
  864. "description": "token",
  865. "name": "token",
  866. "in": "header",
  867. "required": true
  868. },
  869. {
  870. "description": "信息",
  871. "name": "body",
  872. "in": "body",
  873. "required": true,
  874. "schema": {
  875. "$ref": "#/definitions/v1.UnitUpdateBody"
  876. }
  877. }
  878. ],
  879. "responses": {
  880. "200": {
  881. "description": "OK",
  882. "schema": {
  883. "$ref": "#/definitions/v1.UnitUpdateResponse"
  884. }
  885. },
  886. "500": {
  887. "description": "Internal Server Error",
  888. "schema": {
  889. "$ref": "#/definitions/base.HTTPError"
  890. }
  891. }
  892. }
  893. },
  894. "post": {
  895. "description": "添加单元",
  896. "consumes": [
  897. "application/json"
  898. ],
  899. "produces": [
  900. "application/json"
  901. ],
  902. "tags": [
  903. "楼盘管理"
  904. ],
  905. "summary": "添加单元",
  906. "parameters": [
  907. {
  908. "type": "string",
  909. "description": "token",
  910. "name": "token",
  911. "in": "header",
  912. "required": true
  913. },
  914. {
  915. "description": "信息",
  916. "name": "body",
  917. "in": "body",
  918. "required": true,
  919. "schema": {
  920. "$ref": "#/definitions/v1.UnitAddBody"
  921. }
  922. }
  923. ],
  924. "responses": {
  925. "200": {
  926. "description": "OK",
  927. "schema": {
  928. "$ref": "#/definitions/v1.UnitAddResponse"
  929. }
  930. },
  931. "500": {
  932. "description": "Internal Server Error",
  933. "schema": {
  934. "$ref": "#/definitions/base.HTTPError"
  935. }
  936. }
  937. }
  938. },
  939. "delete": {
  940. "description": "删除单元",
  941. "consumes": [
  942. "application/json"
  943. ],
  944. "produces": [
  945. "application/json"
  946. ],
  947. "tags": [
  948. "楼盘管理"
  949. ],
  950. "summary": "删除单元",
  951. "parameters": [
  952. {
  953. "type": "string",
  954. "description": "token",
  955. "name": "token",
  956. "in": "header",
  957. "required": true
  958. },
  959. {
  960. "type": "integer",
  961. "description": "id",
  962. "name": "id",
  963. "in": "query",
  964. "required": true
  965. }
  966. ],
  967. "responses": {
  968. "200": {
  969. "description": "OK",
  970. "schema": {
  971. "$ref": "#/definitions/v1.UnitDelResponse"
  972. }
  973. },
  974. "500": {
  975. "description": "Internal Server Error",
  976. "schema": {
  977. "$ref": "#/definitions/base.HTTPError"
  978. }
  979. }
  980. }
  981. }
  982. },
  983. "/api/v1/buildings/unit/import": {
  984. "post": {
  985. "description": "单元导入",
  986. "consumes": [
  987. "application/json"
  988. ],
  989. "produces": [
  990. "application/json"
  991. ],
  992. "tags": [
  993. "楼盘管理"
  994. ],
  995. "summary": "单元导入",
  996. "parameters": [
  997. {
  998. "type": "string",
  999. "description": "token",
  1000. "name": "token",
  1001. "in": "header",
  1002. "required": true
  1003. },
  1004. {
  1005. "type": "file",
  1006. "description": "file",
  1007. "name": "file",
  1008. "in": "formData",
  1009. "required": true
  1010. }
  1011. ],
  1012. "responses": {
  1013. "200": {
  1014. "description": "OK",
  1015. "schema": {
  1016. "$ref": "#/definitions/v1.BatchHouseAddResponse"
  1017. }
  1018. },
  1019. "500": {
  1020. "description": "Internal Server Error",
  1021. "schema": {
  1022. "$ref": "#/definitions/base.HTTPError"
  1023. }
  1024. }
  1025. }
  1026. }
  1027. },
  1028. "/api/v1/buildings/unit/template": {
  1029. "get": {
  1030. "description": "获取单元模板",
  1031. "consumes": [
  1032. "application/json"
  1033. ],
  1034. "produces": [
  1035. "application/json"
  1036. ],
  1037. "tags": [
  1038. "楼盘管理"
  1039. ],
  1040. "summary": "获取单元模板",
  1041. "parameters": [
  1042. {
  1043. "type": "string",
  1044. "description": "token",
  1045. "name": "token",
  1046. "in": "header",
  1047. "required": true
  1048. }
  1049. ],
  1050. "responses": {
  1051. "200": {
  1052. "description": "OK",
  1053. "schema": {
  1054. "$ref": "#/definitions/v1.TemplateResponse"
  1055. }
  1056. },
  1057. "500": {
  1058. "description": "Internal Server Error",
  1059. "schema": {
  1060. "$ref": "#/definitions/base.HTTPError"
  1061. }
  1062. }
  1063. }
  1064. }
  1065. },
  1066. "/api/v1/charge/batch_urge": {
  1067. "get": {
  1068. "description": "批量催缴单",
  1069. "consumes": [
  1070. "application/json"
  1071. ],
  1072. "produces": [
  1073. "application/json"
  1074. ],
  1075. "tags": [
  1076. "对象收费相关"
  1077. ],
  1078. "summary": "批量催缴单",
  1079. "parameters": [
  1080. {
  1081. "type": "string",
  1082. "description": "token",
  1083. "name": "token",
  1084. "in": "header",
  1085. "required": true
  1086. },
  1087. {
  1088. "type": "integer",
  1089. "description": "1 房屋 2 车位",
  1090. "name": "obj_type",
  1091. "in": "query",
  1092. "required": true
  1093. }
  1094. ],
  1095. "responses": {
  1096. "200": {
  1097. "description": "OK",
  1098. "schema": {
  1099. "$ref": "#/definitions/v1.BatchUrgeResponse"
  1100. }
  1101. },
  1102. "500": {
  1103. "description": "Internal Server Error",
  1104. "schema": {
  1105. "$ref": "#/definitions/base.HTTPError"
  1106. }
  1107. }
  1108. }
  1109. }
  1110. },
  1111. "/api/v1/charge/bind": {
  1112. "put": {
  1113. "description": "费用绑定对象",
  1114. "consumes": [
  1115. "application/json"
  1116. ],
  1117. "produces": [
  1118. "application/json"
  1119. ],
  1120. "tags": [
  1121. "费用绑定相关"
  1122. ],
  1123. "summary": "费用绑定对象",
  1124. "parameters": [
  1125. {
  1126. "type": "string",
  1127. "description": "token",
  1128. "name": "token",
  1129. "in": "header",
  1130. "required": true
  1131. },
  1132. {
  1133. "description": "信息",
  1134. "name": "body",
  1135. "in": "body",
  1136. "required": true,
  1137. "schema": {
  1138. "$ref": "#/definitions/v1.ChargeBindBody"
  1139. }
  1140. }
  1141. ],
  1142. "responses": {
  1143. "200": {
  1144. "description": "OK",
  1145. "schema": {
  1146. "$ref": "#/definitions/v1.ChargeBindResponse"
  1147. }
  1148. },
  1149. "500": {
  1150. "description": "Internal Server Error",
  1151. "schema": {
  1152. "$ref": "#/definitions/base.HTTPError"
  1153. }
  1154. }
  1155. }
  1156. }
  1157. },
  1158. "/api/v1/charge/conf": {
  1159. "get": {
  1160. "description": "费用配置列表",
  1161. "consumes": [
  1162. "application/json"
  1163. ],
  1164. "produces": [
  1165. "application/json"
  1166. ],
  1167. "tags": [
  1168. "费用配置"
  1169. ],
  1170. "summary": "费用配置列表",
  1171. "parameters": [
  1172. {
  1173. "type": "integer",
  1174. "description": " ",
  1175. "name": "page",
  1176. "in": "query"
  1177. },
  1178. {
  1179. "type": "integer",
  1180. "description": " ",
  1181. "name": "page_size",
  1182. "in": "query"
  1183. },
  1184. {
  1185. "type": "integer",
  1186. "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  1187. "name": "charge_type",
  1188. "in": "query"
  1189. },
  1190. {
  1191. "type": "string",
  1192. "description": "token",
  1193. "name": "token",
  1194. "in": "header",
  1195. "required": true
  1196. }
  1197. ],
  1198. "responses": {
  1199. "200": {
  1200. "description": "OK",
  1201. "schema": {
  1202. "$ref": "#/definitions/v1.ChargeConfListResponse"
  1203. }
  1204. },
  1205. "500": {
  1206. "description": "Internal Server Error",
  1207. "schema": {
  1208. "$ref": "#/definitions/base.HTTPError"
  1209. }
  1210. }
  1211. }
  1212. },
  1213. "put": {
  1214. "description": "修改费用配置",
  1215. "consumes": [
  1216. "application/json"
  1217. ],
  1218. "produces": [
  1219. "application/json"
  1220. ],
  1221. "tags": [
  1222. "费用配置"
  1223. ],
  1224. "summary": "修改费用配置",
  1225. "parameters": [
  1226. {
  1227. "type": "string",
  1228. "description": "token",
  1229. "name": "token",
  1230. "in": "header",
  1231. "required": true
  1232. },
  1233. {
  1234. "description": "信息",
  1235. "name": "body",
  1236. "in": "body",
  1237. "required": true,
  1238. "schema": {
  1239. "$ref": "#/definitions/v1.ChargeConfUpdateBody"
  1240. }
  1241. }
  1242. ],
  1243. "responses": {
  1244. "200": {
  1245. "description": "OK",
  1246. "schema": {
  1247. "$ref": "#/definitions/v1.ChargeConfUpdateResponse"
  1248. }
  1249. },
  1250. "500": {
  1251. "description": "Internal Server Error",
  1252. "schema": {
  1253. "$ref": "#/definitions/base.HTTPError"
  1254. }
  1255. }
  1256. }
  1257. },
  1258. "post": {
  1259. "description": "添加费用配置",
  1260. "consumes": [
  1261. "application/json"
  1262. ],
  1263. "produces": [
  1264. "application/json"
  1265. ],
  1266. "tags": [
  1267. "费用配置"
  1268. ],
  1269. "summary": "添加费用配置",
  1270. "parameters": [
  1271. {
  1272. "type": "string",
  1273. "description": "token",
  1274. "name": "token",
  1275. "in": "header",
  1276. "required": true
  1277. },
  1278. {
  1279. "description": "信息",
  1280. "name": "body",
  1281. "in": "body",
  1282. "required": true,
  1283. "schema": {
  1284. "$ref": "#/definitions/v1.ChargeConfAddBody"
  1285. }
  1286. }
  1287. ],
  1288. "responses": {
  1289. "200": {
  1290. "description": "OK",
  1291. "schema": {
  1292. "$ref": "#/definitions/v1.ChargeConfAddResponse"
  1293. }
  1294. },
  1295. "500": {
  1296. "description": "Internal Server Error",
  1297. "schema": {
  1298. "$ref": "#/definitions/base.HTTPError"
  1299. }
  1300. }
  1301. }
  1302. },
  1303. "delete": {
  1304. "description": "删除费用配置",
  1305. "consumes": [
  1306. "application/json"
  1307. ],
  1308. "produces": [
  1309. "application/json"
  1310. ],
  1311. "tags": [
  1312. "费用配置"
  1313. ],
  1314. "summary": "删除费用配置",
  1315. "parameters": [
  1316. {
  1317. "type": "integer",
  1318. "description": " ",
  1319. "name": "id",
  1320. "in": "query",
  1321. "required": true
  1322. },
  1323. {
  1324. "type": "string",
  1325. "description": "token",
  1326. "name": "token",
  1327. "in": "header",
  1328. "required": true
  1329. }
  1330. ],
  1331. "responses": {
  1332. "200": {
  1333. "description": "OK",
  1334. "schema": {
  1335. "$ref": "#/definitions/v1.ChargeConfDelResponse"
  1336. }
  1337. },
  1338. "500": {
  1339. "description": "Internal Server Error",
  1340. "schema": {
  1341. "$ref": "#/definitions/base.HTTPError"
  1342. }
  1343. }
  1344. }
  1345. }
  1346. },
  1347. "/api/v1/charge/discard_bill/list": {
  1348. "get": {
  1349. "description": "作废账单列表",
  1350. "consumes": [
  1351. "application/json"
  1352. ],
  1353. "produces": [
  1354. "application/json"
  1355. ],
  1356. "tags": [
  1357. "作废账单"
  1358. ],
  1359. "summary": "作废账单列表",
  1360. "parameters": [
  1361. {
  1362. "type": "string",
  1363. "description": "token",
  1364. "name": "token",
  1365. "in": "header",
  1366. "required": true
  1367. },
  1368. {
  1369. "type": "integer",
  1370. "description": " ",
  1371. "name": "page",
  1372. "in": "query"
  1373. },
  1374. {
  1375. "type": "integer",
  1376. "description": " ",
  1377. "name": "page_size",
  1378. "in": "query"
  1379. },
  1380. {
  1381. "type": "integer",
  1382. "description": "费用类型 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  1383. "name": "charge_type",
  1384. "in": "query"
  1385. },
  1386. {
  1387. "type": "string",
  1388. "description": "对象名",
  1389. "name": "obj_name",
  1390. "in": "query"
  1391. },
  1392. {
  1393. "type": "string",
  1394. "description": "费项名",
  1395. "name": "charge_name",
  1396. "in": "query"
  1397. },
  1398. {
  1399. "type": "integer",
  1400. "description": "1 房屋 2 车位 3 车辆 ",
  1401. "name": "obj_type",
  1402. "in": "query"
  1403. }
  1404. ],
  1405. "responses": {
  1406. "200": {
  1407. "description": "OK",
  1408. "schema": {
  1409. "$ref": "#/definitions/v1.ChargeDelBillListResponse"
  1410. }
  1411. },
  1412. "500": {
  1413. "description": "Internal Server Error",
  1414. "schema": {
  1415. "$ref": "#/definitions/base.HTTPError"
  1416. }
  1417. }
  1418. }
  1419. }
  1420. },
  1421. "/api/v1/charge/discard_bill/recover": {
  1422. "put": {
  1423. "description": "恢复账单",
  1424. "consumes": [
  1425. "application/json"
  1426. ],
  1427. "produces": [
  1428. "application/json"
  1429. ],
  1430. "tags": [
  1431. "作废账单"
  1432. ],
  1433. "summary": "恢复账单",
  1434. "parameters": [
  1435. {
  1436. "type": "string",
  1437. "description": "token",
  1438. "name": "token",
  1439. "in": "header",
  1440. "required": true
  1441. },
  1442. {
  1443. "description": " ",
  1444. "name": "body",
  1445. "in": "body",
  1446. "required": true,
  1447. "schema": {
  1448. "$ref": "#/definitions/v1.ChargeRecoverBillBody"
  1449. }
  1450. }
  1451. ],
  1452. "responses": {
  1453. "200": {
  1454. "description": "OK",
  1455. "schema": {
  1456. "$ref": "#/definitions/v1.ChargeRecoverBillResponse"
  1457. }
  1458. },
  1459. "500": {
  1460. "description": "Internal Server Error",
  1461. "schema": {
  1462. "$ref": "#/definitions/base.HTTPError"
  1463. }
  1464. }
  1465. }
  1466. }
  1467. },
  1468. "/api/v1/charge/house/binded_list": {
  1469. "get": {
  1470. "description": "绑定了项目的房屋列表",
  1471. "consumes": [
  1472. "application/json"
  1473. ],
  1474. "produces": [
  1475. "application/json"
  1476. ],
  1477. "tags": [
  1478. "费用绑定相关"
  1479. ],
  1480. "summary": "绑定了项目的房屋列表",
  1481. "parameters": [
  1482. {
  1483. "type": "string",
  1484. "description": "token",
  1485. "name": "token",
  1486. "in": "header",
  1487. "required": true
  1488. },
  1489. {
  1490. "type": "integer",
  1491. "description": "费项id",
  1492. "name": "charge_id",
  1493. "in": "query",
  1494. "required": true
  1495. },
  1496. {
  1497. "type": "integer",
  1498. "description": " ",
  1499. "name": "page",
  1500. "in": "query"
  1501. },
  1502. {
  1503. "type": "integer",
  1504. "description": " ",
  1505. "name": "page_size",
  1506. "in": "query"
  1507. }
  1508. ],
  1509. "responses": {
  1510. "200": {
  1511. "description": "OK",
  1512. "schema": {
  1513. "$ref": "#/definitions/v1.ChargeHouseBindedListResponse"
  1514. }
  1515. },
  1516. "500": {
  1517. "description": "Internal Server Error",
  1518. "schema": {
  1519. "$ref": "#/definitions/base.HTTPError"
  1520. }
  1521. }
  1522. }
  1523. }
  1524. },
  1525. "/api/v1/charge/house/can_bind_list": {
  1526. "get": {
  1527. "description": "可以绑定某项目的房屋列表",
  1528. "consumes": [
  1529. "application/json"
  1530. ],
  1531. "produces": [
  1532. "application/json"
  1533. ],
  1534. "tags": [
  1535. "费用绑定相关"
  1536. ],
  1537. "summary": "可以绑定某项目的房屋列表",
  1538. "parameters": [
  1539. {
  1540. "type": "string",
  1541. "description": "token",
  1542. "name": "token",
  1543. "in": "header",
  1544. "required": true
  1545. },
  1546. {
  1547. "type": "integer",
  1548. "description": "费项id",
  1549. "name": "charge_id",
  1550. "in": "query",
  1551. "required": true
  1552. },
  1553. {
  1554. "type": "integer",
  1555. "description": " ",
  1556. "name": "page",
  1557. "in": "query"
  1558. },
  1559. {
  1560. "type": "integer",
  1561. "description": " ",
  1562. "name": "page_size",
  1563. "in": "query"
  1564. },
  1565. {
  1566. "type": "string",
  1567. "description": "房号1-2-906",
  1568. "name": "house_name",
  1569. "in": "query"
  1570. }
  1571. ],
  1572. "responses": {
  1573. "200": {
  1574. "description": "OK",
  1575. "schema": {
  1576. "$ref": "#/definitions/v1.ChargeHouseNotBindListResponse"
  1577. }
  1578. },
  1579. "500": {
  1580. "description": "Internal Server Error",
  1581. "schema": {
  1582. "$ref": "#/definitions/base.HTTPError"
  1583. }
  1584. }
  1585. }
  1586. }
  1587. },
  1588. "/api/v1/charge/obj_charge/bill": {
  1589. "put": {
  1590. "description": "手动生成账单,仅周期性费用和水电气可以生成",
  1591. "consumes": [
  1592. "application/json"
  1593. ],
  1594. "produces": [
  1595. "application/json"
  1596. ],
  1597. "tags": [
  1598. "对象收费相关"
  1599. ],
  1600. "summary": "手动生成账单,仅周期性费用和水电气可以生成",
  1601. "parameters": [
  1602. {
  1603. "type": "string",
  1604. "description": "token",
  1605. "name": "token",
  1606. "in": "header",
  1607. "required": true
  1608. },
  1609. {
  1610. "description": " ",
  1611. "name": "body",
  1612. "in": "body",
  1613. "required": true,
  1614. "schema": {
  1615. "$ref": "#/definitions/v1.ChargeGenerateBillBody"
  1616. }
  1617. }
  1618. ],
  1619. "responses": {
  1620. "200": {
  1621. "description": "OK",
  1622. "schema": {
  1623. "$ref": "#/definitions/v1.ChargeGenerateBillResponse"
  1624. }
  1625. },
  1626. "500": {
  1627. "description": "Internal Server Error",
  1628. "schema": {
  1629. "$ref": "#/definitions/base.HTTPError"
  1630. }
  1631. }
  1632. }
  1633. }
  1634. },
  1635. "/api/v1/charge/obj_charge/bill_list": {
  1636. "get": {
  1637. "description": "对象的某费项下的待缴账单列表",
  1638. "consumes": [
  1639. "application/json"
  1640. ],
  1641. "produces": [
  1642. "application/json"
  1643. ],
  1644. "tags": [
  1645. "对象收费相关"
  1646. ],
  1647. "summary": "对象的某费项下的待缴账单列表",
  1648. "parameters": [
  1649. {
  1650. "type": "string",
  1651. "description": "token",
  1652. "name": "token",
  1653. "in": "header",
  1654. "required": true
  1655. },
  1656. {
  1657. "type": "integer",
  1658. "description": "绑定关系id",
  1659. "name": "bind_id",
  1660. "in": "query",
  1661. "required": true
  1662. },
  1663. {
  1664. "type": "integer",
  1665. "description": " ",
  1666. "name": "page",
  1667. "in": "query"
  1668. },
  1669. {
  1670. "type": "integer",
  1671. "description": " ",
  1672. "name": "page_size",
  1673. "in": "query"
  1674. }
  1675. ],
  1676. "responses": {
  1677. "200": {
  1678. "description": "OK",
  1679. "schema": {
  1680. "$ref": "#/definitions/v1.ChargeBillListResponse"
  1681. }
  1682. },
  1683. "500": {
  1684. "description": "Internal Server Error",
  1685. "schema": {
  1686. "$ref": "#/definitions/base.HTTPError"
  1687. }
  1688. }
  1689. }
  1690. }
  1691. },
  1692. "/api/v1/charge/obj_charge/charge_list": {
  1693. "get": {
  1694. "description": "查看费用,费项列表",
  1695. "consumes": [
  1696. "application/json"
  1697. ],
  1698. "produces": [
  1699. "application/json"
  1700. ],
  1701. "tags": [
  1702. "对象收费相关"
  1703. ],
  1704. "summary": "查看费用,费项列表",
  1705. "parameters": [
  1706. {
  1707. "type": "string",
  1708. "description": "token",
  1709. "name": "token",
  1710. "in": "header",
  1711. "required": true
  1712. },
  1713. {
  1714. "type": "integer",
  1715. "description": "房屋/车位/车辆id",
  1716. "name": "obj_id",
  1717. "in": "query",
  1718. "required": true
  1719. },
  1720. {
  1721. "type": "integer",
  1722. "description": "1 房屋 2 车位 3 车辆 ",
  1723. "name": "obj_type",
  1724. "in": "query",
  1725. "required": true
  1726. },
  1727. {
  1728. "type": "integer",
  1729. "description": " ",
  1730. "name": "page",
  1731. "in": "query"
  1732. },
  1733. {
  1734. "type": "integer",
  1735. "description": " ",
  1736. "name": "page_size",
  1737. "in": "query"
  1738. }
  1739. ],
  1740. "responses": {
  1741. "200": {
  1742. "description": "OK",
  1743. "schema": {
  1744. "$ref": "#/definitions/v1.ChargeListResponse"
  1745. }
  1746. },
  1747. "500": {
  1748. "description": "Internal Server Error",
  1749. "schema": {
  1750. "$ref": "#/definitions/base.HTTPError"
  1751. }
  1752. }
  1753. }
  1754. }
  1755. },
  1756. "/api/v1/charge/obj_charge/house_list": {
  1757. "get": {
  1758. "description": "房屋收费 房屋列表",
  1759. "consumes": [
  1760. "application/json"
  1761. ],
  1762. "produces": [
  1763. "application/json"
  1764. ],
  1765. "tags": [
  1766. "对象收费相关"
  1767. ],
  1768. "summary": "房屋收费 房屋列表",
  1769. "parameters": [
  1770. {
  1771. "type": "string",
  1772. "description": "token",
  1773. "name": "token",
  1774. "in": "header",
  1775. "required": true
  1776. },
  1777. {
  1778. "type": "integer",
  1779. "description": " ",
  1780. "name": "page",
  1781. "in": "query"
  1782. },
  1783. {
  1784. "type": "integer",
  1785. "description": " ",
  1786. "name": "page_size",
  1787. "in": "query"
  1788. }
  1789. ],
  1790. "responses": {
  1791. "200": {
  1792. "description": "OK",
  1793. "schema": {
  1794. "$ref": "#/definitions/v1.ChargeHouseGroupResponse"
  1795. }
  1796. },
  1797. "500": {
  1798. "description": "Internal Server Error",
  1799. "schema": {
  1800. "$ref": "#/definitions/base.HTTPError"
  1801. }
  1802. }
  1803. }
  1804. }
  1805. },
  1806. "/api/v1/charge/obj_charge/pay": {
  1807. "put": {
  1808. "description": "欠费线下缴费",
  1809. "consumes": [
  1810. "application/json"
  1811. ],
  1812. "produces": [
  1813. "application/json"
  1814. ],
  1815. "tags": [
  1816. "对象收费相关"
  1817. ],
  1818. "summary": "欠费线下缴费",
  1819. "parameters": [
  1820. {
  1821. "type": "string",
  1822. "description": "token",
  1823. "name": "token",
  1824. "in": "header",
  1825. "required": true
  1826. },
  1827. {
  1828. "description": " ",
  1829. "name": "body",
  1830. "in": "body",
  1831. "required": true,
  1832. "schema": {
  1833. "$ref": "#/definitions/v1.ChargeBillPayBody"
  1834. }
  1835. }
  1836. ],
  1837. "responses": {
  1838. "200": {
  1839. "description": "OK",
  1840. "schema": {
  1841. "$ref": "#/definitions/v1.ChargeBillPayResponse"
  1842. }
  1843. },
  1844. "500": {
  1845. "description": "Internal Server Error",
  1846. "schema": {
  1847. "$ref": "#/definitions/base.HTTPError"
  1848. }
  1849. }
  1850. }
  1851. }
  1852. },
  1853. "/api/v1/charge/obj_charge/pre_pay": {
  1854. "put": {
  1855. "description": "线下预缴物业费或车位费",
  1856. "consumes": [
  1857. "application/json"
  1858. ],
  1859. "produces": [
  1860. "application/json"
  1861. ],
  1862. "tags": [
  1863. "对象收费相关"
  1864. ],
  1865. "summary": "线下预缴物业费或车位费",
  1866. "parameters": [
  1867. {
  1868. "type": "string",
  1869. "description": "token",
  1870. "name": "token",
  1871. "in": "header",
  1872. "required": true
  1873. },
  1874. {
  1875. "description": " ",
  1876. "name": "body",
  1877. "in": "body",
  1878. "required": true,
  1879. "schema": {
  1880. "$ref": "#/definitions/v1.ChargePrePayBody"
  1881. }
  1882. }
  1883. ],
  1884. "responses": {
  1885. "200": {
  1886. "description": "OK",
  1887. "schema": {
  1888. "$ref": "#/definitions/v1.ChargePrePayResponse"
  1889. }
  1890. },
  1891. "500": {
  1892. "description": "Internal Server Error",
  1893. "schema": {
  1894. "$ref": "#/definitions/base.HTTPError"
  1895. }
  1896. }
  1897. }
  1898. }
  1899. },
  1900. "/api/v1/charge/obj_charge/pre_pay_info": {
  1901. "get": {
  1902. "description": "预缴物业费或车位费前获取对应的金额信息",
  1903. "consumes": [
  1904. "application/json"
  1905. ],
  1906. "produces": [
  1907. "application/json"
  1908. ],
  1909. "tags": [
  1910. "对象收费相关"
  1911. ],
  1912. "summary": "预缴物业费或车位费前获取对应的金额信息",
  1913. "parameters": [
  1914. {
  1915. "type": "string",
  1916. "description": "token",
  1917. "name": "token",
  1918. "in": "header",
  1919. "required": true
  1920. },
  1921. {
  1922. "type": "integer",
  1923. "description": "关系id",
  1924. "name": "bind_id",
  1925. "in": "query",
  1926. "required": true
  1927. },
  1928. {
  1929. "type": "integer",
  1930. "description": "缴费月数",
  1931. "name": "months",
  1932. "in": "query",
  1933. "required": true
  1934. }
  1935. ],
  1936. "responses": {
  1937. "200": {
  1938. "description": "OK",
  1939. "schema": {
  1940. "$ref": "#/definitions/v1.ChargePrePayInfoResponse"
  1941. }
  1942. },
  1943. "500": {
  1944. "description": "Internal Server Error",
  1945. "schema": {
  1946. "$ref": "#/definitions/base.HTTPError"
  1947. }
  1948. }
  1949. }
  1950. }
  1951. },
  1952. "/api/v1/charge/obj_charge/space_list": {
  1953. "get": {
  1954. "description": "车位收费 车位列表",
  1955. "consumes": [
  1956. "application/json"
  1957. ],
  1958. "produces": [
  1959. "application/json"
  1960. ],
  1961. "tags": [
  1962. "对象收费相关"
  1963. ],
  1964. "summary": "车位收费 车位列表",
  1965. "parameters": [
  1966. {
  1967. "type": "string",
  1968. "description": "token",
  1969. "name": "token",
  1970. "in": "header",
  1971. "required": true
  1972. },
  1973. {
  1974. "type": "integer",
  1975. "description": " ",
  1976. "name": "page",
  1977. "in": "query"
  1978. },
  1979. {
  1980. "type": "integer",
  1981. "description": " ",
  1982. "name": "page_size",
  1983. "in": "query"
  1984. }
  1985. ],
  1986. "responses": {
  1987. "200": {
  1988. "description": "OK",
  1989. "schema": {
  1990. "$ref": "#/definitions/v1.ChargeSpaceGroupResponse"
  1991. }
  1992. },
  1993. "500": {
  1994. "description": "Internal Server Error",
  1995. "schema": {
  1996. "$ref": "#/definitions/base.HTTPError"
  1997. }
  1998. }
  1999. }
  2000. }
  2001. },
  2002. "/api/v1/charge/obj_charge/ticket": {
  2003. "get": {
  2004. "description": "小票和收据信息",
  2005. "consumes": [
  2006. "application/json"
  2007. ],
  2008. "produces": [
  2009. "application/json"
  2010. ],
  2011. "tags": [
  2012. "对象收费相关"
  2013. ],
  2014. "summary": "小票和收据信息",
  2015. "parameters": [
  2016. {
  2017. "type": "string",
  2018. "description": "token",
  2019. "name": "token",
  2020. "in": "header",
  2021. "required": true
  2022. },
  2023. {
  2024. "type": "string",
  2025. "description": "订单号 ",
  2026. "name": "order_id",
  2027. "in": "query",
  2028. "required": true
  2029. }
  2030. ],
  2031. "responses": {
  2032. "200": {
  2033. "description": "OK",
  2034. "schema": {
  2035. "$ref": "#/definitions/v1.ChargeOrderTicketResponse"
  2036. }
  2037. },
  2038. "500": {
  2039. "description": "Internal Server Error",
  2040. "schema": {
  2041. "$ref": "#/definitions/base.HTTPError"
  2042. }
  2043. }
  2044. }
  2045. }
  2046. },
  2047. "/api/v1/charge/obj_charge/time": {
  2048. "put": {
  2049. "description": "变更时间",
  2050. "consumes": [
  2051. "application/json"
  2052. ],
  2053. "produces": [
  2054. "application/json"
  2055. ],
  2056. "tags": [
  2057. "对象收费相关"
  2058. ],
  2059. "summary": "变更时间",
  2060. "parameters": [
  2061. {
  2062. "type": "string",
  2063. "description": "token",
  2064. "name": "token",
  2065. "in": "header",
  2066. "required": true
  2067. },
  2068. {
  2069. "description": " ",
  2070. "name": "body",
  2071. "in": "body",
  2072. "required": true,
  2073. "schema": {
  2074. "$ref": "#/definitions/v1.ChargeTimeSetBody"
  2075. }
  2076. }
  2077. ],
  2078. "responses": {
  2079. "200": {
  2080. "description": "OK",
  2081. "schema": {
  2082. "$ref": "#/definitions/v1.ChargeTimeSetResponse"
  2083. }
  2084. },
  2085. "500": {
  2086. "description": "Internal Server Error",
  2087. "schema": {
  2088. "$ref": "#/definitions/base.HTTPError"
  2089. }
  2090. }
  2091. }
  2092. }
  2093. },
  2094. "/api/v1/charge/obj_charge/unpay_list": {
  2095. "get": {
  2096. "description": "欠费缴费欠费列表",
  2097. "consumes": [
  2098. "application/json"
  2099. ],
  2100. "produces": [
  2101. "application/json"
  2102. ],
  2103. "tags": [
  2104. "对象收费相关"
  2105. ],
  2106. "summary": "欠费缴费欠费列表",
  2107. "parameters": [
  2108. {
  2109. "type": "string",
  2110. "description": "token",
  2111. "name": "token",
  2112. "in": "header",
  2113. "required": true
  2114. },
  2115. {
  2116. "type": "integer",
  2117. "description": "房屋/车位/车辆id",
  2118. "name": "obj_id",
  2119. "in": "query",
  2120. "required": true
  2121. },
  2122. {
  2123. "type": "integer",
  2124. "description": "1 房屋 2 车位 3 车辆 ",
  2125. "name": "obj_type",
  2126. "in": "query",
  2127. "required": true
  2128. },
  2129. {
  2130. "type": "integer",
  2131. "description": " ",
  2132. "name": "page",
  2133. "in": "query"
  2134. },
  2135. {
  2136. "type": "integer",
  2137. "description": " ",
  2138. "name": "page_size",
  2139. "in": "query"
  2140. }
  2141. ],
  2142. "responses": {
  2143. "200": {
  2144. "description": "OK",
  2145. "schema": {
  2146. "$ref": "#/definitions/v1.ChargeUnpayListResponse"
  2147. }
  2148. },
  2149. "500": {
  2150. "description": "Internal Server Error",
  2151. "schema": {
  2152. "$ref": "#/definitions/base.HTTPError"
  2153. }
  2154. }
  2155. }
  2156. }
  2157. },
  2158. "/api/v1/charge/obj_charge/vehicle_list": {
  2159. "get": {
  2160. "description": "车辆收费 车辆列表",
  2161. "consumes": [
  2162. "application/json"
  2163. ],
  2164. "produces": [
  2165. "application/json"
  2166. ],
  2167. "tags": [
  2168. "对象收费相关"
  2169. ],
  2170. "summary": "车辆收费 车辆列表",
  2171. "parameters": [
  2172. {
  2173. "type": "string",
  2174. "description": "token",
  2175. "name": "token",
  2176. "in": "header",
  2177. "required": true
  2178. },
  2179. {
  2180. "type": "integer",
  2181. "description": " ",
  2182. "name": "page",
  2183. "in": "query"
  2184. },
  2185. {
  2186. "type": "integer",
  2187. "description": " ",
  2188. "name": "page_size",
  2189. "in": "query"
  2190. }
  2191. ],
  2192. "responses": {
  2193. "200": {
  2194. "description": "OK",
  2195. "schema": {
  2196. "$ref": "#/definitions/v1.ChargeVehicleGroupResponse"
  2197. }
  2198. },
  2199. "500": {
  2200. "description": "Internal Server Error",
  2201. "schema": {
  2202. "$ref": "#/definitions/base.HTTPError"
  2203. }
  2204. }
  2205. }
  2206. }
  2207. },
  2208. "/api/v1/charge/order/confirm": {
  2209. "put": {
  2210. "description": "确认订单已支付",
  2211. "consumes": [
  2212. "application/json"
  2213. ],
  2214. "produces": [
  2215. "application/json"
  2216. ],
  2217. "tags": [
  2218. "缴费订单"
  2219. ],
  2220. "summary": "确认订单已支付",
  2221. "parameters": [
  2222. {
  2223. "type": "string",
  2224. "description": "token",
  2225. "name": "token",
  2226. "in": "header",
  2227. "required": true
  2228. },
  2229. {
  2230. "description": " ",
  2231. "name": "body",
  2232. "in": "body",
  2233. "required": true,
  2234. "schema": {
  2235. "$ref": "#/definitions/v1.ChargeOrderPayBody"
  2236. }
  2237. }
  2238. ],
  2239. "responses": {
  2240. "200": {
  2241. "description": "OK",
  2242. "schema": {
  2243. "$ref": "#/definitions/v1.ChargeOrderPayResponse"
  2244. }
  2245. },
  2246. "500": {
  2247. "description": "Internal Server Error",
  2248. "schema": {
  2249. "$ref": "#/definitions/base.HTTPError"
  2250. }
  2251. }
  2252. }
  2253. }
  2254. },
  2255. "/api/v1/charge/order/info": {
  2256. "get": {
  2257. "description": "订单详情",
  2258. "consumes": [
  2259. "application/json"
  2260. ],
  2261. "produces": [
  2262. "application/json"
  2263. ],
  2264. "tags": [
  2265. "缴费订单"
  2266. ],
  2267. "summary": "订单详情",
  2268. "parameters": [
  2269. {
  2270. "type": "string",
  2271. "description": "token",
  2272. "name": "token",
  2273. "in": "header",
  2274. "required": true
  2275. },
  2276. {
  2277. "type": "string",
  2278. "description": "订单详情",
  2279. "name": "order_id",
  2280. "in": "query",
  2281. "required": true
  2282. }
  2283. ],
  2284. "responses": {
  2285. "200": {
  2286. "description": "OK",
  2287. "schema": {
  2288. "$ref": "#/definitions/v1.ChargeOrderInfoResponse"
  2289. }
  2290. },
  2291. "500": {
  2292. "description": "Internal Server Error",
  2293. "schema": {
  2294. "$ref": "#/definitions/base.HTTPError"
  2295. }
  2296. }
  2297. }
  2298. }
  2299. },
  2300. "/api/v1/charge/order/list": {
  2301. "get": {
  2302. "description": "缴费订单列表",
  2303. "consumes": [
  2304. "application/json"
  2305. ],
  2306. "produces": [
  2307. "application/json"
  2308. ],
  2309. "tags": [
  2310. "缴费订单"
  2311. ],
  2312. "summary": "缴费订单列表",
  2313. "parameters": [
  2314. {
  2315. "type": "string",
  2316. "description": "token",
  2317. "name": "token",
  2318. "in": "header",
  2319. "required": true
  2320. },
  2321. {
  2322. "type": "integer",
  2323. "description": " ",
  2324. "name": "page",
  2325. "in": "query"
  2326. },
  2327. {
  2328. "type": "integer",
  2329. "description": " ",
  2330. "name": "page_size",
  2331. "in": "query"
  2332. },
  2333. {
  2334. "type": "integer",
  2335. "description": "1 现金 2 微信 3 支付宝 4 pos 5 转账 6 小程序微信支付 7 小程序支付宝支付 8 app 微信支付 9 app 支付宝支付",
  2336. "name": "pay_type",
  2337. "in": "query"
  2338. },
  2339. {
  2340. "type": "string",
  2341. "description": "对象名",
  2342. "name": "obj_name",
  2343. "in": "query"
  2344. },
  2345. {
  2346. "type": "integer",
  2347. "description": "1 待支付 2 已支付",
  2348. "name": "pay_status",
  2349. "in": "query"
  2350. }
  2351. ],
  2352. "responses": {
  2353. "200": {
  2354. "description": "OK",
  2355. "schema": {
  2356. "$ref": "#/definitions/v1.ChargeOrderListResponse"
  2357. }
  2358. },
  2359. "500": {
  2360. "description": "Internal Server Error",
  2361. "schema": {
  2362. "$ref": "#/definitions/base.HTTPError"
  2363. }
  2364. }
  2365. }
  2366. }
  2367. },
  2368. "/api/v1/charge/payed_bill/list": {
  2369. "get": {
  2370. "description": "已缴账单",
  2371. "consumes": [
  2372. "application/json"
  2373. ],
  2374. "produces": [
  2375. "application/json"
  2376. ],
  2377. "tags": [
  2378. "已缴账单"
  2379. ],
  2380. "summary": "已缴账单",
  2381. "parameters": [
  2382. {
  2383. "type": "string",
  2384. "description": "token",
  2385. "name": "token",
  2386. "in": "header",
  2387. "required": true
  2388. },
  2389. {
  2390. "type": "integer",
  2391. "description": " ",
  2392. "name": "page",
  2393. "in": "query"
  2394. },
  2395. {
  2396. "type": "integer",
  2397. "description": " ",
  2398. "name": "page_size",
  2399. "in": "query"
  2400. },
  2401. {
  2402. "type": "integer",
  2403. "description": "费用类型 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  2404. "name": "charge_type",
  2405. "in": "query"
  2406. },
  2407. {
  2408. "type": "string",
  2409. "description": "对象名",
  2410. "name": "obj_name",
  2411. "in": "query"
  2412. },
  2413. {
  2414. "type": "string",
  2415. "description": "费项名",
  2416. "name": "charge_name",
  2417. "in": "query"
  2418. },
  2419. {
  2420. "type": "integer",
  2421. "description": "1 房屋 2 车位 3 车辆 ",
  2422. "name": "obj_type",
  2423. "in": "query"
  2424. }
  2425. ],
  2426. "responses": {
  2427. "200": {
  2428. "description": "OK",
  2429. "schema": {
  2430. "$ref": "#/definitions/v1.ChargePayedBillListResponse"
  2431. }
  2432. },
  2433. "500": {
  2434. "description": "Internal Server Error",
  2435. "schema": {
  2436. "$ref": "#/definitions/base.HTTPError"
  2437. }
  2438. }
  2439. }
  2440. }
  2441. },
  2442. "/api/v1/charge/power": {
  2443. "get": {
  2444. "description": "抄表列表",
  2445. "consumes": [
  2446. "application/json"
  2447. ],
  2448. "produces": [
  2449. "application/json"
  2450. ],
  2451. "tags": [
  2452. "抄表"
  2453. ],
  2454. "summary": "抄表列表",
  2455. "parameters": [
  2456. {
  2457. "type": "integer",
  2458. "description": " ",
  2459. "name": "page",
  2460. "in": "query"
  2461. },
  2462. {
  2463. "type": "integer",
  2464. "description": " ",
  2465. "name": "page_size",
  2466. "in": "query"
  2467. },
  2468. {
  2469. "type": "integer",
  2470. "description": "费用类型 2 水费 3 电费 4 气费 ",
  2471. "name": "charge_type",
  2472. "in": "query"
  2473. },
  2474. {
  2475. "type": "string",
  2476. "description": "token",
  2477. "name": "token",
  2478. "in": "header",
  2479. "required": true
  2480. }
  2481. ],
  2482. "responses": {
  2483. "200": {
  2484. "description": "OK",
  2485. "schema": {
  2486. "$ref": "#/definitions/v1.PowerRecordListResponse"
  2487. }
  2488. },
  2489. "500": {
  2490. "description": "Internal Server Error",
  2491. "schema": {
  2492. "$ref": "#/definitions/base.HTTPError"
  2493. }
  2494. }
  2495. }
  2496. },
  2497. "post": {
  2498. "description": "添加抄表记录",
  2499. "consumes": [
  2500. "application/json"
  2501. ],
  2502. "produces": [
  2503. "application/json"
  2504. ],
  2505. "tags": [
  2506. "抄表"
  2507. ],
  2508. "summary": "添加抄表记录",
  2509. "parameters": [
  2510. {
  2511. "type": "string",
  2512. "description": "token",
  2513. "name": "token",
  2514. "in": "header",
  2515. "required": true
  2516. },
  2517. {
  2518. "description": "信息",
  2519. "name": "body",
  2520. "in": "body",
  2521. "required": true,
  2522. "schema": {
  2523. "$ref": "#/definitions/v1.PowerRecordAddBody"
  2524. }
  2525. }
  2526. ],
  2527. "responses": {
  2528. "200": {
  2529. "description": "OK",
  2530. "schema": {
  2531. "$ref": "#/definitions/v1.PowerRecordAddResponse"
  2532. }
  2533. },
  2534. "500": {
  2535. "description": "Internal Server Error",
  2536. "schema": {
  2537. "$ref": "#/definitions/base.HTTPError"
  2538. }
  2539. }
  2540. }
  2541. },
  2542. "delete": {
  2543. "description": "删除抄表记录",
  2544. "consumes": [
  2545. "application/json"
  2546. ],
  2547. "produces": [
  2548. "application/json"
  2549. ],
  2550. "tags": [
  2551. "抄表"
  2552. ],
  2553. "summary": "删除抄表记录",
  2554. "parameters": [
  2555. {
  2556. "type": "integer",
  2557. "description": " ",
  2558. "name": "id",
  2559. "in": "query",
  2560. "required": true
  2561. },
  2562. {
  2563. "type": "string",
  2564. "description": "token",
  2565. "name": "token",
  2566. "in": "header",
  2567. "required": true
  2568. }
  2569. ],
  2570. "responses": {
  2571. "200": {
  2572. "description": "OK",
  2573. "schema": {
  2574. "$ref": "#/definitions/v1.PowerRecordDelResponse"
  2575. }
  2576. },
  2577. "500": {
  2578. "description": "Internal Server Error",
  2579. "schema": {
  2580. "$ref": "#/definitions/base.HTTPError"
  2581. }
  2582. }
  2583. }
  2584. }
  2585. },
  2586. "/api/v1/charge/power/batch": {
  2587. "post": {
  2588. "description": "批量抄表",
  2589. "consumes": [
  2590. "application/json"
  2591. ],
  2592. "produces": [
  2593. "application/json"
  2594. ],
  2595. "tags": [
  2596. "抄表"
  2597. ],
  2598. "summary": "批量抄表",
  2599. "parameters": [
  2600. {
  2601. "type": "string",
  2602. "description": "jwt token",
  2603. "name": "token",
  2604. "in": "header",
  2605. "required": true
  2606. },
  2607. {
  2608. "type": "integer",
  2609. "description": "费用类型 2 水费 3 电费 4 气费",
  2610. "name": "charge_type",
  2611. "in": "query",
  2612. "required": true
  2613. },
  2614. {
  2615. "type": "file",
  2616. "description": "file",
  2617. "name": "file",
  2618. "in": "formData",
  2619. "required": true
  2620. }
  2621. ],
  2622. "responses": {
  2623. "200": {
  2624. "description": "OK",
  2625. "schema": {
  2626. "$ref": "#/definitions/v1.PowerRecordBatchAddResponse"
  2627. }
  2628. },
  2629. "500": {
  2630. "description": "Internal Server Error",
  2631. "schema": {
  2632. "$ref": "#/definitions/base.HTTPError"
  2633. }
  2634. }
  2635. }
  2636. }
  2637. },
  2638. "/api/v1/charge/power/template": {
  2639. "get": {
  2640. "description": "获取抄表模板",
  2641. "consumes": [
  2642. "application/json"
  2643. ],
  2644. "produces": [
  2645. "application/json"
  2646. ],
  2647. "tags": [
  2648. "抄表"
  2649. ],
  2650. "summary": "获取抄表模板",
  2651. "parameters": [
  2652. {
  2653. "type": "string",
  2654. "description": "token",
  2655. "name": "token",
  2656. "in": "header",
  2657. "required": true
  2658. }
  2659. ],
  2660. "responses": {
  2661. "200": {
  2662. "description": "OK",
  2663. "schema": {
  2664. "$ref": "#/definitions/v1.TemplateResponse"
  2665. }
  2666. },
  2667. "500": {
  2668. "description": "Internal Server Error",
  2669. "schema": {
  2670. "$ref": "#/definitions/base.HTTPError"
  2671. }
  2672. }
  2673. }
  2674. }
  2675. },
  2676. "/api/v1/charge/property_package": {
  2677. "get": {
  2678. "description": "物业费套餐列表",
  2679. "consumes": [
  2680. "application/json"
  2681. ],
  2682. "produces": [
  2683. "application/json"
  2684. ],
  2685. "tags": [
  2686. "物业费套餐"
  2687. ],
  2688. "summary": "物业费套餐列表",
  2689. "parameters": [
  2690. {
  2691. "type": "integer",
  2692. "description": " ",
  2693. "name": "page",
  2694. "in": "query"
  2695. },
  2696. {
  2697. "type": "integer",
  2698. "description": " ",
  2699. "name": "page_size",
  2700. "in": "query"
  2701. },
  2702. {
  2703. "type": "string",
  2704. "description": "token",
  2705. "name": "token",
  2706. "in": "header",
  2707. "required": true
  2708. }
  2709. ],
  2710. "responses": {
  2711. "200": {
  2712. "description": "OK",
  2713. "schema": {
  2714. "$ref": "#/definitions/v1.PropertyPackageListResponse"
  2715. }
  2716. },
  2717. "500": {
  2718. "description": "Internal Server Error",
  2719. "schema": {
  2720. "$ref": "#/definitions/base.HTTPError"
  2721. }
  2722. }
  2723. }
  2724. },
  2725. "put": {
  2726. "description": "修改物业费套餐",
  2727. "consumes": [
  2728. "application/json"
  2729. ],
  2730. "produces": [
  2731. "application/json"
  2732. ],
  2733. "tags": [
  2734. "物业费套餐"
  2735. ],
  2736. "summary": "修改物业费套餐",
  2737. "parameters": [
  2738. {
  2739. "type": "string",
  2740. "description": "token",
  2741. "name": "token",
  2742. "in": "header",
  2743. "required": true
  2744. },
  2745. {
  2746. "description": "信息",
  2747. "name": "body",
  2748. "in": "body",
  2749. "required": true,
  2750. "schema": {
  2751. "$ref": "#/definitions/v1.PropertyPackageUpdateBody"
  2752. }
  2753. }
  2754. ],
  2755. "responses": {
  2756. "200": {
  2757. "description": "OK",
  2758. "schema": {
  2759. "$ref": "#/definitions/v1.PropertyPackageUpdateResponse"
  2760. }
  2761. },
  2762. "500": {
  2763. "description": "Internal Server Error",
  2764. "schema": {
  2765. "$ref": "#/definitions/base.HTTPError"
  2766. }
  2767. }
  2768. }
  2769. },
  2770. "post": {
  2771. "description": "添加物业费套餐",
  2772. "consumes": [
  2773. "application/json"
  2774. ],
  2775. "produces": [
  2776. "application/json"
  2777. ],
  2778. "tags": [
  2779. "物业费套餐"
  2780. ],
  2781. "summary": "添加物业费套餐",
  2782. "parameters": [
  2783. {
  2784. "type": "string",
  2785. "description": "token",
  2786. "name": "token",
  2787. "in": "header",
  2788. "required": true
  2789. },
  2790. {
  2791. "description": "信息",
  2792. "name": "body",
  2793. "in": "body",
  2794. "required": true,
  2795. "schema": {
  2796. "$ref": "#/definitions/v1.PropertyPackageAddBody"
  2797. }
  2798. }
  2799. ],
  2800. "responses": {
  2801. "200": {
  2802. "description": "OK",
  2803. "schema": {
  2804. "$ref": "#/definitions/v1.PropertyPackageAddResponse"
  2805. }
  2806. },
  2807. "500": {
  2808. "description": "Internal Server Error",
  2809. "schema": {
  2810. "$ref": "#/definitions/base.HTTPError"
  2811. }
  2812. }
  2813. }
  2814. },
  2815. "delete": {
  2816. "description": "删除物业费套餐",
  2817. "consumes": [
  2818. "application/json"
  2819. ],
  2820. "produces": [
  2821. "application/json"
  2822. ],
  2823. "tags": [
  2824. "物业费套餐"
  2825. ],
  2826. "summary": "删除物业费套餐",
  2827. "parameters": [
  2828. {
  2829. "type": "integer",
  2830. "description": " ",
  2831. "name": "id",
  2832. "in": "query",
  2833. "required": true
  2834. },
  2835. {
  2836. "type": "string",
  2837. "description": "token",
  2838. "name": "token",
  2839. "in": "header",
  2840. "required": true
  2841. }
  2842. ],
  2843. "responses": {
  2844. "200": {
  2845. "description": "OK",
  2846. "schema": {
  2847. "$ref": "#/definitions/v1.PropertyPackageDelResponse"
  2848. }
  2849. },
  2850. "500": {
  2851. "description": "Internal Server Error",
  2852. "schema": {
  2853. "$ref": "#/definitions/base.HTTPError"
  2854. }
  2855. }
  2856. }
  2857. }
  2858. },
  2859. "/api/v1/charge/space/binded_list": {
  2860. "get": {
  2861. "description": "绑定了项目的车位列表",
  2862. "consumes": [
  2863. "application/json"
  2864. ],
  2865. "produces": [
  2866. "application/json"
  2867. ],
  2868. "tags": [
  2869. "费用绑定相关"
  2870. ],
  2871. "summary": "绑定了项目的车位列表",
  2872. "parameters": [
  2873. {
  2874. "type": "string",
  2875. "description": "token",
  2876. "name": "token",
  2877. "in": "header",
  2878. "required": true
  2879. },
  2880. {
  2881. "type": "integer",
  2882. "description": "费项id",
  2883. "name": "charge_id",
  2884. "in": "query",
  2885. "required": true
  2886. },
  2887. {
  2888. "type": "integer",
  2889. "description": " ",
  2890. "name": "page",
  2891. "in": "query"
  2892. },
  2893. {
  2894. "type": "integer",
  2895. "description": " ",
  2896. "name": "page_size",
  2897. "in": "query"
  2898. }
  2899. ],
  2900. "responses": {
  2901. "200": {
  2902. "description": "OK",
  2903. "schema": {
  2904. "$ref": "#/definitions/v1.ChargeSpaceBindedListResponse"
  2905. }
  2906. },
  2907. "500": {
  2908. "description": "Internal Server Error",
  2909. "schema": {
  2910. "$ref": "#/definitions/base.HTTPError"
  2911. }
  2912. }
  2913. }
  2914. }
  2915. },
  2916. "/api/v1/charge/space/can_bind_list": {
  2917. "get": {
  2918. "description": "可以绑定某项目的车位列表",
  2919. "consumes": [
  2920. "application/json"
  2921. ],
  2922. "produces": [
  2923. "application/json"
  2924. ],
  2925. "tags": [
  2926. "费用绑定相关"
  2927. ],
  2928. "summary": "可以绑定某项目的车位列表",
  2929. "parameters": [
  2930. {
  2931. "type": "string",
  2932. "description": "token",
  2933. "name": "token",
  2934. "in": "header",
  2935. "required": true
  2936. },
  2937. {
  2938. "type": "integer",
  2939. "description": "费项id",
  2940. "name": "charge_id",
  2941. "in": "query",
  2942. "required": true
  2943. },
  2944. {
  2945. "type": "integer",
  2946. "description": " ",
  2947. "name": "page",
  2948. "in": "query"
  2949. },
  2950. {
  2951. "type": "integer",
  2952. "description": " ",
  2953. "name": "page_size",
  2954. "in": "query"
  2955. }
  2956. ],
  2957. "responses": {
  2958. "200": {
  2959. "description": "OK",
  2960. "schema": {
  2961. "$ref": "#/definitions/v1.ChargeSpaceNotBindListResponse"
  2962. }
  2963. },
  2964. "500": {
  2965. "description": "Internal Server Error",
  2966. "schema": {
  2967. "$ref": "#/definitions/base.HTTPError"
  2968. }
  2969. }
  2970. }
  2971. }
  2972. },
  2973. "/api/v1/charge/unbind": {
  2974. "put": {
  2975. "description": "费用解绑对象",
  2976. "consumes": [
  2977. "application/json"
  2978. ],
  2979. "produces": [
  2980. "application/json"
  2981. ],
  2982. "tags": [
  2983. "费用绑定相关"
  2984. ],
  2985. "summary": "费用解绑对象",
  2986. "parameters": [
  2987. {
  2988. "type": "string",
  2989. "description": "token",
  2990. "name": "token",
  2991. "in": "header",
  2992. "required": true
  2993. },
  2994. {
  2995. "description": "信息",
  2996. "name": "body",
  2997. "in": "body",
  2998. "required": true,
  2999. "schema": {
  3000. "$ref": "#/definitions/v1.ChargeUnbindBody"
  3001. }
  3002. }
  3003. ],
  3004. "responses": {
  3005. "200": {
  3006. "description": "OK",
  3007. "schema": {
  3008. "$ref": "#/definitions/v1.ChargeUnbindResponse"
  3009. }
  3010. },
  3011. "500": {
  3012. "description": "Internal Server Error",
  3013. "schema": {
  3014. "$ref": "#/definitions/base.HTTPError"
  3015. }
  3016. }
  3017. }
  3018. }
  3019. },
  3020. "/api/v1/charge/unpay_bill/discard": {
  3021. "put": {
  3022. "description": "作废账单",
  3023. "consumes": [
  3024. "application/json"
  3025. ],
  3026. "produces": [
  3027. "application/json"
  3028. ],
  3029. "tags": [
  3030. "应收账单"
  3031. ],
  3032. "summary": "作废账单",
  3033. "parameters": [
  3034. {
  3035. "type": "string",
  3036. "description": "token",
  3037. "name": "token",
  3038. "in": "header",
  3039. "required": true
  3040. },
  3041. {
  3042. "description": " ",
  3043. "name": "body",
  3044. "in": "body",
  3045. "required": true,
  3046. "schema": {
  3047. "$ref": "#/definitions/v1.ChargeDelBillBody"
  3048. }
  3049. }
  3050. ],
  3051. "responses": {
  3052. "200": {
  3053. "description": "OK",
  3054. "schema": {
  3055. "$ref": "#/definitions/v1.ChargeDelBillResponse"
  3056. }
  3057. },
  3058. "500": {
  3059. "description": "Internal Server Error",
  3060. "schema": {
  3061. "$ref": "#/definitions/base.HTTPError"
  3062. }
  3063. }
  3064. }
  3065. }
  3066. },
  3067. "/api/v1/charge/unpay_bill/obj_bill_list": {
  3068. "get": {
  3069. "description": "应收账单平铺列表",
  3070. "consumes": [
  3071. "application/json"
  3072. ],
  3073. "produces": [
  3074. "application/json"
  3075. ],
  3076. "tags": [
  3077. "应收账单"
  3078. ],
  3079. "summary": "应收账单平铺列表",
  3080. "parameters": [
  3081. {
  3082. "type": "string",
  3083. "description": "token",
  3084. "name": "token",
  3085. "in": "header",
  3086. "required": true
  3087. },
  3088. {
  3089. "type": "integer",
  3090. "description": " ",
  3091. "name": "page",
  3092. "in": "query"
  3093. },
  3094. {
  3095. "type": "integer",
  3096. "description": " ",
  3097. "name": "page_size",
  3098. "in": "query"
  3099. },
  3100. {
  3101. "type": "integer",
  3102. "description": "房屋/车位/车辆id",
  3103. "name": "obj_id",
  3104. "in": "query"
  3105. },
  3106. {
  3107. "type": "integer",
  3108. "description": "1 房屋 2 车位 3 车辆 ",
  3109. "name": "obj_type",
  3110. "in": "query"
  3111. },
  3112. {
  3113. "type": "integer",
  3114. "description": "费用类型 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  3115. "name": "charge_type",
  3116. "in": "query"
  3117. },
  3118. {
  3119. "type": "string",
  3120. "description": "对象名",
  3121. "name": "obj_name",
  3122. "in": "query"
  3123. },
  3124. {
  3125. "type": "string",
  3126. "description": "费项名",
  3127. "name": "charge_name",
  3128. "in": "query"
  3129. }
  3130. ],
  3131. "responses": {
  3132. "200": {
  3133. "description": "OK",
  3134. "schema": {
  3135. "$ref": "#/definitions/v1.ChargeObjBillListResponse"
  3136. }
  3137. },
  3138. "500": {
  3139. "description": "Internal Server Error",
  3140. "schema": {
  3141. "$ref": "#/definitions/base.HTTPError"
  3142. }
  3143. }
  3144. }
  3145. }
  3146. },
  3147. "/api/v1/charge/unpay_bill/obj_list": {
  3148. "get": {
  3149. "description": "应收账单中的对象列表(已废弃)",
  3150. "consumes": [
  3151. "application/json"
  3152. ],
  3153. "produces": [
  3154. "application/json"
  3155. ],
  3156. "tags": [
  3157. "应收账单"
  3158. ],
  3159. "summary": "应收账单中的对象列表(已废弃)",
  3160. "parameters": [
  3161. {
  3162. "type": "string",
  3163. "description": "token",
  3164. "name": "token",
  3165. "in": "header",
  3166. "required": true
  3167. },
  3168. {
  3169. "type": "integer",
  3170. "description": " ",
  3171. "name": "page",
  3172. "in": "query"
  3173. },
  3174. {
  3175. "type": "integer",
  3176. "description": " ",
  3177. "name": "page_size",
  3178. "in": "query"
  3179. }
  3180. ],
  3181. "responses": {
  3182. "200": {
  3183. "description": "OK",
  3184. "schema": {
  3185. "$ref": "#/definitions/v1.ChargeBillObjListResponse"
  3186. }
  3187. },
  3188. "500": {
  3189. "description": "Internal Server Error",
  3190. "schema": {
  3191. "$ref": "#/definitions/base.HTTPError"
  3192. }
  3193. }
  3194. }
  3195. }
  3196. },
  3197. "/api/v1/charge/unpay_bill/urge": {
  3198. "post": {
  3199. "description": "一键催缴",
  3200. "consumes": [
  3201. "application/json"
  3202. ],
  3203. "produces": [
  3204. "application/json"
  3205. ],
  3206. "tags": [
  3207. "应收账单"
  3208. ],
  3209. "summary": "一键催缴",
  3210. "parameters": [
  3211. {
  3212. "type": "string",
  3213. "description": "token",
  3214. "name": "token",
  3215. "in": "header",
  3216. "required": true
  3217. },
  3218. {
  3219. "description": " ",
  3220. "name": "body",
  3221. "in": "body",
  3222. "required": true,
  3223. "schema": {
  3224. "$ref": "#/definitions/v1.ChargeUrgeBody"
  3225. }
  3226. }
  3227. ],
  3228. "responses": {
  3229. "200": {
  3230. "description": "OK",
  3231. "schema": {
  3232. "$ref": "#/definitions/v1.ChargeUrgeResponse"
  3233. }
  3234. },
  3235. "500": {
  3236. "description": "Internal Server Error",
  3237. "schema": {
  3238. "$ref": "#/definitions/base.HTTPError"
  3239. }
  3240. }
  3241. }
  3242. }
  3243. },
  3244. "/api/v1/charge/urge": {
  3245. "get": {
  3246. "description": "催缴信息",
  3247. "consumes": [
  3248. "application/json"
  3249. ],
  3250. "produces": [
  3251. "application/json"
  3252. ],
  3253. "tags": [
  3254. "催缴设置"
  3255. ],
  3256. "summary": "催缴信息",
  3257. "parameters": [
  3258. {
  3259. "type": "string",
  3260. "description": "token",
  3261. "name": "token",
  3262. "in": "header",
  3263. "required": true
  3264. }
  3265. ],
  3266. "responses": {
  3267. "200": {
  3268. "description": "OK",
  3269. "schema": {
  3270. "$ref": "#/definitions/v1.ChargeUrgeInfoResponse"
  3271. }
  3272. },
  3273. "500": {
  3274. "description": "Internal Server Error",
  3275. "schema": {
  3276. "$ref": "#/definitions/base.HTTPError"
  3277. }
  3278. }
  3279. }
  3280. },
  3281. "put": {
  3282. "description": "催缴设置",
  3283. "consumes": [
  3284. "application/json"
  3285. ],
  3286. "produces": [
  3287. "application/json"
  3288. ],
  3289. "tags": [
  3290. "催缴设置"
  3291. ],
  3292. "summary": "催缴设置",
  3293. "parameters": [
  3294. {
  3295. "type": "string",
  3296. "description": "token",
  3297. "name": "token",
  3298. "in": "header",
  3299. "required": true
  3300. },
  3301. {
  3302. "description": " ",
  3303. "name": "body",
  3304. "in": "body",
  3305. "required": true,
  3306. "schema": {
  3307. "$ref": "#/definitions/v1.ChargeUrgeSetBody"
  3308. }
  3309. }
  3310. ],
  3311. "responses": {
  3312. "200": {
  3313. "description": "OK",
  3314. "schema": {
  3315. "$ref": "#/definitions/v1.ChargeUrgeSetResponse"
  3316. }
  3317. },
  3318. "500": {
  3319. "description": "Internal Server Error",
  3320. "schema": {
  3321. "$ref": "#/definitions/base.HTTPError"
  3322. }
  3323. }
  3324. }
  3325. }
  3326. },
  3327. "/api/v1/charge/vehicle/binded_list": {
  3328. "get": {
  3329. "description": "绑定了项目的车辆列表",
  3330. "consumes": [
  3331. "application/json"
  3332. ],
  3333. "produces": [
  3334. "application/json"
  3335. ],
  3336. "tags": [
  3337. "费用绑定相关"
  3338. ],
  3339. "summary": "绑定了项目的车辆列表",
  3340. "parameters": [
  3341. {
  3342. "type": "string",
  3343. "description": "token",
  3344. "name": "token",
  3345. "in": "header",
  3346. "required": true
  3347. },
  3348. {
  3349. "type": "integer",
  3350. "description": "费项id",
  3351. "name": "charge_id",
  3352. "in": "query",
  3353. "required": true
  3354. },
  3355. {
  3356. "type": "integer",
  3357. "description": " ",
  3358. "name": "page",
  3359. "in": "query"
  3360. },
  3361. {
  3362. "type": "integer",
  3363. "description": " ",
  3364. "name": "page_size",
  3365. "in": "query"
  3366. }
  3367. ],
  3368. "responses": {
  3369. "200": {
  3370. "description": "OK",
  3371. "schema": {
  3372. "$ref": "#/definitions/v1.ChargeVehicleBindedListResponse"
  3373. }
  3374. },
  3375. "500": {
  3376. "description": "Internal Server Error",
  3377. "schema": {
  3378. "$ref": "#/definitions/base.HTTPError"
  3379. }
  3380. }
  3381. }
  3382. }
  3383. },
  3384. "/api/v1/charge/vehicle/can_bind_list": {
  3385. "get": {
  3386. "description": "可以绑定某项目的车辆列表",
  3387. "consumes": [
  3388. "application/json"
  3389. ],
  3390. "produces": [
  3391. "application/json"
  3392. ],
  3393. "tags": [
  3394. "费用绑定相关"
  3395. ],
  3396. "summary": "可以绑定某项目的车辆列表",
  3397. "parameters": [
  3398. {
  3399. "type": "string",
  3400. "description": "token",
  3401. "name": "token",
  3402. "in": "header",
  3403. "required": true
  3404. },
  3405. {
  3406. "type": "integer",
  3407. "description": "费项id",
  3408. "name": "charge_id",
  3409. "in": "query",
  3410. "required": true
  3411. },
  3412. {
  3413. "type": "integer",
  3414. "description": " ",
  3415. "name": "page",
  3416. "in": "query"
  3417. },
  3418. {
  3419. "type": "integer",
  3420. "description": " ",
  3421. "name": "page_size",
  3422. "in": "query"
  3423. }
  3424. ],
  3425. "responses": {
  3426. "200": {
  3427. "description": "OK",
  3428. "schema": {
  3429. "$ref": "#/definitions/v1.ChargeVehicleNotBindListResponse"
  3430. }
  3431. },
  3432. "500": {
  3433. "description": "Internal Server Error",
  3434. "schema": {
  3435. "$ref": "#/definitions/base.HTTPError"
  3436. }
  3437. }
  3438. }
  3439. }
  3440. },
  3441. "/api/v1/department": {
  3442. "get": {
  3443. "description": "部门列表",
  3444. "consumes": [
  3445. "application/json"
  3446. ],
  3447. "produces": [
  3448. "application/json"
  3449. ],
  3450. "tags": [
  3451. "部门"
  3452. ],
  3453. "summary": "部门列表",
  3454. "parameters": [
  3455. {
  3456. "type": "integer",
  3457. "description": " ",
  3458. "name": "page",
  3459. "in": "query"
  3460. },
  3461. {
  3462. "type": "integer",
  3463. "description": " ",
  3464. "name": "page_size",
  3465. "in": "query"
  3466. },
  3467. {
  3468. "type": "string",
  3469. "description": "token",
  3470. "name": "token",
  3471. "in": "header",
  3472. "required": true
  3473. }
  3474. ],
  3475. "responses": {
  3476. "200": {
  3477. "description": "OK",
  3478. "schema": {
  3479. "$ref": "#/definitions/v1.DepartmentListResponse"
  3480. }
  3481. },
  3482. "500": {
  3483. "description": "Internal Server Error",
  3484. "schema": {
  3485. "$ref": "#/definitions/base.HTTPError"
  3486. }
  3487. }
  3488. }
  3489. },
  3490. "put": {
  3491. "description": "更改部门",
  3492. "consumes": [
  3493. "application/json"
  3494. ],
  3495. "produces": [
  3496. "application/json"
  3497. ],
  3498. "tags": [
  3499. "部门"
  3500. ],
  3501. "summary": "更改部门",
  3502. "parameters": [
  3503. {
  3504. "type": "string",
  3505. "description": "token",
  3506. "name": "token",
  3507. "in": "header",
  3508. "required": true
  3509. },
  3510. {
  3511. "description": "信息",
  3512. "name": "body",
  3513. "in": "body",
  3514. "required": true,
  3515. "schema": {
  3516. "$ref": "#/definitions/v1.DepartmentUpdateBody"
  3517. }
  3518. }
  3519. ],
  3520. "responses": {
  3521. "200": {
  3522. "description": "OK",
  3523. "schema": {
  3524. "$ref": "#/definitions/v1.DepartmentUpdateResponse"
  3525. }
  3526. },
  3527. "500": {
  3528. "description": "Internal Server Error",
  3529. "schema": {
  3530. "$ref": "#/definitions/base.HTTPError"
  3531. }
  3532. }
  3533. }
  3534. },
  3535. "post": {
  3536. "description": "添加部门",
  3537. "consumes": [
  3538. "application/json"
  3539. ],
  3540. "produces": [
  3541. "application/json"
  3542. ],
  3543. "tags": [
  3544. "部门"
  3545. ],
  3546. "summary": "添加部门",
  3547. "parameters": [
  3548. {
  3549. "type": "string",
  3550. "description": "token",
  3551. "name": "token",
  3552. "in": "header",
  3553. "required": true
  3554. },
  3555. {
  3556. "description": "信息",
  3557. "name": "body",
  3558. "in": "body",
  3559. "required": true,
  3560. "schema": {
  3561. "$ref": "#/definitions/v1.DepartmentAddBody"
  3562. }
  3563. }
  3564. ],
  3565. "responses": {
  3566. "200": {
  3567. "description": "OK",
  3568. "schema": {
  3569. "$ref": "#/definitions/v1.DepartmentAddResponse"
  3570. }
  3571. },
  3572. "500": {
  3573. "description": "Internal Server Error",
  3574. "schema": {
  3575. "$ref": "#/definitions/base.HTTPError"
  3576. }
  3577. }
  3578. }
  3579. },
  3580. "delete": {
  3581. "description": "删除部门",
  3582. "consumes": [
  3583. "application/json"
  3584. ],
  3585. "produces": [
  3586. "application/json"
  3587. ],
  3588. "tags": [
  3589. "部门"
  3590. ],
  3591. "summary": "删除部门",
  3592. "parameters": [
  3593. {
  3594. "type": "string",
  3595. "description": "token",
  3596. "name": "token",
  3597. "in": "header",
  3598. "required": true
  3599. },
  3600. {
  3601. "type": "integer",
  3602. "description": "id",
  3603. "name": "id",
  3604. "in": "query",
  3605. "required": true
  3606. }
  3607. ],
  3608. "responses": {
  3609. "200": {
  3610. "description": "OK",
  3611. "schema": {
  3612. "$ref": "#/definitions/v1.DepartmentDelResponse"
  3613. }
  3614. },
  3615. "500": {
  3616. "description": "Internal Server Error",
  3617. "schema": {
  3618. "$ref": "#/definitions/base.HTTPError"
  3619. }
  3620. }
  3621. }
  3622. }
  3623. },
  3624. "/api/v1/garden": {
  3625. "get": {
  3626. "description": "小区信息",
  3627. "consumes": [
  3628. "application/json"
  3629. ],
  3630. "produces": [
  3631. "application/json"
  3632. ],
  3633. "tags": [
  3634. "小区"
  3635. ],
  3636. "summary": "小区信息",
  3637. "parameters": [
  3638. {
  3639. "type": "string",
  3640. "description": " ",
  3641. "name": "token",
  3642. "in": "header",
  3643. "required": true
  3644. }
  3645. ],
  3646. "responses": {
  3647. "200": {
  3648. "description": "OK",
  3649. "schema": {
  3650. "$ref": "#/definitions/v1.GardenInfoResponse"
  3651. }
  3652. },
  3653. "500": {
  3654. "description": "Internal Server Error",
  3655. "schema": {
  3656. "$ref": "#/definitions/base.HTTPError"
  3657. }
  3658. }
  3659. }
  3660. },
  3661. "put": {
  3662. "description": "修改小区普通信息",
  3663. "consumes": [
  3664. "application/json"
  3665. ],
  3666. "produces": [
  3667. "application/json"
  3668. ],
  3669. "tags": [
  3670. "小区"
  3671. ],
  3672. "summary": "修改小区普通信息",
  3673. "parameters": [
  3674. {
  3675. "type": "string",
  3676. "description": " ",
  3677. "name": "token",
  3678. "in": "header",
  3679. "required": true
  3680. },
  3681. {
  3682. "description": "小区信息",
  3683. "name": "body",
  3684. "in": "body",
  3685. "required": true,
  3686. "schema": {
  3687. "$ref": "#/definitions/v1.GardenUpdateBody"
  3688. }
  3689. }
  3690. ],
  3691. "responses": {
  3692. "200": {
  3693. "description": "OK",
  3694. "schema": {
  3695. "$ref": "#/definitions/v1.GardenUpdateResponse"
  3696. }
  3697. },
  3698. "500": {
  3699. "description": "Internal Server Error",
  3700. "schema": {
  3701. "$ref": "#/definitions/base.HTTPError"
  3702. }
  3703. }
  3704. }
  3705. }
  3706. },
  3707. "/api/v1/garden/key_info": {
  3708. "get": {
  3709. "description": "小区关键信息申请列表",
  3710. "consumes": [
  3711. "application/json"
  3712. ],
  3713. "produces": [
  3714. "application/json"
  3715. ],
  3716. "tags": [
  3717. "小区"
  3718. ],
  3719. "summary": "小区关键信息申请列表",
  3720. "parameters": [
  3721. {
  3722. "type": "string",
  3723. "description": " ",
  3724. "name": "token",
  3725. "in": "header",
  3726. "required": true
  3727. },
  3728. {
  3729. "type": "integer",
  3730. "description": " ",
  3731. "name": "page",
  3732. "in": "query"
  3733. },
  3734. {
  3735. "type": "integer",
  3736. "description": " ",
  3737. "name": "page_size",
  3738. "in": "query"
  3739. },
  3740. {
  3741. "type": "integer",
  3742. "description": "0不过率 1 待审核 2 审核通过 3 未通过 ",
  3743. "name": "status",
  3744. "in": "query"
  3745. }
  3746. ],
  3747. "responses": {
  3748. "200": {
  3749. "description": "OK",
  3750. "schema": {
  3751. "$ref": "#/definitions/v1.GardenKeyInfoChangeListResponse"
  3752. }
  3753. },
  3754. "500": {
  3755. "description": "Internal Server Error",
  3756. "schema": {
  3757. "$ref": "#/definitions/base.HTTPError"
  3758. }
  3759. }
  3760. }
  3761. },
  3762. "put": {
  3763. "description": "申请修改小区关键信息",
  3764. "consumes": [
  3765. "application/json"
  3766. ],
  3767. "produces": [
  3768. "application/json"
  3769. ],
  3770. "tags": [
  3771. "小区"
  3772. ],
  3773. "summary": "申请修改小区关键信息",
  3774. "parameters": [
  3775. {
  3776. "type": "string",
  3777. "description": " ",
  3778. "name": "token",
  3779. "in": "header",
  3780. "required": true
  3781. },
  3782. {
  3783. "description": "小区信息",
  3784. "name": "body",
  3785. "in": "body",
  3786. "required": true,
  3787. "schema": {
  3788. "$ref": "#/definitions/v1.GardenKeyInfoChangeBody"
  3789. }
  3790. }
  3791. ],
  3792. "responses": {
  3793. "200": {
  3794. "description": "OK",
  3795. "schema": {
  3796. "$ref": "#/definitions/v1.GardenKeyInfoChangeResponse"
  3797. }
  3798. },
  3799. "500": {
  3800. "description": "Internal Server Error",
  3801. "schema": {
  3802. "$ref": "#/definitions/base.HTTPError"
  3803. }
  3804. }
  3805. }
  3806. }
  3807. },
  3808. "/api/v1/gate": {
  3809. "get": {
  3810. "description": "门禁列表",
  3811. "consumes": [
  3812. "application/json"
  3813. ],
  3814. "produces": [
  3815. "application/json"
  3816. ],
  3817. "tags": [
  3818. "门禁"
  3819. ],
  3820. "summary": "门禁列表",
  3821. "parameters": [
  3822. {
  3823. "type": "string",
  3824. "description": " ",
  3825. "name": "token",
  3826. "in": "header",
  3827. "required": true
  3828. },
  3829. {
  3830. "type": "integer",
  3831. "description": " ",
  3832. "name": "page",
  3833. "in": "query"
  3834. },
  3835. {
  3836. "type": "integer",
  3837. "description": " ",
  3838. "name": "page_size",
  3839. "in": "query"
  3840. },
  3841. {
  3842. "type": "string",
  3843. "description": "设备名",
  3844. "name": "device_name",
  3845. "in": "query"
  3846. },
  3847. {
  3848. "type": "string",
  3849. "description": "厂商",
  3850. "name": "manufactor",
  3851. "in": "query"
  3852. },
  3853. {
  3854. "type": "string",
  3855. "description": "序列号",
  3856. "name": "sn",
  3857. "in": "query"
  3858. }
  3859. ],
  3860. "responses": {
  3861. "200": {
  3862. "description": "OK",
  3863. "schema": {
  3864. "$ref": "#/definitions/v1.GateListResponse"
  3865. }
  3866. },
  3867. "500": {
  3868. "description": "Internal Server Error",
  3869. "schema": {
  3870. "$ref": "#/definitions/base.HTTPError"
  3871. }
  3872. }
  3873. }
  3874. }
  3875. },
  3876. "/api/v1/gate/card": {
  3877. "get": {
  3878. "description": "卡列表",
  3879. "consumes": [
  3880. "application/json"
  3881. ],
  3882. "produces": [
  3883. "application/json"
  3884. ],
  3885. "tags": [
  3886. "门禁"
  3887. ],
  3888. "summary": "卡列表",
  3889. "parameters": [
  3890. {
  3891. "type": "string",
  3892. "description": " ",
  3893. "name": "token",
  3894. "in": "header",
  3895. "required": true
  3896. },
  3897. {
  3898. "type": "integer",
  3899. "description": " ",
  3900. "name": "page",
  3901. "in": "query"
  3902. },
  3903. {
  3904. "type": "integer",
  3905. "description": " ",
  3906. "name": "page_size",
  3907. "in": "query"
  3908. },
  3909. {
  3910. "type": "string",
  3911. "description": "姓名",
  3912. "name": "name",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "下发状态 0 不过滤 1 待下发 2 下发成功 3 下发失败",
  3918. "name": "down_status",
  3919. "in": "query"
  3920. }
  3921. ],
  3922. "responses": {
  3923. "200": {
  3924. "description": "OK",
  3925. "schema": {
  3926. "$ref": "#/definitions/v1.GateCardListResponse"
  3927. }
  3928. },
  3929. "500": {
  3930. "description": "Internal Server Error",
  3931. "schema": {
  3932. "$ref": "#/definitions/base.HTTPError"
  3933. }
  3934. }
  3935. }
  3936. },
  3937. "put": {
  3938. "description": "门禁卡号重新下发",
  3939. "consumes": [
  3940. "application/json"
  3941. ],
  3942. "produces": [
  3943. "application/json"
  3944. ],
  3945. "tags": [
  3946. "门禁"
  3947. ],
  3948. "summary": "门禁卡号重新下发",
  3949. "parameters": [
  3950. {
  3951. "type": "string",
  3952. "description": " ",
  3953. "name": "token",
  3954. "in": "header",
  3955. "required": true
  3956. },
  3957. {
  3958. "description": " ",
  3959. "name": "body",
  3960. "in": "body",
  3961. "required": true,
  3962. "schema": {
  3963. "$ref": "#/definitions/v1.GateCardSyncBody"
  3964. }
  3965. }
  3966. ],
  3967. "responses": {
  3968. "200": {
  3969. "description": "OK",
  3970. "schema": {
  3971. "$ref": "#/definitions/v1.GateCardSyncResponse"
  3972. }
  3973. },
  3974. "500": {
  3975. "description": "Internal Server Error",
  3976. "schema": {
  3977. "$ref": "#/definitions/base.HTTPError"
  3978. }
  3979. }
  3980. }
  3981. },
  3982. "post": {
  3983. "description": "添加卡",
  3984. "consumes": [
  3985. "application/json"
  3986. ],
  3987. "produces": [
  3988. "application/json"
  3989. ],
  3990. "tags": [
  3991. "门禁"
  3992. ],
  3993. "summary": "添加卡",
  3994. "parameters": [
  3995. {
  3996. "type": "string",
  3997. "description": " ",
  3998. "name": "token",
  3999. "in": "header",
  4000. "required": true
  4001. },
  4002. {
  4003. "description": " ",
  4004. "name": "body",
  4005. "in": "body",
  4006. "required": true,
  4007. "schema": {
  4008. "$ref": "#/definitions/v1.GateCardAddBody"
  4009. }
  4010. }
  4011. ],
  4012. "responses": {
  4013. "200": {
  4014. "description": "OK",
  4015. "schema": {
  4016. "$ref": "#/definitions/v1.GateCardAddResponse"
  4017. }
  4018. },
  4019. "500": {
  4020. "description": "Internal Server Error",
  4021. "schema": {
  4022. "$ref": "#/definitions/base.HTTPError"
  4023. }
  4024. }
  4025. }
  4026. },
  4027. "delete": {
  4028. "description": "删除卡",
  4029. "consumes": [
  4030. "application/json"
  4031. ],
  4032. "produces": [
  4033. "application/json"
  4034. ],
  4035. "tags": [
  4036. "门禁"
  4037. ],
  4038. "summary": "删除卡",
  4039. "parameters": [
  4040. {
  4041. "type": "string",
  4042. "description": " ",
  4043. "name": "token",
  4044. "in": "header",
  4045. "required": true
  4046. },
  4047. {
  4048. "type": "integer",
  4049. "description": "卡记录id",
  4050. "name": "id",
  4051. "in": "query",
  4052. "required": true
  4053. }
  4054. ],
  4055. "responses": {
  4056. "200": {
  4057. "description": "OK",
  4058. "schema": {
  4059. "$ref": "#/definitions/v1.GateCardDelResponse"
  4060. }
  4061. },
  4062. "500": {
  4063. "description": "Internal Server Error",
  4064. "schema": {
  4065. "$ref": "#/definitions/base.HTTPError"
  4066. }
  4067. }
  4068. }
  4069. }
  4070. },
  4071. "/api/v1/gate/card/devices": {
  4072. "get": {
  4073. "description": "卡还可以绑定的设备",
  4074. "consumes": [
  4075. "application/json"
  4076. ],
  4077. "produces": [
  4078. "application/json"
  4079. ],
  4080. "tags": [
  4081. "门禁"
  4082. ],
  4083. "summary": "卡还可以绑定的设备",
  4084. "parameters": [
  4085. {
  4086. "type": "string",
  4087. "description": " ",
  4088. "name": "token",
  4089. "in": "header",
  4090. "required": true
  4091. },
  4092. {
  4093. "type": "string",
  4094. "description": "卡号",
  4095. "name": "card_number",
  4096. "in": "query",
  4097. "required": true
  4098. }
  4099. ],
  4100. "responses": {
  4101. "200": {
  4102. "description": "OK",
  4103. "schema": {
  4104. "$ref": "#/definitions/v1.GateCardCanBindDevicesResponse"
  4105. }
  4106. },
  4107. "500": {
  4108. "description": "Internal Server Error",
  4109. "schema": {
  4110. "$ref": "#/definitions/base.HTTPError"
  4111. }
  4112. }
  4113. }
  4114. }
  4115. },
  4116. "/api/v1/gate/command": {
  4117. "get": {
  4118. "description": "操作记录",
  4119. "consumes": [
  4120. "application/json"
  4121. ],
  4122. "produces": [
  4123. "application/json"
  4124. ],
  4125. "tags": [
  4126. "门禁"
  4127. ],
  4128. "summary": "操作记录",
  4129. "parameters": [
  4130. {
  4131. "type": "string",
  4132. "description": " ",
  4133. "name": "token",
  4134. "in": "header",
  4135. "required": true
  4136. },
  4137. {
  4138. "type": "integer",
  4139. "description": " ",
  4140. "name": "page",
  4141. "in": "query"
  4142. },
  4143. {
  4144. "type": "integer",
  4145. "description": " ",
  4146. "name": "page_size",
  4147. "in": "query"
  4148. },
  4149. {
  4150. "type": "integer",
  4151. "description": "设备id",
  4152. "name": "device_id",
  4153. "in": "query",
  4154. "required": true
  4155. }
  4156. ],
  4157. "responses": {
  4158. "200": {
  4159. "description": "OK",
  4160. "schema": {
  4161. "$ref": "#/definitions/v1.GateCommandListResponse"
  4162. }
  4163. },
  4164. "500": {
  4165. "description": "Internal Server Error",
  4166. "schema": {
  4167. "$ref": "#/definitions/base.HTTPError"
  4168. }
  4169. }
  4170. }
  4171. }
  4172. },
  4173. "/api/v1/gate/command/open": {
  4174. "post": {
  4175. "description": "门禁远程开门",
  4176. "consumes": [
  4177. "application/json"
  4178. ],
  4179. "produces": [
  4180. "application/json"
  4181. ],
  4182. "tags": [
  4183. "门禁"
  4184. ],
  4185. "summary": "门禁远程开门",
  4186. "parameters": [
  4187. {
  4188. "type": "string",
  4189. "description": " ",
  4190. "name": "token",
  4191. "in": "header",
  4192. "required": true
  4193. },
  4194. {
  4195. "description": " ",
  4196. "name": "body",
  4197. "in": "body",
  4198. "required": true,
  4199. "schema": {
  4200. "$ref": "#/definitions/v1.GateOpenBody"
  4201. }
  4202. }
  4203. ],
  4204. "responses": {
  4205. "200": {
  4206. "description": "OK",
  4207. "schema": {
  4208. "$ref": "#/definitions/v1.GateOpenResponse"
  4209. }
  4210. },
  4211. "500": {
  4212. "description": "Internal Server Error",
  4213. "schema": {
  4214. "$ref": "#/definitions/base.HTTPError"
  4215. }
  4216. }
  4217. }
  4218. }
  4219. },
  4220. "/api/v1/gate/command/restart": {
  4221. "post": {
  4222. "description": "门禁重启设备",
  4223. "consumes": [
  4224. "application/json"
  4225. ],
  4226. "produces": [
  4227. "application/json"
  4228. ],
  4229. "tags": [
  4230. "门禁"
  4231. ],
  4232. "summary": "门禁重启设备",
  4233. "parameters": [
  4234. {
  4235. "type": "string",
  4236. "description": " ",
  4237. "name": "token",
  4238. "in": "header",
  4239. "required": true
  4240. },
  4241. {
  4242. "description": " ",
  4243. "name": "body",
  4244. "in": "body",
  4245. "required": true,
  4246. "schema": {
  4247. "$ref": "#/definitions/v1.GateRestartBody"
  4248. }
  4249. }
  4250. ],
  4251. "responses": {
  4252. "200": {
  4253. "description": "OK",
  4254. "schema": {
  4255. "$ref": "#/definitions/v1.GateRestartResponse"
  4256. }
  4257. },
  4258. "500": {
  4259. "description": "Internal Server Error",
  4260. "schema": {
  4261. "$ref": "#/definitions/base.HTTPError"
  4262. }
  4263. }
  4264. }
  4265. }
  4266. },
  4267. "/api/v1/gate/enable": {
  4268. "put": {
  4269. "description": "门禁起停用",
  4270. "consumes": [
  4271. "application/json"
  4272. ],
  4273. "produces": [
  4274. "application/json"
  4275. ],
  4276. "tags": [
  4277. "门禁"
  4278. ],
  4279. "summary": "门禁起停用",
  4280. "parameters": [
  4281. {
  4282. "type": "string",
  4283. "description": " ",
  4284. "name": "token",
  4285. "in": "header",
  4286. "required": true
  4287. },
  4288. {
  4289. "description": " ",
  4290. "name": "body",
  4291. "in": "body",
  4292. "required": true,
  4293. "schema": {
  4294. "$ref": "#/definitions/v1.GateEnableBody"
  4295. }
  4296. }
  4297. ],
  4298. "responses": {
  4299. "200": {
  4300. "description": "OK",
  4301. "schema": {
  4302. "$ref": "#/definitions/v1.GateEnableResponse"
  4303. }
  4304. },
  4305. "500": {
  4306. "description": "Internal Server Error",
  4307. "schema": {
  4308. "$ref": "#/definitions/base.HTTPError"
  4309. }
  4310. }
  4311. }
  4312. }
  4313. },
  4314. "/api/v1/gate/pic": {
  4315. "get": {
  4316. "description": "人脸列表",
  4317. "consumes": [
  4318. "application/json"
  4319. ],
  4320. "produces": [
  4321. "application/json"
  4322. ],
  4323. "tags": [
  4324. "门禁"
  4325. ],
  4326. "summary": "人脸列表",
  4327. "parameters": [
  4328. {
  4329. "type": "string",
  4330. "description": " ",
  4331. "name": "token",
  4332. "in": "header",
  4333. "required": true
  4334. },
  4335. {
  4336. "type": "integer",
  4337. "description": " ",
  4338. "name": "page",
  4339. "in": "query"
  4340. },
  4341. {
  4342. "type": "integer",
  4343. "description": " ",
  4344. "name": "page_size",
  4345. "in": "query"
  4346. },
  4347. {
  4348. "type": "string",
  4349. "description": "姓名",
  4350. "name": "name",
  4351. "in": "query"
  4352. },
  4353. {
  4354. "type": "integer",
  4355. "description": "下发状态 0 不过滤 1 待下发 2 下发成功 3 下发失败",
  4356. "name": "down_status",
  4357. "in": "query"
  4358. }
  4359. ],
  4360. "responses": {
  4361. "200": {
  4362. "description": "OK",
  4363. "schema": {
  4364. "$ref": "#/definitions/v1.GateUserPicListResponse"
  4365. }
  4366. },
  4367. "500": {
  4368. "description": "Internal Server Error",
  4369. "schema": {
  4370. "$ref": "#/definitions/base.HTTPError"
  4371. }
  4372. }
  4373. }
  4374. },
  4375. "put": {
  4376. "description": "人脸重新下发",
  4377. "consumes": [
  4378. "application/json"
  4379. ],
  4380. "produces": [
  4381. "application/json"
  4382. ],
  4383. "tags": [
  4384. "门禁"
  4385. ],
  4386. "summary": "人脸重新下发",
  4387. "parameters": [
  4388. {
  4389. "type": "string",
  4390. "description": " ",
  4391. "name": "token",
  4392. "in": "header",
  4393. "required": true
  4394. },
  4395. {
  4396. "description": " ",
  4397. "name": "body",
  4398. "in": "body",
  4399. "required": true,
  4400. "schema": {
  4401. "$ref": "#/definitions/v1.GateUserPicSyncBody"
  4402. }
  4403. }
  4404. ],
  4405. "responses": {
  4406. "200": {
  4407. "description": "OK",
  4408. "schema": {
  4409. "$ref": "#/definitions/v1.GateUserPicSyncResponse"
  4410. }
  4411. },
  4412. "500": {
  4413. "description": "Internal Server Error",
  4414. "schema": {
  4415. "$ref": "#/definitions/base.HTTPError"
  4416. }
  4417. }
  4418. }
  4419. },
  4420. "delete": {
  4421. "description": "删除人脸",
  4422. "consumes": [
  4423. "application/json"
  4424. ],
  4425. "produces": [
  4426. "application/json"
  4427. ],
  4428. "tags": [
  4429. "门禁"
  4430. ],
  4431. "summary": "删除人脸",
  4432. "parameters": [
  4433. {
  4434. "type": "string",
  4435. "description": " ",
  4436. "name": "token",
  4437. "in": "header",
  4438. "required": true
  4439. },
  4440. {
  4441. "type": "integer",
  4442. "description": "人脸记录id",
  4443. "name": "id",
  4444. "in": "query",
  4445. "required": true
  4446. }
  4447. ],
  4448. "responses": {
  4449. "200": {
  4450. "description": "OK",
  4451. "schema": {
  4452. "$ref": "#/definitions/v1.GateUserPicDelResponse"
  4453. }
  4454. },
  4455. "500": {
  4456. "description": "Internal Server Error",
  4457. "schema": {
  4458. "$ref": "#/definitions/base.HTTPError"
  4459. }
  4460. }
  4461. }
  4462. }
  4463. },
  4464. "/api/v1/gate/pic/approve": {
  4465. "put": {
  4466. "description": "人脸审核",
  4467. "consumes": [
  4468. "application/json"
  4469. ],
  4470. "produces": [
  4471. "application/json"
  4472. ],
  4473. "tags": [
  4474. "门禁"
  4475. ],
  4476. "summary": "人脸审核",
  4477. "parameters": [
  4478. {
  4479. "type": "string",
  4480. "description": " ",
  4481. "name": "token",
  4482. "in": "header",
  4483. "required": true
  4484. },
  4485. {
  4486. "description": " ",
  4487. "name": "body",
  4488. "in": "body",
  4489. "required": true,
  4490. "schema": {
  4491. "$ref": "#/definitions/v1.GateUserPicApproveBody"
  4492. }
  4493. }
  4494. ],
  4495. "responses": {
  4496. "200": {
  4497. "description": "OK",
  4498. "schema": {
  4499. "$ref": "#/definitions/v1.GateUserPicApproveResponse"
  4500. }
  4501. },
  4502. "500": {
  4503. "description": "Internal Server Error",
  4504. "schema": {
  4505. "$ref": "#/definitions/base.HTTPError"
  4506. }
  4507. }
  4508. }
  4509. }
  4510. },
  4511. "/api/v1/gate/record": {
  4512. "get": {
  4513. "description": "开门记录",
  4514. "consumes": [
  4515. "application/json"
  4516. ],
  4517. "produces": [
  4518. "application/json"
  4519. ],
  4520. "tags": [
  4521. "门禁"
  4522. ],
  4523. "summary": "开门记录",
  4524. "parameters": [
  4525. {
  4526. "type": "string",
  4527. "description": " ",
  4528. "name": "token",
  4529. "in": "header",
  4530. "required": true
  4531. },
  4532. {
  4533. "type": "integer",
  4534. "description": " ",
  4535. "name": "page",
  4536. "in": "query"
  4537. },
  4538. {
  4539. "type": "integer",
  4540. "description": " ",
  4541. "name": "page_size",
  4542. "in": "query"
  4543. },
  4544. {
  4545. "type": "string",
  4546. "description": "设备id必传",
  4547. "name": "device_id",
  4548. "in": "query"
  4549. },
  4550. {
  4551. "type": "integer",
  4552. "description": "开始时间",
  4553. "name": "start",
  4554. "in": "query"
  4555. },
  4556. {
  4557. "type": "integer",
  4558. "description": "结束时间",
  4559. "name": "end",
  4560. "in": "query"
  4561. },
  4562. {
  4563. "type": "integer",
  4564. "description": "0不过滤 1 访客 2 非访客",
  4565. "name": "is_visitor",
  4566. "in": "query"
  4567. }
  4568. ],
  4569. "responses": {
  4570. "200": {
  4571. "description": "OK",
  4572. "schema": {
  4573. "$ref": "#/definitions/v1.GateRecordListResponse"
  4574. }
  4575. },
  4576. "500": {
  4577. "description": "Internal Server Error",
  4578. "schema": {
  4579. "$ref": "#/definitions/base.HTTPError"
  4580. }
  4581. }
  4582. }
  4583. }
  4584. },
  4585. "/api/v1/gate/set": {
  4586. "put": {
  4587. "description": "门禁配置进场场和位置",
  4588. "consumes": [
  4589. "application/json"
  4590. ],
  4591. "produces": [
  4592. "application/json"
  4593. ],
  4594. "tags": [
  4595. "门禁"
  4596. ],
  4597. "summary": "门禁配置进场场和位置",
  4598. "parameters": [
  4599. {
  4600. "type": "string",
  4601. "description": " ",
  4602. "name": "token",
  4603. "in": "header",
  4604. "required": true
  4605. },
  4606. {
  4607. "description": " ",
  4608. "name": "body",
  4609. "in": "body",
  4610. "required": true,
  4611. "schema": {
  4612. "$ref": "#/definitions/v1.GateSetBody"
  4613. }
  4614. }
  4615. ],
  4616. "responses": {
  4617. "200": {
  4618. "description": "OK",
  4619. "schema": {
  4620. "$ref": "#/definitions/v1.GateSetResponse"
  4621. }
  4622. },
  4623. "500": {
  4624. "description": "Internal Server Error",
  4625. "schema": {
  4626. "$ref": "#/definitions/base.HTTPError"
  4627. }
  4628. }
  4629. }
  4630. }
  4631. },
  4632. "/api/v1/gate/unit": {
  4633. "get": {
  4634. "description": "门禁单元列表",
  4635. "consumes": [
  4636. "application/json"
  4637. ],
  4638. "produces": [
  4639. "application/json"
  4640. ],
  4641. "tags": [
  4642. "门禁"
  4643. ],
  4644. "summary": "门禁单元列表",
  4645. "parameters": [
  4646. {
  4647. "type": "string",
  4648. "description": " ",
  4649. "name": "token",
  4650. "in": "header",
  4651. "required": true
  4652. },
  4653. {
  4654. "type": "integer",
  4655. "description": "设备id",
  4656. "name": "device_id",
  4657. "in": "query",
  4658. "required": true
  4659. }
  4660. ],
  4661. "responses": {
  4662. "200": {
  4663. "description": "OK",
  4664. "schema": {
  4665. "$ref": "#/definitions/v1.GateListResponse"
  4666. }
  4667. },
  4668. "500": {
  4669. "description": "Internal Server Error",
  4670. "schema": {
  4671. "$ref": "#/definitions/base.HTTPError"
  4672. }
  4673. }
  4674. }
  4675. },
  4676. "post": {
  4677. "description": "门禁添加单元",
  4678. "consumes": [
  4679. "application/json"
  4680. ],
  4681. "produces": [
  4682. "application/json"
  4683. ],
  4684. "tags": [
  4685. "门禁"
  4686. ],
  4687. "summary": "门禁添加单元",
  4688. "parameters": [
  4689. {
  4690. "type": "string",
  4691. "description": " ",
  4692. "name": "token",
  4693. "in": "header",
  4694. "required": true
  4695. },
  4696. {
  4697. "description": " ",
  4698. "name": "body",
  4699. "in": "body",
  4700. "required": true,
  4701. "schema": {
  4702. "$ref": "#/definitions/v1.GateUnitAddBody"
  4703. }
  4704. }
  4705. ],
  4706. "responses": {
  4707. "200": {
  4708. "description": "OK",
  4709. "schema": {
  4710. "$ref": "#/definitions/v1.GateUnitAddResponse"
  4711. }
  4712. },
  4713. "500": {
  4714. "description": "Internal Server Error",
  4715. "schema": {
  4716. "$ref": "#/definitions/base.HTTPError"
  4717. }
  4718. }
  4719. }
  4720. }
  4721. },
  4722. "/api/v1/gate/visitor": {
  4723. "get": {
  4724. "description": "访客记录",
  4725. "consumes": [
  4726. "application/json"
  4727. ],
  4728. "produces": [
  4729. "application/json"
  4730. ],
  4731. "tags": [
  4732. "门禁"
  4733. ],
  4734. "summary": "访客记录",
  4735. "parameters": [
  4736. {
  4737. "type": "string",
  4738. "description": " ",
  4739. "name": "token",
  4740. "in": "header",
  4741. "required": true
  4742. },
  4743. {
  4744. "type": "integer",
  4745. "description": " ",
  4746. "name": "page",
  4747. "in": "query"
  4748. },
  4749. {
  4750. "type": "integer",
  4751. "description": " ",
  4752. "name": "page_size",
  4753. "in": "query"
  4754. },
  4755. {
  4756. "type": "integer",
  4757. "description": "门禁id必传",
  4758. "name": "gate_id",
  4759. "in": "query"
  4760. },
  4761. {
  4762. "type": "integer",
  4763. "description": "开始时间",
  4764. "name": "start",
  4765. "in": "query"
  4766. },
  4767. {
  4768. "type": "integer",
  4769. "description": "结束时间",
  4770. "name": "end",
  4771. "in": "query"
  4772. },
  4773. {
  4774. "type": "string",
  4775. "description": "邀请人",
  4776. "name": "user",
  4777. "in": "query"
  4778. },
  4779. {
  4780. "type": "string",
  4781. "description": "被邀请人",
  4782. "name": "visitor",
  4783. "in": "query"
  4784. }
  4785. ],
  4786. "responses": {
  4787. "200": {
  4788. "description": "OK",
  4789. "schema": {
  4790. "$ref": "#/definitions/v1.GateVisitorListResponse"
  4791. }
  4792. },
  4793. "500": {
  4794. "description": "Internal Server Error",
  4795. "schema": {
  4796. "$ref": "#/definitions/base.HTTPError"
  4797. }
  4798. }
  4799. }
  4800. }
  4801. },
  4802. "/api/v1/household/approve": {
  4803. "put": {
  4804. "description": "审核业主",
  4805. "consumes": [
  4806. "application/json"
  4807. ],
  4808. "produces": [
  4809. "application/json"
  4810. ],
  4811. "tags": [
  4812. "业主管理"
  4813. ],
  4814. "summary": "审核业主",
  4815. "parameters": [
  4816. {
  4817. "type": "string",
  4818. "description": "token",
  4819. "name": "token",
  4820. "in": "header",
  4821. "required": true
  4822. },
  4823. {
  4824. "description": "信息",
  4825. "name": "body",
  4826. "in": "body",
  4827. "required": true,
  4828. "schema": {
  4829. "$ref": "#/definitions/v1.HouseholdApproveBody"
  4830. }
  4831. }
  4832. ],
  4833. "responses": {
  4834. "200": {
  4835. "description": "OK",
  4836. "schema": {
  4837. "$ref": "#/definitions/v1.HouseholdApproveResponse"
  4838. }
  4839. },
  4840. "500": {
  4841. "description": "Internal Server Error",
  4842. "schema": {
  4843. "$ref": "#/definitions/base.HTTPError"
  4844. }
  4845. }
  4846. }
  4847. }
  4848. },
  4849. "/api/v1/household/list": {
  4850. "get": {
  4851. "description": "申请列表",
  4852. "consumes": [
  4853. "application/json"
  4854. ],
  4855. "produces": [
  4856. "application/json"
  4857. ],
  4858. "tags": [
  4859. "业主管理"
  4860. ],
  4861. "summary": "申请列表",
  4862. "parameters": [
  4863. {
  4864. "type": "string",
  4865. "description": "token",
  4866. "name": "token",
  4867. "in": "header",
  4868. "required": true
  4869. },
  4870. {
  4871. "type": "integer",
  4872. "description": "业主身份类型",
  4873. "name": "user_type",
  4874. "in": "query"
  4875. },
  4876. {
  4877. "type": "integer",
  4878. "description": " ",
  4879. "name": "page",
  4880. "in": "query"
  4881. },
  4882. {
  4883. "type": "integer",
  4884. "description": " ",
  4885. "name": "page_size",
  4886. "in": "query"
  4887. },
  4888. {
  4889. "type": "string",
  4890. "description": "业主姓名",
  4891. "name": "name",
  4892. "in": "query"
  4893. },
  4894. {
  4895. "type": "integer",
  4896. "description": "0 未审核+未通过 1 未审核 2 已通过 3 未通过",
  4897. "name": "approve_status",
  4898. "in": "query"
  4899. }
  4900. ],
  4901. "responses": {
  4902. "200": {
  4903. "description": "OK",
  4904. "schema": {
  4905. "$ref": "#/definitions/v1.HouseholdListResponse"
  4906. }
  4907. },
  4908. "500": {
  4909. "description": "Internal Server Error",
  4910. "schema": {
  4911. "$ref": "#/definitions/base.HTTPError"
  4912. }
  4913. }
  4914. }
  4915. }
  4916. },
  4917. "/api/v1/household/user_list": {
  4918. "get": {
  4919. "description": "业主信息",
  4920. "consumes": [
  4921. "application/json"
  4922. ],
  4923. "produces": [
  4924. "application/json"
  4925. ],
  4926. "tags": [
  4927. "业主管理"
  4928. ],
  4929. "summary": "业主信息",
  4930. "parameters": [
  4931. {
  4932. "type": "string",
  4933. "description": "token",
  4934. "name": "token",
  4935. "in": "header",
  4936. "required": true
  4937. },
  4938. {
  4939. "type": "integer",
  4940. "description": "业主身份类型",
  4941. "name": "user_type",
  4942. "in": "query"
  4943. },
  4944. {
  4945. "type": "integer",
  4946. "description": " ",
  4947. "name": "page",
  4948. "in": "query"
  4949. },
  4950. {
  4951. "type": "integer",
  4952. "description": " ",
  4953. "name": "page_size",
  4954. "in": "query"
  4955. },
  4956. {
  4957. "type": "string",
  4958. "description": "业主姓名",
  4959. "name": "name",
  4960. "in": "query"
  4961. },
  4962. {
  4963. "type": "integer",
  4964. "description": "房屋id",
  4965. "name": "house_id",
  4966. "in": "query"
  4967. },
  4968. {
  4969. "type": "integer",
  4970. "description": "楼栋id",
  4971. "name": "building_id",
  4972. "in": "query"
  4973. },
  4974. {
  4975. "type": "integer",
  4976. "description": "单元id",
  4977. "name": "unit_id",
  4978. "in": "query"
  4979. },
  4980. {
  4981. "type": "string",
  4982. "description": "门禁设备id",
  4983. "name": "gate_id",
  4984. "in": "query"
  4985. }
  4986. ],
  4987. "responses": {
  4988. "200": {
  4989. "description": "OK",
  4990. "schema": {
  4991. "$ref": "#/definitions/v1.HouseholdListResponse"
  4992. }
  4993. },
  4994. "500": {
  4995. "description": "Internal Server Error",
  4996. "schema": {
  4997. "$ref": "#/definitions/base.HTTPError"
  4998. }
  4999. }
  5000. }
  5001. }
  5002. },
  5003. "/api/v1/material/info": {
  5004. "get": {
  5005. "description": "获取单个素材",
  5006. "consumes": [
  5007. "application/json"
  5008. ],
  5009. "produces": [
  5010. "application/json"
  5011. ],
  5012. "tags": [
  5013. "素材"
  5014. ],
  5015. "summary": "获取单个素材",
  5016. "parameters": [
  5017. {
  5018. "type": "string",
  5019. "description": " ",
  5020. "name": "token",
  5021. "in": "header",
  5022. "required": true
  5023. },
  5024. {
  5025. "type": "integer",
  5026. "description": "素材类型",
  5027. "name": "mtype",
  5028. "in": "query",
  5029. "required": true
  5030. }
  5031. ],
  5032. "responses": {
  5033. "200": {
  5034. "description": "OK",
  5035. "schema": {
  5036. "$ref": "#/definitions/v1.MaterialInfoResponse"
  5037. }
  5038. },
  5039. "500": {
  5040. "description": "Internal Server Error",
  5041. "schema": {
  5042. "$ref": "#/definitions/base.HTTPError"
  5043. }
  5044. }
  5045. }
  5046. }
  5047. },
  5048. "/api/v1/material/list": {
  5049. "get": {
  5050. "description": "根据类型获取素材列表",
  5051. "consumes": [
  5052. "application/json"
  5053. ],
  5054. "produces": [
  5055. "application/json"
  5056. ],
  5057. "tags": [
  5058. "素材"
  5059. ],
  5060. "summary": "根据类型获取素材列表",
  5061. "parameters": [
  5062. {
  5063. "type": "string",
  5064. "description": " ",
  5065. "name": "token",
  5066. "in": "header",
  5067. "required": true
  5068. },
  5069. {
  5070. "type": "string",
  5071. "description": "类型,多个类型以逗号分隔",
  5072. "name": "mtypes",
  5073. "in": "query",
  5074. "required": true
  5075. }
  5076. ],
  5077. "responses": {
  5078. "200": {
  5079. "description": "OK",
  5080. "schema": {
  5081. "$ref": "#/definitions/v1.MaterialListResponse"
  5082. }
  5083. },
  5084. "500": {
  5085. "description": "Internal Server Error",
  5086. "schema": {
  5087. "$ref": "#/definitions/base.HTTPError"
  5088. }
  5089. }
  5090. }
  5091. }
  5092. },
  5093. "/api/v1/msg_package": {
  5094. "get": {
  5095. "description": "所有套餐列表",
  5096. "consumes": [
  5097. "application/json"
  5098. ],
  5099. "produces": [
  5100. "application/json"
  5101. ],
  5102. "tags": [
  5103. "短信套餐"
  5104. ],
  5105. "summary": "所有套餐列表",
  5106. "parameters": [
  5107. {
  5108. "type": "string",
  5109. "description": " ",
  5110. "name": "token",
  5111. "in": "header",
  5112. "required": true
  5113. },
  5114. {
  5115. "type": "integer",
  5116. "description": "第几页,1为起始页, -1 不分页返回所有",
  5117. "name": "page",
  5118. "in": "query",
  5119. "required": true
  5120. },
  5121. {
  5122. "type": "integer",
  5123. "description": "每页条数,-1 不分页返回所有",
  5124. "name": "page_size",
  5125. "in": "query"
  5126. }
  5127. ],
  5128. "responses": {
  5129. "200": {
  5130. "description": "OK",
  5131. "schema": {
  5132. "$ref": "#/definitions/v1.MsgPackageListResponse"
  5133. }
  5134. },
  5135. "500": {
  5136. "description": "Internal Server Error",
  5137. "schema": {
  5138. "$ref": "#/definitions/base.HTTPError"
  5139. }
  5140. }
  5141. }
  5142. }
  5143. },
  5144. "/api/v1/msg_package/order": {
  5145. "get": {
  5146. "description": "短信套餐订单列表",
  5147. "consumes": [
  5148. "application/json"
  5149. ],
  5150. "produces": [
  5151. "application/json"
  5152. ],
  5153. "tags": [
  5154. "短信套餐"
  5155. ],
  5156. "summary": "短信套餐订单列表",
  5157. "parameters": [
  5158. {
  5159. "type": "string",
  5160. "description": " ",
  5161. "name": "token",
  5162. "in": "header",
  5163. "required": true
  5164. },
  5165. {
  5166. "type": "integer",
  5167. "description": "第几页,1为起始页, -1 不分页返回所有",
  5168. "name": "page",
  5169. "in": "query",
  5170. "required": true
  5171. },
  5172. {
  5173. "type": "integer",
  5174. "description": "每页条数,-1 不分页返回所有",
  5175. "name": "page_size",
  5176. "in": "query"
  5177. },
  5178. {
  5179. "type": "integer",
  5180. "description": "0不过滤,1待认证 2 已通过(已购) 3 未通过",
  5181. "name": "status",
  5182. "in": "query"
  5183. }
  5184. ],
  5185. "responses": {
  5186. "200": {
  5187. "description": "OK",
  5188. "schema": {
  5189. "$ref": "#/definitions/v1.MsgPackageOrderListResponse"
  5190. }
  5191. },
  5192. "500": {
  5193. "description": "Internal Server Error",
  5194. "schema": {
  5195. "$ref": "#/definitions/base.HTTPError"
  5196. }
  5197. }
  5198. }
  5199. },
  5200. "post": {
  5201. "description": "购买短信套餐",
  5202. "consumes": [
  5203. "application/json"
  5204. ],
  5205. "produces": [
  5206. "application/json"
  5207. ],
  5208. "tags": [
  5209. "短信套餐"
  5210. ],
  5211. "summary": "购买短信套餐",
  5212. "parameters": [
  5213. {
  5214. "type": "string",
  5215. "description": " ",
  5216. "name": "token",
  5217. "in": "header",
  5218. "required": true
  5219. },
  5220. {
  5221. "description": "信息",
  5222. "name": "body",
  5223. "in": "body",
  5224. "required": true,
  5225. "schema": {
  5226. "$ref": "#/definitions/v1.MsgPackageOrderAddBody"
  5227. }
  5228. }
  5229. ],
  5230. "responses": {
  5231. "200": {
  5232. "description": "OK",
  5233. "schema": {
  5234. "$ref": "#/definitions/v1.MsgPackageOrderAddResponse"
  5235. }
  5236. },
  5237. "500": {
  5238. "description": "Internal Server Error",
  5239. "schema": {
  5240. "$ref": "#/definitions/base.HTTPError"
  5241. }
  5242. }
  5243. }
  5244. }
  5245. },
  5246. "/api/v1/openim_upload": {
  5247. "post": {
  5248. "description": "上传文件(openim聊天专用)",
  5249. "consumes": [
  5250. "application/json"
  5251. ],
  5252. "produces": [
  5253. "application/json"
  5254. ],
  5255. "tags": [
  5256. "upload"
  5257. ],
  5258. "summary": "上传文件(openim聊天专用)",
  5259. "parameters": [
  5260. {
  5261. "type": "string",
  5262. "description": "jwt token",
  5263. "name": "token",
  5264. "in": "header",
  5265. "required": true
  5266. },
  5267. {
  5268. "type": "file",
  5269. "description": "file",
  5270. "name": "file",
  5271. "in": "formData"
  5272. }
  5273. ],
  5274. "responses": {
  5275. "200": {
  5276. "description": "OK",
  5277. "schema": {
  5278. "$ref": "#/definitions/v1.UploadResponse"
  5279. }
  5280. },
  5281. "500": {
  5282. "description": "Internal Server Error",
  5283. "schema": {
  5284. "$ref": "#/definitions/base.HTTPError"
  5285. }
  5286. }
  5287. }
  5288. }
  5289. },
  5290. "/api/v1/order/application": {
  5291. "get": {
  5292. "description": "应用订单列表",
  5293. "consumes": [
  5294. "application/json"
  5295. ],
  5296. "produces": [
  5297. "application/json"
  5298. ],
  5299. "tags": [
  5300. "应用订单"
  5301. ],
  5302. "summary": "应用订单列表",
  5303. "parameters": [
  5304. {
  5305. "type": "string",
  5306. "description": " ",
  5307. "name": "token",
  5308. "in": "header",
  5309. "required": true
  5310. },
  5311. {
  5312. "type": "integer",
  5313. "description": "第几页,1为起始页, -1 不分页返回所有",
  5314. "name": "page",
  5315. "in": "query",
  5316. "required": true
  5317. },
  5318. {
  5319. "type": "integer",
  5320. "description": "每页条数,-1 不分页返回所有",
  5321. "name": "page_size",
  5322. "in": "query"
  5323. },
  5324. {
  5325. "type": "integer",
  5326. "description": "0不过滤,1待认证 2 已通过(已购) 3 未通过",
  5327. "name": "status",
  5328. "in": "query"
  5329. }
  5330. ],
  5331. "responses": {
  5332. "200": {
  5333. "description": "OK",
  5334. "schema": {
  5335. "$ref": "#/definitions/v1.GardenApplicationListResponse"
  5336. }
  5337. },
  5338. "500": {
  5339. "description": "Internal Server Error",
  5340. "schema": {
  5341. "$ref": "#/definitions/base.HTTPError"
  5342. }
  5343. }
  5344. }
  5345. },
  5346. "post": {
  5347. "description": "购买应用",
  5348. "consumes": [
  5349. "application/json"
  5350. ],
  5351. "produces": [
  5352. "application/json"
  5353. ],
  5354. "tags": [
  5355. "应用订单"
  5356. ],
  5357. "summary": "购买应用",
  5358. "parameters": [
  5359. {
  5360. "type": "string",
  5361. "description": " ",
  5362. "name": "token",
  5363. "in": "header",
  5364. "required": true
  5365. },
  5366. {
  5367. "description": "信息",
  5368. "name": "body",
  5369. "in": "body",
  5370. "required": true,
  5371. "schema": {
  5372. "$ref": "#/definitions/v1.ApplicationOrderAddBody"
  5373. }
  5374. }
  5375. ],
  5376. "responses": {
  5377. "200": {
  5378. "description": "OK",
  5379. "schema": {
  5380. "$ref": "#/definitions/v1.ApplicationOrderAddResponse"
  5381. }
  5382. },
  5383. "500": {
  5384. "description": "Internal Server Error",
  5385. "schema": {
  5386. "$ref": "#/definitions/base.HTTPError"
  5387. }
  5388. }
  5389. }
  5390. }
  5391. },
  5392. "/api/v1/park": {
  5393. "get": {
  5394. "description": "停车场列表",
  5395. "consumes": [
  5396. "application/json"
  5397. ],
  5398. "produces": [
  5399. "application/json"
  5400. ],
  5401. "tags": [
  5402. "停车场"
  5403. ],
  5404. "summary": "停车场列表",
  5405. "parameters": [
  5406. {
  5407. "type": "string",
  5408. "description": "token",
  5409. "name": "token",
  5410. "in": "header",
  5411. "required": true
  5412. }
  5413. ],
  5414. "responses": {
  5415. "200": {
  5416. "description": "OK",
  5417. "schema": {
  5418. "$ref": "#/definitions/v1.ParkListResponse"
  5419. }
  5420. },
  5421. "500": {
  5422. "description": "Internal Server Error",
  5423. "schema": {
  5424. "$ref": "#/definitions/base.HTTPError"
  5425. }
  5426. }
  5427. }
  5428. },
  5429. "put": {
  5430. "description": "更改停车场",
  5431. "consumes": [
  5432. "application/json"
  5433. ],
  5434. "produces": [
  5435. "application/json"
  5436. ],
  5437. "tags": [
  5438. "停车场"
  5439. ],
  5440. "summary": "更改停车场",
  5441. "parameters": [
  5442. {
  5443. "type": "string",
  5444. "description": "token",
  5445. "name": "token",
  5446. "in": "header",
  5447. "required": true
  5448. },
  5449. {
  5450. "description": "信息",
  5451. "name": "body",
  5452. "in": "body",
  5453. "required": true,
  5454. "schema": {
  5455. "$ref": "#/definitions/v1.ParkUpdateBody"
  5456. }
  5457. }
  5458. ],
  5459. "responses": {
  5460. "200": {
  5461. "description": "OK",
  5462. "schema": {
  5463. "$ref": "#/definitions/v1.ParkUpdateResponse"
  5464. }
  5465. },
  5466. "500": {
  5467. "description": "Internal Server Error",
  5468. "schema": {
  5469. "$ref": "#/definitions/base.HTTPError"
  5470. }
  5471. }
  5472. }
  5473. },
  5474. "post": {
  5475. "description": "添加停车场",
  5476. "consumes": [
  5477. "application/json"
  5478. ],
  5479. "produces": [
  5480. "application/json"
  5481. ],
  5482. "tags": [
  5483. "停车场"
  5484. ],
  5485. "summary": "添加停车场",
  5486. "parameters": [
  5487. {
  5488. "type": "string",
  5489. "description": "token",
  5490. "name": "token",
  5491. "in": "header",
  5492. "required": true
  5493. },
  5494. {
  5495. "description": "信息",
  5496. "name": "body",
  5497. "in": "body",
  5498. "required": true,
  5499. "schema": {
  5500. "$ref": "#/definitions/v1.ParkAddBody"
  5501. }
  5502. }
  5503. ],
  5504. "responses": {
  5505. "200": {
  5506. "description": "OK",
  5507. "schema": {
  5508. "$ref": "#/definitions/v1.ParkAddResponse"
  5509. }
  5510. },
  5511. "500": {
  5512. "description": "Internal Server Error",
  5513. "schema": {
  5514. "$ref": "#/definitions/base.HTTPError"
  5515. }
  5516. }
  5517. }
  5518. },
  5519. "delete": {
  5520. "description": "删除停车场",
  5521. "consumes": [
  5522. "application/json"
  5523. ],
  5524. "produces": [
  5525. "application/json"
  5526. ],
  5527. "tags": [
  5528. "停车场"
  5529. ],
  5530. "summary": "删除停车场",
  5531. "parameters": [
  5532. {
  5533. "type": "string",
  5534. "description": "token",
  5535. "name": "token",
  5536. "in": "header",
  5537. "required": true
  5538. },
  5539. {
  5540. "type": "integer",
  5541. "description": "id",
  5542. "name": "id",
  5543. "in": "query",
  5544. "required": true
  5545. }
  5546. ],
  5547. "responses": {
  5548. "200": {
  5549. "description": "OK",
  5550. "schema": {
  5551. "$ref": "#/definitions/v1.ParkDelResponse"
  5552. }
  5553. },
  5554. "500": {
  5555. "description": "Internal Server Error",
  5556. "schema": {
  5557. "$ref": "#/definitions/base.HTTPError"
  5558. }
  5559. }
  5560. }
  5561. }
  5562. },
  5563. "/api/v1/park/space": {
  5564. "get": {
  5565. "description": "停车位列表",
  5566. "consumes": [
  5567. "application/json"
  5568. ],
  5569. "produces": [
  5570. "application/json"
  5571. ],
  5572. "tags": [
  5573. "停车位"
  5574. ],
  5575. "summary": "停车位列表",
  5576. "parameters": [
  5577. {
  5578. "type": "string",
  5579. "description": "token",
  5580. "name": "token",
  5581. "in": "header",
  5582. "required": true
  5583. },
  5584. {
  5585. "type": "integer",
  5586. "description": " ",
  5587. "name": "page",
  5588. "in": "query"
  5589. },
  5590. {
  5591. "type": "integer",
  5592. "description": " ",
  5593. "name": "page_size",
  5594. "in": "query"
  5595. },
  5596. {
  5597. "type": "string",
  5598. "description": "车位编号 ",
  5599. "name": "space_number",
  5600. "in": "query"
  5601. },
  5602. {
  5603. "type": "integer",
  5604. "description": "停车场id ",
  5605. "name": "park_id",
  5606. "in": "query"
  5607. },
  5608. {
  5609. "type": "integer",
  5610. "description": "车位类型 1 普通车位 2 子母车位 3 豪华车位 ",
  5611. "name": "space_type",
  5612. "in": "query"
  5613. },
  5614. {
  5615. "type": "integer",
  5616. "description": "业主uid",
  5617. "name": "household_uid",
  5618. "in": "query"
  5619. },
  5620. {
  5621. "type": "integer",
  5622. "description": "车辆的绑定类型",
  5623. "name": "bind_type",
  5624. "in": "query"
  5625. },
  5626. {
  5627. "type": "integer",
  5628. "description": "车辆已绑定的车位id",
  5629. "name": "bind_space_id",
  5630. "in": "query"
  5631. }
  5632. ],
  5633. "responses": {
  5634. "200": {
  5635. "description": "OK",
  5636. "schema": {
  5637. "$ref": "#/definitions/v1.ParkSpaceListResponse"
  5638. }
  5639. },
  5640. "500": {
  5641. "description": "Internal Server Error",
  5642. "schema": {
  5643. "$ref": "#/definitions/base.HTTPError"
  5644. }
  5645. }
  5646. }
  5647. },
  5648. "put": {
  5649. "description": "更改停车位",
  5650. "consumes": [
  5651. "application/json"
  5652. ],
  5653. "produces": [
  5654. "application/json"
  5655. ],
  5656. "tags": [
  5657. "停车位"
  5658. ],
  5659. "summary": "更改停车位",
  5660. "parameters": [
  5661. {
  5662. "type": "string",
  5663. "description": "token",
  5664. "name": "token",
  5665. "in": "header",
  5666. "required": true
  5667. },
  5668. {
  5669. "description": "信息",
  5670. "name": "body",
  5671. "in": "body",
  5672. "required": true,
  5673. "schema": {
  5674. "$ref": "#/definitions/v1.ParkSpaceUpdateBody"
  5675. }
  5676. }
  5677. ],
  5678. "responses": {
  5679. "200": {
  5680. "description": "OK",
  5681. "schema": {
  5682. "$ref": "#/definitions/v1.ParkSpaceUpdateResponse"
  5683. }
  5684. },
  5685. "500": {
  5686. "description": "Internal Server Error",
  5687. "schema": {
  5688. "$ref": "#/definitions/base.HTTPError"
  5689. }
  5690. }
  5691. }
  5692. },
  5693. "post": {
  5694. "description": "添加停车位",
  5695. "consumes": [
  5696. "application/json"
  5697. ],
  5698. "produces": [
  5699. "application/json"
  5700. ],
  5701. "tags": [
  5702. "停车位"
  5703. ],
  5704. "summary": "添加停车位",
  5705. "parameters": [
  5706. {
  5707. "type": "string",
  5708. "description": "token",
  5709. "name": "token",
  5710. "in": "header",
  5711. "required": true
  5712. },
  5713. {
  5714. "description": "信息",
  5715. "name": "body",
  5716. "in": "body",
  5717. "required": true,
  5718. "schema": {
  5719. "$ref": "#/definitions/v1.ParkSpaceAddBody"
  5720. }
  5721. }
  5722. ],
  5723. "responses": {
  5724. "200": {
  5725. "description": "OK",
  5726. "schema": {
  5727. "$ref": "#/definitions/v1.ParkAddResponse"
  5728. }
  5729. },
  5730. "500": {
  5731. "description": "Internal Server Error",
  5732. "schema": {
  5733. "$ref": "#/definitions/base.HTTPError"
  5734. }
  5735. }
  5736. }
  5737. },
  5738. "delete": {
  5739. "description": "删除停车位",
  5740. "consumes": [
  5741. "application/json"
  5742. ],
  5743. "produces": [
  5744. "application/json"
  5745. ],
  5746. "tags": [
  5747. "停车位"
  5748. ],
  5749. "summary": "删除停车位",
  5750. "parameters": [
  5751. {
  5752. "type": "string",
  5753. "description": "token",
  5754. "name": "token",
  5755. "in": "header",
  5756. "required": true
  5757. },
  5758. {
  5759. "type": "integer",
  5760. "description": "id",
  5761. "name": "id",
  5762. "in": "query",
  5763. "required": true
  5764. }
  5765. ],
  5766. "responses": {
  5767. "200": {
  5768. "description": "OK",
  5769. "schema": {
  5770. "$ref": "#/definitions/v1.ParkSpaceDelResponse"
  5771. }
  5772. },
  5773. "500": {
  5774. "description": "Internal Server Error",
  5775. "schema": {
  5776. "$ref": "#/definitions/base.HTTPError"
  5777. }
  5778. }
  5779. }
  5780. }
  5781. },
  5782. "/api/v1/permission/all": {
  5783. "get": {
  5784. "description": "所有权限节点信息",
  5785. "consumes": [
  5786. "application/json"
  5787. ],
  5788. "produces": [
  5789. "application/json"
  5790. ],
  5791. "tags": [
  5792. "权限管理"
  5793. ],
  5794. "summary": "所有权限节点信息",
  5795. "parameters": [
  5796. {
  5797. "type": "string",
  5798. "description": "token",
  5799. "name": "token",
  5800. "in": "header",
  5801. "required": true
  5802. }
  5803. ],
  5804. "responses": {
  5805. "200": {
  5806. "description": "OK",
  5807. "schema": {
  5808. "$ref": "#/definitions/v1.AllPermissionResponse"
  5809. }
  5810. },
  5811. "500": {
  5812. "description": "Internal Server Error",
  5813. "schema": {
  5814. "$ref": "#/definitions/base.HTTPError"
  5815. }
  5816. }
  5817. }
  5818. }
  5819. },
  5820. "/api/v1/permission/group": {
  5821. "put": {
  5822. "description": "更改权限组",
  5823. "consumes": [
  5824. "application/json"
  5825. ],
  5826. "produces": [
  5827. "application/json"
  5828. ],
  5829. "tags": [
  5830. "权限管理"
  5831. ],
  5832. "summary": "更改权限组",
  5833. "parameters": [
  5834. {
  5835. "type": "string",
  5836. "description": "token",
  5837. "name": "token",
  5838. "in": "header",
  5839. "required": true
  5840. },
  5841. {
  5842. "description": "组信息",
  5843. "name": "body",
  5844. "in": "body",
  5845. "required": true,
  5846. "schema": {
  5847. "$ref": "#/definitions/v1.GroupUpdateBody"
  5848. }
  5849. }
  5850. ],
  5851. "responses": {
  5852. "200": {
  5853. "description": "OK",
  5854. "schema": {
  5855. "$ref": "#/definitions/v1.GroupUpdateResponse"
  5856. }
  5857. },
  5858. "500": {
  5859. "description": "Internal Server Error",
  5860. "schema": {
  5861. "$ref": "#/definitions/base.HTTPError"
  5862. }
  5863. }
  5864. }
  5865. },
  5866. "post": {
  5867. "description": "添加权限组",
  5868. "consumes": [
  5869. "application/json"
  5870. ],
  5871. "produces": [
  5872. "application/json"
  5873. ],
  5874. "tags": [
  5875. "权限管理"
  5876. ],
  5877. "summary": "添加权限组",
  5878. "parameters": [
  5879. {
  5880. "type": "string",
  5881. "description": "token",
  5882. "name": "token",
  5883. "in": "header",
  5884. "required": true
  5885. },
  5886. {
  5887. "description": "组信息",
  5888. "name": "body",
  5889. "in": "body",
  5890. "required": true,
  5891. "schema": {
  5892. "$ref": "#/definitions/v1.GroupAddBody"
  5893. }
  5894. }
  5895. ],
  5896. "responses": {
  5897. "200": {
  5898. "description": "OK",
  5899. "schema": {
  5900. "$ref": "#/definitions/v1.GroupAddResponse"
  5901. }
  5902. },
  5903. "500": {
  5904. "description": "Internal Server Error",
  5905. "schema": {
  5906. "$ref": "#/definitions/base.HTTPError"
  5907. }
  5908. }
  5909. }
  5910. },
  5911. "delete": {
  5912. "description": "删除权限组",
  5913. "consumes": [
  5914. "application/json"
  5915. ],
  5916. "produces": [
  5917. "application/json"
  5918. ],
  5919. "tags": [
  5920. "权限管理"
  5921. ],
  5922. "summary": "删除权限组",
  5923. "parameters": [
  5924. {
  5925. "type": "string",
  5926. "description": "token",
  5927. "name": "token",
  5928. "in": "header",
  5929. "required": true
  5930. },
  5931. {
  5932. "type": "integer",
  5933. "description": "组id",
  5934. "name": "id",
  5935. "in": "query",
  5936. "required": true
  5937. }
  5938. ],
  5939. "responses": {
  5940. "200": {
  5941. "description": "OK",
  5942. "schema": {
  5943. "$ref": "#/definitions/v1.GroupDelResponse"
  5944. }
  5945. },
  5946. "500": {
  5947. "description": "Internal Server Error",
  5948. "schema": {
  5949. "$ref": "#/definitions/base.HTTPError"
  5950. }
  5951. }
  5952. }
  5953. }
  5954. },
  5955. "/api/v1/permission/group_info": {
  5956. "get": {
  5957. "description": "权限组信息",
  5958. "consumes": [
  5959. "application/json"
  5960. ],
  5961. "produces": [
  5962. "application/json"
  5963. ],
  5964. "tags": [
  5965. "权限管理"
  5966. ],
  5967. "summary": "权限组信息",
  5968. "parameters": [
  5969. {
  5970. "type": "string",
  5971. "description": "token",
  5972. "name": "token",
  5973. "in": "header",
  5974. "required": true
  5975. },
  5976. {
  5977. "type": "integer",
  5978. "description": "组id",
  5979. "name": "id",
  5980. "in": "query",
  5981. "required": true
  5982. }
  5983. ],
  5984. "responses": {
  5985. "200": {
  5986. "description": "OK",
  5987. "schema": {
  5988. "$ref": "#/definitions/v1.GroupInfoResponse"
  5989. }
  5990. },
  5991. "500": {
  5992. "description": "Internal Server Error",
  5993. "schema": {
  5994. "$ref": "#/definitions/base.HTTPError"
  5995. }
  5996. }
  5997. }
  5998. }
  5999. },
  6000. "/api/v1/permission/group_list": {
  6001. "get": {
  6002. "description": "权限组列表",
  6003. "consumes": [
  6004. "application/json"
  6005. ],
  6006. "produces": [
  6007. "application/json"
  6008. ],
  6009. "tags": [
  6010. "权限管理"
  6011. ],
  6012. "summary": "权限组列表",
  6013. "parameters": [
  6014. {
  6015. "type": "string",
  6016. "description": "token",
  6017. "name": "token",
  6018. "in": "header",
  6019. "required": true
  6020. }
  6021. ],
  6022. "responses": {
  6023. "200": {
  6024. "description": "OK",
  6025. "schema": {
  6026. "$ref": "#/definitions/v1.GroupListResponse"
  6027. }
  6028. },
  6029. "500": {
  6030. "description": "Internal Server Error",
  6031. "schema": {
  6032. "$ref": "#/definitions/base.HTTPError"
  6033. }
  6034. }
  6035. }
  6036. }
  6037. },
  6038. "/api/v1/person": {
  6039. "get": {
  6040. "description": "个人信息",
  6041. "consumes": [
  6042. "application/json"
  6043. ],
  6044. "produces": [
  6045. "application/json"
  6046. ],
  6047. "tags": [
  6048. "个人设置"
  6049. ],
  6050. "summary": "个人信息",
  6051. "parameters": [
  6052. {
  6053. "type": "string",
  6054. "description": "token",
  6055. "name": "token",
  6056. "in": "header",
  6057. "required": true
  6058. }
  6059. ],
  6060. "responses": {
  6061. "200": {
  6062. "description": "OK",
  6063. "schema": {
  6064. "$ref": "#/definitions/v1.PersonInfoResponse"
  6065. }
  6066. },
  6067. "500": {
  6068. "description": "Internal Server Error",
  6069. "schema": {
  6070. "$ref": "#/definitions/base.HTTPError"
  6071. }
  6072. }
  6073. }
  6074. },
  6075. "put": {
  6076. "description": "个人信息修改",
  6077. "consumes": [
  6078. "application/json"
  6079. ],
  6080. "produces": [
  6081. "application/json"
  6082. ],
  6083. "tags": [
  6084. "个人设置"
  6085. ],
  6086. "summary": "个人信息修改",
  6087. "parameters": [
  6088. {
  6089. "type": "string",
  6090. "description": "token",
  6091. "name": "token",
  6092. "in": "header",
  6093. "required": true
  6094. }
  6095. ],
  6096. "responses": {
  6097. "200": {
  6098. "description": "OK",
  6099. "schema": {
  6100. "$ref": "#/definitions/v1.PersonInfoUpdateResponse"
  6101. }
  6102. },
  6103. "500": {
  6104. "description": "Internal Server Error",
  6105. "schema": {
  6106. "$ref": "#/definitions/base.HTTPError"
  6107. }
  6108. }
  6109. }
  6110. }
  6111. },
  6112. "/api/v1/rent/house": {
  6113. "get": {
  6114. "description": "租房列表",
  6115. "consumes": [
  6116. "application/json"
  6117. ],
  6118. "produces": [
  6119. "application/json"
  6120. ],
  6121. "tags": [
  6122. "房屋租赁"
  6123. ],
  6124. "summary": "租房列表",
  6125. "parameters": [
  6126. {
  6127. "type": "string",
  6128. "description": "token",
  6129. "name": "token",
  6130. "in": "header",
  6131. "required": true
  6132. },
  6133. {
  6134. "type": "string",
  6135. "description": "省份代码",
  6136. "name": "province_code",
  6137. "in": "query"
  6138. },
  6139. {
  6140. "type": "string",
  6141. "description": "城市代码",
  6142. "name": "city_code",
  6143. "in": "query"
  6144. },
  6145. {
  6146. "type": "string",
  6147. "description": "区域代码",
  6148. "name": "area_code",
  6149. "in": "query"
  6150. },
  6151. {
  6152. "type": "string",
  6153. "description": "街道代码",
  6154. "name": "street_code",
  6155. "in": "query"
  6156. },
  6157. {
  6158. "type": "integer",
  6159. "description": "几室",
  6160. "name": "room_count",
  6161. "in": "query"
  6162. },
  6163. {
  6164. "type": "integer",
  6165. "description": "几厅",
  6166. "name": "hall_count",
  6167. "in": "query"
  6168. },
  6169. {
  6170. "type": "integer",
  6171. "description": "几卫",
  6172. "name": "wc_count",
  6173. "in": "query"
  6174. },
  6175. {
  6176. "type": "string",
  6177. "description": "租金大于",
  6178. "name": "rent_price_greater",
  6179. "in": "query"
  6180. },
  6181. {
  6182. "type": "string",
  6183. "description": "租金小于",
  6184. "name": "rent_price_less",
  6185. "in": "query"
  6186. },
  6187. {
  6188. "type": "integer",
  6189. "description": "审核状态 0 不过滤 1 待审核 2 通过 3 未通过",
  6190. "name": "approve_status",
  6191. "in": "query"
  6192. },
  6193. {
  6194. "type": "integer",
  6195. "description": " ",
  6196. "name": "page",
  6197. "in": "query"
  6198. },
  6199. {
  6200. "type": "integer",
  6201. "description": " ",
  6202. "name": "page_size",
  6203. "in": "query"
  6204. },
  6205. {
  6206. "type": "integer",
  6207. "description": "从低bit到高bit分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机",
  6208. "name": "base_conf",
  6209. "in": "query"
  6210. },
  6211. {
  6212. "type": "integer",
  6213. "description": "从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租",
  6214. "name": "special_conf",
  6215. "in": "query"
  6216. }
  6217. ],
  6218. "responses": {
  6219. "200": {
  6220. "description": "OK",
  6221. "schema": {
  6222. "$ref": "#/definitions/v1.HouseRentListResponse"
  6223. }
  6224. },
  6225. "500": {
  6226. "description": "Internal Server Error",
  6227. "schema": {
  6228. "$ref": "#/definitions/base.HTTPError"
  6229. }
  6230. }
  6231. }
  6232. },
  6233. "put": {
  6234. "description": "修改信息",
  6235. "consumes": [
  6236. "application/json"
  6237. ],
  6238. "produces": [
  6239. "application/json"
  6240. ],
  6241. "tags": [
  6242. "房屋租赁"
  6243. ],
  6244. "summary": "修改信息",
  6245. "parameters": [
  6246. {
  6247. "type": "string",
  6248. "description": "token",
  6249. "name": "token",
  6250. "in": "header",
  6251. "required": true
  6252. },
  6253. {
  6254. "description": " ",
  6255. "name": "body",
  6256. "in": "body",
  6257. "required": true,
  6258. "schema": {
  6259. "$ref": "#/definitions/v1.HouseRentUpdateBody"
  6260. }
  6261. }
  6262. ],
  6263. "responses": {
  6264. "200": {
  6265. "description": "OK",
  6266. "schema": {
  6267. "$ref": "#/definitions/v1.HouseRentUpdateResponse"
  6268. }
  6269. },
  6270. "500": {
  6271. "description": "Internal Server Error",
  6272. "schema": {
  6273. "$ref": "#/definitions/base.HTTPError"
  6274. }
  6275. }
  6276. }
  6277. },
  6278. "post": {
  6279. "description": "发布房源",
  6280. "consumes": [
  6281. "application/json"
  6282. ],
  6283. "produces": [
  6284. "application/json"
  6285. ],
  6286. "tags": [
  6287. "房屋租赁"
  6288. ],
  6289. "summary": "发布房源",
  6290. "parameters": [
  6291. {
  6292. "type": "string",
  6293. "description": "token",
  6294. "name": "token",
  6295. "in": "header",
  6296. "required": true
  6297. },
  6298. {
  6299. "description": " ",
  6300. "name": "body",
  6301. "in": "body",
  6302. "required": true,
  6303. "schema": {
  6304. "$ref": "#/definitions/v1.HouseRentApplyBody"
  6305. }
  6306. }
  6307. ],
  6308. "responses": {
  6309. "200": {
  6310. "description": "OK",
  6311. "schema": {
  6312. "$ref": "#/definitions/v1.HouseRentApplyResponse"
  6313. }
  6314. },
  6315. "500": {
  6316. "description": "Internal Server Error",
  6317. "schema": {
  6318. "$ref": "#/definitions/base.HTTPError"
  6319. }
  6320. }
  6321. }
  6322. }
  6323. },
  6324. "/api/v1/rent/house/appointment": {
  6325. "get": {
  6326. "description": "租房预约记录",
  6327. "consumes": [
  6328. "application/json"
  6329. ],
  6330. "produces": [
  6331. "application/json"
  6332. ],
  6333. "tags": [
  6334. "房屋租赁"
  6335. ],
  6336. "summary": "租房预约记录",
  6337. "parameters": [
  6338. {
  6339. "type": "string",
  6340. "description": "token",
  6341. "name": "token",
  6342. "in": "header",
  6343. "required": true
  6344. },
  6345. {
  6346. "type": "string",
  6347. "description": "房屋全称",
  6348. "name": "house_name",
  6349. "in": "query"
  6350. },
  6351. {
  6352. "type": "string",
  6353. "description": "联系人",
  6354. "name": "name",
  6355. "in": "query"
  6356. },
  6357. {
  6358. "type": "string",
  6359. "description": "联系人电话",
  6360. "name": "phone",
  6361. "in": "query"
  6362. },
  6363. {
  6364. "type": "integer",
  6365. "description": "租房信息id",
  6366. "name": "rent_id",
  6367. "in": "query"
  6368. },
  6369. {
  6370. "type": "integer",
  6371. "description": " ",
  6372. "name": "page",
  6373. "in": "query"
  6374. },
  6375. {
  6376. "type": "integer",
  6377. "description": " ",
  6378. "name": "page_size",
  6379. "in": "query"
  6380. }
  6381. ],
  6382. "responses": {
  6383. "200": {
  6384. "description": "OK",
  6385. "schema": {
  6386. "$ref": "#/definitions/v1.HouseRentAppointmentListResponse"
  6387. }
  6388. },
  6389. "500": {
  6390. "description": "Internal Server Error",
  6391. "schema": {
  6392. "$ref": "#/definitions/base.HTTPError"
  6393. }
  6394. }
  6395. }
  6396. },
  6397. "put": {
  6398. "description": "删除租房预约记录",
  6399. "consumes": [
  6400. "application/json"
  6401. ],
  6402. "produces": [
  6403. "application/json"
  6404. ],
  6405. "tags": [
  6406. "房屋租赁"
  6407. ],
  6408. "summary": "修改租房预约状态",
  6409. "parameters": [
  6410. {
  6411. "type": "string",
  6412. "description": "token",
  6413. "name": "token",
  6414. "in": "header",
  6415. "required": true
  6416. },
  6417. {
  6418. "description": "信息",
  6419. "name": "body",
  6420. "in": "body",
  6421. "required": true,
  6422. "schema": {
  6423. "$ref": "#/definitions/v1.HouseRentAppointmentStatusBody"
  6424. }
  6425. }
  6426. ],
  6427. "responses": {
  6428. "200": {
  6429. "description": "OK",
  6430. "schema": {
  6431. "$ref": "#/definitions/v1.HouseRentAppointmentStatusResponse"
  6432. }
  6433. },
  6434. "500": {
  6435. "description": "Internal Server Error",
  6436. "schema": {
  6437. "$ref": "#/definitions/base.HTTPError"
  6438. }
  6439. }
  6440. }
  6441. },
  6442. "delete": {
  6443. "description": "删除租房预约记录",
  6444. "consumes": [
  6445. "application/json"
  6446. ],
  6447. "produces": [
  6448. "application/json"
  6449. ],
  6450. "tags": [
  6451. "房屋租赁"
  6452. ],
  6453. "summary": "删除租房预约记录",
  6454. "parameters": [
  6455. {
  6456. "type": "string",
  6457. "description": "token",
  6458. "name": "token",
  6459. "in": "header",
  6460. "required": true
  6461. },
  6462. {
  6463. "type": "integer",
  6464. "description": "预约记录id",
  6465. "name": "id",
  6466. "in": "query"
  6467. }
  6468. ],
  6469. "responses": {
  6470. "200": {
  6471. "description": "OK",
  6472. "schema": {
  6473. "$ref": "#/definitions/v1.HouseRentAppointmentDelResponse"
  6474. }
  6475. },
  6476. "500": {
  6477. "description": "Internal Server Error",
  6478. "schema": {
  6479. "$ref": "#/definitions/base.HTTPError"
  6480. }
  6481. }
  6482. }
  6483. }
  6484. },
  6485. "/api/v1/rent/house/approve": {
  6486. "put": {
  6487. "description": "审核",
  6488. "consumes": [
  6489. "application/json"
  6490. ],
  6491. "produces": [
  6492. "application/json"
  6493. ],
  6494. "tags": [
  6495. "房屋租赁"
  6496. ],
  6497. "summary": "审核",
  6498. "parameters": [
  6499. {
  6500. "type": "string",
  6501. "description": "token",
  6502. "name": "token",
  6503. "in": "header",
  6504. "required": true
  6505. },
  6506. {
  6507. "description": " ",
  6508. "name": "body",
  6509. "in": "body",
  6510. "required": true,
  6511. "schema": {
  6512. "$ref": "#/definitions/v1.HouseRentApproveBody"
  6513. }
  6514. }
  6515. ],
  6516. "responses": {
  6517. "200": {
  6518. "description": "OK",
  6519. "schema": {
  6520. "$ref": "#/definitions/v1.HouseRentApproveResponse"
  6521. }
  6522. },
  6523. "500": {
  6524. "description": "Internal Server Error",
  6525. "schema": {
  6526. "$ref": "#/definitions/base.HTTPError"
  6527. }
  6528. }
  6529. }
  6530. }
  6531. },
  6532. "/api/v1/rent/house/down": {
  6533. "put": {
  6534. "description": "下架",
  6535. "consumes": [
  6536. "application/json"
  6537. ],
  6538. "produces": [
  6539. "application/json"
  6540. ],
  6541. "tags": [
  6542. "房屋租赁"
  6543. ],
  6544. "summary": "下架",
  6545. "parameters": [
  6546. {
  6547. "type": "string",
  6548. "description": "token",
  6549. "name": "token",
  6550. "in": "header",
  6551. "required": true
  6552. },
  6553. {
  6554. "description": " ",
  6555. "name": "body",
  6556. "in": "body",
  6557. "required": true,
  6558. "schema": {
  6559. "$ref": "#/definitions/v1.HouseRentDownBody"
  6560. }
  6561. }
  6562. ],
  6563. "responses": {
  6564. "200": {
  6565. "description": "OK",
  6566. "schema": {
  6567. "$ref": "#/definitions/v1.HouseRentDownResponse"
  6568. }
  6569. },
  6570. "500": {
  6571. "description": "Internal Server Error",
  6572. "schema": {
  6573. "$ref": "#/definitions/base.HTTPError"
  6574. }
  6575. }
  6576. }
  6577. }
  6578. },
  6579. "/api/v1/rent/house/manager": {
  6580. "get": {
  6581. "description": "房屋的经纪人列表",
  6582. "consumes": [
  6583. "application/json"
  6584. ],
  6585. "produces": [
  6586. "application/json"
  6587. ],
  6588. "tags": [
  6589. "房屋租赁"
  6590. ],
  6591. "summary": "房屋的经纪人列表",
  6592. "parameters": [
  6593. {
  6594. "type": "string",
  6595. "description": "token",
  6596. "name": "token",
  6597. "in": "header",
  6598. "required": true
  6599. },
  6600. {
  6601. "type": "integer",
  6602. "description": "租房信息id",
  6603. "name": "rent_id",
  6604. "in": "query",
  6605. "required": true
  6606. }
  6607. ],
  6608. "responses": {
  6609. "200": {
  6610. "description": "OK",
  6611. "schema": {
  6612. "$ref": "#/definitions/v1.HouseRentManagerListResponse"
  6613. }
  6614. },
  6615. "500": {
  6616. "description": "Internal Server Error",
  6617. "schema": {
  6618. "$ref": "#/definitions/base.HTTPError"
  6619. }
  6620. }
  6621. }
  6622. },
  6623. "post": {
  6624. "description": "添加经纪人",
  6625. "consumes": [
  6626. "application/json"
  6627. ],
  6628. "produces": [
  6629. "application/json"
  6630. ],
  6631. "tags": [
  6632. "房屋租赁"
  6633. ],
  6634. "summary": "添加经纪人",
  6635. "parameters": [
  6636. {
  6637. "type": "string",
  6638. "description": "token",
  6639. "name": "token",
  6640. "in": "header",
  6641. "required": true
  6642. },
  6643. {
  6644. "description": " ",
  6645. "name": "body",
  6646. "in": "body",
  6647. "required": true,
  6648. "schema": {
  6649. "$ref": "#/definitions/v1.HouseRentAddManagerBody"
  6650. }
  6651. }
  6652. ],
  6653. "responses": {
  6654. "200": {
  6655. "description": "OK",
  6656. "schema": {
  6657. "$ref": "#/definitions/v1.HouseRentAddManagerResponse"
  6658. }
  6659. },
  6660. "500": {
  6661. "description": "Internal Server Error",
  6662. "schema": {
  6663. "$ref": "#/definitions/base.HTTPError"
  6664. }
  6665. }
  6666. }
  6667. },
  6668. "delete": {
  6669. "description": "删除经纪人",
  6670. "consumes": [
  6671. "application/json"
  6672. ],
  6673. "produces": [
  6674. "application/json"
  6675. ],
  6676. "tags": [
  6677. "房屋租赁"
  6678. ],
  6679. "summary": "删除经纪人",
  6680. "parameters": [
  6681. {
  6682. "type": "string",
  6683. "description": "token",
  6684. "name": "token",
  6685. "in": "header",
  6686. "required": true
  6687. },
  6688. {
  6689. "type": "integer",
  6690. "description": "经纪人与房屋的关系id",
  6691. "name": "id",
  6692. "in": "query",
  6693. "required": true
  6694. }
  6695. ],
  6696. "responses": {
  6697. "200": {
  6698. "description": "OK",
  6699. "schema": {
  6700. "$ref": "#/definitions/v1.HouseRentDelManagerResponse"
  6701. }
  6702. },
  6703. "500": {
  6704. "description": "Internal Server Error",
  6705. "schema": {
  6706. "$ref": "#/definitions/base.HTTPError"
  6707. }
  6708. }
  6709. }
  6710. }
  6711. },
  6712. "/api/v1/repair/class": {
  6713. "get": {
  6714. "description": "分类列表",
  6715. "consumes": [
  6716. "application/json"
  6717. ],
  6718. "produces": [
  6719. "application/json"
  6720. ],
  6721. "tags": [
  6722. "报事报修"
  6723. ],
  6724. "summary": "分类列表",
  6725. "parameters": [
  6726. {
  6727. "type": "string",
  6728. "description": "token",
  6729. "name": "token",
  6730. "in": "header",
  6731. "required": true
  6732. },
  6733. {
  6734. "type": "integer",
  6735. "description": " ",
  6736. "name": "page",
  6737. "in": "query"
  6738. },
  6739. {
  6740. "type": "integer",
  6741. "description": " ",
  6742. "name": "page_size",
  6743. "in": "query"
  6744. },
  6745. {
  6746. "type": "integer",
  6747. "description": "1公区 2室内 ",
  6748. "name": "area",
  6749. "in": "query"
  6750. }
  6751. ],
  6752. "responses": {
  6753. "200": {
  6754. "description": "OK",
  6755. "schema": {
  6756. "$ref": "#/definitions/v1.RepairClassListResponse"
  6757. }
  6758. },
  6759. "500": {
  6760. "description": "Internal Server Error",
  6761. "schema": {
  6762. "$ref": "#/definitions/base.HTTPError"
  6763. }
  6764. }
  6765. }
  6766. },
  6767. "put": {
  6768. "description": "修改分类",
  6769. "consumes": [
  6770. "application/json"
  6771. ],
  6772. "produces": [
  6773. "application/json"
  6774. ],
  6775. "tags": [
  6776. "报事报修"
  6777. ],
  6778. "summary": "修改分类",
  6779. "parameters": [
  6780. {
  6781. "type": "string",
  6782. "description": "token",
  6783. "name": "token",
  6784. "in": "header",
  6785. "required": true
  6786. },
  6787. {
  6788. "description": "信息",
  6789. "name": "body",
  6790. "in": "body",
  6791. "required": true,
  6792. "schema": {
  6793. "$ref": "#/definitions/v1.RepairClassUpdateBody"
  6794. }
  6795. }
  6796. ],
  6797. "responses": {
  6798. "200": {
  6799. "description": "OK",
  6800. "schema": {
  6801. "$ref": "#/definitions/v1.RepairClassUpdateResponse"
  6802. }
  6803. },
  6804. "500": {
  6805. "description": "Internal Server Error",
  6806. "schema": {
  6807. "$ref": "#/definitions/base.HTTPError"
  6808. }
  6809. }
  6810. }
  6811. },
  6812. "post": {
  6813. "description": "添加分类",
  6814. "consumes": [
  6815. "application/json"
  6816. ],
  6817. "produces": [
  6818. "application/json"
  6819. ],
  6820. "tags": [
  6821. "报事报修"
  6822. ],
  6823. "summary": "添加分类",
  6824. "parameters": [
  6825. {
  6826. "type": "string",
  6827. "description": "token",
  6828. "name": "token",
  6829. "in": "header",
  6830. "required": true
  6831. },
  6832. {
  6833. "description": "信息",
  6834. "name": "body",
  6835. "in": "body",
  6836. "required": true,
  6837. "schema": {
  6838. "$ref": "#/definitions/v1.RepairClassAddBody"
  6839. }
  6840. }
  6841. ],
  6842. "responses": {
  6843. "200": {
  6844. "description": "OK",
  6845. "schema": {
  6846. "$ref": "#/definitions/v1.RepairClassAddResponse"
  6847. }
  6848. },
  6849. "500": {
  6850. "description": "Internal Server Error",
  6851. "schema": {
  6852. "$ref": "#/definitions/base.HTTPError"
  6853. }
  6854. }
  6855. }
  6856. },
  6857. "delete": {
  6858. "description": "删除分类",
  6859. "consumes": [
  6860. "application/json"
  6861. ],
  6862. "produces": [
  6863. "application/json"
  6864. ],
  6865. "tags": [
  6866. "报事报修"
  6867. ],
  6868. "summary": "删除分类",
  6869. "parameters": [
  6870. {
  6871. "type": "string",
  6872. "description": "token",
  6873. "name": "token",
  6874. "in": "header",
  6875. "required": true
  6876. },
  6877. {
  6878. "type": "integer",
  6879. "description": " ",
  6880. "name": "id",
  6881. "in": "query",
  6882. "required": true
  6883. }
  6884. ],
  6885. "responses": {
  6886. "200": {
  6887. "description": "OK",
  6888. "schema": {
  6889. "$ref": "#/definitions/v1.RepairClassDelResponse"
  6890. }
  6891. },
  6892. "500": {
  6893. "description": "Internal Server Error",
  6894. "schema": {
  6895. "$ref": "#/definitions/base.HTTPError"
  6896. }
  6897. }
  6898. }
  6899. }
  6900. },
  6901. "/api/v1/repair/order": {
  6902. "get": {
  6903. "description": "工单列表",
  6904. "consumes": [
  6905. "application/json"
  6906. ],
  6907. "produces": [
  6908. "application/json"
  6909. ],
  6910. "tags": [
  6911. "报事报修"
  6912. ],
  6913. "summary": "工单列表",
  6914. "parameters": [
  6915. {
  6916. "type": "string",
  6917. "description": "token",
  6918. "name": "token",
  6919. "in": "header",
  6920. "required": true
  6921. },
  6922. {
  6923. "type": "integer",
  6924. "description": " ",
  6925. "name": "page",
  6926. "in": "query"
  6927. },
  6928. {
  6929. "type": "integer",
  6930. "description": " ",
  6931. "name": "page_size",
  6932. "in": "query"
  6933. },
  6934. {
  6935. "type": "integer",
  6936. "description": " 1未派单 2 已派单 3 已完结 ",
  6937. "name": "status",
  6938. "in": "query"
  6939. },
  6940. {
  6941. "type": "string",
  6942. "description": "报修人",
  6943. "name": "apply_people",
  6944. "in": "query"
  6945. },
  6946. {
  6947. "type": "string",
  6948. "description": "报修人电话",
  6949. "name": "apply_people_phone",
  6950. "in": "query"
  6951. },
  6952. {
  6953. "type": "boolean",
  6954. "description": " true: 指派给我的",
  6955. "name": "is_me",
  6956. "in": "query"
  6957. },
  6958. {
  6959. "type": "integer",
  6960. "description": "分类id",
  6961. "name": "class_id",
  6962. "in": "query"
  6963. }
  6964. ],
  6965. "responses": {
  6966. "200": {
  6967. "description": "OK",
  6968. "schema": {
  6969. "$ref": "#/definitions/v1.RepairOrderListResponse"
  6970. }
  6971. },
  6972. "500": {
  6973. "description": "Internal Server Error",
  6974. "schema": {
  6975. "$ref": "#/definitions/base.HTTPError"
  6976. }
  6977. }
  6978. }
  6979. },
  6980. "put": {
  6981. "description": "修改工单",
  6982. "consumes": [
  6983. "application/json"
  6984. ],
  6985. "produces": [
  6986. "application/json"
  6987. ],
  6988. "tags": [
  6989. "报事报修"
  6990. ],
  6991. "summary": "修改工单",
  6992. "parameters": [
  6993. {
  6994. "type": "string",
  6995. "description": "token",
  6996. "name": "token",
  6997. "in": "header",
  6998. "required": true
  6999. },
  7000. {
  7001. "description": "信息",
  7002. "name": "body",
  7003. "in": "body",
  7004. "required": true,
  7005. "schema": {
  7006. "$ref": "#/definitions/v1.RepairOrderUpdateBody"
  7007. }
  7008. }
  7009. ],
  7010. "responses": {
  7011. "200": {
  7012. "description": "OK",
  7013. "schema": {
  7014. "$ref": "#/definitions/v1.RepairOrderUpdateResponse"
  7015. }
  7016. },
  7017. "500": {
  7018. "description": "Internal Server Error",
  7019. "schema": {
  7020. "$ref": "#/definitions/base.HTTPError"
  7021. }
  7022. }
  7023. }
  7024. },
  7025. "post": {
  7026. "description": "新增工单",
  7027. "consumes": [
  7028. "application/json"
  7029. ],
  7030. "produces": [
  7031. "application/json"
  7032. ],
  7033. "tags": [
  7034. "报事报修"
  7035. ],
  7036. "summary": "新增工单",
  7037. "parameters": [
  7038. {
  7039. "type": "string",
  7040. "description": "token",
  7041. "name": "token",
  7042. "in": "header",
  7043. "required": true
  7044. },
  7045. {
  7046. "description": "信息",
  7047. "name": "body",
  7048. "in": "body",
  7049. "required": true,
  7050. "schema": {
  7051. "$ref": "#/definitions/v1.RepairOrderAddBody"
  7052. }
  7053. }
  7054. ],
  7055. "responses": {
  7056. "200": {
  7057. "description": "OK",
  7058. "schema": {
  7059. "$ref": "#/definitions/v1.RepairOrderAddResponse"
  7060. }
  7061. },
  7062. "500": {
  7063. "description": "Internal Server Error",
  7064. "schema": {
  7065. "$ref": "#/definitions/base.HTTPError"
  7066. }
  7067. }
  7068. }
  7069. },
  7070. "delete": {
  7071. "description": "删除工单",
  7072. "consumes": [
  7073. "application/json"
  7074. ],
  7075. "produces": [
  7076. "application/json"
  7077. ],
  7078. "tags": [
  7079. "报事报修"
  7080. ],
  7081. "summary": "删除工单",
  7082. "parameters": [
  7083. {
  7084. "type": "string",
  7085. "description": "token",
  7086. "name": "token",
  7087. "in": "header",
  7088. "required": true
  7089. },
  7090. {
  7091. "type": "integer",
  7092. "description": " ",
  7093. "name": "id",
  7094. "in": "query",
  7095. "required": true
  7096. }
  7097. ],
  7098. "responses": {
  7099. "200": {
  7100. "description": "OK",
  7101. "schema": {
  7102. "$ref": "#/definitions/v1.RepairOrderDelResponse"
  7103. }
  7104. },
  7105. "500": {
  7106. "description": "Internal Server Error",
  7107. "schema": {
  7108. "$ref": "#/definitions/base.HTTPError"
  7109. }
  7110. }
  7111. }
  7112. }
  7113. },
  7114. "/api/v1/repair/order/back": {
  7115. "put": {
  7116. "description": "退单",
  7117. "consumes": [
  7118. "application/json"
  7119. ],
  7120. "produces": [
  7121. "application/json"
  7122. ],
  7123. "tags": [
  7124. "报事报修"
  7125. ],
  7126. "summary": "退单",
  7127. "parameters": [
  7128. {
  7129. "type": "string",
  7130. "description": "token",
  7131. "name": "token",
  7132. "in": "header",
  7133. "required": true
  7134. },
  7135. {
  7136. "description": "信息",
  7137. "name": "body",
  7138. "in": "body",
  7139. "required": true,
  7140. "schema": {
  7141. "$ref": "#/definitions/v1.RepairOrderBackBody"
  7142. }
  7143. }
  7144. ],
  7145. "responses": {
  7146. "200": {
  7147. "description": "OK",
  7148. "schema": {
  7149. "$ref": "#/definitions/v1.RepairOrderBackResponse"
  7150. }
  7151. },
  7152. "500": {
  7153. "description": "Internal Server Error",
  7154. "schema": {
  7155. "$ref": "#/definitions/base.HTTPError"
  7156. }
  7157. }
  7158. }
  7159. }
  7160. },
  7161. "/api/v1/repair/order/finish": {
  7162. "put": {
  7163. "description": "结单",
  7164. "consumes": [
  7165. "application/json"
  7166. ],
  7167. "produces": [
  7168. "application/json"
  7169. ],
  7170. "tags": [
  7171. "报事报修"
  7172. ],
  7173. "summary": "结单",
  7174. "parameters": [
  7175. {
  7176. "type": "string",
  7177. "description": "token",
  7178. "name": "token",
  7179. "in": "header",
  7180. "required": true
  7181. },
  7182. {
  7183. "description": "信息",
  7184. "name": "body",
  7185. "in": "body",
  7186. "required": true,
  7187. "schema": {
  7188. "$ref": "#/definitions/v1.RepairOrderFinishBody"
  7189. }
  7190. }
  7191. ],
  7192. "responses": {
  7193. "200": {
  7194. "description": "OK",
  7195. "schema": {
  7196. "$ref": "#/definitions/v1.RepairOrderFinishResponse"
  7197. }
  7198. },
  7199. "500": {
  7200. "description": "Internal Server Error",
  7201. "schema": {
  7202. "$ref": "#/definitions/base.HTTPError"
  7203. }
  7204. }
  7205. }
  7206. }
  7207. },
  7208. "/api/v1/repair/order/info": {
  7209. "get": {
  7210. "description": "工单详情",
  7211. "consumes": [
  7212. "application/json"
  7213. ],
  7214. "produces": [
  7215. "application/json"
  7216. ],
  7217. "tags": [
  7218. "报事报修"
  7219. ],
  7220. "summary": "工单详情",
  7221. "parameters": [
  7222. {
  7223. "type": "string",
  7224. "description": "token",
  7225. "name": "token",
  7226. "in": "header",
  7227. "required": true
  7228. },
  7229. {
  7230. "type": "integer",
  7231. "description": " ",
  7232. "name": "id",
  7233. "in": "query",
  7234. "required": true
  7235. }
  7236. ],
  7237. "responses": {
  7238. "200": {
  7239. "description": "OK",
  7240. "schema": {
  7241. "$ref": "#/definitions/v1.RepairOrderInfoResponse"
  7242. }
  7243. },
  7244. "500": {
  7245. "description": "Internal Server Error",
  7246. "schema": {
  7247. "$ref": "#/definitions/base.HTTPError"
  7248. }
  7249. }
  7250. }
  7251. }
  7252. },
  7253. "/api/v1/repair/order/return_visit": {
  7254. "put": {
  7255. "description": "回访",
  7256. "consumes": [
  7257. "application/json"
  7258. ],
  7259. "produces": [
  7260. "application/json"
  7261. ],
  7262. "tags": [
  7263. "报事报修"
  7264. ],
  7265. "summary": "回访",
  7266. "parameters": [
  7267. {
  7268. "type": "string",
  7269. "description": "token",
  7270. "name": "token",
  7271. "in": "header",
  7272. "required": true
  7273. },
  7274. {
  7275. "description": "信息",
  7276. "name": "body",
  7277. "in": "body",
  7278. "required": true,
  7279. "schema": {
  7280. "$ref": "#/definitions/v1.RepairOrderReturnVisitBody"
  7281. }
  7282. }
  7283. ],
  7284. "responses": {
  7285. "200": {
  7286. "description": "OK",
  7287. "schema": {
  7288. "$ref": "#/definitions/v1.RepairOrderReturnVisitResponse"
  7289. }
  7290. },
  7291. "500": {
  7292. "description": "Internal Server Error",
  7293. "schema": {
  7294. "$ref": "#/definitions/base.HTTPError"
  7295. }
  7296. }
  7297. }
  7298. }
  7299. },
  7300. "/api/v1/repair/order/send": {
  7301. "put": {
  7302. "description": "派单",
  7303. "consumes": [
  7304. "application/json"
  7305. ],
  7306. "produces": [
  7307. "application/json"
  7308. ],
  7309. "tags": [
  7310. "报事报修"
  7311. ],
  7312. "summary": "派单",
  7313. "parameters": [
  7314. {
  7315. "type": "string",
  7316. "description": "token",
  7317. "name": "token",
  7318. "in": "header",
  7319. "required": true
  7320. },
  7321. {
  7322. "description": "信息",
  7323. "name": "body",
  7324. "in": "body",
  7325. "required": true,
  7326. "schema": {
  7327. "$ref": "#/definitions/v1.RepairOrderSendBody"
  7328. }
  7329. }
  7330. ],
  7331. "responses": {
  7332. "200": {
  7333. "description": "OK",
  7334. "schema": {
  7335. "$ref": "#/definitions/v1.RepairOrderSendResponse"
  7336. }
  7337. },
  7338. "500": {
  7339. "description": "Internal Server Error",
  7340. "schema": {
  7341. "$ref": "#/definitions/base.HTTPError"
  7342. }
  7343. }
  7344. }
  7345. }
  7346. },
  7347. "/api/v1/service/announcement": {
  7348. "get": {
  7349. "description": "公告列表",
  7350. "consumes": [
  7351. "application/json"
  7352. ],
  7353. "produces": [
  7354. "application/json"
  7355. ],
  7356. "tags": [
  7357. "公告"
  7358. ],
  7359. "summary": "公告列表",
  7360. "parameters": [
  7361. {
  7362. "type": "string",
  7363. "description": "token",
  7364. "name": "token",
  7365. "in": "header",
  7366. "required": true
  7367. },
  7368. {
  7369. "type": "integer",
  7370. "description": " ",
  7371. "name": "page",
  7372. "in": "query"
  7373. },
  7374. {
  7375. "type": "integer",
  7376. "description": " ",
  7377. "name": "page_size",
  7378. "in": "query"
  7379. }
  7380. ],
  7381. "responses": {
  7382. "200": {
  7383. "description": "OK",
  7384. "schema": {
  7385. "$ref": "#/definitions/v1.AnnouncementListResponse"
  7386. }
  7387. },
  7388. "500": {
  7389. "description": "Internal Server Error",
  7390. "schema": {
  7391. "$ref": "#/definitions/base.HTTPError"
  7392. }
  7393. }
  7394. }
  7395. },
  7396. "put": {
  7397. "description": "修改公告",
  7398. "consumes": [
  7399. "application/json"
  7400. ],
  7401. "produces": [
  7402. "application/json"
  7403. ],
  7404. "tags": [
  7405. "公告"
  7406. ],
  7407. "summary": "修改公告",
  7408. "parameters": [
  7409. {
  7410. "type": "string",
  7411. "description": "token",
  7412. "name": "token",
  7413. "in": "header",
  7414. "required": true
  7415. },
  7416. {
  7417. "description": "信息",
  7418. "name": "body",
  7419. "in": "body",
  7420. "required": true,
  7421. "schema": {
  7422. "$ref": "#/definitions/v1.AnnouncementUpdateBody"
  7423. }
  7424. }
  7425. ],
  7426. "responses": {
  7427. "200": {
  7428. "description": "OK",
  7429. "schema": {
  7430. "$ref": "#/definitions/v1.AnnouncementUpdateResponse"
  7431. }
  7432. },
  7433. "500": {
  7434. "description": "Internal Server Error",
  7435. "schema": {
  7436. "$ref": "#/definitions/base.HTTPError"
  7437. }
  7438. }
  7439. }
  7440. },
  7441. "post": {
  7442. "description": "添加公告",
  7443. "consumes": [
  7444. "application/json"
  7445. ],
  7446. "produces": [
  7447. "application/json"
  7448. ],
  7449. "tags": [
  7450. "公告"
  7451. ],
  7452. "summary": "添加公告",
  7453. "parameters": [
  7454. {
  7455. "type": "string",
  7456. "description": "token",
  7457. "name": "token",
  7458. "in": "header",
  7459. "required": true
  7460. },
  7461. {
  7462. "description": "信息",
  7463. "name": "body",
  7464. "in": "body",
  7465. "required": true,
  7466. "schema": {
  7467. "$ref": "#/definitions/v1.AnnouncementAddBody"
  7468. }
  7469. }
  7470. ],
  7471. "responses": {
  7472. "200": {
  7473. "description": "OK",
  7474. "schema": {
  7475. "$ref": "#/definitions/v1.AnnouncementAddResponse"
  7476. }
  7477. },
  7478. "500": {
  7479. "description": "Internal Server Error",
  7480. "schema": {
  7481. "$ref": "#/definitions/base.HTTPError"
  7482. }
  7483. }
  7484. }
  7485. },
  7486. "delete": {
  7487. "description": "删除公告",
  7488. "consumes": [
  7489. "application/json"
  7490. ],
  7491. "produces": [
  7492. "application/json"
  7493. ],
  7494. "tags": [
  7495. "公告"
  7496. ],
  7497. "summary": "删除公告",
  7498. "parameters": [
  7499. {
  7500. "type": "string",
  7501. "description": "token",
  7502. "name": "token",
  7503. "in": "header",
  7504. "required": true
  7505. },
  7506. {
  7507. "type": "integer",
  7508. "description": " ",
  7509. "name": "id",
  7510. "in": "query",
  7511. "required": true
  7512. }
  7513. ],
  7514. "responses": {
  7515. "200": {
  7516. "description": "OK",
  7517. "schema": {
  7518. "$ref": "#/definitions/v1.AnnouncementDelResponse"
  7519. }
  7520. },
  7521. "500": {
  7522. "description": "Internal Server Error",
  7523. "schema": {
  7524. "$ref": "#/definitions/base.HTTPError"
  7525. }
  7526. }
  7527. }
  7528. }
  7529. },
  7530. "/api/v1/service/event": {
  7531. "get": {
  7532. "description": "社区活动列表",
  7533. "consumes": [
  7534. "application/json"
  7535. ],
  7536. "produces": [
  7537. "application/json"
  7538. ],
  7539. "tags": [
  7540. "社区活动"
  7541. ],
  7542. "summary": "社区活动列表",
  7543. "parameters": [
  7544. {
  7545. "type": "string",
  7546. "description": "token",
  7547. "name": "token",
  7548. "in": "header",
  7549. "required": true
  7550. },
  7551. {
  7552. "type": "integer",
  7553. "description": " ",
  7554. "name": "page",
  7555. "in": "query"
  7556. },
  7557. {
  7558. "type": "integer",
  7559. "description": " ",
  7560. "name": "page_size",
  7561. "in": "query"
  7562. }
  7563. ],
  7564. "responses": {
  7565. "200": {
  7566. "description": "OK",
  7567. "schema": {
  7568. "$ref": "#/definitions/v1.EventListResponse"
  7569. }
  7570. },
  7571. "500": {
  7572. "description": "Internal Server Error",
  7573. "schema": {
  7574. "$ref": "#/definitions/base.HTTPError"
  7575. }
  7576. }
  7577. }
  7578. },
  7579. "put": {
  7580. "description": "修改社区活动",
  7581. "consumes": [
  7582. "application/json"
  7583. ],
  7584. "produces": [
  7585. "application/json"
  7586. ],
  7587. "tags": [
  7588. "社区活动"
  7589. ],
  7590. "summary": "修改社区活动",
  7591. "parameters": [
  7592. {
  7593. "type": "string",
  7594. "description": "token",
  7595. "name": "token",
  7596. "in": "header",
  7597. "required": true
  7598. },
  7599. {
  7600. "description": "信息",
  7601. "name": "body",
  7602. "in": "body",
  7603. "required": true,
  7604. "schema": {
  7605. "$ref": "#/definitions/v1.EventUpdateBody"
  7606. }
  7607. }
  7608. ],
  7609. "responses": {
  7610. "200": {
  7611. "description": "OK",
  7612. "schema": {
  7613. "$ref": "#/definitions/v1.EventUpdateResponse"
  7614. }
  7615. },
  7616. "500": {
  7617. "description": "Internal Server Error",
  7618. "schema": {
  7619. "$ref": "#/definitions/base.HTTPError"
  7620. }
  7621. }
  7622. }
  7623. },
  7624. "post": {
  7625. "description": "添加社区活动",
  7626. "consumes": [
  7627. "application/json"
  7628. ],
  7629. "produces": [
  7630. "application/json"
  7631. ],
  7632. "tags": [
  7633. "社区活动"
  7634. ],
  7635. "summary": "添加社区活动",
  7636. "parameters": [
  7637. {
  7638. "type": "string",
  7639. "description": "token",
  7640. "name": "token",
  7641. "in": "header",
  7642. "required": true
  7643. },
  7644. {
  7645. "description": "信息",
  7646. "name": "body",
  7647. "in": "body",
  7648. "required": true,
  7649. "schema": {
  7650. "$ref": "#/definitions/v1.EventAddBody"
  7651. }
  7652. }
  7653. ],
  7654. "responses": {
  7655. "200": {
  7656. "description": "OK",
  7657. "schema": {
  7658. "$ref": "#/definitions/v1.EventAddResponse"
  7659. }
  7660. },
  7661. "500": {
  7662. "description": "Internal Server Error",
  7663. "schema": {
  7664. "$ref": "#/definitions/base.HTTPError"
  7665. }
  7666. }
  7667. }
  7668. },
  7669. "delete": {
  7670. "description": "删除社区活动",
  7671. "consumes": [
  7672. "application/json"
  7673. ],
  7674. "produces": [
  7675. "application/json"
  7676. ],
  7677. "tags": [
  7678. "社区活动"
  7679. ],
  7680. "summary": "删除社区活动",
  7681. "parameters": [
  7682. {
  7683. "type": "string",
  7684. "description": "token",
  7685. "name": "token",
  7686. "in": "header",
  7687. "required": true
  7688. },
  7689. {
  7690. "type": "integer",
  7691. "description": " ",
  7692. "name": "id",
  7693. "in": "query",
  7694. "required": true
  7695. }
  7696. ],
  7697. "responses": {
  7698. "200": {
  7699. "description": "OK",
  7700. "schema": {
  7701. "$ref": "#/definitions/v1.EventDelResponse"
  7702. }
  7703. },
  7704. "500": {
  7705. "description": "Internal Server Error",
  7706. "schema": {
  7707. "$ref": "#/definitions/base.HTTPError"
  7708. }
  7709. }
  7710. }
  7711. }
  7712. },
  7713. "/api/v1/service/event/sign": {
  7714. "get": {
  7715. "description": "社区活动报名记录列表",
  7716. "consumes": [
  7717. "application/json"
  7718. ],
  7719. "produces": [
  7720. "application/json"
  7721. ],
  7722. "tags": [
  7723. "社区活动"
  7724. ],
  7725. "summary": "社区活动报名记录列表",
  7726. "parameters": [
  7727. {
  7728. "type": "string",
  7729. "description": "token",
  7730. "name": "token",
  7731. "in": "header",
  7732. "required": true
  7733. },
  7734. {
  7735. "type": "integer",
  7736. "description": " ",
  7737. "name": "page",
  7738. "in": "query"
  7739. },
  7740. {
  7741. "type": "integer",
  7742. "description": " ",
  7743. "name": "page_size",
  7744. "in": "query"
  7745. },
  7746. {
  7747. "type": "integer",
  7748. "description": "活动id",
  7749. "name": "event_id",
  7750. "in": "query",
  7751. "required": true
  7752. }
  7753. ],
  7754. "responses": {
  7755. "200": {
  7756. "description": "OK",
  7757. "schema": {
  7758. "$ref": "#/definitions/v1.EventSignListResponse"
  7759. }
  7760. },
  7761. "500": {
  7762. "description": "Internal Server Error",
  7763. "schema": {
  7764. "$ref": "#/definitions/base.HTTPError"
  7765. }
  7766. }
  7767. }
  7768. },
  7769. "delete": {
  7770. "description": "删除社区活动报名记录",
  7771. "consumes": [
  7772. "application/json"
  7773. ],
  7774. "produces": [
  7775. "application/json"
  7776. ],
  7777. "tags": [
  7778. "社区活动"
  7779. ],
  7780. "summary": "删除社区活动报名记录",
  7781. "parameters": [
  7782. {
  7783. "type": "string",
  7784. "description": "token",
  7785. "name": "token",
  7786. "in": "header",
  7787. "required": true
  7788. },
  7789. {
  7790. "type": "integer",
  7791. "description": " ",
  7792. "name": "id",
  7793. "in": "query",
  7794. "required": true
  7795. }
  7796. ],
  7797. "responses": {
  7798. "200": {
  7799. "description": "OK",
  7800. "schema": {
  7801. "$ref": "#/definitions/v1.EventSignDelResponse"
  7802. }
  7803. },
  7804. "500": {
  7805. "description": "Internal Server Error",
  7806. "schema": {
  7807. "$ref": "#/definitions/base.HTTPError"
  7808. }
  7809. }
  7810. }
  7811. }
  7812. },
  7813. "/api/v1/service/neighbor/article": {
  7814. "get": {
  7815. "description": "文章列表",
  7816. "consumes": [
  7817. "application/json"
  7818. ],
  7819. "produces": [
  7820. "application/json"
  7821. ],
  7822. "tags": [
  7823. "社区邻里"
  7824. ],
  7825. "summary": "文章列表",
  7826. "parameters": [
  7827. {
  7828. "type": "string",
  7829. "description": "token",
  7830. "name": "token",
  7831. "in": "header",
  7832. "required": true
  7833. },
  7834. {
  7835. "type": "integer",
  7836. "description": " ",
  7837. "name": "page",
  7838. "in": "query"
  7839. },
  7840. {
  7841. "type": "integer",
  7842. "description": " ",
  7843. "name": "page_size",
  7844. "in": "query"
  7845. },
  7846. {
  7847. "type": "string",
  7848. "description": "文章标题 ",
  7849. "name": "title",
  7850. "in": "query"
  7851. },
  7852. {
  7853. "type": "integer",
  7854. "description": "分类id",
  7855. "name": "class_id",
  7856. "in": "query"
  7857. }
  7858. ],
  7859. "responses": {
  7860. "200": {
  7861. "description": "OK",
  7862. "schema": {
  7863. "$ref": "#/definitions/v1.NeighborArticleListResponse"
  7864. }
  7865. },
  7866. "500": {
  7867. "description": "Internal Server Error",
  7868. "schema": {
  7869. "$ref": "#/definitions/base.HTTPError"
  7870. }
  7871. }
  7872. }
  7873. },
  7874. "delete": {
  7875. "description": "删除文章",
  7876. "consumes": [
  7877. "application/json"
  7878. ],
  7879. "produces": [
  7880. "application/json"
  7881. ],
  7882. "tags": [
  7883. "社区邻里"
  7884. ],
  7885. "summary": "删除文章",
  7886. "parameters": [
  7887. {
  7888. "type": "string",
  7889. "description": "token",
  7890. "name": "token",
  7891. "in": "header",
  7892. "required": true
  7893. },
  7894. {
  7895. "type": "integer",
  7896. "description": " ",
  7897. "name": "id",
  7898. "in": "query",
  7899. "required": true
  7900. }
  7901. ],
  7902. "responses": {
  7903. "200": {
  7904. "description": "OK",
  7905. "schema": {
  7906. "$ref": "#/definitions/v1.NeighborArticleDelResponse"
  7907. }
  7908. },
  7909. "500": {
  7910. "description": "Internal Server Error",
  7911. "schema": {
  7912. "$ref": "#/definitions/base.HTTPError"
  7913. }
  7914. }
  7915. }
  7916. }
  7917. },
  7918. "/api/v1/service/neighbor/class": {
  7919. "get": {
  7920. "description": "分类列表",
  7921. "consumes": [
  7922. "application/json"
  7923. ],
  7924. "produces": [
  7925. "application/json"
  7926. ],
  7927. "tags": [
  7928. "社区邻里"
  7929. ],
  7930. "summary": "分类列表",
  7931. "parameters": [
  7932. {
  7933. "type": "string",
  7934. "description": "token",
  7935. "name": "token",
  7936. "in": "header",
  7937. "required": true
  7938. },
  7939. {
  7940. "type": "integer",
  7941. "description": " ",
  7942. "name": "page",
  7943. "in": "query"
  7944. },
  7945. {
  7946. "type": "integer",
  7947. "description": " ",
  7948. "name": "page_size",
  7949. "in": "query"
  7950. },
  7951. {
  7952. "type": "string",
  7953. "description": "分类名称 ",
  7954. "name": "class_name",
  7955. "in": "query"
  7956. }
  7957. ],
  7958. "responses": {
  7959. "200": {
  7960. "description": "OK",
  7961. "schema": {
  7962. "$ref": "#/definitions/v1.NeighborClassListResponse"
  7963. }
  7964. },
  7965. "500": {
  7966. "description": "Internal Server Error",
  7967. "schema": {
  7968. "$ref": "#/definitions/base.HTTPError"
  7969. }
  7970. }
  7971. }
  7972. },
  7973. "put": {
  7974. "description": "修改分类",
  7975. "consumes": [
  7976. "application/json"
  7977. ],
  7978. "produces": [
  7979. "application/json"
  7980. ],
  7981. "tags": [
  7982. "社区邻里"
  7983. ],
  7984. "summary": "修改分类",
  7985. "parameters": [
  7986. {
  7987. "type": "string",
  7988. "description": "token",
  7989. "name": "token",
  7990. "in": "header",
  7991. "required": true
  7992. },
  7993. {
  7994. "description": "信息",
  7995. "name": "body",
  7996. "in": "body",
  7997. "required": true,
  7998. "schema": {
  7999. "$ref": "#/definitions/v1.NeighborClassUpdateBody"
  8000. }
  8001. }
  8002. ],
  8003. "responses": {
  8004. "200": {
  8005. "description": "OK",
  8006. "schema": {
  8007. "$ref": "#/definitions/v1.NeighborClassUpdateResponse"
  8008. }
  8009. },
  8010. "500": {
  8011. "description": "Internal Server Error",
  8012. "schema": {
  8013. "$ref": "#/definitions/base.HTTPError"
  8014. }
  8015. }
  8016. }
  8017. },
  8018. "post": {
  8019. "description": "添加分类",
  8020. "consumes": [
  8021. "application/json"
  8022. ],
  8023. "produces": [
  8024. "application/json"
  8025. ],
  8026. "tags": [
  8027. "社区邻里"
  8028. ],
  8029. "summary": "添加分类",
  8030. "parameters": [
  8031. {
  8032. "type": "string",
  8033. "description": "token",
  8034. "name": "token",
  8035. "in": "header",
  8036. "required": true
  8037. },
  8038. {
  8039. "description": "信息",
  8040. "name": "body",
  8041. "in": "body",
  8042. "required": true,
  8043. "schema": {
  8044. "$ref": "#/definitions/v1.NeighborClassAddBody"
  8045. }
  8046. }
  8047. ],
  8048. "responses": {
  8049. "200": {
  8050. "description": "OK",
  8051. "schema": {
  8052. "$ref": "#/definitions/v1.NeighborClassAddResponse"
  8053. }
  8054. },
  8055. "500": {
  8056. "description": "Internal Server Error",
  8057. "schema": {
  8058. "$ref": "#/definitions/base.HTTPError"
  8059. }
  8060. }
  8061. }
  8062. },
  8063. "delete": {
  8064. "description": "删除分类",
  8065. "consumes": [
  8066. "application/json"
  8067. ],
  8068. "produces": [
  8069. "application/json"
  8070. ],
  8071. "tags": [
  8072. "社区邻里"
  8073. ],
  8074. "summary": "删除分类",
  8075. "parameters": [
  8076. {
  8077. "type": "string",
  8078. "description": "token",
  8079. "name": "token",
  8080. "in": "header",
  8081. "required": true
  8082. },
  8083. {
  8084. "type": "integer",
  8085. "description": " ",
  8086. "name": "id",
  8087. "in": "query",
  8088. "required": true
  8089. }
  8090. ],
  8091. "responses": {
  8092. "200": {
  8093. "description": "OK",
  8094. "schema": {
  8095. "$ref": "#/definitions/v1.NeighborClassDelResponse"
  8096. }
  8097. },
  8098. "500": {
  8099. "description": "Internal Server Error",
  8100. "schema": {
  8101. "$ref": "#/definitions/base.HTTPError"
  8102. }
  8103. }
  8104. }
  8105. }
  8106. },
  8107. "/api/v1/service/neighbor/comment": {
  8108. "get": {
  8109. "description": "评论列表",
  8110. "consumes": [
  8111. "application/json"
  8112. ],
  8113. "produces": [
  8114. "application/json"
  8115. ],
  8116. "tags": [
  8117. "社区邻里"
  8118. ],
  8119. "summary": "评论列表",
  8120. "parameters": [
  8121. {
  8122. "type": "string",
  8123. "description": "token",
  8124. "name": "token",
  8125. "in": "header",
  8126. "required": true
  8127. },
  8128. {
  8129. "type": "integer",
  8130. "description": " ",
  8131. "name": "page",
  8132. "in": "query"
  8133. },
  8134. {
  8135. "type": "integer",
  8136. "description": " ",
  8137. "name": "page_size",
  8138. "in": "query"
  8139. },
  8140. {
  8141. "type": "integer",
  8142. "description": "文章id",
  8143. "name": "article_id",
  8144. "in": "query"
  8145. },
  8146. {
  8147. "type": "integer",
  8148. "description": "父评论id",
  8149. "name": "comment_id",
  8150. "in": "query"
  8151. }
  8152. ],
  8153. "responses": {
  8154. "200": {
  8155. "description": "OK",
  8156. "schema": {
  8157. "$ref": "#/definitions/v1.NeighborCommentListResponse"
  8158. }
  8159. },
  8160. "500": {
  8161. "description": "Internal Server Error",
  8162. "schema": {
  8163. "$ref": "#/definitions/base.HTTPError"
  8164. }
  8165. }
  8166. }
  8167. },
  8168. "delete": {
  8169. "description": "删除评论",
  8170. "consumes": [
  8171. "application/json"
  8172. ],
  8173. "produces": [
  8174. "application/json"
  8175. ],
  8176. "tags": [
  8177. "社区邻里"
  8178. ],
  8179. "summary": "删除评论",
  8180. "parameters": [
  8181. {
  8182. "type": "string",
  8183. "description": "token",
  8184. "name": "token",
  8185. "in": "header",
  8186. "required": true
  8187. },
  8188. {
  8189. "type": "integer",
  8190. "description": " ",
  8191. "name": "id",
  8192. "in": "query",
  8193. "required": true
  8194. }
  8195. ],
  8196. "responses": {
  8197. "200": {
  8198. "description": "OK",
  8199. "schema": {
  8200. "$ref": "#/definitions/v1.NeighborCommentDelResponse"
  8201. }
  8202. },
  8203. "500": {
  8204. "description": "Internal Server Error",
  8205. "schema": {
  8206. "$ref": "#/definitions/base.HTTPError"
  8207. }
  8208. }
  8209. }
  8210. }
  8211. },
  8212. "/api/v1/service/vote": {
  8213. "get": {
  8214. "description": "投票列表",
  8215. "consumes": [
  8216. "application/json"
  8217. ],
  8218. "produces": [
  8219. "application/json"
  8220. ],
  8221. "tags": [
  8222. "投票"
  8223. ],
  8224. "summary": "投票列表",
  8225. "parameters": [
  8226. {
  8227. "type": "string",
  8228. "description": "token",
  8229. "name": "token",
  8230. "in": "header",
  8231. "required": true
  8232. },
  8233. {
  8234. "type": "integer",
  8235. "description": " ",
  8236. "name": "page",
  8237. "in": "query"
  8238. },
  8239. {
  8240. "type": "integer",
  8241. "description": " ",
  8242. "name": "page_size",
  8243. "in": "query"
  8244. },
  8245. {
  8246. "type": "string",
  8247. "description": "投票标题",
  8248. "name": "title",
  8249. "in": "query"
  8250. }
  8251. ],
  8252. "responses": {
  8253. "200": {
  8254. "description": "OK",
  8255. "schema": {
  8256. "$ref": "#/definitions/v1.VoteListResponse"
  8257. }
  8258. },
  8259. "500": {
  8260. "description": "Internal Server Error",
  8261. "schema": {
  8262. "$ref": "#/definitions/base.HTTPError"
  8263. }
  8264. }
  8265. }
  8266. },
  8267. "put": {
  8268. "description": "修改投票",
  8269. "consumes": [
  8270. "application/json"
  8271. ],
  8272. "produces": [
  8273. "application/json"
  8274. ],
  8275. "tags": [
  8276. "投票"
  8277. ],
  8278. "summary": "修改投票",
  8279. "parameters": [
  8280. {
  8281. "type": "string",
  8282. "description": "token",
  8283. "name": "token",
  8284. "in": "header",
  8285. "required": true
  8286. },
  8287. {
  8288. "description": "信息",
  8289. "name": "body",
  8290. "in": "body",
  8291. "required": true,
  8292. "schema": {
  8293. "$ref": "#/definitions/v1.VoteUpdateBody"
  8294. }
  8295. }
  8296. ],
  8297. "responses": {
  8298. "200": {
  8299. "description": "OK",
  8300. "schema": {
  8301. "$ref": "#/definitions/v1.VoteUpdateResponse"
  8302. }
  8303. },
  8304. "500": {
  8305. "description": "Internal Server Error",
  8306. "schema": {
  8307. "$ref": "#/definitions/base.HTTPError"
  8308. }
  8309. }
  8310. }
  8311. },
  8312. "post": {
  8313. "description": "添加投票",
  8314. "consumes": [
  8315. "application/json"
  8316. ],
  8317. "produces": [
  8318. "application/json"
  8319. ],
  8320. "tags": [
  8321. "投票"
  8322. ],
  8323. "summary": "添加投票",
  8324. "parameters": [
  8325. {
  8326. "type": "string",
  8327. "description": "token",
  8328. "name": "token",
  8329. "in": "header",
  8330. "required": true
  8331. },
  8332. {
  8333. "description": "信息",
  8334. "name": "body",
  8335. "in": "body",
  8336. "required": true,
  8337. "schema": {
  8338. "$ref": "#/definitions/v1.VoteAddBody"
  8339. }
  8340. }
  8341. ],
  8342. "responses": {
  8343. "200": {
  8344. "description": "OK",
  8345. "schema": {
  8346. "$ref": "#/definitions/v1.VoteAddResponse"
  8347. }
  8348. },
  8349. "500": {
  8350. "description": "Internal Server Error",
  8351. "schema": {
  8352. "$ref": "#/definitions/base.HTTPError"
  8353. }
  8354. }
  8355. }
  8356. },
  8357. "delete": {
  8358. "description": "删除投票",
  8359. "consumes": [
  8360. "application/json"
  8361. ],
  8362. "produces": [
  8363. "application/json"
  8364. ],
  8365. "tags": [
  8366. "投票"
  8367. ],
  8368. "summary": "删除投票",
  8369. "parameters": [
  8370. {
  8371. "type": "string",
  8372. "description": "token",
  8373. "name": "token",
  8374. "in": "header",
  8375. "required": true
  8376. },
  8377. {
  8378. "type": "integer",
  8379. "description": " ",
  8380. "name": "id",
  8381. "in": "query",
  8382. "required": true
  8383. }
  8384. ],
  8385. "responses": {
  8386. "200": {
  8387. "description": "OK",
  8388. "schema": {
  8389. "$ref": "#/definitions/v1.VoteDelResponse"
  8390. }
  8391. },
  8392. "500": {
  8393. "description": "Internal Server Error",
  8394. "schema": {
  8395. "$ref": "#/definitions/base.HTTPError"
  8396. }
  8397. }
  8398. }
  8399. }
  8400. },
  8401. "/api/v1/service/vote/result": {
  8402. "get": {
  8403. "description": "一道题的回答详情",
  8404. "consumes": [
  8405. "application/json"
  8406. ],
  8407. "produces": [
  8408. "application/json"
  8409. ],
  8410. "tags": [
  8411. "投票"
  8412. ],
  8413. "summary": "一道题的回答详情",
  8414. "parameters": [
  8415. {
  8416. "type": "string",
  8417. "description": "token",
  8418. "name": "token",
  8419. "in": "header",
  8420. "required": true
  8421. },
  8422. {
  8423. "type": "integer",
  8424. "description": " ",
  8425. "name": "page",
  8426. "in": "query"
  8427. },
  8428. {
  8429. "type": "integer",
  8430. "description": " ",
  8431. "name": "page_size",
  8432. "in": "query"
  8433. },
  8434. {
  8435. "type": "integer",
  8436. "description": " ",
  8437. "name": "id",
  8438. "in": "query",
  8439. "required": true
  8440. },
  8441. {
  8442. "type": "integer",
  8443. "description": "题的编号",
  8444. "name": "number",
  8445. "in": "query",
  8446. "required": true
  8447. }
  8448. ],
  8449. "responses": {
  8450. "200": {
  8451. "description": "OK",
  8452. "schema": {
  8453. "$ref": "#/definitions/v1.VoteResultListResponse"
  8454. }
  8455. },
  8456. "500": {
  8457. "description": "Internal Server Error",
  8458. "schema": {
  8459. "$ref": "#/definitions/base.HTTPError"
  8460. }
  8461. }
  8462. }
  8463. }
  8464. },
  8465. "/api/v1/service/vote/result/statistic": {
  8466. "get": {
  8467. "description": "投票结果统计",
  8468. "consumes": [
  8469. "application/json"
  8470. ],
  8471. "produces": [
  8472. "application/json"
  8473. ],
  8474. "tags": [
  8475. "投票"
  8476. ],
  8477. "summary": "投票结果统计",
  8478. "parameters": [
  8479. {
  8480. "type": "string",
  8481. "description": "token",
  8482. "name": "token",
  8483. "in": "header",
  8484. "required": true
  8485. },
  8486. {
  8487. "type": "integer",
  8488. "description": " ",
  8489. "name": "id",
  8490. "in": "query",
  8491. "required": true
  8492. }
  8493. ],
  8494. "responses": {
  8495. "200": {
  8496. "description": "OK",
  8497. "schema": {
  8498. "$ref": "#/definitions/v1.VoteResultStatisticResponse"
  8499. }
  8500. },
  8501. "500": {
  8502. "description": "Internal Server Error",
  8503. "schema": {
  8504. "$ref": "#/definitions/base.HTTPError"
  8505. }
  8506. }
  8507. }
  8508. }
  8509. },
  8510. "/api/v1/service_phone": {
  8511. "get": {
  8512. "description": "电话列表",
  8513. "consumes": [
  8514. "application/json"
  8515. ],
  8516. "produces": [
  8517. "application/json"
  8518. ],
  8519. "tags": [
  8520. "服务电话"
  8521. ],
  8522. "summary": "电话列表",
  8523. "parameters": [
  8524. {
  8525. "type": "string",
  8526. "description": "token",
  8527. "name": "token",
  8528. "in": "header",
  8529. "required": true
  8530. },
  8531. {
  8532. "type": "integer",
  8533. "description": " ",
  8534. "name": "page",
  8535. "in": "query"
  8536. },
  8537. {
  8538. "type": "integer",
  8539. "description": " ",
  8540. "name": "page_size",
  8541. "in": "query"
  8542. },
  8543. {
  8544. "type": "integer",
  8545. "description": "分类id",
  8546. "name": "class_id",
  8547. "in": "query"
  8548. }
  8549. ],
  8550. "responses": {
  8551. "200": {
  8552. "description": "OK",
  8553. "schema": {
  8554. "$ref": "#/definitions/v1.ServicePhoneListResponse"
  8555. }
  8556. },
  8557. "500": {
  8558. "description": "Internal Server Error",
  8559. "schema": {
  8560. "$ref": "#/definitions/base.HTTPError"
  8561. }
  8562. }
  8563. }
  8564. },
  8565. "put": {
  8566. "description": "修改电话",
  8567. "consumes": [
  8568. "application/json"
  8569. ],
  8570. "produces": [
  8571. "application/json"
  8572. ],
  8573. "tags": [
  8574. "服务电话"
  8575. ],
  8576. "summary": "修改电话",
  8577. "parameters": [
  8578. {
  8579. "type": "string",
  8580. "description": "token",
  8581. "name": "token",
  8582. "in": "header",
  8583. "required": true
  8584. },
  8585. {
  8586. "description": "信息",
  8587. "name": "body",
  8588. "in": "body",
  8589. "required": true,
  8590. "schema": {
  8591. "$ref": "#/definitions/v1.ServicePhoneUpdateBody"
  8592. }
  8593. }
  8594. ],
  8595. "responses": {
  8596. "200": {
  8597. "description": "OK",
  8598. "schema": {
  8599. "$ref": "#/definitions/v1.ServicePhoneUpdateResponse"
  8600. }
  8601. },
  8602. "500": {
  8603. "description": "Internal Server Error",
  8604. "schema": {
  8605. "$ref": "#/definitions/base.HTTPError"
  8606. }
  8607. }
  8608. }
  8609. },
  8610. "post": {
  8611. "description": "添加电话",
  8612. "consumes": [
  8613. "application/json"
  8614. ],
  8615. "produces": [
  8616. "application/json"
  8617. ],
  8618. "tags": [
  8619. "服务电话"
  8620. ],
  8621. "summary": "添加电话",
  8622. "parameters": [
  8623. {
  8624. "type": "string",
  8625. "description": "token",
  8626. "name": "token",
  8627. "in": "header",
  8628. "required": true
  8629. },
  8630. {
  8631. "description": "信息",
  8632. "name": "body",
  8633. "in": "body",
  8634. "required": true,
  8635. "schema": {
  8636. "$ref": "#/definitions/v1.ServicePhoneAddBody"
  8637. }
  8638. }
  8639. ],
  8640. "responses": {
  8641. "200": {
  8642. "description": "OK",
  8643. "schema": {
  8644. "$ref": "#/definitions/v1.ServicePhoneAddResponse"
  8645. }
  8646. },
  8647. "500": {
  8648. "description": "Internal Server Error",
  8649. "schema": {
  8650. "$ref": "#/definitions/base.HTTPError"
  8651. }
  8652. }
  8653. }
  8654. },
  8655. "delete": {
  8656. "description": "删除电话",
  8657. "consumes": [
  8658. "application/json"
  8659. ],
  8660. "produces": [
  8661. "application/json"
  8662. ],
  8663. "tags": [
  8664. "服务电话"
  8665. ],
  8666. "summary": "删除电话",
  8667. "parameters": [
  8668. {
  8669. "type": "string",
  8670. "description": "token",
  8671. "name": "token",
  8672. "in": "header",
  8673. "required": true
  8674. },
  8675. {
  8676. "type": "integer",
  8677. "description": " ",
  8678. "name": "id",
  8679. "in": "query",
  8680. "required": true
  8681. }
  8682. ],
  8683. "responses": {
  8684. "200": {
  8685. "description": "OK",
  8686. "schema": {
  8687. "$ref": "#/definitions/v1.ServicePhoneDelResponse"
  8688. }
  8689. },
  8690. "500": {
  8691. "description": "Internal Server Error",
  8692. "schema": {
  8693. "$ref": "#/definitions/base.HTTPError"
  8694. }
  8695. }
  8696. }
  8697. }
  8698. },
  8699. "/api/v1/service_phone/class": {
  8700. "get": {
  8701. "description": "分类列表",
  8702. "consumes": [
  8703. "application/json"
  8704. ],
  8705. "produces": [
  8706. "application/json"
  8707. ],
  8708. "tags": [
  8709. "服务电话"
  8710. ],
  8711. "summary": "分类列表",
  8712. "parameters": [
  8713. {
  8714. "type": "string",
  8715. "description": "token",
  8716. "name": "token",
  8717. "in": "header",
  8718. "required": true
  8719. },
  8720. {
  8721. "type": "integer",
  8722. "description": " ",
  8723. "name": "page",
  8724. "in": "query"
  8725. },
  8726. {
  8727. "type": "integer",
  8728. "description": " ",
  8729. "name": "page_size",
  8730. "in": "query"
  8731. }
  8732. ],
  8733. "responses": {
  8734. "200": {
  8735. "description": "OK",
  8736. "schema": {
  8737. "$ref": "#/definitions/v1.ServicePhoneClassListResponse"
  8738. }
  8739. },
  8740. "500": {
  8741. "description": "Internal Server Error",
  8742. "schema": {
  8743. "$ref": "#/definitions/base.HTTPError"
  8744. }
  8745. }
  8746. }
  8747. },
  8748. "put": {
  8749. "description": "修改分类",
  8750. "consumes": [
  8751. "application/json"
  8752. ],
  8753. "produces": [
  8754. "application/json"
  8755. ],
  8756. "tags": [
  8757. "服务电话"
  8758. ],
  8759. "summary": "修改分类",
  8760. "parameters": [
  8761. {
  8762. "type": "string",
  8763. "description": "token",
  8764. "name": "token",
  8765. "in": "header",
  8766. "required": true
  8767. },
  8768. {
  8769. "description": "信息",
  8770. "name": "body",
  8771. "in": "body",
  8772. "required": true,
  8773. "schema": {
  8774. "$ref": "#/definitions/v1.ServicePhoneClassUpdateBody"
  8775. }
  8776. }
  8777. ],
  8778. "responses": {
  8779. "200": {
  8780. "description": "OK",
  8781. "schema": {
  8782. "$ref": "#/definitions/v1.ServicePhoneClassUpdateResponse"
  8783. }
  8784. },
  8785. "500": {
  8786. "description": "Internal Server Error",
  8787. "schema": {
  8788. "$ref": "#/definitions/base.HTTPError"
  8789. }
  8790. }
  8791. }
  8792. },
  8793. "post": {
  8794. "description": "添加分类",
  8795. "consumes": [
  8796. "application/json"
  8797. ],
  8798. "produces": [
  8799. "application/json"
  8800. ],
  8801. "tags": [
  8802. "服务电话"
  8803. ],
  8804. "summary": "添加分类",
  8805. "parameters": [
  8806. {
  8807. "type": "string",
  8808. "description": "token",
  8809. "name": "token",
  8810. "in": "header",
  8811. "required": true
  8812. },
  8813. {
  8814. "description": "信息",
  8815. "name": "body",
  8816. "in": "body",
  8817. "required": true,
  8818. "schema": {
  8819. "$ref": "#/definitions/v1.ServicePhoneClassAddBody"
  8820. }
  8821. }
  8822. ],
  8823. "responses": {
  8824. "200": {
  8825. "description": "OK",
  8826. "schema": {
  8827. "$ref": "#/definitions/v1.ServicePhoneClassAddResponse"
  8828. }
  8829. },
  8830. "500": {
  8831. "description": "Internal Server Error",
  8832. "schema": {
  8833. "$ref": "#/definitions/base.HTTPError"
  8834. }
  8835. }
  8836. }
  8837. },
  8838. "delete": {
  8839. "description": "删除分类",
  8840. "consumes": [
  8841. "application/json"
  8842. ],
  8843. "produces": [
  8844. "application/json"
  8845. ],
  8846. "tags": [
  8847. "服务电话"
  8848. ],
  8849. "summary": "删除分类",
  8850. "parameters": [
  8851. {
  8852. "type": "string",
  8853. "description": "token",
  8854. "name": "token",
  8855. "in": "header",
  8856. "required": true
  8857. },
  8858. {
  8859. "type": "integer",
  8860. "description": " ",
  8861. "name": "id",
  8862. "in": "query",
  8863. "required": true
  8864. }
  8865. ],
  8866. "responses": {
  8867. "200": {
  8868. "description": "OK",
  8869. "schema": {
  8870. "$ref": "#/definitions/v1.ServicePhoneClassDelResponse"
  8871. }
  8872. },
  8873. "500": {
  8874. "description": "Internal Server Error",
  8875. "schema": {
  8876. "$ref": "#/definitions/base.HTTPError"
  8877. }
  8878. }
  8879. }
  8880. }
  8881. },
  8882. "/api/v1/statistic": {
  8883. "get": {
  8884. "description": "统计",
  8885. "consumes": [
  8886. "application/json"
  8887. ],
  8888. "produces": [
  8889. "application/json"
  8890. ],
  8891. "tags": [
  8892. "首页"
  8893. ],
  8894. "summary": "统计",
  8895. "parameters": [
  8896. {
  8897. "type": "string",
  8898. "description": "token",
  8899. "name": "token",
  8900. "in": "header",
  8901. "required": true
  8902. }
  8903. ],
  8904. "responses": {
  8905. "200": {
  8906. "description": "OK",
  8907. "schema": {
  8908. "$ref": "#/definitions/v1.StatisticResponse"
  8909. }
  8910. },
  8911. "500": {
  8912. "description": "Internal Server Error",
  8913. "schema": {
  8914. "$ref": "#/definitions/base.HTTPError"
  8915. }
  8916. }
  8917. }
  8918. }
  8919. },
  8920. "/api/v1/suggestion/order": {
  8921. "get": {
  8922. "description": "工单列表",
  8923. "consumes": [
  8924. "application/json"
  8925. ],
  8926. "produces": [
  8927. "application/json"
  8928. ],
  8929. "tags": [
  8930. "投诉与建议"
  8931. ],
  8932. "summary": "工单列表",
  8933. "parameters": [
  8934. {
  8935. "type": "string",
  8936. "description": "token",
  8937. "name": "token",
  8938. "in": "header",
  8939. "required": true
  8940. },
  8941. {
  8942. "type": "integer",
  8943. "description": " ",
  8944. "name": "page",
  8945. "in": "query"
  8946. },
  8947. {
  8948. "type": "integer",
  8949. "description": " ",
  8950. "name": "page_size",
  8951. "in": "query"
  8952. },
  8953. {
  8954. "type": "integer",
  8955. "description": " 1未派单 2 已派单 3 已完结 ",
  8956. "name": "status",
  8957. "in": "query"
  8958. },
  8959. {
  8960. "type": "string",
  8961. "description": "报修人",
  8962. "name": "apply_people",
  8963. "in": "query"
  8964. },
  8965. {
  8966. "type": "string",
  8967. "description": "报修人电话",
  8968. "name": "apply_people_phone",
  8969. "in": "query"
  8970. },
  8971. {
  8972. "type": "boolean",
  8973. "description": " true: 指派给我的",
  8974. "name": "is_me",
  8975. "in": "query"
  8976. },
  8977. {
  8978. "type": "integer",
  8979. "description": "投诉类型 1 投诉 2 建议",
  8980. "name": "suggestion_type",
  8981. "in": "query"
  8982. }
  8983. ],
  8984. "responses": {
  8985. "200": {
  8986. "description": "OK",
  8987. "schema": {
  8988. "$ref": "#/definitions/v1.SuggestionOrderListResponse"
  8989. }
  8990. },
  8991. "500": {
  8992. "description": "Internal Server Error",
  8993. "schema": {
  8994. "$ref": "#/definitions/base.HTTPError"
  8995. }
  8996. }
  8997. }
  8998. },
  8999. "put": {
  9000. "description": "修改工单",
  9001. "consumes": [
  9002. "application/json"
  9003. ],
  9004. "produces": [
  9005. "application/json"
  9006. ],
  9007. "tags": [
  9008. "投诉与建议"
  9009. ],
  9010. "summary": "修改工单",
  9011. "parameters": [
  9012. {
  9013. "type": "string",
  9014. "description": "token",
  9015. "name": "token",
  9016. "in": "header",
  9017. "required": true
  9018. },
  9019. {
  9020. "description": "信息",
  9021. "name": "body",
  9022. "in": "body",
  9023. "required": true,
  9024. "schema": {
  9025. "$ref": "#/definitions/v1.SuggestionOrderUpdateBody"
  9026. }
  9027. }
  9028. ],
  9029. "responses": {
  9030. "200": {
  9031. "description": "OK",
  9032. "schema": {
  9033. "$ref": "#/definitions/v1.SuggestionOrderUpdateResponse"
  9034. }
  9035. },
  9036. "500": {
  9037. "description": "Internal Server Error",
  9038. "schema": {
  9039. "$ref": "#/definitions/base.HTTPError"
  9040. }
  9041. }
  9042. }
  9043. },
  9044. "post": {
  9045. "description": "新增工单",
  9046. "consumes": [
  9047. "application/json"
  9048. ],
  9049. "produces": [
  9050. "application/json"
  9051. ],
  9052. "tags": [
  9053. "投诉与建议"
  9054. ],
  9055. "summary": "新增工单",
  9056. "parameters": [
  9057. {
  9058. "type": "string",
  9059. "description": "token",
  9060. "name": "token",
  9061. "in": "header",
  9062. "required": true
  9063. },
  9064. {
  9065. "description": "信息",
  9066. "name": "body",
  9067. "in": "body",
  9068. "required": true,
  9069. "schema": {
  9070. "$ref": "#/definitions/v1.SuggestionOrderAddBody"
  9071. }
  9072. }
  9073. ],
  9074. "responses": {
  9075. "200": {
  9076. "description": "OK",
  9077. "schema": {
  9078. "$ref": "#/definitions/v1.SuggestionOrderAddResponse"
  9079. }
  9080. },
  9081. "500": {
  9082. "description": "Internal Server Error",
  9083. "schema": {
  9084. "$ref": "#/definitions/base.HTTPError"
  9085. }
  9086. }
  9087. }
  9088. },
  9089. "delete": {
  9090. "description": "删除工单",
  9091. "consumes": [
  9092. "application/json"
  9093. ],
  9094. "produces": [
  9095. "application/json"
  9096. ],
  9097. "tags": [
  9098. "投诉与建议"
  9099. ],
  9100. "summary": "删除工单",
  9101. "parameters": [
  9102. {
  9103. "type": "string",
  9104. "description": "token",
  9105. "name": "token",
  9106. "in": "header",
  9107. "required": true
  9108. },
  9109. {
  9110. "type": "integer",
  9111. "description": " ",
  9112. "name": "id",
  9113. "in": "query",
  9114. "required": true
  9115. }
  9116. ],
  9117. "responses": {
  9118. "200": {
  9119. "description": "OK",
  9120. "schema": {
  9121. "$ref": "#/definitions/v1.SuggestionOrderDelResponse"
  9122. }
  9123. },
  9124. "500": {
  9125. "description": "Internal Server Error",
  9126. "schema": {
  9127. "$ref": "#/definitions/base.HTTPError"
  9128. }
  9129. }
  9130. }
  9131. }
  9132. },
  9133. "/api/v1/suggestion/order/back": {
  9134. "put": {
  9135. "description": "退单",
  9136. "consumes": [
  9137. "application/json"
  9138. ],
  9139. "produces": [
  9140. "application/json"
  9141. ],
  9142. "tags": [
  9143. "投诉与建议"
  9144. ],
  9145. "summary": "退单",
  9146. "parameters": [
  9147. {
  9148. "type": "string",
  9149. "description": "token",
  9150. "name": "token",
  9151. "in": "header",
  9152. "required": true
  9153. },
  9154. {
  9155. "description": "信息",
  9156. "name": "body",
  9157. "in": "body",
  9158. "required": true,
  9159. "schema": {
  9160. "$ref": "#/definitions/v1.SuggestionOrderBackBody"
  9161. }
  9162. }
  9163. ],
  9164. "responses": {
  9165. "200": {
  9166. "description": "OK",
  9167. "schema": {
  9168. "$ref": "#/definitions/v1.SuggestionOrderBackResponse"
  9169. }
  9170. },
  9171. "500": {
  9172. "description": "Internal Server Error",
  9173. "schema": {
  9174. "$ref": "#/definitions/base.HTTPError"
  9175. }
  9176. }
  9177. }
  9178. }
  9179. },
  9180. "/api/v1/suggestion/order/finish": {
  9181. "put": {
  9182. "description": "结单",
  9183. "consumes": [
  9184. "application/json"
  9185. ],
  9186. "produces": [
  9187. "application/json"
  9188. ],
  9189. "tags": [
  9190. "投诉与建议"
  9191. ],
  9192. "summary": "结单",
  9193. "parameters": [
  9194. {
  9195. "type": "string",
  9196. "description": "token",
  9197. "name": "token",
  9198. "in": "header",
  9199. "required": true
  9200. },
  9201. {
  9202. "description": "信息",
  9203. "name": "body",
  9204. "in": "body",
  9205. "required": true,
  9206. "schema": {
  9207. "$ref": "#/definitions/v1.SuggestionOrderFinishBody"
  9208. }
  9209. }
  9210. ],
  9211. "responses": {
  9212. "200": {
  9213. "description": "OK",
  9214. "schema": {
  9215. "$ref": "#/definitions/v1.SuggestionOrderFinishResponse"
  9216. }
  9217. },
  9218. "500": {
  9219. "description": "Internal Server Error",
  9220. "schema": {
  9221. "$ref": "#/definitions/base.HTTPError"
  9222. }
  9223. }
  9224. }
  9225. }
  9226. },
  9227. "/api/v1/suggestion/order/info": {
  9228. "get": {
  9229. "description": "工单详情",
  9230. "consumes": [
  9231. "application/json"
  9232. ],
  9233. "produces": [
  9234. "application/json"
  9235. ],
  9236. "tags": [
  9237. "投诉与建议"
  9238. ],
  9239. "summary": "工单详情",
  9240. "parameters": [
  9241. {
  9242. "type": "string",
  9243. "description": "token",
  9244. "name": "token",
  9245. "in": "header",
  9246. "required": true
  9247. },
  9248. {
  9249. "type": "integer",
  9250. "description": " ",
  9251. "name": "id",
  9252. "in": "query",
  9253. "required": true
  9254. }
  9255. ],
  9256. "responses": {
  9257. "200": {
  9258. "description": "OK",
  9259. "schema": {
  9260. "$ref": "#/definitions/v1.SuggestionOrderInfoResponse"
  9261. }
  9262. },
  9263. "500": {
  9264. "description": "Internal Server Error",
  9265. "schema": {
  9266. "$ref": "#/definitions/base.HTTPError"
  9267. }
  9268. }
  9269. }
  9270. }
  9271. },
  9272. "/api/v1/suggestion/order/return_visit": {
  9273. "put": {
  9274. "description": "回访",
  9275. "consumes": [
  9276. "application/json"
  9277. ],
  9278. "produces": [
  9279. "application/json"
  9280. ],
  9281. "tags": [
  9282. "投诉与建议"
  9283. ],
  9284. "summary": "回访",
  9285. "parameters": [
  9286. {
  9287. "type": "string",
  9288. "description": "token",
  9289. "name": "token",
  9290. "in": "header",
  9291. "required": true
  9292. },
  9293. {
  9294. "description": "信息",
  9295. "name": "body",
  9296. "in": "body",
  9297. "required": true,
  9298. "schema": {
  9299. "$ref": "#/definitions/v1.SuggestionOrderReturnVisitBody"
  9300. }
  9301. }
  9302. ],
  9303. "responses": {
  9304. "200": {
  9305. "description": "OK",
  9306. "schema": {
  9307. "$ref": "#/definitions/v1.SuggestionOrderReturnVisitResponse"
  9308. }
  9309. },
  9310. "500": {
  9311. "description": "Internal Server Error",
  9312. "schema": {
  9313. "$ref": "#/definitions/base.HTTPError"
  9314. }
  9315. }
  9316. }
  9317. }
  9318. },
  9319. "/api/v1/suggestion/order/send": {
  9320. "put": {
  9321. "description": "派单",
  9322. "consumes": [
  9323. "application/json"
  9324. ],
  9325. "produces": [
  9326. "application/json"
  9327. ],
  9328. "tags": [
  9329. "投诉与建议"
  9330. ],
  9331. "summary": "派单",
  9332. "parameters": [
  9333. {
  9334. "type": "string",
  9335. "description": "token",
  9336. "name": "token",
  9337. "in": "header",
  9338. "required": true
  9339. },
  9340. {
  9341. "description": "信息",
  9342. "name": "body",
  9343. "in": "body",
  9344. "required": true,
  9345. "schema": {
  9346. "$ref": "#/definitions/v1.SuggestionOrderSendBody"
  9347. }
  9348. }
  9349. ],
  9350. "responses": {
  9351. "200": {
  9352. "description": "OK",
  9353. "schema": {
  9354. "$ref": "#/definitions/v1.SuggestionOrderSendResponse"
  9355. }
  9356. },
  9357. "500": {
  9358. "description": "Internal Server Error",
  9359. "schema": {
  9360. "$ref": "#/definitions/base.HTTPError"
  9361. }
  9362. }
  9363. }
  9364. }
  9365. },
  9366. "/api/v1/system_msg": {
  9367. "put": {
  9368. "description": "设置消息为已读",
  9369. "consumes": [
  9370. "application/json"
  9371. ],
  9372. "produces": [
  9373. "application/json"
  9374. ],
  9375. "tags": [
  9376. "系统消息"
  9377. ],
  9378. "summary": "设置消息为已读",
  9379. "parameters": [
  9380. {
  9381. "type": "string",
  9382. "description": "token",
  9383. "name": "token",
  9384. "in": "header",
  9385. "required": true
  9386. },
  9387. {
  9388. "description": "信息",
  9389. "name": "body",
  9390. "in": "body",
  9391. "required": true,
  9392. "schema": {
  9393. "$ref": "#/definitions/v1.SystemMsgReadedBody"
  9394. }
  9395. }
  9396. ],
  9397. "responses": {
  9398. "200": {
  9399. "description": "OK",
  9400. "schema": {
  9401. "$ref": "#/definitions/v1.VehicleAddResponse"
  9402. }
  9403. },
  9404. "500": {
  9405. "description": "Internal Server Error",
  9406. "schema": {
  9407. "$ref": "#/definitions/base.HTTPError"
  9408. }
  9409. }
  9410. }
  9411. }
  9412. },
  9413. "/api/v1/system_msg/list": {
  9414. "get": {
  9415. "description": "获取未读消息列表",
  9416. "consumes": [
  9417. "application/json"
  9418. ],
  9419. "produces": [
  9420. "application/json"
  9421. ],
  9422. "tags": [
  9423. "系统消息"
  9424. ],
  9425. "summary": "获取未读消息列表",
  9426. "parameters": [
  9427. {
  9428. "type": "string",
  9429. "description": "token",
  9430. "name": "token",
  9431. "in": "header",
  9432. "required": true
  9433. },
  9434. {
  9435. "type": "integer",
  9436. "description": " ",
  9437. "name": "page",
  9438. "in": "query"
  9439. },
  9440. {
  9441. "type": "integer",
  9442. "description": " ",
  9443. "name": "page_size",
  9444. "in": "query"
  9445. }
  9446. ],
  9447. "responses": {
  9448. "200": {
  9449. "description": "OK",
  9450. "schema": {
  9451. "$ref": "#/definitions/v1.SystemMsgListResponse"
  9452. }
  9453. },
  9454. "500": {
  9455. "description": "Internal Server Error",
  9456. "schema": {
  9457. "$ref": "#/definitions/base.HTTPError"
  9458. }
  9459. }
  9460. }
  9461. }
  9462. },
  9463. "/api/v1/system_user": {
  9464. "get": {
  9465. "description": "用户列表",
  9466. "consumes": [
  9467. "application/json"
  9468. ],
  9469. "produces": [
  9470. "application/json"
  9471. ],
  9472. "tags": [
  9473. "用户管理"
  9474. ],
  9475. "summary": "用户列表",
  9476. "parameters": [
  9477. {
  9478. "type": "string",
  9479. "description": "token",
  9480. "name": "token",
  9481. "in": "header",
  9482. "required": true
  9483. },
  9484. {
  9485. "type": "integer",
  9486. "description": " ",
  9487. "name": "page",
  9488. "in": "query",
  9489. "required": true
  9490. },
  9491. {
  9492. "type": "integer",
  9493. "description": " ",
  9494. "name": "page_size",
  9495. "in": "query"
  9496. },
  9497. {
  9498. "type": "integer",
  9499. "description": "权限组id",
  9500. "name": "group_id",
  9501. "in": "query"
  9502. },
  9503. {
  9504. "type": "string",
  9505. "description": "用户名",
  9506. "name": "user_name",
  9507. "in": "query"
  9508. },
  9509. {
  9510. "type": "string",
  9511. "description": "电话号",
  9512. "name": "phone",
  9513. "in": "query"
  9514. },
  9515. {
  9516. "type": "string",
  9517. "description": "需要排除的用户id,以逗号分隔,如11,2,13,46 (不需要则留空)",
  9518. "name": "exclude",
  9519. "in": "query"
  9520. }
  9521. ],
  9522. "responses": {
  9523. "200": {
  9524. "description": "OK",
  9525. "schema": {
  9526. "$ref": "#/definitions/v1.UserListResponse"
  9527. }
  9528. },
  9529. "500": {
  9530. "description": "Internal Server Error",
  9531. "schema": {
  9532. "$ref": "#/definitions/base.HTTPError"
  9533. }
  9534. }
  9535. }
  9536. },
  9537. "put": {
  9538. "description": "更改用户",
  9539. "consumes": [
  9540. "application/json"
  9541. ],
  9542. "produces": [
  9543. "application/json"
  9544. ],
  9545. "tags": [
  9546. "用户管理"
  9547. ],
  9548. "summary": "更改用户",
  9549. "parameters": [
  9550. {
  9551. "type": "string",
  9552. "description": "token",
  9553. "name": "token",
  9554. "in": "header",
  9555. "required": true
  9556. },
  9557. {
  9558. "description": "用户信息",
  9559. "name": "body",
  9560. "in": "body",
  9561. "required": true,
  9562. "schema": {
  9563. "$ref": "#/definitions/v1.UserUpdateBody"
  9564. }
  9565. }
  9566. ],
  9567. "responses": {
  9568. "200": {
  9569. "description": "OK",
  9570. "schema": {
  9571. "$ref": "#/definitions/v1.UserUpdateResponse"
  9572. }
  9573. },
  9574. "500": {
  9575. "description": "Internal Server Error",
  9576. "schema": {
  9577. "$ref": "#/definitions/base.HTTPError"
  9578. }
  9579. }
  9580. }
  9581. },
  9582. "post": {
  9583. "description": "添加用户",
  9584. "consumes": [
  9585. "application/json"
  9586. ],
  9587. "produces": [
  9588. "application/json"
  9589. ],
  9590. "tags": [
  9591. "用户管理"
  9592. ],
  9593. "summary": "添加用户",
  9594. "parameters": [
  9595. {
  9596. "type": "string",
  9597. "description": "token",
  9598. "name": "token",
  9599. "in": "header",
  9600. "required": true
  9601. },
  9602. {
  9603. "description": "用户信息",
  9604. "name": "body",
  9605. "in": "body",
  9606. "required": true,
  9607. "schema": {
  9608. "$ref": "#/definitions/v1.UserAddBody"
  9609. }
  9610. }
  9611. ],
  9612. "responses": {
  9613. "200": {
  9614. "description": "OK",
  9615. "schema": {
  9616. "$ref": "#/definitions/v1.UserAddResponse"
  9617. }
  9618. },
  9619. "500": {
  9620. "description": "Internal Server Error",
  9621. "schema": {
  9622. "$ref": "#/definitions/base.HTTPError"
  9623. }
  9624. }
  9625. }
  9626. },
  9627. "delete": {
  9628. "description": "删除用户",
  9629. "consumes": [
  9630. "application/json"
  9631. ],
  9632. "produces": [
  9633. "application/json"
  9634. ],
  9635. "tags": [
  9636. "用户管理"
  9637. ],
  9638. "summary": "删除用户",
  9639. "parameters": [
  9640. {
  9641. "type": "string",
  9642. "description": "token",
  9643. "name": "token",
  9644. "in": "header",
  9645. "required": true
  9646. },
  9647. {
  9648. "type": "integer",
  9649. "description": " ",
  9650. "name": "id",
  9651. "in": "query",
  9652. "required": true
  9653. }
  9654. ],
  9655. "responses": {
  9656. "200": {
  9657. "description": "OK",
  9658. "schema": {
  9659. "$ref": "#/definitions/v1.UserDelResponse"
  9660. }
  9661. },
  9662. "500": {
  9663. "description": "Internal Server Error",
  9664. "schema": {
  9665. "$ref": "#/definitions/base.HTTPError"
  9666. }
  9667. }
  9668. }
  9669. }
  9670. },
  9671. "/api/v1/token_refresh": {
  9672. "put": {
  9673. "description": "刷新token",
  9674. "consumes": [
  9675. "application/json"
  9676. ],
  9677. "produces": [
  9678. "application/json"
  9679. ],
  9680. "tags": [
  9681. "用户"
  9682. ],
  9683. "summary": "刷新token",
  9684. "parameters": [
  9685. {
  9686. "type": "string",
  9687. "description": "token",
  9688. "name": "token",
  9689. "in": "header",
  9690. "required": true
  9691. }
  9692. ],
  9693. "responses": {
  9694. "200": {
  9695. "description": "OK",
  9696. "schema": {
  9697. "$ref": "#/definitions/v1.TokenResponse"
  9698. }
  9699. },
  9700. "500": {
  9701. "description": "Internal Server Error",
  9702. "schema": {
  9703. "$ref": "#/definitions/base.HTTPError"
  9704. }
  9705. }
  9706. }
  9707. }
  9708. },
  9709. "/api/v1/upload": {
  9710. "post": {
  9711. "description": "上传文件",
  9712. "consumes": [
  9713. "application/json"
  9714. ],
  9715. "produces": [
  9716. "application/json"
  9717. ],
  9718. "tags": [
  9719. "upload"
  9720. ],
  9721. "summary": "上传文件",
  9722. "parameters": [
  9723. {
  9724. "type": "string",
  9725. "description": "jwt token",
  9726. "name": "token",
  9727. "in": "header",
  9728. "required": true
  9729. },
  9730. {
  9731. "type": "file",
  9732. "description": "file",
  9733. "name": "file",
  9734. "in": "formData"
  9735. }
  9736. ],
  9737. "responses": {
  9738. "200": {
  9739. "description": "OK",
  9740. "schema": {
  9741. "$ref": "#/definitions/v1.UploadResponse"
  9742. }
  9743. },
  9744. "500": {
  9745. "description": "Internal Server Error",
  9746. "schema": {
  9747. "$ref": "#/definitions/base.HTTPError"
  9748. }
  9749. }
  9750. }
  9751. }
  9752. },
  9753. "/api/v1/user/change_password": {
  9754. "put": {
  9755. "description": "修改密码",
  9756. "consumes": [
  9757. "application/json"
  9758. ],
  9759. "produces": [
  9760. "application/json"
  9761. ],
  9762. "tags": [
  9763. "用户"
  9764. ],
  9765. "summary": "修改密码",
  9766. "parameters": [
  9767. {
  9768. "type": "string",
  9769. "description": " ",
  9770. "name": "token",
  9771. "in": "header",
  9772. "required": true
  9773. },
  9774. {
  9775. "description": "信息",
  9776. "name": "body",
  9777. "in": "body",
  9778. "required": true,
  9779. "schema": {
  9780. "$ref": "#/definitions/v1.ChangePasswordBody"
  9781. }
  9782. }
  9783. ],
  9784. "responses": {
  9785. "200": {
  9786. "description": "OK",
  9787. "schema": {
  9788. "$ref": "#/definitions/v1.ChangePasswordResponse"
  9789. }
  9790. },
  9791. "500": {
  9792. "description": "Internal Server Error",
  9793. "schema": {
  9794. "$ref": "#/definitions/base.HTTPError"
  9795. }
  9796. }
  9797. }
  9798. }
  9799. },
  9800. "/api/v1/user/choose_user": {
  9801. "get": {
  9802. "description": "手机号登录选择账户",
  9803. "consumes": [
  9804. "application/json"
  9805. ],
  9806. "produces": [
  9807. "application/json"
  9808. ],
  9809. "tags": [
  9810. "用户"
  9811. ],
  9812. "summary": "手机号登录选择账户",
  9813. "parameters": [
  9814. {
  9815. "type": "string",
  9816. "description": "token",
  9817. "name": "token",
  9818. "in": "header",
  9819. "required": true
  9820. },
  9821. {
  9822. "type": "integer",
  9823. "description": "账户id",
  9824. "name": "id",
  9825. "in": "query",
  9826. "required": true
  9827. }
  9828. ],
  9829. "responses": {
  9830. "200": {
  9831. "description": "OK",
  9832. "schema": {
  9833. "$ref": "#/definitions/v1.ChooseUserResponse"
  9834. }
  9835. },
  9836. "500": {
  9837. "description": "Internal Server Error",
  9838. "schema": {
  9839. "$ref": "#/definitions/base.HTTPError"
  9840. }
  9841. }
  9842. }
  9843. }
  9844. },
  9845. "/api/v1/user/company_login": {
  9846. "post": {
  9847. "description": "公司账户进入小区",
  9848. "consumes": [
  9849. "application/json"
  9850. ],
  9851. "produces": [
  9852. "application/json"
  9853. ],
  9854. "tags": [
  9855. "用户"
  9856. ],
  9857. "summary": "公司账户进入小区",
  9858. "parameters": [
  9859. {
  9860. "type": "string",
  9861. "description": "token",
  9862. "name": "token",
  9863. "in": "header",
  9864. "required": true
  9865. }
  9866. ],
  9867. "responses": {
  9868. "200": {
  9869. "description": "OK",
  9870. "schema": {
  9871. "$ref": "#/definitions/v1.CompanyEnterGardenResponse"
  9872. }
  9873. },
  9874. "500": {
  9875. "description": "Internal Server Error",
  9876. "schema": {
  9877. "$ref": "#/definitions/base.HTTPError"
  9878. }
  9879. }
  9880. }
  9881. }
  9882. },
  9883. "/api/v1/user/login": {
  9884. "post": {
  9885. "description": "登录",
  9886. "consumes": [
  9887. "application/json"
  9888. ],
  9889. "produces": [
  9890. "application/json"
  9891. ],
  9892. "tags": [
  9893. "用户"
  9894. ],
  9895. "summary": "登录",
  9896. "parameters": [
  9897. {
  9898. "description": "登录信息",
  9899. "name": "body",
  9900. "in": "body",
  9901. "required": true,
  9902. "schema": {
  9903. "$ref": "#/definitions/v1.LoginBody"
  9904. }
  9905. }
  9906. ],
  9907. "responses": {
  9908. "200": {
  9909. "description": "OK",
  9910. "schema": {
  9911. "$ref": "#/definitions/v1.LoginResponse"
  9912. }
  9913. },
  9914. "500": {
  9915. "description": "Internal Server Error",
  9916. "schema": {
  9917. "$ref": "#/definitions/base.HTTPError"
  9918. }
  9919. }
  9920. }
  9921. }
  9922. },
  9923. "/api/v1/user/login_by_phone": {
  9924. "post": {
  9925. "description": "手机号登录",
  9926. "consumes": [
  9927. "application/json"
  9928. ],
  9929. "produces": [
  9930. "application/json"
  9931. ],
  9932. "tags": [
  9933. "用户"
  9934. ],
  9935. "summary": "手机号登录",
  9936. "parameters": [
  9937. {
  9938. "description": " ",
  9939. "name": "body",
  9940. "in": "body",
  9941. "required": true,
  9942. "schema": {
  9943. "$ref": "#/definitions/v1.LoginByPhoneBody"
  9944. }
  9945. }
  9946. ],
  9947. "responses": {
  9948. "200": {
  9949. "description": "OK",
  9950. "schema": {
  9951. "$ref": "#/definitions/v1.LoginByPhoneResponse"
  9952. }
  9953. },
  9954. "500": {
  9955. "description": "Internal Server Error",
  9956. "schema": {
  9957. "$ref": "#/definitions/base.HTTPError"
  9958. }
  9959. }
  9960. }
  9961. }
  9962. },
  9963. "/api/v1/user/openim_token": {
  9964. "get": {
  9965. "description": "获取openim_token",
  9966. "consumes": [
  9967. "application/json"
  9968. ],
  9969. "produces": [
  9970. "application/json"
  9971. ],
  9972. "tags": [
  9973. "openim"
  9974. ],
  9975. "summary": "获取openim token",
  9976. "parameters": [
  9977. {
  9978. "type": "string",
  9979. "description": "token",
  9980. "name": "token",
  9981. "in": "header",
  9982. "required": true
  9983. },
  9984. {
  9985. "type": "string",
  9986. "description": "openim_id",
  9987. "name": "openim_id",
  9988. "in": "query",
  9989. "required": true
  9990. }
  9991. ],
  9992. "responses": {
  9993. "200": {
  9994. "description": "OK",
  9995. "schema": {
  9996. "$ref": "#/definitions/v1.OpenImTokenResponse"
  9997. }
  9998. },
  9999. "500": {
  10000. "description": "Internal Server Error",
  10001. "schema": {
  10002. "$ref": "#/definitions/base.HTTPError"
  10003. }
  10004. }
  10005. }
  10006. }
  10007. },
  10008. "/api/v1/user/openim_user_face": {
  10009. "put": {
  10010. "description": "设置openim_用户头像",
  10011. "consumes": [
  10012. "application/json"
  10013. ],
  10014. "produces": [
  10015. "application/json"
  10016. ],
  10017. "tags": [
  10018. "openim"
  10019. ],
  10020. "summary": "设置openim 用户头像",
  10021. "parameters": [
  10022. {
  10023. "type": "string",
  10024. "description": "token",
  10025. "name": "token",
  10026. "in": "header",
  10027. "required": true
  10028. },
  10029. {
  10030. "description": " ",
  10031. "name": "body",
  10032. "in": "body",
  10033. "required": true,
  10034. "schema": {
  10035. "$ref": "#/definitions/v1.OpenImUserSetFaceBody"
  10036. }
  10037. }
  10038. ],
  10039. "responses": {
  10040. "200": {
  10041. "description": "OK",
  10042. "schema": {
  10043. "$ref": "#/definitions/v1.OpenImUserSetFaceResponse"
  10044. }
  10045. },
  10046. "500": {
  10047. "description": "Internal Server Error",
  10048. "schema": {
  10049. "$ref": "#/definitions/base.HTTPError"
  10050. }
  10051. }
  10052. }
  10053. }
  10054. },
  10055. "/api/v1/user/openim_user_info": {
  10056. "get": {
  10057. "description": "获取openim_用户信息",
  10058. "consumes": [
  10059. "application/json"
  10060. ],
  10061. "produces": [
  10062. "application/json"
  10063. ],
  10064. "tags": [
  10065. "openim"
  10066. ],
  10067. "summary": "获取openim 用户信息",
  10068. "parameters": [
  10069. {
  10070. "type": "string",
  10071. "description": "token",
  10072. "name": "token",
  10073. "in": "header",
  10074. "required": true
  10075. },
  10076. {
  10077. "type": "string",
  10078. "description": "openim_id",
  10079. "name": "openim_id",
  10080. "in": "query",
  10081. "required": true
  10082. }
  10083. ],
  10084. "responses": {
  10085. "200": {
  10086. "description": "OK",
  10087. "schema": {
  10088. "$ref": "#/definitions/v1.OpenImUserInfoResponse"
  10089. }
  10090. },
  10091. "500": {
  10092. "description": "Internal Server Error",
  10093. "schema": {
  10094. "$ref": "#/definitions/base.HTTPError"
  10095. }
  10096. }
  10097. }
  10098. }
  10099. },
  10100. "/api/v1/user/openim_users_info": {
  10101. "get": {
  10102. "description": "批量获取openim_用户信息",
  10103. "consumes": [
  10104. "application/json"
  10105. ],
  10106. "produces": [
  10107. "application/json"
  10108. ],
  10109. "tags": [
  10110. "openim"
  10111. ],
  10112. "summary": "批量获取openim 用户信息",
  10113. "parameters": [
  10114. {
  10115. "type": "string",
  10116. "description": "token",
  10117. "name": "token",
  10118. "in": "header",
  10119. "required": true
  10120. },
  10121. {
  10122. "type": "string",
  10123. "description": "用户openim_id,以逗号分割",
  10124. "name": "openim_ids",
  10125. "in": "query",
  10126. "required": true
  10127. }
  10128. ],
  10129. "responses": {
  10130. "200": {
  10131. "description": "OK",
  10132. "schema": {
  10133. "$ref": "#/definitions/v1.OpenImUsersInfoResponse"
  10134. }
  10135. },
  10136. "500": {
  10137. "description": "Internal Server Error",
  10138. "schema": {
  10139. "$ref": "#/definitions/base.HTTPError"
  10140. }
  10141. }
  10142. }
  10143. }
  10144. },
  10145. "/api/v1/user/permission_reget": {
  10146. "get": {
  10147. "description": "权限变更后重新获取权限",
  10148. "consumes": [
  10149. "application/json"
  10150. ],
  10151. "produces": [
  10152. "application/json"
  10153. ],
  10154. "tags": [
  10155. "用户"
  10156. ],
  10157. "summary": "权限变更后重新获取权限和token",
  10158. "parameters": [
  10159. {
  10160. "type": "string",
  10161. "description": "token",
  10162. "name": "token",
  10163. "in": "header",
  10164. "required": true
  10165. }
  10166. ],
  10167. "responses": {
  10168. "200": {
  10169. "description": "OK",
  10170. "schema": {
  10171. "$ref": "#/definitions/v1.LoginResponse"
  10172. }
  10173. },
  10174. "500": {
  10175. "description": "Internal Server Error",
  10176. "schema": {
  10177. "$ref": "#/definitions/base.HTTPError"
  10178. }
  10179. }
  10180. }
  10181. }
  10182. },
  10183. "/api/v1/user/reset_password": {
  10184. "put": {
  10185. "description": "忘记密码重置密码",
  10186. "consumes": [
  10187. "application/json"
  10188. ],
  10189. "produces": [
  10190. "application/json"
  10191. ],
  10192. "tags": [
  10193. "用户"
  10194. ],
  10195. "summary": "忘记密码重置密码",
  10196. "parameters": [
  10197. {
  10198. "description": "信息",
  10199. "name": "body",
  10200. "in": "body",
  10201. "required": true,
  10202. "schema": {
  10203. "$ref": "#/definitions/v1.ResetPasswordBody"
  10204. }
  10205. }
  10206. ],
  10207. "responses": {
  10208. "200": {
  10209. "description": "OK",
  10210. "schema": {
  10211. "$ref": "#/definitions/v1.ResetPasswordResponse"
  10212. }
  10213. },
  10214. "500": {
  10215. "description": "Internal Server Error",
  10216. "schema": {
  10217. "$ref": "#/definitions/base.HTTPError"
  10218. }
  10219. }
  10220. }
  10221. }
  10222. },
  10223. "/api/v1/user/vcode": {
  10224. "get": {
  10225. "description": "获取短信验证码",
  10226. "consumes": [
  10227. "application/json"
  10228. ],
  10229. "produces": [
  10230. "application/json"
  10231. ],
  10232. "tags": [
  10233. "用户"
  10234. ],
  10235. "summary": "获取短信验证码",
  10236. "parameters": [
  10237. {
  10238. "type": "string",
  10239. "description": " ",
  10240. "name": "phone",
  10241. "in": "query",
  10242. "required": true
  10243. }
  10244. ],
  10245. "responses": {
  10246. "200": {
  10247. "description": "OK",
  10248. "schema": {
  10249. "$ref": "#/definitions/v1.GetVcodeResponse"
  10250. }
  10251. },
  10252. "500": {
  10253. "description": "Internal Server Error",
  10254. "schema": {
  10255. "$ref": "#/definitions/base.HTTPError"
  10256. }
  10257. }
  10258. }
  10259. }
  10260. },
  10261. "/api/v1/vehicle": {
  10262. "get": {
  10263. "description": "车辆列表",
  10264. "consumes": [
  10265. "application/json"
  10266. ],
  10267. "produces": [
  10268. "application/json"
  10269. ],
  10270. "tags": [
  10271. "车辆"
  10272. ],
  10273. "summary": "车辆列表",
  10274. "parameters": [
  10275. {
  10276. "type": "string",
  10277. "description": "token",
  10278. "name": "token",
  10279. "in": "header",
  10280. "required": true
  10281. },
  10282. {
  10283. "type": "integer",
  10284. "description": " ",
  10285. "name": "page",
  10286. "in": "query"
  10287. },
  10288. {
  10289. "type": "integer",
  10290. "description": " ",
  10291. "name": "page_size",
  10292. "in": "query"
  10293. },
  10294. {
  10295. "type": "integer",
  10296. "description": "住户uid",
  10297. "name": "household_id",
  10298. "in": "query"
  10299. },
  10300. {
  10301. "type": "string",
  10302. "description": "车牌号",
  10303. "name": "plate_no",
  10304. "in": "query"
  10305. }
  10306. ],
  10307. "responses": {
  10308. "200": {
  10309. "description": "OK",
  10310. "schema": {
  10311. "$ref": "#/definitions/v1.VehicleListResponse"
  10312. }
  10313. },
  10314. "500": {
  10315. "description": "Internal Server Error",
  10316. "schema": {
  10317. "$ref": "#/definitions/base.HTTPError"
  10318. }
  10319. }
  10320. }
  10321. },
  10322. "put": {
  10323. "description": "修改车辆",
  10324. "consumes": [
  10325. "application/json"
  10326. ],
  10327. "produces": [
  10328. "application/json"
  10329. ],
  10330. "tags": [
  10331. "车辆"
  10332. ],
  10333. "summary": "修改车辆",
  10334. "parameters": [
  10335. {
  10336. "type": "string",
  10337. "description": "token",
  10338. "name": "token",
  10339. "in": "header",
  10340. "required": true
  10341. },
  10342. {
  10343. "description": "信息",
  10344. "name": "body",
  10345. "in": "body",
  10346. "required": true,
  10347. "schema": {
  10348. "$ref": "#/definitions/v1.VehicleUpdateBody"
  10349. }
  10350. }
  10351. ],
  10352. "responses": {
  10353. "200": {
  10354. "description": "OK",
  10355. "schema": {
  10356. "$ref": "#/definitions/v1.VehicleUpdateResponse"
  10357. }
  10358. },
  10359. "500": {
  10360. "description": "Internal Server Error",
  10361. "schema": {
  10362. "$ref": "#/definitions/base.HTTPError"
  10363. }
  10364. }
  10365. }
  10366. },
  10367. "post": {
  10368. "description": "添加车辆",
  10369. "consumes": [
  10370. "application/json"
  10371. ],
  10372. "produces": [
  10373. "application/json"
  10374. ],
  10375. "tags": [
  10376. "车辆"
  10377. ],
  10378. "summary": "添加车辆",
  10379. "parameters": [
  10380. {
  10381. "type": "string",
  10382. "description": "token",
  10383. "name": "token",
  10384. "in": "header",
  10385. "required": true
  10386. },
  10387. {
  10388. "description": "信息",
  10389. "name": "body",
  10390. "in": "body",
  10391. "required": true,
  10392. "schema": {
  10393. "$ref": "#/definitions/v1.VehicleAddBody"
  10394. }
  10395. }
  10396. ],
  10397. "responses": {
  10398. "200": {
  10399. "description": "OK",
  10400. "schema": {
  10401. "$ref": "#/definitions/v1.VehicleAddResponse"
  10402. }
  10403. },
  10404. "500": {
  10405. "description": "Internal Server Error",
  10406. "schema": {
  10407. "$ref": "#/definitions/base.HTTPError"
  10408. }
  10409. }
  10410. }
  10411. },
  10412. "delete": {
  10413. "description": "删除车辆",
  10414. "consumes": [
  10415. "application/json"
  10416. ],
  10417. "produces": [
  10418. "application/json"
  10419. ],
  10420. "tags": [
  10421. "车辆"
  10422. ],
  10423. "summary": "删除车辆",
  10424. "parameters": [
  10425. {
  10426. "type": "string",
  10427. "description": "token",
  10428. "name": "token",
  10429. "in": "header",
  10430. "required": true
  10431. },
  10432. {
  10433. "type": "integer",
  10434. "description": " ",
  10435. "name": "id",
  10436. "in": "query",
  10437. "required": true
  10438. }
  10439. ],
  10440. "responses": {
  10441. "200": {
  10442. "description": "OK",
  10443. "schema": {
  10444. "$ref": "#/definitions/v1.VehicleDelResponse"
  10445. }
  10446. },
  10447. "500": {
  10448. "description": "Internal Server Error",
  10449. "schema": {
  10450. "$ref": "#/definitions/base.HTTPError"
  10451. }
  10452. }
  10453. }
  10454. }
  10455. },
  10456. "/api/v1/vehicle/brand": {
  10457. "get": {
  10458. "description": "车辆品牌",
  10459. "consumes": [
  10460. "application/json"
  10461. ],
  10462. "produces": [
  10463. "application/json"
  10464. ],
  10465. "tags": [
  10466. "车辆"
  10467. ],
  10468. "summary": "车辆品牌",
  10469. "parameters": [
  10470. {
  10471. "type": "string",
  10472. "description": "token",
  10473. "name": "token",
  10474. "in": "header",
  10475. "required": true
  10476. }
  10477. ],
  10478. "responses": {
  10479. "200": {
  10480. "description": "OK",
  10481. "schema": {
  10482. "$ref": "#/definitions/v1.VehicleBrandListResponse"
  10483. }
  10484. },
  10485. "500": {
  10486. "description": "Internal Server Error",
  10487. "schema": {
  10488. "$ref": "#/definitions/base.HTTPError"
  10489. }
  10490. }
  10491. }
  10492. }
  10493. }
  10494. },
  10495. "definitions": {
  10496. "base.HTTPError": {
  10497. "type": "object",
  10498. "properties": {
  10499. "code": {
  10500. "type": "integer",
  10501. "format": "int",
  10502. "example": 500
  10503. },
  10504. "message": {
  10505. "type": "string",
  10506. "example": "status bad request"
  10507. }
  10508. }
  10509. },
  10510. "v1.AllPermissionResponse": {
  10511. "type": "object",
  10512. "properties": {
  10513. "code": {
  10514. "description": "返回码",
  10515. "type": "integer",
  10516. "format": "int",
  10517. "default": 0
  10518. },
  10519. "data": {
  10520. "type": "object",
  10521. "$ref": "#/definitions/v1.GardenPermissionListReply"
  10522. },
  10523. "message": {
  10524. "description": "消息",
  10525. "type": "string",
  10526. "default": "success"
  10527. }
  10528. }
  10529. },
  10530. "v1.AnnouncementAddBody": {
  10531. "type": "object",
  10532. "properties": {
  10533. "content": {
  10534. "type": "string"
  10535. },
  10536. "title": {
  10537. "type": "string"
  10538. }
  10539. }
  10540. },
  10541. "v1.AnnouncementAddReply": {
  10542. "type": "object",
  10543. "properties": {
  10544. "id": {
  10545. "type": "integer"
  10546. }
  10547. }
  10548. },
  10549. "v1.AnnouncementAddResponse": {
  10550. "type": "object",
  10551. "properties": {
  10552. "code": {
  10553. "description": "返回码",
  10554. "type": "integer",
  10555. "format": "int",
  10556. "default": 0
  10557. },
  10558. "data": {
  10559. "type": "object",
  10560. "$ref": "#/definitions/v1.AnnouncementAddReply"
  10561. },
  10562. "message": {
  10563. "description": "消息",
  10564. "type": "string",
  10565. "default": "success"
  10566. }
  10567. }
  10568. },
  10569. "v1.AnnouncementDelResponse": {
  10570. "type": "object",
  10571. "properties": {
  10572. "code": {
  10573. "description": "返回码",
  10574. "type": "integer",
  10575. "format": "int",
  10576. "default": 0
  10577. },
  10578. "message": {
  10579. "description": "消息",
  10580. "type": "string",
  10581. "default": "success"
  10582. }
  10583. }
  10584. },
  10585. "v1.AnnouncementItem": {
  10586. "type": "object",
  10587. "properties": {
  10588. "content": {
  10589. "type": "string"
  10590. },
  10591. "created_at": {
  10592. "type": "string"
  10593. },
  10594. "id": {
  10595. "type": "integer"
  10596. },
  10597. "read": {
  10598. "type": "boolean"
  10599. },
  10600. "read_count": {
  10601. "type": "integer"
  10602. },
  10603. "title": {
  10604. "type": "string"
  10605. }
  10606. }
  10607. },
  10608. "v1.AnnouncementListReply": {
  10609. "type": "object",
  10610. "properties": {
  10611. "list": {
  10612. "type": "array",
  10613. "items": {
  10614. "$ref": "#/definitions/v1.AnnouncementItem"
  10615. }
  10616. },
  10617. "page": {
  10618. "type": "integer"
  10619. },
  10620. "total": {
  10621. "type": "integer"
  10622. }
  10623. }
  10624. },
  10625. "v1.AnnouncementListResponse": {
  10626. "type": "object",
  10627. "properties": {
  10628. "code": {
  10629. "description": "返回码",
  10630. "type": "integer",
  10631. "format": "int",
  10632. "default": 0
  10633. },
  10634. "data": {
  10635. "type": "object",
  10636. "$ref": "#/definitions/v1.AnnouncementListReply"
  10637. },
  10638. "message": {
  10639. "description": "消息",
  10640. "type": "string",
  10641. "default": "success"
  10642. }
  10643. }
  10644. },
  10645. "v1.AnnouncementUpdateBody": {
  10646. "type": "object",
  10647. "properties": {
  10648. "content": {
  10649. "type": "string"
  10650. },
  10651. "id": {
  10652. "type": "integer"
  10653. },
  10654. "title": {
  10655. "type": "string"
  10656. }
  10657. }
  10658. },
  10659. "v1.AnnouncementUpdateResponse": {
  10660. "type": "object",
  10661. "properties": {
  10662. "code": {
  10663. "description": "返回码",
  10664. "type": "integer",
  10665. "format": "int",
  10666. "default": 0
  10667. },
  10668. "message": {
  10669. "description": "消息",
  10670. "type": "string",
  10671. "default": "success"
  10672. }
  10673. }
  10674. },
  10675. "v1.ApplicationItem": {
  10676. "type": "object",
  10677. "properties": {
  10678. "content": {
  10679. "type": "string"
  10680. },
  10681. "desc": {
  10682. "type": "string"
  10683. },
  10684. "enable": {
  10685. "type": "boolean"
  10686. },
  10687. "icon": {
  10688. "type": "string"
  10689. },
  10690. "id": {
  10691. "type": "integer"
  10692. },
  10693. "name": {
  10694. "type": "string"
  10695. },
  10696. "price": {
  10697. "type": "integer"
  10698. }
  10699. }
  10700. },
  10701. "v1.ApplicationListReply": {
  10702. "type": "object",
  10703. "properties": {
  10704. "list": {
  10705. "type": "array",
  10706. "items": {
  10707. "$ref": "#/definitions/v1.ApplicationItem"
  10708. }
  10709. },
  10710. "page": {
  10711. "type": "integer"
  10712. },
  10713. "total": {
  10714. "type": "integer"
  10715. }
  10716. }
  10717. },
  10718. "v1.ApplicationListResponse": {
  10719. "type": "object",
  10720. "properties": {
  10721. "code": {
  10722. "description": "返回码",
  10723. "type": "integer",
  10724. "format": "int",
  10725. "default": 0
  10726. },
  10727. "data": {
  10728. "type": "object",
  10729. "$ref": "#/definitions/v1.ApplicationListReply"
  10730. },
  10731. "message": {
  10732. "description": "消息",
  10733. "type": "string",
  10734. "default": "success"
  10735. }
  10736. }
  10737. },
  10738. "v1.ApplicationOrderAddBody": {
  10739. "type": "object",
  10740. "properties": {
  10741. "amount": {
  10742. "description": "单价*周期得出的总价",
  10743. "type": "integer"
  10744. },
  10745. "application_id": {
  10746. "type": "integer"
  10747. }
  10748. }
  10749. },
  10750. "v1.ApplicationOrderAddReply": {
  10751. "type": "object",
  10752. "properties": {
  10753. "amount": {
  10754. "description": "订单金额",
  10755. "type": "integer"
  10756. },
  10757. "application_desc": {
  10758. "type": "string"
  10759. },
  10760. "application_name": {
  10761. "type": "string"
  10762. },
  10763. "bank_account": {
  10764. "description": "银行账号",
  10765. "type": "string"
  10766. },
  10767. "bank_name": {
  10768. "description": "开户行",
  10769. "type": "string"
  10770. },
  10771. "bank_user_name": {
  10772. "description": "户名",
  10773. "type": "string"
  10774. },
  10775. "order_id": {
  10776. "type": "integer"
  10777. },
  10778. "pay_type": {
  10779. "description": "支付方式 1 对公转账",
  10780. "type": "integer"
  10781. }
  10782. }
  10783. },
  10784. "v1.ApplicationOrderAddResponse": {
  10785. "type": "object",
  10786. "properties": {
  10787. "code": {
  10788. "description": "返回码",
  10789. "type": "integer",
  10790. "format": "int",
  10791. "default": 0
  10792. },
  10793. "data": {
  10794. "type": "object",
  10795. "$ref": "#/definitions/v1.ApplicationOrderAddReply"
  10796. },
  10797. "message": {
  10798. "description": "消息",
  10799. "type": "string",
  10800. "default": "success"
  10801. }
  10802. }
  10803. },
  10804. "v1.BatchHouseAddResponse": {
  10805. "type": "object",
  10806. "properties": {
  10807. "code": {
  10808. "description": "返回码",
  10809. "type": "integer",
  10810. "format": "int",
  10811. "default": 0
  10812. },
  10813. "message": {
  10814. "description": "消息",
  10815. "type": "string",
  10816. "default": "success"
  10817. }
  10818. }
  10819. },
  10820. "v1.BatchUrgeData": {
  10821. "type": "object",
  10822. "properties": {
  10823. "list": {
  10824. "type": "array",
  10825. "items": {
  10826. "$ref": "#/definitions/v1.BatchUrgeItem"
  10827. }
  10828. }
  10829. }
  10830. },
  10831. "v1.BatchUrgeFeeItem": {
  10832. "type": "object",
  10833. "properties": {
  10834. "charge_name": {
  10835. "description": "费用名称",
  10836. "type": "string"
  10837. },
  10838. "charge_type": {
  10839. "description": "费用类型 1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  10840. "type": "integer"
  10841. },
  10842. "fee": {
  10843. "description": "欠费金额",
  10844. "type": "integer"
  10845. }
  10846. }
  10847. },
  10848. "v1.BatchUrgeItem": {
  10849. "type": "object",
  10850. "properties": {
  10851. "list": {
  10852. "description": "费用",
  10853. "type": "array",
  10854. "items": {
  10855. "$ref": "#/definitions/v1.BatchUrgeFeeItem"
  10856. }
  10857. },
  10858. "obj_name": {
  10859. "description": "房号/车位号",
  10860. "type": "string"
  10861. }
  10862. }
  10863. },
  10864. "v1.BatchUrgeResponse": {
  10865. "type": "object",
  10866. "properties": {
  10867. "code": {
  10868. "description": "返回码",
  10869. "type": "integer",
  10870. "format": "int",
  10871. "default": 0
  10872. },
  10873. "data": {
  10874. "type": "object",
  10875. "$ref": "#/definitions/v1.BatchUrgeData"
  10876. },
  10877. "message": {
  10878. "description": "消息",
  10879. "type": "string",
  10880. "default": "success"
  10881. }
  10882. }
  10883. },
  10884. "v1.BuildingAddBody": {
  10885. "type": "object",
  10886. "properties": {
  10887. "building_area": {
  10888. "description": "楼栋建筑面积",
  10889. "type": "number"
  10890. },
  10891. "building_name": {
  10892. "description": "楼栋名",
  10893. "type": "string"
  10894. },
  10895. "building_number": {
  10896. "description": "楼栋编号",
  10897. "type": "string"
  10898. },
  10899. "building_used_area": {
  10900. "description": "楼栋使用面积",
  10901. "type": "number"
  10902. },
  10903. "comment": {
  10904. "description": "备注",
  10905. "type": "string"
  10906. }
  10907. }
  10908. },
  10909. "v1.BuildingAddManagerBody": {
  10910. "type": "object",
  10911. "properties": {
  10912. "building_id": {
  10913. "type": "integer"
  10914. },
  10915. "manager_uid": {
  10916. "type": "integer"
  10917. }
  10918. }
  10919. },
  10920. "v1.BuildingAddManagerReply": {
  10921. "type": "object",
  10922. "properties": {
  10923. "id": {
  10924. "type": "integer"
  10925. }
  10926. }
  10927. },
  10928. "v1.BuildingAddManagerResponse": {
  10929. "type": "object",
  10930. "properties": {
  10931. "code": {
  10932. "description": "返回码",
  10933. "type": "integer",
  10934. "format": "int",
  10935. "default": 0
  10936. },
  10937. "data": {
  10938. "type": "object",
  10939. "$ref": "#/definitions/v1.BuildingAddManagerReply"
  10940. },
  10941. "message": {
  10942. "description": "消息",
  10943. "type": "string",
  10944. "default": "success"
  10945. }
  10946. }
  10947. },
  10948. "v1.BuildingAddReply": {
  10949. "type": "object",
  10950. "properties": {
  10951. "id": {
  10952. "type": "integer"
  10953. }
  10954. }
  10955. },
  10956. "v1.BuildingAddResponse": {
  10957. "type": "object",
  10958. "properties": {
  10959. "code": {
  10960. "description": "返回码",
  10961. "type": "integer",
  10962. "format": "int",
  10963. "default": 0
  10964. },
  10965. "data": {
  10966. "type": "object",
  10967. "$ref": "#/definitions/v1.BuildingAddReply"
  10968. },
  10969. "message": {
  10970. "description": "消息",
  10971. "type": "string",
  10972. "default": "success"
  10973. }
  10974. }
  10975. },
  10976. "v1.BuildingDelManagerResponse": {
  10977. "type": "object",
  10978. "properties": {
  10979. "code": {
  10980. "description": "返回码",
  10981. "type": "integer",
  10982. "format": "int",
  10983. "default": 0
  10984. },
  10985. "message": {
  10986. "description": "消息",
  10987. "type": "string",
  10988. "default": "success"
  10989. }
  10990. }
  10991. },
  10992. "v1.BuildingDelResponse": {
  10993. "type": "object",
  10994. "properties": {
  10995. "code": {
  10996. "description": "返回码",
  10997. "type": "integer",
  10998. "format": "int",
  10999. "default": 0
  11000. },
  11001. "message": {
  11002. "description": "消息",
  11003. "type": "string",
  11004. "default": "success"
  11005. }
  11006. }
  11007. },
  11008. "v1.BuildingItem": {
  11009. "type": "object",
  11010. "properties": {
  11011. "building_area": {
  11012. "description": "楼栋建筑面积",
  11013. "type": "number"
  11014. },
  11015. "building_name": {
  11016. "description": "楼栋名",
  11017. "type": "string"
  11018. },
  11019. "building_number": {
  11020. "description": "楼栋编号",
  11021. "type": "string"
  11022. },
  11023. "building_used_area": {
  11024. "description": "楼栋使用面积",
  11025. "type": "number"
  11026. },
  11027. "comment": {
  11028. "description": "备注",
  11029. "type": "string"
  11030. },
  11031. "id": {
  11032. "description": "id",
  11033. "type": "integer"
  11034. },
  11035. "unit_count": {
  11036. "type": "integer"
  11037. }
  11038. }
  11039. },
  11040. "v1.BuildingListReply": {
  11041. "type": "object",
  11042. "properties": {
  11043. "list": {
  11044. "type": "array",
  11045. "items": {
  11046. "$ref": "#/definitions/v1.BuildingItem"
  11047. }
  11048. },
  11049. "page": {
  11050. "type": "integer"
  11051. },
  11052. "total": {
  11053. "type": "integer"
  11054. }
  11055. }
  11056. },
  11057. "v1.BuildingListResponse": {
  11058. "type": "object",
  11059. "properties": {
  11060. "code": {
  11061. "description": "返回码",
  11062. "type": "integer",
  11063. "format": "int",
  11064. "default": 0
  11065. },
  11066. "data": {
  11067. "type": "object",
  11068. "$ref": "#/definitions/v1.BuildingListReply"
  11069. },
  11070. "message": {
  11071. "description": "消息",
  11072. "type": "string",
  11073. "default": "success"
  11074. }
  11075. }
  11076. },
  11077. "v1.BuildingManagerItem": {
  11078. "type": "object",
  11079. "properties": {
  11080. "id": {
  11081. "type": "integer"
  11082. },
  11083. "manager_uid": {
  11084. "type": "integer"
  11085. },
  11086. "name": {
  11087. "description": "姓名",
  11088. "type": "string"
  11089. },
  11090. "openim_id": {
  11091. "type": "string"
  11092. },
  11093. "phone": {
  11094. "type": "string"
  11095. },
  11096. "user_name": {
  11097. "description": "账号",
  11098. "type": "string"
  11099. }
  11100. }
  11101. },
  11102. "v1.BuildingManagerListReply": {
  11103. "type": "object",
  11104. "properties": {
  11105. "list": {
  11106. "type": "array",
  11107. "items": {
  11108. "$ref": "#/definitions/v1.BuildingManagerItem"
  11109. }
  11110. }
  11111. }
  11112. },
  11113. "v1.BuildingManagerListResponse": {
  11114. "type": "object",
  11115. "properties": {
  11116. "code": {
  11117. "description": "返回码",
  11118. "type": "integer",
  11119. "format": "int",
  11120. "default": 0
  11121. },
  11122. "data": {
  11123. "type": "object",
  11124. "$ref": "#/definitions/v1.BuildingManagerListReply"
  11125. },
  11126. "message": {
  11127. "description": "消息",
  11128. "type": "string",
  11129. "default": "success"
  11130. }
  11131. }
  11132. },
  11133. "v1.BuildingUpdateBody": {
  11134. "type": "object",
  11135. "properties": {
  11136. "building_area": {
  11137. "description": "楼栋建筑面积",
  11138. "type": "number"
  11139. },
  11140. "building_name": {
  11141. "description": "楼栋名",
  11142. "type": "string"
  11143. },
  11144. "building_number": {
  11145. "description": "楼栋编号",
  11146. "type": "string"
  11147. },
  11148. "building_used_area": {
  11149. "description": "楼栋使用面积",
  11150. "type": "number"
  11151. },
  11152. "comment": {
  11153. "description": "备注",
  11154. "type": "string"
  11155. },
  11156. "id": {
  11157. "type": "integer"
  11158. }
  11159. }
  11160. },
  11161. "v1.BuildingUpdateResponse": {
  11162. "type": "object",
  11163. "properties": {
  11164. "code": {
  11165. "description": "返回码",
  11166. "type": "integer",
  11167. "format": "int",
  11168. "default": 0
  11169. },
  11170. "message": {
  11171. "description": "消息",
  11172. "type": "string",
  11173. "default": "success"
  11174. }
  11175. }
  11176. },
  11177. "v1.ChangePasswordBody": {
  11178. "type": "object",
  11179. "properties": {
  11180. "new_password": {
  11181. "type": "string"
  11182. },
  11183. "old_password": {
  11184. "type": "string"
  11185. }
  11186. }
  11187. },
  11188. "v1.ChangePasswordResponse": {
  11189. "type": "object",
  11190. "properties": {
  11191. "code": {
  11192. "description": "返回码",
  11193. "type": "integer",
  11194. "format": "int",
  11195. "default": 0
  11196. },
  11197. "message": {
  11198. "description": "消息",
  11199. "type": "string",
  11200. "default": "success"
  11201. }
  11202. }
  11203. },
  11204. "v1.ChargeBillItem": {
  11205. "type": "object",
  11206. "properties": {
  11207. "amount": {
  11208. "type": "integer"
  11209. },
  11210. "bill_id": {
  11211. "type": "integer"
  11212. },
  11213. "charge_desc": {
  11214. "type": "string"
  11215. },
  11216. "charge_name": {
  11217. "type": "string"
  11218. },
  11219. "charge_type": {
  11220. "type": "integer"
  11221. },
  11222. "current_used": {
  11223. "type": "number"
  11224. },
  11225. "end": {
  11226. "type": "string"
  11227. },
  11228. "last_used": {
  11229. "type": "number"
  11230. },
  11231. "late_fee": {
  11232. "type": "integer"
  11233. },
  11234. "obj_id": {
  11235. "type": "integer"
  11236. },
  11237. "obj_name": {
  11238. "type": "string"
  11239. },
  11240. "obj_type": {
  11241. "type": "integer"
  11242. },
  11243. "start": {
  11244. "type": "string"
  11245. }
  11246. }
  11247. },
  11248. "v1.ChargeBillListReply": {
  11249. "type": "object",
  11250. "properties": {
  11251. "charge_name": {
  11252. "type": "string"
  11253. },
  11254. "charge_type": {
  11255. "type": "integer"
  11256. },
  11257. "list": {
  11258. "type": "array",
  11259. "items": {
  11260. "$ref": "#/definitions/v1.ChargeBillItem"
  11261. }
  11262. },
  11263. "page": {
  11264. "type": "integer"
  11265. },
  11266. "should_pay_amount": {
  11267. "type": "integer"
  11268. },
  11269. "total": {
  11270. "type": "integer"
  11271. }
  11272. }
  11273. },
  11274. "v1.ChargeBillListResponse": {
  11275. "type": "object",
  11276. "properties": {
  11277. "code": {
  11278. "description": "返回码",
  11279. "type": "integer",
  11280. "format": "int",
  11281. "default": 0
  11282. },
  11283. "data": {
  11284. "type": "object",
  11285. "$ref": "#/definitions/v1.ChargeBillListReply"
  11286. },
  11287. "message": {
  11288. "description": "消息",
  11289. "type": "string",
  11290. "default": "success"
  11291. }
  11292. }
  11293. },
  11294. "v1.ChargeBillObjItem": {
  11295. "type": "object",
  11296. "properties": {
  11297. "bill_count": {
  11298. "type": "integer"
  11299. },
  11300. "obj_id": {
  11301. "type": "integer"
  11302. },
  11303. "obj_name": {
  11304. "type": "string"
  11305. },
  11306. "obj_type": {
  11307. "type": "integer"
  11308. },
  11309. "should_pay_amount": {
  11310. "type": "integer"
  11311. }
  11312. }
  11313. },
  11314. "v1.ChargeBillObjListReply": {
  11315. "type": "object",
  11316. "properties": {
  11317. "list": {
  11318. "type": "array",
  11319. "items": {
  11320. "$ref": "#/definitions/v1.ChargeBillObjItem"
  11321. }
  11322. },
  11323. "page": {
  11324. "type": "integer"
  11325. },
  11326. "total": {
  11327. "type": "integer"
  11328. }
  11329. }
  11330. },
  11331. "v1.ChargeBillObjListResponse": {
  11332. "type": "object",
  11333. "properties": {
  11334. "code": {
  11335. "description": "返回码",
  11336. "type": "integer",
  11337. "format": "int",
  11338. "default": 0
  11339. },
  11340. "data": {
  11341. "type": "object",
  11342. "$ref": "#/definitions/v1.ChargeBillObjListReply"
  11343. },
  11344. "message": {
  11345. "description": "消息",
  11346. "type": "string",
  11347. "default": "success"
  11348. }
  11349. }
  11350. },
  11351. "v1.ChargeBillPayBody": {
  11352. "type": "object",
  11353. "properties": {
  11354. "bind_ids": {
  11355. "description": "BillIds []int64 ` + "`" + `form:\"bill_ids\" json:\"bill_ids\"` + "`" + `\n绑定关系id列表",
  11356. "type": "array",
  11357. "items": {
  11358. "type": "integer"
  11359. }
  11360. },
  11361. "comment": {
  11362. "description": "备注",
  11363. "type": "string"
  11364. },
  11365. "pay_amount": {
  11366. "description": "实缴",
  11367. "type": "integer"
  11368. },
  11369. "pay_type": {
  11370. "description": "1 现金 2 微信 3 支付宝 4 pos 5 转账",
  11371. "type": "integer"
  11372. },
  11373. "should_pay_amount": {
  11374. "description": "应缴",
  11375. "type": "integer"
  11376. }
  11377. }
  11378. },
  11379. "v1.ChargeBillPayReply": {
  11380. "type": "object",
  11381. "properties": {
  11382. "order_id": {
  11383. "type": "string"
  11384. }
  11385. }
  11386. },
  11387. "v1.ChargeBillPayResponse": {
  11388. "type": "object",
  11389. "properties": {
  11390. "code": {
  11391. "description": "返回码",
  11392. "type": "integer",
  11393. "format": "int",
  11394. "default": 0
  11395. },
  11396. "data": {
  11397. "type": "object",
  11398. "$ref": "#/definitions/v1.ChargeBillPayReply"
  11399. },
  11400. "message": {
  11401. "description": "消息",
  11402. "type": "string",
  11403. "default": "success"
  11404. }
  11405. }
  11406. },
  11407. "v1.ChargeBindBody": {
  11408. "type": "object",
  11409. "properties": {
  11410. "charge_id": {
  11411. "type": "integer"
  11412. },
  11413. "custom_fee": {
  11414. "type": "integer"
  11415. },
  11416. "end": {
  11417. "description": "只有车辆费用有,结束时间",
  11418. "type": "integer"
  11419. },
  11420. "obj_ids": {
  11421. "description": "绑定对象的id",
  11422. "type": "array",
  11423. "items": {
  11424. "type": "integer"
  11425. }
  11426. },
  11427. "start": {
  11428. "description": "开始时间",
  11429. "type": "integer"
  11430. }
  11431. }
  11432. },
  11433. "v1.ChargeBindResponse": {
  11434. "type": "object",
  11435. "properties": {
  11436. "code": {
  11437. "description": "返回码",
  11438. "type": "integer",
  11439. "format": "int",
  11440. "default": 0
  11441. },
  11442. "message": {
  11443. "description": "消息",
  11444. "type": "string",
  11445. "default": "success"
  11446. }
  11447. }
  11448. },
  11449. "v1.ChargeConfAddBody": {
  11450. "type": "object",
  11451. "properties": {
  11452. "bill_period": {
  11453. "description": "账单生成周期 1 按月 2 按季度 3 半年 4 年",
  11454. "type": "integer"
  11455. },
  11456. "bill_period_type": {
  11457. "description": "账单周期计算方式 1自然周期 2 费用生效时间",
  11458. "type": "integer"
  11459. },
  11460. "charge_basis": {
  11461. "description": "1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义",
  11462. "type": "integer"
  11463. },
  11464. "charge_effective_time": {
  11465. "description": "费用生效时间",
  11466. "type": "integer"
  11467. },
  11468. "charge_name": {
  11469. "description": "费用名称",
  11470. "type": "string"
  11471. },
  11472. "charge_time_type": {
  11473. "description": "缴费时间类型 1 周期性缴 2 一次性",
  11474. "type": "integer"
  11475. },
  11476. "charge_type": {
  11477. "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  11478. "type": "integer"
  11479. },
  11480. "fix_amount": {
  11481. "description": "固定费用",
  11482. "type": "integer"
  11483. },
  11484. "fix_amount_name": {
  11485. "description": "固定费用别名",
  11486. "type": "string"
  11487. },
  11488. "lateFeePercent": {
  11489. "description": "滞纳金比例 1代表万分之1",
  11490. "type": "integer"
  11491. },
  11492. "late_fee_day": {
  11493. "description": "账单生成后xx天开始算滞纳金",
  11494. "type": "integer"
  11495. },
  11496. "late_fee_enable": {
  11497. "description": "滞纳金开启关闭",
  11498. "type": "boolean"
  11499. },
  11500. "late_fee_max_days": {
  11501. "description": "滞纳金封顶天数",
  11502. "type": "integer"
  11503. },
  11504. "unit_price": {
  11505. "description": "单价",
  11506. "type": "integer"
  11507. }
  11508. }
  11509. },
  11510. "v1.ChargeConfAddReply": {
  11511. "type": "object",
  11512. "properties": {
  11513. "id": {
  11514. "type": "integer"
  11515. }
  11516. }
  11517. },
  11518. "v1.ChargeConfAddResponse": {
  11519. "type": "object",
  11520. "properties": {
  11521. "code": {
  11522. "description": "返回码",
  11523. "type": "integer",
  11524. "format": "int",
  11525. "default": 0
  11526. },
  11527. "data": {
  11528. "type": "object",
  11529. "$ref": "#/definitions/v1.ChargeConfAddReply"
  11530. },
  11531. "message": {
  11532. "description": "消息",
  11533. "type": "string",
  11534. "default": "success"
  11535. }
  11536. }
  11537. },
  11538. "v1.ChargeConfDelResponse": {
  11539. "type": "object",
  11540. "properties": {
  11541. "code": {
  11542. "description": "返回码",
  11543. "type": "integer",
  11544. "format": "int",
  11545. "default": 0
  11546. },
  11547. "message": {
  11548. "description": "消息",
  11549. "type": "string",
  11550. "default": "success"
  11551. }
  11552. }
  11553. },
  11554. "v1.ChargeConfItem": {
  11555. "type": "object",
  11556. "properties": {
  11557. "bill_period": {
  11558. "description": "账单生成周期 1 按月 2 按季度 3 半年 4 年",
  11559. "type": "integer"
  11560. },
  11561. "bill_period_type": {
  11562. "description": "账单周期计算方式 1自然周期 2 费用生效时间",
  11563. "type": "integer"
  11564. },
  11565. "charge_basis": {
  11566. "description": "1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义",
  11567. "type": "integer"
  11568. },
  11569. "charge_effective_time": {
  11570. "description": "费用生效时间",
  11571. "type": "integer"
  11572. },
  11573. "charge_name": {
  11574. "description": "费用名称",
  11575. "type": "string"
  11576. },
  11577. "charge_time_type": {
  11578. "description": "缴费时间类型 1 周期性缴 2 一次性",
  11579. "type": "integer"
  11580. },
  11581. "charge_type": {
  11582. "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  11583. "type": "integer"
  11584. },
  11585. "fix_amount": {
  11586. "description": "固定费用",
  11587. "type": "integer"
  11588. },
  11589. "fix_amount_name": {
  11590. "description": "固定费用别名",
  11591. "type": "string"
  11592. },
  11593. "garden_id": {
  11594. "type": "integer"
  11595. },
  11596. "id": {
  11597. "type": "integer"
  11598. },
  11599. "late_fee_day": {
  11600. "description": "账单生成后xx天开始算滞纳金",
  11601. "type": "integer"
  11602. },
  11603. "late_fee_enable": {
  11604. "description": "滞纳金开启关闭",
  11605. "type": "boolean"
  11606. },
  11607. "late_fee_max_days": {
  11608. "description": "滞纳金封顶天数",
  11609. "type": "integer"
  11610. },
  11611. "late_fee_percent": {
  11612. "description": "滞纳金比例 1代表万分之1",
  11613. "type": "integer"
  11614. },
  11615. "unit_price": {
  11616. "description": "单价",
  11617. "type": "integer"
  11618. }
  11619. }
  11620. },
  11621. "v1.ChargeConfListReply": {
  11622. "type": "object",
  11623. "properties": {
  11624. "list": {
  11625. "type": "array",
  11626. "items": {
  11627. "$ref": "#/definitions/v1.ChargeConfItem"
  11628. }
  11629. },
  11630. "page": {
  11631. "type": "integer"
  11632. },
  11633. "total": {
  11634. "type": "integer"
  11635. }
  11636. }
  11637. },
  11638. "v1.ChargeConfListResponse": {
  11639. "type": "object",
  11640. "properties": {
  11641. "code": {
  11642. "description": "返回码",
  11643. "type": "integer",
  11644. "format": "int",
  11645. "default": 0
  11646. },
  11647. "data": {
  11648. "type": "object",
  11649. "$ref": "#/definitions/v1.ChargeConfListReply"
  11650. },
  11651. "message": {
  11652. "description": "消息",
  11653. "type": "string",
  11654. "default": "success"
  11655. }
  11656. }
  11657. },
  11658. "v1.ChargeConfUpdateBody": {
  11659. "type": "object",
  11660. "properties": {
  11661. "bill_period": {
  11662. "description": "账单生成周期 1 按月 2 按季度 3 半年 4 年",
  11663. "type": "integer"
  11664. },
  11665. "bill_period_type": {
  11666. "description": "账单周期计算方式 1自然周期 2 费用生效时间",
  11667. "type": "integer"
  11668. },
  11669. "charge_basis": {
  11670. "description": "1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义",
  11671. "type": "integer"
  11672. },
  11673. "charge_effective_time": {
  11674. "description": "费用生效时间",
  11675. "type": "integer"
  11676. },
  11677. "charge_name": {
  11678. "description": "费用名称",
  11679. "type": "string"
  11680. },
  11681. "charge_time_type": {
  11682. "description": "缴费时间类型 1 周期性缴 2 一次性",
  11683. "type": "integer"
  11684. },
  11685. "charge_type": {
  11686. "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  11687. "type": "integer"
  11688. },
  11689. "fix_amount": {
  11690. "description": "固定费用",
  11691. "type": "integer"
  11692. },
  11693. "fix_amount_name": {
  11694. "description": "固定费用别名",
  11695. "type": "string"
  11696. },
  11697. "id": {
  11698. "type": "integer"
  11699. },
  11700. "lateFeePercent": {
  11701. "description": "滞纳金比例 1代表万分之1",
  11702. "type": "integer"
  11703. },
  11704. "late_fee_day": {
  11705. "description": "账单生成后xx天开始算滞纳金",
  11706. "type": "integer"
  11707. },
  11708. "late_fee_enable": {
  11709. "description": "滞纳金开启关闭",
  11710. "type": "boolean"
  11711. },
  11712. "late_fee_max_days": {
  11713. "description": "滞纳金封顶天数",
  11714. "type": "integer"
  11715. },
  11716. "unit_price": {
  11717. "description": "单价",
  11718. "type": "integer"
  11719. }
  11720. }
  11721. },
  11722. "v1.ChargeConfUpdateResponse": {
  11723. "type": "object",
  11724. "properties": {
  11725. "code": {
  11726. "description": "返回码",
  11727. "type": "integer",
  11728. "format": "int",
  11729. "default": 0
  11730. },
  11731. "message": {
  11732. "description": "消息",
  11733. "type": "string",
  11734. "default": "success"
  11735. }
  11736. }
  11737. },
  11738. "v1.ChargeDelBillBody": {
  11739. "type": "object",
  11740. "properties": {
  11741. "bill_id": {
  11742. "type": "integer"
  11743. },
  11744. "del_reason": {
  11745. "type": "string"
  11746. }
  11747. }
  11748. },
  11749. "v1.ChargeDelBillItem": {
  11750. "type": "object",
  11751. "properties": {
  11752. "amount": {
  11753. "type": "integer"
  11754. },
  11755. "bill_id": {
  11756. "type": "integer"
  11757. },
  11758. "charge_desc": {
  11759. "type": "string"
  11760. },
  11761. "charge_name": {
  11762. "type": "string"
  11763. },
  11764. "charge_type": {
  11765. "type": "integer"
  11766. },
  11767. "current_used": {
  11768. "type": "number"
  11769. },
  11770. "del_at": {
  11771. "type": "string"
  11772. },
  11773. "del_reason": {
  11774. "type": "string"
  11775. },
  11776. "end": {
  11777. "type": "string"
  11778. },
  11779. "household_name": {
  11780. "type": "string"
  11781. },
  11782. "household_phone": {
  11783. "type": "string"
  11784. },
  11785. "last_used": {
  11786. "type": "number"
  11787. },
  11788. "late_fee": {
  11789. "type": "integer"
  11790. },
  11791. "obj_name": {
  11792. "type": "string"
  11793. },
  11794. "obj_type": {
  11795. "type": "integer"
  11796. },
  11797. "pay_time": {
  11798. "type": "string"
  11799. },
  11800. "pay_type": {
  11801. "type": "integer"
  11802. },
  11803. "start": {
  11804. "type": "string"
  11805. }
  11806. }
  11807. },
  11808. "v1.ChargeDelBillListReply": {
  11809. "type": "object",
  11810. "properties": {
  11811. "list": {
  11812. "type": "array",
  11813. "items": {
  11814. "$ref": "#/definitions/v1.ChargeDelBillItem"
  11815. }
  11816. },
  11817. "page": {
  11818. "type": "integer"
  11819. },
  11820. "total": {
  11821. "type": "integer"
  11822. }
  11823. }
  11824. },
  11825. "v1.ChargeDelBillListResponse": {
  11826. "type": "object",
  11827. "properties": {
  11828. "code": {
  11829. "description": "返回码",
  11830. "type": "integer",
  11831. "format": "int",
  11832. "default": 0
  11833. },
  11834. "data": {
  11835. "type": "object",
  11836. "$ref": "#/definitions/v1.ChargeDelBillListReply"
  11837. },
  11838. "message": {
  11839. "description": "消息",
  11840. "type": "string",
  11841. "default": "success"
  11842. }
  11843. }
  11844. },
  11845. "v1.ChargeDelBillResponse": {
  11846. "type": "object",
  11847. "properties": {
  11848. "code": {
  11849. "description": "返回码",
  11850. "type": "integer",
  11851. "format": "int",
  11852. "default": 0
  11853. },
  11854. "message": {
  11855. "description": "消息",
  11856. "type": "string",
  11857. "default": "success"
  11858. }
  11859. }
  11860. },
  11861. "v1.ChargeGenerateBillBody": {
  11862. "type": "object",
  11863. "properties": {
  11864. "bind_id": {
  11865. "type": "integer"
  11866. },
  11867. "end": {
  11868. "type": "integer"
  11869. }
  11870. }
  11871. },
  11872. "v1.ChargeGenerateBillResponse": {
  11873. "type": "object",
  11874. "properties": {
  11875. "code": {
  11876. "description": "返回码",
  11877. "type": "integer",
  11878. "format": "int",
  11879. "default": 0
  11880. },
  11881. "message": {
  11882. "description": "消息",
  11883. "type": "string",
  11884. "default": "success"
  11885. }
  11886. }
  11887. },
  11888. "v1.ChargeHouseBindedListReply": {
  11889. "type": "object",
  11890. "properties": {
  11891. "list": {
  11892. "type": "array",
  11893. "items": {
  11894. "$ref": "#/definitions/v1.ChargeHouseData"
  11895. }
  11896. },
  11897. "page": {
  11898. "type": "integer"
  11899. },
  11900. "total": {
  11901. "type": "integer"
  11902. }
  11903. }
  11904. },
  11905. "v1.ChargeHouseBindedListResponse": {
  11906. "type": "object",
  11907. "properties": {
  11908. "code": {
  11909. "description": "返回码",
  11910. "type": "integer",
  11911. "format": "int",
  11912. "default": 0
  11913. },
  11914. "data": {
  11915. "type": "object",
  11916. "$ref": "#/definitions/v1.ChargeHouseBindedListReply"
  11917. },
  11918. "message": {
  11919. "description": "消息",
  11920. "type": "string",
  11921. "default": "success"
  11922. }
  11923. }
  11924. },
  11925. "v1.ChargeHouseData": {
  11926. "type": "object",
  11927. "properties": {
  11928. "house_area": {
  11929. "type": "number"
  11930. },
  11931. "house_id": {
  11932. "type": "integer"
  11933. },
  11934. "house_name": {
  11935. "description": "房屋号",
  11936. "type": "string"
  11937. },
  11938. "house_number": {
  11939. "description": "门牌号",
  11940. "type": "string"
  11941. },
  11942. "house_status": {
  11943. "type": "integer"
  11944. },
  11945. "house_type": {
  11946. "type": "integer"
  11947. },
  11948. "house_used_area": {
  11949. "type": "number"
  11950. },
  11951. "layer": {
  11952. "type": "integer"
  11953. },
  11954. "start": {
  11955. "type": "integer"
  11956. }
  11957. }
  11958. },
  11959. "v1.ChargeHouseGroupItem": {
  11960. "type": "object",
  11961. "properties": {
  11962. "has_unpay_bill": {
  11963. "description": "是否有欠费账单",
  11964. "type": "boolean"
  11965. },
  11966. "house_area": {
  11967. "type": "number"
  11968. },
  11969. "house_id": {
  11970. "type": "integer"
  11971. },
  11972. "house_name": {
  11973. "type": "string"
  11974. },
  11975. "house_property_bind_id": {
  11976. "description": "房屋与物业费的绑定id",
  11977. "type": "integer"
  11978. },
  11979. "house_status": {
  11980. "type": "integer"
  11981. },
  11982. "house_type": {
  11983. "type": "integer"
  11984. },
  11985. "house_used_area": {
  11986. "type": "number"
  11987. },
  11988. "layer": {
  11989. "type": "integer"
  11990. }
  11991. }
  11992. },
  11993. "v1.ChargeHouseGroupReply": {
  11994. "type": "object",
  11995. "properties": {
  11996. "list": {
  11997. "type": "array",
  11998. "items": {
  11999. "$ref": "#/definitions/v1.ChargeHouseGroupItem"
  12000. }
  12001. },
  12002. "page": {
  12003. "type": "integer"
  12004. },
  12005. "total": {
  12006. "type": "integer"
  12007. }
  12008. }
  12009. },
  12010. "v1.ChargeHouseGroupResponse": {
  12011. "type": "object",
  12012. "properties": {
  12013. "code": {
  12014. "description": "返回码",
  12015. "type": "integer",
  12016. "format": "int",
  12017. "default": 0
  12018. },
  12019. "data": {
  12020. "type": "object",
  12021. "$ref": "#/definitions/v1.ChargeHouseGroupReply"
  12022. },
  12023. "message": {
  12024. "description": "消息",
  12025. "type": "string",
  12026. "default": "success"
  12027. }
  12028. }
  12029. },
  12030. "v1.ChargeHouseNotBindListReply": {
  12031. "type": "object",
  12032. "properties": {
  12033. "list": {
  12034. "type": "array",
  12035. "items": {
  12036. "$ref": "#/definitions/v1.ChargeHouseData"
  12037. }
  12038. },
  12039. "page": {
  12040. "type": "integer"
  12041. },
  12042. "total": {
  12043. "type": "integer"
  12044. }
  12045. }
  12046. },
  12047. "v1.ChargeHouseNotBindListResponse": {
  12048. "type": "object",
  12049. "properties": {
  12050. "code": {
  12051. "description": "返回码",
  12052. "type": "integer",
  12053. "format": "int",
  12054. "default": 0
  12055. },
  12056. "data": {
  12057. "type": "object",
  12058. "$ref": "#/definitions/v1.ChargeHouseNotBindListReply"
  12059. },
  12060. "message": {
  12061. "description": "消息",
  12062. "type": "string",
  12063. "default": "success"
  12064. }
  12065. }
  12066. },
  12067. "v1.ChargeItem": {
  12068. "type": "object",
  12069. "properties": {
  12070. "bind_id": {
  12071. "type": "integer"
  12072. },
  12073. "charge_name": {
  12074. "type": "string"
  12075. },
  12076. "charge_time_type": {
  12077. "type": "integer"
  12078. },
  12079. "charge_type": {
  12080. "type": "integer"
  12081. },
  12082. "created_at": {
  12083. "type": "string"
  12084. },
  12085. "desc": {
  12086. "type": "string"
  12087. },
  12088. "end": {
  12089. "type": "string"
  12090. },
  12091. "has_bill": {
  12092. "type": "boolean"
  12093. },
  12094. "start": {
  12095. "type": "string"
  12096. },
  12097. "status": {
  12098. "type": "string"
  12099. }
  12100. }
  12101. },
  12102. "v1.ChargeListReply": {
  12103. "type": "object",
  12104. "properties": {
  12105. "list": {
  12106. "type": "array",
  12107. "items": {
  12108. "$ref": "#/definitions/v1.ChargeItem"
  12109. }
  12110. },
  12111. "page": {
  12112. "type": "integer"
  12113. },
  12114. "total": {
  12115. "type": "integer"
  12116. }
  12117. }
  12118. },
  12119. "v1.ChargeListResponse": {
  12120. "type": "object",
  12121. "properties": {
  12122. "code": {
  12123. "description": "返回码",
  12124. "type": "integer",
  12125. "format": "int",
  12126. "default": 0
  12127. },
  12128. "data": {
  12129. "type": "object",
  12130. "$ref": "#/definitions/v1.ChargeListReply"
  12131. },
  12132. "message": {
  12133. "description": "消息",
  12134. "type": "string",
  12135. "default": "success"
  12136. }
  12137. }
  12138. },
  12139. "v1.ChargeObjBillListReply": {
  12140. "type": "object",
  12141. "properties": {
  12142. "list": {
  12143. "type": "array",
  12144. "items": {
  12145. "$ref": "#/definitions/v1.ChargeBillItem"
  12146. }
  12147. },
  12148. "page": {
  12149. "type": "integer"
  12150. },
  12151. "total": {
  12152. "type": "integer"
  12153. }
  12154. }
  12155. },
  12156. "v1.ChargeObjBillListResponse": {
  12157. "type": "object",
  12158. "properties": {
  12159. "code": {
  12160. "description": "返回码",
  12161. "type": "integer",
  12162. "format": "int",
  12163. "default": 0
  12164. },
  12165. "data": {
  12166. "type": "object",
  12167. "$ref": "#/definitions/v1.ChargeObjBillListReply"
  12168. },
  12169. "message": {
  12170. "description": "消息",
  12171. "type": "string",
  12172. "default": "success"
  12173. }
  12174. }
  12175. },
  12176. "v1.ChargeOrderBillItem": {
  12177. "type": "object",
  12178. "properties": {
  12179. "amount": {
  12180. "type": "integer"
  12181. },
  12182. "bill_id": {
  12183. "type": "integer"
  12184. },
  12185. "charge_desc": {
  12186. "type": "string"
  12187. },
  12188. "charge_name": {
  12189. "type": "string"
  12190. },
  12191. "charge_type": {
  12192. "type": "integer"
  12193. },
  12194. "current_used": {
  12195. "type": "number"
  12196. },
  12197. "end": {
  12198. "type": "string"
  12199. },
  12200. "last_used": {
  12201. "type": "number"
  12202. },
  12203. "late_fee": {
  12204. "type": "integer"
  12205. },
  12206. "obj_name": {
  12207. "type": "string"
  12208. },
  12209. "start": {
  12210. "type": "string"
  12211. }
  12212. }
  12213. },
  12214. "v1.ChargeOrderInfoReply": {
  12215. "type": "object",
  12216. "properties": {
  12217. "list": {
  12218. "type": "array",
  12219. "items": {
  12220. "$ref": "#/definitions/v1.ChargeOrderBillItem"
  12221. }
  12222. }
  12223. }
  12224. },
  12225. "v1.ChargeOrderInfoResponse": {
  12226. "type": "object",
  12227. "properties": {
  12228. "code": {
  12229. "description": "返回码",
  12230. "type": "integer",
  12231. "format": "int",
  12232. "default": 0
  12233. },
  12234. "data": {
  12235. "type": "object",
  12236. "$ref": "#/definitions/v1.ChargeOrderInfoReply"
  12237. },
  12238. "message": {
  12239. "description": "消息",
  12240. "type": "string",
  12241. "default": "success"
  12242. }
  12243. }
  12244. },
  12245. "v1.ChargeOrderItem": {
  12246. "type": "object",
  12247. "properties": {
  12248. "comment": {
  12249. "type": "string"
  12250. },
  12251. "obj_name": {
  12252. "type": "string"
  12253. },
  12254. "order_id": {
  12255. "type": "string"
  12256. },
  12257. "pay_amount": {
  12258. "type": "integer"
  12259. },
  12260. "pay_time": {
  12261. "type": "string"
  12262. },
  12263. "pay_type": {
  12264. "type": "integer"
  12265. },
  12266. "paying_desc": {
  12267. "type": "string"
  12268. },
  12269. "should_pay_amount": {
  12270. "type": "integer"
  12271. },
  12272. "status": {
  12273. "description": "1 待支付 2 已支付",
  12274. "type": "integer"
  12275. },
  12276. "transaction_id": {
  12277. "type": "string"
  12278. }
  12279. }
  12280. },
  12281. "v1.ChargeOrderListReply": {
  12282. "type": "object",
  12283. "properties": {
  12284. "list": {
  12285. "type": "array",
  12286. "items": {
  12287. "$ref": "#/definitions/v1.ChargeOrderItem"
  12288. }
  12289. },
  12290. "page": {
  12291. "type": "integer"
  12292. },
  12293. "total": {
  12294. "type": "integer"
  12295. }
  12296. }
  12297. },
  12298. "v1.ChargeOrderListResponse": {
  12299. "type": "object",
  12300. "properties": {
  12301. "code": {
  12302. "description": "返回码",
  12303. "type": "integer",
  12304. "format": "int",
  12305. "default": 0
  12306. },
  12307. "data": {
  12308. "type": "object",
  12309. "$ref": "#/definitions/v1.ChargeOrderListReply"
  12310. },
  12311. "message": {
  12312. "description": "消息",
  12313. "type": "string",
  12314. "default": "success"
  12315. }
  12316. }
  12317. },
  12318. "v1.ChargeOrderPayBody": {
  12319. "type": "object",
  12320. "properties": {
  12321. "order_id": {
  12322. "type": "string"
  12323. }
  12324. }
  12325. },
  12326. "v1.ChargeOrderPayResponse": {
  12327. "type": "object",
  12328. "properties": {
  12329. "code": {
  12330. "description": "返回码",
  12331. "type": "integer",
  12332. "format": "int",
  12333. "default": 0
  12334. },
  12335. "message": {
  12336. "description": "消息",
  12337. "type": "string",
  12338. "default": "success"
  12339. }
  12340. }
  12341. },
  12342. "v1.ChargeOrderTicketItem": {
  12343. "type": "object",
  12344. "properties": {
  12345. "amount": {
  12346. "description": "金额 不包含滞纳金",
  12347. "type": "integer"
  12348. },
  12349. "area_used": {
  12350. "description": "面积/用量",
  12351. "type": "number"
  12352. },
  12353. "charge_name": {
  12354. "description": "费用名称",
  12355. "type": "string"
  12356. },
  12357. "charge_type": {
  12358. "description": "费用类型",
  12359. "type": "integer"
  12360. },
  12361. "custom_fee": {
  12362. "description": "自定义费用",
  12363. "type": "integer"
  12364. },
  12365. "end": {
  12366. "type": "string"
  12367. },
  12368. "fix_amount": {
  12369. "description": "固定费用",
  12370. "type": "integer"
  12371. },
  12372. "late_fee": {
  12373. "description": "滞纳金",
  12374. "type": "integer"
  12375. },
  12376. "obj_name": {
  12377. "description": "房屋/车位/车辆",
  12378. "type": "string"
  12379. },
  12380. "obj_type": {
  12381. "description": "1 房屋 2 车位 3 车辆",
  12382. "type": "integer"
  12383. },
  12384. "pay_time": {
  12385. "description": "支付时间",
  12386. "type": "string"
  12387. },
  12388. "start": {
  12389. "description": "收费范围",
  12390. "type": "string"
  12391. },
  12392. "unit_price": {
  12393. "description": "单价",
  12394. "type": "integer"
  12395. }
  12396. }
  12397. },
  12398. "v1.ChargeOrderTicketReply": {
  12399. "type": "object",
  12400. "properties": {
  12401. "comment": {
  12402. "description": "备注",
  12403. "type": "string"
  12404. },
  12405. "list": {
  12406. "description": "账单小票条目",
  12407. "type": "array",
  12408. "items": {
  12409. "$ref": "#/definitions/v1.ChargeOrderTicketItem"
  12410. }
  12411. },
  12412. "should_pay_amount": {
  12413. "description": "应付总金额 包含滞纳金",
  12414. "type": "integer"
  12415. }
  12416. }
  12417. },
  12418. "v1.ChargeOrderTicketResponse": {
  12419. "type": "object",
  12420. "properties": {
  12421. "code": {
  12422. "description": "返回码",
  12423. "type": "integer",
  12424. "format": "int",
  12425. "default": 0
  12426. },
  12427. "data": {
  12428. "type": "object",
  12429. "$ref": "#/definitions/v1.ChargeOrderTicketReply"
  12430. },
  12431. "message": {
  12432. "description": "消息",
  12433. "type": "string",
  12434. "default": "success"
  12435. }
  12436. }
  12437. },
  12438. "v1.ChargePayedBillItem": {
  12439. "type": "object",
  12440. "properties": {
  12441. "amount": {
  12442. "type": "integer"
  12443. },
  12444. "bill_id": {
  12445. "type": "integer"
  12446. },
  12447. "charge_desc": {
  12448. "type": "string"
  12449. },
  12450. "charge_name": {
  12451. "type": "string"
  12452. },
  12453. "charge_type": {
  12454. "type": "integer"
  12455. },
  12456. "current_used": {
  12457. "type": "number"
  12458. },
  12459. "end": {
  12460. "type": "string"
  12461. },
  12462. "last_used": {
  12463. "type": "number"
  12464. },
  12465. "late_fee": {
  12466. "type": "integer"
  12467. },
  12468. "obj_name": {
  12469. "type": "string"
  12470. },
  12471. "obj_type": {
  12472. "type": "integer"
  12473. },
  12474. "pay_time": {
  12475. "type": "string"
  12476. },
  12477. "pay_type": {
  12478. "type": "integer"
  12479. },
  12480. "start": {
  12481. "type": "string"
  12482. }
  12483. }
  12484. },
  12485. "v1.ChargePayedBillListReply": {
  12486. "type": "object",
  12487. "properties": {
  12488. "list": {
  12489. "type": "array",
  12490. "items": {
  12491. "$ref": "#/definitions/v1.ChargePayedBillItem"
  12492. }
  12493. },
  12494. "page": {
  12495. "type": "integer"
  12496. },
  12497. "total": {
  12498. "type": "integer"
  12499. }
  12500. }
  12501. },
  12502. "v1.ChargePayedBillListResponse": {
  12503. "type": "object",
  12504. "properties": {
  12505. "code": {
  12506. "description": "返回码",
  12507. "type": "integer",
  12508. "format": "int",
  12509. "default": 0
  12510. },
  12511. "data": {
  12512. "type": "object",
  12513. "$ref": "#/definitions/v1.ChargePayedBillListReply"
  12514. },
  12515. "message": {
  12516. "description": "消息",
  12517. "type": "string",
  12518. "default": "success"
  12519. }
  12520. }
  12521. },
  12522. "v1.ChargePrePayBody": {
  12523. "type": "object",
  12524. "properties": {
  12525. "bind_id": {
  12526. "type": "integer"
  12527. },
  12528. "comment": {
  12529. "description": "备注",
  12530. "type": "string"
  12531. },
  12532. "months": {
  12533. "type": "integer"
  12534. },
  12535. "pay_amount": {
  12536. "description": "实缴金额",
  12537. "type": "integer"
  12538. },
  12539. "pay_type": {
  12540. "description": "1 现金 2 微信 3 支付宝 4 pos 5 转账",
  12541. "type": "integer"
  12542. },
  12543. "should_pay_amount": {
  12544. "description": "应缴金额",
  12545. "type": "integer"
  12546. }
  12547. }
  12548. },
  12549. "v1.ChargePrePayInfoReply": {
  12550. "type": "object",
  12551. "properties": {
  12552. "charge_desc": {
  12553. "type": "string"
  12554. },
  12555. "charge_name": {
  12556. "type": "string"
  12557. },
  12558. "charge_type": {
  12559. "type": "integer"
  12560. },
  12561. "should_pay_amount": {
  12562. "type": "integer"
  12563. }
  12564. }
  12565. },
  12566. "v1.ChargePrePayInfoResponse": {
  12567. "type": "object",
  12568. "properties": {
  12569. "code": {
  12570. "description": "返回码",
  12571. "type": "integer",
  12572. "format": "int",
  12573. "default": 0
  12574. },
  12575. "data": {
  12576. "type": "object",
  12577. "$ref": "#/definitions/v1.ChargePrePayInfoReply"
  12578. },
  12579. "message": {
  12580. "description": "消息",
  12581. "type": "string",
  12582. "default": "success"
  12583. }
  12584. }
  12585. },
  12586. "v1.ChargePrePayReply": {
  12587. "type": "object",
  12588. "properties": {
  12589. "order_id": {
  12590. "type": "string"
  12591. }
  12592. }
  12593. },
  12594. "v1.ChargePrePayResponse": {
  12595. "type": "object",
  12596. "properties": {
  12597. "code": {
  12598. "description": "返回码",
  12599. "type": "integer",
  12600. "format": "int",
  12601. "default": 0
  12602. },
  12603. "data": {
  12604. "type": "object",
  12605. "$ref": "#/definitions/v1.ChargePrePayReply"
  12606. },
  12607. "message": {
  12608. "description": "消息",
  12609. "type": "string",
  12610. "default": "success"
  12611. }
  12612. }
  12613. },
  12614. "v1.ChargeRecoverBillBody": {
  12615. "type": "object",
  12616. "properties": {
  12617. "bill_id": {
  12618. "type": "integer"
  12619. }
  12620. }
  12621. },
  12622. "v1.ChargeRecoverBillResponse": {
  12623. "type": "object",
  12624. "properties": {
  12625. "code": {
  12626. "description": "返回码",
  12627. "type": "integer",
  12628. "format": "int",
  12629. "default": 0
  12630. },
  12631. "message": {
  12632. "description": "消息",
  12633. "type": "string",
  12634. "default": "success"
  12635. }
  12636. }
  12637. },
  12638. "v1.ChargeSpaceBindedListReply": {
  12639. "type": "object",
  12640. "properties": {
  12641. "list": {
  12642. "type": "array",
  12643. "items": {
  12644. "$ref": "#/definitions/v1.ChargeSpaceData"
  12645. }
  12646. },
  12647. "page": {
  12648. "type": "integer"
  12649. },
  12650. "total": {
  12651. "type": "integer"
  12652. }
  12653. }
  12654. },
  12655. "v1.ChargeSpaceBindedListResponse": {
  12656. "type": "object",
  12657. "properties": {
  12658. "code": {
  12659. "description": "返回码",
  12660. "type": "integer",
  12661. "format": "int",
  12662. "default": 0
  12663. },
  12664. "data": {
  12665. "type": "object",
  12666. "$ref": "#/definitions/v1.ChargeSpaceBindedListReply"
  12667. },
  12668. "message": {
  12669. "description": "消息",
  12670. "type": "string",
  12671. "default": "success"
  12672. }
  12673. }
  12674. },
  12675. "v1.ChargeSpaceData": {
  12676. "type": "object",
  12677. "properties": {
  12678. "park_name": {
  12679. "type": "string"
  12680. },
  12681. "park_number": {
  12682. "type": "string"
  12683. },
  12684. "space_area": {
  12685. "type": "number"
  12686. },
  12687. "space_id": {
  12688. "type": "integer"
  12689. },
  12690. "space_number": {
  12691. "type": "string"
  12692. },
  12693. "space_status": {
  12694. "type": "integer"
  12695. },
  12696. "space_type": {
  12697. "type": "integer"
  12698. },
  12699. "start": {
  12700. "type": "integer"
  12701. }
  12702. }
  12703. },
  12704. "v1.ChargeSpaceGroupItem": {
  12705. "type": "object",
  12706. "properties": {
  12707. "has_unpay_bill": {
  12708. "description": "是否有欠费账单",
  12709. "type": "boolean"
  12710. },
  12711. "park_name": {
  12712. "type": "string"
  12713. },
  12714. "park_number": {
  12715. "type": "string"
  12716. },
  12717. "space_area": {
  12718. "type": "number"
  12719. },
  12720. "space_bind_id": {
  12721. "description": "车位与费用的绑定id",
  12722. "type": "integer"
  12723. },
  12724. "space_id": {
  12725. "type": "integer"
  12726. },
  12727. "space_number": {
  12728. "type": "string"
  12729. },
  12730. "space_status": {
  12731. "type": "integer"
  12732. },
  12733. "space_type": {
  12734. "type": "integer"
  12735. }
  12736. }
  12737. },
  12738. "v1.ChargeSpaceGroupReply": {
  12739. "type": "object",
  12740. "properties": {
  12741. "list": {
  12742. "type": "array",
  12743. "items": {
  12744. "$ref": "#/definitions/v1.ChargeSpaceGroupItem"
  12745. }
  12746. },
  12747. "page": {
  12748. "type": "integer"
  12749. },
  12750. "total": {
  12751. "type": "integer"
  12752. }
  12753. }
  12754. },
  12755. "v1.ChargeSpaceGroupResponse": {
  12756. "type": "object",
  12757. "properties": {
  12758. "code": {
  12759. "description": "返回码",
  12760. "type": "integer",
  12761. "format": "int",
  12762. "default": 0
  12763. },
  12764. "data": {
  12765. "type": "object",
  12766. "$ref": "#/definitions/v1.ChargeSpaceGroupReply"
  12767. },
  12768. "message": {
  12769. "description": "消息",
  12770. "type": "string",
  12771. "default": "success"
  12772. }
  12773. }
  12774. },
  12775. "v1.ChargeSpaceNotBindListReply": {
  12776. "type": "object",
  12777. "properties": {
  12778. "list": {
  12779. "type": "array",
  12780. "items": {
  12781. "$ref": "#/definitions/v1.ChargeSpaceData"
  12782. }
  12783. },
  12784. "page": {
  12785. "type": "integer"
  12786. },
  12787. "total": {
  12788. "type": "integer"
  12789. }
  12790. }
  12791. },
  12792. "v1.ChargeSpaceNotBindListResponse": {
  12793. "type": "object",
  12794. "properties": {
  12795. "code": {
  12796. "description": "返回码",
  12797. "type": "integer",
  12798. "format": "int",
  12799. "default": 0
  12800. },
  12801. "data": {
  12802. "type": "object",
  12803. "$ref": "#/definitions/v1.ChargeSpaceNotBindListReply"
  12804. },
  12805. "message": {
  12806. "description": "消息",
  12807. "type": "string",
  12808. "default": "success"
  12809. }
  12810. }
  12811. },
  12812. "v1.ChargeTimeSetBody": {
  12813. "type": "object",
  12814. "properties": {
  12815. "bind_id": {
  12816. "type": "integer"
  12817. },
  12818. "end": {
  12819. "description": "仅车辆费用可以设结束时间",
  12820. "type": "integer"
  12821. },
  12822. "start": {
  12823. "type": "integer"
  12824. }
  12825. }
  12826. },
  12827. "v1.ChargeTimeSetResponse": {
  12828. "type": "object",
  12829. "properties": {
  12830. "code": {
  12831. "description": "返回码",
  12832. "type": "integer",
  12833. "format": "int",
  12834. "default": 0
  12835. },
  12836. "message": {
  12837. "description": "消息",
  12838. "type": "string",
  12839. "default": "success"
  12840. }
  12841. }
  12842. },
  12843. "v1.ChargeUnbindBody": {
  12844. "type": "object",
  12845. "properties": {
  12846. "charge_id": {
  12847. "type": "integer"
  12848. },
  12849. "obj_id": {
  12850. "type": "integer"
  12851. }
  12852. }
  12853. },
  12854. "v1.ChargeUnbindResponse": {
  12855. "type": "object",
  12856. "properties": {
  12857. "code": {
  12858. "description": "返回码",
  12859. "type": "integer",
  12860. "format": "int",
  12861. "default": 0
  12862. },
  12863. "message": {
  12864. "description": "消息",
  12865. "type": "string",
  12866. "default": "success"
  12867. }
  12868. }
  12869. },
  12870. "v1.ChargeUnpayItem": {
  12871. "type": "object",
  12872. "properties": {
  12873. "bill_count": {
  12874. "type": "integer"
  12875. },
  12876. "bind_id": {
  12877. "type": "integer"
  12878. },
  12879. "charge_name": {
  12880. "type": "string"
  12881. },
  12882. "charge_time_type": {
  12883. "type": "integer"
  12884. },
  12885. "charge_type": {
  12886. "type": "integer"
  12887. },
  12888. "unpay_amount": {
  12889. "type": "integer"
  12890. }
  12891. }
  12892. },
  12893. "v1.ChargeUnpayListReply": {
  12894. "type": "object",
  12895. "properties": {
  12896. "list": {
  12897. "type": "array",
  12898. "items": {
  12899. "$ref": "#/definitions/v1.ChargeUnpayItem"
  12900. }
  12901. },
  12902. "page": {
  12903. "type": "integer"
  12904. },
  12905. "total": {
  12906. "type": "integer"
  12907. }
  12908. }
  12909. },
  12910. "v1.ChargeUnpayListResponse": {
  12911. "type": "object",
  12912. "properties": {
  12913. "code": {
  12914. "description": "返回码",
  12915. "type": "integer",
  12916. "format": "int",
  12917. "default": 0
  12918. },
  12919. "data": {
  12920. "type": "object",
  12921. "$ref": "#/definitions/v1.ChargeUnpayListReply"
  12922. },
  12923. "message": {
  12924. "description": "消息",
  12925. "type": "string",
  12926. "default": "success"
  12927. }
  12928. }
  12929. },
  12930. "v1.ChargeUrgeBody": {
  12931. "type": "object",
  12932. "properties": {
  12933. "obj_id": {
  12934. "type": "integer"
  12935. },
  12936. "obj_type": {
  12937. "type": "integer"
  12938. }
  12939. }
  12940. },
  12941. "v1.ChargeUrgeInfoReply": {
  12942. "type": "object",
  12943. "properties": {
  12944. "id": {
  12945. "type": "integer"
  12946. },
  12947. "urge_day": {
  12948. "type": "integer"
  12949. },
  12950. "urge_msg_type": {
  12951. "type": "integer"
  12952. },
  12953. "urge_target": {
  12954. "type": "integer"
  12955. }
  12956. }
  12957. },
  12958. "v1.ChargeUrgeInfoResponse": {
  12959. "type": "object",
  12960. "properties": {
  12961. "code": {
  12962. "description": "返回码",
  12963. "type": "integer",
  12964. "format": "int",
  12965. "default": 0
  12966. },
  12967. "data": {
  12968. "type": "object",
  12969. "$ref": "#/definitions/v1.ChargeUrgeInfoReply"
  12970. },
  12971. "message": {
  12972. "description": "消息",
  12973. "type": "string",
  12974. "default": "success"
  12975. }
  12976. }
  12977. },
  12978. "v1.ChargeUrgeResponse": {
  12979. "type": "object",
  12980. "properties": {
  12981. "code": {
  12982. "description": "返回码",
  12983. "type": "integer",
  12984. "format": "int",
  12985. "default": 0
  12986. },
  12987. "message": {
  12988. "description": "消息",
  12989. "type": "string",
  12990. "default": "success"
  12991. }
  12992. }
  12993. },
  12994. "v1.ChargeUrgeSetBody": {
  12995. "type": "object",
  12996. "properties": {
  12997. "id": {
  12998. "description": "催缴信息返回的id为0时填0",
  12999. "type": "integer"
  13000. },
  13001. "urge_day": {
  13002. "type": "integer"
  13003. },
  13004. "urge_msg_type": {
  13005. "description": "1 仅短信 2 仅微信 3 短信和微信",
  13006. "type": "integer"
  13007. },
  13008. "urge_target": {
  13009. "description": "1 仅业主 2 业主和家人 3 业主家人租客",
  13010. "type": "integer"
  13011. }
  13012. }
  13013. },
  13014. "v1.ChargeUrgeSetResponse": {
  13015. "type": "object",
  13016. "properties": {
  13017. "code": {
  13018. "description": "返回码",
  13019. "type": "integer",
  13020. "format": "int",
  13021. "default": 0
  13022. },
  13023. "message": {
  13024. "description": "消息",
  13025. "type": "string",
  13026. "default": "success"
  13027. }
  13028. }
  13029. },
  13030. "v1.ChargeVehicleBindedListReply": {
  13031. "type": "object",
  13032. "properties": {
  13033. "list": {
  13034. "type": "array",
  13035. "items": {
  13036. "$ref": "#/definitions/v1.ChargeVehicleData"
  13037. }
  13038. },
  13039. "page": {
  13040. "type": "integer"
  13041. },
  13042. "total": {
  13043. "type": "integer"
  13044. }
  13045. }
  13046. },
  13047. "v1.ChargeVehicleBindedListResponse": {
  13048. "type": "object",
  13049. "properties": {
  13050. "code": {
  13051. "description": "返回码",
  13052. "type": "integer",
  13053. "format": "int",
  13054. "default": 0
  13055. },
  13056. "data": {
  13057. "type": "object",
  13058. "$ref": "#/definitions/v1.ChargeVehicleBindedListReply"
  13059. },
  13060. "message": {
  13061. "description": "消息",
  13062. "type": "string",
  13063. "default": "success"
  13064. }
  13065. }
  13066. },
  13067. "v1.ChargeVehicleData": {
  13068. "type": "object",
  13069. "properties": {
  13070. "brand": {
  13071. "type": "string"
  13072. },
  13073. "custom_fee": {
  13074. "type": "integer"
  13075. },
  13076. "displacement": {
  13077. "type": "string"
  13078. },
  13079. "end": {
  13080. "type": "integer"
  13081. },
  13082. "is_custom": {
  13083. "type": "boolean"
  13084. },
  13085. "plate_no": {
  13086. "type": "string"
  13087. },
  13088. "seat": {
  13089. "type": "integer"
  13090. },
  13091. "start": {
  13092. "type": "integer"
  13093. },
  13094. "vehicle_id": {
  13095. "type": "integer"
  13096. },
  13097. "vehicle_type": {
  13098. "type": "integer"
  13099. }
  13100. }
  13101. },
  13102. "v1.ChargeVehicleGroupItem": {
  13103. "type": "object",
  13104. "properties": {
  13105. "brand": {
  13106. "type": "string"
  13107. },
  13108. "displacement": {
  13109. "type": "string"
  13110. },
  13111. "plate_no": {
  13112. "type": "string"
  13113. },
  13114. "seat": {
  13115. "type": "integer"
  13116. },
  13117. "vehicle_id": {
  13118. "type": "integer"
  13119. },
  13120. "vehicle_type": {
  13121. "type": "integer"
  13122. }
  13123. }
  13124. },
  13125. "v1.ChargeVehicleGroupReply": {
  13126. "type": "object",
  13127. "properties": {
  13128. "list": {
  13129. "type": "array",
  13130. "items": {
  13131. "$ref": "#/definitions/v1.ChargeVehicleGroupItem"
  13132. }
  13133. },
  13134. "page": {
  13135. "type": "integer"
  13136. },
  13137. "total": {
  13138. "type": "integer"
  13139. }
  13140. }
  13141. },
  13142. "v1.ChargeVehicleGroupResponse": {
  13143. "type": "object",
  13144. "properties": {
  13145. "code": {
  13146. "description": "返回码",
  13147. "type": "integer",
  13148. "format": "int",
  13149. "default": 0
  13150. },
  13151. "data": {
  13152. "type": "object",
  13153. "$ref": "#/definitions/v1.ChargeVehicleGroupReply"
  13154. },
  13155. "message": {
  13156. "description": "消息",
  13157. "type": "string",
  13158. "default": "success"
  13159. }
  13160. }
  13161. },
  13162. "v1.ChargeVehicleNotBindListReply": {
  13163. "type": "object",
  13164. "properties": {
  13165. "list": {
  13166. "type": "array",
  13167. "items": {
  13168. "$ref": "#/definitions/v1.ChargeVehicleData"
  13169. }
  13170. },
  13171. "page": {
  13172. "type": "integer"
  13173. },
  13174. "total": {
  13175. "type": "integer"
  13176. }
  13177. }
  13178. },
  13179. "v1.ChargeVehicleNotBindListResponse": {
  13180. "type": "object",
  13181. "properties": {
  13182. "code": {
  13183. "description": "返回码",
  13184. "type": "integer",
  13185. "format": "int",
  13186. "default": 0
  13187. },
  13188. "data": {
  13189. "type": "object",
  13190. "$ref": "#/definitions/v1.ChargeVehicleNotBindListReply"
  13191. },
  13192. "message": {
  13193. "description": "消息",
  13194. "type": "string",
  13195. "default": "success"
  13196. }
  13197. }
  13198. },
  13199. "v1.ChooseUserResponse": {
  13200. "type": "object",
  13201. "properties": {
  13202. "code": {
  13203. "description": "返回码",
  13204. "type": "integer",
  13205. "format": "int",
  13206. "default": 0
  13207. },
  13208. "data": {
  13209. "type": "object",
  13210. "$ref": "#/definitions/v1.LoginData"
  13211. },
  13212. "message": {
  13213. "description": "消息",
  13214. "type": "string",
  13215. "default": "success"
  13216. }
  13217. }
  13218. },
  13219. "v1.CompanyEnterGardenResponse": {
  13220. "type": "object",
  13221. "properties": {
  13222. "code": {
  13223. "description": "返回码",
  13224. "type": "integer",
  13225. "format": "int",
  13226. "default": 0
  13227. },
  13228. "data": {
  13229. "type": "object",
  13230. "$ref": "#/definitions/v1.LoginData"
  13231. },
  13232. "message": {
  13233. "description": "消息",
  13234. "type": "string",
  13235. "default": "success"
  13236. }
  13237. }
  13238. },
  13239. "v1.DepartmentAddBody": {
  13240. "type": "object",
  13241. "properties": {
  13242. "department_name": {
  13243. "type": "string"
  13244. },
  13245. "desc": {
  13246. "type": "string"
  13247. }
  13248. }
  13249. },
  13250. "v1.DepartmentAddReply": {
  13251. "type": "object",
  13252. "properties": {
  13253. "id": {
  13254. "type": "integer"
  13255. }
  13256. }
  13257. },
  13258. "v1.DepartmentAddResponse": {
  13259. "type": "object",
  13260. "properties": {
  13261. "code": {
  13262. "description": "返回码",
  13263. "type": "integer",
  13264. "format": "int",
  13265. "default": 0
  13266. },
  13267. "data": {
  13268. "type": "object",
  13269. "$ref": "#/definitions/v1.DepartmentAddReply"
  13270. },
  13271. "message": {
  13272. "description": "消息",
  13273. "type": "string",
  13274. "default": "success"
  13275. }
  13276. }
  13277. },
  13278. "v1.DepartmentDelResponse": {
  13279. "type": "object",
  13280. "properties": {
  13281. "code": {
  13282. "description": "返回码",
  13283. "type": "integer",
  13284. "format": "int",
  13285. "default": 0
  13286. },
  13287. "message": {
  13288. "description": "消息",
  13289. "type": "string",
  13290. "default": "success"
  13291. }
  13292. }
  13293. },
  13294. "v1.DepartmentItem": {
  13295. "type": "object",
  13296. "properties": {
  13297. "created_at": {
  13298. "type": "string"
  13299. },
  13300. "department_name": {
  13301. "type": "string"
  13302. },
  13303. "desc": {
  13304. "type": "string"
  13305. },
  13306. "id": {
  13307. "type": "integer"
  13308. }
  13309. }
  13310. },
  13311. "v1.DepartmentListReply": {
  13312. "type": "object",
  13313. "properties": {
  13314. "list": {
  13315. "type": "array",
  13316. "items": {
  13317. "$ref": "#/definitions/v1.DepartmentItem"
  13318. }
  13319. },
  13320. "page": {
  13321. "type": "integer"
  13322. },
  13323. "total": {
  13324. "type": "integer"
  13325. }
  13326. }
  13327. },
  13328. "v1.DepartmentListResponse": {
  13329. "type": "object",
  13330. "properties": {
  13331. "code": {
  13332. "description": "返回码",
  13333. "type": "integer",
  13334. "format": "int",
  13335. "default": 0
  13336. },
  13337. "data": {
  13338. "type": "object",
  13339. "$ref": "#/definitions/v1.DepartmentListReply"
  13340. },
  13341. "message": {
  13342. "description": "消息",
  13343. "type": "string",
  13344. "default": "success"
  13345. }
  13346. }
  13347. },
  13348. "v1.DepartmentUpdateBody": {
  13349. "type": "object",
  13350. "properties": {
  13351. "department_name": {
  13352. "type": "string"
  13353. },
  13354. "desc": {
  13355. "type": "string"
  13356. },
  13357. "id": {
  13358. "type": "integer"
  13359. }
  13360. }
  13361. },
  13362. "v1.DepartmentUpdateResponse": {
  13363. "type": "object",
  13364. "properties": {
  13365. "code": {
  13366. "description": "返回码",
  13367. "type": "integer",
  13368. "format": "int",
  13369. "default": 0
  13370. },
  13371. "message": {
  13372. "description": "消息",
  13373. "type": "string",
  13374. "default": "success"
  13375. }
  13376. }
  13377. },
  13378. "v1.EventAddBody": {
  13379. "type": "object",
  13380. "properties": {
  13381. "addr": {
  13382. "description": "活动地址",
  13383. "type": "string"
  13384. },
  13385. "content": {
  13386. "description": "内容",
  13387. "type": "string"
  13388. },
  13389. "end": {
  13390. "description": "活动结束时间",
  13391. "type": "integer"
  13392. },
  13393. "fee": {
  13394. "description": "报名费用",
  13395. "type": "integer"
  13396. },
  13397. "people_limit": {
  13398. "description": "人数限制",
  13399. "type": "integer"
  13400. },
  13401. "pic": {
  13402. "description": "图片",
  13403. "type": "array",
  13404. "items": {
  13405. "type": "string"
  13406. }
  13407. },
  13408. "sign_up_end": {
  13409. "description": "报名截止时间",
  13410. "type": "integer"
  13411. },
  13412. "start": {
  13413. "description": "活动开始时间",
  13414. "type": "integer"
  13415. },
  13416. "title": {
  13417. "type": "string"
  13418. }
  13419. }
  13420. },
  13421. "v1.EventAddReply": {
  13422. "type": "object",
  13423. "properties": {
  13424. "id": {
  13425. "type": "integer"
  13426. }
  13427. }
  13428. },
  13429. "v1.EventAddResponse": {
  13430. "type": "object",
  13431. "properties": {
  13432. "code": {
  13433. "description": "返回码",
  13434. "type": "integer",
  13435. "format": "int",
  13436. "default": 0
  13437. },
  13438. "data": {
  13439. "type": "object",
  13440. "$ref": "#/definitions/v1.EventAddReply"
  13441. },
  13442. "message": {
  13443. "description": "消息",
  13444. "type": "string",
  13445. "default": "success"
  13446. }
  13447. }
  13448. },
  13449. "v1.EventDelResponse": {
  13450. "type": "object",
  13451. "properties": {
  13452. "code": {
  13453. "description": "返回码",
  13454. "type": "integer",
  13455. "format": "int",
  13456. "default": 0
  13457. },
  13458. "message": {
  13459. "description": "消息",
  13460. "type": "string",
  13461. "default": "success"
  13462. }
  13463. }
  13464. },
  13465. "v1.EventItem": {
  13466. "type": "object",
  13467. "properties": {
  13468. "addr": {
  13469. "description": "活动地址",
  13470. "type": "string"
  13471. },
  13472. "content": {
  13473. "description": "内容",
  13474. "type": "string"
  13475. },
  13476. "created_at": {
  13477. "type": "string"
  13478. },
  13479. "end": {
  13480. "description": "活动结束时间",
  13481. "type": "integer"
  13482. },
  13483. "fee": {
  13484. "description": "报名费用",
  13485. "type": "integer"
  13486. },
  13487. "id": {
  13488. "type": "integer"
  13489. },
  13490. "people_count": {
  13491. "description": "已报名人数",
  13492. "type": "integer"
  13493. },
  13494. "people_limit": {
  13495. "description": "人数限制",
  13496. "type": "integer"
  13497. },
  13498. "pic": {
  13499. "description": "图片",
  13500. "type": "array",
  13501. "items": {
  13502. "type": "string"
  13503. }
  13504. },
  13505. "sign": {
  13506. "description": "物业端不管该字段,小程序查询时该字段有效 是否报名",
  13507. "type": "boolean"
  13508. },
  13509. "sign_up_end": {
  13510. "description": "报名截止时间",
  13511. "type": "integer"
  13512. },
  13513. "start": {
  13514. "description": "活动开始时间",
  13515. "type": "integer"
  13516. },
  13517. "status": {
  13518. "description": "1 报名进行中 2 报名已截止",
  13519. "type": "integer"
  13520. },
  13521. "title": {
  13522. "description": "标题",
  13523. "type": "string"
  13524. }
  13525. }
  13526. },
  13527. "v1.EventListReply": {
  13528. "type": "object",
  13529. "properties": {
  13530. "list": {
  13531. "type": "array",
  13532. "items": {
  13533. "$ref": "#/definitions/v1.EventItem"
  13534. }
  13535. },
  13536. "page": {
  13537. "type": "integer"
  13538. },
  13539. "total": {
  13540. "type": "integer"
  13541. }
  13542. }
  13543. },
  13544. "v1.EventListResponse": {
  13545. "type": "object",
  13546. "properties": {
  13547. "code": {
  13548. "description": "返回码",
  13549. "type": "integer",
  13550. "format": "int",
  13551. "default": 0
  13552. },
  13553. "data": {
  13554. "type": "object",
  13555. "$ref": "#/definitions/v1.EventListReply"
  13556. },
  13557. "message": {
  13558. "description": "消息",
  13559. "type": "string",
  13560. "default": "success"
  13561. }
  13562. }
  13563. },
  13564. "v1.EventSignDelResponse": {
  13565. "type": "object",
  13566. "properties": {
  13567. "code": {
  13568. "description": "返回码",
  13569. "type": "integer",
  13570. "format": "int",
  13571. "default": 0
  13572. },
  13573. "message": {
  13574. "description": "消息",
  13575. "type": "string",
  13576. "default": "success"
  13577. }
  13578. }
  13579. },
  13580. "v1.EventSignItem": {
  13581. "type": "object",
  13582. "properties": {
  13583. "comment": {
  13584. "type": "string"
  13585. },
  13586. "count": {
  13587. "description": "人数",
  13588. "type": "integer"
  13589. },
  13590. "event_id": {
  13591. "type": "integer"
  13592. },
  13593. "id": {
  13594. "type": "integer"
  13595. },
  13596. "name": {
  13597. "type": "string"
  13598. },
  13599. "phone": {
  13600. "type": "string"
  13601. },
  13602. "sign_time": {
  13603. "type": "string"
  13604. }
  13605. }
  13606. },
  13607. "v1.EventSignListReply": {
  13608. "type": "object",
  13609. "properties": {
  13610. "list": {
  13611. "type": "array",
  13612. "items": {
  13613. "$ref": "#/definitions/v1.EventSignItem"
  13614. }
  13615. },
  13616. "page": {
  13617. "type": "integer"
  13618. },
  13619. "total": {
  13620. "type": "integer"
  13621. }
  13622. }
  13623. },
  13624. "v1.EventSignListResponse": {
  13625. "type": "object",
  13626. "properties": {
  13627. "code": {
  13628. "description": "返回码",
  13629. "type": "integer",
  13630. "format": "int",
  13631. "default": 0
  13632. },
  13633. "data": {
  13634. "type": "object",
  13635. "$ref": "#/definitions/v1.EventSignListReply"
  13636. },
  13637. "message": {
  13638. "description": "消息",
  13639. "type": "string",
  13640. "default": "success"
  13641. }
  13642. }
  13643. },
  13644. "v1.EventUpdateBody": {
  13645. "type": "object",
  13646. "properties": {
  13647. "addr": {
  13648. "description": "活动地址",
  13649. "type": "string"
  13650. },
  13651. "content": {
  13652. "description": "内容",
  13653. "type": "string"
  13654. },
  13655. "end": {
  13656. "description": "活动结束时间",
  13657. "type": "integer"
  13658. },
  13659. "fee": {
  13660. "description": "报名费用",
  13661. "type": "integer"
  13662. },
  13663. "id": {
  13664. "type": "integer"
  13665. },
  13666. "people_limit": {
  13667. "description": "人数限制",
  13668. "type": "integer"
  13669. },
  13670. "pic": {
  13671. "description": "图片",
  13672. "type": "array",
  13673. "items": {
  13674. "type": "string"
  13675. }
  13676. },
  13677. "sign_up_end": {
  13678. "description": "报名截止时间",
  13679. "type": "integer"
  13680. },
  13681. "start": {
  13682. "description": "活动开始时间",
  13683. "type": "integer"
  13684. },
  13685. "title": {
  13686. "type": "string"
  13687. }
  13688. }
  13689. },
  13690. "v1.EventUpdateResponse": {
  13691. "type": "object",
  13692. "properties": {
  13693. "code": {
  13694. "description": "返回码",
  13695. "type": "integer",
  13696. "format": "int",
  13697. "default": 0
  13698. },
  13699. "message": {
  13700. "description": "消息",
  13701. "type": "string",
  13702. "default": "success"
  13703. }
  13704. }
  13705. },
  13706. "v1.GardenApplicationItem": {
  13707. "type": "object",
  13708. "properties": {
  13709. "amount": {
  13710. "type": "integer"
  13711. },
  13712. "application_id": {
  13713. "type": "integer"
  13714. },
  13715. "content": {
  13716. "type": "string"
  13717. },
  13718. "desc": {
  13719. "type": "string"
  13720. },
  13721. "enable": {
  13722. "type": "boolean"
  13723. },
  13724. "feedback": {
  13725. "type": "string"
  13726. },
  13727. "garden_name": {
  13728. "type": "string"
  13729. },
  13730. "icon": {
  13731. "type": "string"
  13732. },
  13733. "name": {
  13734. "type": "string"
  13735. },
  13736. "order_id": {
  13737. "type": "integer"
  13738. },
  13739. "pay_type": {
  13740. "description": "1 对公转帐",
  13741. "type": "integer"
  13742. },
  13743. "status": {
  13744. "description": "1 待审批 2 通过 3 未通过",
  13745. "type": "integer"
  13746. }
  13747. }
  13748. },
  13749. "v1.GardenApplicationListReply": {
  13750. "type": "object",
  13751. "properties": {
  13752. "list": {
  13753. "type": "array",
  13754. "items": {
  13755. "$ref": "#/definitions/v1.GardenApplicationItem"
  13756. }
  13757. },
  13758. "page": {
  13759. "type": "integer"
  13760. },
  13761. "total": {
  13762. "type": "integer"
  13763. }
  13764. }
  13765. },
  13766. "v1.GardenApplicationListResponse": {
  13767. "type": "object",
  13768. "properties": {
  13769. "code": {
  13770. "description": "返回码",
  13771. "type": "integer",
  13772. "format": "int",
  13773. "default": 0
  13774. },
  13775. "data": {
  13776. "type": "object",
  13777. "$ref": "#/definitions/v1.GardenApplicationListReply"
  13778. },
  13779. "message": {
  13780. "description": "消息",
  13781. "type": "string",
  13782. "default": "success"
  13783. }
  13784. }
  13785. },
  13786. "v1.GardenHouseRentListReply": {
  13787. "type": "object",
  13788. "properties": {
  13789. "list": {
  13790. "type": "array",
  13791. "items": {
  13792. "$ref": "#/definitions/v1.HouseRentItem"
  13793. }
  13794. },
  13795. "page": {
  13796. "type": "integer"
  13797. },
  13798. "total": {
  13799. "type": "integer"
  13800. }
  13801. }
  13802. },
  13803. "v1.GardenInfoResponse": {
  13804. "type": "object",
  13805. "properties": {
  13806. "code": {
  13807. "description": "返回码",
  13808. "type": "integer",
  13809. "format": "int",
  13810. "default": 0
  13811. },
  13812. "data": {
  13813. "type": "object",
  13814. "$ref": "#/definitions/v1.GardenItem"
  13815. },
  13816. "message": {
  13817. "description": "消息",
  13818. "type": "string",
  13819. "default": "success"
  13820. }
  13821. }
  13822. },
  13823. "v1.GardenItem": {
  13824. "type": "object",
  13825. "properties": {
  13826. "appendix": {
  13827. "type": "array",
  13828. "items": {
  13829. "type": "string"
  13830. }
  13831. },
  13832. "area": {
  13833. "description": "区",
  13834. "type": "string"
  13835. },
  13836. "area_code": {
  13837. "type": "string"
  13838. },
  13839. "area_percent": {
  13840. "description": "容积率",
  13841. "type": "number"
  13842. },
  13843. "avg_price": {
  13844. "type": "integer"
  13845. },
  13846. "building_area": {
  13847. "description": "建筑面积",
  13848. "type": "number"
  13849. },
  13850. "building_company": {
  13851. "description": "开发企业",
  13852. "type": "string"
  13853. },
  13854. "building_end": {
  13855. "description": "建成年份结束时间戳",
  13856. "type": "integer"
  13857. },
  13858. "building_start": {
  13859. "description": "建成年份开始时间戳",
  13860. "type": "integer"
  13861. },
  13862. "building_type": {
  13863. "description": "1塔楼 2 板楼 3 塔板结合 4 其他",
  13864. "type": "integer"
  13865. },
  13866. "cid": {
  13867. "description": "物业公司id",
  13868. "type": "integer"
  13869. },
  13870. "city": {
  13871. "description": "市",
  13872. "type": "string"
  13873. },
  13874. "city_code": {
  13875. "type": "string"
  13876. },
  13877. "committee": {
  13878. "description": "社区",
  13879. "type": "string"
  13880. },
  13881. "committee_code": {
  13882. "type": "string"
  13883. },
  13884. "covered_area": {
  13885. "description": "占地面积",
  13886. "type": "number"
  13887. },
  13888. "electric_type": {
  13889. "description": "电费类型多选 1 民用 2 商用",
  13890. "type": "array",
  13891. "items": {
  13892. "type": "integer"
  13893. }
  13894. },
  13895. "enable": {
  13896. "type": "boolean"
  13897. },
  13898. "expire_at": {
  13899. "type": "integer"
  13900. },
  13901. "feedback": {
  13902. "type": "string"
  13903. },
  13904. "garden_addr": {
  13905. "description": "小区地址",
  13906. "type": "string"
  13907. },
  13908. "garden_desc": {
  13909. "type": "string"
  13910. },
  13911. "garden_name": {
  13912. "description": "小区名字",
  13913. "type": "string"
  13914. },
  13915. "garden_pic": {
  13916. "type": "string"
  13917. },
  13918. "garden_pics": {
  13919. "description": "小区图片",
  13920. "type": "array",
  13921. "items": {
  13922. "type": "string"
  13923. }
  13924. },
  13925. "gas_fee_end": {
  13926. "description": "燃气费开始,单位分",
  13927. "type": "integer"
  13928. },
  13929. "gas_fee_start": {
  13930. "description": "燃气费开始,单位分",
  13931. "type": "integer"
  13932. },
  13933. "green_percent": {
  13934. "description": "绿化率",
  13935. "type": "number"
  13936. },
  13937. "house_count": {
  13938. "type": "integer"
  13939. },
  13940. "house_count_limit": {
  13941. "type": "integer"
  13942. },
  13943. "house_total": {
  13944. "description": "总户数",
  13945. "type": "integer"
  13946. },
  13947. "id": {
  13948. "type": "integer"
  13949. },
  13950. "in_use": {
  13951. "type": "boolean"
  13952. },
  13953. "lat": {
  13954. "description": "纬度",
  13955. "type": "number"
  13956. },
  13957. "lnt": {
  13958. "description": "经度",
  13959. "type": "number"
  13960. },
  13961. "mch_id": {
  13962. "type": "string"
  13963. },
  13964. "pay_mode": {
  13965. "type": "integer"
  13966. },
  13967. "property_fee_end": {
  13968. "description": "物业费结束, 单位分",
  13969. "type": "integer"
  13970. },
  13971. "property_fee_start": {
  13972. "description": "物业费开始,单位分",
  13973. "type": "integer"
  13974. },
  13975. "property_person": {
  13976. "description": "物业联系人",
  13977. "type": "string"
  13978. },
  13979. "property_phone": {
  13980. "description": "物业联系人手机号",
  13981. "type": "string"
  13982. },
  13983. "province": {
  13984. "description": "省",
  13985. "type": "string"
  13986. },
  13987. "province_code": {
  13988. "type": "string"
  13989. },
  13990. "space_info": {
  13991. "description": "车位配比",
  13992. "type": "string"
  13993. },
  13994. "space_total": {
  13995. "description": "固定车位数",
  13996. "type": "integer"
  13997. },
  13998. "status": {
  13999. "type": "integer"
  14000. },
  14001. "street": {
  14002. "description": "街道",
  14003. "type": "string"
  14004. },
  14005. "street_code": {
  14006. "type": "string"
  14007. },
  14008. "water_type": {
  14009. "description": "水费类型多选 1 民用 2 商用",
  14010. "type": "array",
  14011. "items": {
  14012. "type": "integer"
  14013. }
  14014. }
  14015. }
  14016. },
  14017. "v1.GardenKeyInfoChangeBody": {
  14018. "type": "object",
  14019. "properties": {
  14020. "area": {
  14021. "description": "区",
  14022. "type": "string"
  14023. },
  14024. "area_code": {
  14025. "type": "string"
  14026. },
  14027. "city": {
  14028. "description": "市",
  14029. "type": "string"
  14030. },
  14031. "city_code": {
  14032. "type": "string"
  14033. },
  14034. "committee": {
  14035. "description": "社区",
  14036. "type": "string"
  14037. },
  14038. "committee_code": {
  14039. "type": "string"
  14040. },
  14041. "garden_name": {
  14042. "description": "小区名字",
  14043. "type": "string"
  14044. },
  14045. "province": {
  14046. "description": "省",
  14047. "type": "string"
  14048. },
  14049. "province_code": {
  14050. "type": "string"
  14051. },
  14052. "street": {
  14053. "description": "街道",
  14054. "type": "string"
  14055. },
  14056. "street_code": {
  14057. "type": "string"
  14058. }
  14059. }
  14060. },
  14061. "v1.GardenKeyInfoChangeListReply": {
  14062. "type": "object",
  14063. "properties": {
  14064. "list": {
  14065. "type": "array",
  14066. "items": {
  14067. "$ref": "#/definitions/v1.GardenKeyInfoData"
  14068. }
  14069. },
  14070. "page": {
  14071. "type": "integer"
  14072. },
  14073. "total": {
  14074. "type": "integer"
  14075. }
  14076. }
  14077. },
  14078. "v1.GardenKeyInfoChangeListResponse": {
  14079. "type": "object",
  14080. "properties": {
  14081. "code": {
  14082. "description": "返回码",
  14083. "type": "integer",
  14084. "format": "int",
  14085. "default": 0
  14086. },
  14087. "data": {
  14088. "type": "object",
  14089. "$ref": "#/definitions/v1.GardenKeyInfoChangeListReply"
  14090. },
  14091. "message": {
  14092. "description": "消息",
  14093. "type": "string",
  14094. "default": "success"
  14095. }
  14096. }
  14097. },
  14098. "v1.GardenKeyInfoChangeResponse": {
  14099. "type": "object",
  14100. "properties": {
  14101. "code": {
  14102. "description": "返回码",
  14103. "type": "integer",
  14104. "format": "int",
  14105. "default": 0
  14106. },
  14107. "message": {
  14108. "description": "消息",
  14109. "type": "string",
  14110. "default": "success"
  14111. }
  14112. }
  14113. },
  14114. "v1.GardenKeyInfoData": {
  14115. "type": "object",
  14116. "properties": {
  14117. "cid": {
  14118. "type": "integer"
  14119. },
  14120. "feedback": {
  14121. "type": "string"
  14122. },
  14123. "garden_detail": {
  14124. "type": "string"
  14125. },
  14126. "garden_id": {
  14127. "type": "integer"
  14128. },
  14129. "garden_name": {
  14130. "type": "string"
  14131. },
  14132. "id": {
  14133. "type": "integer"
  14134. },
  14135. "list": {
  14136. "type": "array",
  14137. "items": {
  14138. "$ref": "#/definitions/v1.GardenKeyInfoItem"
  14139. }
  14140. },
  14141. "status": {
  14142. "type": "integer"
  14143. }
  14144. }
  14145. },
  14146. "v1.GardenKeyInfoItem": {
  14147. "type": "object",
  14148. "properties": {
  14149. "field_name": {
  14150. "type": "string"
  14151. },
  14152. "field_value_dst": {
  14153. "type": "string"
  14154. },
  14155. "field_value_src": {
  14156. "type": "string"
  14157. }
  14158. }
  14159. },
  14160. "v1.GardenPermissionItem": {
  14161. "type": "object",
  14162. "properties": {
  14163. "applete_path": {
  14164. "description": "小程序组件路径",
  14165. "type": "string"
  14166. },
  14167. "childs": {
  14168. "type": "array",
  14169. "items": {
  14170. "$ref": "#/definitions/v1.GardenPermissionItem"
  14171. }
  14172. },
  14173. "code": {
  14174. "type": "string"
  14175. },
  14176. "created_at": {
  14177. "type": "integer"
  14178. },
  14179. "enable": {
  14180. "description": "1 已发布 2 未发布",
  14181. "type": "integer"
  14182. },
  14183. "enable_at": {
  14184. "type": "integer"
  14185. },
  14186. "level": {
  14187. "type": "integer"
  14188. },
  14189. "name": {
  14190. "description": "权限名字",
  14191. "type": "string"
  14192. },
  14193. "path": {
  14194. "description": "组件路径",
  14195. "type": "string"
  14196. },
  14197. "pcode": {
  14198. "description": "父code,若没有则填空",
  14199. "type": "string"
  14200. },
  14201. "router": {
  14202. "description": "路由",
  14203. "type": "string"
  14204. }
  14205. }
  14206. },
  14207. "v1.GardenPermissionListReply": {
  14208. "type": "object",
  14209. "properties": {
  14210. "list": {
  14211. "type": "array",
  14212. "items": {
  14213. "$ref": "#/definitions/v1.GardenPermissionItem"
  14214. }
  14215. }
  14216. }
  14217. },
  14218. "v1.GardenUpdateBody": {
  14219. "type": "object",
  14220. "properties": {
  14221. "area_percent": {
  14222. "description": "容积率",
  14223. "type": "number"
  14224. },
  14225. "avg_price": {
  14226. "type": "integer"
  14227. },
  14228. "building_area": {
  14229. "description": "建筑面积",
  14230. "type": "number"
  14231. },
  14232. "building_company": {
  14233. "description": "开发企业",
  14234. "type": "string"
  14235. },
  14236. "building_end": {
  14237. "description": "建成年份结束时间戳",
  14238. "type": "integer"
  14239. },
  14240. "building_start": {
  14241. "description": "建成年份开始时间戳",
  14242. "type": "integer"
  14243. },
  14244. "building_type": {
  14245. "description": "1塔楼 2 板楼 3 塔板结合 4 其他",
  14246. "type": "integer"
  14247. },
  14248. "covered_area": {
  14249. "description": "占地面积",
  14250. "type": "number"
  14251. },
  14252. "electric_type": {
  14253. "description": "电费类型多选 1 民用 2 商用",
  14254. "type": "array",
  14255. "items": {
  14256. "type": "integer"
  14257. }
  14258. },
  14259. "garden_addr": {
  14260. "description": "省\nProvince string ` + "`" + `form:\"province\" json:\"province\"` + "`" + `\nProvinceCode string ` + "`" + `form:\"province_code\" json:\"province_code\"` + "`" + `\n市\nCity string ` + "`" + `form:\"city\" json:\"city\"` + "`" + `\nCityCode string ` + "`" + `form:\"city_code\" json:\"city_code\"` + "`" + `\n区\nArea string ` + "`" + `form:\"area\" json:\"area\"` + "`" + `\nAreaCode string ` + "`" + `form:\"area_code\" json:\"area_code\"` + "`" + `\n街道\nStreet string ` + "`" + `form:\"street\" json:\"street\"` + "`" + `\nStreetCode string ` + "`" + `form:\"street_code\" json:\"street_code\"` + "`" + `\n社区\nCommittee string ` + "`" + `form:\"committee\" json:\"committee\"` + "`" + `\nCommitteeCode string ` + "`" + `form:\"committee_code\" json:\"committee_code\"` + "`" + `\n小区名字\nGardenName string ` + "`" + `form:\"garden_name\" json:\"garden_name\"` + "`" + `\n小区地址",
  14261. "type": "string"
  14262. },
  14263. "garden_desc": {
  14264. "description": "小区描述",
  14265. "type": "string"
  14266. },
  14267. "garden_pic": {
  14268. "description": "小区形象图片",
  14269. "type": "string"
  14270. },
  14271. "garden_pics": {
  14272. "description": "小区图片",
  14273. "type": "array",
  14274. "items": {
  14275. "type": "string"
  14276. }
  14277. },
  14278. "gas_fee_end": {
  14279. "description": "燃气费开始,单位分",
  14280. "type": "integer"
  14281. },
  14282. "gas_fee_start": {
  14283. "description": "燃气费开始,单位分",
  14284. "type": "integer"
  14285. },
  14286. "green_percent": {
  14287. "description": "绿化率",
  14288. "type": "number"
  14289. },
  14290. "house_total": {
  14291. "description": "总户数",
  14292. "type": "integer"
  14293. },
  14294. "lat": {
  14295. "description": "纬度",
  14296. "type": "number"
  14297. },
  14298. "lnt": {
  14299. "description": "经度",
  14300. "type": "number"
  14301. },
  14302. "property_fee_end": {
  14303. "description": "物业费结束, 单位分",
  14304. "type": "integer"
  14305. },
  14306. "property_fee_start": {
  14307. "description": "物业费开始,单位分",
  14308. "type": "integer"
  14309. },
  14310. "property_person": {
  14311. "description": "物业联系人",
  14312. "type": "string"
  14313. },
  14314. "property_phone": {
  14315. "description": "物业联系人手机号",
  14316. "type": "string"
  14317. },
  14318. "space_info": {
  14319. "description": "车位配比",
  14320. "type": "string"
  14321. },
  14322. "space_total": {
  14323. "description": "固定车位数",
  14324. "type": "integer"
  14325. },
  14326. "water_type": {
  14327. "description": "水费类型多选 1 民用 2 商用",
  14328. "type": "array",
  14329. "items": {
  14330. "type": "integer"
  14331. }
  14332. }
  14333. }
  14334. },
  14335. "v1.GardenUpdateResponse": {
  14336. "type": "object",
  14337. "properties": {
  14338. "code": {
  14339. "description": "返回码",
  14340. "type": "integer",
  14341. "format": "int",
  14342. "default": 0
  14343. },
  14344. "message": {
  14345. "description": "消息",
  14346. "type": "string",
  14347. "default": "success"
  14348. }
  14349. }
  14350. },
  14351. "v1.GateCardAddBody": {
  14352. "type": "object",
  14353. "properties": {
  14354. "card_number": {
  14355. "type": "string"
  14356. },
  14357. "device_ids": {
  14358. "type": "array",
  14359. "items": {
  14360. "type": "integer"
  14361. }
  14362. },
  14363. "name": {
  14364. "type": "string"
  14365. }
  14366. }
  14367. },
  14368. "v1.GateCardAddResponse": {
  14369. "type": "object",
  14370. "properties": {
  14371. "code": {
  14372. "description": "返回码",
  14373. "type": "integer",
  14374. "format": "int",
  14375. "default": 0
  14376. },
  14377. "message": {
  14378. "description": "消息",
  14379. "type": "string",
  14380. "default": "success"
  14381. }
  14382. }
  14383. },
  14384. "v1.GateCardCanBindDevicesReply": {
  14385. "type": "object",
  14386. "properties": {
  14387. "list": {
  14388. "type": "array",
  14389. "items": {
  14390. "$ref": "#/definitions/v1.GateItem"
  14391. }
  14392. }
  14393. }
  14394. },
  14395. "v1.GateCardCanBindDevicesResponse": {
  14396. "type": "object",
  14397. "properties": {
  14398. "code": {
  14399. "description": "返回码",
  14400. "type": "integer",
  14401. "format": "int",
  14402. "default": 0
  14403. },
  14404. "data": {
  14405. "type": "object",
  14406. "$ref": "#/definitions/v1.GateCardCanBindDevicesReply"
  14407. },
  14408. "message": {
  14409. "description": "消息",
  14410. "type": "string",
  14411. "default": "success"
  14412. }
  14413. }
  14414. },
  14415. "v1.GateCardDelResponse": {
  14416. "type": "object",
  14417. "properties": {
  14418. "code": {
  14419. "description": "返回码",
  14420. "type": "integer",
  14421. "format": "int",
  14422. "default": 0
  14423. },
  14424. "message": {
  14425. "description": "消息",
  14426. "type": "string",
  14427. "default": "success"
  14428. }
  14429. }
  14430. },
  14431. "v1.GateCardDevice": {
  14432. "type": "object",
  14433. "properties": {
  14434. "device_id": {
  14435. "type": "integer"
  14436. },
  14437. "device_name": {
  14438. "type": "string"
  14439. },
  14440. "direction": {
  14441. "type": "integer"
  14442. },
  14443. "down_status": {
  14444. "type": "integer"
  14445. },
  14446. "location": {
  14447. "type": "string"
  14448. }
  14449. }
  14450. },
  14451. "v1.GateCardItem": {
  14452. "type": "object",
  14453. "properties": {
  14454. "card_number": {
  14455. "type": "string"
  14456. },
  14457. "created_at": {
  14458. "type": "integer"
  14459. },
  14460. "down_status": {
  14461. "type": "integer"
  14462. },
  14463. "gate_permissions": {
  14464. "type": "array",
  14465. "items": {
  14466. "$ref": "#/definitions/v1.GateCardDevice"
  14467. }
  14468. },
  14469. "id": {
  14470. "type": "integer"
  14471. },
  14472. "name": {
  14473. "type": "string"
  14474. }
  14475. }
  14476. },
  14477. "v1.GateCardListReply": {
  14478. "type": "object",
  14479. "properties": {
  14480. "list": {
  14481. "type": "array",
  14482. "items": {
  14483. "$ref": "#/definitions/v1.GateCardItem"
  14484. }
  14485. },
  14486. "page": {
  14487. "type": "integer"
  14488. },
  14489. "total": {
  14490. "type": "integer"
  14491. }
  14492. }
  14493. },
  14494. "v1.GateCardListResponse": {
  14495. "type": "object",
  14496. "properties": {
  14497. "code": {
  14498. "description": "返回码",
  14499. "type": "integer",
  14500. "format": "int",
  14501. "default": 0
  14502. },
  14503. "data": {
  14504. "type": "object",
  14505. "$ref": "#/definitions/v1.GateCardListReply"
  14506. },
  14507. "message": {
  14508. "description": "消息",
  14509. "type": "string",
  14510. "default": "success"
  14511. }
  14512. }
  14513. },
  14514. "v1.GateCardSyncBody": {
  14515. "type": "object",
  14516. "properties": {
  14517. "id": {
  14518. "description": "卡的记录id",
  14519. "type": "integer"
  14520. }
  14521. }
  14522. },
  14523. "v1.GateCardSyncResponse": {
  14524. "type": "object",
  14525. "properties": {
  14526. "code": {
  14527. "description": "返回码",
  14528. "type": "integer",
  14529. "format": "int",
  14530. "default": 0
  14531. },
  14532. "message": {
  14533. "description": "消息",
  14534. "type": "string",
  14535. "default": "success"
  14536. }
  14537. }
  14538. },
  14539. "v1.GateCommandItem": {
  14540. "type": "object",
  14541. "properties": {
  14542. "created_at": {
  14543. "type": "integer"
  14544. },
  14545. "desc": {
  14546. "type": "string"
  14547. },
  14548. "device_id": {
  14549. "type": "integer"
  14550. },
  14551. "id": {
  14552. "type": "integer"
  14553. },
  14554. "result_status": {
  14555. "description": "1 成功 2 失败",
  14556. "type": "integer"
  14557. },
  14558. "result_status_desc": {
  14559. "description": "结果描述",
  14560. "type": "string"
  14561. },
  14562. "status": {
  14563. "description": "1 待执行 2 执行中 3 执行完成",
  14564. "type": "integer"
  14565. }
  14566. }
  14567. },
  14568. "v1.GateCommandListReply": {
  14569. "type": "object",
  14570. "properties": {
  14571. "list": {
  14572. "type": "array",
  14573. "items": {
  14574. "$ref": "#/definitions/v1.GateCommandItem"
  14575. }
  14576. },
  14577. "page": {
  14578. "type": "integer"
  14579. },
  14580. "total": {
  14581. "type": "integer"
  14582. }
  14583. }
  14584. },
  14585. "v1.GateCommandListResponse": {
  14586. "type": "object",
  14587. "properties": {
  14588. "code": {
  14589. "description": "返回码",
  14590. "type": "integer",
  14591. "format": "int",
  14592. "default": 0
  14593. },
  14594. "data": {
  14595. "type": "object",
  14596. "$ref": "#/definitions/v1.GateCommandListReply"
  14597. },
  14598. "message": {
  14599. "description": "消息",
  14600. "type": "string",
  14601. "default": "success"
  14602. }
  14603. }
  14604. },
  14605. "v1.GateEnableBody": {
  14606. "type": "object",
  14607. "properties": {
  14608. "device_id": {
  14609. "type": "integer"
  14610. },
  14611. "enable": {
  14612. "description": "true 启用 false 停用",
  14613. "type": "boolean"
  14614. }
  14615. }
  14616. },
  14617. "v1.GateEnableResponse": {
  14618. "type": "object",
  14619. "properties": {
  14620. "code": {
  14621. "description": "返回码",
  14622. "type": "integer",
  14623. "format": "int",
  14624. "default": 0
  14625. },
  14626. "message": {
  14627. "description": "消息",
  14628. "type": "string",
  14629. "default": "success"
  14630. }
  14631. }
  14632. },
  14633. "v1.GateItem": {
  14634. "type": "object",
  14635. "properties": {
  14636. "auth_key": {
  14637. "description": "授权key",
  14638. "type": "string"
  14639. },
  14640. "card_support": {
  14641. "description": "1 支持卡 2 不支持",
  14642. "type": "integer"
  14643. },
  14644. "device_id": {
  14645. "description": "设备id",
  14646. "type": "integer"
  14647. },
  14648. "device_name": {
  14649. "description": "设备名",
  14650. "type": "string"
  14651. },
  14652. "direction": {
  14653. "description": "1 进场 2 出场 3 进出场",
  14654. "type": "integer"
  14655. },
  14656. "enable": {
  14657. "description": "true 已启用 false 已禁用",
  14658. "type": "boolean"
  14659. },
  14660. "garden_id": {
  14661. "description": "小区id",
  14662. "type": "integer"
  14663. },
  14664. "garden_name": {
  14665. "description": "小区名",
  14666. "type": "string"
  14667. },
  14668. "ip": {
  14669. "type": "string"
  14670. },
  14671. "location": {
  14672. "type": "string"
  14673. },
  14674. "mac": {
  14675. "type": "string"
  14676. },
  14677. "manufactor": {
  14678. "description": "厂商",
  14679. "type": "string"
  14680. },
  14681. "out_time": {
  14682. "description": "出库时间",
  14683. "type": "integer"
  14684. },
  14685. "out_user": {
  14686. "description": "出库人",
  14687. "type": "string"
  14688. },
  14689. "password": {
  14690. "type": "string"
  14691. },
  14692. "pic_support": {
  14693. "description": "1 支持人脸 2 不支持",
  14694. "type": "integer"
  14695. },
  14696. "port": {
  14697. "type": "integer"
  14698. },
  14699. "protocol": {
  14700. "description": "协议",
  14701. "type": "integer"
  14702. },
  14703. "protocol_desc": {
  14704. "type": "string"
  14705. },
  14706. "qcode_support": {
  14707. "description": "1支持二维码 2 不支持",
  14708. "type": "integer"
  14709. },
  14710. "sn": {
  14711. "description": "序列号",
  14712. "type": "string"
  14713. },
  14714. "status": {
  14715. "description": "1 在线 2 离线",
  14716. "type": "integer"
  14717. },
  14718. "user_name": {
  14719. "type": "string"
  14720. }
  14721. }
  14722. },
  14723. "v1.GateListReply": {
  14724. "type": "object",
  14725. "properties": {
  14726. "list": {
  14727. "type": "array",
  14728. "items": {
  14729. "$ref": "#/definitions/v1.GateItem"
  14730. }
  14731. },
  14732. "page": {
  14733. "type": "integer"
  14734. },
  14735. "total": {
  14736. "type": "integer"
  14737. }
  14738. }
  14739. },
  14740. "v1.GateListResponse": {
  14741. "type": "object",
  14742. "properties": {
  14743. "code": {
  14744. "description": "返回码",
  14745. "type": "integer",
  14746. "format": "int",
  14747. "default": 0
  14748. },
  14749. "data": {
  14750. "type": "object",
  14751. "$ref": "#/definitions/v1.GateListReply"
  14752. },
  14753. "message": {
  14754. "description": "消息",
  14755. "type": "string",
  14756. "default": "success"
  14757. }
  14758. }
  14759. },
  14760. "v1.GateOpenBody": {
  14761. "type": "object",
  14762. "properties": {
  14763. "device_id": {
  14764. "type": "integer"
  14765. }
  14766. }
  14767. },
  14768. "v1.GateOpenResponse": {
  14769. "type": "object",
  14770. "properties": {
  14771. "code": {
  14772. "description": "返回码",
  14773. "type": "integer",
  14774. "format": "int",
  14775. "default": 0
  14776. },
  14777. "message": {
  14778. "description": "消息",
  14779. "type": "string",
  14780. "default": "success"
  14781. }
  14782. }
  14783. },
  14784. "v1.GateRecordItem": {
  14785. "type": "object",
  14786. "properties": {
  14787. "card_number": {
  14788. "type": "string"
  14789. },
  14790. "card_owner": {
  14791. "type": "string"
  14792. },
  14793. "device_id": {
  14794. "type": "string"
  14795. },
  14796. "direction": {
  14797. "type": "integer"
  14798. },
  14799. "garden_id": {
  14800. "type": "integer"
  14801. },
  14802. "household_housename": {
  14803. "type": "string"
  14804. },
  14805. "household_id_number": {
  14806. "type": "string"
  14807. },
  14808. "household_uid": {
  14809. "type": "integer"
  14810. },
  14811. "household_user": {
  14812. "type": "string"
  14813. },
  14814. "is_visitor": {
  14815. "description": "1 访客 2 非访客",
  14816. "type": "integer"
  14817. },
  14818. "location": {
  14819. "type": "string"
  14820. },
  14821. "online": {
  14822. "type": "integer"
  14823. },
  14824. "open_time": {
  14825. "description": "开门时间",
  14826. "type": "integer"
  14827. },
  14828. "open_type": {
  14829. "description": "1 二维码 2 刷卡 3 人脸",
  14830. "type": "integer"
  14831. },
  14832. "protocol": {
  14833. "type": "integer"
  14834. },
  14835. "sn": {
  14836. "type": "string"
  14837. },
  14838. "visitor_name": {
  14839. "type": "string"
  14840. },
  14841. "visitor_phone": {
  14842. "type": "string"
  14843. },
  14844. "white_id": {
  14845. "type": "integer"
  14846. }
  14847. }
  14848. },
  14849. "v1.GateRecordListReply": {
  14850. "type": "object",
  14851. "properties": {
  14852. "list": {
  14853. "type": "array",
  14854. "items": {
  14855. "$ref": "#/definitions/v1.GateRecordItem"
  14856. }
  14857. },
  14858. "page": {
  14859. "type": "integer"
  14860. },
  14861. "total": {
  14862. "type": "integer"
  14863. }
  14864. }
  14865. },
  14866. "v1.GateRecordListResponse": {
  14867. "type": "object",
  14868. "properties": {
  14869. "code": {
  14870. "description": "返回码",
  14871. "type": "integer",
  14872. "format": "int",
  14873. "default": 0
  14874. },
  14875. "data": {
  14876. "type": "object",
  14877. "$ref": "#/definitions/v1.GateRecordListReply"
  14878. },
  14879. "message": {
  14880. "description": "消息",
  14881. "type": "string",
  14882. "default": "success"
  14883. }
  14884. }
  14885. },
  14886. "v1.GateRestartBody": {
  14887. "type": "object",
  14888. "properties": {
  14889. "device_id": {
  14890. "type": "integer"
  14891. }
  14892. }
  14893. },
  14894. "v1.GateRestartResponse": {
  14895. "type": "object",
  14896. "properties": {
  14897. "code": {
  14898. "description": "返回码",
  14899. "type": "integer",
  14900. "format": "int",
  14901. "default": 0
  14902. },
  14903. "message": {
  14904. "description": "消息",
  14905. "type": "string",
  14906. "default": "success"
  14907. }
  14908. }
  14909. },
  14910. "v1.GateSetBody": {
  14911. "type": "object",
  14912. "properties": {
  14913. "device_id": {
  14914. "type": "integer"
  14915. },
  14916. "direction": {
  14917. "description": "1 进场 2 出场 3 进出场",
  14918. "type": "integer"
  14919. },
  14920. "gate_name": {
  14921. "type": "string"
  14922. },
  14923. "ip": {
  14924. "type": "string"
  14925. },
  14926. "location": {
  14927. "description": "位置",
  14928. "type": "string"
  14929. },
  14930. "mac": {
  14931. "type": "string"
  14932. },
  14933. "password": {
  14934. "type": "string"
  14935. },
  14936. "user": {
  14937. "type": "string"
  14938. }
  14939. }
  14940. },
  14941. "v1.GateSetResponse": {
  14942. "type": "object",
  14943. "properties": {
  14944. "code": {
  14945. "description": "返回码",
  14946. "type": "integer",
  14947. "format": "int",
  14948. "default": 0
  14949. },
  14950. "message": {
  14951. "description": "消息",
  14952. "type": "string",
  14953. "default": "success"
  14954. }
  14955. }
  14956. },
  14957. "v1.GateUnitAddBody": {
  14958. "type": "object",
  14959. "properties": {
  14960. "device_id": {
  14961. "type": "integer"
  14962. },
  14963. "unit_id": {
  14964. "type": "array",
  14965. "items": {
  14966. "type": "integer"
  14967. }
  14968. }
  14969. }
  14970. },
  14971. "v1.GateUnitAddResponse": {
  14972. "type": "object",
  14973. "properties": {
  14974. "code": {
  14975. "description": "返回码",
  14976. "type": "integer",
  14977. "format": "int",
  14978. "default": 0
  14979. },
  14980. "message": {
  14981. "description": "消息",
  14982. "type": "string",
  14983. "default": "success"
  14984. }
  14985. }
  14986. },
  14987. "v1.GateUserPicApproveBody": {
  14988. "type": "object",
  14989. "properties": {
  14990. "feedback": {
  14991. "type": "string"
  14992. },
  14993. "id": {
  14994. "description": "人脸记录id",
  14995. "type": "integer"
  14996. },
  14997. "status": {
  14998. "type": "boolean"
  14999. }
  15000. }
  15001. },
  15002. "v1.GateUserPicApproveResponse": {
  15003. "type": "object",
  15004. "properties": {
  15005. "code": {
  15006. "description": "返回码",
  15007. "type": "integer",
  15008. "format": "int",
  15009. "default": 0
  15010. },
  15011. "message": {
  15012. "description": "消息",
  15013. "type": "string",
  15014. "default": "success"
  15015. }
  15016. }
  15017. },
  15018. "v1.GateUserPicDelResponse": {
  15019. "type": "object",
  15020. "properties": {
  15021. "code": {
  15022. "description": "返回码",
  15023. "type": "integer",
  15024. "format": "int",
  15025. "default": 0
  15026. },
  15027. "message": {
  15028. "description": "消息",
  15029. "type": "string",
  15030. "default": "success"
  15031. }
  15032. }
  15033. },
  15034. "v1.GateUserPicDevice": {
  15035. "type": "object",
  15036. "properties": {
  15037. "device_id": {
  15038. "type": "integer"
  15039. },
  15040. "device_name": {
  15041. "type": "string"
  15042. },
  15043. "direction": {
  15044. "type": "integer"
  15045. },
  15046. "down_status": {
  15047. "type": "integer"
  15048. },
  15049. "location": {
  15050. "type": "string"
  15051. }
  15052. }
  15053. },
  15054. "v1.GateUserPicItem": {
  15055. "type": "object",
  15056. "properties": {
  15057. "approve_status": {
  15058. "type": "integer"
  15059. },
  15060. "approved_at": {
  15061. "type": "integer"
  15062. },
  15063. "created_at": {
  15064. "type": "integer"
  15065. },
  15066. "down_status": {
  15067. "type": "integer"
  15068. },
  15069. "gate_permissions": {
  15070. "type": "array",
  15071. "items": {
  15072. "$ref": "#/definitions/v1.GateUserPicDevice"
  15073. }
  15074. },
  15075. "house_name": {
  15076. "type": "string"
  15077. },
  15078. "id": {
  15079. "type": "integer"
  15080. },
  15081. "id_number": {
  15082. "type": "string"
  15083. },
  15084. "name": {
  15085. "type": "string"
  15086. },
  15087. "pic_url": {
  15088. "type": "string"
  15089. },
  15090. "uid": {
  15091. "type": "integer"
  15092. },
  15093. "user_type": {
  15094. "type": "integer"
  15095. }
  15096. }
  15097. },
  15098. "v1.GateUserPicListReply": {
  15099. "type": "object",
  15100. "properties": {
  15101. "list": {
  15102. "type": "array",
  15103. "items": {
  15104. "$ref": "#/definitions/v1.GateUserPicItem"
  15105. }
  15106. },
  15107. "page": {
  15108. "type": "integer"
  15109. },
  15110. "total": {
  15111. "type": "integer"
  15112. }
  15113. }
  15114. },
  15115. "v1.GateUserPicListResponse": {
  15116. "type": "object",
  15117. "properties": {
  15118. "code": {
  15119. "description": "返回码",
  15120. "type": "integer",
  15121. "format": "int",
  15122. "default": 0
  15123. },
  15124. "data": {
  15125. "type": "object",
  15126. "$ref": "#/definitions/v1.GateUserPicListReply"
  15127. },
  15128. "message": {
  15129. "description": "消息",
  15130. "type": "string",
  15131. "default": "success"
  15132. }
  15133. }
  15134. },
  15135. "v1.GateUserPicSyncBody": {
  15136. "type": "object",
  15137. "properties": {
  15138. "id": {
  15139. "description": "人脸记录id",
  15140. "type": "integer"
  15141. }
  15142. }
  15143. },
  15144. "v1.GateUserPicSyncResponse": {
  15145. "type": "object",
  15146. "properties": {
  15147. "code": {
  15148. "description": "返回码",
  15149. "type": "integer",
  15150. "format": "int",
  15151. "default": 0
  15152. },
  15153. "message": {
  15154. "description": "消息",
  15155. "type": "string",
  15156. "default": "success"
  15157. }
  15158. }
  15159. },
  15160. "v1.GateVisitorListItem": {
  15161. "type": "object",
  15162. "properties": {
  15163. "comment": {
  15164. "type": "string"
  15165. },
  15166. "device_id": {
  15167. "type": "integer"
  15168. },
  15169. "end": {
  15170. "type": "integer"
  15171. },
  15172. "garden_name": {
  15173. "type": "string"
  15174. },
  15175. "gate_name": {
  15176. "type": "string"
  15177. },
  15178. "id": {
  15179. "type": "integer"
  15180. },
  15181. "location": {
  15182. "type": "string"
  15183. },
  15184. "name": {
  15185. "type": "string"
  15186. },
  15187. "open_time": {
  15188. "type": "integer"
  15189. },
  15190. "phone": {
  15191. "type": "string"
  15192. },
  15193. "qcode": {
  15194. "type": "string"
  15195. },
  15196. "start": {
  15197. "type": "integer"
  15198. },
  15199. "status": {
  15200. "description": "1 未通行 2 已同行 3 已过期",
  15201. "type": "integer"
  15202. },
  15203. "uid": {
  15204. "type": "integer"
  15205. },
  15206. "visitor": {
  15207. "type": "string"
  15208. },
  15209. "visitor_phone": {
  15210. "type": "string"
  15211. }
  15212. }
  15213. },
  15214. "v1.GateVisitorListReply": {
  15215. "type": "object",
  15216. "properties": {
  15217. "list": {
  15218. "type": "array",
  15219. "items": {
  15220. "$ref": "#/definitions/v1.GateVisitorListItem"
  15221. }
  15222. },
  15223. "page": {
  15224. "type": "integer"
  15225. },
  15226. "total": {
  15227. "type": "integer"
  15228. }
  15229. }
  15230. },
  15231. "v1.GateVisitorListResponse": {
  15232. "type": "object",
  15233. "properties": {
  15234. "code": {
  15235. "description": "返回码",
  15236. "type": "integer",
  15237. "format": "int",
  15238. "default": 0
  15239. },
  15240. "data": {
  15241. "type": "object",
  15242. "$ref": "#/definitions/v1.GateVisitorListReply"
  15243. },
  15244. "message": {
  15245. "description": "消息",
  15246. "type": "string",
  15247. "default": "success"
  15248. }
  15249. }
  15250. },
  15251. "v1.GetVcodeReply": {
  15252. "type": "object",
  15253. "properties": {
  15254. "vcode": {
  15255. "type": "integer"
  15256. }
  15257. }
  15258. },
  15259. "v1.GetVcodeResponse": {
  15260. "type": "object",
  15261. "properties": {
  15262. "code": {
  15263. "description": "返回码",
  15264. "type": "integer",
  15265. "format": "int",
  15266. "default": 0
  15267. },
  15268. "data": {
  15269. "type": "object",
  15270. "$ref": "#/definitions/v1.GetVcodeReply"
  15271. },
  15272. "message": {
  15273. "description": "消息",
  15274. "type": "string",
  15275. "default": "success"
  15276. }
  15277. }
  15278. },
  15279. "v1.GroupAddBody": {
  15280. "type": "object",
  15281. "properties": {
  15282. "group_desc": {
  15283. "type": "string"
  15284. },
  15285. "group_name": {
  15286. "type": "string"
  15287. },
  15288. "permission_codes": {
  15289. "type": "array",
  15290. "items": {
  15291. "type": "string"
  15292. }
  15293. }
  15294. }
  15295. },
  15296. "v1.GroupAddReply": {
  15297. "type": "object",
  15298. "properties": {
  15299. "id": {
  15300. "type": "integer"
  15301. }
  15302. }
  15303. },
  15304. "v1.GroupAddResponse": {
  15305. "type": "object",
  15306. "properties": {
  15307. "code": {
  15308. "description": "返回码",
  15309. "type": "integer",
  15310. "format": "int",
  15311. "default": 0
  15312. },
  15313. "data": {
  15314. "type": "object",
  15315. "$ref": "#/definitions/v1.GroupAddReply"
  15316. },
  15317. "message": {
  15318. "description": "消息",
  15319. "type": "string",
  15320. "default": "success"
  15321. }
  15322. }
  15323. },
  15324. "v1.GroupDelResponse": {
  15325. "type": "object",
  15326. "properties": {
  15327. "code": {
  15328. "description": "返回码",
  15329. "type": "integer",
  15330. "format": "int",
  15331. "default": 0
  15332. },
  15333. "message": {
  15334. "description": "消息",
  15335. "type": "string",
  15336. "default": "success"
  15337. }
  15338. }
  15339. },
  15340. "v1.GroupInfoReply": {
  15341. "type": "object",
  15342. "properties": {
  15343. "list": {
  15344. "type": "array",
  15345. "items": {
  15346. "$ref": "#/definitions/v1.SystemGroupPermissionItem"
  15347. }
  15348. }
  15349. }
  15350. },
  15351. "v1.GroupInfoResponse": {
  15352. "type": "object",
  15353. "properties": {
  15354. "code": {
  15355. "description": "返回码",
  15356. "type": "integer",
  15357. "format": "int",
  15358. "default": 0
  15359. },
  15360. "data": {
  15361. "type": "object",
  15362. "$ref": "#/definitions/v1.GroupInfoReply"
  15363. },
  15364. "message": {
  15365. "description": "消息",
  15366. "type": "string",
  15367. "default": "success"
  15368. }
  15369. }
  15370. },
  15371. "v1.GroupItem": {
  15372. "type": "object",
  15373. "properties": {
  15374. "group_desc": {
  15375. "type": "string"
  15376. },
  15377. "group_name": {
  15378. "type": "string"
  15379. },
  15380. "id": {
  15381. "type": "integer"
  15382. },
  15383. "super": {
  15384. "type": "boolean"
  15385. },
  15386. "user_count": {
  15387. "type": "integer"
  15388. }
  15389. }
  15390. },
  15391. "v1.GroupListReply": {
  15392. "type": "object",
  15393. "properties": {
  15394. "list": {
  15395. "type": "array",
  15396. "items": {
  15397. "$ref": "#/definitions/v1.GroupItem"
  15398. }
  15399. }
  15400. }
  15401. },
  15402. "v1.GroupListResponse": {
  15403. "type": "object",
  15404. "properties": {
  15405. "code": {
  15406. "description": "返回码",
  15407. "type": "integer",
  15408. "format": "int",
  15409. "default": 0
  15410. },
  15411. "data": {
  15412. "type": "object",
  15413. "$ref": "#/definitions/v1.GroupListReply"
  15414. },
  15415. "message": {
  15416. "description": "消息",
  15417. "type": "string",
  15418. "default": "success"
  15419. }
  15420. }
  15421. },
  15422. "v1.GroupUpdateBody": {
  15423. "type": "object",
  15424. "properties": {
  15425. "group_desc": {
  15426. "type": "string"
  15427. },
  15428. "group_name": {
  15429. "type": "string"
  15430. },
  15431. "id": {
  15432. "type": "integer"
  15433. },
  15434. "permission_codes": {
  15435. "type": "array",
  15436. "items": {
  15437. "type": "string"
  15438. }
  15439. }
  15440. }
  15441. },
  15442. "v1.GroupUpdateResponse": {
  15443. "type": "object",
  15444. "properties": {
  15445. "code": {
  15446. "description": "返回码",
  15447. "type": "integer",
  15448. "format": "int",
  15449. "default": 0
  15450. },
  15451. "message": {
  15452. "description": "消息",
  15453. "type": "string",
  15454. "default": "success"
  15455. }
  15456. }
  15457. },
  15458. "v1.HouseAddBody": {
  15459. "type": "object",
  15460. "properties": {
  15461. "building_id": {
  15462. "type": "integer"
  15463. },
  15464. "hall_count": {
  15465. "description": "几厅",
  15466. "type": "integer"
  15467. },
  15468. "house_area": {
  15469. "description": "房屋建筑面积",
  15470. "type": "number"
  15471. },
  15472. "house_number": {
  15473. "description": "门牌号",
  15474. "type": "string"
  15475. },
  15476. "house_type": {
  15477. "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅",
  15478. "type": "integer"
  15479. },
  15480. "house_used_area": {
  15481. "description": "房屋使用面积",
  15482. "type": "number"
  15483. },
  15484. "layer": {
  15485. "description": "楼层",
  15486. "type": "integer"
  15487. },
  15488. "room_count": {
  15489. "description": "几室",
  15490. "type": "integer"
  15491. },
  15492. "unit_id": {
  15493. "description": "单元id",
  15494. "type": "integer"
  15495. }
  15496. }
  15497. },
  15498. "v1.HouseAddReply": {
  15499. "type": "object",
  15500. "properties": {
  15501. "id": {
  15502. "type": "integer"
  15503. }
  15504. }
  15505. },
  15506. "v1.HouseAddResponse": {
  15507. "type": "object",
  15508. "properties": {
  15509. "code": {
  15510. "description": "返回码",
  15511. "type": "integer",
  15512. "format": "int",
  15513. "default": 0
  15514. },
  15515. "data": {
  15516. "type": "object",
  15517. "$ref": "#/definitions/v1.HouseAddReply"
  15518. },
  15519. "message": {
  15520. "description": "消息",
  15521. "type": "string",
  15522. "default": "success"
  15523. }
  15524. }
  15525. },
  15526. "v1.HouseDelResponse": {
  15527. "type": "object",
  15528. "properties": {
  15529. "code": {
  15530. "description": "返回码",
  15531. "type": "integer",
  15532. "format": "int",
  15533. "default": 0
  15534. },
  15535. "message": {
  15536. "description": "消息",
  15537. "type": "string",
  15538. "default": "success"
  15539. }
  15540. }
  15541. },
  15542. "v1.HouseItem": {
  15543. "type": "object",
  15544. "properties": {
  15545. "building_id": {
  15546. "type": "integer"
  15547. },
  15548. "building_number": {
  15549. "type": "string"
  15550. },
  15551. "hall_count": {
  15552. "description": "几厅",
  15553. "type": "integer"
  15554. },
  15555. "has_lift": {
  15556. "type": "boolean"
  15557. },
  15558. "house_area": {
  15559. "description": "房屋建筑面积",
  15560. "type": "number"
  15561. },
  15562. "house_name": {
  15563. "type": "string"
  15564. },
  15565. "house_number": {
  15566. "description": "门牌号",
  15567. "type": "string"
  15568. },
  15569. "house_type": {
  15570. "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅",
  15571. "type": "integer"
  15572. },
  15573. "house_used_area": {
  15574. "description": "房屋使用面积",
  15575. "type": "number"
  15576. },
  15577. "id": {
  15578. "type": "integer"
  15579. },
  15580. "layer": {
  15581. "description": "楼层",
  15582. "type": "integer"
  15583. },
  15584. "room_count": {
  15585. "description": "几室",
  15586. "type": "integer"
  15587. },
  15588. "status": {
  15589. "description": "房屋状态 1 未入住 2 已入住 3 已出租",
  15590. "type": "integer"
  15591. },
  15592. "unit_id": {
  15593. "description": "单元id",
  15594. "type": "integer"
  15595. },
  15596. "unit_number": {
  15597. "type": "integer"
  15598. }
  15599. }
  15600. },
  15601. "v1.HouseListReply": {
  15602. "type": "object",
  15603. "properties": {
  15604. "list": {
  15605. "type": "array",
  15606. "items": {
  15607. "$ref": "#/definitions/v1.HouseItem"
  15608. }
  15609. },
  15610. "page": {
  15611. "type": "integer"
  15612. },
  15613. "total": {
  15614. "type": "integer"
  15615. }
  15616. }
  15617. },
  15618. "v1.HouseListResponse": {
  15619. "type": "object",
  15620. "properties": {
  15621. "code": {
  15622. "description": "返回码",
  15623. "type": "integer",
  15624. "format": "int",
  15625. "default": 0
  15626. },
  15627. "data": {
  15628. "type": "object",
  15629. "$ref": "#/definitions/v1.HouseListReply"
  15630. },
  15631. "message": {
  15632. "description": "消息",
  15633. "type": "string",
  15634. "default": "success"
  15635. }
  15636. }
  15637. },
  15638. "v1.HouseRentAddManagerBody": {
  15639. "type": "object",
  15640. "properties": {
  15641. "manager_uid": {
  15642. "type": "integer"
  15643. },
  15644. "rent_id": {
  15645. "type": "integer"
  15646. }
  15647. }
  15648. },
  15649. "v1.HouseRentAddManagerReply": {
  15650. "type": "object",
  15651. "properties": {
  15652. "id": {
  15653. "type": "integer"
  15654. }
  15655. }
  15656. },
  15657. "v1.HouseRentAddManagerResponse": {
  15658. "type": "object",
  15659. "properties": {
  15660. "code": {
  15661. "description": "返回码",
  15662. "type": "integer",
  15663. "format": "int",
  15664. "default": 0
  15665. },
  15666. "data": {
  15667. "type": "object",
  15668. "$ref": "#/definitions/v1.HouseRentAddManagerReply"
  15669. },
  15670. "message": {
  15671. "description": "消息",
  15672. "type": "string",
  15673. "default": "success"
  15674. }
  15675. }
  15676. },
  15677. "v1.HouseRentApplyBody": {
  15678. "type": "object",
  15679. "properties": {
  15680. "base_conf": {
  15681. "description": "基础设施 从低到高分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机",
  15682. "type": "integer"
  15683. },
  15684. "cert_pic": {
  15685. "description": "房屋证件图片",
  15686. "type": "array",
  15687. "items": {
  15688. "type": "string"
  15689. }
  15690. },
  15691. "contact_phone": {
  15692. "description": "联系人电话",
  15693. "type": "string"
  15694. },
  15695. "contacter": {
  15696. "description": "联系人",
  15697. "type": "string"
  15698. },
  15699. "decorating": {
  15700. "description": "1 精装 2 简装 3 清水",
  15701. "type": "integer"
  15702. },
  15703. "desc": {
  15704. "description": "简介",
  15705. "type": "string"
  15706. },
  15707. "desposit": {
  15708. "description": "押金",
  15709. "type": "integer"
  15710. },
  15711. "direction": {
  15712. "description": "朝向",
  15713. "type": "integer"
  15714. },
  15715. "house_id": {
  15716. "description": "房屋id",
  15717. "type": "integer"
  15718. },
  15719. "house_pic": {
  15720. "description": "房屋图片",
  15721. "type": "array",
  15722. "items": {
  15723. "type": "string"
  15724. }
  15725. },
  15726. "in_time": {
  15727. "description": "可入住时间",
  15728. "type": "integer"
  15729. },
  15730. "intermediary_price": {
  15731. "description": "中介费",
  15732. "type": "integer"
  15733. },
  15734. "pay_time_type": {
  15735. "description": "1 月付 2 季付 3 半年付 4 年付",
  15736. "type": "integer"
  15737. },
  15738. "rent_price": {
  15739. "description": "月租",
  15740. "type": "integer"
  15741. },
  15742. "rent_type": {
  15743. "description": "1 整租 2 合租 3 转租",
  15744. "type": "integer"
  15745. },
  15746. "room_area": {
  15747. "description": "房间面积",
  15748. "type": "number"
  15749. },
  15750. "room_type": {
  15751. "description": "1 全部 2 主卧 3 次卧",
  15752. "type": "integer"
  15753. },
  15754. "service_price": {
  15755. "description": "服务费",
  15756. "type": "integer"
  15757. },
  15758. "special_conf": {
  15759. "description": "特色配置 从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租",
  15760. "type": "integer"
  15761. },
  15762. "wc_count": {
  15763. "description": "几卫",
  15764. "type": "integer"
  15765. }
  15766. }
  15767. },
  15768. "v1.HouseRentApplyReply": {
  15769. "type": "object",
  15770. "properties": {
  15771. "id": {
  15772. "type": "integer"
  15773. }
  15774. }
  15775. },
  15776. "v1.HouseRentApplyResponse": {
  15777. "type": "object",
  15778. "properties": {
  15779. "code": {
  15780. "description": "返回码",
  15781. "type": "integer",
  15782. "format": "int",
  15783. "default": 0
  15784. },
  15785. "data": {
  15786. "type": "object",
  15787. "$ref": "#/definitions/v1.HouseRentApplyReply"
  15788. },
  15789. "message": {
  15790. "description": "消息",
  15791. "type": "string",
  15792. "default": "success"
  15793. }
  15794. }
  15795. },
  15796. "v1.HouseRentAppointmentDelResponse": {
  15797. "type": "object",
  15798. "properties": {
  15799. "code": {
  15800. "description": "返回码",
  15801. "type": "integer",
  15802. "format": "int",
  15803. "default": 0
  15804. },
  15805. "message": {
  15806. "description": "消息",
  15807. "type": "string",
  15808. "default": "success"
  15809. }
  15810. }
  15811. },
  15812. "v1.HouseRentAppointmentItem": {
  15813. "type": "object",
  15814. "properties": {
  15815. "appointment_time": {
  15816. "type": "integer"
  15817. },
  15818. "area": {
  15819. "type": "number"
  15820. },
  15821. "garden_id": {
  15822. "type": "integer"
  15823. },
  15824. "garden_name": {
  15825. "type": "string"
  15826. },
  15827. "gender": {
  15828. "type": "integer"
  15829. },
  15830. "house_name": {
  15831. "type": "string"
  15832. },
  15833. "id": {
  15834. "type": "integer"
  15835. },
  15836. "layer": {
  15837. "type": "integer"
  15838. },
  15839. "name": {
  15840. "type": "string"
  15841. },
  15842. "phone": {
  15843. "type": "string"
  15844. },
  15845. "rent_id": {
  15846. "type": "integer"
  15847. },
  15848. "status": {
  15849. "description": "1 待受理,2 已受理,3 已拒绝,4 未到访,5已到访,6已过期",
  15850. "type": "integer"
  15851. },
  15852. "uid": {
  15853. "type": "integer"
  15854. }
  15855. }
  15856. },
  15857. "v1.HouseRentAppointmentListReply": {
  15858. "type": "object",
  15859. "properties": {
  15860. "list": {
  15861. "type": "array",
  15862. "items": {
  15863. "$ref": "#/definitions/v1.HouseRentAppointmentItem"
  15864. }
  15865. },
  15866. "page": {
  15867. "type": "integer"
  15868. },
  15869. "total": {
  15870. "type": "integer"
  15871. }
  15872. }
  15873. },
  15874. "v1.HouseRentAppointmentListResponse": {
  15875. "type": "object",
  15876. "properties": {
  15877. "code": {
  15878. "description": "返回码",
  15879. "type": "integer",
  15880. "format": "int",
  15881. "default": 0
  15882. },
  15883. "data": {
  15884. "type": "object",
  15885. "$ref": "#/definitions/v1.HouseRentAppointmentListReply"
  15886. },
  15887. "message": {
  15888. "description": "消息",
  15889. "type": "string",
  15890. "default": "success"
  15891. }
  15892. }
  15893. },
  15894. "v1.HouseRentAppointmentStatusBody": {
  15895. "type": "object",
  15896. "properties": {
  15897. "feedback": {
  15898. "type": "string"
  15899. },
  15900. "id": {
  15901. "type": "integer"
  15902. },
  15903. "status": {
  15904. "description": "2 已受理,3 已拒绝,4 未到访,5已到访",
  15905. "type": "integer"
  15906. }
  15907. }
  15908. },
  15909. "v1.HouseRentAppointmentStatusResponse": {
  15910. "type": "object",
  15911. "properties": {
  15912. "code": {
  15913. "description": "返回码",
  15914. "type": "integer",
  15915. "format": "int",
  15916. "default": 0
  15917. },
  15918. "message": {
  15919. "description": "消息",
  15920. "type": "string",
  15921. "default": "success"
  15922. }
  15923. }
  15924. },
  15925. "v1.HouseRentApproveBody": {
  15926. "type": "object",
  15927. "properties": {
  15928. "feedback": {
  15929. "type": "string"
  15930. },
  15931. "id": {
  15932. "type": "integer"
  15933. },
  15934. "status": {
  15935. "type": "boolean"
  15936. }
  15937. }
  15938. },
  15939. "v1.HouseRentApproveResponse": {
  15940. "type": "object",
  15941. "properties": {
  15942. "code": {
  15943. "description": "返回码",
  15944. "type": "integer",
  15945. "format": "int",
  15946. "default": 0
  15947. },
  15948. "message": {
  15949. "description": "消息",
  15950. "type": "string",
  15951. "default": "success"
  15952. }
  15953. }
  15954. },
  15955. "v1.HouseRentDelManagerResponse": {
  15956. "type": "object",
  15957. "properties": {
  15958. "code": {
  15959. "description": "返回码",
  15960. "type": "integer",
  15961. "format": "int",
  15962. "default": 0
  15963. },
  15964. "message": {
  15965. "description": "消息",
  15966. "type": "string",
  15967. "default": "success"
  15968. }
  15969. }
  15970. },
  15971. "v1.HouseRentDownBody": {
  15972. "type": "object",
  15973. "properties": {
  15974. "id": {
  15975. "type": "integer"
  15976. }
  15977. }
  15978. },
  15979. "v1.HouseRentDownResponse": {
  15980. "type": "object",
  15981. "properties": {
  15982. "code": {
  15983. "description": "返回码",
  15984. "type": "integer",
  15985. "format": "int",
  15986. "default": 0
  15987. },
  15988. "message": {
  15989. "description": "消息",
  15990. "type": "string",
  15991. "default": "success"
  15992. }
  15993. }
  15994. },
  15995. "v1.HouseRentItem": {
  15996. "type": "object",
  15997. "properties": {
  15998. "addr": {
  15999. "type": "string"
  16000. },
  16001. "approve_status": {
  16002. "description": "审核状态 1 待审 2 通过 3 未通过",
  16003. "type": "integer"
  16004. },
  16005. "area": {
  16006. "description": "区域",
  16007. "type": "string"
  16008. },
  16009. "base_conf": {
  16010. "description": "基础设施",
  16011. "type": "integer"
  16012. },
  16013. "cert_pic": {
  16014. "description": "房屋证件图片",
  16015. "type": "array",
  16016. "items": {
  16017. "type": "string"
  16018. }
  16019. },
  16020. "city": {
  16021. "description": "城市",
  16022. "type": "string"
  16023. },
  16024. "contact_phone": {
  16025. "description": "联系人电话",
  16026. "type": "string"
  16027. },
  16028. "contacter": {
  16029. "description": "联系人",
  16030. "type": "string"
  16031. },
  16032. "decorating": {
  16033. "description": "1 精装 2 简装 3 清水",
  16034. "type": "integer"
  16035. },
  16036. "desc": {
  16037. "description": "简介",
  16038. "type": "string"
  16039. },
  16040. "desposit": {
  16041. "description": "押金",
  16042. "type": "integer"
  16043. },
  16044. "direction": {
  16045. "description": "朝向",
  16046. "type": "integer"
  16047. },
  16048. "garden_id": {
  16049. "description": "小区id",
  16050. "type": "integer"
  16051. },
  16052. "garden_name": {
  16053. "description": "小区名称",
  16054. "type": "string"
  16055. },
  16056. "hall_count": {
  16057. "description": "几厅",
  16058. "type": "integer"
  16059. },
  16060. "has_lift": {
  16061. "description": "是否有电梯",
  16062. "type": "boolean"
  16063. },
  16064. "house_area": {
  16065. "description": "房屋建筑面积",
  16066. "type": "number"
  16067. },
  16068. "house_id": {
  16069. "type": "integer"
  16070. },
  16071. "house_name": {
  16072. "description": "房屋号",
  16073. "type": "string"
  16074. },
  16075. "house_pic": {
  16076. "description": "房屋图片",
  16077. "type": "array",
  16078. "items": {
  16079. "type": "string"
  16080. }
  16081. },
  16082. "id": {
  16083. "description": "租房id",
  16084. "type": "integer"
  16085. },
  16086. "in_time": {
  16087. "description": "可入住时间",
  16088. "type": "integer"
  16089. },
  16090. "intermediary_price": {
  16091. "description": "中介费",
  16092. "type": "integer"
  16093. },
  16094. "lat": {
  16095. "description": "纬度",
  16096. "type": "number"
  16097. },
  16098. "layer": {
  16099. "description": "楼层",
  16100. "type": "integer"
  16101. },
  16102. "lnt": {
  16103. "description": "经度",
  16104. "type": "number"
  16105. },
  16106. "pay_time_type": {
  16107. "description": "1 月付 2 季付 3 半年付 4 年付",
  16108. "type": "integer"
  16109. },
  16110. "province": {
  16111. "description": "省份",
  16112. "type": "string"
  16113. },
  16114. "rent_price": {
  16115. "description": "月租",
  16116. "type": "integer"
  16117. },
  16118. "rent_type": {
  16119. "description": "1 整租 2 合租 3 转租",
  16120. "type": "integer"
  16121. },
  16122. "room_area": {
  16123. "description": "房间面积",
  16124. "type": "number"
  16125. },
  16126. "room_count": {
  16127. "description": "几室",
  16128. "type": "integer"
  16129. },
  16130. "room_type": {
  16131. "description": "1 全部 2 主卧 3 次卧",
  16132. "type": "integer"
  16133. },
  16134. "service_price": {
  16135. "description": "服务费",
  16136. "type": "integer"
  16137. },
  16138. "special_conf": {
  16139. "description": "特色配置",
  16140. "type": "integer"
  16141. },
  16142. "street": {
  16143. "description": "街道",
  16144. "type": "string"
  16145. },
  16146. "wc_count": {
  16147. "description": "几卫",
  16148. "type": "integer"
  16149. }
  16150. }
  16151. },
  16152. "v1.HouseRentListResponse": {
  16153. "type": "object",
  16154. "properties": {
  16155. "code": {
  16156. "description": "返回码",
  16157. "type": "integer",
  16158. "format": "int",
  16159. "default": 0
  16160. },
  16161. "data": {
  16162. "type": "object",
  16163. "$ref": "#/definitions/v1.GardenHouseRentListReply"
  16164. },
  16165. "message": {
  16166. "description": "消息",
  16167. "type": "string",
  16168. "default": "success"
  16169. }
  16170. }
  16171. },
  16172. "v1.HouseRentManagerItem": {
  16173. "type": "object",
  16174. "properties": {
  16175. "id": {
  16176. "type": "integer"
  16177. },
  16178. "manager_uid": {
  16179. "type": "integer"
  16180. },
  16181. "name": {
  16182. "description": "姓名",
  16183. "type": "string"
  16184. },
  16185. "phone": {
  16186. "type": "string"
  16187. },
  16188. "user_name": {
  16189. "description": "账号",
  16190. "type": "string"
  16191. }
  16192. }
  16193. },
  16194. "v1.HouseRentManagerListReply": {
  16195. "type": "object",
  16196. "properties": {
  16197. "list": {
  16198. "type": "array",
  16199. "items": {
  16200. "$ref": "#/definitions/v1.HouseRentManagerItem"
  16201. }
  16202. }
  16203. }
  16204. },
  16205. "v1.HouseRentManagerListResponse": {
  16206. "type": "object",
  16207. "properties": {
  16208. "code": {
  16209. "description": "返回码",
  16210. "type": "integer",
  16211. "format": "int",
  16212. "default": 0
  16213. },
  16214. "data": {
  16215. "type": "object",
  16216. "$ref": "#/definitions/v1.HouseRentManagerListReply"
  16217. },
  16218. "message": {
  16219. "description": "消息",
  16220. "type": "string",
  16221. "default": "success"
  16222. }
  16223. }
  16224. },
  16225. "v1.HouseRentUpdateBody": {
  16226. "type": "object",
  16227. "properties": {
  16228. "base_conf": {
  16229. "description": "基础设施 从低到高分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机",
  16230. "type": "integer"
  16231. },
  16232. "cert_pic": {
  16233. "description": "房屋证件图片",
  16234. "type": "array",
  16235. "items": {
  16236. "type": "string"
  16237. }
  16238. },
  16239. "contact_phone": {
  16240. "description": "联系人电话",
  16241. "type": "string"
  16242. },
  16243. "contacter": {
  16244. "description": "联系人",
  16245. "type": "string"
  16246. },
  16247. "decorating": {
  16248. "description": "1 精装 2 简装 3 清水",
  16249. "type": "integer"
  16250. },
  16251. "desc": {
  16252. "description": "简介",
  16253. "type": "string"
  16254. },
  16255. "desposit": {
  16256. "description": "押金",
  16257. "type": "integer"
  16258. },
  16259. "direction": {
  16260. "description": "朝向",
  16261. "type": "integer"
  16262. },
  16263. "house_id": {
  16264. "description": "房屋id",
  16265. "type": "integer"
  16266. },
  16267. "house_pic": {
  16268. "description": "房屋图片",
  16269. "type": "array",
  16270. "items": {
  16271. "type": "string"
  16272. }
  16273. },
  16274. "id": {
  16275. "type": "integer"
  16276. },
  16277. "in_time": {
  16278. "description": "可入住时间",
  16279. "type": "integer"
  16280. },
  16281. "intermediary_price": {
  16282. "description": "中介费",
  16283. "type": "integer"
  16284. },
  16285. "pay_time_type": {
  16286. "description": "1 月付 2 季付 3 半年付 4 年付",
  16287. "type": "integer"
  16288. },
  16289. "rent_price": {
  16290. "description": "月租",
  16291. "type": "integer"
  16292. },
  16293. "rent_type": {
  16294. "description": "1 整租 2 合租 3 转租",
  16295. "type": "integer"
  16296. },
  16297. "room_area": {
  16298. "description": "房间面积",
  16299. "type": "number"
  16300. },
  16301. "room_type": {
  16302. "description": "1 全部 2 主卧 3 次卧",
  16303. "type": "integer"
  16304. },
  16305. "service_price": {
  16306. "description": "服务费",
  16307. "type": "integer"
  16308. },
  16309. "special_conf": {
  16310. "description": "特色配置 从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租",
  16311. "type": "integer"
  16312. },
  16313. "wc_count": {
  16314. "type": "integer"
  16315. }
  16316. }
  16317. },
  16318. "v1.HouseRentUpdateResponse": {
  16319. "type": "object",
  16320. "properties": {
  16321. "code": {
  16322. "description": "返回码",
  16323. "type": "integer",
  16324. "format": "int",
  16325. "default": 0
  16326. },
  16327. "message": {
  16328. "description": "消息",
  16329. "type": "string",
  16330. "default": "success"
  16331. }
  16332. }
  16333. },
  16334. "v1.HouseUpdateBody": {
  16335. "type": "object",
  16336. "properties": {
  16337. "hall_count": {
  16338. "description": "几厅",
  16339. "type": "integer"
  16340. },
  16341. "house_area": {
  16342. "description": "房屋建筑面积",
  16343. "type": "number"
  16344. },
  16345. "house_number": {
  16346. "description": "门牌号",
  16347. "type": "string"
  16348. },
  16349. "house_type": {
  16350. "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅",
  16351. "type": "integer"
  16352. },
  16353. "house_used_area": {
  16354. "description": "房屋使用面积",
  16355. "type": "number"
  16356. },
  16357. "id": {
  16358. "type": "integer"
  16359. },
  16360. "layer": {
  16361. "description": "楼层",
  16362. "type": "integer"
  16363. },
  16364. "room_count": {
  16365. "description": "几室",
  16366. "type": "integer"
  16367. },
  16368. "unit_id": {
  16369. "description": "单元id",
  16370. "type": "integer"
  16371. }
  16372. }
  16373. },
  16374. "v1.HouseUpdateResponse": {
  16375. "type": "object",
  16376. "properties": {
  16377. "code": {
  16378. "description": "返回码",
  16379. "type": "integer",
  16380. "format": "int",
  16381. "default": 0
  16382. },
  16383. "message": {
  16384. "description": "消息",
  16385. "type": "string",
  16386. "default": "success"
  16387. }
  16388. }
  16389. },
  16390. "v1.HouseholdApproveBody": {
  16391. "type": "object",
  16392. "properties": {
  16393. "feedback": {
  16394. "type": "string"
  16395. },
  16396. "id": {
  16397. "type": "integer"
  16398. },
  16399. "status": {
  16400. "type": "boolean"
  16401. }
  16402. }
  16403. },
  16404. "v1.HouseholdApproveResponse": {
  16405. "type": "object",
  16406. "properties": {
  16407. "code": {
  16408. "description": "返回码",
  16409. "type": "integer",
  16410. "format": "int",
  16411. "default": 0
  16412. },
  16413. "message": {
  16414. "description": "消息",
  16415. "type": "string",
  16416. "default": "success"
  16417. }
  16418. }
  16419. },
  16420. "v1.HouseholdItem": {
  16421. "type": "object",
  16422. "properties": {
  16423. "appendix": {
  16424. "type": "array",
  16425. "items": {
  16426. "type": "string"
  16427. }
  16428. },
  16429. "approve_status": {
  16430. "type": "integer"
  16431. },
  16432. "garden_id": {
  16433. "type": "integer"
  16434. },
  16435. "garden_name": {
  16436. "type": "string"
  16437. },
  16438. "house_id": {
  16439. "type": "integer"
  16440. },
  16441. "house_name": {
  16442. "description": "房号",
  16443. "type": "string"
  16444. },
  16445. "id": {
  16446. "type": "integer"
  16447. },
  16448. "id_number": {
  16449. "description": "证件号",
  16450. "type": "string"
  16451. },
  16452. "id_type": {
  16453. "description": "1 身份证 2 护照",
  16454. "type": "integer"
  16455. },
  16456. "name": {
  16457. "type": "string"
  16458. },
  16459. "phone": {
  16460. "type": "string"
  16461. },
  16462. "uid": {
  16463. "type": "integer"
  16464. },
  16465. "user_type": {
  16466. "description": "1业主 2家人 3租客",
  16467. "type": "integer"
  16468. }
  16469. }
  16470. },
  16471. "v1.HouseholdListReply": {
  16472. "type": "object",
  16473. "properties": {
  16474. "list": {
  16475. "type": "array",
  16476. "items": {
  16477. "$ref": "#/definitions/v1.HouseholdItem"
  16478. }
  16479. },
  16480. "page": {
  16481. "type": "integer"
  16482. },
  16483. "total": {
  16484. "type": "integer"
  16485. }
  16486. }
  16487. },
  16488. "v1.HouseholdListResponse": {
  16489. "type": "object",
  16490. "properties": {
  16491. "code": {
  16492. "description": "返回码",
  16493. "type": "integer",
  16494. "format": "int",
  16495. "default": 0
  16496. },
  16497. "data": {
  16498. "type": "object",
  16499. "$ref": "#/definitions/v1.HouseholdListReply"
  16500. },
  16501. "message": {
  16502. "description": "消息",
  16503. "type": "string",
  16504. "default": "success"
  16505. }
  16506. }
  16507. },
  16508. "v1.LoginBody": {
  16509. "type": "object",
  16510. "properties": {
  16511. "password": {
  16512. "type": "string"
  16513. },
  16514. "user": {
  16515. "type": "string"
  16516. }
  16517. }
  16518. },
  16519. "v1.LoginByPhoneBody": {
  16520. "type": "object",
  16521. "properties": {
  16522. "phone": {
  16523. "type": "string"
  16524. },
  16525. "vcode": {
  16526. "description": "短信验证码",
  16527. "type": "integer"
  16528. }
  16529. }
  16530. },
  16531. "v1.LoginByPhoneData": {
  16532. "type": "object",
  16533. "properties": {
  16534. "list": {
  16535. "type": "array",
  16536. "items": {
  16537. "$ref": "#/definitions/v1.LoginByPhoneItem"
  16538. }
  16539. },
  16540. "token": {
  16541. "type": "string"
  16542. }
  16543. }
  16544. },
  16545. "v1.LoginByPhoneItem": {
  16546. "type": "object",
  16547. "properties": {
  16548. "garden_id": {
  16549. "type": "integer"
  16550. },
  16551. "garden_name": {
  16552. "type": "string"
  16553. },
  16554. "is_super": {
  16555. "type": "boolean"
  16556. },
  16557. "openim_id": {
  16558. "type": "string"
  16559. },
  16560. "permissions": {
  16561. "type": "array",
  16562. "items": {
  16563. "$ref": "#/definitions/v1.SystemGroupPermissionData"
  16564. }
  16565. },
  16566. "uid": {
  16567. "type": "integer"
  16568. },
  16569. "user": {
  16570. "type": "string"
  16571. }
  16572. }
  16573. },
  16574. "v1.LoginByPhoneResponse": {
  16575. "type": "object",
  16576. "properties": {
  16577. "code": {
  16578. "description": "返回码",
  16579. "type": "integer",
  16580. "format": "int",
  16581. "default": 0
  16582. },
  16583. "data": {
  16584. "type": "object",
  16585. "$ref": "#/definitions/v1.LoginByPhoneData"
  16586. },
  16587. "message": {
  16588. "description": "消息",
  16589. "type": "string",
  16590. "default": "success"
  16591. }
  16592. }
  16593. },
  16594. "v1.LoginData": {
  16595. "type": "object",
  16596. "properties": {
  16597. "company": {
  16598. "type": "boolean"
  16599. },
  16600. "is_super": {
  16601. "type": "boolean"
  16602. },
  16603. "openim_id": {
  16604. "type": "string"
  16605. },
  16606. "permissions": {
  16607. "type": "array",
  16608. "items": {
  16609. "$ref": "#/definitions/v1.SystemGroupPermissionData"
  16610. }
  16611. },
  16612. "token": {
  16613. "type": "string"
  16614. },
  16615. "uid": {
  16616. "type": "integer"
  16617. },
  16618. "user": {
  16619. "type": "string"
  16620. }
  16621. }
  16622. },
  16623. "v1.LoginResponse": {
  16624. "type": "object",
  16625. "properties": {
  16626. "code": {
  16627. "description": "返回码",
  16628. "type": "integer",
  16629. "format": "int",
  16630. "default": 0
  16631. },
  16632. "data": {
  16633. "type": "object",
  16634. "$ref": "#/definitions/v1.LoginData"
  16635. },
  16636. "message": {
  16637. "description": "消息",
  16638. "type": "string",
  16639. "default": "success"
  16640. },
  16641. "phone_data": {
  16642. "description": "当账号存在多个小区时使用phone_data",
  16643. "type": "object",
  16644. "$ref": "#/definitions/v1.LoginByPhoneData"
  16645. }
  16646. }
  16647. },
  16648. "v1.MaterialInfoReply": {
  16649. "type": "object",
  16650. "properties": {
  16651. "pic": {
  16652. "type": "string"
  16653. }
  16654. }
  16655. },
  16656. "v1.MaterialInfoResponse": {
  16657. "type": "object",
  16658. "properties": {
  16659. "code": {
  16660. "description": "返回码",
  16661. "type": "integer",
  16662. "format": "int",
  16663. "default": 0
  16664. },
  16665. "data": {
  16666. "type": "object",
  16667. "$ref": "#/definitions/v1.MaterialInfoReply"
  16668. },
  16669. "message": {
  16670. "description": "消息",
  16671. "type": "string",
  16672. "default": "success"
  16673. }
  16674. }
  16675. },
  16676. "v1.MaterialItem": {
  16677. "type": "object",
  16678. "properties": {
  16679. "created_at": {
  16680. "type": "integer"
  16681. },
  16682. "enable": {
  16683. "type": "integer"
  16684. },
  16685. "id": {
  16686. "type": "integer"
  16687. },
  16688. "mtype": {
  16689. "type": "integer"
  16690. },
  16691. "pic": {
  16692. "type": "string"
  16693. }
  16694. }
  16695. },
  16696. "v1.MaterialListReply": {
  16697. "type": "object",
  16698. "properties": {
  16699. "list": {
  16700. "type": "array",
  16701. "items": {
  16702. "$ref": "#/definitions/v1.MaterialItem"
  16703. }
  16704. },
  16705. "page": {
  16706. "type": "integer"
  16707. },
  16708. "total": {
  16709. "type": "integer"
  16710. }
  16711. }
  16712. },
  16713. "v1.MaterialListResponse": {
  16714. "type": "object",
  16715. "properties": {
  16716. "code": {
  16717. "description": "返回码",
  16718. "type": "integer",
  16719. "format": "int",
  16720. "default": 0
  16721. },
  16722. "data": {
  16723. "type": "object",
  16724. "$ref": "#/definitions/v1.MaterialListReply"
  16725. },
  16726. "message": {
  16727. "description": "消息",
  16728. "type": "string",
  16729. "default": "success"
  16730. }
  16731. }
  16732. },
  16733. "v1.MsgPackageItem": {
  16734. "type": "object",
  16735. "properties": {
  16736. "comment": {
  16737. "description": "套餐描述",
  16738. "type": "string"
  16739. },
  16740. "id": {
  16741. "type": "integer"
  16742. },
  16743. "msg_count": {
  16744. "description": "短信条数",
  16745. "type": "integer"
  16746. },
  16747. "name": {
  16748. "description": "套餐名称",
  16749. "type": "string"
  16750. },
  16751. "price": {
  16752. "description": "套餐价格",
  16753. "type": "integer"
  16754. }
  16755. }
  16756. },
  16757. "v1.MsgPackageListReply": {
  16758. "type": "object",
  16759. "properties": {
  16760. "list": {
  16761. "type": "array",
  16762. "items": {
  16763. "$ref": "#/definitions/v1.MsgPackageItem"
  16764. }
  16765. },
  16766. "page": {
  16767. "type": "integer"
  16768. },
  16769. "total": {
  16770. "type": "integer"
  16771. }
  16772. }
  16773. },
  16774. "v1.MsgPackageListResponse": {
  16775. "type": "object",
  16776. "properties": {
  16777. "code": {
  16778. "description": "返回码",
  16779. "type": "integer",
  16780. "format": "int",
  16781. "default": 0
  16782. },
  16783. "data": {
  16784. "type": "object",
  16785. "$ref": "#/definitions/v1.MsgPackageListReply"
  16786. },
  16787. "message": {
  16788. "description": "消息",
  16789. "type": "string",
  16790. "default": "success"
  16791. }
  16792. }
  16793. },
  16794. "v1.MsgPackageOrderAddBody": {
  16795. "type": "object",
  16796. "properties": {
  16797. "amount": {
  16798. "description": "套餐总价 price*package_count",
  16799. "type": "integer"
  16800. },
  16801. "package_count": {
  16802. "description": "套餐个数",
  16803. "type": "integer"
  16804. },
  16805. "package_id": {
  16806. "description": "套餐id",
  16807. "type": "integer"
  16808. }
  16809. }
  16810. },
  16811. "v1.MsgPackageOrderAddReply": {
  16812. "type": "object",
  16813. "properties": {
  16814. "amount": {
  16815. "description": "订单金额",
  16816. "type": "integer"
  16817. },
  16818. "bank_account": {
  16819. "description": "银行账号",
  16820. "type": "string"
  16821. },
  16822. "bank_name": {
  16823. "description": "开户行",
  16824. "type": "string"
  16825. },
  16826. "bank_user_name": {
  16827. "description": "户名",
  16828. "type": "string"
  16829. },
  16830. "garden_count": {
  16831. "type": "integer"
  16832. },
  16833. "order_id": {
  16834. "type": "integer"
  16835. },
  16836. "package_count": {
  16837. "description": "购买个数",
  16838. "type": "integer"
  16839. },
  16840. "package_name": {
  16841. "type": "string"
  16842. },
  16843. "pay_type": {
  16844. "description": "支付方式 1 对公转账",
  16845. "type": "integer"
  16846. }
  16847. }
  16848. },
  16849. "v1.MsgPackageOrderAddResponse": {
  16850. "type": "object",
  16851. "properties": {
  16852. "code": {
  16853. "description": "返回码",
  16854. "type": "integer",
  16855. "format": "int",
  16856. "default": 0
  16857. },
  16858. "data": {
  16859. "type": "object",
  16860. "$ref": "#/definitions/v1.MsgPackageOrderAddReply"
  16861. },
  16862. "message": {
  16863. "description": "消息",
  16864. "type": "string",
  16865. "default": "success"
  16866. }
  16867. }
  16868. },
  16869. "v1.MsgPackageOrderItem": {
  16870. "type": "object",
  16871. "properties": {
  16872. "amount": {
  16873. "description": "订单总价",
  16874. "type": "integer"
  16875. },
  16876. "comment": {
  16877. "type": "string"
  16878. },
  16879. "created_at": {
  16880. "type": "integer"
  16881. },
  16882. "feedback": {
  16883. "type": "string"
  16884. },
  16885. "garden_id": {
  16886. "type": "integer"
  16887. },
  16888. "garden_name": {
  16889. "type": "string"
  16890. },
  16891. "msg_available_count": {
  16892. "description": "订单套餐短信剩余条数",
  16893. "type": "integer"
  16894. },
  16895. "msg_count": {
  16896. "description": "套餐短信条数",
  16897. "type": "integer"
  16898. },
  16899. "msg_total_count": {
  16900. "description": "订单套餐短信总条数",
  16901. "type": "integer"
  16902. },
  16903. "name": {
  16904. "type": "string"
  16905. },
  16906. "order_id": {
  16907. "type": "integer"
  16908. },
  16909. "package_count": {
  16910. "description": "订单包含的套餐个数",
  16911. "type": "integer"
  16912. },
  16913. "package_id": {
  16914. "type": "integer"
  16915. },
  16916. "price": {
  16917. "description": "套餐单价",
  16918. "type": "integer"
  16919. },
  16920. "status": {
  16921. "description": "1 待审核 2 通过 3 未通过",
  16922. "type": "integer"
  16923. }
  16924. }
  16925. },
  16926. "v1.MsgPackageOrderListReply": {
  16927. "type": "object",
  16928. "properties": {
  16929. "list": {
  16930. "type": "array",
  16931. "items": {
  16932. "$ref": "#/definitions/v1.MsgPackageOrderItem"
  16933. }
  16934. },
  16935. "page": {
  16936. "type": "integer"
  16937. },
  16938. "total": {
  16939. "type": "integer"
  16940. }
  16941. }
  16942. },
  16943. "v1.MsgPackageOrderListResponse": {
  16944. "type": "object",
  16945. "properties": {
  16946. "code": {
  16947. "description": "返回码",
  16948. "type": "integer",
  16949. "format": "int",
  16950. "default": 0
  16951. },
  16952. "data": {
  16953. "type": "object",
  16954. "$ref": "#/definitions/v1.MsgPackageOrderListReply"
  16955. },
  16956. "message": {
  16957. "description": "消息",
  16958. "type": "string",
  16959. "default": "success"
  16960. }
  16961. }
  16962. },
  16963. "v1.NeighborArticleDelResponse": {
  16964. "type": "object",
  16965. "properties": {
  16966. "code": {
  16967. "description": "返回码",
  16968. "type": "integer",
  16969. "format": "int",
  16970. "default": 0
  16971. },
  16972. "message": {
  16973. "description": "消息",
  16974. "type": "string",
  16975. "default": "success"
  16976. }
  16977. }
  16978. },
  16979. "v1.NeighborArticleItem": {
  16980. "type": "object",
  16981. "properties": {
  16982. "class_id": {
  16983. "description": "分类id",
  16984. "type": "integer"
  16985. },
  16986. "comment_count": {
  16987. "description": "评论总数",
  16988. "type": "integer"
  16989. },
  16990. "content": {
  16991. "type": "string"
  16992. },
  16993. "created_at": {
  16994. "type": "string"
  16995. },
  16996. "id": {
  16997. "type": "integer"
  16998. },
  16999. "like": {
  17000. "description": "true 本人已点赞 false 本人未点赞",
  17001. "type": "boolean"
  17002. },
  17003. "likes": {
  17004. "description": "文章点赞数",
  17005. "type": "integer"
  17006. },
  17007. "owner": {
  17008. "description": "是否是本人发布的文章",
  17009. "type": "boolean"
  17010. },
  17011. "pics": {
  17012. "type": "array",
  17013. "items": {
  17014. "type": "string"
  17015. }
  17016. },
  17017. "title": {
  17018. "type": "string"
  17019. },
  17020. "uid": {
  17021. "type": "integer"
  17022. },
  17023. "updated_at": {
  17024. "type": "string"
  17025. },
  17026. "user_icon": {
  17027. "description": "用户头像",
  17028. "type": "string"
  17029. },
  17030. "user_name": {
  17031. "type": "string"
  17032. },
  17033. "user_phone": {
  17034. "type": "string"
  17035. }
  17036. }
  17037. },
  17038. "v1.NeighborArticleListReply": {
  17039. "type": "object",
  17040. "properties": {
  17041. "list": {
  17042. "type": "array",
  17043. "items": {
  17044. "$ref": "#/definitions/v1.NeighborArticleItem"
  17045. }
  17046. },
  17047. "page": {
  17048. "type": "integer"
  17049. },
  17050. "total": {
  17051. "type": "integer"
  17052. }
  17053. }
  17054. },
  17055. "v1.NeighborArticleListResponse": {
  17056. "type": "object",
  17057. "properties": {
  17058. "code": {
  17059. "description": "返回码",
  17060. "type": "integer",
  17061. "format": "int",
  17062. "default": 0
  17063. },
  17064. "data": {
  17065. "type": "object",
  17066. "$ref": "#/definitions/v1.NeighborArticleListReply"
  17067. },
  17068. "message": {
  17069. "description": "消息",
  17070. "type": "string",
  17071. "default": "success"
  17072. }
  17073. }
  17074. },
  17075. "v1.NeighborClassAddBody": {
  17076. "type": "object",
  17077. "properties": {
  17078. "class_name": {
  17079. "type": "string"
  17080. },
  17081. "class_pic": {
  17082. "description": "分类图标",
  17083. "type": "string"
  17084. },
  17085. "enable": {
  17086. "description": "true 开启 false 禁用",
  17087. "type": "boolean"
  17088. }
  17089. }
  17090. },
  17091. "v1.NeighborClassAddResponse": {
  17092. "type": "object",
  17093. "properties": {
  17094. "code": {
  17095. "description": "返回码",
  17096. "type": "integer",
  17097. "format": "int",
  17098. "default": 0
  17099. },
  17100. "message": {
  17101. "description": "消息",
  17102. "type": "string",
  17103. "default": "success"
  17104. }
  17105. }
  17106. },
  17107. "v1.NeighborClassDelResponse": {
  17108. "type": "object",
  17109. "properties": {
  17110. "code": {
  17111. "description": "返回码",
  17112. "type": "integer",
  17113. "format": "int",
  17114. "default": 0
  17115. },
  17116. "message": {
  17117. "description": "消息",
  17118. "type": "string",
  17119. "default": "success"
  17120. }
  17121. }
  17122. },
  17123. "v1.NeighborClassItem": {
  17124. "type": "object",
  17125. "properties": {
  17126. "article_count": {
  17127. "description": "分类下的文章总数",
  17128. "type": "integer"
  17129. },
  17130. "class_name": {
  17131. "type": "string"
  17132. },
  17133. "class_pic": {
  17134. "type": "string"
  17135. },
  17136. "created_at": {
  17137. "description": "分类创建时间",
  17138. "type": "string"
  17139. },
  17140. "enable": {
  17141. "type": "boolean"
  17142. },
  17143. "id": {
  17144. "type": "integer"
  17145. },
  17146. "updated_at": {
  17147. "description": "分类结束时间",
  17148. "type": "string"
  17149. }
  17150. }
  17151. },
  17152. "v1.NeighborClassListReply": {
  17153. "type": "object",
  17154. "properties": {
  17155. "list": {
  17156. "type": "array",
  17157. "items": {
  17158. "$ref": "#/definitions/v1.NeighborClassItem"
  17159. }
  17160. },
  17161. "page": {
  17162. "type": "integer"
  17163. },
  17164. "total": {
  17165. "type": "integer"
  17166. }
  17167. }
  17168. },
  17169. "v1.NeighborClassListResponse": {
  17170. "type": "object",
  17171. "properties": {
  17172. "code": {
  17173. "description": "返回码",
  17174. "type": "integer",
  17175. "format": "int",
  17176. "default": 0
  17177. },
  17178. "data": {
  17179. "type": "object",
  17180. "$ref": "#/definitions/v1.NeighborClassListReply"
  17181. },
  17182. "message": {
  17183. "description": "消息",
  17184. "type": "string",
  17185. "default": "success"
  17186. }
  17187. }
  17188. },
  17189. "v1.NeighborClassUpdateBody": {
  17190. "type": "object",
  17191. "properties": {
  17192. "class_name": {
  17193. "type": "string"
  17194. },
  17195. "class_pic": {
  17196. "description": "分类图标",
  17197. "type": "string"
  17198. },
  17199. "enable": {
  17200. "description": "true 开启 false 禁用",
  17201. "type": "boolean"
  17202. },
  17203. "id": {
  17204. "type": "integer"
  17205. }
  17206. }
  17207. },
  17208. "v1.NeighborClassUpdateResponse": {
  17209. "type": "object",
  17210. "properties": {
  17211. "code": {
  17212. "description": "返回码",
  17213. "type": "integer",
  17214. "format": "int",
  17215. "default": 0
  17216. },
  17217. "message": {
  17218. "description": "消息",
  17219. "type": "string",
  17220. "default": "success"
  17221. }
  17222. }
  17223. },
  17224. "v1.NeighborCommentDelResponse": {
  17225. "type": "object",
  17226. "properties": {
  17227. "code": {
  17228. "description": "返回码",
  17229. "type": "integer",
  17230. "format": "int",
  17231. "default": 0
  17232. },
  17233. "message": {
  17234. "description": "消息",
  17235. "type": "string",
  17236. "default": "success"
  17237. }
  17238. }
  17239. },
  17240. "v1.NeighborCommentItem": {
  17241. "type": "object",
  17242. "properties": {
  17243. "content": {
  17244. "type": "string"
  17245. },
  17246. "created_at": {
  17247. "type": "string"
  17248. },
  17249. "id": {
  17250. "type": "integer"
  17251. },
  17252. "like": {
  17253. "description": "本人是否点赞",
  17254. "type": "boolean"
  17255. },
  17256. "likes": {
  17257. "description": "点赞数",
  17258. "type": "integer"
  17259. },
  17260. "owner": {
  17261. "description": "是否是本人发布的文章",
  17262. "type": "boolean"
  17263. },
  17264. "pics": {
  17265. "type": "array",
  17266. "items": {
  17267. "type": "string"
  17268. }
  17269. },
  17270. "sub_comment_count": {
  17271. "description": "子评论数",
  17272. "type": "integer"
  17273. },
  17274. "uid": {
  17275. "type": "integer"
  17276. },
  17277. "updated_at": {
  17278. "type": "string"
  17279. },
  17280. "user_icon": {
  17281. "description": "用户头像",
  17282. "type": "string"
  17283. },
  17284. "user_name": {
  17285. "type": "string"
  17286. },
  17287. "user_phone": {
  17288. "type": "string"
  17289. }
  17290. }
  17291. },
  17292. "v1.NeighborCommentListReply": {
  17293. "type": "object",
  17294. "properties": {
  17295. "list": {
  17296. "type": "array",
  17297. "items": {
  17298. "$ref": "#/definitions/v1.NeighborCommentItem"
  17299. }
  17300. },
  17301. "page": {
  17302. "type": "integer"
  17303. },
  17304. "total": {
  17305. "type": "integer"
  17306. }
  17307. }
  17308. },
  17309. "v1.NeighborCommentListResponse": {
  17310. "type": "object",
  17311. "properties": {
  17312. "code": {
  17313. "description": "返回码",
  17314. "type": "integer",
  17315. "format": "int",
  17316. "default": 0
  17317. },
  17318. "data": {
  17319. "type": "object",
  17320. "$ref": "#/definitions/v1.NeighborCommentListReply"
  17321. },
  17322. "message": {
  17323. "description": "消息",
  17324. "type": "string",
  17325. "default": "success"
  17326. }
  17327. }
  17328. },
  17329. "v1.OpenImTokenReply": {
  17330. "type": "object",
  17331. "properties": {
  17332. "expire_at": {
  17333. "type": "integer"
  17334. },
  17335. "token": {
  17336. "type": "string"
  17337. }
  17338. }
  17339. },
  17340. "v1.OpenImTokenResponse": {
  17341. "type": "object",
  17342. "properties": {
  17343. "code": {
  17344. "description": "返回码",
  17345. "type": "integer",
  17346. "format": "int",
  17347. "default": 0
  17348. },
  17349. "data": {
  17350. "type": "object",
  17351. "$ref": "#/definitions/v1.OpenImTokenReply"
  17352. },
  17353. "message": {
  17354. "description": "消息",
  17355. "type": "string",
  17356. "default": "success"
  17357. }
  17358. }
  17359. },
  17360. "v1.OpenImUserData": {
  17361. "type": "object",
  17362. "properties": {
  17363. "face_url": {
  17364. "type": "string"
  17365. },
  17366. "gender": {
  17367. "type": "integer"
  17368. },
  17369. "nick_name": {
  17370. "type": "string"
  17371. },
  17372. "openim_id": {
  17373. "type": "string"
  17374. }
  17375. }
  17376. },
  17377. "v1.OpenImUserInfoReply": {
  17378. "type": "object",
  17379. "properties": {
  17380. "list": {
  17381. "type": "array",
  17382. "items": {
  17383. "$ref": "#/definitions/v1.OpenImUserData"
  17384. }
  17385. }
  17386. }
  17387. },
  17388. "v1.OpenImUserInfoResponse": {
  17389. "type": "object",
  17390. "properties": {
  17391. "code": {
  17392. "description": "返回码",
  17393. "type": "integer",
  17394. "format": "int",
  17395. "default": 0
  17396. },
  17397. "data": {
  17398. "type": "object",
  17399. "$ref": "#/definitions/v1.OpenImUserData"
  17400. },
  17401. "message": {
  17402. "description": "消息",
  17403. "type": "string",
  17404. "default": "success"
  17405. }
  17406. }
  17407. },
  17408. "v1.OpenImUserSetFaceBody": {
  17409. "type": "object",
  17410. "properties": {
  17411. "face_url": {
  17412. "type": "string"
  17413. },
  17414. "openim_id": {
  17415. "type": "string"
  17416. }
  17417. }
  17418. },
  17419. "v1.OpenImUserSetFaceResponse": {
  17420. "type": "object",
  17421. "properties": {
  17422. "code": {
  17423. "description": "返回码",
  17424. "type": "integer",
  17425. "format": "int",
  17426. "default": 0
  17427. },
  17428. "message": {
  17429. "description": "消息",
  17430. "type": "string",
  17431. "default": "success"
  17432. }
  17433. }
  17434. },
  17435. "v1.OpenImUsersInfoResponse": {
  17436. "type": "object",
  17437. "properties": {
  17438. "code": {
  17439. "description": "返回码",
  17440. "type": "integer",
  17441. "format": "int",
  17442. "default": 0
  17443. },
  17444. "data": {
  17445. "type": "object",
  17446. "$ref": "#/definitions/v1.OpenImUserInfoReply"
  17447. },
  17448. "message": {
  17449. "description": "消息",
  17450. "type": "string",
  17451. "default": "success"
  17452. }
  17453. }
  17454. },
  17455. "v1.ParkAddBody": {
  17456. "type": "object",
  17457. "properties": {
  17458. "comment": {
  17459. "type": "string"
  17460. },
  17461. "park_name": {
  17462. "type": "string"
  17463. },
  17464. "park_number": {
  17465. "type": "string"
  17466. },
  17467. "park_type": {
  17468. "type": "integer"
  17469. }
  17470. }
  17471. },
  17472. "v1.ParkAddReply": {
  17473. "type": "object",
  17474. "properties": {
  17475. "id": {
  17476. "type": "integer"
  17477. }
  17478. }
  17479. },
  17480. "v1.ParkAddResponse": {
  17481. "type": "object",
  17482. "properties": {
  17483. "code": {
  17484. "description": "返回码",
  17485. "type": "integer",
  17486. "format": "int",
  17487. "default": 0
  17488. },
  17489. "data": {
  17490. "type": "object",
  17491. "$ref": "#/definitions/v1.ParkAddReply"
  17492. },
  17493. "message": {
  17494. "description": "消息",
  17495. "type": "string",
  17496. "default": "success"
  17497. }
  17498. }
  17499. },
  17500. "v1.ParkDelResponse": {
  17501. "type": "object",
  17502. "properties": {
  17503. "code": {
  17504. "description": "返回码",
  17505. "type": "integer",
  17506. "format": "int",
  17507. "default": 0
  17508. },
  17509. "message": {
  17510. "description": "消息",
  17511. "type": "string",
  17512. "default": "success"
  17513. }
  17514. }
  17515. },
  17516. "v1.ParkItem": {
  17517. "type": "object",
  17518. "properties": {
  17519. "comment": {
  17520. "type": "string"
  17521. },
  17522. "created_at": {
  17523. "type": "string"
  17524. },
  17525. "garden_id": {
  17526. "type": "integer"
  17527. },
  17528. "id": {
  17529. "type": "integer"
  17530. },
  17531. "park_name": {
  17532. "type": "string"
  17533. },
  17534. "park_number": {
  17535. "type": "string"
  17536. },
  17537. "park_type": {
  17538. "type": "integer"
  17539. },
  17540. "space_count": {
  17541. "type": "integer"
  17542. }
  17543. }
  17544. },
  17545. "v1.ParkListReply": {
  17546. "type": "object",
  17547. "properties": {
  17548. "list": {
  17549. "type": "array",
  17550. "items": {
  17551. "$ref": "#/definitions/v1.ParkItem"
  17552. }
  17553. }
  17554. }
  17555. },
  17556. "v1.ParkListResponse": {
  17557. "type": "object",
  17558. "properties": {
  17559. "code": {
  17560. "description": "返回码",
  17561. "type": "integer",
  17562. "format": "int",
  17563. "default": 0
  17564. },
  17565. "data": {
  17566. "type": "object",
  17567. "$ref": "#/definitions/v1.ParkListReply"
  17568. },
  17569. "message": {
  17570. "description": "消息",
  17571. "type": "string",
  17572. "default": "success"
  17573. }
  17574. }
  17575. },
  17576. "v1.ParkSpaceAddBody": {
  17577. "type": "object",
  17578. "properties": {
  17579. "comment": {
  17580. "type": "string"
  17581. },
  17582. "house_id": {
  17583. "type": "integer"
  17584. },
  17585. "park_id": {
  17586. "type": "integer"
  17587. },
  17588. "space_area": {
  17589. "type": "number"
  17590. },
  17591. "space_number": {
  17592. "type": "string"
  17593. },
  17594. "space_type": {
  17595. "type": "integer"
  17596. }
  17597. }
  17598. },
  17599. "v1.ParkSpaceDelResponse": {
  17600. "type": "object",
  17601. "properties": {
  17602. "code": {
  17603. "description": "返回码",
  17604. "type": "integer",
  17605. "format": "int",
  17606. "default": 0
  17607. },
  17608. "message": {
  17609. "description": "消息",
  17610. "type": "string",
  17611. "default": "success"
  17612. }
  17613. }
  17614. },
  17615. "v1.ParkSpaceItem": {
  17616. "type": "object",
  17617. "properties": {
  17618. "comment": {
  17619. "type": "string"
  17620. },
  17621. "created_at": {
  17622. "type": "string"
  17623. },
  17624. "house_id": {
  17625. "type": "integer"
  17626. },
  17627. "house_name": {
  17628. "type": "string"
  17629. },
  17630. "id": {
  17631. "type": "integer"
  17632. },
  17633. "park_id": {
  17634. "type": "integer"
  17635. },
  17636. "park_name": {
  17637. "type": "string"
  17638. },
  17639. "park_number": {
  17640. "type": "string"
  17641. },
  17642. "park_type": {
  17643. "type": "integer"
  17644. },
  17645. "plate_no": {
  17646. "type": "string"
  17647. },
  17648. "space_area": {
  17649. "type": "number"
  17650. },
  17651. "space_number": {
  17652. "type": "string"
  17653. },
  17654. "space_type": {
  17655. "type": "integer"
  17656. },
  17657. "status": {
  17658. "description": "1 空闲 2 已售 3 已租",
  17659. "type": "integer"
  17660. }
  17661. }
  17662. },
  17663. "v1.ParkSpaceListReply": {
  17664. "type": "object",
  17665. "properties": {
  17666. "list": {
  17667. "type": "array",
  17668. "items": {
  17669. "$ref": "#/definitions/v1.ParkSpaceItem"
  17670. }
  17671. },
  17672. "page": {
  17673. "type": "integer"
  17674. },
  17675. "total": {
  17676. "type": "integer"
  17677. }
  17678. }
  17679. },
  17680. "v1.ParkSpaceListResponse": {
  17681. "type": "object",
  17682. "properties": {
  17683. "code": {
  17684. "description": "返回码",
  17685. "type": "integer",
  17686. "format": "int",
  17687. "default": 0
  17688. },
  17689. "data": {
  17690. "type": "object",
  17691. "$ref": "#/definitions/v1.ParkSpaceListReply"
  17692. },
  17693. "message": {
  17694. "description": "消息",
  17695. "type": "string",
  17696. "default": "success"
  17697. }
  17698. }
  17699. },
  17700. "v1.ParkSpaceUpdateBody": {
  17701. "type": "object",
  17702. "properties": {
  17703. "comment": {
  17704. "type": "string"
  17705. },
  17706. "house_id": {
  17707. "type": "integer"
  17708. },
  17709. "id": {
  17710. "type": "integer"
  17711. },
  17712. "park_id": {
  17713. "type": "integer"
  17714. },
  17715. "space_area": {
  17716. "type": "number"
  17717. },
  17718. "space_number": {
  17719. "type": "string"
  17720. },
  17721. "space_type": {
  17722. "type": "integer"
  17723. }
  17724. }
  17725. },
  17726. "v1.ParkSpaceUpdateResponse": {
  17727. "type": "object",
  17728. "properties": {
  17729. "code": {
  17730. "description": "返回码",
  17731. "type": "integer",
  17732. "format": "int",
  17733. "default": 0
  17734. },
  17735. "message": {
  17736. "description": "消息",
  17737. "type": "string",
  17738. "default": "success"
  17739. }
  17740. }
  17741. },
  17742. "v1.ParkUpdateBody": {
  17743. "type": "object",
  17744. "properties": {
  17745. "comment": {
  17746. "type": "string"
  17747. },
  17748. "id": {
  17749. "type": "integer"
  17750. },
  17751. "park_name": {
  17752. "type": "string"
  17753. },
  17754. "park_number": {
  17755. "type": "string"
  17756. },
  17757. "park_type": {
  17758. "type": "integer"
  17759. }
  17760. }
  17761. },
  17762. "v1.ParkUpdateResponse": {
  17763. "type": "object",
  17764. "properties": {
  17765. "code": {
  17766. "description": "返回码",
  17767. "type": "integer",
  17768. "format": "int",
  17769. "default": 0
  17770. },
  17771. "message": {
  17772. "description": "消息",
  17773. "type": "string",
  17774. "default": "success"
  17775. }
  17776. }
  17777. },
  17778. "v1.PersonInfoData": {
  17779. "type": "object",
  17780. "properties": {
  17781. "department": {
  17782. "type": "string"
  17783. },
  17784. "email": {
  17785. "type": "string"
  17786. },
  17787. "gender": {
  17788. "type": "integer"
  17789. },
  17790. "phone": {
  17791. "type": "string"
  17792. },
  17793. "real_name": {
  17794. "type": "string"
  17795. },
  17796. "user": {
  17797. "type": "string"
  17798. }
  17799. }
  17800. },
  17801. "v1.PersonInfoResponse": {
  17802. "type": "object",
  17803. "properties": {
  17804. "code": {
  17805. "description": "返回码",
  17806. "type": "integer",
  17807. "format": "int",
  17808. "default": 0
  17809. },
  17810. "data": {
  17811. "type": "object",
  17812. "$ref": "#/definitions/v1.PersonInfoData"
  17813. },
  17814. "message": {
  17815. "description": "消息",
  17816. "type": "string",
  17817. "default": "success"
  17818. }
  17819. }
  17820. },
  17821. "v1.PersonInfoUpdateResponse": {
  17822. "type": "object",
  17823. "properties": {
  17824. "code": {
  17825. "description": "返回码",
  17826. "type": "integer",
  17827. "format": "int",
  17828. "default": 0
  17829. },
  17830. "message": {
  17831. "description": "消息",
  17832. "type": "string",
  17833. "default": "success"
  17834. }
  17835. }
  17836. },
  17837. "v1.PowerRecordAddBody": {
  17838. "type": "object",
  17839. "properties": {
  17840. "charge_type": {
  17841. "description": "费用类型",
  17842. "type": "integer"
  17843. },
  17844. "comment": {
  17845. "description": "备注",
  17846. "type": "string"
  17847. },
  17848. "current_amount": {
  17849. "description": "本期抄表数",
  17850. "type": "number"
  17851. },
  17852. "end": {
  17853. "description": "结束时间戳",
  17854. "type": "integer"
  17855. },
  17856. "house_id": {
  17857. "description": "房屋id",
  17858. "type": "integer"
  17859. },
  17860. "last_amount": {
  17861. "description": "上期抄表数",
  17862. "type": "number"
  17863. },
  17864. "start": {
  17865. "description": "开始时间戳",
  17866. "type": "integer"
  17867. }
  17868. }
  17869. },
  17870. "v1.PowerRecordAddReply": {
  17871. "type": "object"
  17872. },
  17873. "v1.PowerRecordAddResponse": {
  17874. "type": "object",
  17875. "properties": {
  17876. "code": {
  17877. "description": "返回码",
  17878. "type": "integer",
  17879. "format": "int",
  17880. "default": 0
  17881. },
  17882. "data": {
  17883. "type": "object",
  17884. "$ref": "#/definitions/v1.PowerRecordAddReply"
  17885. },
  17886. "message": {
  17887. "description": "消息",
  17888. "type": "string",
  17889. "default": "success"
  17890. }
  17891. }
  17892. },
  17893. "v1.PowerRecordBatchAddResponse": {
  17894. "type": "object",
  17895. "properties": {
  17896. "code": {
  17897. "description": "返回码",
  17898. "type": "integer",
  17899. "format": "int",
  17900. "default": 0
  17901. },
  17902. "message": {
  17903. "description": "消息",
  17904. "type": "string",
  17905. "default": "success"
  17906. }
  17907. }
  17908. },
  17909. "v1.PowerRecordDelResponse": {
  17910. "type": "object",
  17911. "properties": {
  17912. "code": {
  17913. "description": "返回码",
  17914. "type": "integer",
  17915. "format": "int",
  17916. "default": 0
  17917. },
  17918. "message": {
  17919. "description": "消息",
  17920. "type": "string",
  17921. "default": "success"
  17922. }
  17923. }
  17924. },
  17925. "v1.PowerRecordItem": {
  17926. "type": "object",
  17927. "properties": {
  17928. "charge_type": {
  17929. "type": "integer"
  17930. },
  17931. "comment": {
  17932. "type": "string"
  17933. },
  17934. "created_at": {
  17935. "type": "integer"
  17936. },
  17937. "current_amount": {
  17938. "type": "number"
  17939. },
  17940. "end": {
  17941. "type": "integer"
  17942. },
  17943. "has_bill": {
  17944. "type": "boolean"
  17945. },
  17946. "house_id": {
  17947. "type": "integer"
  17948. },
  17949. "house_name": {
  17950. "type": "string"
  17951. },
  17952. "id": {
  17953. "type": "integer"
  17954. },
  17955. "last_amount": {
  17956. "type": "number"
  17957. },
  17958. "read_at": {
  17959. "type": "integer"
  17960. },
  17961. "start": {
  17962. "type": "integer"
  17963. }
  17964. }
  17965. },
  17966. "v1.PowerRecordListReply": {
  17967. "type": "object",
  17968. "properties": {
  17969. "list": {
  17970. "type": "array",
  17971. "items": {
  17972. "$ref": "#/definitions/v1.PowerRecordItem"
  17973. }
  17974. },
  17975. "page": {
  17976. "type": "integer"
  17977. },
  17978. "total": {
  17979. "type": "integer"
  17980. }
  17981. }
  17982. },
  17983. "v1.PowerRecordListResponse": {
  17984. "type": "object",
  17985. "properties": {
  17986. "code": {
  17987. "description": "返回码",
  17988. "type": "integer",
  17989. "format": "int",
  17990. "default": 0
  17991. },
  17992. "data": {
  17993. "type": "object",
  17994. "$ref": "#/definitions/v1.PowerRecordListReply"
  17995. },
  17996. "message": {
  17997. "description": "消息",
  17998. "type": "string",
  17999. "default": "success"
  18000. }
  18001. }
  18002. },
  18003. "v1.PropertyPackageAddBody": {
  18004. "type": "object",
  18005. "properties": {
  18006. "enable": {
  18007. "type": "boolean"
  18008. },
  18009. "give_content": {
  18010. "description": "增送文本",
  18011. "type": "string"
  18012. },
  18013. "give_months": {
  18014. "description": "赠送月数",
  18015. "type": "integer"
  18016. },
  18017. "package_type": {
  18018. "description": "1 按月 2 按文本",
  18019. "type": "integer"
  18020. },
  18021. "pay_months": {
  18022. "description": "购买月数",
  18023. "type": "integer"
  18024. }
  18025. }
  18026. },
  18027. "v1.PropertyPackageAddReply": {
  18028. "type": "object",
  18029. "properties": {
  18030. "id": {
  18031. "type": "integer"
  18032. }
  18033. }
  18034. },
  18035. "v1.PropertyPackageAddResponse": {
  18036. "type": "object",
  18037. "properties": {
  18038. "code": {
  18039. "description": "返回码",
  18040. "type": "integer",
  18041. "format": "int",
  18042. "default": 0
  18043. },
  18044. "data": {
  18045. "type": "object",
  18046. "$ref": "#/definitions/v1.PropertyPackageAddReply"
  18047. },
  18048. "message": {
  18049. "description": "消息",
  18050. "type": "string",
  18051. "default": "success"
  18052. }
  18053. }
  18054. },
  18055. "v1.PropertyPackageDelResponse": {
  18056. "type": "object",
  18057. "properties": {
  18058. "code": {
  18059. "description": "返回码",
  18060. "type": "integer",
  18061. "format": "int",
  18062. "default": 0
  18063. },
  18064. "message": {
  18065. "description": "消息",
  18066. "type": "string",
  18067. "default": "success"
  18068. }
  18069. }
  18070. },
  18071. "v1.PropertyPackageItem": {
  18072. "type": "object",
  18073. "properties": {
  18074. "enable": {
  18075. "type": "boolean"
  18076. },
  18077. "give_content": {
  18078. "description": "增送文本",
  18079. "type": "string"
  18080. },
  18081. "give_months": {
  18082. "description": "赠送月数",
  18083. "type": "integer"
  18084. },
  18085. "id": {
  18086. "type": "integer"
  18087. },
  18088. "package_type": {
  18089. "description": "1 按月 2 按文本",
  18090. "type": "integer"
  18091. },
  18092. "pay_months": {
  18093. "description": "购买月数",
  18094. "type": "integer"
  18095. }
  18096. }
  18097. },
  18098. "v1.PropertyPackageListReply": {
  18099. "type": "object",
  18100. "properties": {
  18101. "list": {
  18102. "type": "array",
  18103. "items": {
  18104. "$ref": "#/definitions/v1.PropertyPackageItem"
  18105. }
  18106. },
  18107. "page": {
  18108. "type": "integer"
  18109. },
  18110. "total": {
  18111. "type": "integer"
  18112. }
  18113. }
  18114. },
  18115. "v1.PropertyPackageListResponse": {
  18116. "type": "object",
  18117. "properties": {
  18118. "code": {
  18119. "description": "返回码",
  18120. "type": "integer",
  18121. "format": "int",
  18122. "default": 0
  18123. },
  18124. "data": {
  18125. "type": "object",
  18126. "$ref": "#/definitions/v1.PropertyPackageListReply"
  18127. },
  18128. "message": {
  18129. "description": "消息",
  18130. "type": "string",
  18131. "default": "success"
  18132. }
  18133. }
  18134. },
  18135. "v1.PropertyPackageUpdateBody": {
  18136. "type": "object",
  18137. "properties": {
  18138. "enable": {
  18139. "type": "boolean"
  18140. },
  18141. "give_content": {
  18142. "description": "增送文本",
  18143. "type": "string"
  18144. },
  18145. "give_months": {
  18146. "description": "赠送月数",
  18147. "type": "integer"
  18148. },
  18149. "id": {
  18150. "type": "integer"
  18151. },
  18152. "package_type": {
  18153. "description": "1 按月 2 按文本",
  18154. "type": "integer"
  18155. },
  18156. "pay_months": {
  18157. "description": "购买月数",
  18158. "type": "integer"
  18159. }
  18160. }
  18161. },
  18162. "v1.PropertyPackageUpdateResponse": {
  18163. "type": "object",
  18164. "properties": {
  18165. "code": {
  18166. "description": "返回码",
  18167. "type": "integer",
  18168. "format": "int",
  18169. "default": 0
  18170. },
  18171. "message": {
  18172. "description": "消息",
  18173. "type": "string",
  18174. "default": "success"
  18175. }
  18176. }
  18177. },
  18178. "v1.RepairClassAddBody": {
  18179. "type": "object",
  18180. "properties": {
  18181. "area": {
  18182. "description": "1 公共区域 2 室内",
  18183. "type": "integer"
  18184. },
  18185. "enable": {
  18186. "type": "boolean"
  18187. },
  18188. "name": {
  18189. "type": "string"
  18190. }
  18191. }
  18192. },
  18193. "v1.RepairClassAddReply": {
  18194. "type": "object",
  18195. "properties": {
  18196. "id": {
  18197. "type": "integer"
  18198. }
  18199. }
  18200. },
  18201. "v1.RepairClassAddResponse": {
  18202. "type": "object",
  18203. "properties": {
  18204. "code": {
  18205. "description": "返回码",
  18206. "type": "integer",
  18207. "format": "int",
  18208. "default": 0
  18209. },
  18210. "data": {
  18211. "type": "object",
  18212. "$ref": "#/definitions/v1.RepairClassAddReply"
  18213. },
  18214. "message": {
  18215. "description": "消息",
  18216. "type": "string",
  18217. "default": "success"
  18218. }
  18219. }
  18220. },
  18221. "v1.RepairClassDelResponse": {
  18222. "type": "object",
  18223. "properties": {
  18224. "code": {
  18225. "description": "返回码",
  18226. "type": "integer",
  18227. "format": "int",
  18228. "default": 0
  18229. },
  18230. "message": {
  18231. "description": "消息",
  18232. "type": "string",
  18233. "default": "success"
  18234. }
  18235. }
  18236. },
  18237. "v1.RepairClassItem": {
  18238. "type": "object",
  18239. "properties": {
  18240. "area": {
  18241. "type": "integer"
  18242. },
  18243. "enable": {
  18244. "type": "boolean"
  18245. },
  18246. "id": {
  18247. "type": "integer"
  18248. },
  18249. "name": {
  18250. "type": "string"
  18251. }
  18252. }
  18253. },
  18254. "v1.RepairClassListReply": {
  18255. "type": "object",
  18256. "properties": {
  18257. "list": {
  18258. "type": "array",
  18259. "items": {
  18260. "$ref": "#/definitions/v1.RepairClassItem"
  18261. }
  18262. },
  18263. "page": {
  18264. "type": "integer"
  18265. },
  18266. "total": {
  18267. "type": "integer"
  18268. }
  18269. }
  18270. },
  18271. "v1.RepairClassListResponse": {
  18272. "type": "object",
  18273. "properties": {
  18274. "code": {
  18275. "description": "返回码",
  18276. "type": "integer",
  18277. "format": "int",
  18278. "default": 0
  18279. },
  18280. "data": {
  18281. "type": "object",
  18282. "$ref": "#/definitions/v1.RepairClassListReply"
  18283. },
  18284. "message": {
  18285. "description": "消息",
  18286. "type": "string",
  18287. "default": "success"
  18288. }
  18289. }
  18290. },
  18291. "v1.RepairClassUpdateBody": {
  18292. "type": "object",
  18293. "properties": {
  18294. "area": {
  18295. "type": "integer"
  18296. },
  18297. "enable": {
  18298. "type": "boolean"
  18299. },
  18300. "id": {
  18301. "type": "integer"
  18302. },
  18303. "name": {
  18304. "type": "string"
  18305. }
  18306. }
  18307. },
  18308. "v1.RepairClassUpdateResponse": {
  18309. "type": "object",
  18310. "properties": {
  18311. "code": {
  18312. "description": "返回码",
  18313. "type": "integer",
  18314. "format": "int",
  18315. "default": 0
  18316. },
  18317. "message": {
  18318. "description": "消息",
  18319. "type": "string",
  18320. "default": "success"
  18321. }
  18322. }
  18323. },
  18324. "v1.RepairOrderAddBody": {
  18325. "type": "object",
  18326. "properties": {
  18327. "apply_content": {
  18328. "description": "报修内容",
  18329. "type": "string"
  18330. },
  18331. "apply_people": {
  18332. "description": "报修人",
  18333. "type": "string"
  18334. },
  18335. "apply_people_phone": {
  18336. "description": "报修人电话",
  18337. "type": "string"
  18338. },
  18339. "apply_pic": {
  18340. "description": "报修图片",
  18341. "type": "array",
  18342. "items": {
  18343. "type": "string"
  18344. }
  18345. },
  18346. "appointment": {
  18347. "description": "预约时间",
  18348. "type": "integer"
  18349. },
  18350. "class_id": {
  18351. "description": "分类id",
  18352. "type": "integer"
  18353. },
  18354. "house_id": {
  18355. "description": "房屋id",
  18356. "type": "integer"
  18357. }
  18358. }
  18359. },
  18360. "v1.RepairOrderAddReply": {
  18361. "type": "object",
  18362. "properties": {
  18363. "id": {
  18364. "type": "integer"
  18365. }
  18366. }
  18367. },
  18368. "v1.RepairOrderAddResponse": {
  18369. "type": "object",
  18370. "properties": {
  18371. "code": {
  18372. "description": "返回码",
  18373. "type": "integer",
  18374. "format": "int",
  18375. "default": 0
  18376. },
  18377. "data": {
  18378. "type": "object",
  18379. "$ref": "#/definitions/v1.RepairOrderAddReply"
  18380. },
  18381. "message": {
  18382. "description": "消息",
  18383. "type": "string",
  18384. "default": "success"
  18385. }
  18386. }
  18387. },
  18388. "v1.RepairOrderBackBody": {
  18389. "type": "object",
  18390. "properties": {
  18391. "feedback": {
  18392. "description": "意见",
  18393. "type": "string"
  18394. },
  18395. "id": {
  18396. "description": "工单id",
  18397. "type": "integer"
  18398. }
  18399. }
  18400. },
  18401. "v1.RepairOrderBackResponse": {
  18402. "type": "object",
  18403. "properties": {
  18404. "code": {
  18405. "description": "返回码",
  18406. "type": "integer",
  18407. "format": "int",
  18408. "default": 0
  18409. },
  18410. "message": {
  18411. "description": "消息",
  18412. "type": "string",
  18413. "default": "success"
  18414. }
  18415. }
  18416. },
  18417. "v1.RepairOrderDelResponse": {
  18418. "type": "object",
  18419. "properties": {
  18420. "code": {
  18421. "description": "返回码",
  18422. "type": "integer",
  18423. "format": "int",
  18424. "default": 0
  18425. },
  18426. "message": {
  18427. "description": "消息",
  18428. "type": "string",
  18429. "default": "success"
  18430. }
  18431. }
  18432. },
  18433. "v1.RepairOrderFinishBody": {
  18434. "type": "object",
  18435. "properties": {
  18436. "feedback": {
  18437. "description": "意见",
  18438. "type": "string"
  18439. },
  18440. "id": {
  18441. "description": "工单id",
  18442. "type": "integer"
  18443. },
  18444. "repair_pic": {
  18445. "description": "处理图片",
  18446. "type": "array",
  18447. "items": {
  18448. "type": "string"
  18449. }
  18450. }
  18451. }
  18452. },
  18453. "v1.RepairOrderFinishResponse": {
  18454. "type": "object",
  18455. "properties": {
  18456. "code": {
  18457. "description": "返回码",
  18458. "type": "integer",
  18459. "format": "int",
  18460. "default": 0
  18461. },
  18462. "message": {
  18463. "description": "消息",
  18464. "type": "string",
  18465. "default": "success"
  18466. }
  18467. }
  18468. },
  18469. "v1.RepairOrderInfoReply": {
  18470. "type": "object",
  18471. "properties": {
  18472. "base_info": {
  18473. "description": "基本信息",
  18474. "type": "object",
  18475. "$ref": "#/definitions/v1.RepairOrderItem"
  18476. },
  18477. "list": {
  18478. "description": "工单流水线",
  18479. "type": "array",
  18480. "items": {
  18481. "$ref": "#/definitions/v1.RepairOrderPipelineData"
  18482. }
  18483. }
  18484. }
  18485. },
  18486. "v1.RepairOrderInfoResponse": {
  18487. "type": "object",
  18488. "properties": {
  18489. "code": {
  18490. "description": "返回码",
  18491. "type": "integer",
  18492. "format": "int",
  18493. "default": 0
  18494. },
  18495. "data": {
  18496. "type": "object",
  18497. "$ref": "#/definitions/v1.RepairOrderInfoReply"
  18498. },
  18499. "message": {
  18500. "description": "消息",
  18501. "type": "string",
  18502. "default": "success"
  18503. }
  18504. }
  18505. },
  18506. "v1.RepairOrderItem": {
  18507. "type": "object",
  18508. "properties": {
  18509. "apply_content": {
  18510. "description": "报修内容",
  18511. "type": "string"
  18512. },
  18513. "apply_people": {
  18514. "description": "报修人",
  18515. "type": "string"
  18516. },
  18517. "apply_people_phone": {
  18518. "description": "报修人电话",
  18519. "type": "string"
  18520. },
  18521. "apply_pic": {
  18522. "description": "报修图片",
  18523. "type": "array",
  18524. "items": {
  18525. "type": "string"
  18526. }
  18527. },
  18528. "appointment": {
  18529. "description": "预约时间",
  18530. "type": "string"
  18531. },
  18532. "area": {
  18533. "type": "integer"
  18534. },
  18535. "building_id": {
  18536. "description": "楼栋id",
  18537. "type": "integer"
  18538. },
  18539. "class_id": {
  18540. "description": "分类id",
  18541. "type": "integer"
  18542. },
  18543. "class_name": {
  18544. "description": "分类名称",
  18545. "type": "string"
  18546. },
  18547. "created_at": {
  18548. "description": "报修时间",
  18549. "type": "string"
  18550. },
  18551. "current_user": {
  18552. "description": "当前状态处理人",
  18553. "type": "string"
  18554. },
  18555. "house_id": {
  18556. "description": "房屋id",
  18557. "type": "integer"
  18558. },
  18559. "house_name": {
  18560. "description": "房屋全称",
  18561. "type": "string"
  18562. },
  18563. "id": {
  18564. "type": "integer"
  18565. },
  18566. "last_user": {
  18567. "description": "上级处理人",
  18568. "type": "string"
  18569. },
  18570. "repair_pic": {
  18571. "description": "维修图片",
  18572. "type": "array",
  18573. "items": {
  18574. "type": "string"
  18575. }
  18576. },
  18577. "repair_time": {
  18578. "description": "维修时间",
  18579. "type": "string"
  18580. },
  18581. "return_visit_content": {
  18582. "description": "回访内容",
  18583. "type": "string"
  18584. },
  18585. "return_visit_level": {
  18586. "description": "回访满意度",
  18587. "type": "integer"
  18588. },
  18589. "status": {
  18590. "type": "integer"
  18591. },
  18592. "unit_id": {
  18593. "description": "单元id",
  18594. "type": "integer"
  18595. }
  18596. }
  18597. },
  18598. "v1.RepairOrderListReply": {
  18599. "type": "object",
  18600. "properties": {
  18601. "list": {
  18602. "type": "array",
  18603. "items": {
  18604. "$ref": "#/definitions/v1.RepairOrderItem"
  18605. }
  18606. },
  18607. "page": {
  18608. "type": "integer"
  18609. },
  18610. "total": {
  18611. "type": "integer"
  18612. }
  18613. }
  18614. },
  18615. "v1.RepairOrderListResponse": {
  18616. "type": "object",
  18617. "properties": {
  18618. "code": {
  18619. "description": "返回码",
  18620. "type": "integer",
  18621. "format": "int",
  18622. "default": 0
  18623. },
  18624. "data": {
  18625. "type": "object",
  18626. "$ref": "#/definitions/v1.RepairOrderListReply"
  18627. },
  18628. "message": {
  18629. "description": "消息",
  18630. "type": "string",
  18631. "default": "success"
  18632. }
  18633. }
  18634. },
  18635. "v1.RepairOrderPipelineData": {
  18636. "type": "object",
  18637. "properties": {
  18638. "feedback": {
  18639. "description": "处理意见",
  18640. "type": "string"
  18641. },
  18642. "handle_time": {
  18643. "description": "处理时间",
  18644. "type": "string"
  18645. },
  18646. "phone": {
  18647. "type": "string"
  18648. },
  18649. "status": {
  18650. "type": "string"
  18651. },
  18652. "user": {
  18653. "description": "处理人",
  18654. "type": "string"
  18655. }
  18656. }
  18657. },
  18658. "v1.RepairOrderReturnVisitBody": {
  18659. "type": "object",
  18660. "properties": {
  18661. "id": {
  18662. "type": "integer"
  18663. },
  18664. "return_visit_content": {
  18665. "description": "回访内容",
  18666. "type": "string"
  18667. },
  18668. "return_visit_level": {
  18669. "description": "1 满意 2 不满意",
  18670. "type": "integer"
  18671. }
  18672. }
  18673. },
  18674. "v1.RepairOrderReturnVisitResponse": {
  18675. "type": "object",
  18676. "properties": {
  18677. "code": {
  18678. "description": "返回码",
  18679. "type": "integer",
  18680. "format": "int",
  18681. "default": 0
  18682. },
  18683. "message": {
  18684. "description": "消息",
  18685. "type": "string",
  18686. "default": "success"
  18687. }
  18688. }
  18689. },
  18690. "v1.RepairOrderSendBody": {
  18691. "type": "object",
  18692. "properties": {
  18693. "current_uid": {
  18694. "description": "指派给谁",
  18695. "type": "integer"
  18696. },
  18697. "feedback": {
  18698. "description": "意见",
  18699. "type": "string"
  18700. },
  18701. "id": {
  18702. "description": "工单id",
  18703. "type": "integer"
  18704. }
  18705. }
  18706. },
  18707. "v1.RepairOrderSendResponse": {
  18708. "type": "object",
  18709. "properties": {
  18710. "code": {
  18711. "description": "返回码",
  18712. "type": "integer",
  18713. "format": "int",
  18714. "default": 0
  18715. },
  18716. "message": {
  18717. "description": "消息",
  18718. "type": "string",
  18719. "default": "success"
  18720. }
  18721. }
  18722. },
  18723. "v1.RepairOrderUpdateBody": {
  18724. "type": "object",
  18725. "properties": {
  18726. "apply_content": {
  18727. "description": "报修内容",
  18728. "type": "string"
  18729. },
  18730. "apply_people": {
  18731. "description": "报修人",
  18732. "type": "string"
  18733. },
  18734. "apply_people_phone": {
  18735. "description": "报修人电话",
  18736. "type": "string"
  18737. },
  18738. "apply_pic": {
  18739. "description": "报修图片",
  18740. "type": "array",
  18741. "items": {
  18742. "type": "string"
  18743. }
  18744. },
  18745. "appointment": {
  18746. "description": "预约时间",
  18747. "type": "integer"
  18748. },
  18749. "class_id": {
  18750. "description": "分类id",
  18751. "type": "integer"
  18752. },
  18753. "house_id": {
  18754. "description": "房屋id",
  18755. "type": "integer"
  18756. },
  18757. "id": {
  18758. "type": "integer"
  18759. }
  18760. }
  18761. },
  18762. "v1.RepairOrderUpdateResponse": {
  18763. "type": "object",
  18764. "properties": {
  18765. "code": {
  18766. "description": "返回码",
  18767. "type": "integer",
  18768. "format": "int",
  18769. "default": 0
  18770. },
  18771. "message": {
  18772. "description": "消息",
  18773. "type": "string",
  18774. "default": "success"
  18775. }
  18776. }
  18777. },
  18778. "v1.ResetPasswordBody": {
  18779. "type": "object",
  18780. "properties": {
  18781. "password": {
  18782. "type": "string"
  18783. },
  18784. "phone": {
  18785. "type": "string"
  18786. },
  18787. "uid": {
  18788. "description": "用户id,第一次调用时为空,如果电话对应多个账号,选择账号后第二次调用需填该值",
  18789. "type": "integer"
  18790. },
  18791. "vcode": {
  18792. "description": "短信验证码",
  18793. "type": "integer"
  18794. }
  18795. }
  18796. },
  18797. "v1.ResetPasswordData": {
  18798. "type": "object",
  18799. "properties": {
  18800. "garden_name": {
  18801. "description": "小区名",
  18802. "type": "string"
  18803. },
  18804. "uid": {
  18805. "description": "用户id",
  18806. "type": "integer"
  18807. },
  18808. "username": {
  18809. "description": "用户名",
  18810. "type": "string"
  18811. }
  18812. }
  18813. },
  18814. "v1.ResetPasswordReply": {
  18815. "type": "object",
  18816. "properties": {
  18817. "list": {
  18818. "type": "array",
  18819. "items": {
  18820. "$ref": "#/definitions/v1.ResetPasswordData"
  18821. }
  18822. }
  18823. }
  18824. },
  18825. "v1.ResetPasswordResponse": {
  18826. "type": "object",
  18827. "properties": {
  18828. "code": {
  18829. "description": "返回码",
  18830. "type": "integer",
  18831. "format": "int",
  18832. "default": 0
  18833. },
  18834. "data": {
  18835. "type": "object",
  18836. "$ref": "#/definitions/v1.ResetPasswordReply"
  18837. },
  18838. "message": {
  18839. "description": "消息",
  18840. "type": "string",
  18841. "default": "success"
  18842. }
  18843. }
  18844. },
  18845. "v1.ServicePhoneAddBody": {
  18846. "type": "object",
  18847. "properties": {
  18848. "class_id": {
  18849. "type": "integer"
  18850. },
  18851. "enable": {
  18852. "type": "boolean"
  18853. },
  18854. "name": {
  18855. "type": "string"
  18856. },
  18857. "phone": {
  18858. "type": "string"
  18859. }
  18860. }
  18861. },
  18862. "v1.ServicePhoneAddReply": {
  18863. "type": "object",
  18864. "properties": {
  18865. "id": {
  18866. "type": "integer"
  18867. }
  18868. }
  18869. },
  18870. "v1.ServicePhoneAddResponse": {
  18871. "type": "object",
  18872. "properties": {
  18873. "code": {
  18874. "description": "返回码",
  18875. "type": "integer",
  18876. "format": "int",
  18877. "default": 0
  18878. },
  18879. "data": {
  18880. "type": "object",
  18881. "$ref": "#/definitions/v1.ServicePhoneAddReply"
  18882. },
  18883. "message": {
  18884. "description": "消息",
  18885. "type": "string",
  18886. "default": "success"
  18887. }
  18888. }
  18889. },
  18890. "v1.ServicePhoneClassAddBody": {
  18891. "type": "object",
  18892. "properties": {
  18893. "class_name": {
  18894. "type": "string"
  18895. },
  18896. "enable": {
  18897. "type": "boolean"
  18898. }
  18899. }
  18900. },
  18901. "v1.ServicePhoneClassAddReply": {
  18902. "type": "object",
  18903. "properties": {
  18904. "id": {
  18905. "type": "integer"
  18906. }
  18907. }
  18908. },
  18909. "v1.ServicePhoneClassAddResponse": {
  18910. "type": "object",
  18911. "properties": {
  18912. "code": {
  18913. "description": "返回码",
  18914. "type": "integer",
  18915. "format": "int",
  18916. "default": 0
  18917. },
  18918. "data": {
  18919. "type": "object",
  18920. "$ref": "#/definitions/v1.ServicePhoneClassAddReply"
  18921. },
  18922. "message": {
  18923. "description": "消息",
  18924. "type": "string",
  18925. "default": "success"
  18926. }
  18927. }
  18928. },
  18929. "v1.ServicePhoneClassDelResponse": {
  18930. "type": "object",
  18931. "properties": {
  18932. "code": {
  18933. "description": "返回码",
  18934. "type": "integer",
  18935. "format": "int",
  18936. "default": 0
  18937. },
  18938. "message": {
  18939. "description": "消息",
  18940. "type": "string",
  18941. "default": "success"
  18942. }
  18943. }
  18944. },
  18945. "v1.ServicePhoneClassItem": {
  18946. "type": "object",
  18947. "properties": {
  18948. "class_name": {
  18949. "type": "string"
  18950. },
  18951. "enable": {
  18952. "type": "boolean"
  18953. },
  18954. "id": {
  18955. "type": "integer"
  18956. }
  18957. }
  18958. },
  18959. "v1.ServicePhoneClassListReply": {
  18960. "type": "object",
  18961. "properties": {
  18962. "list": {
  18963. "type": "array",
  18964. "items": {
  18965. "$ref": "#/definitions/v1.ServicePhoneClassItem"
  18966. }
  18967. },
  18968. "page": {
  18969. "type": "integer"
  18970. },
  18971. "total": {
  18972. "type": "integer"
  18973. }
  18974. }
  18975. },
  18976. "v1.ServicePhoneClassListResponse": {
  18977. "type": "object",
  18978. "properties": {
  18979. "code": {
  18980. "description": "返回码",
  18981. "type": "integer",
  18982. "format": "int",
  18983. "default": 0
  18984. },
  18985. "data": {
  18986. "type": "object",
  18987. "$ref": "#/definitions/v1.ServicePhoneClassListReply"
  18988. },
  18989. "message": {
  18990. "description": "消息",
  18991. "type": "string",
  18992. "default": "success"
  18993. }
  18994. }
  18995. },
  18996. "v1.ServicePhoneClassUpdateBody": {
  18997. "type": "object",
  18998. "properties": {
  18999. "class_name": {
  19000. "type": "string"
  19001. },
  19002. "enable": {
  19003. "type": "boolean"
  19004. },
  19005. "id": {
  19006. "type": "integer"
  19007. }
  19008. }
  19009. },
  19010. "v1.ServicePhoneClassUpdateResponse": {
  19011. "type": "object",
  19012. "properties": {
  19013. "code": {
  19014. "description": "返回码",
  19015. "type": "integer",
  19016. "format": "int",
  19017. "default": 0
  19018. },
  19019. "message": {
  19020. "description": "消息",
  19021. "type": "string",
  19022. "default": "success"
  19023. }
  19024. }
  19025. },
  19026. "v1.ServicePhoneDelResponse": {
  19027. "type": "object",
  19028. "properties": {
  19029. "code": {
  19030. "description": "返回码",
  19031. "type": "integer",
  19032. "format": "int",
  19033. "default": 0
  19034. },
  19035. "message": {
  19036. "description": "消息",
  19037. "type": "string",
  19038. "default": "success"
  19039. }
  19040. }
  19041. },
  19042. "v1.ServicePhoneItem": {
  19043. "type": "object",
  19044. "properties": {
  19045. "class_id": {
  19046. "type": "integer"
  19047. },
  19048. "class_name": {
  19049. "type": "string"
  19050. },
  19051. "enable": {
  19052. "type": "boolean"
  19053. },
  19054. "id": {
  19055. "type": "integer"
  19056. },
  19057. "name": {
  19058. "type": "string"
  19059. },
  19060. "phone": {
  19061. "type": "string"
  19062. }
  19063. }
  19064. },
  19065. "v1.ServicePhoneListReply": {
  19066. "type": "object",
  19067. "properties": {
  19068. "list": {
  19069. "type": "array",
  19070. "items": {
  19071. "$ref": "#/definitions/v1.ServicePhoneItem"
  19072. }
  19073. },
  19074. "page": {
  19075. "type": "integer"
  19076. },
  19077. "total": {
  19078. "type": "integer"
  19079. }
  19080. }
  19081. },
  19082. "v1.ServicePhoneListResponse": {
  19083. "type": "object",
  19084. "properties": {
  19085. "code": {
  19086. "description": "返回码",
  19087. "type": "integer",
  19088. "format": "int",
  19089. "default": 0
  19090. },
  19091. "data": {
  19092. "type": "object",
  19093. "$ref": "#/definitions/v1.ServicePhoneListReply"
  19094. },
  19095. "message": {
  19096. "description": "消息",
  19097. "type": "string",
  19098. "default": "success"
  19099. }
  19100. }
  19101. },
  19102. "v1.ServicePhoneUpdateBody": {
  19103. "type": "object",
  19104. "properties": {
  19105. "enable": {
  19106. "type": "boolean"
  19107. },
  19108. "id": {
  19109. "type": "integer"
  19110. },
  19111. "name": {
  19112. "type": "string"
  19113. },
  19114. "phone": {
  19115. "type": "string"
  19116. }
  19117. }
  19118. },
  19119. "v1.ServicePhoneUpdateResponse": {
  19120. "type": "object",
  19121. "properties": {
  19122. "code": {
  19123. "description": "返回码",
  19124. "type": "integer",
  19125. "format": "int",
  19126. "default": 0
  19127. },
  19128. "message": {
  19129. "description": "消息",
  19130. "type": "string",
  19131. "default": "success"
  19132. }
  19133. }
  19134. },
  19135. "v1.StatisticReply": {
  19136. "type": "object",
  19137. "properties": {
  19138. "house_count": {
  19139. "description": "房屋数",
  19140. "type": "integer"
  19141. },
  19142. "list": {
  19143. "type": "array",
  19144. "items": {
  19145. "$ref": "#/definitions/v1.StatisticWaitFinish"
  19146. }
  19147. },
  19148. "space_count": {
  19149. "description": "车位数",
  19150. "type": "integer"
  19151. },
  19152. "user_count": {
  19153. "description": "住户数",
  19154. "type": "integer"
  19155. },
  19156. "vehicle_count": {
  19157. "description": "车辆数",
  19158. "type": "integer"
  19159. }
  19160. }
  19161. },
  19162. "v1.StatisticResponse": {
  19163. "type": "object",
  19164. "properties": {
  19165. "code": {
  19166. "description": "返回码",
  19167. "type": "integer",
  19168. "format": "int",
  19169. "default": 0
  19170. },
  19171. "data": {
  19172. "type": "object",
  19173. "$ref": "#/definitions/v1.StatisticReply"
  19174. },
  19175. "message": {
  19176. "description": "消息",
  19177. "type": "string",
  19178. "default": "success"
  19179. }
  19180. }
  19181. },
  19182. "v1.StatisticWaitFinish": {
  19183. "type": "object",
  19184. "properties": {
  19185. "finish_count": {
  19186. "type": "integer"
  19187. },
  19188. "type": {
  19189. "type": "string"
  19190. },
  19191. "wait_count": {
  19192. "type": "integer"
  19193. }
  19194. }
  19195. },
  19196. "v1.SuggestionOrderAddBody": {
  19197. "type": "object",
  19198. "properties": {
  19199. "apply_content": {
  19200. "description": "投诉内容",
  19201. "type": "string"
  19202. },
  19203. "apply_people": {
  19204. "description": "投诉人",
  19205. "type": "string"
  19206. },
  19207. "apply_people_phone": {
  19208. "description": "投诉人电话",
  19209. "type": "string"
  19210. },
  19211. "apply_pic": {
  19212. "description": "投诉图片",
  19213. "type": "array",
  19214. "items": {
  19215. "type": "string"
  19216. }
  19217. },
  19218. "suggestion_type": {
  19219. "description": "投诉类型 1 投诉 2 建议",
  19220. "type": "integer"
  19221. }
  19222. }
  19223. },
  19224. "v1.SuggestionOrderAddReply": {
  19225. "type": "object",
  19226. "properties": {
  19227. "id": {
  19228. "type": "integer"
  19229. }
  19230. }
  19231. },
  19232. "v1.SuggestionOrderAddResponse": {
  19233. "type": "object",
  19234. "properties": {
  19235. "code": {
  19236. "description": "返回码",
  19237. "type": "integer",
  19238. "format": "int",
  19239. "default": 0
  19240. },
  19241. "data": {
  19242. "type": "object",
  19243. "$ref": "#/definitions/v1.SuggestionOrderAddReply"
  19244. },
  19245. "message": {
  19246. "description": "消息",
  19247. "type": "string",
  19248. "default": "success"
  19249. }
  19250. }
  19251. },
  19252. "v1.SuggestionOrderBackBody": {
  19253. "type": "object",
  19254. "properties": {
  19255. "feedback": {
  19256. "description": "意见",
  19257. "type": "string"
  19258. },
  19259. "id": {
  19260. "description": "工单id",
  19261. "type": "integer"
  19262. }
  19263. }
  19264. },
  19265. "v1.SuggestionOrderBackResponse": {
  19266. "type": "object",
  19267. "properties": {
  19268. "code": {
  19269. "description": "返回码",
  19270. "type": "integer",
  19271. "format": "int",
  19272. "default": 0
  19273. },
  19274. "message": {
  19275. "description": "消息",
  19276. "type": "string",
  19277. "default": "success"
  19278. }
  19279. }
  19280. },
  19281. "v1.SuggestionOrderDelResponse": {
  19282. "type": "object",
  19283. "properties": {
  19284. "code": {
  19285. "description": "返回码",
  19286. "type": "integer",
  19287. "format": "int",
  19288. "default": 0
  19289. },
  19290. "message": {
  19291. "description": "消息",
  19292. "type": "string",
  19293. "default": "success"
  19294. }
  19295. }
  19296. },
  19297. "v1.SuggestionOrderFinishBody": {
  19298. "type": "object",
  19299. "properties": {
  19300. "feedback": {
  19301. "description": "意见",
  19302. "type": "string"
  19303. },
  19304. "handle_pic": {
  19305. "description": "处理图片",
  19306. "type": "array",
  19307. "items": {
  19308. "type": "string"
  19309. }
  19310. },
  19311. "id": {
  19312. "description": "工单id",
  19313. "type": "integer"
  19314. }
  19315. }
  19316. },
  19317. "v1.SuggestionOrderFinishResponse": {
  19318. "type": "object",
  19319. "properties": {
  19320. "code": {
  19321. "description": "返回码",
  19322. "type": "integer",
  19323. "format": "int",
  19324. "default": 0
  19325. },
  19326. "message": {
  19327. "description": "消息",
  19328. "type": "string",
  19329. "default": "success"
  19330. }
  19331. }
  19332. },
  19333. "v1.SuggestionOrderInfoReply": {
  19334. "type": "object",
  19335. "properties": {
  19336. "base_info": {
  19337. "description": "基本信息",
  19338. "type": "object",
  19339. "$ref": "#/definitions/v1.SuggestionOrderItem"
  19340. },
  19341. "list": {
  19342. "description": "工单流水线",
  19343. "type": "array",
  19344. "items": {
  19345. "$ref": "#/definitions/v1.SuggestionOrderPipelineData"
  19346. }
  19347. }
  19348. }
  19349. },
  19350. "v1.SuggestionOrderInfoResponse": {
  19351. "type": "object",
  19352. "properties": {
  19353. "code": {
  19354. "description": "返回码",
  19355. "type": "integer",
  19356. "format": "int",
  19357. "default": 0
  19358. },
  19359. "data": {
  19360. "type": "object",
  19361. "$ref": "#/definitions/v1.SuggestionOrderInfoReply"
  19362. },
  19363. "message": {
  19364. "description": "消息",
  19365. "type": "string",
  19366. "default": "success"
  19367. }
  19368. }
  19369. },
  19370. "v1.SuggestionOrderItem": {
  19371. "type": "object",
  19372. "properties": {
  19373. "apply_content": {
  19374. "description": "投诉内容",
  19375. "type": "string"
  19376. },
  19377. "apply_people": {
  19378. "description": "投诉人",
  19379. "type": "string"
  19380. },
  19381. "apply_people_phone": {
  19382. "description": "投诉人电话",
  19383. "type": "string"
  19384. },
  19385. "apply_pic": {
  19386. "description": "投诉图片",
  19387. "type": "array",
  19388. "items": {
  19389. "type": "string"
  19390. }
  19391. },
  19392. "created_at": {
  19393. "description": "投诉时间",
  19394. "type": "string"
  19395. },
  19396. "current_user": {
  19397. "description": "当前状态处理人",
  19398. "type": "string"
  19399. },
  19400. "id": {
  19401. "type": "integer"
  19402. },
  19403. "last_user": {
  19404. "description": "上级处理人",
  19405. "type": "string"
  19406. },
  19407. "return_visit_content": {
  19408. "description": "回访内容",
  19409. "type": "string"
  19410. },
  19411. "return_visit_level": {
  19412. "description": "回访满意度",
  19413. "type": "integer"
  19414. },
  19415. "status": {
  19416. "type": "integer"
  19417. },
  19418. "suggestion_type": {
  19419. "description": "投诉类型 1 投诉 2 建议",
  19420. "type": "integer"
  19421. }
  19422. }
  19423. },
  19424. "v1.SuggestionOrderListReply": {
  19425. "type": "object",
  19426. "properties": {
  19427. "list": {
  19428. "type": "array",
  19429. "items": {
  19430. "$ref": "#/definitions/v1.SuggestionOrderItem"
  19431. }
  19432. },
  19433. "page": {
  19434. "type": "integer"
  19435. },
  19436. "total": {
  19437. "type": "integer"
  19438. }
  19439. }
  19440. },
  19441. "v1.SuggestionOrderListResponse": {
  19442. "type": "object",
  19443. "properties": {
  19444. "code": {
  19445. "description": "返回码",
  19446. "type": "integer",
  19447. "format": "int",
  19448. "default": 0
  19449. },
  19450. "data": {
  19451. "type": "object",
  19452. "$ref": "#/definitions/v1.SuggestionOrderListReply"
  19453. },
  19454. "message": {
  19455. "description": "消息",
  19456. "type": "string",
  19457. "default": "success"
  19458. }
  19459. }
  19460. },
  19461. "v1.SuggestionOrderPipelineData": {
  19462. "type": "object",
  19463. "properties": {
  19464. "feedback": {
  19465. "description": "处理意见",
  19466. "type": "string"
  19467. },
  19468. "handle_time": {
  19469. "description": "处理时间",
  19470. "type": "string"
  19471. },
  19472. "phone": {
  19473. "type": "string"
  19474. },
  19475. "status": {
  19476. "type": "string"
  19477. },
  19478. "user": {
  19479. "description": "处理人",
  19480. "type": "string"
  19481. }
  19482. }
  19483. },
  19484. "v1.SuggestionOrderReturnVisitBody": {
  19485. "type": "object",
  19486. "properties": {
  19487. "id": {
  19488. "type": "integer"
  19489. },
  19490. "return_visit_content": {
  19491. "description": "回访内容",
  19492. "type": "string"
  19493. },
  19494. "return_visit_level": {
  19495. "description": "1 满意 2 不满意",
  19496. "type": "integer"
  19497. }
  19498. }
  19499. },
  19500. "v1.SuggestionOrderReturnVisitResponse": {
  19501. "type": "object",
  19502. "properties": {
  19503. "code": {
  19504. "description": "返回码",
  19505. "type": "integer",
  19506. "format": "int",
  19507. "default": 0
  19508. },
  19509. "message": {
  19510. "description": "消息",
  19511. "type": "string",
  19512. "default": "success"
  19513. }
  19514. }
  19515. },
  19516. "v1.SuggestionOrderSendBody": {
  19517. "type": "object",
  19518. "properties": {
  19519. "current_uid": {
  19520. "description": "指派给谁",
  19521. "type": "integer"
  19522. },
  19523. "feedback": {
  19524. "description": "意见",
  19525. "type": "string"
  19526. },
  19527. "id": {
  19528. "description": "工单id",
  19529. "type": "integer"
  19530. }
  19531. }
  19532. },
  19533. "v1.SuggestionOrderSendResponse": {
  19534. "type": "object",
  19535. "properties": {
  19536. "code": {
  19537. "description": "返回码",
  19538. "type": "integer",
  19539. "format": "int",
  19540. "default": 0
  19541. },
  19542. "message": {
  19543. "description": "消息",
  19544. "type": "string",
  19545. "default": "success"
  19546. }
  19547. }
  19548. },
  19549. "v1.SuggestionOrderUpdateBody": {
  19550. "type": "object",
  19551. "properties": {
  19552. "apply_content": {
  19553. "description": "投诉内容",
  19554. "type": "string"
  19555. },
  19556. "apply_people": {
  19557. "description": "投诉人",
  19558. "type": "string"
  19559. },
  19560. "apply_people_phone": {
  19561. "description": "投诉人电话",
  19562. "type": "string"
  19563. },
  19564. "apply_pic": {
  19565. "description": "投诉图片",
  19566. "type": "array",
  19567. "items": {
  19568. "type": "string"
  19569. }
  19570. },
  19571. "id": {
  19572. "type": "integer"
  19573. },
  19574. "suggestion_type": {
  19575. "description": "投诉类型 1 投诉 2 建议",
  19576. "type": "integer"
  19577. }
  19578. }
  19579. },
  19580. "v1.SuggestionOrderUpdateResponse": {
  19581. "type": "object",
  19582. "properties": {
  19583. "code": {
  19584. "description": "返回码",
  19585. "type": "integer",
  19586. "format": "int",
  19587. "default": 0
  19588. },
  19589. "message": {
  19590. "description": "消息",
  19591. "type": "string",
  19592. "default": "success"
  19593. }
  19594. }
  19595. },
  19596. "v1.SystemGroupPermissionData": {
  19597. "type": "object",
  19598. "properties": {
  19599. "applete_path": {
  19600. "type": "string"
  19601. },
  19602. "code": {
  19603. "type": "string"
  19604. },
  19605. "name": {
  19606. "description": "权限名字",
  19607. "type": "string"
  19608. },
  19609. "path": {
  19610. "description": "组件路径",
  19611. "type": "string"
  19612. },
  19613. "pcode": {
  19614. "description": "父code,若没有则填空",
  19615. "type": "string"
  19616. },
  19617. "router": {
  19618. "description": "路由",
  19619. "type": "string"
  19620. }
  19621. }
  19622. },
  19623. "v1.SystemGroupPermissionItem": {
  19624. "type": "object",
  19625. "properties": {
  19626. "applete_path": {
  19627. "description": "小程序组件路径",
  19628. "type": "string"
  19629. },
  19630. "childs": {
  19631. "type": "array",
  19632. "items": {
  19633. "$ref": "#/definitions/v1.SystemGroupPermissionItem"
  19634. }
  19635. },
  19636. "code": {
  19637. "type": "string"
  19638. },
  19639. "name": {
  19640. "description": "权限名字",
  19641. "type": "string"
  19642. },
  19643. "path": {
  19644. "description": "组件路径",
  19645. "type": "string"
  19646. },
  19647. "pcode": {
  19648. "description": "父code,若没有则填空",
  19649. "type": "string"
  19650. },
  19651. "router": {
  19652. "description": "路由",
  19653. "type": "string"
  19654. },
  19655. "selected": {
  19656. "description": "是否拥有该权限",
  19657. "type": "boolean"
  19658. }
  19659. }
  19660. },
  19661. "v1.SystemMsgItem": {
  19662. "type": "object",
  19663. "properties": {
  19664. "code": {
  19665. "type": "string"
  19666. },
  19667. "content": {
  19668. "type": "string"
  19669. },
  19670. "created_at": {
  19671. "type": "string"
  19672. },
  19673. "id": {
  19674. "type": "integer"
  19675. }
  19676. }
  19677. },
  19678. "v1.SystemMsgListReply": {
  19679. "type": "object",
  19680. "properties": {
  19681. "list": {
  19682. "type": "array",
  19683. "items": {
  19684. "$ref": "#/definitions/v1.SystemMsgItem"
  19685. }
  19686. },
  19687. "page": {
  19688. "type": "integer"
  19689. },
  19690. "total": {
  19691. "type": "integer"
  19692. }
  19693. }
  19694. },
  19695. "v1.SystemMsgListResponse": {
  19696. "type": "object",
  19697. "properties": {
  19698. "code": {
  19699. "description": "返回码",
  19700. "type": "integer",
  19701. "format": "int",
  19702. "default": 0
  19703. },
  19704. "data": {
  19705. "type": "object",
  19706. "$ref": "#/definitions/v1.SystemMsgListReply"
  19707. },
  19708. "message": {
  19709. "description": "消息",
  19710. "type": "string",
  19711. "default": "success"
  19712. }
  19713. }
  19714. },
  19715. "v1.SystemMsgReadedBody": {
  19716. "type": "object",
  19717. "properties": {
  19718. "id": {
  19719. "type": "array",
  19720. "items": {
  19721. "type": "integer"
  19722. }
  19723. }
  19724. }
  19725. },
  19726. "v1.TemplateData": {
  19727. "type": "object",
  19728. "properties": {
  19729. "url": {
  19730. "type": "string"
  19731. }
  19732. }
  19733. },
  19734. "v1.TemplateResponse": {
  19735. "type": "object",
  19736. "properties": {
  19737. "code": {
  19738. "description": "返回码",
  19739. "type": "integer",
  19740. "format": "int",
  19741. "default": 0
  19742. },
  19743. "data": {
  19744. "type": "object",
  19745. "$ref": "#/definitions/v1.TemplateData"
  19746. },
  19747. "message": {
  19748. "description": "消息",
  19749. "type": "string",
  19750. "default": "success"
  19751. }
  19752. }
  19753. },
  19754. "v1.TokenResponse": {
  19755. "type": "object",
  19756. "properties": {
  19757. "code": {
  19758. "description": "返回码",
  19759. "type": "integer",
  19760. "format": "int",
  19761. "default": 0
  19762. },
  19763. "data": {
  19764. "type": "string"
  19765. },
  19766. "message": {
  19767. "description": "消息",
  19768. "type": "string",
  19769. "default": "success"
  19770. },
  19771. "refresh_token": {
  19772. "type": "string"
  19773. }
  19774. }
  19775. },
  19776. "v1.UnitAddBody": {
  19777. "type": "object",
  19778. "properties": {
  19779. "building_id": {
  19780. "type": "integer"
  19781. },
  19782. "has_lift": {
  19783. "description": "是否有电梯",
  19784. "type": "boolean"
  19785. },
  19786. "unit_layers": {
  19787. "description": "楼层数",
  19788. "type": "integer"
  19789. },
  19790. "unit_name": {
  19791. "description": "单元名",
  19792. "type": "string"
  19793. },
  19794. "unit_number": {
  19795. "description": "单元编号",
  19796. "type": "integer"
  19797. }
  19798. }
  19799. },
  19800. "v1.UnitAddReply": {
  19801. "type": "object",
  19802. "properties": {
  19803. "id": {
  19804. "type": "integer"
  19805. }
  19806. }
  19807. },
  19808. "v1.UnitAddResponse": {
  19809. "type": "object",
  19810. "properties": {
  19811. "code": {
  19812. "description": "返回码",
  19813. "type": "integer",
  19814. "format": "int",
  19815. "default": 0
  19816. },
  19817. "data": {
  19818. "type": "object",
  19819. "$ref": "#/definitions/v1.UnitAddReply"
  19820. },
  19821. "message": {
  19822. "description": "消息",
  19823. "type": "string",
  19824. "default": "success"
  19825. }
  19826. }
  19827. },
  19828. "v1.UnitDelResponse": {
  19829. "type": "object",
  19830. "properties": {
  19831. "code": {
  19832. "description": "返回码",
  19833. "type": "integer",
  19834. "format": "int",
  19835. "default": 0
  19836. },
  19837. "message": {
  19838. "description": "消息",
  19839. "type": "string",
  19840. "default": "success"
  19841. }
  19842. }
  19843. },
  19844. "v1.UnitItem": {
  19845. "type": "object",
  19846. "properties": {
  19847. "building_id": {
  19848. "description": "楼栋id",
  19849. "type": "integer"
  19850. },
  19851. "building_name": {
  19852. "type": "string"
  19853. },
  19854. "building_number": {
  19855. "type": "string"
  19856. },
  19857. "has_lift": {
  19858. "type": "boolean"
  19859. },
  19860. "id": {
  19861. "type": "integer"
  19862. },
  19863. "unit_layers": {
  19864. "description": "楼层数",
  19865. "type": "integer"
  19866. },
  19867. "unit_name": {
  19868. "description": "单元名",
  19869. "type": "string"
  19870. },
  19871. "unit_number": {
  19872. "description": "单元编号",
  19873. "type": "integer"
  19874. }
  19875. }
  19876. },
  19877. "v1.UnitListReply": {
  19878. "type": "object",
  19879. "properties": {
  19880. "list": {
  19881. "type": "array",
  19882. "items": {
  19883. "$ref": "#/definitions/v1.UnitItem"
  19884. }
  19885. },
  19886. "page": {
  19887. "type": "integer"
  19888. },
  19889. "total": {
  19890. "type": "integer"
  19891. }
  19892. }
  19893. },
  19894. "v1.UnitListResponse": {
  19895. "type": "object",
  19896. "properties": {
  19897. "code": {
  19898. "description": "返回码",
  19899. "type": "integer",
  19900. "format": "int",
  19901. "default": 0
  19902. },
  19903. "data": {
  19904. "type": "object",
  19905. "$ref": "#/definitions/v1.UnitListReply"
  19906. },
  19907. "message": {
  19908. "description": "消息",
  19909. "type": "string",
  19910. "default": "success"
  19911. }
  19912. }
  19913. },
  19914. "v1.UnitUpdateBody": {
  19915. "type": "object",
  19916. "properties": {
  19917. "building_id": {
  19918. "type": "integer"
  19919. },
  19920. "has_lift": {
  19921. "description": "是否有电梯",
  19922. "type": "boolean"
  19923. },
  19924. "id": {
  19925. "type": "integer"
  19926. },
  19927. "unit_layers": {
  19928. "description": "楼层数",
  19929. "type": "integer"
  19930. },
  19931. "unit_name": {
  19932. "description": "单元名",
  19933. "type": "string"
  19934. },
  19935. "unit_number": {
  19936. "description": "单元编号",
  19937. "type": "integer"
  19938. }
  19939. }
  19940. },
  19941. "v1.UnitUpdateResponse": {
  19942. "type": "object",
  19943. "properties": {
  19944. "code": {
  19945. "description": "返回码",
  19946. "type": "integer",
  19947. "format": "int",
  19948. "default": 0
  19949. },
  19950. "message": {
  19951. "description": "消息",
  19952. "type": "string",
  19953. "default": "success"
  19954. }
  19955. }
  19956. },
  19957. "v1.UploadResponse": {
  19958. "type": "object",
  19959. "properties": {
  19960. "code": {
  19961. "description": "返回码",
  19962. "type": "integer",
  19963. "format": "int",
  19964. "default": 0
  19965. },
  19966. "data": {
  19967. "type": "string"
  19968. },
  19969. "message": {
  19970. "description": "消息",
  19971. "type": "string",
  19972. "default": "success"
  19973. }
  19974. }
  19975. },
  19976. "v1.UserAddBody": {
  19977. "type": "object",
  19978. "properties": {
  19979. "base_permission": {
  19980. "description": "1 仅用户小区后台 2 仅用于员工小程序 3 二者皆可",
  19981. "type": "integer"
  19982. },
  19983. "department_id": {
  19984. "type": "integer"
  19985. },
  19986. "email": {
  19987. "type": "string"
  19988. },
  19989. "gender": {
  19990. "type": "integer"
  19991. },
  19992. "group_id": {
  19993. "type": "integer"
  19994. },
  19995. "password": {
  19996. "type": "string"
  19997. },
  19998. "phone": {
  19999. "type": "string"
  20000. },
  20001. "real_name": {
  20002. "type": "string"
  20003. },
  20004. "user_name": {
  20005. "type": "string"
  20006. }
  20007. }
  20008. },
  20009. "v1.UserAddReply": {
  20010. "type": "object",
  20011. "properties": {
  20012. "id": {
  20013. "type": "integer"
  20014. }
  20015. }
  20016. },
  20017. "v1.UserAddResponse": {
  20018. "type": "object",
  20019. "properties": {
  20020. "code": {
  20021. "description": "返回码",
  20022. "type": "integer",
  20023. "format": "int",
  20024. "default": 0
  20025. },
  20026. "data": {
  20027. "type": "object",
  20028. "$ref": "#/definitions/v1.UserAddReply"
  20029. },
  20030. "message": {
  20031. "description": "消息",
  20032. "type": "string",
  20033. "default": "success"
  20034. }
  20035. }
  20036. },
  20037. "v1.UserDelResponse": {
  20038. "type": "object",
  20039. "properties": {
  20040. "code": {
  20041. "description": "返回码",
  20042. "type": "integer",
  20043. "format": "int",
  20044. "default": 0
  20045. },
  20046. "message": {
  20047. "description": "消息",
  20048. "type": "string",
  20049. "default": "success"
  20050. }
  20051. }
  20052. },
  20053. "v1.UserItem": {
  20054. "type": "object",
  20055. "properties": {
  20056. "base_permission": {
  20057. "type": "integer"
  20058. },
  20059. "cid": {
  20060. "type": "integer"
  20061. },
  20062. "created_at": {
  20063. "type": "string"
  20064. },
  20065. "department_name": {
  20066. "type": "string"
  20067. },
  20068. "email": {
  20069. "type": "string"
  20070. },
  20071. "enable": {
  20072. "type": "boolean"
  20073. },
  20074. "garden_id": {
  20075. "type": "integer"
  20076. },
  20077. "garden_name": {
  20078. "type": "string"
  20079. },
  20080. "gender": {
  20081. "type": "integer"
  20082. },
  20083. "group_id": {
  20084. "type": "integer"
  20085. },
  20086. "group_name": {
  20087. "type": "string"
  20088. },
  20089. "id": {
  20090. "type": "integer"
  20091. },
  20092. "openim_id": {
  20093. "type": "string"
  20094. },
  20095. "password": {
  20096. "type": "string"
  20097. },
  20098. "phone": {
  20099. "type": "string"
  20100. },
  20101. "real_name": {
  20102. "type": "string"
  20103. },
  20104. "super": {
  20105. "type": "boolean"
  20106. },
  20107. "user_name": {
  20108. "type": "string"
  20109. }
  20110. }
  20111. },
  20112. "v1.UserListReply": {
  20113. "type": "object",
  20114. "properties": {
  20115. "list": {
  20116. "type": "array",
  20117. "items": {
  20118. "$ref": "#/definitions/v1.UserItem"
  20119. }
  20120. },
  20121. "page": {
  20122. "type": "integer"
  20123. },
  20124. "total": {
  20125. "type": "integer"
  20126. }
  20127. }
  20128. },
  20129. "v1.UserListResponse": {
  20130. "type": "object",
  20131. "properties": {
  20132. "code": {
  20133. "description": "返回码",
  20134. "type": "integer",
  20135. "format": "int",
  20136. "default": 0
  20137. },
  20138. "data": {
  20139. "type": "object",
  20140. "$ref": "#/definitions/v1.UserListReply"
  20141. },
  20142. "message": {
  20143. "description": "消息",
  20144. "type": "string",
  20145. "default": "success"
  20146. }
  20147. }
  20148. },
  20149. "v1.UserUpdateBody": {
  20150. "type": "object",
  20151. "properties": {
  20152. "base_permission": {
  20153. "description": "1 仅用户小区后台 2 仅用于员工小程序 3 二者皆可",
  20154. "type": "integer"
  20155. },
  20156. "department_id": {
  20157. "type": "integer"
  20158. },
  20159. "email": {
  20160. "type": "string"
  20161. },
  20162. "gender": {
  20163. "type": "integer"
  20164. },
  20165. "group_id": {
  20166. "type": "integer"
  20167. },
  20168. "id": {
  20169. "type": "integer"
  20170. },
  20171. "password": {
  20172. "type": "string"
  20173. },
  20174. "phone": {
  20175. "type": "string"
  20176. },
  20177. "real_name": {
  20178. "type": "string"
  20179. },
  20180. "user_name": {
  20181. "type": "string"
  20182. }
  20183. }
  20184. },
  20185. "v1.UserUpdateResponse": {
  20186. "type": "object",
  20187. "properties": {
  20188. "code": {
  20189. "description": "返回码",
  20190. "type": "integer",
  20191. "format": "int",
  20192. "default": 0
  20193. },
  20194. "message": {
  20195. "description": "消息",
  20196. "type": "string",
  20197. "default": "success"
  20198. }
  20199. }
  20200. },
  20201. "v1.VehicleAddBody": {
  20202. "type": "object",
  20203. "properties": {
  20204. "bind_type": {
  20205. "description": "1 出租 2 出售",
  20206. "type": "integer"
  20207. },
  20208. "brand": {
  20209. "description": "品牌",
  20210. "type": "string"
  20211. },
  20212. "color": {
  20213. "description": "颜色",
  20214. "type": "string"
  20215. },
  20216. "displacement": {
  20217. "description": "排量",
  20218. "type": "number"
  20219. },
  20220. "displacement_unit": {
  20221. "description": "排量单位",
  20222. "type": "string"
  20223. },
  20224. "engine_no": {
  20225. "description": "发动机号",
  20226. "type": "string"
  20227. },
  20228. "household_uid": {
  20229. "description": "住户uid",
  20230. "type": "integer"
  20231. },
  20232. "plate_no": {
  20233. "description": "车牌号",
  20234. "type": "string"
  20235. },
  20236. "seat": {
  20237. "description": "座位数",
  20238. "type": "integer"
  20239. },
  20240. "space_id": {
  20241. "description": "车位id",
  20242. "type": "integer"
  20243. },
  20244. "vehicle_type": {
  20245. "description": "1 小型车 2 大型车 3 新能源小车 4 新能源大车",
  20246. "type": "integer"
  20247. },
  20248. "vin": {
  20249. "description": "车架号",
  20250. "type": "string"
  20251. }
  20252. }
  20253. },
  20254. "v1.VehicleAddReply": {
  20255. "type": "object",
  20256. "properties": {
  20257. "id": {
  20258. "type": "integer"
  20259. }
  20260. }
  20261. },
  20262. "v1.VehicleAddResponse": {
  20263. "type": "object",
  20264. "properties": {
  20265. "code": {
  20266. "description": "返回码",
  20267. "type": "integer",
  20268. "format": "int",
  20269. "default": 0
  20270. },
  20271. "data": {
  20272. "type": "object",
  20273. "$ref": "#/definitions/v1.VehicleAddReply"
  20274. },
  20275. "message": {
  20276. "description": "消息",
  20277. "type": "string",
  20278. "default": "success"
  20279. }
  20280. }
  20281. },
  20282. "v1.VehicleBrandData": {
  20283. "type": "object",
  20284. "properties": {
  20285. "list": {
  20286. "type": "array",
  20287. "items": {
  20288. "$ref": "#/definitions/v1.VehicleBrandItem"
  20289. }
  20290. }
  20291. }
  20292. },
  20293. "v1.VehicleBrandItem": {
  20294. "type": "object",
  20295. "properties": {
  20296. "brand": {
  20297. "type": "string"
  20298. },
  20299. "brand_pic": {
  20300. "type": "string"
  20301. }
  20302. }
  20303. },
  20304. "v1.VehicleBrandListResponse": {
  20305. "type": "object",
  20306. "properties": {
  20307. "code": {
  20308. "description": "返回码",
  20309. "type": "integer",
  20310. "format": "int",
  20311. "default": 0
  20312. },
  20313. "data": {
  20314. "type": "object",
  20315. "$ref": "#/definitions/v1.VehicleBrandData"
  20316. },
  20317. "message": {
  20318. "description": "消息",
  20319. "type": "string",
  20320. "default": "success"
  20321. }
  20322. }
  20323. },
  20324. "v1.VehicleDelResponse": {
  20325. "type": "object",
  20326. "properties": {
  20327. "code": {
  20328. "description": "返回码",
  20329. "type": "integer",
  20330. "format": "int",
  20331. "default": 0
  20332. },
  20333. "message": {
  20334. "description": "消息",
  20335. "type": "string",
  20336. "default": "success"
  20337. }
  20338. }
  20339. },
  20340. "v1.VehicleItem": {
  20341. "type": "object",
  20342. "properties": {
  20343. "bind_type": {
  20344. "type": "integer"
  20345. },
  20346. "brand": {
  20347. "type": "string"
  20348. },
  20349. "brand_pic": {
  20350. "type": "string"
  20351. },
  20352. "color": {
  20353. "type": "string"
  20354. },
  20355. "displacement": {
  20356. "type": "number"
  20357. },
  20358. "displacement_unit": {
  20359. "type": "string"
  20360. },
  20361. "engine_no": {
  20362. "type": "string"
  20363. },
  20364. "household_name": {
  20365. "type": "string"
  20366. },
  20367. "household_phone": {
  20368. "type": "string"
  20369. },
  20370. "household_uid": {
  20371. "type": "integer"
  20372. },
  20373. "id": {
  20374. "type": "integer"
  20375. },
  20376. "park_id": {
  20377. "type": "integer"
  20378. },
  20379. "park_name": {
  20380. "type": "string"
  20381. },
  20382. "park_number": {
  20383. "type": "string"
  20384. },
  20385. "plate_no": {
  20386. "type": "string"
  20387. },
  20388. "seat": {
  20389. "type": "integer"
  20390. },
  20391. "space_id": {
  20392. "type": "integer"
  20393. },
  20394. "space_number": {
  20395. "type": "string"
  20396. },
  20397. "vehicle_type": {
  20398. "type": "integer"
  20399. },
  20400. "vin": {
  20401. "type": "string"
  20402. }
  20403. }
  20404. },
  20405. "v1.VehicleListReply": {
  20406. "type": "object",
  20407. "properties": {
  20408. "list": {
  20409. "type": "array",
  20410. "items": {
  20411. "$ref": "#/definitions/v1.VehicleItem"
  20412. }
  20413. },
  20414. "page": {
  20415. "type": "integer"
  20416. },
  20417. "total": {
  20418. "type": "integer"
  20419. }
  20420. }
  20421. },
  20422. "v1.VehicleListResponse": {
  20423. "type": "object",
  20424. "properties": {
  20425. "code": {
  20426. "description": "返回码",
  20427. "type": "integer",
  20428. "format": "int",
  20429. "default": 0
  20430. },
  20431. "data": {
  20432. "type": "object",
  20433. "$ref": "#/definitions/v1.VehicleListReply"
  20434. },
  20435. "message": {
  20436. "description": "消息",
  20437. "type": "string",
  20438. "default": "success"
  20439. }
  20440. }
  20441. },
  20442. "v1.VehicleUpdateBody": {
  20443. "type": "object",
  20444. "properties": {
  20445. "bind_type": {
  20446. "description": "1 出租 2 出售",
  20447. "type": "integer"
  20448. },
  20449. "brand": {
  20450. "description": "品牌",
  20451. "type": "string"
  20452. },
  20453. "color": {
  20454. "description": "颜色",
  20455. "type": "string"
  20456. },
  20457. "displacement": {
  20458. "description": "排量",
  20459. "type": "number"
  20460. },
  20461. "displacement_unit": {
  20462. "description": "排量单位",
  20463. "type": "string"
  20464. },
  20465. "engine_no": {
  20466. "description": "发动机号",
  20467. "type": "string"
  20468. },
  20469. "household_uid": {
  20470. "description": "住户uid",
  20471. "type": "integer"
  20472. },
  20473. "id": {
  20474. "type": "integer"
  20475. },
  20476. "plate_no": {
  20477. "description": "车牌号",
  20478. "type": "string"
  20479. },
  20480. "seat": {
  20481. "description": "座位数",
  20482. "type": "integer"
  20483. },
  20484. "space_id": {
  20485. "description": "车位id",
  20486. "type": "integer"
  20487. },
  20488. "vehicle_type": {
  20489. "description": "1 小型车 2 大型车 3 新能源小车 4 新能源大车",
  20490. "type": "integer"
  20491. },
  20492. "vin": {
  20493. "description": "车架号",
  20494. "type": "string"
  20495. }
  20496. }
  20497. },
  20498. "v1.VehicleUpdateResponse": {
  20499. "type": "object",
  20500. "properties": {
  20501. "code": {
  20502. "description": "返回码",
  20503. "type": "integer",
  20504. "format": "int",
  20505. "default": 0
  20506. },
  20507. "message": {
  20508. "description": "消息",
  20509. "type": "string",
  20510. "default": "success"
  20511. }
  20512. }
  20513. },
  20514. "v1.VoteAddBody": {
  20515. "type": "object",
  20516. "properties": {
  20517. "end": {
  20518. "description": "投票结束时间",
  20519. "type": "integer"
  20520. },
  20521. "pics": {
  20522. "description": "图片",
  20523. "type": "array",
  20524. "items": {
  20525. "type": "string"
  20526. }
  20527. },
  20528. "start": {
  20529. "description": "投票开始时间",
  20530. "type": "integer"
  20531. },
  20532. "title": {
  20533. "description": "投票标题",
  20534. "type": "string"
  20535. },
  20536. "topics": {
  20537. "description": "投票题目列表",
  20538. "type": "array",
  20539. "items": {
  20540. "$ref": "#/definitions/v1.VoteTopic"
  20541. }
  20542. }
  20543. }
  20544. },
  20545. "v1.VoteAddResponse": {
  20546. "type": "object",
  20547. "properties": {
  20548. "code": {
  20549. "description": "返回码",
  20550. "type": "integer",
  20551. "format": "int",
  20552. "default": 0
  20553. },
  20554. "message": {
  20555. "description": "消息",
  20556. "type": "string",
  20557. "default": "success"
  20558. }
  20559. }
  20560. },
  20561. "v1.VoteDelResponse": {
  20562. "type": "object",
  20563. "properties": {
  20564. "code": {
  20565. "description": "返回码",
  20566. "type": "integer",
  20567. "format": "int",
  20568. "default": 0
  20569. },
  20570. "message": {
  20571. "description": "消息",
  20572. "type": "string",
  20573. "default": "success"
  20574. }
  20575. }
  20576. },
  20577. "v1.VoteItem": {
  20578. "type": "object",
  20579. "properties": {
  20580. "created_at": {
  20581. "type": "integer"
  20582. },
  20583. "end": {
  20584. "type": "integer"
  20585. },
  20586. "id": {
  20587. "type": "integer"
  20588. },
  20589. "pics": {
  20590. "type": "array",
  20591. "items": {
  20592. "type": "string"
  20593. }
  20594. },
  20595. "start": {
  20596. "type": "integer"
  20597. },
  20598. "title": {
  20599. "type": "string"
  20600. },
  20601. "topics": {
  20602. "type": "array",
  20603. "items": {
  20604. "$ref": "#/definitions/v1.VoteTopic"
  20605. }
  20606. },
  20607. "user_count": {
  20608. "type": "integer"
  20609. }
  20610. }
  20611. },
  20612. "v1.VoteListReply": {
  20613. "type": "object",
  20614. "properties": {
  20615. "list": {
  20616. "type": "array",
  20617. "items": {
  20618. "$ref": "#/definitions/v1.VoteItem"
  20619. }
  20620. },
  20621. "page": {
  20622. "type": "integer"
  20623. },
  20624. "total": {
  20625. "type": "integer"
  20626. }
  20627. }
  20628. },
  20629. "v1.VoteListResponse": {
  20630. "type": "object",
  20631. "properties": {
  20632. "code": {
  20633. "description": "返回码",
  20634. "type": "integer",
  20635. "format": "int",
  20636. "default": 0
  20637. },
  20638. "data": {
  20639. "type": "object",
  20640. "$ref": "#/definitions/v1.VoteListReply"
  20641. },
  20642. "message": {
  20643. "description": "消息",
  20644. "type": "string",
  20645. "default": "success"
  20646. }
  20647. }
  20648. },
  20649. "v1.VoteResultData": {
  20650. "type": "object",
  20651. "properties": {
  20652. "choice_answers": {
  20653. "description": "选择题回答,当题目类型为选择题时有效",
  20654. "type": "array",
  20655. "items": {
  20656. "type": "string"
  20657. }
  20658. },
  20659. "choice_items": {
  20660. "description": "选择题的选项",
  20661. "type": "array",
  20662. "items": {
  20663. "$ref": "#/definitions/v1.VoteTopicChoiceItem"
  20664. }
  20665. },
  20666. "completion_answers": {
  20667. "description": "问答题回答,当题目类型为问答题时有效",
  20668. "type": "array",
  20669. "items": {
  20670. "type": "string"
  20671. }
  20672. },
  20673. "must": {
  20674. "description": "是否必选",
  20675. "type": "boolean"
  20676. },
  20677. "number": {
  20678. "description": "题目编号",
  20679. "type": "integer"
  20680. },
  20681. "star": {
  20682. "description": "总星数,当为评分题时有效",
  20683. "type": "integer"
  20684. },
  20685. "star_answers": {
  20686. "description": "评分题回答,当题目类型为评分题时有效",
  20687. "type": "integer"
  20688. },
  20689. "topic_name": {
  20690. "type": "string"
  20691. },
  20692. "topic_type": {
  20693. "description": "题目类型 1 填空题 2 单选题 3 多选题 4 评分题",
  20694. "type": "integer"
  20695. }
  20696. }
  20697. },
  20698. "v1.VoteResultListReply": {
  20699. "type": "object",
  20700. "properties": {
  20701. "list": {
  20702. "type": "array",
  20703. "items": {
  20704. "$ref": "#/definitions/v1.VoteResultUserAnswerItem"
  20705. }
  20706. },
  20707. "page": {
  20708. "type": "integer"
  20709. },
  20710. "total": {
  20711. "type": "integer"
  20712. }
  20713. }
  20714. },
  20715. "v1.VoteResultListResponse": {
  20716. "type": "object",
  20717. "properties": {
  20718. "code": {
  20719. "description": "返回码",
  20720. "type": "integer",
  20721. "format": "int",
  20722. "default": 0
  20723. },
  20724. "data": {
  20725. "type": "object",
  20726. "$ref": "#/definitions/v1.VoteResultListReply"
  20727. },
  20728. "message": {
  20729. "description": "消息",
  20730. "type": "string",
  20731. "default": "success"
  20732. }
  20733. }
  20734. },
  20735. "v1.VoteResultStatisticChoice": {
  20736. "type": "object",
  20737. "properties": {
  20738. "count": {
  20739. "description": "该选项被选的用户",
  20740. "type": "integer"
  20741. },
  20742. "flag": {
  20743. "description": "选择选项标识",
  20744. "type": "string"
  20745. },
  20746. "text": {
  20747. "type": "string"
  20748. }
  20749. }
  20750. },
  20751. "v1.VoteResultStatisticItem": {
  20752. "type": "object",
  20753. "properties": {
  20754. "choice_items": {
  20755. "description": "选择题的选项内容",
  20756. "type": "array",
  20757. "items": {
  20758. "$ref": "#/definitions/v1.VoteTopicChoiceItem"
  20759. }
  20760. },
  20761. "choice_statistic": {
  20762. "description": "选择题的选项回答统计,当题目类型为选择题时有效",
  20763. "type": "array",
  20764. "items": {
  20765. "$ref": "#/definitions/v1.VoteResultStatisticChoice"
  20766. }
  20767. },
  20768. "must": {
  20769. "description": "是否必选",
  20770. "type": "boolean"
  20771. },
  20772. "number": {
  20773. "description": "题目编号",
  20774. "type": "integer"
  20775. },
  20776. "star": {
  20777. "description": "总星数,当为评分题时有效",
  20778. "type": "integer"
  20779. },
  20780. "star_avg": {
  20781. "description": "平均分, 当题目类型为评分题时有效",
  20782. "type": "number"
  20783. },
  20784. "star_statistic": {
  20785. "description": "评分题的分数回答统计,当题目类型为评分题时有效",
  20786. "type": "array",
  20787. "items": {
  20788. "$ref": "#/definitions/v1.VoteResultStatisticStar"
  20789. }
  20790. },
  20791. "topic_name": {
  20792. "type": "string"
  20793. },
  20794. "topic_type": {
  20795. "description": "题目类型 1 填空题 2 单选题 3 多选题 4 评分题",
  20796. "type": "integer"
  20797. }
  20798. }
  20799. },
  20800. "v1.VoteResultStatisticReply": {
  20801. "type": "object",
  20802. "properties": {
  20803. "list": {
  20804. "description": "题目统计",
  20805. "type": "array",
  20806. "items": {
  20807. "$ref": "#/definitions/v1.VoteResultStatisticItem"
  20808. }
  20809. }
  20810. }
  20811. },
  20812. "v1.VoteResultStatisticResponse": {
  20813. "type": "object",
  20814. "properties": {
  20815. "code": {
  20816. "description": "返回码",
  20817. "type": "integer",
  20818. "format": "int",
  20819. "default": 0
  20820. },
  20821. "data": {
  20822. "type": "object",
  20823. "$ref": "#/definitions/v1.VoteResultStatisticReply"
  20824. },
  20825. "message": {
  20826. "description": "消息",
  20827. "type": "string",
  20828. "default": "success"
  20829. }
  20830. }
  20831. },
  20832. "v1.VoteResultStatisticStar": {
  20833. "type": "object",
  20834. "properties": {
  20835. "count": {
  20836. "description": "评该星数的用户数量",
  20837. "type": "integer"
  20838. },
  20839. "star": {
  20840. "description": "评分星数",
  20841. "type": "integer"
  20842. }
  20843. }
  20844. },
  20845. "v1.VoteResultUserAnswerItem": {
  20846. "type": "object",
  20847. "properties": {
  20848. "answer": {
  20849. "type": "object",
  20850. "$ref": "#/definitions/v1.VoteResultData"
  20851. },
  20852. "uid": {
  20853. "description": "用户uid",
  20854. "type": "integer"
  20855. },
  20856. "user_name": {
  20857. "type": "string"
  20858. }
  20859. }
  20860. },
  20861. "v1.VoteTopic": {
  20862. "type": "object",
  20863. "properties": {
  20864. "choice_items": {
  20865. "description": "选择题的选项",
  20866. "type": "array",
  20867. "items": {
  20868. "$ref": "#/definitions/v1.VoteTopicChoiceItem"
  20869. }
  20870. },
  20871. "must": {
  20872. "description": "是否必选",
  20873. "type": "boolean"
  20874. },
  20875. "number": {
  20876. "description": "题目编号",
  20877. "type": "integer"
  20878. },
  20879. "star": {
  20880. "description": "总星数,当为评分题时有效",
  20881. "type": "integer"
  20882. },
  20883. "topic_name": {
  20884. "type": "string"
  20885. },
  20886. "topic_type": {
  20887. "description": "题目类型 1 填空题 2 单选题 3 多选题 4 评分题",
  20888. "type": "integer"
  20889. }
  20890. }
  20891. },
  20892. "v1.VoteTopicChoiceItem": {
  20893. "type": "object",
  20894. "properties": {
  20895. "flag": {
  20896. "type": "string"
  20897. },
  20898. "text": {
  20899. "type": "string"
  20900. }
  20901. }
  20902. },
  20903. "v1.VoteUpdateBody": {
  20904. "type": "object",
  20905. "properties": {
  20906. "end": {
  20907. "description": "投票结束时间",
  20908. "type": "integer"
  20909. },
  20910. "id": {
  20911. "description": "投票id",
  20912. "type": "integer"
  20913. },
  20914. "pics": {
  20915. "description": "图片",
  20916. "type": "array",
  20917. "items": {
  20918. "type": "string"
  20919. }
  20920. },
  20921. "start": {
  20922. "description": "投票开始时间",
  20923. "type": "integer"
  20924. },
  20925. "title": {
  20926. "description": "投票标题",
  20927. "type": "string"
  20928. },
  20929. "topics": {
  20930. "description": "投票题目列表",
  20931. "type": "array",
  20932. "items": {
  20933. "$ref": "#/definitions/v1.VoteTopic"
  20934. }
  20935. }
  20936. }
  20937. },
  20938. "v1.VoteUpdateResponse": {
  20939. "type": "object",
  20940. "properties": {
  20941. "code": {
  20942. "description": "返回码",
  20943. "type": "integer",
  20944. "format": "int",
  20945. "default": 0
  20946. },
  20947. "message": {
  20948. "description": "消息",
  20949. "type": "string",
  20950. "default": "success"
  20951. }
  20952. }
  20953. }
  20954. }
  20955. }`
  20956. type swaggerInfo struct {
  20957. Version string
  20958. Host string
  20959. BasePath string
  20960. Schemes []string
  20961. Title string
  20962. Description string
  20963. }
  20964. // SwaggerInfo holds exported Swagger Info so clients can modify it
  20965. var SwaggerInfo = swaggerInfo{
  20966. Version: "1.1",
  20967. Host: "",
  20968. BasePath: "",
  20969. Schemes: []string{},
  20970. Title: "Project property-system-gateway's APIs",
  20971. Description: "This is a gateway server. On the page, you can go to do testing for every API.",
  20972. }
  20973. type s struct{}
  20974. func (s *s) ReadDoc() string {
  20975. sInfo := SwaggerInfo
  20976. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  20977. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  20978. "marshal": func(v interface{}) string {
  20979. a, _ := json.Marshal(v)
  20980. return string(a)
  20981. },
  20982. }).Parse(doc)
  20983. if err != nil {
  20984. return doc
  20985. }
  20986. var tpl bytes.Buffer
  20987. if err := t.Execute(&tpl, sInfo); err != nil {
  20988. return doc
  20989. }
  20990. return tpl.String()
  20991. }
  20992. func init() {
  20993. swag.Register(swag.Name, &s{})
  20994. }