docs.go 512 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859
  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/buildings/batch": {
  25. "post": {
  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": "token",
  41. "name": "token",
  42. "in": "header",
  43. "required": true
  44. },
  45. {
  46. "description": "信息",
  47. "name": "body",
  48. "in": "body",
  49. "required": true,
  50. "schema": {
  51. "$ref": "#/definitions/v1.BatchHouseAddBody"
  52. }
  53. }
  54. ],
  55. "responses": {
  56. "200": {
  57. "description": "OK",
  58. "schema": {
  59. "$ref": "#/definitions/v1.HouseAddResponse"
  60. }
  61. },
  62. "500": {
  63. "description": "Internal Server Error",
  64. "schema": {
  65. "$ref": "#/definitions/base.HTTPError"
  66. }
  67. }
  68. }
  69. }
  70. },
  71. "/api/v1/buildings/building": {
  72. "get": {
  73. "description": "楼栋列表",
  74. "consumes": [
  75. "application/json"
  76. ],
  77. "produces": [
  78. "application/json"
  79. ],
  80. "tags": [
  81. "楼盘管理"
  82. ],
  83. "summary": "楼栋列表",
  84. "parameters": [
  85. {
  86. "type": "string",
  87. "description": "token",
  88. "name": "token",
  89. "in": "header",
  90. "required": true
  91. },
  92. {
  93. "type": "integer",
  94. "description": " ",
  95. "name": "page",
  96. "in": "query"
  97. },
  98. {
  99. "type": "integer",
  100. "description": " ",
  101. "name": "page_size",
  102. "in": "query"
  103. },
  104. {
  105. "type": "string",
  106. "description": "楼栋编号",
  107. "name": "building_number",
  108. "in": "query"
  109. }
  110. ],
  111. "responses": {
  112. "200": {
  113. "description": "OK",
  114. "schema": {
  115. "$ref": "#/definitions/v1.BuildingListResponse"
  116. }
  117. },
  118. "500": {
  119. "description": "Internal Server Error",
  120. "schema": {
  121. "$ref": "#/definitions/base.HTTPError"
  122. }
  123. }
  124. }
  125. },
  126. "put": {
  127. "description": "更改楼栋",
  128. "consumes": [
  129. "application/json"
  130. ],
  131. "produces": [
  132. "application/json"
  133. ],
  134. "tags": [
  135. "楼盘管理"
  136. ],
  137. "summary": "更改楼栋",
  138. "parameters": [
  139. {
  140. "type": "string",
  141. "description": "token",
  142. "name": "token",
  143. "in": "header",
  144. "required": true
  145. },
  146. {
  147. "description": "信息",
  148. "name": "body",
  149. "in": "body",
  150. "required": true,
  151. "schema": {
  152. "$ref": "#/definitions/v1.BuildingUpdateBody"
  153. }
  154. }
  155. ],
  156. "responses": {
  157. "200": {
  158. "description": "OK",
  159. "schema": {
  160. "$ref": "#/definitions/v1.BuildingUpdateResponse"
  161. }
  162. },
  163. "500": {
  164. "description": "Internal Server Error",
  165. "schema": {
  166. "$ref": "#/definitions/base.HTTPError"
  167. }
  168. }
  169. }
  170. },
  171. "post": {
  172. "description": "添加楼栋",
  173. "consumes": [
  174. "application/json"
  175. ],
  176. "produces": [
  177. "application/json"
  178. ],
  179. "tags": [
  180. "楼盘管理"
  181. ],
  182. "summary": "添加楼栋",
  183. "parameters": [
  184. {
  185. "type": "string",
  186. "description": "token",
  187. "name": "token",
  188. "in": "header",
  189. "required": true
  190. },
  191. {
  192. "description": "信息",
  193. "name": "body",
  194. "in": "body",
  195. "required": true,
  196. "schema": {
  197. "$ref": "#/definitions/v1.BuildingAddBody"
  198. }
  199. }
  200. ],
  201. "responses": {
  202. "200": {
  203. "description": "OK",
  204. "schema": {
  205. "$ref": "#/definitions/v1.BuildingAddResponse"
  206. }
  207. },
  208. "500": {
  209. "description": "Internal Server Error",
  210. "schema": {
  211. "$ref": "#/definitions/base.HTTPError"
  212. }
  213. }
  214. }
  215. },
  216. "delete": {
  217. "description": "删除楼栋",
  218. "consumes": [
  219. "application/json"
  220. ],
  221. "produces": [
  222. "application/json"
  223. ],
  224. "tags": [
  225. "楼盘管理"
  226. ],
  227. "summary": "删除楼栋",
  228. "parameters": [
  229. {
  230. "type": "string",
  231. "description": "token",
  232. "name": "token",
  233. "in": "header",
  234. "required": true
  235. },
  236. {
  237. "type": "integer",
  238. "description": "id",
  239. "name": "id",
  240. "in": "query",
  241. "required": true
  242. }
  243. ],
  244. "responses": {
  245. "200": {
  246. "description": "OK",
  247. "schema": {
  248. "$ref": "#/definitions/v1.BuildingDelResponse"
  249. }
  250. },
  251. "500": {
  252. "description": "Internal Server Error",
  253. "schema": {
  254. "$ref": "#/definitions/base.HTTPError"
  255. }
  256. }
  257. }
  258. }
  259. },
  260. "/api/v1/buildings/house": {
  261. "get": {
  262. "description": "房屋列表",
  263. "consumes": [
  264. "application/json"
  265. ],
  266. "produces": [
  267. "application/json"
  268. ],
  269. "tags": [
  270. "楼盘管理"
  271. ],
  272. "summary": "房屋列表",
  273. "parameters": [
  274. {
  275. "type": "string",
  276. "description": "token",
  277. "name": "token",
  278. "in": "header",
  279. "required": true
  280. },
  281. {
  282. "type": "integer",
  283. "description": " ",
  284. "name": "page",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": " ",
  290. "name": "page_size",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "门牌号",
  296. "name": "house_number",
  297. "in": "query"
  298. },
  299. {
  300. "type": "integer",
  301. "description": "楼栋id",
  302. "name": "building_id",
  303. "in": "query"
  304. },
  305. {
  306. "type": "integer",
  307. "description": "单元id",
  308. "name": "unit_id",
  309. "in": "query"
  310. },
  311. {
  312. "type": "integer",
  313. "description": "住户uid",
  314. "name": "household_id",
  315. "in": "query"
  316. },
  317. {
  318. "type": "integer",
  319. "description": "房屋类型 1 住宅 2 商铺 3 办公",
  320. "name": "house_type",
  321. "in": "query"
  322. },
  323. {
  324. "type": "boolean",
  325. "description": "是否用于房屋租赁 true 是 false 否",
  326. "name": "house_rent",
  327. "in": "query"
  328. }
  329. ],
  330. "responses": {
  331. "200": {
  332. "description": "OK",
  333. "schema": {
  334. "$ref": "#/definitions/v1.HouseListResponse"
  335. }
  336. },
  337. "500": {
  338. "description": "Internal Server Error",
  339. "schema": {
  340. "$ref": "#/definitions/base.HTTPError"
  341. }
  342. }
  343. }
  344. },
  345. "put": {
  346. "description": "更改房屋",
  347. "consumes": [
  348. "application/json"
  349. ],
  350. "produces": [
  351. "application/json"
  352. ],
  353. "tags": [
  354. "楼盘管理"
  355. ],
  356. "summary": "更改房屋",
  357. "parameters": [
  358. {
  359. "type": "string",
  360. "description": "token",
  361. "name": "token",
  362. "in": "header",
  363. "required": true
  364. },
  365. {
  366. "description": "信息",
  367. "name": "body",
  368. "in": "body",
  369. "required": true,
  370. "schema": {
  371. "$ref": "#/definitions/v1.HouseUpdateBody"
  372. }
  373. }
  374. ],
  375. "responses": {
  376. "200": {
  377. "description": "OK",
  378. "schema": {
  379. "$ref": "#/definitions/v1.HouseUpdateResponse"
  380. }
  381. },
  382. "500": {
  383. "description": "Internal Server Error",
  384. "schema": {
  385. "$ref": "#/definitions/base.HTTPError"
  386. }
  387. }
  388. }
  389. },
  390. "post": {
  391. "description": "添加房屋",
  392. "consumes": [
  393. "application/json"
  394. ],
  395. "produces": [
  396. "application/json"
  397. ],
  398. "tags": [
  399. "楼盘管理"
  400. ],
  401. "summary": "添加房屋",
  402. "parameters": [
  403. {
  404. "type": "string",
  405. "description": "token",
  406. "name": "token",
  407. "in": "header",
  408. "required": true
  409. },
  410. {
  411. "description": "信息",
  412. "name": "body",
  413. "in": "body",
  414. "required": true,
  415. "schema": {
  416. "$ref": "#/definitions/v1.HouseAddBody"
  417. }
  418. }
  419. ],
  420. "responses": {
  421. "200": {
  422. "description": "OK",
  423. "schema": {
  424. "$ref": "#/definitions/v1.HouseAddResponse"
  425. }
  426. },
  427. "500": {
  428. "description": "Internal Server Error",
  429. "schema": {
  430. "$ref": "#/definitions/base.HTTPError"
  431. }
  432. }
  433. }
  434. },
  435. "delete": {
  436. "description": "删除房屋",
  437. "consumes": [
  438. "application/json"
  439. ],
  440. "produces": [
  441. "application/json"
  442. ],
  443. "tags": [
  444. "楼盘管理"
  445. ],
  446. "summary": "删除房屋",
  447. "parameters": [
  448. {
  449. "type": "string",
  450. "description": "token",
  451. "name": "token",
  452. "in": "header",
  453. "required": true
  454. },
  455. {
  456. "type": "integer",
  457. "description": "id",
  458. "name": "id",
  459. "in": "query",
  460. "required": true
  461. }
  462. ],
  463. "responses": {
  464. "200": {
  465. "description": "OK",
  466. "schema": {
  467. "$ref": "#/definitions/v1.HouseDelResponse"
  468. }
  469. },
  470. "500": {
  471. "description": "Internal Server Error",
  472. "schema": {
  473. "$ref": "#/definitions/base.HTTPError"
  474. }
  475. }
  476. }
  477. }
  478. },
  479. "/api/v1/buildings/unit": {
  480. "get": {
  481. "description": "单元列表",
  482. "consumes": [
  483. "application/json"
  484. ],
  485. "produces": [
  486. "application/json"
  487. ],
  488. "tags": [
  489. "楼盘管理"
  490. ],
  491. "summary": "单元列表",
  492. "parameters": [
  493. {
  494. "type": "string",
  495. "description": "token",
  496. "name": "token",
  497. "in": "header",
  498. "required": true
  499. },
  500. {
  501. "type": "integer",
  502. "description": " ",
  503. "name": "page",
  504. "in": "query"
  505. },
  506. {
  507. "type": "integer",
  508. "description": " ",
  509. "name": "page_size",
  510. "in": "query"
  511. },
  512. {
  513. "type": "integer",
  514. "description": "单元编号",
  515. "name": "unit_number",
  516. "in": "query"
  517. },
  518. {
  519. "type": "integer",
  520. "description": "楼栋id",
  521. "name": "building_id",
  522. "in": "query"
  523. }
  524. ],
  525. "responses": {
  526. "200": {
  527. "description": "OK",
  528. "schema": {
  529. "$ref": "#/definitions/v1.UnitListResponse"
  530. }
  531. },
  532. "500": {
  533. "description": "Internal Server Error",
  534. "schema": {
  535. "$ref": "#/definitions/base.HTTPError"
  536. }
  537. }
  538. }
  539. },
  540. "put": {
  541. "description": "更改单元",
  542. "consumes": [
  543. "application/json"
  544. ],
  545. "produces": [
  546. "application/json"
  547. ],
  548. "tags": [
  549. "楼盘管理"
  550. ],
  551. "summary": "更改单元",
  552. "parameters": [
  553. {
  554. "type": "string",
  555. "description": "token",
  556. "name": "token",
  557. "in": "header",
  558. "required": true
  559. },
  560. {
  561. "description": "信息",
  562. "name": "body",
  563. "in": "body",
  564. "required": true,
  565. "schema": {
  566. "$ref": "#/definitions/v1.UnitUpdateBody"
  567. }
  568. }
  569. ],
  570. "responses": {
  571. "200": {
  572. "description": "OK",
  573. "schema": {
  574. "$ref": "#/definitions/v1.UnitUpdateResponse"
  575. }
  576. },
  577. "500": {
  578. "description": "Internal Server Error",
  579. "schema": {
  580. "$ref": "#/definitions/base.HTTPError"
  581. }
  582. }
  583. }
  584. },
  585. "post": {
  586. "description": "添加单元",
  587. "consumes": [
  588. "application/json"
  589. ],
  590. "produces": [
  591. "application/json"
  592. ],
  593. "tags": [
  594. "楼盘管理"
  595. ],
  596. "summary": "添加单元",
  597. "parameters": [
  598. {
  599. "type": "string",
  600. "description": "token",
  601. "name": "token",
  602. "in": "header",
  603. "required": true
  604. },
  605. {
  606. "description": "信息",
  607. "name": "body",
  608. "in": "body",
  609. "required": true,
  610. "schema": {
  611. "$ref": "#/definitions/v1.UnitAddBody"
  612. }
  613. }
  614. ],
  615. "responses": {
  616. "200": {
  617. "description": "OK",
  618. "schema": {
  619. "$ref": "#/definitions/v1.UnitAddResponse"
  620. }
  621. },
  622. "500": {
  623. "description": "Internal Server Error",
  624. "schema": {
  625. "$ref": "#/definitions/base.HTTPError"
  626. }
  627. }
  628. }
  629. },
  630. "delete": {
  631. "description": "删除单元",
  632. "consumes": [
  633. "application/json"
  634. ],
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "楼盘管理"
  640. ],
  641. "summary": "删除单元",
  642. "parameters": [
  643. {
  644. "type": "string",
  645. "description": "token",
  646. "name": "token",
  647. "in": "header",
  648. "required": true
  649. },
  650. {
  651. "type": "integer",
  652. "description": "id",
  653. "name": "id",
  654. "in": "query",
  655. "required": true
  656. }
  657. ],
  658. "responses": {
  659. "200": {
  660. "description": "OK",
  661. "schema": {
  662. "$ref": "#/definitions/v1.UnitDelResponse"
  663. }
  664. },
  665. "500": {
  666. "description": "Internal Server Error",
  667. "schema": {
  668. "$ref": "#/definitions/base.HTTPError"
  669. }
  670. }
  671. }
  672. }
  673. },
  674. "/api/v1/charge/batch_urge": {
  675. "get": {
  676. "description": "批量催缴单",
  677. "consumes": [
  678. "application/json"
  679. ],
  680. "produces": [
  681. "application/json"
  682. ],
  683. "tags": [
  684. "对象收费相关"
  685. ],
  686. "summary": "批量催缴单",
  687. "parameters": [
  688. {
  689. "type": "string",
  690. "description": "token",
  691. "name": "token",
  692. "in": "header",
  693. "required": true
  694. },
  695. {
  696. "type": "integer",
  697. "description": "1 房屋 2 车位",
  698. "name": "obj_type",
  699. "in": "query",
  700. "required": true
  701. }
  702. ],
  703. "responses": {
  704. "200": {
  705. "description": "OK",
  706. "schema": {
  707. "$ref": "#/definitions/v1.BatchUrgeResponse"
  708. }
  709. },
  710. "500": {
  711. "description": "Internal Server Error",
  712. "schema": {
  713. "$ref": "#/definitions/base.HTTPError"
  714. }
  715. }
  716. }
  717. }
  718. },
  719. "/api/v1/charge/bind": {
  720. "put": {
  721. "description": "费用绑定对象",
  722. "consumes": [
  723. "application/json"
  724. ],
  725. "produces": [
  726. "application/json"
  727. ],
  728. "tags": [
  729. "费用绑定相关"
  730. ],
  731. "summary": "费用绑定对象",
  732. "parameters": [
  733. {
  734. "type": "string",
  735. "description": "token",
  736. "name": "token",
  737. "in": "header",
  738. "required": true
  739. },
  740. {
  741. "description": "信息",
  742. "name": "body",
  743. "in": "body",
  744. "required": true,
  745. "schema": {
  746. "$ref": "#/definitions/v1.ChargeBindBody"
  747. }
  748. }
  749. ],
  750. "responses": {
  751. "200": {
  752. "description": "OK",
  753. "schema": {
  754. "$ref": "#/definitions/v1.ChargeBindResponse"
  755. }
  756. },
  757. "500": {
  758. "description": "Internal Server Error",
  759. "schema": {
  760. "$ref": "#/definitions/base.HTTPError"
  761. }
  762. }
  763. }
  764. }
  765. },
  766. "/api/v1/charge/conf": {
  767. "get": {
  768. "description": "费用配置列表",
  769. "consumes": [
  770. "application/json"
  771. ],
  772. "produces": [
  773. "application/json"
  774. ],
  775. "tags": [
  776. "费用配置"
  777. ],
  778. "summary": "费用配置列表",
  779. "parameters": [
  780. {
  781. "type": "integer",
  782. "description": " ",
  783. "name": "page",
  784. "in": "query"
  785. },
  786. {
  787. "type": "integer",
  788. "description": " ",
  789. "name": "page_size",
  790. "in": "query"
  791. },
  792. {
  793. "type": "integer",
  794. "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  795. "name": "charge_type",
  796. "in": "query"
  797. },
  798. {
  799. "type": "string",
  800. "description": "token",
  801. "name": "token",
  802. "in": "header",
  803. "required": true
  804. }
  805. ],
  806. "responses": {
  807. "200": {
  808. "description": "OK",
  809. "schema": {
  810. "$ref": "#/definitions/v1.ChargeConfListResponse"
  811. }
  812. },
  813. "500": {
  814. "description": "Internal Server Error",
  815. "schema": {
  816. "$ref": "#/definitions/base.HTTPError"
  817. }
  818. }
  819. }
  820. },
  821. "put": {
  822. "description": "修改费用配置",
  823. "consumes": [
  824. "application/json"
  825. ],
  826. "produces": [
  827. "application/json"
  828. ],
  829. "tags": [
  830. "费用配置"
  831. ],
  832. "summary": "修改费用配置",
  833. "parameters": [
  834. {
  835. "type": "string",
  836. "description": "token",
  837. "name": "token",
  838. "in": "header",
  839. "required": true
  840. },
  841. {
  842. "description": "信息",
  843. "name": "body",
  844. "in": "body",
  845. "required": true,
  846. "schema": {
  847. "$ref": "#/definitions/v1.ChargeConfUpdateBody"
  848. }
  849. }
  850. ],
  851. "responses": {
  852. "200": {
  853. "description": "OK",
  854. "schema": {
  855. "$ref": "#/definitions/v1.ChargeConfUpdateResponse"
  856. }
  857. },
  858. "500": {
  859. "description": "Internal Server Error",
  860. "schema": {
  861. "$ref": "#/definitions/base.HTTPError"
  862. }
  863. }
  864. }
  865. },
  866. "post": {
  867. "description": "添加费用配置",
  868. "consumes": [
  869. "application/json"
  870. ],
  871. "produces": [
  872. "application/json"
  873. ],
  874. "tags": [
  875. "费用配置"
  876. ],
  877. "summary": "添加费用配置",
  878. "parameters": [
  879. {
  880. "type": "string",
  881. "description": "token",
  882. "name": "token",
  883. "in": "header",
  884. "required": true
  885. },
  886. {
  887. "description": "信息",
  888. "name": "body",
  889. "in": "body",
  890. "required": true,
  891. "schema": {
  892. "$ref": "#/definitions/v1.ChargeConfAddBody"
  893. }
  894. }
  895. ],
  896. "responses": {
  897. "200": {
  898. "description": "OK",
  899. "schema": {
  900. "$ref": "#/definitions/v1.ChargeConfAddResponse"
  901. }
  902. },
  903. "500": {
  904. "description": "Internal Server Error",
  905. "schema": {
  906. "$ref": "#/definitions/base.HTTPError"
  907. }
  908. }
  909. }
  910. },
  911. "delete": {
  912. "description": "删除费用配置",
  913. "consumes": [
  914. "application/json"
  915. ],
  916. "produces": [
  917. "application/json"
  918. ],
  919. "tags": [
  920. "费用配置"
  921. ],
  922. "summary": "删除费用配置",
  923. "parameters": [
  924. {
  925. "type": "integer",
  926. "description": " ",
  927. "name": "id",
  928. "in": "query",
  929. "required": true
  930. },
  931. {
  932. "type": "string",
  933. "description": "token",
  934. "name": "token",
  935. "in": "header",
  936. "required": true
  937. }
  938. ],
  939. "responses": {
  940. "200": {
  941. "description": "OK",
  942. "schema": {
  943. "$ref": "#/definitions/v1.ChargeConfDelResponse"
  944. }
  945. },
  946. "500": {
  947. "description": "Internal Server Error",
  948. "schema": {
  949. "$ref": "#/definitions/base.HTTPError"
  950. }
  951. }
  952. }
  953. }
  954. },
  955. "/api/v1/charge/discard_bill/list": {
  956. "get": {
  957. "description": "作废账单列表",
  958. "consumes": [
  959. "application/json"
  960. ],
  961. "produces": [
  962. "application/json"
  963. ],
  964. "tags": [
  965. "作废账单"
  966. ],
  967. "summary": "作废账单列表",
  968. "parameters": [
  969. {
  970. "type": "string",
  971. "description": "token",
  972. "name": "token",
  973. "in": "header",
  974. "required": true
  975. },
  976. {
  977. "type": "integer",
  978. "description": " ",
  979. "name": "page",
  980. "in": "query"
  981. },
  982. {
  983. "type": "integer",
  984. "description": " ",
  985. "name": "page_size",
  986. "in": "query"
  987. },
  988. {
  989. "type": "integer",
  990. "description": "费用类型 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  991. "name": "charge_type",
  992. "in": "query"
  993. },
  994. {
  995. "type": "string",
  996. "description": "对象名",
  997. "name": "obj_name",
  998. "in": "query"
  999. },
  1000. {
  1001. "type": "string",
  1002. "description": "费项名",
  1003. "name": "charge_name",
  1004. "in": "query"
  1005. },
  1006. {
  1007. "type": "integer",
  1008. "description": "1 房屋 2 车位 3 车辆 ",
  1009. "name": "obj_type",
  1010. "in": "query"
  1011. }
  1012. ],
  1013. "responses": {
  1014. "200": {
  1015. "description": "OK",
  1016. "schema": {
  1017. "$ref": "#/definitions/v1.ChargeDelBillListResponse"
  1018. }
  1019. },
  1020. "500": {
  1021. "description": "Internal Server Error",
  1022. "schema": {
  1023. "$ref": "#/definitions/base.HTTPError"
  1024. }
  1025. }
  1026. }
  1027. }
  1028. },
  1029. "/api/v1/charge/discard_bill/recover": {
  1030. "put": {
  1031. "description": "恢复账单",
  1032. "consumes": [
  1033. "application/json"
  1034. ],
  1035. "produces": [
  1036. "application/json"
  1037. ],
  1038. "tags": [
  1039. "作废账单"
  1040. ],
  1041. "summary": "恢复账单",
  1042. "parameters": [
  1043. {
  1044. "type": "string",
  1045. "description": "token",
  1046. "name": "token",
  1047. "in": "header",
  1048. "required": true
  1049. },
  1050. {
  1051. "description": " ",
  1052. "name": "body",
  1053. "in": "body",
  1054. "required": true,
  1055. "schema": {
  1056. "$ref": "#/definitions/v1.ChargeRecoverBillBody"
  1057. }
  1058. }
  1059. ],
  1060. "responses": {
  1061. "200": {
  1062. "description": "OK",
  1063. "schema": {
  1064. "$ref": "#/definitions/v1.ChargeRecoverBillResponse"
  1065. }
  1066. },
  1067. "500": {
  1068. "description": "Internal Server Error",
  1069. "schema": {
  1070. "$ref": "#/definitions/base.HTTPError"
  1071. }
  1072. }
  1073. }
  1074. }
  1075. },
  1076. "/api/v1/charge/house/binded_list": {
  1077. "get": {
  1078. "description": "绑定了项目的房屋列表",
  1079. "consumes": [
  1080. "application/json"
  1081. ],
  1082. "produces": [
  1083. "application/json"
  1084. ],
  1085. "tags": [
  1086. "费用绑定相关"
  1087. ],
  1088. "summary": "绑定了项目的房屋列表",
  1089. "parameters": [
  1090. {
  1091. "type": "string",
  1092. "description": "token",
  1093. "name": "token",
  1094. "in": "header",
  1095. "required": true
  1096. },
  1097. {
  1098. "type": "integer",
  1099. "description": "费项id",
  1100. "name": "charge_id",
  1101. "in": "query",
  1102. "required": true
  1103. },
  1104. {
  1105. "type": "integer",
  1106. "description": " ",
  1107. "name": "page",
  1108. "in": "query"
  1109. },
  1110. {
  1111. "type": "integer",
  1112. "description": " ",
  1113. "name": "page_size",
  1114. "in": "query"
  1115. }
  1116. ],
  1117. "responses": {
  1118. "200": {
  1119. "description": "OK",
  1120. "schema": {
  1121. "$ref": "#/definitions/v1.ChargeHouseBindedListResponse"
  1122. }
  1123. },
  1124. "500": {
  1125. "description": "Internal Server Error",
  1126. "schema": {
  1127. "$ref": "#/definitions/base.HTTPError"
  1128. }
  1129. }
  1130. }
  1131. }
  1132. },
  1133. "/api/v1/charge/house/can_bind_list": {
  1134. "get": {
  1135. "description": "可以绑定某项目的房屋列表",
  1136. "consumes": [
  1137. "application/json"
  1138. ],
  1139. "produces": [
  1140. "application/json"
  1141. ],
  1142. "tags": [
  1143. "费用绑定相关"
  1144. ],
  1145. "summary": "可以绑定某项目的房屋列表",
  1146. "parameters": [
  1147. {
  1148. "type": "string",
  1149. "description": "token",
  1150. "name": "token",
  1151. "in": "header",
  1152. "required": true
  1153. },
  1154. {
  1155. "type": "integer",
  1156. "description": "费项id",
  1157. "name": "charge_id",
  1158. "in": "query",
  1159. "required": true
  1160. },
  1161. {
  1162. "type": "integer",
  1163. "description": " ",
  1164. "name": "page",
  1165. "in": "query"
  1166. },
  1167. {
  1168. "type": "integer",
  1169. "description": " ",
  1170. "name": "page_size",
  1171. "in": "query"
  1172. }
  1173. ],
  1174. "responses": {
  1175. "200": {
  1176. "description": "OK",
  1177. "schema": {
  1178. "$ref": "#/definitions/v1.ChargeHouseNotBindListResponse"
  1179. }
  1180. },
  1181. "500": {
  1182. "description": "Internal Server Error",
  1183. "schema": {
  1184. "$ref": "#/definitions/base.HTTPError"
  1185. }
  1186. }
  1187. }
  1188. }
  1189. },
  1190. "/api/v1/charge/native_pay": {
  1191. "put": {
  1192. "description": "二维码收款",
  1193. "consumes": [
  1194. "application/json"
  1195. ],
  1196. "produces": [
  1197. "application/json"
  1198. ],
  1199. "tags": [
  1200. "收银台"
  1201. ],
  1202. "summary": "二维码收款",
  1203. "parameters": [
  1204. {
  1205. "type": "string",
  1206. "description": "token",
  1207. "name": "token",
  1208. "in": "header",
  1209. "required": true
  1210. },
  1211. {
  1212. "description": " ",
  1213. "name": "body",
  1214. "in": "body",
  1215. "required": true,
  1216. "schema": {
  1217. "$ref": "#/definitions/v1.ChargeBillPayByHouseholdBody"
  1218. }
  1219. }
  1220. ],
  1221. "responses": {
  1222. "200": {
  1223. "description": "OK",
  1224. "schema": {
  1225. "$ref": "#/definitions/v1.ChargeBillPayByHouseholdResponse"
  1226. }
  1227. },
  1228. "500": {
  1229. "description": "Internal Server Error",
  1230. "schema": {
  1231. "$ref": "#/definitions/base.HTTPError"
  1232. }
  1233. }
  1234. }
  1235. }
  1236. },
  1237. "/api/v1/charge/obj_charge/bill": {
  1238. "put": {
  1239. "description": "手动生成账单,仅周期性费用和水电气可以生成",
  1240. "consumes": [
  1241. "application/json"
  1242. ],
  1243. "produces": [
  1244. "application/json"
  1245. ],
  1246. "tags": [
  1247. "对象收费相关"
  1248. ],
  1249. "summary": "手动生成账单,仅周期性费用和水电气可以生成",
  1250. "parameters": [
  1251. {
  1252. "type": "string",
  1253. "description": "token",
  1254. "name": "token",
  1255. "in": "header",
  1256. "required": true
  1257. },
  1258. {
  1259. "description": " ",
  1260. "name": "body",
  1261. "in": "body",
  1262. "required": true,
  1263. "schema": {
  1264. "$ref": "#/definitions/v1.ChargeGenerateBillBody"
  1265. }
  1266. }
  1267. ],
  1268. "responses": {
  1269. "200": {
  1270. "description": "OK",
  1271. "schema": {
  1272. "$ref": "#/definitions/v1.ChargeGenerateBillResponse"
  1273. }
  1274. },
  1275. "500": {
  1276. "description": "Internal Server Error",
  1277. "schema": {
  1278. "$ref": "#/definitions/base.HTTPError"
  1279. }
  1280. }
  1281. }
  1282. }
  1283. },
  1284. "/api/v1/charge/obj_charge/bill_list": {
  1285. "get": {
  1286. "description": "对象的某费项下的待缴账单列表",
  1287. "consumes": [
  1288. "application/json"
  1289. ],
  1290. "produces": [
  1291. "application/json"
  1292. ],
  1293. "tags": [
  1294. "对象收费相关"
  1295. ],
  1296. "summary": "对象的某费项下的待缴账单列表",
  1297. "parameters": [
  1298. {
  1299. "type": "string",
  1300. "description": "token",
  1301. "name": "token",
  1302. "in": "header",
  1303. "required": true
  1304. },
  1305. {
  1306. "type": "integer",
  1307. "description": "绑定关系id",
  1308. "name": "bind_id",
  1309. "in": "query",
  1310. "required": true
  1311. },
  1312. {
  1313. "type": "integer",
  1314. "description": " ",
  1315. "name": "page",
  1316. "in": "query"
  1317. },
  1318. {
  1319. "type": "integer",
  1320. "description": " ",
  1321. "name": "page_size",
  1322. "in": "query"
  1323. }
  1324. ],
  1325. "responses": {
  1326. "200": {
  1327. "description": "OK",
  1328. "schema": {
  1329. "$ref": "#/definitions/v1.ChargeBillListResponse"
  1330. }
  1331. },
  1332. "500": {
  1333. "description": "Internal Server Error",
  1334. "schema": {
  1335. "$ref": "#/definitions/base.HTTPError"
  1336. }
  1337. }
  1338. }
  1339. }
  1340. },
  1341. "/api/v1/charge/obj_charge/charge_list": {
  1342. "get": {
  1343. "description": "查看费用,费项列表",
  1344. "consumes": [
  1345. "application/json"
  1346. ],
  1347. "produces": [
  1348. "application/json"
  1349. ],
  1350. "tags": [
  1351. "对象收费相关"
  1352. ],
  1353. "summary": "查看费用,费项列表",
  1354. "parameters": [
  1355. {
  1356. "type": "string",
  1357. "description": "token",
  1358. "name": "token",
  1359. "in": "header",
  1360. "required": true
  1361. },
  1362. {
  1363. "type": "integer",
  1364. "description": "房屋/车位/车辆id",
  1365. "name": "obj_id",
  1366. "in": "query",
  1367. "required": true
  1368. },
  1369. {
  1370. "type": "integer",
  1371. "description": "1 房屋 2 车位 3 车辆 ",
  1372. "name": "obj_type",
  1373. "in": "query",
  1374. "required": true
  1375. },
  1376. {
  1377. "type": "integer",
  1378. "description": " ",
  1379. "name": "page",
  1380. "in": "query"
  1381. },
  1382. {
  1383. "type": "integer",
  1384. "description": " ",
  1385. "name": "page_size",
  1386. "in": "query"
  1387. }
  1388. ],
  1389. "responses": {
  1390. "200": {
  1391. "description": "OK",
  1392. "schema": {
  1393. "$ref": "#/definitions/v1.ChargeListResponse"
  1394. }
  1395. },
  1396. "500": {
  1397. "description": "Internal Server Error",
  1398. "schema": {
  1399. "$ref": "#/definitions/base.HTTPError"
  1400. }
  1401. }
  1402. }
  1403. }
  1404. },
  1405. "/api/v1/charge/obj_charge/house_list": {
  1406. "get": {
  1407. "description": "房屋收费 房屋列表",
  1408. "consumes": [
  1409. "application/json"
  1410. ],
  1411. "produces": [
  1412. "application/json"
  1413. ],
  1414. "tags": [
  1415. "对象收费相关"
  1416. ],
  1417. "summary": "房屋收费 房屋列表",
  1418. "parameters": [
  1419. {
  1420. "type": "string",
  1421. "description": "token",
  1422. "name": "token",
  1423. "in": "header",
  1424. "required": true
  1425. },
  1426. {
  1427. "type": "integer",
  1428. "description": " ",
  1429. "name": "page",
  1430. "in": "query"
  1431. },
  1432. {
  1433. "type": "integer",
  1434. "description": " ",
  1435. "name": "page_size",
  1436. "in": "query"
  1437. }
  1438. ],
  1439. "responses": {
  1440. "200": {
  1441. "description": "OK",
  1442. "schema": {
  1443. "$ref": "#/definitions/v1.ChargeHouseGroupResponse"
  1444. }
  1445. },
  1446. "500": {
  1447. "description": "Internal Server Error",
  1448. "schema": {
  1449. "$ref": "#/definitions/base.HTTPError"
  1450. }
  1451. }
  1452. }
  1453. }
  1454. },
  1455. "/api/v1/charge/obj_charge/pay": {
  1456. "put": {
  1457. "description": "欠费线下缴费",
  1458. "consumes": [
  1459. "application/json"
  1460. ],
  1461. "produces": [
  1462. "application/json"
  1463. ],
  1464. "tags": [
  1465. "对象收费相关"
  1466. ],
  1467. "summary": "欠费线下缴费",
  1468. "parameters": [
  1469. {
  1470. "type": "string",
  1471. "description": "token",
  1472. "name": "token",
  1473. "in": "header",
  1474. "required": true
  1475. },
  1476. {
  1477. "description": " ",
  1478. "name": "body",
  1479. "in": "body",
  1480. "required": true,
  1481. "schema": {
  1482. "$ref": "#/definitions/v1.ChargeBillPayBody"
  1483. }
  1484. }
  1485. ],
  1486. "responses": {
  1487. "200": {
  1488. "description": "OK",
  1489. "schema": {
  1490. "$ref": "#/definitions/v1.ChargeBillPayResponse"
  1491. }
  1492. },
  1493. "500": {
  1494. "description": "Internal Server Error",
  1495. "schema": {
  1496. "$ref": "#/definitions/base.HTTPError"
  1497. }
  1498. }
  1499. }
  1500. }
  1501. },
  1502. "/api/v1/charge/obj_charge/pre_pay": {
  1503. "put": {
  1504. "description": "线下预缴物业费或车位费",
  1505. "consumes": [
  1506. "application/json"
  1507. ],
  1508. "produces": [
  1509. "application/json"
  1510. ],
  1511. "tags": [
  1512. "对象收费相关"
  1513. ],
  1514. "summary": "线下预缴物业费或车位费",
  1515. "parameters": [
  1516. {
  1517. "type": "string",
  1518. "description": "token",
  1519. "name": "token",
  1520. "in": "header",
  1521. "required": true
  1522. },
  1523. {
  1524. "description": " ",
  1525. "name": "body",
  1526. "in": "body",
  1527. "required": true,
  1528. "schema": {
  1529. "$ref": "#/definitions/v1.ChargePrePayBody"
  1530. }
  1531. }
  1532. ],
  1533. "responses": {
  1534. "200": {
  1535. "description": "OK",
  1536. "schema": {
  1537. "$ref": "#/definitions/v1.ChargePrePayResponse"
  1538. }
  1539. },
  1540. "500": {
  1541. "description": "Internal Server Error",
  1542. "schema": {
  1543. "$ref": "#/definitions/base.HTTPError"
  1544. }
  1545. }
  1546. }
  1547. }
  1548. },
  1549. "/api/v1/charge/obj_charge/pre_pay_info": {
  1550. "get": {
  1551. "description": "预缴物业费或车位费前获取对应的金额信息",
  1552. "consumes": [
  1553. "application/json"
  1554. ],
  1555. "produces": [
  1556. "application/json"
  1557. ],
  1558. "tags": [
  1559. "对象收费相关"
  1560. ],
  1561. "summary": "预缴物业费或车位费前获取对应的金额信息",
  1562. "parameters": [
  1563. {
  1564. "type": "string",
  1565. "description": "token",
  1566. "name": "token",
  1567. "in": "header",
  1568. "required": true
  1569. },
  1570. {
  1571. "type": "integer",
  1572. "description": "关系id",
  1573. "name": "bind_id",
  1574. "in": "query",
  1575. "required": true
  1576. },
  1577. {
  1578. "type": "integer",
  1579. "description": "缴费月数",
  1580. "name": "months",
  1581. "in": "query",
  1582. "required": true
  1583. }
  1584. ],
  1585. "responses": {
  1586. "200": {
  1587. "description": "OK",
  1588. "schema": {
  1589. "$ref": "#/definitions/v1.ChargePrePayInfoResponse"
  1590. }
  1591. },
  1592. "500": {
  1593. "description": "Internal Server Error",
  1594. "schema": {
  1595. "$ref": "#/definitions/base.HTTPError"
  1596. }
  1597. }
  1598. }
  1599. }
  1600. },
  1601. "/api/v1/charge/obj_charge/space_list": {
  1602. "get": {
  1603. "description": "车位收费 车位列表",
  1604. "consumes": [
  1605. "application/json"
  1606. ],
  1607. "produces": [
  1608. "application/json"
  1609. ],
  1610. "tags": [
  1611. "对象收费相关"
  1612. ],
  1613. "summary": "车位收费 车位列表",
  1614. "parameters": [
  1615. {
  1616. "type": "string",
  1617. "description": "token",
  1618. "name": "token",
  1619. "in": "header",
  1620. "required": true
  1621. },
  1622. {
  1623. "type": "integer",
  1624. "description": " ",
  1625. "name": "page",
  1626. "in": "query"
  1627. },
  1628. {
  1629. "type": "integer",
  1630. "description": " ",
  1631. "name": "page_size",
  1632. "in": "query"
  1633. }
  1634. ],
  1635. "responses": {
  1636. "200": {
  1637. "description": "OK",
  1638. "schema": {
  1639. "$ref": "#/definitions/v1.ChargeSpaceGroupResponse"
  1640. }
  1641. },
  1642. "500": {
  1643. "description": "Internal Server Error",
  1644. "schema": {
  1645. "$ref": "#/definitions/base.HTTPError"
  1646. }
  1647. }
  1648. }
  1649. }
  1650. },
  1651. "/api/v1/charge/obj_charge/ticket": {
  1652. "get": {
  1653. "description": "小票和收据信息",
  1654. "consumes": [
  1655. "application/json"
  1656. ],
  1657. "produces": [
  1658. "application/json"
  1659. ],
  1660. "tags": [
  1661. "对象收费相关"
  1662. ],
  1663. "summary": "小票和收据信息",
  1664. "parameters": [
  1665. {
  1666. "type": "string",
  1667. "description": "token",
  1668. "name": "token",
  1669. "in": "header",
  1670. "required": true
  1671. },
  1672. {
  1673. "type": "string",
  1674. "description": "订单号 ",
  1675. "name": "order_id",
  1676. "in": "query",
  1677. "required": true
  1678. }
  1679. ],
  1680. "responses": {
  1681. "200": {
  1682. "description": "OK",
  1683. "schema": {
  1684. "$ref": "#/definitions/v1.ChargeOrderTicketResponse"
  1685. }
  1686. },
  1687. "500": {
  1688. "description": "Internal Server Error",
  1689. "schema": {
  1690. "$ref": "#/definitions/base.HTTPError"
  1691. }
  1692. }
  1693. }
  1694. }
  1695. },
  1696. "/api/v1/charge/obj_charge/time": {
  1697. "put": {
  1698. "description": "变更时间",
  1699. "consumes": [
  1700. "application/json"
  1701. ],
  1702. "produces": [
  1703. "application/json"
  1704. ],
  1705. "tags": [
  1706. "对象收费相关"
  1707. ],
  1708. "summary": "变更时间",
  1709. "parameters": [
  1710. {
  1711. "type": "string",
  1712. "description": "token",
  1713. "name": "token",
  1714. "in": "header",
  1715. "required": true
  1716. },
  1717. {
  1718. "description": " ",
  1719. "name": "body",
  1720. "in": "body",
  1721. "required": true,
  1722. "schema": {
  1723. "$ref": "#/definitions/v1.ChargeTimeSetBody"
  1724. }
  1725. }
  1726. ],
  1727. "responses": {
  1728. "200": {
  1729. "description": "OK",
  1730. "schema": {
  1731. "$ref": "#/definitions/v1.ChargeTimeSetResponse"
  1732. }
  1733. },
  1734. "500": {
  1735. "description": "Internal Server Error",
  1736. "schema": {
  1737. "$ref": "#/definitions/base.HTTPError"
  1738. }
  1739. }
  1740. }
  1741. }
  1742. },
  1743. "/api/v1/charge/obj_charge/unpay_list": {
  1744. "get": {
  1745. "description": "欠费缴费欠费列表",
  1746. "consumes": [
  1747. "application/json"
  1748. ],
  1749. "produces": [
  1750. "application/json"
  1751. ],
  1752. "tags": [
  1753. "对象收费相关"
  1754. ],
  1755. "summary": "欠费缴费欠费列表",
  1756. "parameters": [
  1757. {
  1758. "type": "string",
  1759. "description": "token",
  1760. "name": "token",
  1761. "in": "header",
  1762. "required": true
  1763. },
  1764. {
  1765. "type": "integer",
  1766. "description": "房屋/车位/车辆id",
  1767. "name": "obj_id",
  1768. "in": "query",
  1769. "required": true
  1770. },
  1771. {
  1772. "type": "integer",
  1773. "description": "1 房屋 2 车位 3 车辆 ",
  1774. "name": "obj_type",
  1775. "in": "query",
  1776. "required": true
  1777. },
  1778. {
  1779. "type": "integer",
  1780. "description": " ",
  1781. "name": "page",
  1782. "in": "query"
  1783. },
  1784. {
  1785. "type": "integer",
  1786. "description": " ",
  1787. "name": "page_size",
  1788. "in": "query"
  1789. }
  1790. ],
  1791. "responses": {
  1792. "200": {
  1793. "description": "OK",
  1794. "schema": {
  1795. "$ref": "#/definitions/v1.ChargeUnpayListResponse"
  1796. }
  1797. },
  1798. "500": {
  1799. "description": "Internal Server Error",
  1800. "schema": {
  1801. "$ref": "#/definitions/base.HTTPError"
  1802. }
  1803. }
  1804. }
  1805. }
  1806. },
  1807. "/api/v1/charge/obj_charge/vehicle_list": {
  1808. "get": {
  1809. "description": "车辆收费 车辆列表",
  1810. "consumes": [
  1811. "application/json"
  1812. ],
  1813. "produces": [
  1814. "application/json"
  1815. ],
  1816. "tags": [
  1817. "对象收费相关"
  1818. ],
  1819. "summary": "车辆收费 车辆列表",
  1820. "parameters": [
  1821. {
  1822. "type": "string",
  1823. "description": "token",
  1824. "name": "token",
  1825. "in": "header",
  1826. "required": true
  1827. },
  1828. {
  1829. "type": "integer",
  1830. "description": " ",
  1831. "name": "page",
  1832. "in": "query"
  1833. },
  1834. {
  1835. "type": "integer",
  1836. "description": " ",
  1837. "name": "page_size",
  1838. "in": "query"
  1839. }
  1840. ],
  1841. "responses": {
  1842. "200": {
  1843. "description": "OK",
  1844. "schema": {
  1845. "$ref": "#/definitions/v1.ChargeVehicleGroupResponse"
  1846. }
  1847. },
  1848. "500": {
  1849. "description": "Internal Server Error",
  1850. "schema": {
  1851. "$ref": "#/definitions/base.HTTPError"
  1852. }
  1853. }
  1854. }
  1855. }
  1856. },
  1857. "/api/v1/charge/order/confirm": {
  1858. "put": {
  1859. "description": "确认订单已支付",
  1860. "consumes": [
  1861. "application/json"
  1862. ],
  1863. "produces": [
  1864. "application/json"
  1865. ],
  1866. "tags": [
  1867. "缴费订单"
  1868. ],
  1869. "summary": "确认订单已支付",
  1870. "parameters": [
  1871. {
  1872. "type": "string",
  1873. "description": "token",
  1874. "name": "token",
  1875. "in": "header",
  1876. "required": true
  1877. },
  1878. {
  1879. "description": " ",
  1880. "name": "body",
  1881. "in": "body",
  1882. "required": true,
  1883. "schema": {
  1884. "$ref": "#/definitions/v1.ChargeOrderPayBody"
  1885. }
  1886. }
  1887. ],
  1888. "responses": {
  1889. "200": {
  1890. "description": "OK",
  1891. "schema": {
  1892. "$ref": "#/definitions/v1.ChargeOrderPayResponse"
  1893. }
  1894. },
  1895. "500": {
  1896. "description": "Internal Server Error",
  1897. "schema": {
  1898. "$ref": "#/definitions/base.HTTPError"
  1899. }
  1900. }
  1901. }
  1902. }
  1903. },
  1904. "/api/v1/charge/order/info": {
  1905. "get": {
  1906. "description": "订单详情",
  1907. "consumes": [
  1908. "application/json"
  1909. ],
  1910. "produces": [
  1911. "application/json"
  1912. ],
  1913. "tags": [
  1914. "缴费订单"
  1915. ],
  1916. "summary": "订单详情",
  1917. "parameters": [
  1918. {
  1919. "type": "string",
  1920. "description": "token",
  1921. "name": "token",
  1922. "in": "header",
  1923. "required": true
  1924. },
  1925. {
  1926. "type": "string",
  1927. "description": "订单详情",
  1928. "name": "order_id",
  1929. "in": "query",
  1930. "required": true
  1931. }
  1932. ],
  1933. "responses": {
  1934. "200": {
  1935. "description": "OK",
  1936. "schema": {
  1937. "$ref": "#/definitions/v1.ChargeOrderInfoResponse"
  1938. }
  1939. },
  1940. "500": {
  1941. "description": "Internal Server Error",
  1942. "schema": {
  1943. "$ref": "#/definitions/base.HTTPError"
  1944. }
  1945. }
  1946. }
  1947. }
  1948. },
  1949. "/api/v1/charge/order/list": {
  1950. "get": {
  1951. "description": "缴费订单列表",
  1952. "consumes": [
  1953. "application/json"
  1954. ],
  1955. "produces": [
  1956. "application/json"
  1957. ],
  1958. "tags": [
  1959. "缴费订单"
  1960. ],
  1961. "summary": "缴费订单列表",
  1962. "parameters": [
  1963. {
  1964. "type": "string",
  1965. "description": "token",
  1966. "name": "token",
  1967. "in": "header",
  1968. "required": true
  1969. },
  1970. {
  1971. "type": "integer",
  1972. "description": " ",
  1973. "name": "page",
  1974. "in": "query"
  1975. },
  1976. {
  1977. "type": "integer",
  1978. "description": " ",
  1979. "name": "page_size",
  1980. "in": "query"
  1981. },
  1982. {
  1983. "type": "integer",
  1984. "description": "1 现金 2 微信 3 支付宝 4 pos 5 转账 6 小程序微信支付 7 小程序支付宝支付 8 app 微信支付 9 app 支付宝支付",
  1985. "name": "pay_type",
  1986. "in": "query"
  1987. },
  1988. {
  1989. "type": "string",
  1990. "description": "对象名",
  1991. "name": "obj_name",
  1992. "in": "query"
  1993. },
  1994. {
  1995. "type": "integer",
  1996. "description": "2 支付中 3 已支付",
  1997. "name": "pay_status",
  1998. "in": "query"
  1999. }
  2000. ],
  2001. "responses": {
  2002. "200": {
  2003. "description": "OK",
  2004. "schema": {
  2005. "$ref": "#/definitions/v1.ChargeOrderListResponse"
  2006. }
  2007. },
  2008. "500": {
  2009. "description": "Internal Server Error",
  2010. "schema": {
  2011. "$ref": "#/definitions/base.HTTPError"
  2012. }
  2013. }
  2014. }
  2015. }
  2016. },
  2017. "/api/v1/charge/payed_bill/list": {
  2018. "get": {
  2019. "description": "已缴账单",
  2020. "consumes": [
  2021. "application/json"
  2022. ],
  2023. "produces": [
  2024. "application/json"
  2025. ],
  2026. "tags": [
  2027. "已缴账单"
  2028. ],
  2029. "summary": "已缴账单",
  2030. "parameters": [
  2031. {
  2032. "type": "string",
  2033. "description": "token",
  2034. "name": "token",
  2035. "in": "header",
  2036. "required": true
  2037. },
  2038. {
  2039. "type": "integer",
  2040. "description": " ",
  2041. "name": "page",
  2042. "in": "query"
  2043. },
  2044. {
  2045. "type": "integer",
  2046. "description": " ",
  2047. "name": "page_size",
  2048. "in": "query"
  2049. },
  2050. {
  2051. "type": "integer",
  2052. "description": "费用类型 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  2053. "name": "charge_type",
  2054. "in": "query"
  2055. },
  2056. {
  2057. "type": "string",
  2058. "description": "对象名",
  2059. "name": "obj_name",
  2060. "in": "query"
  2061. },
  2062. {
  2063. "type": "string",
  2064. "description": "费项名",
  2065. "name": "charge_name",
  2066. "in": "query"
  2067. }
  2068. ],
  2069. "responses": {
  2070. "200": {
  2071. "description": "OK",
  2072. "schema": {
  2073. "$ref": "#/definitions/v1.ChargePayedBillListResponse"
  2074. }
  2075. },
  2076. "500": {
  2077. "description": "Internal Server Error",
  2078. "schema": {
  2079. "$ref": "#/definitions/base.HTTPError"
  2080. }
  2081. }
  2082. }
  2083. }
  2084. },
  2085. "/api/v1/charge/power": {
  2086. "get": {
  2087. "description": "抄表列表",
  2088. "consumes": [
  2089. "application/json"
  2090. ],
  2091. "produces": [
  2092. "application/json"
  2093. ],
  2094. "tags": [
  2095. "抄表"
  2096. ],
  2097. "summary": "抄表列表",
  2098. "parameters": [
  2099. {
  2100. "type": "integer",
  2101. "description": " ",
  2102. "name": "page",
  2103. "in": "query"
  2104. },
  2105. {
  2106. "type": "integer",
  2107. "description": " ",
  2108. "name": "page_size",
  2109. "in": "query"
  2110. },
  2111. {
  2112. "type": "integer",
  2113. "description": "费用类型 2 水费 3 电费 4 气费 ",
  2114. "name": "charge_type",
  2115. "in": "query"
  2116. },
  2117. {
  2118. "type": "string",
  2119. "description": "token",
  2120. "name": "token",
  2121. "in": "header",
  2122. "required": true
  2123. }
  2124. ],
  2125. "responses": {
  2126. "200": {
  2127. "description": "OK",
  2128. "schema": {
  2129. "$ref": "#/definitions/v1.PowerRecordListResponse"
  2130. }
  2131. },
  2132. "500": {
  2133. "description": "Internal Server Error",
  2134. "schema": {
  2135. "$ref": "#/definitions/base.HTTPError"
  2136. }
  2137. }
  2138. }
  2139. },
  2140. "post": {
  2141. "description": "添加抄表记录",
  2142. "consumes": [
  2143. "application/json"
  2144. ],
  2145. "produces": [
  2146. "application/json"
  2147. ],
  2148. "tags": [
  2149. "抄表"
  2150. ],
  2151. "summary": "添加抄表记录",
  2152. "parameters": [
  2153. {
  2154. "type": "string",
  2155. "description": "token",
  2156. "name": "token",
  2157. "in": "header",
  2158. "required": true
  2159. },
  2160. {
  2161. "description": "信息",
  2162. "name": "body",
  2163. "in": "body",
  2164. "required": true,
  2165. "schema": {
  2166. "$ref": "#/definitions/v1.PowerRecordAddBody"
  2167. }
  2168. }
  2169. ],
  2170. "responses": {
  2171. "200": {
  2172. "description": "OK",
  2173. "schema": {
  2174. "$ref": "#/definitions/v1.PowerRecordAddResponse"
  2175. }
  2176. },
  2177. "500": {
  2178. "description": "Internal Server Error",
  2179. "schema": {
  2180. "$ref": "#/definitions/base.HTTPError"
  2181. }
  2182. }
  2183. }
  2184. },
  2185. "delete": {
  2186. "description": "删除抄表记录",
  2187. "consumes": [
  2188. "application/json"
  2189. ],
  2190. "produces": [
  2191. "application/json"
  2192. ],
  2193. "tags": [
  2194. "抄表"
  2195. ],
  2196. "summary": "删除抄表记录",
  2197. "parameters": [
  2198. {
  2199. "type": "integer",
  2200. "description": " ",
  2201. "name": "id",
  2202. "in": "query",
  2203. "required": true
  2204. },
  2205. {
  2206. "type": "string",
  2207. "description": "token",
  2208. "name": "token",
  2209. "in": "header",
  2210. "required": true
  2211. }
  2212. ],
  2213. "responses": {
  2214. "200": {
  2215. "description": "OK",
  2216. "schema": {
  2217. "$ref": "#/definitions/v1.PowerRecordDelResponse"
  2218. }
  2219. },
  2220. "500": {
  2221. "description": "Internal Server Error",
  2222. "schema": {
  2223. "$ref": "#/definitions/base.HTTPError"
  2224. }
  2225. }
  2226. }
  2227. }
  2228. },
  2229. "/api/v1/charge/power/batch": {
  2230. "post": {
  2231. "description": "批量抄表",
  2232. "consumes": [
  2233. "application/json"
  2234. ],
  2235. "produces": [
  2236. "application/json"
  2237. ],
  2238. "tags": [
  2239. "抄表"
  2240. ],
  2241. "summary": "批量抄表",
  2242. "parameters": [
  2243. {
  2244. "type": "string",
  2245. "description": "jwt token",
  2246. "name": "token",
  2247. "in": "header",
  2248. "required": true
  2249. },
  2250. {
  2251. "type": "integer",
  2252. "description": "费用类型 2 水费 3 电费 4 气费",
  2253. "name": "charge_type",
  2254. "in": "query",
  2255. "required": true
  2256. },
  2257. {
  2258. "type": "file",
  2259. "description": "file",
  2260. "name": "file",
  2261. "in": "formData",
  2262. "required": true
  2263. }
  2264. ],
  2265. "responses": {
  2266. "200": {
  2267. "description": "OK",
  2268. "schema": {
  2269. "$ref": "#/definitions/v1.PowerRecordBatchAddResponse"
  2270. }
  2271. },
  2272. "500": {
  2273. "description": "Internal Server Error",
  2274. "schema": {
  2275. "$ref": "#/definitions/base.HTTPError"
  2276. }
  2277. }
  2278. }
  2279. }
  2280. },
  2281. "/api/v1/charge/power/template": {
  2282. "get": {
  2283. "description": "获取抄表模板",
  2284. "consumes": [
  2285. "application/json"
  2286. ],
  2287. "produces": [
  2288. "application/json"
  2289. ],
  2290. "tags": [
  2291. "抄表"
  2292. ],
  2293. "summary": "获取抄表模板",
  2294. "parameters": [
  2295. {
  2296. "type": "string",
  2297. "description": "token",
  2298. "name": "token",
  2299. "in": "header",
  2300. "required": true
  2301. }
  2302. ],
  2303. "responses": {
  2304. "200": {
  2305. "description": "OK",
  2306. "schema": {
  2307. "$ref": "#/definitions/v1.ChargePowerTemplateResponse"
  2308. }
  2309. },
  2310. "500": {
  2311. "description": "Internal Server Error",
  2312. "schema": {
  2313. "$ref": "#/definitions/base.HTTPError"
  2314. }
  2315. }
  2316. }
  2317. }
  2318. },
  2319. "/api/v1/charge/property_package": {
  2320. "get": {
  2321. "description": "物业费套餐列表",
  2322. "consumes": [
  2323. "application/json"
  2324. ],
  2325. "produces": [
  2326. "application/json"
  2327. ],
  2328. "tags": [
  2329. "物业费套餐"
  2330. ],
  2331. "summary": "物业费套餐列表",
  2332. "parameters": [
  2333. {
  2334. "type": "integer",
  2335. "description": " ",
  2336. "name": "page",
  2337. "in": "query"
  2338. },
  2339. {
  2340. "type": "integer",
  2341. "description": " ",
  2342. "name": "page_size",
  2343. "in": "query"
  2344. },
  2345. {
  2346. "type": "string",
  2347. "description": "token",
  2348. "name": "token",
  2349. "in": "header",
  2350. "required": true
  2351. }
  2352. ],
  2353. "responses": {
  2354. "200": {
  2355. "description": "OK",
  2356. "schema": {
  2357. "$ref": "#/definitions/v1.PropertyPackageListResponse"
  2358. }
  2359. },
  2360. "500": {
  2361. "description": "Internal Server Error",
  2362. "schema": {
  2363. "$ref": "#/definitions/base.HTTPError"
  2364. }
  2365. }
  2366. }
  2367. },
  2368. "put": {
  2369. "description": "修改物业费套餐",
  2370. "consumes": [
  2371. "application/json"
  2372. ],
  2373. "produces": [
  2374. "application/json"
  2375. ],
  2376. "tags": [
  2377. "物业费套餐"
  2378. ],
  2379. "summary": "修改物业费套餐",
  2380. "parameters": [
  2381. {
  2382. "type": "string",
  2383. "description": "token",
  2384. "name": "token",
  2385. "in": "header",
  2386. "required": true
  2387. },
  2388. {
  2389. "description": "信息",
  2390. "name": "body",
  2391. "in": "body",
  2392. "required": true,
  2393. "schema": {
  2394. "$ref": "#/definitions/v1.PropertyPackageUpdateBody"
  2395. }
  2396. }
  2397. ],
  2398. "responses": {
  2399. "200": {
  2400. "description": "OK",
  2401. "schema": {
  2402. "$ref": "#/definitions/v1.PropertyPackageUpdateResponse"
  2403. }
  2404. },
  2405. "500": {
  2406. "description": "Internal Server Error",
  2407. "schema": {
  2408. "$ref": "#/definitions/base.HTTPError"
  2409. }
  2410. }
  2411. }
  2412. },
  2413. "post": {
  2414. "description": "添加物业费套餐",
  2415. "consumes": [
  2416. "application/json"
  2417. ],
  2418. "produces": [
  2419. "application/json"
  2420. ],
  2421. "tags": [
  2422. "物业费套餐"
  2423. ],
  2424. "summary": "添加物业费套餐",
  2425. "parameters": [
  2426. {
  2427. "type": "string",
  2428. "description": "token",
  2429. "name": "token",
  2430. "in": "header",
  2431. "required": true
  2432. },
  2433. {
  2434. "description": "信息",
  2435. "name": "body",
  2436. "in": "body",
  2437. "required": true,
  2438. "schema": {
  2439. "$ref": "#/definitions/v1.PropertyPackageAddBody"
  2440. }
  2441. }
  2442. ],
  2443. "responses": {
  2444. "200": {
  2445. "description": "OK",
  2446. "schema": {
  2447. "$ref": "#/definitions/v1.PropertyPackageAddResponse"
  2448. }
  2449. },
  2450. "500": {
  2451. "description": "Internal Server Error",
  2452. "schema": {
  2453. "$ref": "#/definitions/base.HTTPError"
  2454. }
  2455. }
  2456. }
  2457. },
  2458. "delete": {
  2459. "description": "删除物业费套餐",
  2460. "consumes": [
  2461. "application/json"
  2462. ],
  2463. "produces": [
  2464. "application/json"
  2465. ],
  2466. "tags": [
  2467. "物业费套餐"
  2468. ],
  2469. "summary": "删除物业费套餐",
  2470. "parameters": [
  2471. {
  2472. "type": "integer",
  2473. "description": " ",
  2474. "name": "id",
  2475. "in": "query",
  2476. "required": true
  2477. },
  2478. {
  2479. "type": "string",
  2480. "description": "token",
  2481. "name": "token",
  2482. "in": "header",
  2483. "required": true
  2484. }
  2485. ],
  2486. "responses": {
  2487. "200": {
  2488. "description": "OK",
  2489. "schema": {
  2490. "$ref": "#/definitions/v1.PropertyPackageDelResponse"
  2491. }
  2492. },
  2493. "500": {
  2494. "description": "Internal Server Error",
  2495. "schema": {
  2496. "$ref": "#/definitions/base.HTTPError"
  2497. }
  2498. }
  2499. }
  2500. }
  2501. },
  2502. "/api/v1/charge/space/binded_list": {
  2503. "get": {
  2504. "description": "绑定了项目的车位列表",
  2505. "consumes": [
  2506. "application/json"
  2507. ],
  2508. "produces": [
  2509. "application/json"
  2510. ],
  2511. "tags": [
  2512. "费用绑定相关"
  2513. ],
  2514. "summary": "绑定了项目的车位列表",
  2515. "parameters": [
  2516. {
  2517. "type": "string",
  2518. "description": "token",
  2519. "name": "token",
  2520. "in": "header",
  2521. "required": true
  2522. },
  2523. {
  2524. "type": "integer",
  2525. "description": "费项id",
  2526. "name": "charge_id",
  2527. "in": "query",
  2528. "required": true
  2529. },
  2530. {
  2531. "type": "integer",
  2532. "description": " ",
  2533. "name": "page",
  2534. "in": "query"
  2535. },
  2536. {
  2537. "type": "integer",
  2538. "description": " ",
  2539. "name": "page_size",
  2540. "in": "query"
  2541. }
  2542. ],
  2543. "responses": {
  2544. "200": {
  2545. "description": "OK",
  2546. "schema": {
  2547. "$ref": "#/definitions/v1.ChargeSpaceBindedListResponse"
  2548. }
  2549. },
  2550. "500": {
  2551. "description": "Internal Server Error",
  2552. "schema": {
  2553. "$ref": "#/definitions/base.HTTPError"
  2554. }
  2555. }
  2556. }
  2557. }
  2558. },
  2559. "/api/v1/charge/space/can_bind_list": {
  2560. "get": {
  2561. "description": "可以绑定某项目的车位列表",
  2562. "consumes": [
  2563. "application/json"
  2564. ],
  2565. "produces": [
  2566. "application/json"
  2567. ],
  2568. "tags": [
  2569. "费用绑定相关"
  2570. ],
  2571. "summary": "可以绑定某项目的车位列表",
  2572. "parameters": [
  2573. {
  2574. "type": "string",
  2575. "description": "token",
  2576. "name": "token",
  2577. "in": "header",
  2578. "required": true
  2579. },
  2580. {
  2581. "type": "integer",
  2582. "description": "费项id",
  2583. "name": "charge_id",
  2584. "in": "query",
  2585. "required": true
  2586. },
  2587. {
  2588. "type": "integer",
  2589. "description": " ",
  2590. "name": "page",
  2591. "in": "query"
  2592. },
  2593. {
  2594. "type": "integer",
  2595. "description": " ",
  2596. "name": "page_size",
  2597. "in": "query"
  2598. }
  2599. ],
  2600. "responses": {
  2601. "200": {
  2602. "description": "OK",
  2603. "schema": {
  2604. "$ref": "#/definitions/v1.ChargeSpaceNotBindListResponse"
  2605. }
  2606. },
  2607. "500": {
  2608. "description": "Internal Server Error",
  2609. "schema": {
  2610. "$ref": "#/definitions/base.HTTPError"
  2611. }
  2612. }
  2613. }
  2614. }
  2615. },
  2616. "/api/v1/charge/unbind": {
  2617. "put": {
  2618. "description": "费用解绑对象",
  2619. "consumes": [
  2620. "application/json"
  2621. ],
  2622. "produces": [
  2623. "application/json"
  2624. ],
  2625. "tags": [
  2626. "费用绑定相关"
  2627. ],
  2628. "summary": "费用解绑对象",
  2629. "parameters": [
  2630. {
  2631. "type": "string",
  2632. "description": "token",
  2633. "name": "token",
  2634. "in": "header",
  2635. "required": true
  2636. },
  2637. {
  2638. "description": "信息",
  2639. "name": "body",
  2640. "in": "body",
  2641. "required": true,
  2642. "schema": {
  2643. "$ref": "#/definitions/v1.ChargeUnbindBody"
  2644. }
  2645. }
  2646. ],
  2647. "responses": {
  2648. "200": {
  2649. "description": "OK",
  2650. "schema": {
  2651. "$ref": "#/definitions/v1.ChargeUnbindResponse"
  2652. }
  2653. },
  2654. "500": {
  2655. "description": "Internal Server Error",
  2656. "schema": {
  2657. "$ref": "#/definitions/base.HTTPError"
  2658. }
  2659. }
  2660. }
  2661. }
  2662. },
  2663. "/api/v1/charge/unpay_bill/discard": {
  2664. "put": {
  2665. "description": "作废账单",
  2666. "consumes": [
  2667. "application/json"
  2668. ],
  2669. "produces": [
  2670. "application/json"
  2671. ],
  2672. "tags": [
  2673. "应收账单"
  2674. ],
  2675. "summary": "作废账单",
  2676. "parameters": [
  2677. {
  2678. "type": "string",
  2679. "description": "token",
  2680. "name": "token",
  2681. "in": "header",
  2682. "required": true
  2683. },
  2684. {
  2685. "description": " ",
  2686. "name": "body",
  2687. "in": "body",
  2688. "required": true,
  2689. "schema": {
  2690. "$ref": "#/definitions/v1.ChargeDelBillBody"
  2691. }
  2692. }
  2693. ],
  2694. "responses": {
  2695. "200": {
  2696. "description": "OK",
  2697. "schema": {
  2698. "$ref": "#/definitions/v1.ChargeDelBillResponse"
  2699. }
  2700. },
  2701. "500": {
  2702. "description": "Internal Server Error",
  2703. "schema": {
  2704. "$ref": "#/definitions/base.HTTPError"
  2705. }
  2706. }
  2707. }
  2708. }
  2709. },
  2710. "/api/v1/charge/unpay_bill/obj_bill_list": {
  2711. "get": {
  2712. "description": "应收账单中某对象的账单明细",
  2713. "consumes": [
  2714. "application/json"
  2715. ],
  2716. "produces": [
  2717. "application/json"
  2718. ],
  2719. "tags": [
  2720. "应收账单"
  2721. ],
  2722. "summary": "应收账单中某对象的账单明细",
  2723. "parameters": [
  2724. {
  2725. "type": "string",
  2726. "description": "token",
  2727. "name": "token",
  2728. "in": "header",
  2729. "required": true
  2730. },
  2731. {
  2732. "type": "integer",
  2733. "description": " ",
  2734. "name": "page",
  2735. "in": "query"
  2736. },
  2737. {
  2738. "type": "integer",
  2739. "description": " ",
  2740. "name": "page_size",
  2741. "in": "query"
  2742. },
  2743. {
  2744. "type": "integer",
  2745. "description": "房屋/车位/车辆id",
  2746. "name": "obj_id",
  2747. "in": "query",
  2748. "required": true
  2749. },
  2750. {
  2751. "type": "integer",
  2752. "description": "1 房屋 2 车位 3 车辆 ",
  2753. "name": "obj_type",
  2754. "in": "query",
  2755. "required": true
  2756. },
  2757. {
  2758. "type": "integer",
  2759. "description": "费用类型 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  2760. "name": "charge_type",
  2761. "in": "query"
  2762. },
  2763. {
  2764. "type": "string",
  2765. "description": "对象名",
  2766. "name": "obj_name",
  2767. "in": "query"
  2768. },
  2769. {
  2770. "type": "string",
  2771. "description": "费项名",
  2772. "name": "charge_name",
  2773. "in": "query"
  2774. }
  2775. ],
  2776. "responses": {
  2777. "200": {
  2778. "description": "OK",
  2779. "schema": {
  2780. "$ref": "#/definitions/v1.ChargeObjBillListResponse"
  2781. }
  2782. },
  2783. "500": {
  2784. "description": "Internal Server Error",
  2785. "schema": {
  2786. "$ref": "#/definitions/base.HTTPError"
  2787. }
  2788. }
  2789. }
  2790. }
  2791. },
  2792. "/api/v1/charge/unpay_bill/obj_list": {
  2793. "get": {
  2794. "description": "应收账单中的对象列表",
  2795. "consumes": [
  2796. "application/json"
  2797. ],
  2798. "produces": [
  2799. "application/json"
  2800. ],
  2801. "tags": [
  2802. "应收账单"
  2803. ],
  2804. "summary": "应收账单中的对象列表",
  2805. "parameters": [
  2806. {
  2807. "type": "string",
  2808. "description": "token",
  2809. "name": "token",
  2810. "in": "header",
  2811. "required": true
  2812. },
  2813. {
  2814. "type": "integer",
  2815. "description": " ",
  2816. "name": "page",
  2817. "in": "query"
  2818. },
  2819. {
  2820. "type": "integer",
  2821. "description": " ",
  2822. "name": "page_size",
  2823. "in": "query"
  2824. }
  2825. ],
  2826. "responses": {
  2827. "200": {
  2828. "description": "OK",
  2829. "schema": {
  2830. "$ref": "#/definitions/v1.ChargeBillObjListResponse"
  2831. }
  2832. },
  2833. "500": {
  2834. "description": "Internal Server Error",
  2835. "schema": {
  2836. "$ref": "#/definitions/base.HTTPError"
  2837. }
  2838. }
  2839. }
  2840. }
  2841. },
  2842. "/api/v1/charge/unpay_bill/urge": {
  2843. "post": {
  2844. "description": "一键催缴",
  2845. "consumes": [
  2846. "application/json"
  2847. ],
  2848. "produces": [
  2849. "application/json"
  2850. ],
  2851. "tags": [
  2852. "应收账单"
  2853. ],
  2854. "summary": "一键催缴",
  2855. "parameters": [
  2856. {
  2857. "type": "string",
  2858. "description": "token",
  2859. "name": "token",
  2860. "in": "header",
  2861. "required": true
  2862. },
  2863. {
  2864. "description": " ",
  2865. "name": "body",
  2866. "in": "body",
  2867. "required": true,
  2868. "schema": {
  2869. "$ref": "#/definitions/v1.ChargeUrgeBody"
  2870. }
  2871. }
  2872. ],
  2873. "responses": {
  2874. "200": {
  2875. "description": "OK",
  2876. "schema": {
  2877. "$ref": "#/definitions/v1.ChargeUrgeResponse"
  2878. }
  2879. },
  2880. "500": {
  2881. "description": "Internal Server Error",
  2882. "schema": {
  2883. "$ref": "#/definitions/base.HTTPError"
  2884. }
  2885. }
  2886. }
  2887. }
  2888. },
  2889. "/api/v1/charge/urge": {
  2890. "get": {
  2891. "description": "催缴信息",
  2892. "consumes": [
  2893. "application/json"
  2894. ],
  2895. "produces": [
  2896. "application/json"
  2897. ],
  2898. "tags": [
  2899. "催缴设置"
  2900. ],
  2901. "summary": "催缴信息",
  2902. "parameters": [
  2903. {
  2904. "type": "string",
  2905. "description": "token",
  2906. "name": "token",
  2907. "in": "header",
  2908. "required": true
  2909. }
  2910. ],
  2911. "responses": {
  2912. "200": {
  2913. "description": "OK",
  2914. "schema": {
  2915. "$ref": "#/definitions/v1.ChargeUrgeInfoResponse"
  2916. }
  2917. },
  2918. "500": {
  2919. "description": "Internal Server Error",
  2920. "schema": {
  2921. "$ref": "#/definitions/base.HTTPError"
  2922. }
  2923. }
  2924. }
  2925. },
  2926. "put": {
  2927. "description": "催缴设置",
  2928. "consumes": [
  2929. "application/json"
  2930. ],
  2931. "produces": [
  2932. "application/json"
  2933. ],
  2934. "tags": [
  2935. "催缴设置"
  2936. ],
  2937. "summary": "催缴设置",
  2938. "parameters": [
  2939. {
  2940. "type": "string",
  2941. "description": "token",
  2942. "name": "token",
  2943. "in": "header",
  2944. "required": true
  2945. },
  2946. {
  2947. "description": " ",
  2948. "name": "body",
  2949. "in": "body",
  2950. "required": true,
  2951. "schema": {
  2952. "$ref": "#/definitions/v1.ChargeUrgeSetBody"
  2953. }
  2954. }
  2955. ],
  2956. "responses": {
  2957. "200": {
  2958. "description": "OK",
  2959. "schema": {
  2960. "$ref": "#/definitions/v1.ChargeUrgeSetResponse"
  2961. }
  2962. },
  2963. "500": {
  2964. "description": "Internal Server Error",
  2965. "schema": {
  2966. "$ref": "#/definitions/base.HTTPError"
  2967. }
  2968. }
  2969. }
  2970. }
  2971. },
  2972. "/api/v1/charge/vehicle/binded_list": {
  2973. "get": {
  2974. "description": "绑定了项目的车辆列表",
  2975. "consumes": [
  2976. "application/json"
  2977. ],
  2978. "produces": [
  2979. "application/json"
  2980. ],
  2981. "tags": [
  2982. "费用绑定相关"
  2983. ],
  2984. "summary": "绑定了项目的车辆列表",
  2985. "parameters": [
  2986. {
  2987. "type": "string",
  2988. "description": "token",
  2989. "name": "token",
  2990. "in": "header",
  2991. "required": true
  2992. },
  2993. {
  2994. "type": "integer",
  2995. "description": "费项id",
  2996. "name": "charge_id",
  2997. "in": "query",
  2998. "required": true
  2999. },
  3000. {
  3001. "type": "integer",
  3002. "description": " ",
  3003. "name": "page",
  3004. "in": "query"
  3005. },
  3006. {
  3007. "type": "integer",
  3008. "description": " ",
  3009. "name": "page_size",
  3010. "in": "query"
  3011. }
  3012. ],
  3013. "responses": {
  3014. "200": {
  3015. "description": "OK",
  3016. "schema": {
  3017. "$ref": "#/definitions/v1.ChargeVehicleBindedListResponse"
  3018. }
  3019. },
  3020. "500": {
  3021. "description": "Internal Server Error",
  3022. "schema": {
  3023. "$ref": "#/definitions/base.HTTPError"
  3024. }
  3025. }
  3026. }
  3027. }
  3028. },
  3029. "/api/v1/charge/vehicle/can_bind_list": {
  3030. "get": {
  3031. "description": "可以绑定某项目的车辆列表",
  3032. "consumes": [
  3033. "application/json"
  3034. ],
  3035. "produces": [
  3036. "application/json"
  3037. ],
  3038. "tags": [
  3039. "费用绑定相关"
  3040. ],
  3041. "summary": "可以绑定某项目的车辆列表",
  3042. "parameters": [
  3043. {
  3044. "type": "string",
  3045. "description": "token",
  3046. "name": "token",
  3047. "in": "header",
  3048. "required": true
  3049. },
  3050. {
  3051. "type": "integer",
  3052. "description": "费项id",
  3053. "name": "charge_id",
  3054. "in": "query",
  3055. "required": true
  3056. },
  3057. {
  3058. "type": "integer",
  3059. "description": " ",
  3060. "name": "page",
  3061. "in": "query"
  3062. },
  3063. {
  3064. "type": "integer",
  3065. "description": " ",
  3066. "name": "page_size",
  3067. "in": "query"
  3068. }
  3069. ],
  3070. "responses": {
  3071. "200": {
  3072. "description": "OK",
  3073. "schema": {
  3074. "$ref": "#/definitions/v1.ChargeVehicleNotBindListResponse"
  3075. }
  3076. },
  3077. "500": {
  3078. "description": "Internal Server Error",
  3079. "schema": {
  3080. "$ref": "#/definitions/base.HTTPError"
  3081. }
  3082. }
  3083. }
  3084. }
  3085. },
  3086. "/api/v1/department": {
  3087. "get": {
  3088. "description": "部门列表",
  3089. "consumes": [
  3090. "application/json"
  3091. ],
  3092. "produces": [
  3093. "application/json"
  3094. ],
  3095. "tags": [
  3096. "部门"
  3097. ],
  3098. "summary": "部门列表",
  3099. "parameters": [
  3100. {
  3101. "type": "integer",
  3102. "description": " ",
  3103. "name": "page",
  3104. "in": "query"
  3105. },
  3106. {
  3107. "type": "integer",
  3108. "description": " ",
  3109. "name": "page_size",
  3110. "in": "query"
  3111. },
  3112. {
  3113. "type": "string",
  3114. "description": "token",
  3115. "name": "token",
  3116. "in": "header",
  3117. "required": true
  3118. }
  3119. ],
  3120. "responses": {
  3121. "200": {
  3122. "description": "OK",
  3123. "schema": {
  3124. "$ref": "#/definitions/v1.DepartmentListResponse"
  3125. }
  3126. },
  3127. "500": {
  3128. "description": "Internal Server Error",
  3129. "schema": {
  3130. "$ref": "#/definitions/base.HTTPError"
  3131. }
  3132. }
  3133. }
  3134. },
  3135. "put": {
  3136. "description": "更改部门",
  3137. "consumes": [
  3138. "application/json"
  3139. ],
  3140. "produces": [
  3141. "application/json"
  3142. ],
  3143. "tags": [
  3144. "部门"
  3145. ],
  3146. "summary": "更改部门",
  3147. "parameters": [
  3148. {
  3149. "type": "string",
  3150. "description": "token",
  3151. "name": "token",
  3152. "in": "header",
  3153. "required": true
  3154. },
  3155. {
  3156. "description": "信息",
  3157. "name": "body",
  3158. "in": "body",
  3159. "required": true,
  3160. "schema": {
  3161. "$ref": "#/definitions/v1.DepartmentUpdateBody"
  3162. }
  3163. }
  3164. ],
  3165. "responses": {
  3166. "200": {
  3167. "description": "OK",
  3168. "schema": {
  3169. "$ref": "#/definitions/v1.DepartmentUpdateResponse"
  3170. }
  3171. },
  3172. "500": {
  3173. "description": "Internal Server Error",
  3174. "schema": {
  3175. "$ref": "#/definitions/base.HTTPError"
  3176. }
  3177. }
  3178. }
  3179. },
  3180. "post": {
  3181. "description": "添加部门",
  3182. "consumes": [
  3183. "application/json"
  3184. ],
  3185. "produces": [
  3186. "application/json"
  3187. ],
  3188. "tags": [
  3189. "部门"
  3190. ],
  3191. "summary": "添加部门",
  3192. "parameters": [
  3193. {
  3194. "type": "string",
  3195. "description": "token",
  3196. "name": "token",
  3197. "in": "header",
  3198. "required": true
  3199. },
  3200. {
  3201. "description": "信息",
  3202. "name": "body",
  3203. "in": "body",
  3204. "required": true,
  3205. "schema": {
  3206. "$ref": "#/definitions/v1.DepartmentAddBody"
  3207. }
  3208. }
  3209. ],
  3210. "responses": {
  3211. "200": {
  3212. "description": "OK",
  3213. "schema": {
  3214. "$ref": "#/definitions/v1.DepartmentAddResponse"
  3215. }
  3216. },
  3217. "500": {
  3218. "description": "Internal Server Error",
  3219. "schema": {
  3220. "$ref": "#/definitions/base.HTTPError"
  3221. }
  3222. }
  3223. }
  3224. },
  3225. "delete": {
  3226. "description": "删除部门",
  3227. "consumes": [
  3228. "application/json"
  3229. ],
  3230. "produces": [
  3231. "application/json"
  3232. ],
  3233. "tags": [
  3234. "部门"
  3235. ],
  3236. "summary": "删除部门",
  3237. "parameters": [
  3238. {
  3239. "type": "string",
  3240. "description": "token",
  3241. "name": "token",
  3242. "in": "header",
  3243. "required": true
  3244. },
  3245. {
  3246. "type": "integer",
  3247. "description": "id",
  3248. "name": "id",
  3249. "in": "query",
  3250. "required": true
  3251. }
  3252. ],
  3253. "responses": {
  3254. "200": {
  3255. "description": "OK",
  3256. "schema": {
  3257. "$ref": "#/definitions/v1.DepartmentDelResponse"
  3258. }
  3259. },
  3260. "500": {
  3261. "description": "Internal Server Error",
  3262. "schema": {
  3263. "$ref": "#/definitions/base.HTTPError"
  3264. }
  3265. }
  3266. }
  3267. }
  3268. },
  3269. "/api/v1/garden": {
  3270. "get": {
  3271. "description": "小区信息",
  3272. "consumes": [
  3273. "application/json"
  3274. ],
  3275. "produces": [
  3276. "application/json"
  3277. ],
  3278. "tags": [
  3279. "小区"
  3280. ],
  3281. "summary": "小区信息",
  3282. "parameters": [
  3283. {
  3284. "type": "string",
  3285. "description": " ",
  3286. "name": "token",
  3287. "in": "header",
  3288. "required": true
  3289. }
  3290. ],
  3291. "responses": {
  3292. "200": {
  3293. "description": "OK",
  3294. "schema": {
  3295. "$ref": "#/definitions/v1.GardenInfoResponse"
  3296. }
  3297. },
  3298. "500": {
  3299. "description": "Internal Server Error",
  3300. "schema": {
  3301. "$ref": "#/definitions/base.HTTPError"
  3302. }
  3303. }
  3304. }
  3305. },
  3306. "put": {
  3307. "description": "修改小区普通信息",
  3308. "consumes": [
  3309. "application/json"
  3310. ],
  3311. "produces": [
  3312. "application/json"
  3313. ],
  3314. "tags": [
  3315. "小区"
  3316. ],
  3317. "summary": "修改小区普通信息",
  3318. "parameters": [
  3319. {
  3320. "type": "string",
  3321. "description": " ",
  3322. "name": "token",
  3323. "in": "header",
  3324. "required": true
  3325. },
  3326. {
  3327. "description": "小区信息",
  3328. "name": "body",
  3329. "in": "body",
  3330. "required": true,
  3331. "schema": {
  3332. "$ref": "#/definitions/v1.GardenUpdateBody"
  3333. }
  3334. }
  3335. ],
  3336. "responses": {
  3337. "200": {
  3338. "description": "OK",
  3339. "schema": {
  3340. "$ref": "#/definitions/v1.GardenUpdateResponse"
  3341. }
  3342. },
  3343. "500": {
  3344. "description": "Internal Server Error",
  3345. "schema": {
  3346. "$ref": "#/definitions/base.HTTPError"
  3347. }
  3348. }
  3349. }
  3350. }
  3351. },
  3352. "/api/v1/garden/key_info": {
  3353. "get": {
  3354. "description": "小区关键信息申请列表",
  3355. "consumes": [
  3356. "application/json"
  3357. ],
  3358. "produces": [
  3359. "application/json"
  3360. ],
  3361. "tags": [
  3362. "小区"
  3363. ],
  3364. "summary": "小区关键信息申请列表",
  3365. "parameters": [
  3366. {
  3367. "type": "string",
  3368. "description": " ",
  3369. "name": "token",
  3370. "in": "header",
  3371. "required": true
  3372. },
  3373. {
  3374. "type": "integer",
  3375. "description": " ",
  3376. "name": "page",
  3377. "in": "query"
  3378. },
  3379. {
  3380. "type": "integer",
  3381. "description": " ",
  3382. "name": "page_size",
  3383. "in": "query"
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "0不过率 1 待审核 2 审核通过 3 未通过 ",
  3388. "name": "status",
  3389. "in": "query"
  3390. }
  3391. ],
  3392. "responses": {
  3393. "200": {
  3394. "description": "OK",
  3395. "schema": {
  3396. "$ref": "#/definitions/v1.GardenKeyInfoChangeListResponse"
  3397. }
  3398. },
  3399. "500": {
  3400. "description": "Internal Server Error",
  3401. "schema": {
  3402. "$ref": "#/definitions/base.HTTPError"
  3403. }
  3404. }
  3405. }
  3406. },
  3407. "put": {
  3408. "description": "申请修改小区关键信息",
  3409. "consumes": [
  3410. "application/json"
  3411. ],
  3412. "produces": [
  3413. "application/json"
  3414. ],
  3415. "tags": [
  3416. "小区"
  3417. ],
  3418. "summary": "申请修改小区关键信息",
  3419. "parameters": [
  3420. {
  3421. "type": "string",
  3422. "description": " ",
  3423. "name": "token",
  3424. "in": "header",
  3425. "required": true
  3426. },
  3427. {
  3428. "description": "小区信息",
  3429. "name": "body",
  3430. "in": "body",
  3431. "required": true,
  3432. "schema": {
  3433. "$ref": "#/definitions/v1.GardenKeyInfoChangeBody"
  3434. }
  3435. }
  3436. ],
  3437. "responses": {
  3438. "200": {
  3439. "description": "OK",
  3440. "schema": {
  3441. "$ref": "#/definitions/v1.GardenKeyInfoChangeResponse"
  3442. }
  3443. },
  3444. "500": {
  3445. "description": "Internal Server Error",
  3446. "schema": {
  3447. "$ref": "#/definitions/base.HTTPError"
  3448. }
  3449. }
  3450. }
  3451. }
  3452. },
  3453. "/api/v1/gate": {
  3454. "get": {
  3455. "description": "门禁列表",
  3456. "consumes": [
  3457. "application/json"
  3458. ],
  3459. "produces": [
  3460. "application/json"
  3461. ],
  3462. "tags": [
  3463. "门禁"
  3464. ],
  3465. "summary": "门禁列表",
  3466. "parameters": [
  3467. {
  3468. "type": "string",
  3469. "description": " ",
  3470. "name": "token",
  3471. "in": "header",
  3472. "required": true
  3473. },
  3474. {
  3475. "type": "integer",
  3476. "description": " ",
  3477. "name": "page",
  3478. "in": "query"
  3479. },
  3480. {
  3481. "type": "integer",
  3482. "description": " ",
  3483. "name": "page_size",
  3484. "in": "query"
  3485. },
  3486. {
  3487. "type": "integer",
  3488. "description": "小区id",
  3489. "name": "garden_id",
  3490. "in": "query"
  3491. }
  3492. ],
  3493. "responses": {
  3494. "200": {
  3495. "description": "OK",
  3496. "schema": {
  3497. "$ref": "#/definitions/v1.GateListResponse"
  3498. }
  3499. },
  3500. "500": {
  3501. "description": "Internal Server Error",
  3502. "schema": {
  3503. "$ref": "#/definitions/base.HTTPError"
  3504. }
  3505. }
  3506. }
  3507. }
  3508. },
  3509. "/api/v1/gate/command": {
  3510. "get": {
  3511. "description": "操作记录",
  3512. "consumes": [
  3513. "application/json"
  3514. ],
  3515. "produces": [
  3516. "application/json"
  3517. ],
  3518. "tags": [
  3519. "门禁"
  3520. ],
  3521. "summary": "操作记录",
  3522. "parameters": [
  3523. {
  3524. "type": "string",
  3525. "description": " ",
  3526. "name": "token",
  3527. "in": "header",
  3528. "required": true
  3529. },
  3530. {
  3531. "type": "integer",
  3532. "description": " ",
  3533. "name": "page",
  3534. "in": "query"
  3535. },
  3536. {
  3537. "type": "integer",
  3538. "description": " ",
  3539. "name": "page_size",
  3540. "in": "query"
  3541. },
  3542. {
  3543. "type": "integer",
  3544. "description": "设备id",
  3545. "name": "device_id",
  3546. "in": "query",
  3547. "required": true
  3548. }
  3549. ],
  3550. "responses": {
  3551. "200": {
  3552. "description": "OK",
  3553. "schema": {
  3554. "$ref": "#/definitions/v1.GateCommandListResponse"
  3555. }
  3556. },
  3557. "500": {
  3558. "description": "Internal Server Error",
  3559. "schema": {
  3560. "$ref": "#/definitions/base.HTTPError"
  3561. }
  3562. }
  3563. }
  3564. }
  3565. },
  3566. "/api/v1/gate/command/open": {
  3567. "post": {
  3568. "description": "门禁远程开门",
  3569. "consumes": [
  3570. "application/json"
  3571. ],
  3572. "produces": [
  3573. "application/json"
  3574. ],
  3575. "tags": [
  3576. "门禁"
  3577. ],
  3578. "summary": "门禁远程开门",
  3579. "parameters": [
  3580. {
  3581. "type": "string",
  3582. "description": " ",
  3583. "name": "token",
  3584. "in": "header",
  3585. "required": true
  3586. },
  3587. {
  3588. "description": " ",
  3589. "name": "body",
  3590. "in": "body",
  3591. "required": true,
  3592. "schema": {
  3593. "$ref": "#/definitions/v1.GateOpenBody"
  3594. }
  3595. }
  3596. ],
  3597. "responses": {
  3598. "200": {
  3599. "description": "OK",
  3600. "schema": {
  3601. "$ref": "#/definitions/v1.GateOpenResponse"
  3602. }
  3603. },
  3604. "500": {
  3605. "description": "Internal Server Error",
  3606. "schema": {
  3607. "$ref": "#/definitions/base.HTTPError"
  3608. }
  3609. }
  3610. }
  3611. }
  3612. },
  3613. "/api/v1/gate/command/restart": {
  3614. "post": {
  3615. "description": "门禁重启设备",
  3616. "consumes": [
  3617. "application/json"
  3618. ],
  3619. "produces": [
  3620. "application/json"
  3621. ],
  3622. "tags": [
  3623. "门禁"
  3624. ],
  3625. "summary": "门禁重启设备",
  3626. "parameters": [
  3627. {
  3628. "type": "string",
  3629. "description": " ",
  3630. "name": "token",
  3631. "in": "header",
  3632. "required": true
  3633. },
  3634. {
  3635. "description": " ",
  3636. "name": "body",
  3637. "in": "body",
  3638. "required": true,
  3639. "schema": {
  3640. "$ref": "#/definitions/v1.GateRestartBody"
  3641. }
  3642. }
  3643. ],
  3644. "responses": {
  3645. "200": {
  3646. "description": "OK",
  3647. "schema": {
  3648. "$ref": "#/definitions/v1.GateRestartResponse"
  3649. }
  3650. },
  3651. "500": {
  3652. "description": "Internal Server Error",
  3653. "schema": {
  3654. "$ref": "#/definitions/base.HTTPError"
  3655. }
  3656. }
  3657. }
  3658. }
  3659. },
  3660. "/api/v1/gate/enable": {
  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.GateEnableBody"
  3688. }
  3689. }
  3690. ],
  3691. "responses": {
  3692. "200": {
  3693. "description": "OK",
  3694. "schema": {
  3695. "$ref": "#/definitions/v1.GateEnableResponse"
  3696. }
  3697. },
  3698. "500": {
  3699. "description": "Internal Server Error",
  3700. "schema": {
  3701. "$ref": "#/definitions/base.HTTPError"
  3702. }
  3703. }
  3704. }
  3705. }
  3706. },
  3707. "/api/v1/gate/set": {
  3708. "put": {
  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. "description": " ",
  3730. "name": "body",
  3731. "in": "body",
  3732. "required": true,
  3733. "schema": {
  3734. "$ref": "#/definitions/v1.GateSetBody"
  3735. }
  3736. }
  3737. ],
  3738. "responses": {
  3739. "200": {
  3740. "description": "OK",
  3741. "schema": {
  3742. "$ref": "#/definitions/v1.GateSetResponse"
  3743. }
  3744. },
  3745. "500": {
  3746. "description": "Internal Server Error",
  3747. "schema": {
  3748. "$ref": "#/definitions/base.HTTPError"
  3749. }
  3750. }
  3751. }
  3752. }
  3753. },
  3754. "/api/v1/gate/white": {
  3755. "post": {
  3756. "description": "门禁白名单添加",
  3757. "consumes": [
  3758. "application/json"
  3759. ],
  3760. "produces": [
  3761. "application/json"
  3762. ],
  3763. "tags": [
  3764. "门禁"
  3765. ],
  3766. "summary": "门禁白名单添加",
  3767. "parameters": [
  3768. {
  3769. "type": "string",
  3770. "description": " ",
  3771. "name": "token",
  3772. "in": "header",
  3773. "required": true
  3774. },
  3775. {
  3776. "description": " ",
  3777. "name": "body",
  3778. "in": "body",
  3779. "required": true,
  3780. "schema": {
  3781. "$ref": "#/definitions/v1.GateWhiteAddBody"
  3782. }
  3783. }
  3784. ],
  3785. "responses": {
  3786. "200": {
  3787. "description": "OK",
  3788. "schema": {
  3789. "$ref": "#/definitions/v1.GateWhiteAddResponse"
  3790. }
  3791. },
  3792. "500": {
  3793. "description": "Internal Server Error",
  3794. "schema": {
  3795. "$ref": "#/definitions/base.HTTPError"
  3796. }
  3797. }
  3798. }
  3799. },
  3800. "delete": {
  3801. "description": "门禁白名单添加",
  3802. "consumes": [
  3803. "application/json"
  3804. ],
  3805. "produces": [
  3806. "application/json"
  3807. ],
  3808. "tags": [
  3809. "门禁"
  3810. ],
  3811. "summary": "门禁白名单删除",
  3812. "parameters": [
  3813. {
  3814. "type": "string",
  3815. "description": " ",
  3816. "name": "token",
  3817. "in": "header",
  3818. "required": true
  3819. },
  3820. {
  3821. "type": "integer",
  3822. "description": "白名单id",
  3823. "name": "id",
  3824. "in": "query",
  3825. "required": true
  3826. }
  3827. ],
  3828. "responses": {
  3829. "200": {
  3830. "description": "OK",
  3831. "schema": {
  3832. "$ref": "#/definitions/v1.GateWhiteDelResponse"
  3833. }
  3834. },
  3835. "500": {
  3836. "description": "Internal Server Error",
  3837. "schema": {
  3838. "$ref": "#/definitions/base.HTTPError"
  3839. }
  3840. }
  3841. }
  3842. }
  3843. },
  3844. "/api/v1/gate/white/card": {
  3845. "get": {
  3846. "description": "白名单列表(ic卡)",
  3847. "consumes": [
  3848. "application/json"
  3849. ],
  3850. "produces": [
  3851. "application/json"
  3852. ],
  3853. "tags": [
  3854. "门禁"
  3855. ],
  3856. "summary": "白名单列表(ic卡)",
  3857. "parameters": [
  3858. {
  3859. "type": "string",
  3860. "description": " ",
  3861. "name": "token",
  3862. "in": "header",
  3863. "required": true
  3864. },
  3865. {
  3866. "type": "integer",
  3867. "description": " ",
  3868. "name": "page",
  3869. "in": "query"
  3870. },
  3871. {
  3872. "type": "integer",
  3873. "description": " ",
  3874. "name": "page_size",
  3875. "in": "query"
  3876. },
  3877. {
  3878. "type": "integer",
  3879. "description": "设备id",
  3880. "name": "device_id",
  3881. "in": "query",
  3882. "required": true
  3883. }
  3884. ],
  3885. "responses": {
  3886. "200": {
  3887. "description": "OK",
  3888. "schema": {
  3889. "$ref": "#/definitions/v1.GateWhiteCardListResponse"
  3890. }
  3891. },
  3892. "500": {
  3893. "description": "Internal Server Error",
  3894. "schema": {
  3895. "$ref": "#/definitions/base.HTTPError"
  3896. }
  3897. }
  3898. }
  3899. }
  3900. },
  3901. "/api/v1/gate/white/household": {
  3902. "get": {
  3903. "description": "白名单列表(用户)",
  3904. "consumes": [
  3905. "application/json"
  3906. ],
  3907. "produces": [
  3908. "application/json"
  3909. ],
  3910. "tags": [
  3911. "门禁"
  3912. ],
  3913. "summary": "白名单列表(用户)",
  3914. "parameters": [
  3915. {
  3916. "type": "string",
  3917. "description": " ",
  3918. "name": "token",
  3919. "in": "header",
  3920. "required": true
  3921. },
  3922. {
  3923. "type": "integer",
  3924. "description": " ",
  3925. "name": "page",
  3926. "in": "query"
  3927. },
  3928. {
  3929. "type": "integer",
  3930. "description": " ",
  3931. "name": "page_size",
  3932. "in": "query"
  3933. },
  3934. {
  3935. "type": "integer",
  3936. "description": "设备id",
  3937. "name": "device_id",
  3938. "in": "query",
  3939. "required": true
  3940. }
  3941. ],
  3942. "responses": {
  3943. "200": {
  3944. "description": "OK",
  3945. "schema": {
  3946. "$ref": "#/definitions/v1.GateWhiteHouseholdListResponse"
  3947. }
  3948. },
  3949. "500": {
  3950. "description": "Internal Server Error",
  3951. "schema": {
  3952. "$ref": "#/definitions/base.HTTPError"
  3953. }
  3954. }
  3955. }
  3956. }
  3957. },
  3958. "/api/v1/gate/white/sync": {
  3959. "put": {
  3960. "description": "门禁手动同步白名单",
  3961. "consumes": [
  3962. "application/json"
  3963. ],
  3964. "produces": [
  3965. "application/json"
  3966. ],
  3967. "tags": [
  3968. "门禁"
  3969. ],
  3970. "summary": "门禁手动同步白名单",
  3971. "parameters": [
  3972. {
  3973. "type": "string",
  3974. "description": " ",
  3975. "name": "token",
  3976. "in": "header",
  3977. "required": true
  3978. },
  3979. {
  3980. "description": " ",
  3981. "name": "body",
  3982. "in": "body",
  3983. "required": true,
  3984. "schema": {
  3985. "$ref": "#/definitions/v1.GateWhiteSyncBody"
  3986. }
  3987. }
  3988. ],
  3989. "responses": {
  3990. "200": {
  3991. "description": "OK",
  3992. "schema": {
  3993. "$ref": "#/definitions/v1.GateWhiteSyncResponse"
  3994. }
  3995. },
  3996. "500": {
  3997. "description": "Internal Server Error",
  3998. "schema": {
  3999. "$ref": "#/definitions/base.HTTPError"
  4000. }
  4001. }
  4002. }
  4003. }
  4004. },
  4005. "/api/v1/household/approve": {
  4006. "put": {
  4007. "description": "审核业主",
  4008. "consumes": [
  4009. "application/json"
  4010. ],
  4011. "produces": [
  4012. "application/json"
  4013. ],
  4014. "tags": [
  4015. "业主管理"
  4016. ],
  4017. "summary": "审核业主",
  4018. "parameters": [
  4019. {
  4020. "type": "string",
  4021. "description": "token",
  4022. "name": "token",
  4023. "in": "header",
  4024. "required": true
  4025. },
  4026. {
  4027. "description": "信息",
  4028. "name": "body",
  4029. "in": "body",
  4030. "required": true,
  4031. "schema": {
  4032. "$ref": "#/definitions/v1.HouseholdApproveBody"
  4033. }
  4034. }
  4035. ],
  4036. "responses": {
  4037. "200": {
  4038. "description": "OK",
  4039. "schema": {
  4040. "$ref": "#/definitions/v1.HouseholdApproveResponse"
  4041. }
  4042. },
  4043. "500": {
  4044. "description": "Internal Server Error",
  4045. "schema": {
  4046. "$ref": "#/definitions/base.HTTPError"
  4047. }
  4048. }
  4049. }
  4050. }
  4051. },
  4052. "/api/v1/household/list": {
  4053. "get": {
  4054. "description": "申请列表",
  4055. "consumes": [
  4056. "application/json"
  4057. ],
  4058. "produces": [
  4059. "application/json"
  4060. ],
  4061. "tags": [
  4062. "业主管理"
  4063. ],
  4064. "summary": "申请列表",
  4065. "parameters": [
  4066. {
  4067. "type": "string",
  4068. "description": "token",
  4069. "name": "token",
  4070. "in": "header",
  4071. "required": true
  4072. },
  4073. {
  4074. "type": "integer",
  4075. "description": "业主身份类型",
  4076. "name": "user_type",
  4077. "in": "query"
  4078. },
  4079. {
  4080. "type": "integer",
  4081. "description": " ",
  4082. "name": "page",
  4083. "in": "query"
  4084. },
  4085. {
  4086. "type": "integer",
  4087. "description": " ",
  4088. "name": "page_size",
  4089. "in": "query"
  4090. },
  4091. {
  4092. "type": "string",
  4093. "description": "业主姓名",
  4094. "name": "name",
  4095. "in": "query"
  4096. },
  4097. {
  4098. "type": "integer",
  4099. "description": "0 未审核+未通过 1 未审核 2 已通过 3 未通过",
  4100. "name": "approve_status",
  4101. "in": "query"
  4102. }
  4103. ],
  4104. "responses": {
  4105. "200": {
  4106. "description": "OK",
  4107. "schema": {
  4108. "$ref": "#/definitions/v1.HouseholdListResponse"
  4109. }
  4110. },
  4111. "500": {
  4112. "description": "Internal Server Error",
  4113. "schema": {
  4114. "$ref": "#/definitions/base.HTTPError"
  4115. }
  4116. }
  4117. }
  4118. }
  4119. },
  4120. "/api/v1/household/user_list": {
  4121. "get": {
  4122. "description": "业主信息",
  4123. "consumes": [
  4124. "application/json"
  4125. ],
  4126. "produces": [
  4127. "application/json"
  4128. ],
  4129. "tags": [
  4130. "业主管理"
  4131. ],
  4132. "summary": "业主信息",
  4133. "parameters": [
  4134. {
  4135. "type": "string",
  4136. "description": "token",
  4137. "name": "token",
  4138. "in": "header",
  4139. "required": true
  4140. },
  4141. {
  4142. "type": "integer",
  4143. "description": "业主身份类型",
  4144. "name": "user_type",
  4145. "in": "query"
  4146. },
  4147. {
  4148. "type": "integer",
  4149. "description": " ",
  4150. "name": "page",
  4151. "in": "query"
  4152. },
  4153. {
  4154. "type": "integer",
  4155. "description": " ",
  4156. "name": "page_size",
  4157. "in": "query"
  4158. },
  4159. {
  4160. "type": "string",
  4161. "description": "业主姓名",
  4162. "name": "name",
  4163. "in": "query"
  4164. },
  4165. {
  4166. "type": "integer",
  4167. "description": "房屋id",
  4168. "name": "house_id",
  4169. "in": "query"
  4170. }
  4171. ],
  4172. "responses": {
  4173. "200": {
  4174. "description": "OK",
  4175. "schema": {
  4176. "$ref": "#/definitions/v1.HouseholdListResponse"
  4177. }
  4178. },
  4179. "500": {
  4180. "description": "Internal Server Error",
  4181. "schema": {
  4182. "$ref": "#/definitions/base.HTTPError"
  4183. }
  4184. }
  4185. }
  4186. }
  4187. },
  4188. "/api/v1/rent/house": {
  4189. "get": {
  4190. "description": "租房列表",
  4191. "consumes": [
  4192. "application/json"
  4193. ],
  4194. "produces": [
  4195. "application/json"
  4196. ],
  4197. "tags": [
  4198. "房屋租赁"
  4199. ],
  4200. "summary": "租房列表",
  4201. "parameters": [
  4202. {
  4203. "type": "string",
  4204. "description": "token",
  4205. "name": "token",
  4206. "in": "header",
  4207. "required": true
  4208. },
  4209. {
  4210. "type": "string",
  4211. "description": "省份代码",
  4212. "name": "province_code",
  4213. "in": "query"
  4214. },
  4215. {
  4216. "type": "string",
  4217. "description": "城市代码",
  4218. "name": "city_code",
  4219. "in": "query"
  4220. },
  4221. {
  4222. "type": "string",
  4223. "description": "区域代码",
  4224. "name": "area_code",
  4225. "in": "query"
  4226. },
  4227. {
  4228. "type": "string",
  4229. "description": "街道代码",
  4230. "name": "street_code",
  4231. "in": "query"
  4232. },
  4233. {
  4234. "type": "integer",
  4235. "description": "几室",
  4236. "name": "room_count",
  4237. "in": "query"
  4238. },
  4239. {
  4240. "type": "integer",
  4241. "description": "几厅",
  4242. "name": "hall_count",
  4243. "in": "query"
  4244. },
  4245. {
  4246. "type": "integer",
  4247. "description": "几卫",
  4248. "name": "wc_count",
  4249. "in": "query"
  4250. },
  4251. {
  4252. "type": "string",
  4253. "description": "租金大于",
  4254. "name": "rent_price_greater",
  4255. "in": "query"
  4256. },
  4257. {
  4258. "type": "string",
  4259. "description": "租金小于",
  4260. "name": "rent_price_less",
  4261. "in": "query"
  4262. },
  4263. {
  4264. "type": "integer",
  4265. "description": "审核状态 0 不过滤 1 待审核 2 通过 3 未通过",
  4266. "name": "approve_status",
  4267. "in": "query"
  4268. },
  4269. {
  4270. "type": "integer",
  4271. "description": " ",
  4272. "name": "page",
  4273. "in": "query"
  4274. },
  4275. {
  4276. "type": "integer",
  4277. "description": " ",
  4278. "name": "page_size",
  4279. "in": "query"
  4280. },
  4281. {
  4282. "type": "integer",
  4283. "description": "从低bit到高bit分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机",
  4284. "name": "base_conf",
  4285. "in": "query"
  4286. },
  4287. {
  4288. "type": "integer",
  4289. "description": "从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租",
  4290. "name": "special_conf",
  4291. "in": "query"
  4292. }
  4293. ],
  4294. "responses": {
  4295. "200": {
  4296. "description": "OK",
  4297. "schema": {
  4298. "$ref": "#/definitions/v1.HouseRentListResponse"
  4299. }
  4300. },
  4301. "500": {
  4302. "description": "Internal Server Error",
  4303. "schema": {
  4304. "$ref": "#/definitions/base.HTTPError"
  4305. }
  4306. }
  4307. }
  4308. },
  4309. "put": {
  4310. "description": "修改信息",
  4311. "consumes": [
  4312. "application/json"
  4313. ],
  4314. "produces": [
  4315. "application/json"
  4316. ],
  4317. "tags": [
  4318. "房屋租赁"
  4319. ],
  4320. "summary": "修改信息",
  4321. "parameters": [
  4322. {
  4323. "type": "string",
  4324. "description": "token",
  4325. "name": "token",
  4326. "in": "header",
  4327. "required": true
  4328. },
  4329. {
  4330. "description": " ",
  4331. "name": "body",
  4332. "in": "body",
  4333. "required": true,
  4334. "schema": {
  4335. "$ref": "#/definitions/v1.HouseRentUpdateBody"
  4336. }
  4337. }
  4338. ],
  4339. "responses": {
  4340. "200": {
  4341. "description": "OK",
  4342. "schema": {
  4343. "$ref": "#/definitions/v1.HouseRentUpdateResponse"
  4344. }
  4345. },
  4346. "500": {
  4347. "description": "Internal Server Error",
  4348. "schema": {
  4349. "$ref": "#/definitions/base.HTTPError"
  4350. }
  4351. }
  4352. }
  4353. },
  4354. "post": {
  4355. "description": "发布房源",
  4356. "consumes": [
  4357. "application/json"
  4358. ],
  4359. "produces": [
  4360. "application/json"
  4361. ],
  4362. "tags": [
  4363. "房屋租赁"
  4364. ],
  4365. "summary": "发布房源",
  4366. "parameters": [
  4367. {
  4368. "type": "string",
  4369. "description": "token",
  4370. "name": "token",
  4371. "in": "header",
  4372. "required": true
  4373. },
  4374. {
  4375. "description": " ",
  4376. "name": "body",
  4377. "in": "body",
  4378. "required": true,
  4379. "schema": {
  4380. "$ref": "#/definitions/v1.HouseRentApplyBody"
  4381. }
  4382. }
  4383. ],
  4384. "responses": {
  4385. "200": {
  4386. "description": "OK",
  4387. "schema": {
  4388. "$ref": "#/definitions/v1.HouseRentApplyResponse"
  4389. }
  4390. },
  4391. "500": {
  4392. "description": "Internal Server Error",
  4393. "schema": {
  4394. "$ref": "#/definitions/base.HTTPError"
  4395. }
  4396. }
  4397. }
  4398. }
  4399. },
  4400. "/api/v1/rent/house/appointment": {
  4401. "get": {
  4402. "description": "租房预约记录",
  4403. "consumes": [
  4404. "application/json"
  4405. ],
  4406. "produces": [
  4407. "application/json"
  4408. ],
  4409. "tags": [
  4410. "房屋租赁"
  4411. ],
  4412. "summary": "租房预约记录",
  4413. "parameters": [
  4414. {
  4415. "type": "string",
  4416. "description": "token",
  4417. "name": "token",
  4418. "in": "header",
  4419. "required": true
  4420. },
  4421. {
  4422. "type": "string",
  4423. "description": "房屋全称",
  4424. "name": "house_name",
  4425. "in": "query"
  4426. },
  4427. {
  4428. "type": "integer",
  4429. "description": "租房信息id",
  4430. "name": "rent_id",
  4431. "in": "query"
  4432. },
  4433. {
  4434. "type": "integer",
  4435. "description": " ",
  4436. "name": "page",
  4437. "in": "query"
  4438. },
  4439. {
  4440. "type": "integer",
  4441. "description": " ",
  4442. "name": "page_size",
  4443. "in": "query"
  4444. }
  4445. ],
  4446. "responses": {
  4447. "200": {
  4448. "description": "OK",
  4449. "schema": {
  4450. "$ref": "#/definitions/v1.HouseRentAppointmentListResponse"
  4451. }
  4452. },
  4453. "500": {
  4454. "description": "Internal Server Error",
  4455. "schema": {
  4456. "$ref": "#/definitions/base.HTTPError"
  4457. }
  4458. }
  4459. }
  4460. },
  4461. "delete": {
  4462. "description": "删除租房预约记录",
  4463. "consumes": [
  4464. "application/json"
  4465. ],
  4466. "produces": [
  4467. "application/json"
  4468. ],
  4469. "tags": [
  4470. "房屋租赁"
  4471. ],
  4472. "summary": "删除租房预约记录",
  4473. "parameters": [
  4474. {
  4475. "type": "string",
  4476. "description": "token",
  4477. "name": "token",
  4478. "in": "header",
  4479. "required": true
  4480. },
  4481. {
  4482. "type": "integer",
  4483. "description": "预约记录id",
  4484. "name": "id",
  4485. "in": "query"
  4486. }
  4487. ],
  4488. "responses": {
  4489. "200": {
  4490. "description": "OK",
  4491. "schema": {
  4492. "$ref": "#/definitions/v1.HouseRentAppointmentDelResponse"
  4493. }
  4494. },
  4495. "500": {
  4496. "description": "Internal Server Error",
  4497. "schema": {
  4498. "$ref": "#/definitions/base.HTTPError"
  4499. }
  4500. }
  4501. }
  4502. }
  4503. },
  4504. "/api/v1/rent/house/approve": {
  4505. "put": {
  4506. "description": "审核",
  4507. "consumes": [
  4508. "application/json"
  4509. ],
  4510. "produces": [
  4511. "application/json"
  4512. ],
  4513. "tags": [
  4514. "房屋租赁"
  4515. ],
  4516. "summary": "审核",
  4517. "parameters": [
  4518. {
  4519. "type": "string",
  4520. "description": "token",
  4521. "name": "token",
  4522. "in": "header",
  4523. "required": true
  4524. },
  4525. {
  4526. "description": " ",
  4527. "name": "body",
  4528. "in": "body",
  4529. "required": true,
  4530. "schema": {
  4531. "$ref": "#/definitions/v1.HouseRentApproveBody"
  4532. }
  4533. }
  4534. ],
  4535. "responses": {
  4536. "200": {
  4537. "description": "OK",
  4538. "schema": {
  4539. "$ref": "#/definitions/v1.HouseRentApproveResponse"
  4540. }
  4541. },
  4542. "500": {
  4543. "description": "Internal Server Error",
  4544. "schema": {
  4545. "$ref": "#/definitions/base.HTTPError"
  4546. }
  4547. }
  4548. }
  4549. }
  4550. },
  4551. "/api/v1/rent/house/down": {
  4552. "put": {
  4553. "description": "下架",
  4554. "consumes": [
  4555. "application/json"
  4556. ],
  4557. "produces": [
  4558. "application/json"
  4559. ],
  4560. "tags": [
  4561. "房屋租赁"
  4562. ],
  4563. "summary": "下架",
  4564. "parameters": [
  4565. {
  4566. "type": "string",
  4567. "description": "token",
  4568. "name": "token",
  4569. "in": "header",
  4570. "required": true
  4571. },
  4572. {
  4573. "description": " ",
  4574. "name": "body",
  4575. "in": "body",
  4576. "required": true,
  4577. "schema": {
  4578. "$ref": "#/definitions/v1.HouseRentDownBody"
  4579. }
  4580. }
  4581. ],
  4582. "responses": {
  4583. "200": {
  4584. "description": "OK",
  4585. "schema": {
  4586. "$ref": "#/definitions/v1.HouseRentDownResponse"
  4587. }
  4588. },
  4589. "500": {
  4590. "description": "Internal Server Error",
  4591. "schema": {
  4592. "$ref": "#/definitions/base.HTTPError"
  4593. }
  4594. }
  4595. }
  4596. }
  4597. },
  4598. "/api/v1/rent/house/manager": {
  4599. "get": {
  4600. "description": "房屋的经纪人列表",
  4601. "consumes": [
  4602. "application/json"
  4603. ],
  4604. "produces": [
  4605. "application/json"
  4606. ],
  4607. "tags": [
  4608. "房屋租赁"
  4609. ],
  4610. "summary": "房屋的经纪人列表",
  4611. "parameters": [
  4612. {
  4613. "type": "string",
  4614. "description": "token",
  4615. "name": "token",
  4616. "in": "header",
  4617. "required": true
  4618. },
  4619. {
  4620. "type": "integer",
  4621. "description": "租房信息id",
  4622. "name": "rent_id",
  4623. "in": "query",
  4624. "required": true
  4625. }
  4626. ],
  4627. "responses": {
  4628. "200": {
  4629. "description": "OK",
  4630. "schema": {
  4631. "$ref": "#/definitions/v1.HouseRentManagerListResponse"
  4632. }
  4633. },
  4634. "500": {
  4635. "description": "Internal Server Error",
  4636. "schema": {
  4637. "$ref": "#/definitions/base.HTTPError"
  4638. }
  4639. }
  4640. }
  4641. },
  4642. "post": {
  4643. "description": "添加经纪人",
  4644. "consumes": [
  4645. "application/json"
  4646. ],
  4647. "produces": [
  4648. "application/json"
  4649. ],
  4650. "tags": [
  4651. "房屋租赁"
  4652. ],
  4653. "summary": "添加经纪人",
  4654. "parameters": [
  4655. {
  4656. "type": "string",
  4657. "description": "token",
  4658. "name": "token",
  4659. "in": "header",
  4660. "required": true
  4661. },
  4662. {
  4663. "description": " ",
  4664. "name": "body",
  4665. "in": "body",
  4666. "required": true,
  4667. "schema": {
  4668. "$ref": "#/definitions/v1.HouseRentAddManagerBody"
  4669. }
  4670. }
  4671. ],
  4672. "responses": {
  4673. "200": {
  4674. "description": "OK",
  4675. "schema": {
  4676. "$ref": "#/definitions/v1.HouseRentAddManagerResponse"
  4677. }
  4678. },
  4679. "500": {
  4680. "description": "Internal Server Error",
  4681. "schema": {
  4682. "$ref": "#/definitions/base.HTTPError"
  4683. }
  4684. }
  4685. }
  4686. },
  4687. "delete": {
  4688. "description": "删除经纪人",
  4689. "consumes": [
  4690. "application/json"
  4691. ],
  4692. "produces": [
  4693. "application/json"
  4694. ],
  4695. "tags": [
  4696. "房屋租赁"
  4697. ],
  4698. "summary": "删除经纪人",
  4699. "parameters": [
  4700. {
  4701. "type": "string",
  4702. "description": "token",
  4703. "name": "token",
  4704. "in": "header",
  4705. "required": true
  4706. },
  4707. {
  4708. "type": "integer",
  4709. "description": "经纪人与房屋的关系id",
  4710. "name": "id",
  4711. "in": "query",
  4712. "required": true
  4713. }
  4714. ],
  4715. "responses": {
  4716. "200": {
  4717. "description": "OK",
  4718. "schema": {
  4719. "$ref": "#/definitions/v1.HouseRentDelManagerResponse"
  4720. }
  4721. },
  4722. "500": {
  4723. "description": "Internal Server Error",
  4724. "schema": {
  4725. "$ref": "#/definitions/base.HTTPError"
  4726. }
  4727. }
  4728. }
  4729. }
  4730. },
  4731. "/api/v1/repair/class": {
  4732. "get": {
  4733. "description": "分类列表",
  4734. "consumes": [
  4735. "application/json"
  4736. ],
  4737. "produces": [
  4738. "application/json"
  4739. ],
  4740. "tags": [
  4741. "报事报修"
  4742. ],
  4743. "summary": "分类列表",
  4744. "parameters": [
  4745. {
  4746. "type": "string",
  4747. "description": "token",
  4748. "name": "token",
  4749. "in": "header",
  4750. "required": true
  4751. },
  4752. {
  4753. "type": "integer",
  4754. "description": " ",
  4755. "name": "page",
  4756. "in": "query"
  4757. },
  4758. {
  4759. "type": "integer",
  4760. "description": " ",
  4761. "name": "page_size",
  4762. "in": "query"
  4763. },
  4764. {
  4765. "type": "integer",
  4766. "description": "1公区 2室内 ",
  4767. "name": "area",
  4768. "in": "query"
  4769. }
  4770. ],
  4771. "responses": {
  4772. "200": {
  4773. "description": "OK",
  4774. "schema": {
  4775. "$ref": "#/definitions/v1.RepairClassListResponse"
  4776. }
  4777. },
  4778. "500": {
  4779. "description": "Internal Server Error",
  4780. "schema": {
  4781. "$ref": "#/definitions/base.HTTPError"
  4782. }
  4783. }
  4784. }
  4785. },
  4786. "put": {
  4787. "description": "修改分类",
  4788. "consumes": [
  4789. "application/json"
  4790. ],
  4791. "produces": [
  4792. "application/json"
  4793. ],
  4794. "tags": [
  4795. "报事报修"
  4796. ],
  4797. "summary": "修改分类",
  4798. "parameters": [
  4799. {
  4800. "type": "string",
  4801. "description": "token",
  4802. "name": "token",
  4803. "in": "header",
  4804. "required": true
  4805. },
  4806. {
  4807. "description": "信息",
  4808. "name": "body",
  4809. "in": "body",
  4810. "required": true,
  4811. "schema": {
  4812. "$ref": "#/definitions/v1.RepairClassUpdateBody"
  4813. }
  4814. }
  4815. ],
  4816. "responses": {
  4817. "200": {
  4818. "description": "OK",
  4819. "schema": {
  4820. "$ref": "#/definitions/v1.RepairClassUpdateResponse"
  4821. }
  4822. },
  4823. "500": {
  4824. "description": "Internal Server Error",
  4825. "schema": {
  4826. "$ref": "#/definitions/base.HTTPError"
  4827. }
  4828. }
  4829. }
  4830. },
  4831. "post": {
  4832. "description": "添加分类",
  4833. "consumes": [
  4834. "application/json"
  4835. ],
  4836. "produces": [
  4837. "application/json"
  4838. ],
  4839. "tags": [
  4840. "报事报修"
  4841. ],
  4842. "summary": "添加分类",
  4843. "parameters": [
  4844. {
  4845. "type": "string",
  4846. "description": "token",
  4847. "name": "token",
  4848. "in": "header",
  4849. "required": true
  4850. },
  4851. {
  4852. "description": "信息",
  4853. "name": "body",
  4854. "in": "body",
  4855. "required": true,
  4856. "schema": {
  4857. "$ref": "#/definitions/v1.RepairClassAddBody"
  4858. }
  4859. }
  4860. ],
  4861. "responses": {
  4862. "200": {
  4863. "description": "OK",
  4864. "schema": {
  4865. "$ref": "#/definitions/v1.RepairClassAddResponse"
  4866. }
  4867. },
  4868. "500": {
  4869. "description": "Internal Server Error",
  4870. "schema": {
  4871. "$ref": "#/definitions/base.HTTPError"
  4872. }
  4873. }
  4874. }
  4875. },
  4876. "delete": {
  4877. "description": "删除分类",
  4878. "consumes": [
  4879. "application/json"
  4880. ],
  4881. "produces": [
  4882. "application/json"
  4883. ],
  4884. "tags": [
  4885. "报事报修"
  4886. ],
  4887. "summary": "删除分类",
  4888. "parameters": [
  4889. {
  4890. "type": "string",
  4891. "description": "token",
  4892. "name": "token",
  4893. "in": "header",
  4894. "required": true
  4895. },
  4896. {
  4897. "type": "integer",
  4898. "description": " ",
  4899. "name": "id",
  4900. "in": "query",
  4901. "required": true
  4902. }
  4903. ],
  4904. "responses": {
  4905. "200": {
  4906. "description": "OK",
  4907. "schema": {
  4908. "$ref": "#/definitions/v1.RepairClassDelResponse"
  4909. }
  4910. },
  4911. "500": {
  4912. "description": "Internal Server Error",
  4913. "schema": {
  4914. "$ref": "#/definitions/base.HTTPError"
  4915. }
  4916. }
  4917. }
  4918. }
  4919. },
  4920. "/api/v1/repair/order": {
  4921. "get": {
  4922. "description": "工单列表",
  4923. "consumes": [
  4924. "application/json"
  4925. ],
  4926. "produces": [
  4927. "application/json"
  4928. ],
  4929. "tags": [
  4930. "报事报修"
  4931. ],
  4932. "summary": "工单列表",
  4933. "parameters": [
  4934. {
  4935. "type": "string",
  4936. "description": "token",
  4937. "name": "token",
  4938. "in": "header",
  4939. "required": true
  4940. },
  4941. {
  4942. "type": "integer",
  4943. "description": " ",
  4944. "name": "page",
  4945. "in": "query"
  4946. },
  4947. {
  4948. "type": "integer",
  4949. "description": " ",
  4950. "name": "page_size",
  4951. "in": "query"
  4952. },
  4953. {
  4954. "type": "integer",
  4955. "description": " 1未派单 2 已派单 3 已完结 ",
  4956. "name": "status",
  4957. "in": "query"
  4958. },
  4959. {
  4960. "type": "string",
  4961. "description": "报修人",
  4962. "name": "apply_people",
  4963. "in": "query"
  4964. },
  4965. {
  4966. "type": "string",
  4967. "description": "报修人电话",
  4968. "name": "apply_people_phone",
  4969. "in": "query"
  4970. },
  4971. {
  4972. "type": "boolean",
  4973. "description": " true: 指派给我的",
  4974. "name": "is_me",
  4975. "in": "query"
  4976. },
  4977. {
  4978. "type": "integer",
  4979. "description": "分类id",
  4980. "name": "class_id",
  4981. "in": "query"
  4982. }
  4983. ],
  4984. "responses": {
  4985. "200": {
  4986. "description": "OK",
  4987. "schema": {
  4988. "$ref": "#/definitions/v1.RepairOrderListResponse"
  4989. }
  4990. },
  4991. "500": {
  4992. "description": "Internal Server Error",
  4993. "schema": {
  4994. "$ref": "#/definitions/base.HTTPError"
  4995. }
  4996. }
  4997. }
  4998. },
  4999. "put": {
  5000. "description": "修改工单",
  5001. "consumes": [
  5002. "application/json"
  5003. ],
  5004. "produces": [
  5005. "application/json"
  5006. ],
  5007. "tags": [
  5008. "报事报修"
  5009. ],
  5010. "summary": "修改工单",
  5011. "parameters": [
  5012. {
  5013. "type": "string",
  5014. "description": "token",
  5015. "name": "token",
  5016. "in": "header",
  5017. "required": true
  5018. },
  5019. {
  5020. "description": "信息",
  5021. "name": "body",
  5022. "in": "body",
  5023. "required": true,
  5024. "schema": {
  5025. "$ref": "#/definitions/v1.RepairOrderUpdateBody"
  5026. }
  5027. }
  5028. ],
  5029. "responses": {
  5030. "200": {
  5031. "description": "OK",
  5032. "schema": {
  5033. "$ref": "#/definitions/v1.RepairOrderUpdateResponse"
  5034. }
  5035. },
  5036. "500": {
  5037. "description": "Internal Server Error",
  5038. "schema": {
  5039. "$ref": "#/definitions/base.HTTPError"
  5040. }
  5041. }
  5042. }
  5043. },
  5044. "post": {
  5045. "description": "新增工单",
  5046. "consumes": [
  5047. "application/json"
  5048. ],
  5049. "produces": [
  5050. "application/json"
  5051. ],
  5052. "tags": [
  5053. "报事报修"
  5054. ],
  5055. "summary": "新增工单",
  5056. "parameters": [
  5057. {
  5058. "type": "string",
  5059. "description": "token",
  5060. "name": "token",
  5061. "in": "header",
  5062. "required": true
  5063. },
  5064. {
  5065. "description": "信息",
  5066. "name": "body",
  5067. "in": "body",
  5068. "required": true,
  5069. "schema": {
  5070. "$ref": "#/definitions/v1.RepairOrderAddBody"
  5071. }
  5072. }
  5073. ],
  5074. "responses": {
  5075. "200": {
  5076. "description": "OK",
  5077. "schema": {
  5078. "$ref": "#/definitions/v1.RepairOrderAddResponse"
  5079. }
  5080. },
  5081. "500": {
  5082. "description": "Internal Server Error",
  5083. "schema": {
  5084. "$ref": "#/definitions/base.HTTPError"
  5085. }
  5086. }
  5087. }
  5088. },
  5089. "delete": {
  5090. "description": "删除工单",
  5091. "consumes": [
  5092. "application/json"
  5093. ],
  5094. "produces": [
  5095. "application/json"
  5096. ],
  5097. "tags": [
  5098. "报事报修"
  5099. ],
  5100. "summary": "删除工单",
  5101. "parameters": [
  5102. {
  5103. "type": "string",
  5104. "description": "token",
  5105. "name": "token",
  5106. "in": "header",
  5107. "required": true
  5108. },
  5109. {
  5110. "type": "integer",
  5111. "description": " ",
  5112. "name": "id",
  5113. "in": "query",
  5114. "required": true
  5115. }
  5116. ],
  5117. "responses": {
  5118. "200": {
  5119. "description": "OK",
  5120. "schema": {
  5121. "$ref": "#/definitions/v1.RepairOrderDelResponse"
  5122. }
  5123. },
  5124. "500": {
  5125. "description": "Internal Server Error",
  5126. "schema": {
  5127. "$ref": "#/definitions/base.HTTPError"
  5128. }
  5129. }
  5130. }
  5131. }
  5132. },
  5133. "/api/v1/repair/order/back": {
  5134. "put": {
  5135. "description": "退单",
  5136. "consumes": [
  5137. "application/json"
  5138. ],
  5139. "produces": [
  5140. "application/json"
  5141. ],
  5142. "tags": [
  5143. "报事报修"
  5144. ],
  5145. "summary": "退单",
  5146. "parameters": [
  5147. {
  5148. "type": "string",
  5149. "description": "token",
  5150. "name": "token",
  5151. "in": "header",
  5152. "required": true
  5153. },
  5154. {
  5155. "description": "信息",
  5156. "name": "body",
  5157. "in": "body",
  5158. "required": true,
  5159. "schema": {
  5160. "$ref": "#/definitions/v1.RepairOrderBackBody"
  5161. }
  5162. }
  5163. ],
  5164. "responses": {
  5165. "200": {
  5166. "description": "OK",
  5167. "schema": {
  5168. "$ref": "#/definitions/v1.RepairOrderBackResponse"
  5169. }
  5170. },
  5171. "500": {
  5172. "description": "Internal Server Error",
  5173. "schema": {
  5174. "$ref": "#/definitions/base.HTTPError"
  5175. }
  5176. }
  5177. }
  5178. }
  5179. },
  5180. "/api/v1/repair/order/finish": {
  5181. "put": {
  5182. "description": "结单",
  5183. "consumes": [
  5184. "application/json"
  5185. ],
  5186. "produces": [
  5187. "application/json"
  5188. ],
  5189. "tags": [
  5190. "报事报修"
  5191. ],
  5192. "summary": "结单",
  5193. "parameters": [
  5194. {
  5195. "type": "string",
  5196. "description": "token",
  5197. "name": "token",
  5198. "in": "header",
  5199. "required": true
  5200. },
  5201. {
  5202. "description": "信息",
  5203. "name": "body",
  5204. "in": "body",
  5205. "required": true,
  5206. "schema": {
  5207. "$ref": "#/definitions/v1.RepairOrderFinishBody"
  5208. }
  5209. }
  5210. ],
  5211. "responses": {
  5212. "200": {
  5213. "description": "OK",
  5214. "schema": {
  5215. "$ref": "#/definitions/v1.RepairOrderFinishResponse"
  5216. }
  5217. },
  5218. "500": {
  5219. "description": "Internal Server Error",
  5220. "schema": {
  5221. "$ref": "#/definitions/base.HTTPError"
  5222. }
  5223. }
  5224. }
  5225. }
  5226. },
  5227. "/api/v1/repair/order/info": {
  5228. "get": {
  5229. "description": "工单详情",
  5230. "consumes": [
  5231. "application/json"
  5232. ],
  5233. "produces": [
  5234. "application/json"
  5235. ],
  5236. "tags": [
  5237. "报事报修"
  5238. ],
  5239. "summary": "工单详情",
  5240. "parameters": [
  5241. {
  5242. "type": "string",
  5243. "description": "token",
  5244. "name": "token",
  5245. "in": "header",
  5246. "required": true
  5247. },
  5248. {
  5249. "type": "integer",
  5250. "description": " ",
  5251. "name": "id",
  5252. "in": "query",
  5253. "required": true
  5254. }
  5255. ],
  5256. "responses": {
  5257. "200": {
  5258. "description": "OK",
  5259. "schema": {
  5260. "$ref": "#/definitions/v1.RepairOrderInfoResponse"
  5261. }
  5262. },
  5263. "500": {
  5264. "description": "Internal Server Error",
  5265. "schema": {
  5266. "$ref": "#/definitions/base.HTTPError"
  5267. }
  5268. }
  5269. }
  5270. }
  5271. },
  5272. "/api/v1/repair/order/return_visit": {
  5273. "put": {
  5274. "description": "回访",
  5275. "consumes": [
  5276. "application/json"
  5277. ],
  5278. "produces": [
  5279. "application/json"
  5280. ],
  5281. "tags": [
  5282. "报事报修"
  5283. ],
  5284. "summary": "回访",
  5285. "parameters": [
  5286. {
  5287. "type": "string",
  5288. "description": "token",
  5289. "name": "token",
  5290. "in": "header",
  5291. "required": true
  5292. },
  5293. {
  5294. "description": "信息",
  5295. "name": "body",
  5296. "in": "body",
  5297. "required": true,
  5298. "schema": {
  5299. "$ref": "#/definitions/v1.RepairOrderReturnVisitBody"
  5300. }
  5301. }
  5302. ],
  5303. "responses": {
  5304. "200": {
  5305. "description": "OK",
  5306. "schema": {
  5307. "$ref": "#/definitions/v1.RepairOrderReturnVisitResponse"
  5308. }
  5309. },
  5310. "500": {
  5311. "description": "Internal Server Error",
  5312. "schema": {
  5313. "$ref": "#/definitions/base.HTTPError"
  5314. }
  5315. }
  5316. }
  5317. }
  5318. },
  5319. "/api/v1/repair/order/send": {
  5320. "put": {
  5321. "description": "派单",
  5322. "consumes": [
  5323. "application/json"
  5324. ],
  5325. "produces": [
  5326. "application/json"
  5327. ],
  5328. "tags": [
  5329. "报事报修"
  5330. ],
  5331. "summary": "派单",
  5332. "parameters": [
  5333. {
  5334. "type": "string",
  5335. "description": "token",
  5336. "name": "token",
  5337. "in": "header",
  5338. "required": true
  5339. },
  5340. {
  5341. "description": "信息",
  5342. "name": "body",
  5343. "in": "body",
  5344. "required": true,
  5345. "schema": {
  5346. "$ref": "#/definitions/v1.RepairOrderSendBody"
  5347. }
  5348. }
  5349. ],
  5350. "responses": {
  5351. "200": {
  5352. "description": "OK",
  5353. "schema": {
  5354. "$ref": "#/definitions/v1.RepairOrderSendResponse"
  5355. }
  5356. },
  5357. "500": {
  5358. "description": "Internal Server Error",
  5359. "schema": {
  5360. "$ref": "#/definitions/base.HTTPError"
  5361. }
  5362. }
  5363. }
  5364. }
  5365. },
  5366. "/api/v1/service/announcement": {
  5367. "get": {
  5368. "description": "公告列表",
  5369. "consumes": [
  5370. "application/json"
  5371. ],
  5372. "produces": [
  5373. "application/json"
  5374. ],
  5375. "tags": [
  5376. "公告"
  5377. ],
  5378. "summary": "公告列表",
  5379. "parameters": [
  5380. {
  5381. "type": "string",
  5382. "description": "token",
  5383. "name": "token",
  5384. "in": "header",
  5385. "required": true
  5386. },
  5387. {
  5388. "type": "integer",
  5389. "description": " ",
  5390. "name": "page",
  5391. "in": "query"
  5392. },
  5393. {
  5394. "type": "integer",
  5395. "description": " ",
  5396. "name": "page_size",
  5397. "in": "query"
  5398. }
  5399. ],
  5400. "responses": {
  5401. "200": {
  5402. "description": "OK",
  5403. "schema": {
  5404. "$ref": "#/definitions/v1.AnnouncementListResponse"
  5405. }
  5406. },
  5407. "500": {
  5408. "description": "Internal Server Error",
  5409. "schema": {
  5410. "$ref": "#/definitions/base.HTTPError"
  5411. }
  5412. }
  5413. }
  5414. },
  5415. "put": {
  5416. "description": "修改公告",
  5417. "consumes": [
  5418. "application/json"
  5419. ],
  5420. "produces": [
  5421. "application/json"
  5422. ],
  5423. "tags": [
  5424. "公告"
  5425. ],
  5426. "summary": "修改公告",
  5427. "parameters": [
  5428. {
  5429. "type": "string",
  5430. "description": "token",
  5431. "name": "token",
  5432. "in": "header",
  5433. "required": true
  5434. },
  5435. {
  5436. "description": "信息",
  5437. "name": "body",
  5438. "in": "body",
  5439. "required": true,
  5440. "schema": {
  5441. "$ref": "#/definitions/v1.AnnouncementUpdateBody"
  5442. }
  5443. }
  5444. ],
  5445. "responses": {
  5446. "200": {
  5447. "description": "OK",
  5448. "schema": {
  5449. "$ref": "#/definitions/v1.AnnouncementUpdateResponse"
  5450. }
  5451. },
  5452. "500": {
  5453. "description": "Internal Server Error",
  5454. "schema": {
  5455. "$ref": "#/definitions/base.HTTPError"
  5456. }
  5457. }
  5458. }
  5459. },
  5460. "post": {
  5461. "description": "添加公告",
  5462. "consumes": [
  5463. "application/json"
  5464. ],
  5465. "produces": [
  5466. "application/json"
  5467. ],
  5468. "tags": [
  5469. "公告"
  5470. ],
  5471. "summary": "添加公告",
  5472. "parameters": [
  5473. {
  5474. "type": "string",
  5475. "description": "token",
  5476. "name": "token",
  5477. "in": "header",
  5478. "required": true
  5479. },
  5480. {
  5481. "description": "信息",
  5482. "name": "body",
  5483. "in": "body",
  5484. "required": true,
  5485. "schema": {
  5486. "$ref": "#/definitions/v1.AnnouncementAddBody"
  5487. }
  5488. }
  5489. ],
  5490. "responses": {
  5491. "200": {
  5492. "description": "OK",
  5493. "schema": {
  5494. "$ref": "#/definitions/v1.AnnouncementAddResponse"
  5495. }
  5496. },
  5497. "500": {
  5498. "description": "Internal Server Error",
  5499. "schema": {
  5500. "$ref": "#/definitions/base.HTTPError"
  5501. }
  5502. }
  5503. }
  5504. },
  5505. "delete": {
  5506. "description": "删除公告",
  5507. "consumes": [
  5508. "application/json"
  5509. ],
  5510. "produces": [
  5511. "application/json"
  5512. ],
  5513. "tags": [
  5514. "公告"
  5515. ],
  5516. "summary": "删除公告",
  5517. "parameters": [
  5518. {
  5519. "type": "string",
  5520. "description": "token",
  5521. "name": "token",
  5522. "in": "header",
  5523. "required": true
  5524. },
  5525. {
  5526. "type": "integer",
  5527. "description": " ",
  5528. "name": "id",
  5529. "in": "query",
  5530. "required": true
  5531. }
  5532. ],
  5533. "responses": {
  5534. "200": {
  5535. "description": "OK",
  5536. "schema": {
  5537. "$ref": "#/definitions/v1.AnnouncementDelResponse"
  5538. }
  5539. },
  5540. "500": {
  5541. "description": "Internal Server Error",
  5542. "schema": {
  5543. "$ref": "#/definitions/base.HTTPError"
  5544. }
  5545. }
  5546. }
  5547. }
  5548. },
  5549. "/api/v1/service/event": {
  5550. "get": {
  5551. "description": "社区活动列表",
  5552. "consumes": [
  5553. "application/json"
  5554. ],
  5555. "produces": [
  5556. "application/json"
  5557. ],
  5558. "tags": [
  5559. "社区活动"
  5560. ],
  5561. "summary": "社区活动列表",
  5562. "parameters": [
  5563. {
  5564. "type": "string",
  5565. "description": "token",
  5566. "name": "token",
  5567. "in": "header",
  5568. "required": true
  5569. },
  5570. {
  5571. "type": "integer",
  5572. "description": " ",
  5573. "name": "page",
  5574. "in": "query"
  5575. },
  5576. {
  5577. "type": "integer",
  5578. "description": " ",
  5579. "name": "page_size",
  5580. "in": "query"
  5581. }
  5582. ],
  5583. "responses": {
  5584. "200": {
  5585. "description": "OK",
  5586. "schema": {
  5587. "$ref": "#/definitions/v1.EventListResponse"
  5588. }
  5589. },
  5590. "500": {
  5591. "description": "Internal Server Error",
  5592. "schema": {
  5593. "$ref": "#/definitions/base.HTTPError"
  5594. }
  5595. }
  5596. }
  5597. },
  5598. "put": {
  5599. "description": "修改社区活动",
  5600. "consumes": [
  5601. "application/json"
  5602. ],
  5603. "produces": [
  5604. "application/json"
  5605. ],
  5606. "tags": [
  5607. "社区活动"
  5608. ],
  5609. "summary": "修改社区活动",
  5610. "parameters": [
  5611. {
  5612. "type": "string",
  5613. "description": "token",
  5614. "name": "token",
  5615. "in": "header",
  5616. "required": true
  5617. },
  5618. {
  5619. "description": "信息",
  5620. "name": "body",
  5621. "in": "body",
  5622. "required": true,
  5623. "schema": {
  5624. "$ref": "#/definitions/v1.EventUpdateBody"
  5625. }
  5626. }
  5627. ],
  5628. "responses": {
  5629. "200": {
  5630. "description": "OK",
  5631. "schema": {
  5632. "$ref": "#/definitions/v1.EventUpdateResponse"
  5633. }
  5634. },
  5635. "500": {
  5636. "description": "Internal Server Error",
  5637. "schema": {
  5638. "$ref": "#/definitions/base.HTTPError"
  5639. }
  5640. }
  5641. }
  5642. },
  5643. "post": {
  5644. "description": "添加社区活动",
  5645. "consumes": [
  5646. "application/json"
  5647. ],
  5648. "produces": [
  5649. "application/json"
  5650. ],
  5651. "tags": [
  5652. "社区活动"
  5653. ],
  5654. "summary": "添加社区活动",
  5655. "parameters": [
  5656. {
  5657. "type": "string",
  5658. "description": "token",
  5659. "name": "token",
  5660. "in": "header",
  5661. "required": true
  5662. },
  5663. {
  5664. "description": "信息",
  5665. "name": "body",
  5666. "in": "body",
  5667. "required": true,
  5668. "schema": {
  5669. "$ref": "#/definitions/v1.EventAddBody"
  5670. }
  5671. }
  5672. ],
  5673. "responses": {
  5674. "200": {
  5675. "description": "OK",
  5676. "schema": {
  5677. "$ref": "#/definitions/v1.EventAddResponse"
  5678. }
  5679. },
  5680. "500": {
  5681. "description": "Internal Server Error",
  5682. "schema": {
  5683. "$ref": "#/definitions/base.HTTPError"
  5684. }
  5685. }
  5686. }
  5687. },
  5688. "delete": {
  5689. "description": "删除社区活动",
  5690. "consumes": [
  5691. "application/json"
  5692. ],
  5693. "produces": [
  5694. "application/json"
  5695. ],
  5696. "tags": [
  5697. "社区活动"
  5698. ],
  5699. "summary": "删除社区活动",
  5700. "parameters": [
  5701. {
  5702. "type": "string",
  5703. "description": "token",
  5704. "name": "token",
  5705. "in": "header",
  5706. "required": true
  5707. },
  5708. {
  5709. "type": "integer",
  5710. "description": " ",
  5711. "name": "id",
  5712. "in": "query",
  5713. "required": true
  5714. }
  5715. ],
  5716. "responses": {
  5717. "200": {
  5718. "description": "OK",
  5719. "schema": {
  5720. "$ref": "#/definitions/v1.EventDelResponse"
  5721. }
  5722. },
  5723. "500": {
  5724. "description": "Internal Server Error",
  5725. "schema": {
  5726. "$ref": "#/definitions/base.HTTPError"
  5727. }
  5728. }
  5729. }
  5730. }
  5731. },
  5732. "/api/v1/service/event/sign": {
  5733. "get": {
  5734. "description": "社区活动报名记录列表",
  5735. "consumes": [
  5736. "application/json"
  5737. ],
  5738. "produces": [
  5739. "application/json"
  5740. ],
  5741. "tags": [
  5742. "社区活动"
  5743. ],
  5744. "summary": "社区活动报名记录列表",
  5745. "parameters": [
  5746. {
  5747. "type": "string",
  5748. "description": "token",
  5749. "name": "token",
  5750. "in": "header",
  5751. "required": true
  5752. },
  5753. {
  5754. "type": "integer",
  5755. "description": " ",
  5756. "name": "page",
  5757. "in": "query"
  5758. },
  5759. {
  5760. "type": "integer",
  5761. "description": " ",
  5762. "name": "page_size",
  5763. "in": "query"
  5764. },
  5765. {
  5766. "type": "integer",
  5767. "description": "活动id",
  5768. "name": "event_id",
  5769. "in": "query",
  5770. "required": true
  5771. }
  5772. ],
  5773. "responses": {
  5774. "200": {
  5775. "description": "OK",
  5776. "schema": {
  5777. "$ref": "#/definitions/v1.EventSignListResponse"
  5778. }
  5779. },
  5780. "500": {
  5781. "description": "Internal Server Error",
  5782. "schema": {
  5783. "$ref": "#/definitions/base.HTTPError"
  5784. }
  5785. }
  5786. }
  5787. },
  5788. "delete": {
  5789. "description": "删除社区活动报名记录",
  5790. "consumes": [
  5791. "application/json"
  5792. ],
  5793. "produces": [
  5794. "application/json"
  5795. ],
  5796. "tags": [
  5797. "社区活动"
  5798. ],
  5799. "summary": "删除社区活动报名记录",
  5800. "parameters": [
  5801. {
  5802. "type": "string",
  5803. "description": "token",
  5804. "name": "token",
  5805. "in": "header",
  5806. "required": true
  5807. },
  5808. {
  5809. "type": "integer",
  5810. "description": " ",
  5811. "name": "id",
  5812. "in": "query",
  5813. "required": true
  5814. }
  5815. ],
  5816. "responses": {
  5817. "200": {
  5818. "description": "OK",
  5819. "schema": {
  5820. "$ref": "#/definitions/v1.EventSignDelResponse"
  5821. }
  5822. },
  5823. "500": {
  5824. "description": "Internal Server Error",
  5825. "schema": {
  5826. "$ref": "#/definitions/base.HTTPError"
  5827. }
  5828. }
  5829. }
  5830. }
  5831. },
  5832. "/api/v1/service/neighbor/article": {
  5833. "get": {
  5834. "description": "文章列表",
  5835. "consumes": [
  5836. "application/json"
  5837. ],
  5838. "produces": [
  5839. "application/json"
  5840. ],
  5841. "tags": [
  5842. "社区邻里"
  5843. ],
  5844. "summary": "文章列表",
  5845. "parameters": [
  5846. {
  5847. "type": "string",
  5848. "description": "token",
  5849. "name": "token",
  5850. "in": "header",
  5851. "required": true
  5852. },
  5853. {
  5854. "type": "integer",
  5855. "description": " ",
  5856. "name": "page",
  5857. "in": "query"
  5858. },
  5859. {
  5860. "type": "integer",
  5861. "description": " ",
  5862. "name": "page_size",
  5863. "in": "query"
  5864. },
  5865. {
  5866. "type": "string",
  5867. "description": "文章标题 ",
  5868. "name": "title",
  5869. "in": "query"
  5870. },
  5871. {
  5872. "type": "integer",
  5873. "description": "分类id",
  5874. "name": "class_id",
  5875. "in": "query"
  5876. }
  5877. ],
  5878. "responses": {
  5879. "200": {
  5880. "description": "OK",
  5881. "schema": {
  5882. "$ref": "#/definitions/v1.NeighborArticleListResponse"
  5883. }
  5884. },
  5885. "500": {
  5886. "description": "Internal Server Error",
  5887. "schema": {
  5888. "$ref": "#/definitions/base.HTTPError"
  5889. }
  5890. }
  5891. }
  5892. },
  5893. "delete": {
  5894. "description": "删除文章",
  5895. "consumes": [
  5896. "application/json"
  5897. ],
  5898. "produces": [
  5899. "application/json"
  5900. ],
  5901. "tags": [
  5902. "社区邻里"
  5903. ],
  5904. "summary": "删除文章",
  5905. "parameters": [
  5906. {
  5907. "type": "string",
  5908. "description": "token",
  5909. "name": "token",
  5910. "in": "header",
  5911. "required": true
  5912. },
  5913. {
  5914. "type": "integer",
  5915. "description": " ",
  5916. "name": "id",
  5917. "in": "query",
  5918. "required": true
  5919. }
  5920. ],
  5921. "responses": {
  5922. "200": {
  5923. "description": "OK",
  5924. "schema": {
  5925. "$ref": "#/definitions/v1.NeighborArticleDelResponse"
  5926. }
  5927. },
  5928. "500": {
  5929. "description": "Internal Server Error",
  5930. "schema": {
  5931. "$ref": "#/definitions/base.HTTPError"
  5932. }
  5933. }
  5934. }
  5935. }
  5936. },
  5937. "/api/v1/service/neighbor/class": {
  5938. "get": {
  5939. "description": "分类列表",
  5940. "consumes": [
  5941. "application/json"
  5942. ],
  5943. "produces": [
  5944. "application/json"
  5945. ],
  5946. "tags": [
  5947. "社区邻里"
  5948. ],
  5949. "summary": "分类列表",
  5950. "parameters": [
  5951. {
  5952. "type": "string",
  5953. "description": "token",
  5954. "name": "token",
  5955. "in": "header",
  5956. "required": true
  5957. },
  5958. {
  5959. "type": "integer",
  5960. "description": " ",
  5961. "name": "page",
  5962. "in": "query"
  5963. },
  5964. {
  5965. "type": "integer",
  5966. "description": " ",
  5967. "name": "page_size",
  5968. "in": "query"
  5969. },
  5970. {
  5971. "type": "string",
  5972. "description": "分类名称 ",
  5973. "name": "class_name",
  5974. "in": "query"
  5975. }
  5976. ],
  5977. "responses": {
  5978. "200": {
  5979. "description": "OK",
  5980. "schema": {
  5981. "$ref": "#/definitions/v1.NeighborClassListResponse"
  5982. }
  5983. },
  5984. "500": {
  5985. "description": "Internal Server Error",
  5986. "schema": {
  5987. "$ref": "#/definitions/base.HTTPError"
  5988. }
  5989. }
  5990. }
  5991. },
  5992. "put": {
  5993. "description": "修改分类",
  5994. "consumes": [
  5995. "application/json"
  5996. ],
  5997. "produces": [
  5998. "application/json"
  5999. ],
  6000. "tags": [
  6001. "社区邻里"
  6002. ],
  6003. "summary": "修改分类",
  6004. "parameters": [
  6005. {
  6006. "type": "string",
  6007. "description": "token",
  6008. "name": "token",
  6009. "in": "header",
  6010. "required": true
  6011. },
  6012. {
  6013. "description": "信息",
  6014. "name": "body",
  6015. "in": "body",
  6016. "required": true,
  6017. "schema": {
  6018. "$ref": "#/definitions/v1.NeighborClassUpdateBody"
  6019. }
  6020. }
  6021. ],
  6022. "responses": {
  6023. "200": {
  6024. "description": "OK",
  6025. "schema": {
  6026. "$ref": "#/definitions/v1.NeighborClassUpdateResponse"
  6027. }
  6028. },
  6029. "500": {
  6030. "description": "Internal Server Error",
  6031. "schema": {
  6032. "$ref": "#/definitions/base.HTTPError"
  6033. }
  6034. }
  6035. }
  6036. },
  6037. "post": {
  6038. "description": "添加分类",
  6039. "consumes": [
  6040. "application/json"
  6041. ],
  6042. "produces": [
  6043. "application/json"
  6044. ],
  6045. "tags": [
  6046. "社区邻里"
  6047. ],
  6048. "summary": "添加分类",
  6049. "parameters": [
  6050. {
  6051. "type": "string",
  6052. "description": "token",
  6053. "name": "token",
  6054. "in": "header",
  6055. "required": true
  6056. },
  6057. {
  6058. "description": "信息",
  6059. "name": "body",
  6060. "in": "body",
  6061. "required": true,
  6062. "schema": {
  6063. "$ref": "#/definitions/v1.NeighborClassAddBody"
  6064. }
  6065. }
  6066. ],
  6067. "responses": {
  6068. "200": {
  6069. "description": "OK",
  6070. "schema": {
  6071. "$ref": "#/definitions/v1.NeighborClassAddResponse"
  6072. }
  6073. },
  6074. "500": {
  6075. "description": "Internal Server Error",
  6076. "schema": {
  6077. "$ref": "#/definitions/base.HTTPError"
  6078. }
  6079. }
  6080. }
  6081. },
  6082. "delete": {
  6083. "description": "删除分类",
  6084. "consumes": [
  6085. "application/json"
  6086. ],
  6087. "produces": [
  6088. "application/json"
  6089. ],
  6090. "tags": [
  6091. "社区邻里"
  6092. ],
  6093. "summary": "删除分类",
  6094. "parameters": [
  6095. {
  6096. "type": "string",
  6097. "description": "token",
  6098. "name": "token",
  6099. "in": "header",
  6100. "required": true
  6101. },
  6102. {
  6103. "type": "integer",
  6104. "description": " ",
  6105. "name": "id",
  6106. "in": "query",
  6107. "required": true
  6108. }
  6109. ],
  6110. "responses": {
  6111. "200": {
  6112. "description": "OK",
  6113. "schema": {
  6114. "$ref": "#/definitions/v1.NeighborClassDelResponse"
  6115. }
  6116. },
  6117. "500": {
  6118. "description": "Internal Server Error",
  6119. "schema": {
  6120. "$ref": "#/definitions/base.HTTPError"
  6121. }
  6122. }
  6123. }
  6124. }
  6125. },
  6126. "/api/v1/service/neighbor/comment": {
  6127. "get": {
  6128. "responses": {
  6129. "200": {
  6130. "description": "OK",
  6131. "schema": {
  6132. "$ref": "#/definitions/v1.NeighborCommentListResponse"
  6133. }
  6134. },
  6135. "500": {
  6136. "description": "Internal Server Error",
  6137. "schema": {
  6138. "$ref": "#/definitions/base.HTTPError"
  6139. }
  6140. }
  6141. }
  6142. },
  6143. "delete": {
  6144. "description": "删除评论",
  6145. "consumes": [
  6146. "application/json"
  6147. ],
  6148. "produces": [
  6149. "application/json"
  6150. ],
  6151. "tags": [
  6152. "社区邻里"
  6153. ],
  6154. "summary": "删除评论",
  6155. "parameters": [
  6156. {
  6157. "type": "string",
  6158. "description": "token",
  6159. "name": "token",
  6160. "in": "header",
  6161. "required": true
  6162. },
  6163. {
  6164. "type": "integer",
  6165. "description": " ",
  6166. "name": "id",
  6167. "in": "query",
  6168. "required": true
  6169. }
  6170. ],
  6171. "responses": {
  6172. "200": {
  6173. "description": "OK",
  6174. "schema": {
  6175. "$ref": "#/definitions/v1.NeighborCommentDelResponse"
  6176. }
  6177. },
  6178. "500": {
  6179. "description": "Internal Server Error",
  6180. "schema": {
  6181. "$ref": "#/definitions/base.HTTPError"
  6182. }
  6183. }
  6184. }
  6185. }
  6186. },
  6187. "/api/v1/service/vote": {
  6188. "get": {
  6189. "description": "投票列表",
  6190. "consumes": [
  6191. "application/json"
  6192. ],
  6193. "produces": [
  6194. "application/json"
  6195. ],
  6196. "tags": [
  6197. "投票"
  6198. ],
  6199. "summary": "投票列表",
  6200. "parameters": [
  6201. {
  6202. "type": "string",
  6203. "description": "token",
  6204. "name": "token",
  6205. "in": "header",
  6206. "required": true
  6207. },
  6208. {
  6209. "type": "integer",
  6210. "description": " ",
  6211. "name": "page",
  6212. "in": "query"
  6213. },
  6214. {
  6215. "type": "integer",
  6216. "description": " ",
  6217. "name": "page_size",
  6218. "in": "query"
  6219. },
  6220. {
  6221. "type": "string",
  6222. "description": "投票标题",
  6223. "name": "title",
  6224. "in": "query"
  6225. }
  6226. ],
  6227. "responses": {
  6228. "200": {
  6229. "description": "OK",
  6230. "schema": {
  6231. "$ref": "#/definitions/v1.VoteListResponse"
  6232. }
  6233. },
  6234. "500": {
  6235. "description": "Internal Server Error",
  6236. "schema": {
  6237. "$ref": "#/definitions/base.HTTPError"
  6238. }
  6239. }
  6240. }
  6241. },
  6242. "put": {
  6243. "description": "修改投票",
  6244. "consumes": [
  6245. "application/json"
  6246. ],
  6247. "produces": [
  6248. "application/json"
  6249. ],
  6250. "tags": [
  6251. "投票"
  6252. ],
  6253. "summary": "修改投票",
  6254. "parameters": [
  6255. {
  6256. "type": "string",
  6257. "description": "token",
  6258. "name": "token",
  6259. "in": "header",
  6260. "required": true
  6261. },
  6262. {
  6263. "description": "信息",
  6264. "name": "body",
  6265. "in": "body",
  6266. "required": true,
  6267. "schema": {
  6268. "$ref": "#/definitions/v1.VoteUpdateBody"
  6269. }
  6270. }
  6271. ],
  6272. "responses": {
  6273. "200": {
  6274. "description": "OK",
  6275. "schema": {
  6276. "$ref": "#/definitions/v1.VoteUpdateResponse"
  6277. }
  6278. },
  6279. "500": {
  6280. "description": "Internal Server Error",
  6281. "schema": {
  6282. "$ref": "#/definitions/base.HTTPError"
  6283. }
  6284. }
  6285. }
  6286. },
  6287. "post": {
  6288. "description": "添加投票",
  6289. "consumes": [
  6290. "application/json"
  6291. ],
  6292. "produces": [
  6293. "application/json"
  6294. ],
  6295. "tags": [
  6296. "投票"
  6297. ],
  6298. "summary": "添加投票",
  6299. "parameters": [
  6300. {
  6301. "type": "string",
  6302. "description": "token",
  6303. "name": "token",
  6304. "in": "header",
  6305. "required": true
  6306. },
  6307. {
  6308. "description": "信息",
  6309. "name": "body",
  6310. "in": "body",
  6311. "required": true,
  6312. "schema": {
  6313. "$ref": "#/definitions/v1.VoteAddBody"
  6314. }
  6315. }
  6316. ],
  6317. "responses": {
  6318. "200": {
  6319. "description": "OK",
  6320. "schema": {
  6321. "$ref": "#/definitions/v1.VoteAddResponse"
  6322. }
  6323. },
  6324. "500": {
  6325. "description": "Internal Server Error",
  6326. "schema": {
  6327. "$ref": "#/definitions/base.HTTPError"
  6328. }
  6329. }
  6330. }
  6331. },
  6332. "delete": {
  6333. "description": "删除投票",
  6334. "consumes": [
  6335. "application/json"
  6336. ],
  6337. "produces": [
  6338. "application/json"
  6339. ],
  6340. "tags": [
  6341. "投票"
  6342. ],
  6343. "summary": "删除投票",
  6344. "parameters": [
  6345. {
  6346. "type": "string",
  6347. "description": "token",
  6348. "name": "token",
  6349. "in": "header",
  6350. "required": true
  6351. },
  6352. {
  6353. "type": "integer",
  6354. "description": " ",
  6355. "name": "id",
  6356. "in": "query",
  6357. "required": true
  6358. }
  6359. ],
  6360. "responses": {
  6361. "200": {
  6362. "description": "OK",
  6363. "schema": {
  6364. "$ref": "#/definitions/v1.VoteDelResponse"
  6365. }
  6366. },
  6367. "500": {
  6368. "description": "Internal Server Error",
  6369. "schema": {
  6370. "$ref": "#/definitions/base.HTTPError"
  6371. }
  6372. }
  6373. }
  6374. }
  6375. },
  6376. "/api/v1/service/vote/result": {
  6377. "get": {
  6378. "description": "投票结果列表",
  6379. "consumes": [
  6380. "application/json"
  6381. ],
  6382. "produces": [
  6383. "application/json"
  6384. ],
  6385. "tags": [
  6386. "投票"
  6387. ],
  6388. "summary": "投票结果列表",
  6389. "parameters": [
  6390. {
  6391. "type": "string",
  6392. "description": "token",
  6393. "name": "token",
  6394. "in": "header",
  6395. "required": true
  6396. },
  6397. {
  6398. "type": "integer",
  6399. "description": " ",
  6400. "name": "page",
  6401. "in": "query"
  6402. },
  6403. {
  6404. "type": "integer",
  6405. "description": " ",
  6406. "name": "page_size",
  6407. "in": "query"
  6408. },
  6409. {
  6410. "type": "integer",
  6411. "description": " ",
  6412. "name": "id",
  6413. "in": "query",
  6414. "required": true
  6415. }
  6416. ],
  6417. "responses": {
  6418. "200": {
  6419. "description": "OK",
  6420. "schema": {
  6421. "$ref": "#/definitions/v1.VoteResultListResponse"
  6422. }
  6423. },
  6424. "500": {
  6425. "description": "Internal Server Error",
  6426. "schema": {
  6427. "$ref": "#/definitions/base.HTTPError"
  6428. }
  6429. }
  6430. }
  6431. }
  6432. },
  6433. "/api/v1/service/vote/result/statistic": {
  6434. "get": {
  6435. "description": "投票结果统计",
  6436. "consumes": [
  6437. "application/json"
  6438. ],
  6439. "produces": [
  6440. "application/json"
  6441. ],
  6442. "tags": [
  6443. "投票"
  6444. ],
  6445. "summary": "投票结果统计",
  6446. "parameters": [
  6447. {
  6448. "type": "string",
  6449. "description": "token",
  6450. "name": "token",
  6451. "in": "header",
  6452. "required": true
  6453. },
  6454. {
  6455. "type": "integer",
  6456. "description": " ",
  6457. "name": "id",
  6458. "in": "query",
  6459. "required": true
  6460. }
  6461. ],
  6462. "responses": {
  6463. "200": {
  6464. "description": "OK",
  6465. "schema": {
  6466. "$ref": "#/definitions/v1.VoteResultStatisticResponse"
  6467. }
  6468. },
  6469. "500": {
  6470. "description": "Internal Server Error",
  6471. "schema": {
  6472. "$ref": "#/definitions/base.HTTPError"
  6473. }
  6474. }
  6475. }
  6476. }
  6477. },
  6478. "/api/v1/service_phone": {
  6479. "get": {
  6480. "description": "电话列表",
  6481. "consumes": [
  6482. "application/json"
  6483. ],
  6484. "produces": [
  6485. "application/json"
  6486. ],
  6487. "tags": [
  6488. "服务电话"
  6489. ],
  6490. "summary": "电话列表",
  6491. "parameters": [
  6492. {
  6493. "type": "string",
  6494. "description": "token",
  6495. "name": "token",
  6496. "in": "header",
  6497. "required": true
  6498. },
  6499. {
  6500. "type": "integer",
  6501. "description": " ",
  6502. "name": "page",
  6503. "in": "query"
  6504. },
  6505. {
  6506. "type": "integer",
  6507. "description": " ",
  6508. "name": "page_size",
  6509. "in": "query"
  6510. },
  6511. {
  6512. "type": "integer",
  6513. "description": "分类id",
  6514. "name": "class_id",
  6515. "in": "query"
  6516. }
  6517. ],
  6518. "responses": {
  6519. "200": {
  6520. "description": "OK",
  6521. "schema": {
  6522. "$ref": "#/definitions/v1.ServicePhoneListResponse"
  6523. }
  6524. },
  6525. "500": {
  6526. "description": "Internal Server Error",
  6527. "schema": {
  6528. "$ref": "#/definitions/base.HTTPError"
  6529. }
  6530. }
  6531. }
  6532. },
  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.ServicePhoneUpdateBody"
  6560. }
  6561. }
  6562. ],
  6563. "responses": {
  6564. "200": {
  6565. "description": "OK",
  6566. "schema": {
  6567. "$ref": "#/definitions/v1.ServicePhoneUpdateResponse"
  6568. }
  6569. },
  6570. "500": {
  6571. "description": "Internal Server Error",
  6572. "schema": {
  6573. "$ref": "#/definitions/base.HTTPError"
  6574. }
  6575. }
  6576. }
  6577. },
  6578. "post": {
  6579. "description": "添加电话",
  6580. "consumes": [
  6581. "application/json"
  6582. ],
  6583. "produces": [
  6584. "application/json"
  6585. ],
  6586. "tags": [
  6587. "服务电话"
  6588. ],
  6589. "summary": "添加电话",
  6590. "parameters": [
  6591. {
  6592. "type": "string",
  6593. "description": "token",
  6594. "name": "token",
  6595. "in": "header",
  6596. "required": true
  6597. },
  6598. {
  6599. "description": "信息",
  6600. "name": "body",
  6601. "in": "body",
  6602. "required": true,
  6603. "schema": {
  6604. "$ref": "#/definitions/v1.ServicePhoneAddBody"
  6605. }
  6606. }
  6607. ],
  6608. "responses": {
  6609. "200": {
  6610. "description": "OK",
  6611. "schema": {
  6612. "$ref": "#/definitions/v1.ServicePhoneAddResponse"
  6613. }
  6614. },
  6615. "500": {
  6616. "description": "Internal Server Error",
  6617. "schema": {
  6618. "$ref": "#/definitions/base.HTTPError"
  6619. }
  6620. }
  6621. }
  6622. },
  6623. "delete": {
  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. "type": "integer",
  6645. "description": " ",
  6646. "name": "id",
  6647. "in": "query",
  6648. "required": true
  6649. }
  6650. ],
  6651. "responses": {
  6652. "200": {
  6653. "description": "OK",
  6654. "schema": {
  6655. "$ref": "#/definitions/v1.ServicePhoneDelResponse"
  6656. }
  6657. },
  6658. "500": {
  6659. "description": "Internal Server Error",
  6660. "schema": {
  6661. "$ref": "#/definitions/base.HTTPError"
  6662. }
  6663. }
  6664. }
  6665. }
  6666. },
  6667. "/api/v1/service_phone/class": {
  6668. "get": {
  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": " ",
  6691. "name": "page",
  6692. "in": "query"
  6693. },
  6694. {
  6695. "type": "integer",
  6696. "description": " ",
  6697. "name": "page_size",
  6698. "in": "query"
  6699. }
  6700. ],
  6701. "responses": {
  6702. "200": {
  6703. "description": "OK",
  6704. "schema": {
  6705. "$ref": "#/definitions/v1.ServicePhoneClassListResponse"
  6706. }
  6707. },
  6708. "500": {
  6709. "description": "Internal Server Error",
  6710. "schema": {
  6711. "$ref": "#/definitions/base.HTTPError"
  6712. }
  6713. }
  6714. }
  6715. },
  6716. "put": {
  6717. "description": "修改分类",
  6718. "consumes": [
  6719. "application/json"
  6720. ],
  6721. "produces": [
  6722. "application/json"
  6723. ],
  6724. "tags": [
  6725. "服务电话"
  6726. ],
  6727. "summary": "修改分类",
  6728. "parameters": [
  6729. {
  6730. "type": "string",
  6731. "description": "token",
  6732. "name": "token",
  6733. "in": "header",
  6734. "required": true
  6735. },
  6736. {
  6737. "description": "信息",
  6738. "name": "body",
  6739. "in": "body",
  6740. "required": true,
  6741. "schema": {
  6742. "$ref": "#/definitions/v1.ServicePhoneClassUpdateBody"
  6743. }
  6744. }
  6745. ],
  6746. "responses": {
  6747. "200": {
  6748. "description": "OK",
  6749. "schema": {
  6750. "$ref": "#/definitions/v1.ServicePhoneClassUpdateResponse"
  6751. }
  6752. },
  6753. "500": {
  6754. "description": "Internal Server Error",
  6755. "schema": {
  6756. "$ref": "#/definitions/base.HTTPError"
  6757. }
  6758. }
  6759. }
  6760. },
  6761. "post": {
  6762. "description": "添加分类",
  6763. "consumes": [
  6764. "application/json"
  6765. ],
  6766. "produces": [
  6767. "application/json"
  6768. ],
  6769. "tags": [
  6770. "服务电话"
  6771. ],
  6772. "summary": "添加分类",
  6773. "parameters": [
  6774. {
  6775. "type": "string",
  6776. "description": "token",
  6777. "name": "token",
  6778. "in": "header",
  6779. "required": true
  6780. },
  6781. {
  6782. "description": "信息",
  6783. "name": "body",
  6784. "in": "body",
  6785. "required": true,
  6786. "schema": {
  6787. "$ref": "#/definitions/v1.ServicePhoneClassAddBody"
  6788. }
  6789. }
  6790. ],
  6791. "responses": {
  6792. "200": {
  6793. "description": "OK",
  6794. "schema": {
  6795. "$ref": "#/definitions/v1.ServicePhoneClassAddResponse"
  6796. }
  6797. },
  6798. "500": {
  6799. "description": "Internal Server Error",
  6800. "schema": {
  6801. "$ref": "#/definitions/base.HTTPError"
  6802. }
  6803. }
  6804. }
  6805. },
  6806. "delete": {
  6807. "description": "删除分类",
  6808. "consumes": [
  6809. "application/json"
  6810. ],
  6811. "produces": [
  6812. "application/json"
  6813. ],
  6814. "tags": [
  6815. "服务电话"
  6816. ],
  6817. "summary": "删除分类",
  6818. "parameters": [
  6819. {
  6820. "type": "string",
  6821. "description": "token",
  6822. "name": "token",
  6823. "in": "header",
  6824. "required": true
  6825. },
  6826. {
  6827. "type": "integer",
  6828. "description": " ",
  6829. "name": "id",
  6830. "in": "query",
  6831. "required": true
  6832. }
  6833. ],
  6834. "responses": {
  6835. "200": {
  6836. "description": "OK",
  6837. "schema": {
  6838. "$ref": "#/definitions/v1.ServicePhoneClassDelResponse"
  6839. }
  6840. },
  6841. "500": {
  6842. "description": "Internal Server Error",
  6843. "schema": {
  6844. "$ref": "#/definitions/base.HTTPError"
  6845. }
  6846. }
  6847. }
  6848. }
  6849. },
  6850. "/api/v1/suggestion/order": {
  6851. "get": {
  6852. "description": "工单列表",
  6853. "consumes": [
  6854. "application/json"
  6855. ],
  6856. "produces": [
  6857. "application/json"
  6858. ],
  6859. "tags": [
  6860. "投诉与建议"
  6861. ],
  6862. "summary": "工单列表",
  6863. "parameters": [
  6864. {
  6865. "type": "string",
  6866. "description": "token",
  6867. "name": "token",
  6868. "in": "header",
  6869. "required": true
  6870. },
  6871. {
  6872. "type": "integer",
  6873. "description": " ",
  6874. "name": "page",
  6875. "in": "query"
  6876. },
  6877. {
  6878. "type": "integer",
  6879. "description": " ",
  6880. "name": "page_size",
  6881. "in": "query"
  6882. },
  6883. {
  6884. "type": "integer",
  6885. "description": " 1未派单 2 已派单 3 已完结 ",
  6886. "name": "status",
  6887. "in": "query"
  6888. },
  6889. {
  6890. "type": "string",
  6891. "description": "报修人",
  6892. "name": "apply_people",
  6893. "in": "query"
  6894. },
  6895. {
  6896. "type": "string",
  6897. "description": "报修人电话",
  6898. "name": "apply_people_phone",
  6899. "in": "query"
  6900. },
  6901. {
  6902. "type": "boolean",
  6903. "description": " true: 指派给我的",
  6904. "name": "is_me",
  6905. "in": "query"
  6906. },
  6907. {
  6908. "type": "integer",
  6909. "description": "投诉类型 1 投诉 2 建议",
  6910. "name": "suggestion_type",
  6911. "in": "query"
  6912. }
  6913. ],
  6914. "responses": {
  6915. "200": {
  6916. "description": "OK",
  6917. "schema": {
  6918. "$ref": "#/definitions/v1.SuggestionOrderListResponse"
  6919. }
  6920. },
  6921. "500": {
  6922. "description": "Internal Server Error",
  6923. "schema": {
  6924. "$ref": "#/definitions/base.HTTPError"
  6925. }
  6926. }
  6927. }
  6928. },
  6929. "put": {
  6930. "description": "修改工单",
  6931. "consumes": [
  6932. "application/json"
  6933. ],
  6934. "produces": [
  6935. "application/json"
  6936. ],
  6937. "tags": [
  6938. "投诉与建议"
  6939. ],
  6940. "summary": "修改工单",
  6941. "parameters": [
  6942. {
  6943. "type": "string",
  6944. "description": "token",
  6945. "name": "token",
  6946. "in": "header",
  6947. "required": true
  6948. },
  6949. {
  6950. "description": "信息",
  6951. "name": "body",
  6952. "in": "body",
  6953. "required": true,
  6954. "schema": {
  6955. "$ref": "#/definitions/v1.SuggestionOrderUpdateBody"
  6956. }
  6957. }
  6958. ],
  6959. "responses": {
  6960. "200": {
  6961. "description": "OK",
  6962. "schema": {
  6963. "$ref": "#/definitions/v1.SuggestionOrderUpdateResponse"
  6964. }
  6965. },
  6966. "500": {
  6967. "description": "Internal Server Error",
  6968. "schema": {
  6969. "$ref": "#/definitions/base.HTTPError"
  6970. }
  6971. }
  6972. }
  6973. },
  6974. "post": {
  6975. "description": "新增工单",
  6976. "consumes": [
  6977. "application/json"
  6978. ],
  6979. "produces": [
  6980. "application/json"
  6981. ],
  6982. "tags": [
  6983. "投诉与建议"
  6984. ],
  6985. "summary": "新增工单",
  6986. "parameters": [
  6987. {
  6988. "type": "string",
  6989. "description": "token",
  6990. "name": "token",
  6991. "in": "header",
  6992. "required": true
  6993. },
  6994. {
  6995. "description": "信息",
  6996. "name": "body",
  6997. "in": "body",
  6998. "required": true,
  6999. "schema": {
  7000. "$ref": "#/definitions/v1.SuggestionOrderAddBody"
  7001. }
  7002. }
  7003. ],
  7004. "responses": {
  7005. "200": {
  7006. "description": "OK",
  7007. "schema": {
  7008. "$ref": "#/definitions/v1.SuggestionOrderAddResponse"
  7009. }
  7010. },
  7011. "500": {
  7012. "description": "Internal Server Error",
  7013. "schema": {
  7014. "$ref": "#/definitions/base.HTTPError"
  7015. }
  7016. }
  7017. }
  7018. },
  7019. "delete": {
  7020. "description": "删除工单",
  7021. "consumes": [
  7022. "application/json"
  7023. ],
  7024. "produces": [
  7025. "application/json"
  7026. ],
  7027. "tags": [
  7028. "投诉与建议"
  7029. ],
  7030. "summary": "删除工单",
  7031. "parameters": [
  7032. {
  7033. "type": "string",
  7034. "description": "token",
  7035. "name": "token",
  7036. "in": "header",
  7037. "required": true
  7038. },
  7039. {
  7040. "type": "integer",
  7041. "description": " ",
  7042. "name": "id",
  7043. "in": "query",
  7044. "required": true
  7045. }
  7046. ],
  7047. "responses": {
  7048. "200": {
  7049. "description": "OK",
  7050. "schema": {
  7051. "$ref": "#/definitions/v1.SuggestionOrderDelResponse"
  7052. }
  7053. },
  7054. "500": {
  7055. "description": "Internal Server Error",
  7056. "schema": {
  7057. "$ref": "#/definitions/base.HTTPError"
  7058. }
  7059. }
  7060. }
  7061. }
  7062. },
  7063. "/api/v1/suggestion/order/back": {
  7064. "put": {
  7065. "description": "退单",
  7066. "consumes": [
  7067. "application/json"
  7068. ],
  7069. "produces": [
  7070. "application/json"
  7071. ],
  7072. "tags": [
  7073. "投诉与建议"
  7074. ],
  7075. "summary": "退单",
  7076. "parameters": [
  7077. {
  7078. "type": "string",
  7079. "description": "token",
  7080. "name": "token",
  7081. "in": "header",
  7082. "required": true
  7083. },
  7084. {
  7085. "description": "信息",
  7086. "name": "body",
  7087. "in": "body",
  7088. "required": true,
  7089. "schema": {
  7090. "$ref": "#/definitions/v1.SuggestionOrderBackBody"
  7091. }
  7092. }
  7093. ],
  7094. "responses": {
  7095. "200": {
  7096. "description": "OK",
  7097. "schema": {
  7098. "$ref": "#/definitions/v1.SuggestionOrderBackResponse"
  7099. }
  7100. },
  7101. "500": {
  7102. "description": "Internal Server Error",
  7103. "schema": {
  7104. "$ref": "#/definitions/base.HTTPError"
  7105. }
  7106. }
  7107. }
  7108. }
  7109. },
  7110. "/api/v1/suggestion/order/finish": {
  7111. "put": {
  7112. "description": "结单",
  7113. "consumes": [
  7114. "application/json"
  7115. ],
  7116. "produces": [
  7117. "application/json"
  7118. ],
  7119. "tags": [
  7120. "投诉与建议"
  7121. ],
  7122. "summary": "结单",
  7123. "parameters": [
  7124. {
  7125. "type": "string",
  7126. "description": "token",
  7127. "name": "token",
  7128. "in": "header",
  7129. "required": true
  7130. },
  7131. {
  7132. "description": "信息",
  7133. "name": "body",
  7134. "in": "body",
  7135. "required": true,
  7136. "schema": {
  7137. "$ref": "#/definitions/v1.SuggestionOrderFinishBody"
  7138. }
  7139. }
  7140. ],
  7141. "responses": {
  7142. "200": {
  7143. "description": "OK",
  7144. "schema": {
  7145. "$ref": "#/definitions/v1.SuggestionOrderFinishResponse"
  7146. }
  7147. },
  7148. "500": {
  7149. "description": "Internal Server Error",
  7150. "schema": {
  7151. "$ref": "#/definitions/base.HTTPError"
  7152. }
  7153. }
  7154. }
  7155. }
  7156. },
  7157. "/api/v1/suggestion/order/info": {
  7158. "get": {
  7159. "description": "工单详情",
  7160. "consumes": [
  7161. "application/json"
  7162. ],
  7163. "produces": [
  7164. "application/json"
  7165. ],
  7166. "tags": [
  7167. "投诉与建议"
  7168. ],
  7169. "summary": "工单详情",
  7170. "parameters": [
  7171. {
  7172. "type": "string",
  7173. "description": "token",
  7174. "name": "token",
  7175. "in": "header",
  7176. "required": true
  7177. },
  7178. {
  7179. "type": "integer",
  7180. "description": " ",
  7181. "name": "id",
  7182. "in": "query",
  7183. "required": true
  7184. }
  7185. ],
  7186. "responses": {
  7187. "200": {
  7188. "description": "OK",
  7189. "schema": {
  7190. "$ref": "#/definitions/v1.SuggestionOrderInfoResponse"
  7191. }
  7192. },
  7193. "500": {
  7194. "description": "Internal Server Error",
  7195. "schema": {
  7196. "$ref": "#/definitions/base.HTTPError"
  7197. }
  7198. }
  7199. }
  7200. }
  7201. },
  7202. "/api/v1/suggestion/order/return_visit": {
  7203. "put": {
  7204. "description": "回访",
  7205. "consumes": [
  7206. "application/json"
  7207. ],
  7208. "produces": [
  7209. "application/json"
  7210. ],
  7211. "tags": [
  7212. "投诉与建议"
  7213. ],
  7214. "summary": "回访",
  7215. "parameters": [
  7216. {
  7217. "type": "string",
  7218. "description": "token",
  7219. "name": "token",
  7220. "in": "header",
  7221. "required": true
  7222. },
  7223. {
  7224. "description": "信息",
  7225. "name": "body",
  7226. "in": "body",
  7227. "required": true,
  7228. "schema": {
  7229. "$ref": "#/definitions/v1.SuggestionOrderReturnVisitBody"
  7230. }
  7231. }
  7232. ],
  7233. "responses": {
  7234. "200": {
  7235. "description": "OK",
  7236. "schema": {
  7237. "$ref": "#/definitions/v1.SuggestionOrderReturnVisitResponse"
  7238. }
  7239. },
  7240. "500": {
  7241. "description": "Internal Server Error",
  7242. "schema": {
  7243. "$ref": "#/definitions/base.HTTPError"
  7244. }
  7245. }
  7246. }
  7247. }
  7248. },
  7249. "/api/v1/suggestion/order/send": {
  7250. "put": {
  7251. "description": "派单",
  7252. "consumes": [
  7253. "application/json"
  7254. ],
  7255. "produces": [
  7256. "application/json"
  7257. ],
  7258. "tags": [
  7259. "投诉与建议"
  7260. ],
  7261. "summary": "派单",
  7262. "parameters": [
  7263. {
  7264. "type": "string",
  7265. "description": "token",
  7266. "name": "token",
  7267. "in": "header",
  7268. "required": true
  7269. },
  7270. {
  7271. "description": "信息",
  7272. "name": "body",
  7273. "in": "body",
  7274. "required": true,
  7275. "schema": {
  7276. "$ref": "#/definitions/v1.SuggestionOrderSendBody"
  7277. }
  7278. }
  7279. ],
  7280. "responses": {
  7281. "200": {
  7282. "description": "OK",
  7283. "schema": {
  7284. "$ref": "#/definitions/v1.SuggestionOrderSendResponse"
  7285. }
  7286. },
  7287. "500": {
  7288. "description": "Internal Server Error",
  7289. "schema": {
  7290. "$ref": "#/definitions/base.HTTPError"
  7291. }
  7292. }
  7293. }
  7294. }
  7295. },
  7296. "/api/v1/system_msg": {
  7297. "put": {
  7298. "description": "设置消息为已读",
  7299. "consumes": [
  7300. "application/json"
  7301. ],
  7302. "produces": [
  7303. "application/json"
  7304. ],
  7305. "tags": [
  7306. "系统消息"
  7307. ],
  7308. "summary": "设置消息为已读",
  7309. "parameters": [
  7310. {
  7311. "type": "string",
  7312. "description": "token",
  7313. "name": "token",
  7314. "in": "header",
  7315. "required": true
  7316. },
  7317. {
  7318. "description": "信息",
  7319. "name": "body",
  7320. "in": "body",
  7321. "required": true,
  7322. "schema": {
  7323. "$ref": "#/definitions/v1.SystemMsgReadedBody"
  7324. }
  7325. }
  7326. ],
  7327. "responses": {
  7328. "200": {
  7329. "description": "OK",
  7330. "schema": {
  7331. "$ref": "#/definitions/v1.VehicleAddResponse"
  7332. }
  7333. },
  7334. "500": {
  7335. "description": "Internal Server Error",
  7336. "schema": {
  7337. "$ref": "#/definitions/base.HTTPError"
  7338. }
  7339. }
  7340. }
  7341. }
  7342. },
  7343. "/api/v1/system_msg/count": {
  7344. "get": {
  7345. "description": "获取未读消息数",
  7346. "consumes": [
  7347. "application/json"
  7348. ],
  7349. "produces": [
  7350. "application/json"
  7351. ],
  7352. "tags": [
  7353. "系统消息"
  7354. ],
  7355. "summary": "获取未读消息数",
  7356. "parameters": [
  7357. {
  7358. "type": "string",
  7359. "description": "token",
  7360. "name": "token",
  7361. "in": "header",
  7362. "required": true
  7363. }
  7364. ],
  7365. "responses": {
  7366. "200": {
  7367. "description": "OK",
  7368. "schema": {
  7369. "$ref": "#/definitions/v1.SystemMsgCountResponse"
  7370. }
  7371. },
  7372. "500": {
  7373. "description": "Internal Server Error",
  7374. "schema": {
  7375. "$ref": "#/definitions/base.HTTPError"
  7376. }
  7377. }
  7378. }
  7379. }
  7380. },
  7381. "/api/v1/system_msg/list": {
  7382. "get": {
  7383. "description": "获取未读消息列表",
  7384. "consumes": [
  7385. "application/json"
  7386. ],
  7387. "produces": [
  7388. "application/json"
  7389. ],
  7390. "tags": [
  7391. "系统消息"
  7392. ],
  7393. "summary": "获取未读消息列表",
  7394. "parameters": [
  7395. {
  7396. "type": "string",
  7397. "description": "token",
  7398. "name": "token",
  7399. "in": "header",
  7400. "required": true
  7401. },
  7402. {
  7403. "type": "integer",
  7404. "description": " ",
  7405. "name": "page",
  7406. "in": "query"
  7407. },
  7408. {
  7409. "type": "integer",
  7410. "description": " ",
  7411. "name": "page_size",
  7412. "in": "query"
  7413. }
  7414. ],
  7415. "responses": {
  7416. "200": {
  7417. "description": "OK",
  7418. "schema": {
  7419. "$ref": "#/definitions/v1.SystemMsgListResponse"
  7420. }
  7421. },
  7422. "500": {
  7423. "description": "Internal Server Error",
  7424. "schema": {
  7425. "$ref": "#/definitions/base.HTTPError"
  7426. }
  7427. }
  7428. }
  7429. }
  7430. },
  7431. "/api/v1/system_user": {
  7432. "get": {
  7433. "description": "用户列表",
  7434. "consumes": [
  7435. "application/json"
  7436. ],
  7437. "produces": [
  7438. "application/json"
  7439. ],
  7440. "tags": [
  7441. "用户管理"
  7442. ],
  7443. "summary": "用户列表",
  7444. "parameters": [
  7445. {
  7446. "type": "string",
  7447. "description": "token",
  7448. "name": "token",
  7449. "in": "header",
  7450. "required": true
  7451. },
  7452. {
  7453. "type": "integer",
  7454. "description": " ",
  7455. "name": "page",
  7456. "in": "query",
  7457. "required": true
  7458. },
  7459. {
  7460. "type": "integer",
  7461. "description": " ",
  7462. "name": "page_size",
  7463. "in": "query"
  7464. },
  7465. {
  7466. "type": "integer",
  7467. "description": "权限组id",
  7468. "name": "group_id",
  7469. "in": "query"
  7470. },
  7471. {
  7472. "type": "string",
  7473. "description": "用户名",
  7474. "name": "user_name",
  7475. "in": "query"
  7476. },
  7477. {
  7478. "type": "string",
  7479. "description": "电话号",
  7480. "name": "phone",
  7481. "in": "query"
  7482. }
  7483. ],
  7484. "responses": {
  7485. "200": {
  7486. "description": "OK",
  7487. "schema": {
  7488. "$ref": "#/definitions/v1.UserListResponse"
  7489. }
  7490. },
  7491. "500": {
  7492. "description": "Internal Server Error",
  7493. "schema": {
  7494. "$ref": "#/definitions/base.HTTPError"
  7495. }
  7496. }
  7497. }
  7498. }
  7499. },
  7500. "/api/v1/token_refresh": {
  7501. "put": {
  7502. "description": "刷新token",
  7503. "consumes": [
  7504. "application/json"
  7505. ],
  7506. "produces": [
  7507. "application/json"
  7508. ],
  7509. "tags": [
  7510. "用户"
  7511. ],
  7512. "summary": "刷新token",
  7513. "parameters": [
  7514. {
  7515. "type": "string",
  7516. "description": "token",
  7517. "name": "token",
  7518. "in": "header",
  7519. "required": true
  7520. }
  7521. ],
  7522. "responses": {
  7523. "200": {
  7524. "description": "OK",
  7525. "schema": {
  7526. "$ref": "#/definitions/v1.TokenResponse"
  7527. }
  7528. },
  7529. "500": {
  7530. "description": "Internal Server Error",
  7531. "schema": {
  7532. "$ref": "#/definitions/base.HTTPError"
  7533. }
  7534. }
  7535. }
  7536. }
  7537. },
  7538. "/api/v1/upload": {
  7539. "post": {
  7540. "description": "上传文件",
  7541. "consumes": [
  7542. "application/json"
  7543. ],
  7544. "produces": [
  7545. "application/json"
  7546. ],
  7547. "tags": [
  7548. "upload"
  7549. ],
  7550. "summary": "上传文件",
  7551. "parameters": [
  7552. {
  7553. "type": "string",
  7554. "description": "jwt token",
  7555. "name": "token",
  7556. "in": "header",
  7557. "required": true
  7558. },
  7559. {
  7560. "type": "file",
  7561. "description": "file",
  7562. "name": "file",
  7563. "in": "formData"
  7564. }
  7565. ],
  7566. "responses": {
  7567. "200": {
  7568. "description": "OK",
  7569. "schema": {
  7570. "$ref": "#/definitions/v1.UploadResponse"
  7571. }
  7572. },
  7573. "500": {
  7574. "description": "Internal Server Error",
  7575. "schema": {
  7576. "$ref": "#/definitions/base.HTTPError"
  7577. }
  7578. }
  7579. }
  7580. }
  7581. },
  7582. "/api/v1/user/change_password": {
  7583. "put": {
  7584. "description": "修改密码",
  7585. "consumes": [
  7586. "application/json"
  7587. ],
  7588. "produces": [
  7589. "application/json"
  7590. ],
  7591. "tags": [
  7592. "用户"
  7593. ],
  7594. "summary": "修改密码",
  7595. "parameters": [
  7596. {
  7597. "type": "string",
  7598. "description": " ",
  7599. "name": "token",
  7600. "in": "header",
  7601. "required": true
  7602. },
  7603. {
  7604. "description": "信息",
  7605. "name": "body",
  7606. "in": "body",
  7607. "required": true,
  7608. "schema": {
  7609. "$ref": "#/definitions/v1.ChangePasswordBody"
  7610. }
  7611. }
  7612. ],
  7613. "responses": {
  7614. "200": {
  7615. "description": "OK",
  7616. "schema": {
  7617. "$ref": "#/definitions/v1.ChangePasswordResponse"
  7618. }
  7619. },
  7620. "500": {
  7621. "description": "Internal Server Error",
  7622. "schema": {
  7623. "$ref": "#/definitions/base.HTTPError"
  7624. }
  7625. }
  7626. }
  7627. }
  7628. },
  7629. "/api/v1/user/choose_user": {
  7630. "get": {
  7631. "description": "手机号登录选择账户",
  7632. "consumes": [
  7633. "application/json"
  7634. ],
  7635. "produces": [
  7636. "application/json"
  7637. ],
  7638. "tags": [
  7639. "用户"
  7640. ],
  7641. "summary": "手机号登录选择账户",
  7642. "parameters": [
  7643. {
  7644. "type": "string",
  7645. "description": "token",
  7646. "name": "token",
  7647. "in": "header",
  7648. "required": true
  7649. },
  7650. {
  7651. "type": "integer",
  7652. "description": "账户id",
  7653. "name": "id",
  7654. "in": "query",
  7655. "required": true
  7656. }
  7657. ],
  7658. "responses": {
  7659. "200": {
  7660. "description": "OK",
  7661. "schema": {
  7662. "$ref": "#/definitions/v1.ChooseUserResponse"
  7663. }
  7664. },
  7665. "500": {
  7666. "description": "Internal Server Error",
  7667. "schema": {
  7668. "$ref": "#/definitions/base.HTTPError"
  7669. }
  7670. }
  7671. }
  7672. }
  7673. },
  7674. "/api/v1/user/login": {
  7675. "post": {
  7676. "description": "登录",
  7677. "consumes": [
  7678. "application/json"
  7679. ],
  7680. "produces": [
  7681. "application/json"
  7682. ],
  7683. "tags": [
  7684. "用户"
  7685. ],
  7686. "summary": "登录",
  7687. "parameters": [
  7688. {
  7689. "description": "登录信息",
  7690. "name": "body",
  7691. "in": "body",
  7692. "required": true,
  7693. "schema": {
  7694. "$ref": "#/definitions/v1.LoginBody"
  7695. }
  7696. }
  7697. ],
  7698. "responses": {
  7699. "200": {
  7700. "description": "OK",
  7701. "schema": {
  7702. "$ref": "#/definitions/v1.LoginResponse"
  7703. }
  7704. },
  7705. "500": {
  7706. "description": "Internal Server Error",
  7707. "schema": {
  7708. "$ref": "#/definitions/base.HTTPError"
  7709. }
  7710. }
  7711. }
  7712. }
  7713. },
  7714. "/api/v1/user/login_by_phone": {
  7715. "post": {
  7716. "description": "手机号登录",
  7717. "consumes": [
  7718. "application/json"
  7719. ],
  7720. "produces": [
  7721. "application/json"
  7722. ],
  7723. "tags": [
  7724. "用户"
  7725. ],
  7726. "summary": "手机号登录",
  7727. "parameters": [
  7728. {
  7729. "description": " ",
  7730. "name": "body",
  7731. "in": "body",
  7732. "required": true,
  7733. "schema": {
  7734. "$ref": "#/definitions/v1.LoginByPhoneBody"
  7735. }
  7736. }
  7737. ],
  7738. "responses": {
  7739. "200": {
  7740. "description": "OK",
  7741. "schema": {
  7742. "$ref": "#/definitions/v1.LoginByPhoneResponse"
  7743. }
  7744. },
  7745. "500": {
  7746. "description": "Internal Server Error",
  7747. "schema": {
  7748. "$ref": "#/definitions/base.HTTPError"
  7749. }
  7750. }
  7751. }
  7752. }
  7753. },
  7754. "/api/v1/user/reset_password": {
  7755. "put": {
  7756. "description": "忘记密码重置密码",
  7757. "consumes": [
  7758. "application/json"
  7759. ],
  7760. "produces": [
  7761. "application/json"
  7762. ],
  7763. "tags": [
  7764. "用户"
  7765. ],
  7766. "summary": "忘记密码重置密码",
  7767. "parameters": [
  7768. {
  7769. "description": "信息",
  7770. "name": "body",
  7771. "in": "body",
  7772. "required": true,
  7773. "schema": {
  7774. "$ref": "#/definitions/v1.ResetPasswordBody"
  7775. }
  7776. }
  7777. ],
  7778. "responses": {
  7779. "200": {
  7780. "description": "OK",
  7781. "schema": {
  7782. "$ref": "#/definitions/v1.ResetPasswordResponse"
  7783. }
  7784. },
  7785. "500": {
  7786. "description": "Internal Server Error",
  7787. "schema": {
  7788. "$ref": "#/definitions/base.HTTPError"
  7789. }
  7790. }
  7791. }
  7792. }
  7793. },
  7794. "/api/v1/user/vcode": {
  7795. "get": {
  7796. "description": "获取短信验证码",
  7797. "consumes": [
  7798. "application/json"
  7799. ],
  7800. "produces": [
  7801. "application/json"
  7802. ],
  7803. "tags": [
  7804. "用户"
  7805. ],
  7806. "summary": "获取短信验证码",
  7807. "parameters": [
  7808. {
  7809. "type": "string",
  7810. "description": " ",
  7811. "name": "phone",
  7812. "in": "query",
  7813. "required": true
  7814. }
  7815. ],
  7816. "responses": {
  7817. "200": {
  7818. "description": "OK",
  7819. "schema": {
  7820. "$ref": "#/definitions/v1.GetVcodeResponse"
  7821. }
  7822. },
  7823. "500": {
  7824. "description": "Internal Server Error",
  7825. "schema": {
  7826. "$ref": "#/definitions/base.HTTPError"
  7827. }
  7828. }
  7829. }
  7830. }
  7831. }
  7832. },
  7833. "definitions": {
  7834. "base.HTTPError": {
  7835. "type": "object",
  7836. "properties": {
  7837. "code": {
  7838. "type": "integer",
  7839. "format": "int",
  7840. "example": 500
  7841. },
  7842. "message": {
  7843. "type": "string",
  7844. "example": "status bad request"
  7845. }
  7846. }
  7847. },
  7848. "v1.AnnouncementAddBody": {
  7849. "type": "object",
  7850. "properties": {
  7851. "content": {
  7852. "type": "string"
  7853. },
  7854. "title": {
  7855. "type": "string"
  7856. }
  7857. }
  7858. },
  7859. "v1.AnnouncementAddReply": {
  7860. "type": "object",
  7861. "properties": {
  7862. "id": {
  7863. "type": "integer"
  7864. }
  7865. }
  7866. },
  7867. "v1.AnnouncementAddResponse": {
  7868. "type": "object",
  7869. "properties": {
  7870. "code": {
  7871. "description": "返回码",
  7872. "type": "integer",
  7873. "format": "int",
  7874. "default": 0
  7875. },
  7876. "data": {
  7877. "type": "object",
  7878. "$ref": "#/definitions/v1.AnnouncementAddReply"
  7879. },
  7880. "message": {
  7881. "description": "消息",
  7882. "type": "string",
  7883. "default": "success"
  7884. }
  7885. }
  7886. },
  7887. "v1.AnnouncementDelResponse": {
  7888. "type": "object",
  7889. "properties": {
  7890. "code": {
  7891. "description": "返回码",
  7892. "type": "integer",
  7893. "format": "int",
  7894. "default": 0
  7895. },
  7896. "message": {
  7897. "description": "消息",
  7898. "type": "string",
  7899. "default": "success"
  7900. }
  7901. }
  7902. },
  7903. "v1.AnnouncementItem": {
  7904. "type": "object",
  7905. "properties": {
  7906. "content": {
  7907. "type": "string"
  7908. },
  7909. "id": {
  7910. "type": "integer"
  7911. },
  7912. "title": {
  7913. "type": "string"
  7914. }
  7915. }
  7916. },
  7917. "v1.AnnouncementListReply": {
  7918. "type": "object",
  7919. "properties": {
  7920. "list": {
  7921. "type": "array",
  7922. "items": {
  7923. "$ref": "#/definitions/v1.AnnouncementItem"
  7924. }
  7925. },
  7926. "page": {
  7927. "type": "integer"
  7928. },
  7929. "total": {
  7930. "type": "integer"
  7931. }
  7932. }
  7933. },
  7934. "v1.AnnouncementListResponse": {
  7935. "type": "object",
  7936. "properties": {
  7937. "code": {
  7938. "description": "返回码",
  7939. "type": "integer",
  7940. "format": "int",
  7941. "default": 0
  7942. },
  7943. "data": {
  7944. "type": "object",
  7945. "$ref": "#/definitions/v1.AnnouncementListReply"
  7946. },
  7947. "message": {
  7948. "description": "消息",
  7949. "type": "string",
  7950. "default": "success"
  7951. }
  7952. }
  7953. },
  7954. "v1.AnnouncementUpdateBody": {
  7955. "type": "object",
  7956. "properties": {
  7957. "content": {
  7958. "type": "string"
  7959. },
  7960. "id": {
  7961. "type": "integer"
  7962. },
  7963. "title": {
  7964. "type": "string"
  7965. }
  7966. }
  7967. },
  7968. "v1.AnnouncementUpdateResponse": {
  7969. "type": "object",
  7970. "properties": {
  7971. "code": {
  7972. "description": "返回码",
  7973. "type": "integer",
  7974. "format": "int",
  7975. "default": 0
  7976. },
  7977. "message": {
  7978. "description": "消息",
  7979. "type": "string",
  7980. "default": "success"
  7981. }
  7982. }
  7983. },
  7984. "v1.BatchBuildingItem": {
  7985. "type": "object",
  7986. "properties": {
  7987. "building_area": {
  7988. "description": "楼栋建筑面积",
  7989. "type": "number"
  7990. },
  7991. "building_name": {
  7992. "description": "楼栋名",
  7993. "type": "string"
  7994. },
  7995. "building_number": {
  7996. "description": "楼栋编号",
  7997. "type": "string"
  7998. },
  7999. "building_used_area": {
  8000. "description": "楼栋使用面积",
  8001. "type": "number"
  8002. },
  8003. "comment": {
  8004. "description": "备注",
  8005. "type": "string"
  8006. }
  8007. }
  8008. },
  8009. "v1.BatchHouseAddBody": {
  8010. "type": "object",
  8011. "properties": {
  8012. "buildings": {
  8013. "type": "array",
  8014. "items": {
  8015. "$ref": "#/definitions/v1.BatchBuildingItem"
  8016. }
  8017. },
  8018. "houses": {
  8019. "type": "array",
  8020. "items": {
  8021. "$ref": "#/definitions/v1.BatchHouseItem"
  8022. }
  8023. },
  8024. "units": {
  8025. "type": "array",
  8026. "items": {
  8027. "$ref": "#/definitions/v1.BatchUnitItem"
  8028. }
  8029. }
  8030. }
  8031. },
  8032. "v1.BatchHouseItem": {
  8033. "type": "object",
  8034. "properties": {
  8035. "building_number": {
  8036. "type": "string"
  8037. },
  8038. "hall_count": {
  8039. "description": "几厅",
  8040. "type": "integer"
  8041. },
  8042. "house_area": {
  8043. "description": "房屋建筑面积",
  8044. "type": "number"
  8045. },
  8046. "house_number": {
  8047. "description": "门牌号",
  8048. "type": "string"
  8049. },
  8050. "house_type": {
  8051. "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅",
  8052. "type": "integer"
  8053. },
  8054. "house_used_area": {
  8055. "description": "房屋使用面积",
  8056. "type": "number"
  8057. },
  8058. "layer": {
  8059. "description": "楼层",
  8060. "type": "integer"
  8061. },
  8062. "room_count": {
  8063. "description": "几室",
  8064. "type": "integer"
  8065. },
  8066. "unit_number": {
  8067. "description": "单元编号",
  8068. "type": "integer"
  8069. }
  8070. }
  8071. },
  8072. "v1.BatchUnitItem": {
  8073. "type": "object",
  8074. "properties": {
  8075. "building_number": {
  8076. "description": "楼栋编号",
  8077. "type": "string"
  8078. },
  8079. "has_lift": {
  8080. "description": "是否有电梯",
  8081. "type": "boolean"
  8082. },
  8083. "unit_layers": {
  8084. "description": "楼层数",
  8085. "type": "integer"
  8086. },
  8087. "unit_name": {
  8088. "description": "单元名",
  8089. "type": "string"
  8090. },
  8091. "unit_number": {
  8092. "description": "单元编号",
  8093. "type": "integer"
  8094. }
  8095. }
  8096. },
  8097. "v1.BatchUrgeData": {
  8098. "type": "object",
  8099. "properties": {
  8100. "list": {
  8101. "type": "array",
  8102. "items": {
  8103. "$ref": "#/definitions/v1.BatchUrgeItem"
  8104. }
  8105. }
  8106. }
  8107. },
  8108. "v1.BatchUrgeFeeItem": {
  8109. "type": "object",
  8110. "properties": {
  8111. "charge_name": {
  8112. "description": "费用名称",
  8113. "type": "string"
  8114. },
  8115. "charge_type": {
  8116. "description": "费用类型 1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  8117. "type": "integer"
  8118. },
  8119. "fee": {
  8120. "description": "欠费金额",
  8121. "type": "integer"
  8122. }
  8123. }
  8124. },
  8125. "v1.BatchUrgeItem": {
  8126. "type": "object",
  8127. "properties": {
  8128. "list": {
  8129. "description": "费用",
  8130. "type": "array",
  8131. "items": {
  8132. "$ref": "#/definitions/v1.BatchUrgeFeeItem"
  8133. }
  8134. },
  8135. "obj_name": {
  8136. "description": "房号/车位号",
  8137. "type": "string"
  8138. }
  8139. }
  8140. },
  8141. "v1.BatchUrgeResponse": {
  8142. "type": "object",
  8143. "properties": {
  8144. "code": {
  8145. "description": "返回码",
  8146. "type": "integer",
  8147. "format": "int",
  8148. "default": 0
  8149. },
  8150. "data": {
  8151. "type": "object",
  8152. "$ref": "#/definitions/v1.BatchUrgeData"
  8153. },
  8154. "message": {
  8155. "description": "消息",
  8156. "type": "string",
  8157. "default": "success"
  8158. }
  8159. }
  8160. },
  8161. "v1.BuildingAddBody": {
  8162. "type": "object",
  8163. "properties": {
  8164. "building_area": {
  8165. "description": "楼栋建筑面积",
  8166. "type": "number"
  8167. },
  8168. "building_name": {
  8169. "description": "楼栋名",
  8170. "type": "string"
  8171. },
  8172. "building_number": {
  8173. "description": "楼栋编号",
  8174. "type": "string"
  8175. },
  8176. "building_used_area": {
  8177. "description": "楼栋使用面积",
  8178. "type": "number"
  8179. },
  8180. "comment": {
  8181. "description": "备注",
  8182. "type": "string"
  8183. }
  8184. }
  8185. },
  8186. "v1.BuildingAddReply": {
  8187. "type": "object",
  8188. "properties": {
  8189. "id": {
  8190. "type": "integer"
  8191. }
  8192. }
  8193. },
  8194. "v1.BuildingAddResponse": {
  8195. "type": "object",
  8196. "properties": {
  8197. "code": {
  8198. "description": "返回码",
  8199. "type": "integer",
  8200. "format": "int",
  8201. "default": 0
  8202. },
  8203. "data": {
  8204. "type": "object",
  8205. "$ref": "#/definitions/v1.BuildingAddReply"
  8206. },
  8207. "message": {
  8208. "description": "消息",
  8209. "type": "string",
  8210. "default": "success"
  8211. }
  8212. }
  8213. },
  8214. "v1.BuildingDelResponse": {
  8215. "type": "object",
  8216. "properties": {
  8217. "code": {
  8218. "description": "返回码",
  8219. "type": "integer",
  8220. "format": "int",
  8221. "default": 0
  8222. },
  8223. "message": {
  8224. "description": "消息",
  8225. "type": "string",
  8226. "default": "success"
  8227. }
  8228. }
  8229. },
  8230. "v1.BuildingItem": {
  8231. "type": "object",
  8232. "properties": {
  8233. "building_area": {
  8234. "description": "楼栋建筑面积",
  8235. "type": "number"
  8236. },
  8237. "building_name": {
  8238. "description": "楼栋名",
  8239. "type": "string"
  8240. },
  8241. "building_number": {
  8242. "description": "楼栋编号",
  8243. "type": "string"
  8244. },
  8245. "building_used_area": {
  8246. "description": "楼栋使用面积",
  8247. "type": "number"
  8248. },
  8249. "comment": {
  8250. "description": "备注",
  8251. "type": "string"
  8252. },
  8253. "id": {
  8254. "description": "id",
  8255. "type": "integer"
  8256. },
  8257. "unit_count": {
  8258. "type": "integer"
  8259. }
  8260. }
  8261. },
  8262. "v1.BuildingListReply": {
  8263. "type": "object",
  8264. "properties": {
  8265. "list": {
  8266. "type": "array",
  8267. "items": {
  8268. "$ref": "#/definitions/v1.BuildingItem"
  8269. }
  8270. },
  8271. "page": {
  8272. "type": "integer"
  8273. },
  8274. "total": {
  8275. "type": "integer"
  8276. }
  8277. }
  8278. },
  8279. "v1.BuildingListResponse": {
  8280. "type": "object",
  8281. "properties": {
  8282. "code": {
  8283. "description": "返回码",
  8284. "type": "integer",
  8285. "format": "int",
  8286. "default": 0
  8287. },
  8288. "data": {
  8289. "type": "object",
  8290. "$ref": "#/definitions/v1.BuildingListReply"
  8291. },
  8292. "message": {
  8293. "description": "消息",
  8294. "type": "string",
  8295. "default": "success"
  8296. }
  8297. }
  8298. },
  8299. "v1.BuildingUpdateBody": {
  8300. "type": "object",
  8301. "properties": {
  8302. "building_area": {
  8303. "description": "楼栋建筑面积",
  8304. "type": "number"
  8305. },
  8306. "building_name": {
  8307. "description": "楼栋名",
  8308. "type": "string"
  8309. },
  8310. "building_number": {
  8311. "description": "楼栋编号",
  8312. "type": "string"
  8313. },
  8314. "building_used_area": {
  8315. "description": "楼栋使用面积",
  8316. "type": "number"
  8317. },
  8318. "comment": {
  8319. "description": "备注",
  8320. "type": "string"
  8321. },
  8322. "id": {
  8323. "type": "integer"
  8324. }
  8325. }
  8326. },
  8327. "v1.BuildingUpdateResponse": {
  8328. "type": "object",
  8329. "properties": {
  8330. "code": {
  8331. "description": "返回码",
  8332. "type": "integer",
  8333. "format": "int",
  8334. "default": 0
  8335. },
  8336. "message": {
  8337. "description": "消息",
  8338. "type": "string",
  8339. "default": "success"
  8340. }
  8341. }
  8342. },
  8343. "v1.ChangePasswordBody": {
  8344. "type": "object",
  8345. "properties": {
  8346. "new_password": {
  8347. "type": "string"
  8348. },
  8349. "old_password": {
  8350. "type": "string"
  8351. }
  8352. }
  8353. },
  8354. "v1.ChangePasswordResponse": {
  8355. "type": "object",
  8356. "properties": {
  8357. "code": {
  8358. "description": "返回码",
  8359. "type": "integer",
  8360. "format": "int",
  8361. "default": 0
  8362. },
  8363. "message": {
  8364. "description": "消息",
  8365. "type": "string",
  8366. "default": "success"
  8367. }
  8368. }
  8369. },
  8370. "v1.ChargeBillItem": {
  8371. "type": "object",
  8372. "properties": {
  8373. "amount": {
  8374. "type": "integer"
  8375. },
  8376. "bill_id": {
  8377. "type": "integer"
  8378. },
  8379. "charge_desc": {
  8380. "type": "string"
  8381. },
  8382. "charge_name": {
  8383. "type": "string"
  8384. },
  8385. "charge_type": {
  8386. "type": "integer"
  8387. },
  8388. "current_used": {
  8389. "type": "number"
  8390. },
  8391. "end": {
  8392. "type": "string"
  8393. },
  8394. "last_used": {
  8395. "type": "number"
  8396. },
  8397. "late_fee": {
  8398. "type": "integer"
  8399. },
  8400. "start": {
  8401. "type": "string"
  8402. }
  8403. }
  8404. },
  8405. "v1.ChargeBillListReply": {
  8406. "type": "object",
  8407. "properties": {
  8408. "charge_name": {
  8409. "type": "string"
  8410. },
  8411. "charge_type": {
  8412. "type": "integer"
  8413. },
  8414. "list": {
  8415. "type": "array",
  8416. "items": {
  8417. "$ref": "#/definitions/v1.ChargeBillItem"
  8418. }
  8419. },
  8420. "page": {
  8421. "type": "integer"
  8422. },
  8423. "should_pay_amount": {
  8424. "type": "integer"
  8425. },
  8426. "total": {
  8427. "type": "integer"
  8428. }
  8429. }
  8430. },
  8431. "v1.ChargeBillListResponse": {
  8432. "type": "object",
  8433. "properties": {
  8434. "code": {
  8435. "description": "返回码",
  8436. "type": "integer",
  8437. "format": "int",
  8438. "default": 0
  8439. },
  8440. "data": {
  8441. "type": "object",
  8442. "$ref": "#/definitions/v1.ChargeBillListReply"
  8443. },
  8444. "message": {
  8445. "description": "消息",
  8446. "type": "string",
  8447. "default": "success"
  8448. }
  8449. }
  8450. },
  8451. "v1.ChargeBillObjItem": {
  8452. "type": "object",
  8453. "properties": {
  8454. "bill_count": {
  8455. "type": "integer"
  8456. },
  8457. "obj_id": {
  8458. "type": "integer"
  8459. },
  8460. "obj_name": {
  8461. "type": "string"
  8462. },
  8463. "obj_type": {
  8464. "type": "integer"
  8465. },
  8466. "should_pay_amount": {
  8467. "type": "integer"
  8468. }
  8469. }
  8470. },
  8471. "v1.ChargeBillObjListReply": {
  8472. "type": "object",
  8473. "properties": {
  8474. "list": {
  8475. "type": "array",
  8476. "items": {
  8477. "$ref": "#/definitions/v1.ChargeBillObjItem"
  8478. }
  8479. },
  8480. "page": {
  8481. "type": "integer"
  8482. },
  8483. "total": {
  8484. "type": "integer"
  8485. }
  8486. }
  8487. },
  8488. "v1.ChargeBillObjListResponse": {
  8489. "type": "object",
  8490. "properties": {
  8491. "code": {
  8492. "description": "返回码",
  8493. "type": "integer",
  8494. "format": "int",
  8495. "default": 0
  8496. },
  8497. "data": {
  8498. "type": "object",
  8499. "$ref": "#/definitions/v1.ChargeBillObjListReply"
  8500. },
  8501. "message": {
  8502. "description": "消息",
  8503. "type": "string",
  8504. "default": "success"
  8505. }
  8506. }
  8507. },
  8508. "v1.ChargeBillPayBody": {
  8509. "type": "object",
  8510. "properties": {
  8511. "bind_ids": {
  8512. "description": "BillIds []int64 ` + "`" + `form:\"bill_ids\" json:\"bill_ids\"` + "`" + `\n绑定关系id列表",
  8513. "type": "array",
  8514. "items": {
  8515. "type": "integer"
  8516. }
  8517. },
  8518. "comment": {
  8519. "description": "备注",
  8520. "type": "string"
  8521. },
  8522. "pay_amount": {
  8523. "description": "实缴",
  8524. "type": "integer"
  8525. },
  8526. "pay_type": {
  8527. "description": "1 现金 2 微信 3 支付宝 4 pos 5 转账",
  8528. "type": "integer"
  8529. },
  8530. "should_pay_amount": {
  8531. "description": "应缴",
  8532. "type": "integer"
  8533. }
  8534. }
  8535. },
  8536. "v1.ChargeBillPayByHouseholdBody": {
  8537. "type": "object",
  8538. "properties": {
  8539. "bind_ids": {
  8540. "description": "BillIds []int64 ` + "`" + `form:\"bill_ids\" json:\"bill_ids\"` + "`" + `\n绑定关系id列表",
  8541. "type": "array",
  8542. "items": {
  8543. "type": "integer"
  8544. }
  8545. },
  8546. "comment": {
  8547. "description": "备注",
  8548. "type": "string"
  8549. },
  8550. "pay_amount": {
  8551. "description": "实缴",
  8552. "type": "integer"
  8553. },
  8554. "should_pay_amount": {
  8555. "description": "应缴",
  8556. "type": "integer"
  8557. }
  8558. }
  8559. },
  8560. "v1.ChargeBillPayByHouseholdReply": {
  8561. "type": "object",
  8562. "properties": {
  8563. "code_url": {
  8564. "description": "二维码,native 支付时有值",
  8565. "type": "string"
  8566. },
  8567. "order_id": {
  8568. "type": "string"
  8569. },
  8570. "prepay_info": {
  8571. "description": "三方预支付信息",
  8572. "type": "string"
  8573. }
  8574. }
  8575. },
  8576. "v1.ChargeBillPayByHouseholdResponse": {
  8577. "type": "object",
  8578. "properties": {
  8579. "code": {
  8580. "description": "返回码",
  8581. "type": "integer",
  8582. "format": "int",
  8583. "default": 0
  8584. },
  8585. "data": {
  8586. "type": "object",
  8587. "$ref": "#/definitions/v1.ChargeBillPayByHouseholdReply"
  8588. },
  8589. "message": {
  8590. "description": "消息",
  8591. "type": "string",
  8592. "default": "success"
  8593. }
  8594. }
  8595. },
  8596. "v1.ChargeBillPayReply": {
  8597. "type": "object",
  8598. "properties": {
  8599. "order_id": {
  8600. "type": "string"
  8601. }
  8602. }
  8603. },
  8604. "v1.ChargeBillPayResponse": {
  8605. "type": "object",
  8606. "properties": {
  8607. "code": {
  8608. "description": "返回码",
  8609. "type": "integer",
  8610. "format": "int",
  8611. "default": 0
  8612. },
  8613. "data": {
  8614. "type": "object",
  8615. "$ref": "#/definitions/v1.ChargeBillPayReply"
  8616. },
  8617. "message": {
  8618. "description": "消息",
  8619. "type": "string",
  8620. "default": "success"
  8621. }
  8622. }
  8623. },
  8624. "v1.ChargeBindBody": {
  8625. "type": "object",
  8626. "properties": {
  8627. "charge_id": {
  8628. "type": "integer"
  8629. },
  8630. "custom_fee": {
  8631. "type": "integer"
  8632. },
  8633. "end": {
  8634. "description": "只有车辆费用有,结束时间",
  8635. "type": "integer"
  8636. },
  8637. "obj_ids": {
  8638. "description": "绑定对象的id",
  8639. "type": "array",
  8640. "items": {
  8641. "type": "integer"
  8642. }
  8643. },
  8644. "start": {
  8645. "description": "开始时间",
  8646. "type": "integer"
  8647. }
  8648. }
  8649. },
  8650. "v1.ChargeBindResponse": {
  8651. "type": "object",
  8652. "properties": {
  8653. "code": {
  8654. "description": "返回码",
  8655. "type": "integer",
  8656. "format": "int",
  8657. "default": 0
  8658. },
  8659. "message": {
  8660. "description": "消息",
  8661. "type": "string",
  8662. "default": "success"
  8663. }
  8664. }
  8665. },
  8666. "v1.ChargeConfAddBody": {
  8667. "type": "object",
  8668. "properties": {
  8669. "bill_period": {
  8670. "description": "账单生成周期 1 按月 2 按季度 3 半年 4 年",
  8671. "type": "integer"
  8672. },
  8673. "bill_period_type": {
  8674. "description": "账单周期计算方式 1自然周期 2 费用生效时间",
  8675. "type": "integer"
  8676. },
  8677. "charge_basis": {
  8678. "description": "1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义",
  8679. "type": "integer"
  8680. },
  8681. "charge_effective_time": {
  8682. "description": "费用生效时间",
  8683. "type": "integer"
  8684. },
  8685. "charge_name": {
  8686. "description": "费用名称",
  8687. "type": "string"
  8688. },
  8689. "charge_time_type": {
  8690. "description": "缴费时间类型 1 周期性缴 2 一次性",
  8691. "type": "integer"
  8692. },
  8693. "charge_type": {
  8694. "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  8695. "type": "integer"
  8696. },
  8697. "fix_amount": {
  8698. "description": "固定费用",
  8699. "type": "integer"
  8700. },
  8701. "fix_amount_name": {
  8702. "description": "固定费用别名",
  8703. "type": "string"
  8704. },
  8705. "lateFeePercent": {
  8706. "description": "滞纳金比例 1代表万分之1",
  8707. "type": "integer"
  8708. },
  8709. "late_fee_day": {
  8710. "description": "账单生成后xx天开始算滞纳金",
  8711. "type": "integer"
  8712. },
  8713. "late_fee_enable": {
  8714. "description": "滞纳金开启关闭",
  8715. "type": "boolean"
  8716. },
  8717. "late_fee_max_days": {
  8718. "description": "滞纳金封顶天数",
  8719. "type": "integer"
  8720. },
  8721. "unit_price": {
  8722. "description": "单价",
  8723. "type": "integer"
  8724. }
  8725. }
  8726. },
  8727. "v1.ChargeConfAddReply": {
  8728. "type": "object",
  8729. "properties": {
  8730. "id": {
  8731. "type": "integer"
  8732. }
  8733. }
  8734. },
  8735. "v1.ChargeConfAddResponse": {
  8736. "type": "object",
  8737. "properties": {
  8738. "code": {
  8739. "description": "返回码",
  8740. "type": "integer",
  8741. "format": "int",
  8742. "default": 0
  8743. },
  8744. "data": {
  8745. "type": "object",
  8746. "$ref": "#/definitions/v1.ChargeConfAddReply"
  8747. },
  8748. "message": {
  8749. "description": "消息",
  8750. "type": "string",
  8751. "default": "success"
  8752. }
  8753. }
  8754. },
  8755. "v1.ChargeConfDelResponse": {
  8756. "type": "object",
  8757. "properties": {
  8758. "code": {
  8759. "description": "返回码",
  8760. "type": "integer",
  8761. "format": "int",
  8762. "default": 0
  8763. },
  8764. "message": {
  8765. "description": "消息",
  8766. "type": "string",
  8767. "default": "success"
  8768. }
  8769. }
  8770. },
  8771. "v1.ChargeConfItem": {
  8772. "type": "object",
  8773. "properties": {
  8774. "bill_period": {
  8775. "description": "账单生成周期 1 按月 2 按季度 3 半年 4 年",
  8776. "type": "integer"
  8777. },
  8778. "bill_period_type": {
  8779. "description": "账单周期计算方式 1自然周期 2 费用生效时间",
  8780. "type": "integer"
  8781. },
  8782. "charge_basis": {
  8783. "description": "1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义",
  8784. "type": "integer"
  8785. },
  8786. "charge_effective_time": {
  8787. "description": "费用生效时间",
  8788. "type": "integer"
  8789. },
  8790. "charge_name": {
  8791. "description": "费用名称",
  8792. "type": "string"
  8793. },
  8794. "charge_time_type": {
  8795. "description": "缴费时间类型 1 周期性缴 2 一次性",
  8796. "type": "integer"
  8797. },
  8798. "charge_type": {
  8799. "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  8800. "type": "integer"
  8801. },
  8802. "fix_amount": {
  8803. "description": "固定费用",
  8804. "type": "integer"
  8805. },
  8806. "fix_amount_name": {
  8807. "description": "固定费用别名",
  8808. "type": "string"
  8809. },
  8810. "garden_id": {
  8811. "type": "integer"
  8812. },
  8813. "id": {
  8814. "type": "integer"
  8815. },
  8816. "late_fee_day": {
  8817. "description": "账单生成后xx天开始算滞纳金",
  8818. "type": "integer"
  8819. },
  8820. "late_fee_enable": {
  8821. "description": "滞纳金开启关闭",
  8822. "type": "boolean"
  8823. },
  8824. "late_fee_max_days": {
  8825. "description": "滞纳金封顶天数",
  8826. "type": "integer"
  8827. },
  8828. "late_fee_percent": {
  8829. "description": "滞纳金比例 1代表万分之1",
  8830. "type": "integer"
  8831. },
  8832. "unit_price": {
  8833. "description": "单价",
  8834. "type": "integer"
  8835. }
  8836. }
  8837. },
  8838. "v1.ChargeConfListReply": {
  8839. "type": "object",
  8840. "properties": {
  8841. "list": {
  8842. "type": "array",
  8843. "items": {
  8844. "$ref": "#/definitions/v1.ChargeConfItem"
  8845. }
  8846. },
  8847. "page": {
  8848. "type": "integer"
  8849. },
  8850. "total": {
  8851. "type": "integer"
  8852. }
  8853. }
  8854. },
  8855. "v1.ChargeConfListResponse": {
  8856. "type": "object",
  8857. "properties": {
  8858. "code": {
  8859. "description": "返回码",
  8860. "type": "integer",
  8861. "format": "int",
  8862. "default": 0
  8863. },
  8864. "data": {
  8865. "type": "object",
  8866. "$ref": "#/definitions/v1.ChargeConfListReply"
  8867. },
  8868. "message": {
  8869. "description": "消息",
  8870. "type": "string",
  8871. "default": "success"
  8872. }
  8873. }
  8874. },
  8875. "v1.ChargeConfUpdateBody": {
  8876. "type": "object",
  8877. "properties": {
  8878. "bill_period": {
  8879. "description": "账单生成周期 1 按月 2 按季度 3 半年 4 年",
  8880. "type": "integer"
  8881. },
  8882. "bill_period_type": {
  8883. "description": "账单周期计算方式 1自然周期 2 费用生效时间",
  8884. "type": "integer"
  8885. },
  8886. "charge_basis": {
  8887. "description": "1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义",
  8888. "type": "integer"
  8889. },
  8890. "charge_effective_time": {
  8891. "description": "费用生效时间",
  8892. "type": "integer"
  8893. },
  8894. "charge_name": {
  8895. "description": "费用名称",
  8896. "type": "string"
  8897. },
  8898. "charge_time_type": {
  8899. "description": "缴费时间类型 1 周期性缴 2 一次性",
  8900. "type": "integer"
  8901. },
  8902. "charge_type": {
  8903. "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  8904. "type": "integer"
  8905. },
  8906. "fix_amount": {
  8907. "description": "固定费用",
  8908. "type": "integer"
  8909. },
  8910. "fix_amount_name": {
  8911. "description": "固定费用别名",
  8912. "type": "string"
  8913. },
  8914. "id": {
  8915. "type": "integer"
  8916. },
  8917. "lateFeePercent": {
  8918. "description": "滞纳金比例 1代表万分之1",
  8919. "type": "integer"
  8920. },
  8921. "late_fee_day": {
  8922. "description": "账单生成后xx天开始算滞纳金",
  8923. "type": "integer"
  8924. },
  8925. "late_fee_enable": {
  8926. "description": "滞纳金开启关闭",
  8927. "type": "boolean"
  8928. },
  8929. "late_fee_max_days": {
  8930. "description": "滞纳金封顶天数",
  8931. "type": "integer"
  8932. },
  8933. "unit_price": {
  8934. "description": "单价",
  8935. "type": "integer"
  8936. }
  8937. }
  8938. },
  8939. "v1.ChargeConfUpdateResponse": {
  8940. "type": "object",
  8941. "properties": {
  8942. "code": {
  8943. "description": "返回码",
  8944. "type": "integer",
  8945. "format": "int",
  8946. "default": 0
  8947. },
  8948. "message": {
  8949. "description": "消息",
  8950. "type": "string",
  8951. "default": "success"
  8952. }
  8953. }
  8954. },
  8955. "v1.ChargeDelBillBody": {
  8956. "type": "object",
  8957. "properties": {
  8958. "bill_id": {
  8959. "type": "integer"
  8960. },
  8961. "del_reason": {
  8962. "type": "string"
  8963. }
  8964. }
  8965. },
  8966. "v1.ChargeDelBillItem": {
  8967. "type": "object",
  8968. "properties": {
  8969. "amount": {
  8970. "type": "integer"
  8971. },
  8972. "bill_id": {
  8973. "type": "integer"
  8974. },
  8975. "charge_desc": {
  8976. "type": "string"
  8977. },
  8978. "charge_name": {
  8979. "type": "string"
  8980. },
  8981. "charge_type": {
  8982. "type": "integer"
  8983. },
  8984. "current_used": {
  8985. "type": "number"
  8986. },
  8987. "del_at": {
  8988. "type": "string"
  8989. },
  8990. "del_reason": {
  8991. "type": "string"
  8992. },
  8993. "end": {
  8994. "type": "string"
  8995. },
  8996. "household_name": {
  8997. "type": "string"
  8998. },
  8999. "household_phone": {
  9000. "type": "string"
  9001. },
  9002. "last_used": {
  9003. "type": "number"
  9004. },
  9005. "late_fee": {
  9006. "type": "integer"
  9007. },
  9008. "obj_name": {
  9009. "type": "string"
  9010. },
  9011. "obj_type": {
  9012. "type": "integer"
  9013. },
  9014. "pay_time": {
  9015. "type": "string"
  9016. },
  9017. "pay_type": {
  9018. "type": "integer"
  9019. },
  9020. "start": {
  9021. "type": "string"
  9022. }
  9023. }
  9024. },
  9025. "v1.ChargeDelBillListReply": {
  9026. "type": "object",
  9027. "properties": {
  9028. "list": {
  9029. "type": "array",
  9030. "items": {
  9031. "$ref": "#/definitions/v1.ChargeDelBillItem"
  9032. }
  9033. },
  9034. "page": {
  9035. "type": "integer"
  9036. },
  9037. "total": {
  9038. "type": "integer"
  9039. }
  9040. }
  9041. },
  9042. "v1.ChargeDelBillListResponse": {
  9043. "type": "object",
  9044. "properties": {
  9045. "code": {
  9046. "description": "返回码",
  9047. "type": "integer",
  9048. "format": "int",
  9049. "default": 0
  9050. },
  9051. "data": {
  9052. "type": "object",
  9053. "$ref": "#/definitions/v1.ChargeDelBillListReply"
  9054. },
  9055. "message": {
  9056. "description": "消息",
  9057. "type": "string",
  9058. "default": "success"
  9059. }
  9060. }
  9061. },
  9062. "v1.ChargeDelBillResponse": {
  9063. "type": "object",
  9064. "properties": {
  9065. "code": {
  9066. "description": "返回码",
  9067. "type": "integer",
  9068. "format": "int",
  9069. "default": 0
  9070. },
  9071. "message": {
  9072. "description": "消息",
  9073. "type": "string",
  9074. "default": "success"
  9075. }
  9076. }
  9077. },
  9078. "v1.ChargeGenerateBillBody": {
  9079. "type": "object",
  9080. "properties": {
  9081. "bind_id": {
  9082. "type": "integer"
  9083. },
  9084. "end": {
  9085. "type": "integer"
  9086. }
  9087. }
  9088. },
  9089. "v1.ChargeGenerateBillResponse": {
  9090. "type": "object",
  9091. "properties": {
  9092. "code": {
  9093. "description": "返回码",
  9094. "type": "integer",
  9095. "format": "int",
  9096. "default": 0
  9097. },
  9098. "message": {
  9099. "description": "消息",
  9100. "type": "string",
  9101. "default": "success"
  9102. }
  9103. }
  9104. },
  9105. "v1.ChargeHouseBindedListReply": {
  9106. "type": "object",
  9107. "properties": {
  9108. "list": {
  9109. "type": "array",
  9110. "items": {
  9111. "$ref": "#/definitions/v1.ChargeHouseData"
  9112. }
  9113. },
  9114. "page": {
  9115. "type": "integer"
  9116. },
  9117. "total": {
  9118. "type": "integer"
  9119. }
  9120. }
  9121. },
  9122. "v1.ChargeHouseBindedListResponse": {
  9123. "type": "object",
  9124. "properties": {
  9125. "code": {
  9126. "description": "返回码",
  9127. "type": "integer",
  9128. "format": "int",
  9129. "default": 0
  9130. },
  9131. "data": {
  9132. "type": "object",
  9133. "$ref": "#/definitions/v1.ChargeHouseBindedListReply"
  9134. },
  9135. "message": {
  9136. "description": "消息",
  9137. "type": "string",
  9138. "default": "success"
  9139. }
  9140. }
  9141. },
  9142. "v1.ChargeHouseData": {
  9143. "type": "object",
  9144. "properties": {
  9145. "house_area": {
  9146. "type": "number"
  9147. },
  9148. "house_id": {
  9149. "type": "integer"
  9150. },
  9151. "house_name": {
  9152. "description": "房屋号",
  9153. "type": "string"
  9154. },
  9155. "house_number": {
  9156. "description": "门牌号",
  9157. "type": "string"
  9158. },
  9159. "house_status": {
  9160. "type": "integer"
  9161. },
  9162. "house_type": {
  9163. "type": "integer"
  9164. },
  9165. "house_used_area": {
  9166. "type": "number"
  9167. },
  9168. "layer": {
  9169. "type": "integer"
  9170. },
  9171. "start": {
  9172. "type": "integer"
  9173. }
  9174. }
  9175. },
  9176. "v1.ChargeHouseGroupItem": {
  9177. "type": "object",
  9178. "properties": {
  9179. "has_unpay_bill": {
  9180. "description": "是否有欠费账单",
  9181. "type": "boolean"
  9182. },
  9183. "house_area": {
  9184. "type": "number"
  9185. },
  9186. "house_id": {
  9187. "type": "integer"
  9188. },
  9189. "house_name": {
  9190. "type": "string"
  9191. },
  9192. "house_property_bind_id": {
  9193. "description": "房屋与物业费的绑定id",
  9194. "type": "integer"
  9195. },
  9196. "house_status": {
  9197. "type": "integer"
  9198. },
  9199. "house_type": {
  9200. "type": "integer"
  9201. },
  9202. "house_used_area": {
  9203. "type": "number"
  9204. },
  9205. "layer": {
  9206. "type": "integer"
  9207. }
  9208. }
  9209. },
  9210. "v1.ChargeHouseGroupReply": {
  9211. "type": "object",
  9212. "properties": {
  9213. "list": {
  9214. "type": "array",
  9215. "items": {
  9216. "$ref": "#/definitions/v1.ChargeHouseGroupItem"
  9217. }
  9218. },
  9219. "page": {
  9220. "type": "integer"
  9221. },
  9222. "total": {
  9223. "type": "integer"
  9224. }
  9225. }
  9226. },
  9227. "v1.ChargeHouseGroupResponse": {
  9228. "type": "object",
  9229. "properties": {
  9230. "code": {
  9231. "description": "返回码",
  9232. "type": "integer",
  9233. "format": "int",
  9234. "default": 0
  9235. },
  9236. "data": {
  9237. "type": "object",
  9238. "$ref": "#/definitions/v1.ChargeHouseGroupReply"
  9239. },
  9240. "message": {
  9241. "description": "消息",
  9242. "type": "string",
  9243. "default": "success"
  9244. }
  9245. }
  9246. },
  9247. "v1.ChargeHouseNotBindListReply": {
  9248. "type": "object",
  9249. "properties": {
  9250. "list": {
  9251. "type": "array",
  9252. "items": {
  9253. "$ref": "#/definitions/v1.ChargeHouseData"
  9254. }
  9255. },
  9256. "page": {
  9257. "type": "integer"
  9258. },
  9259. "total": {
  9260. "type": "integer"
  9261. }
  9262. }
  9263. },
  9264. "v1.ChargeHouseNotBindListResponse": {
  9265. "type": "object",
  9266. "properties": {
  9267. "code": {
  9268. "description": "返回码",
  9269. "type": "integer",
  9270. "format": "int",
  9271. "default": 0
  9272. },
  9273. "data": {
  9274. "type": "object",
  9275. "$ref": "#/definitions/v1.ChargeHouseNotBindListReply"
  9276. },
  9277. "message": {
  9278. "description": "消息",
  9279. "type": "string",
  9280. "default": "success"
  9281. }
  9282. }
  9283. },
  9284. "v1.ChargeItem": {
  9285. "type": "object",
  9286. "properties": {
  9287. "bind_id": {
  9288. "type": "integer"
  9289. },
  9290. "charge_name": {
  9291. "type": "string"
  9292. },
  9293. "charge_time_type": {
  9294. "type": "integer"
  9295. },
  9296. "charge_type": {
  9297. "type": "integer"
  9298. },
  9299. "created_at": {
  9300. "type": "string"
  9301. },
  9302. "desc": {
  9303. "type": "string"
  9304. },
  9305. "end": {
  9306. "type": "string"
  9307. },
  9308. "start": {
  9309. "type": "string"
  9310. },
  9311. "status": {
  9312. "type": "string"
  9313. }
  9314. }
  9315. },
  9316. "v1.ChargeListReply": {
  9317. "type": "object",
  9318. "properties": {
  9319. "list": {
  9320. "type": "array",
  9321. "items": {
  9322. "$ref": "#/definitions/v1.ChargeItem"
  9323. }
  9324. },
  9325. "page": {
  9326. "type": "integer"
  9327. },
  9328. "total": {
  9329. "type": "integer"
  9330. }
  9331. }
  9332. },
  9333. "v1.ChargeListResponse": {
  9334. "type": "object",
  9335. "properties": {
  9336. "code": {
  9337. "description": "返回码",
  9338. "type": "integer",
  9339. "format": "int",
  9340. "default": 0
  9341. },
  9342. "data": {
  9343. "type": "object",
  9344. "$ref": "#/definitions/v1.ChargeListReply"
  9345. },
  9346. "message": {
  9347. "description": "消息",
  9348. "type": "string",
  9349. "default": "success"
  9350. }
  9351. }
  9352. },
  9353. "v1.ChargeObjBillListReply": {
  9354. "type": "object",
  9355. "properties": {
  9356. "list": {
  9357. "type": "array",
  9358. "items": {
  9359. "$ref": "#/definitions/v1.ChargeBillItem"
  9360. }
  9361. },
  9362. "page": {
  9363. "type": "integer"
  9364. },
  9365. "total": {
  9366. "type": "integer"
  9367. }
  9368. }
  9369. },
  9370. "v1.ChargeObjBillListResponse": {
  9371. "type": "object",
  9372. "properties": {
  9373. "code": {
  9374. "description": "返回码",
  9375. "type": "integer",
  9376. "format": "int",
  9377. "default": 0
  9378. },
  9379. "data": {
  9380. "type": "object",
  9381. "$ref": "#/definitions/v1.ChargeObjBillListReply"
  9382. },
  9383. "message": {
  9384. "description": "消息",
  9385. "type": "string",
  9386. "default": "success"
  9387. }
  9388. }
  9389. },
  9390. "v1.ChargeOrderBillItem": {
  9391. "type": "object",
  9392. "properties": {
  9393. "amount": {
  9394. "type": "integer"
  9395. },
  9396. "bill_id": {
  9397. "type": "integer"
  9398. },
  9399. "charge_desc": {
  9400. "type": "string"
  9401. },
  9402. "charge_name": {
  9403. "type": "string"
  9404. },
  9405. "charge_type": {
  9406. "type": "integer"
  9407. },
  9408. "current_used": {
  9409. "type": "number"
  9410. },
  9411. "end": {
  9412. "type": "string"
  9413. },
  9414. "last_used": {
  9415. "type": "number"
  9416. },
  9417. "late_fee": {
  9418. "type": "integer"
  9419. },
  9420. "obj_name": {
  9421. "type": "string"
  9422. },
  9423. "start": {
  9424. "type": "string"
  9425. }
  9426. }
  9427. },
  9428. "v1.ChargeOrderInfoReply": {
  9429. "type": "object",
  9430. "properties": {
  9431. "list": {
  9432. "type": "array",
  9433. "items": {
  9434. "$ref": "#/definitions/v1.ChargeOrderBillItem"
  9435. }
  9436. }
  9437. }
  9438. },
  9439. "v1.ChargeOrderInfoResponse": {
  9440. "type": "object",
  9441. "properties": {
  9442. "code": {
  9443. "description": "返回码",
  9444. "type": "integer",
  9445. "format": "int",
  9446. "default": 0
  9447. },
  9448. "data": {
  9449. "type": "object",
  9450. "$ref": "#/definitions/v1.ChargeOrderInfoReply"
  9451. },
  9452. "message": {
  9453. "description": "消息",
  9454. "type": "string",
  9455. "default": "success"
  9456. }
  9457. }
  9458. },
  9459. "v1.ChargeOrderItem": {
  9460. "type": "object",
  9461. "properties": {
  9462. "comment": {
  9463. "type": "string"
  9464. },
  9465. "obj_name": {
  9466. "type": "string"
  9467. },
  9468. "order_id": {
  9469. "type": "string"
  9470. },
  9471. "pay_amount": {
  9472. "type": "integer"
  9473. },
  9474. "pay_time": {
  9475. "type": "string"
  9476. },
  9477. "pay_type": {
  9478. "type": "integer"
  9479. },
  9480. "paying_desc": {
  9481. "type": "string"
  9482. },
  9483. "should_pay_amount": {
  9484. "type": "integer"
  9485. },
  9486. "status": {
  9487. "description": "1 代缴 2 支付中 3 已支付",
  9488. "type": "integer"
  9489. },
  9490. "transaction_id": {
  9491. "type": "string"
  9492. }
  9493. }
  9494. },
  9495. "v1.ChargeOrderListReply": {
  9496. "type": "object",
  9497. "properties": {
  9498. "list": {
  9499. "type": "array",
  9500. "items": {
  9501. "$ref": "#/definitions/v1.ChargeOrderItem"
  9502. }
  9503. },
  9504. "page": {
  9505. "type": "integer"
  9506. },
  9507. "total": {
  9508. "type": "integer"
  9509. }
  9510. }
  9511. },
  9512. "v1.ChargeOrderListResponse": {
  9513. "type": "object",
  9514. "properties": {
  9515. "code": {
  9516. "description": "返回码",
  9517. "type": "integer",
  9518. "format": "int",
  9519. "default": 0
  9520. },
  9521. "data": {
  9522. "type": "object",
  9523. "$ref": "#/definitions/v1.ChargeOrderListReply"
  9524. },
  9525. "message": {
  9526. "description": "消息",
  9527. "type": "string",
  9528. "default": "success"
  9529. }
  9530. }
  9531. },
  9532. "v1.ChargeOrderPayBody": {
  9533. "type": "object",
  9534. "properties": {
  9535. "order_id": {
  9536. "type": "string"
  9537. }
  9538. }
  9539. },
  9540. "v1.ChargeOrderPayResponse": {
  9541. "type": "object",
  9542. "properties": {
  9543. "code": {
  9544. "description": "返回码",
  9545. "type": "integer",
  9546. "format": "int",
  9547. "default": 0
  9548. },
  9549. "message": {
  9550. "description": "消息",
  9551. "type": "string",
  9552. "default": "success"
  9553. }
  9554. }
  9555. },
  9556. "v1.ChargeOrderTicketItem": {
  9557. "type": "object",
  9558. "properties": {
  9559. "amount": {
  9560. "description": "金额 不包含滞纳金",
  9561. "type": "integer"
  9562. },
  9563. "area_used": {
  9564. "description": "面积/用量",
  9565. "type": "number"
  9566. },
  9567. "charge_name": {
  9568. "description": "费用名称",
  9569. "type": "string"
  9570. },
  9571. "charge_type": {
  9572. "description": "费用类型",
  9573. "type": "integer"
  9574. },
  9575. "custom_fee": {
  9576. "description": "自定义费用",
  9577. "type": "integer"
  9578. },
  9579. "end": {
  9580. "type": "string"
  9581. },
  9582. "fix_amount": {
  9583. "description": "固定费用",
  9584. "type": "integer"
  9585. },
  9586. "late_fee": {
  9587. "description": "滞纳金",
  9588. "type": "integer"
  9589. },
  9590. "obj_name": {
  9591. "description": "房屋/车位/车辆",
  9592. "type": "string"
  9593. },
  9594. "obj_type": {
  9595. "description": "1 房屋 2 车位 3 车辆",
  9596. "type": "integer"
  9597. },
  9598. "pay_time": {
  9599. "description": "支付时间",
  9600. "type": "string"
  9601. },
  9602. "start": {
  9603. "description": "收费范围",
  9604. "type": "string"
  9605. },
  9606. "unit_price": {
  9607. "description": "单价",
  9608. "type": "integer"
  9609. }
  9610. }
  9611. },
  9612. "v1.ChargeOrderTicketReply": {
  9613. "type": "object",
  9614. "properties": {
  9615. "comment": {
  9616. "description": "备注",
  9617. "type": "string"
  9618. },
  9619. "list": {
  9620. "description": "账单小票条目",
  9621. "type": "array",
  9622. "items": {
  9623. "$ref": "#/definitions/v1.ChargeOrderTicketItem"
  9624. }
  9625. },
  9626. "should_pay_amount": {
  9627. "description": "应付总金额 包含滞纳金",
  9628. "type": "integer"
  9629. }
  9630. }
  9631. },
  9632. "v1.ChargeOrderTicketResponse": {
  9633. "type": "object",
  9634. "properties": {
  9635. "code": {
  9636. "description": "返回码",
  9637. "type": "integer",
  9638. "format": "int",
  9639. "default": 0
  9640. },
  9641. "data": {
  9642. "type": "object",
  9643. "$ref": "#/definitions/v1.ChargeOrderTicketReply"
  9644. },
  9645. "message": {
  9646. "description": "消息",
  9647. "type": "string",
  9648. "default": "success"
  9649. }
  9650. }
  9651. },
  9652. "v1.ChargePayedBillItem": {
  9653. "type": "object",
  9654. "properties": {
  9655. "amount": {
  9656. "type": "integer"
  9657. },
  9658. "bill_id": {
  9659. "type": "integer"
  9660. },
  9661. "charge_desc": {
  9662. "type": "string"
  9663. },
  9664. "charge_name": {
  9665. "type": "string"
  9666. },
  9667. "charge_type": {
  9668. "type": "integer"
  9669. },
  9670. "current_used": {
  9671. "type": "number"
  9672. },
  9673. "end": {
  9674. "type": "string"
  9675. },
  9676. "last_used": {
  9677. "type": "number"
  9678. },
  9679. "late_fee": {
  9680. "type": "integer"
  9681. },
  9682. "obj_name": {
  9683. "type": "string"
  9684. },
  9685. "obj_type": {
  9686. "type": "integer"
  9687. },
  9688. "pay_time": {
  9689. "type": "string"
  9690. },
  9691. "pay_type": {
  9692. "type": "integer"
  9693. },
  9694. "start": {
  9695. "type": "string"
  9696. }
  9697. }
  9698. },
  9699. "v1.ChargePayedBillListReply": {
  9700. "type": "object",
  9701. "properties": {
  9702. "list": {
  9703. "type": "array",
  9704. "items": {
  9705. "$ref": "#/definitions/v1.ChargePayedBillItem"
  9706. }
  9707. },
  9708. "page": {
  9709. "type": "integer"
  9710. },
  9711. "total": {
  9712. "type": "integer"
  9713. }
  9714. }
  9715. },
  9716. "v1.ChargePayedBillListResponse": {
  9717. "type": "object",
  9718. "properties": {
  9719. "code": {
  9720. "description": "返回码",
  9721. "type": "integer",
  9722. "format": "int",
  9723. "default": 0
  9724. },
  9725. "data": {
  9726. "type": "object",
  9727. "$ref": "#/definitions/v1.ChargePayedBillListReply"
  9728. },
  9729. "message": {
  9730. "description": "消息",
  9731. "type": "string",
  9732. "default": "success"
  9733. }
  9734. }
  9735. },
  9736. "v1.ChargePowerTemplateData": {
  9737. "type": "object",
  9738. "properties": {
  9739. "url": {
  9740. "type": "string"
  9741. }
  9742. }
  9743. },
  9744. "v1.ChargePowerTemplateResponse": {
  9745. "type": "object",
  9746. "properties": {
  9747. "code": {
  9748. "description": "返回码",
  9749. "type": "integer",
  9750. "format": "int",
  9751. "default": 0
  9752. },
  9753. "data": {
  9754. "type": "object",
  9755. "$ref": "#/definitions/v1.ChargePowerTemplateData"
  9756. },
  9757. "message": {
  9758. "description": "消息",
  9759. "type": "string",
  9760. "default": "success"
  9761. }
  9762. }
  9763. },
  9764. "v1.ChargePrePayBody": {
  9765. "type": "object",
  9766. "properties": {
  9767. "bind_id": {
  9768. "type": "integer"
  9769. },
  9770. "comment": {
  9771. "description": "备注",
  9772. "type": "string"
  9773. },
  9774. "months": {
  9775. "type": "integer"
  9776. },
  9777. "pay_amount": {
  9778. "description": "实缴金额",
  9779. "type": "integer"
  9780. },
  9781. "pay_type": {
  9782. "description": "1 现金 2 微信 3 支付宝 4 pos 5 转账",
  9783. "type": "integer"
  9784. },
  9785. "should_pay_amount": {
  9786. "description": "应缴金额",
  9787. "type": "integer"
  9788. }
  9789. }
  9790. },
  9791. "v1.ChargePrePayInfoReply": {
  9792. "type": "object",
  9793. "properties": {
  9794. "charge_desc": {
  9795. "type": "string"
  9796. },
  9797. "charge_name": {
  9798. "type": "string"
  9799. },
  9800. "charge_type": {
  9801. "type": "integer"
  9802. },
  9803. "should_pay_amount": {
  9804. "type": "integer"
  9805. }
  9806. }
  9807. },
  9808. "v1.ChargePrePayInfoResponse": {
  9809. "type": "object",
  9810. "properties": {
  9811. "code": {
  9812. "description": "返回码",
  9813. "type": "integer",
  9814. "format": "int",
  9815. "default": 0
  9816. },
  9817. "data": {
  9818. "type": "object",
  9819. "$ref": "#/definitions/v1.ChargePrePayInfoReply"
  9820. },
  9821. "message": {
  9822. "description": "消息",
  9823. "type": "string",
  9824. "default": "success"
  9825. }
  9826. }
  9827. },
  9828. "v1.ChargePrePayReply": {
  9829. "type": "object",
  9830. "properties": {
  9831. "order_id": {
  9832. "type": "string"
  9833. }
  9834. }
  9835. },
  9836. "v1.ChargePrePayResponse": {
  9837. "type": "object",
  9838. "properties": {
  9839. "code": {
  9840. "description": "返回码",
  9841. "type": "integer",
  9842. "format": "int",
  9843. "default": 0
  9844. },
  9845. "data": {
  9846. "type": "object",
  9847. "$ref": "#/definitions/v1.ChargePrePayReply"
  9848. },
  9849. "message": {
  9850. "description": "消息",
  9851. "type": "string",
  9852. "default": "success"
  9853. }
  9854. }
  9855. },
  9856. "v1.ChargeRecoverBillBody": {
  9857. "type": "object",
  9858. "properties": {
  9859. "bill_id": {
  9860. "type": "integer"
  9861. }
  9862. }
  9863. },
  9864. "v1.ChargeRecoverBillResponse": {
  9865. "type": "object",
  9866. "properties": {
  9867. "code": {
  9868. "description": "返回码",
  9869. "type": "integer",
  9870. "format": "int",
  9871. "default": 0
  9872. },
  9873. "message": {
  9874. "description": "消息",
  9875. "type": "string",
  9876. "default": "success"
  9877. }
  9878. }
  9879. },
  9880. "v1.ChargeSpaceBindedListReply": {
  9881. "type": "object",
  9882. "properties": {
  9883. "list": {
  9884. "type": "array",
  9885. "items": {
  9886. "$ref": "#/definitions/v1.ChargeSpaceData"
  9887. }
  9888. },
  9889. "page": {
  9890. "type": "integer"
  9891. },
  9892. "total": {
  9893. "type": "integer"
  9894. }
  9895. }
  9896. },
  9897. "v1.ChargeSpaceBindedListResponse": {
  9898. "type": "object",
  9899. "properties": {
  9900. "code": {
  9901. "description": "返回码",
  9902. "type": "integer",
  9903. "format": "int",
  9904. "default": 0
  9905. },
  9906. "data": {
  9907. "type": "object",
  9908. "$ref": "#/definitions/v1.ChargeSpaceBindedListReply"
  9909. },
  9910. "message": {
  9911. "description": "消息",
  9912. "type": "string",
  9913. "default": "success"
  9914. }
  9915. }
  9916. },
  9917. "v1.ChargeSpaceData": {
  9918. "type": "object",
  9919. "properties": {
  9920. "park_name": {
  9921. "type": "string"
  9922. },
  9923. "park_number": {
  9924. "type": "string"
  9925. },
  9926. "space_area": {
  9927. "type": "number"
  9928. },
  9929. "space_id": {
  9930. "type": "integer"
  9931. },
  9932. "space_number": {
  9933. "type": "string"
  9934. },
  9935. "space_status": {
  9936. "type": "integer"
  9937. },
  9938. "space_type": {
  9939. "type": "integer"
  9940. },
  9941. "start": {
  9942. "type": "integer"
  9943. }
  9944. }
  9945. },
  9946. "v1.ChargeSpaceGroupItem": {
  9947. "type": "object",
  9948. "properties": {
  9949. "has_unpay_bill": {
  9950. "description": "是否有欠费账单",
  9951. "type": "boolean"
  9952. },
  9953. "park_name": {
  9954. "type": "string"
  9955. },
  9956. "park_number": {
  9957. "type": "string"
  9958. },
  9959. "space_area": {
  9960. "type": "number"
  9961. },
  9962. "space_bind_id": {
  9963. "description": "车位与费用的绑定id",
  9964. "type": "integer"
  9965. },
  9966. "space_id": {
  9967. "type": "integer"
  9968. },
  9969. "space_number": {
  9970. "type": "string"
  9971. },
  9972. "space_status": {
  9973. "type": "integer"
  9974. },
  9975. "space_type": {
  9976. "type": "integer"
  9977. }
  9978. }
  9979. },
  9980. "v1.ChargeSpaceGroupReply": {
  9981. "type": "object",
  9982. "properties": {
  9983. "list": {
  9984. "type": "array",
  9985. "items": {
  9986. "$ref": "#/definitions/v1.ChargeSpaceGroupItem"
  9987. }
  9988. },
  9989. "page": {
  9990. "type": "integer"
  9991. },
  9992. "total": {
  9993. "type": "integer"
  9994. }
  9995. }
  9996. },
  9997. "v1.ChargeSpaceGroupResponse": {
  9998. "type": "object",
  9999. "properties": {
  10000. "code": {
  10001. "description": "返回码",
  10002. "type": "integer",
  10003. "format": "int",
  10004. "default": 0
  10005. },
  10006. "data": {
  10007. "type": "object",
  10008. "$ref": "#/definitions/v1.ChargeSpaceGroupReply"
  10009. },
  10010. "message": {
  10011. "description": "消息",
  10012. "type": "string",
  10013. "default": "success"
  10014. }
  10015. }
  10016. },
  10017. "v1.ChargeSpaceNotBindListReply": {
  10018. "type": "object",
  10019. "properties": {
  10020. "list": {
  10021. "type": "array",
  10022. "items": {
  10023. "$ref": "#/definitions/v1.ChargeSpaceData"
  10024. }
  10025. },
  10026. "page": {
  10027. "type": "integer"
  10028. },
  10029. "total": {
  10030. "type": "integer"
  10031. }
  10032. }
  10033. },
  10034. "v1.ChargeSpaceNotBindListResponse": {
  10035. "type": "object",
  10036. "properties": {
  10037. "code": {
  10038. "description": "返回码",
  10039. "type": "integer",
  10040. "format": "int",
  10041. "default": 0
  10042. },
  10043. "data": {
  10044. "type": "object",
  10045. "$ref": "#/definitions/v1.ChargeSpaceNotBindListReply"
  10046. },
  10047. "message": {
  10048. "description": "消息",
  10049. "type": "string",
  10050. "default": "success"
  10051. }
  10052. }
  10053. },
  10054. "v1.ChargeTimeSetBody": {
  10055. "type": "object",
  10056. "properties": {
  10057. "bind_id": {
  10058. "type": "integer"
  10059. },
  10060. "end": {
  10061. "description": "仅车辆费用可以设结束时间",
  10062. "type": "integer"
  10063. },
  10064. "start": {
  10065. "type": "integer"
  10066. }
  10067. }
  10068. },
  10069. "v1.ChargeTimeSetResponse": {
  10070. "type": "object",
  10071. "properties": {
  10072. "code": {
  10073. "description": "返回码",
  10074. "type": "integer",
  10075. "format": "int",
  10076. "default": 0
  10077. },
  10078. "message": {
  10079. "description": "消息",
  10080. "type": "string",
  10081. "default": "success"
  10082. }
  10083. }
  10084. },
  10085. "v1.ChargeUnbindBody": {
  10086. "type": "object",
  10087. "properties": {
  10088. "charge_id": {
  10089. "type": "integer"
  10090. },
  10091. "obj_id": {
  10092. "type": "integer"
  10093. }
  10094. }
  10095. },
  10096. "v1.ChargeUnbindResponse": {
  10097. "type": "object",
  10098. "properties": {
  10099. "code": {
  10100. "description": "返回码",
  10101. "type": "integer",
  10102. "format": "int",
  10103. "default": 0
  10104. },
  10105. "message": {
  10106. "description": "消息",
  10107. "type": "string",
  10108. "default": "success"
  10109. }
  10110. }
  10111. },
  10112. "v1.ChargeUnpayItem": {
  10113. "type": "object",
  10114. "properties": {
  10115. "bill_count": {
  10116. "type": "integer"
  10117. },
  10118. "bind_id": {
  10119. "type": "integer"
  10120. },
  10121. "charge_name": {
  10122. "type": "string"
  10123. },
  10124. "charge_time_type": {
  10125. "type": "integer"
  10126. },
  10127. "charge_type": {
  10128. "type": "integer"
  10129. },
  10130. "unpay_amount": {
  10131. "type": "integer"
  10132. }
  10133. }
  10134. },
  10135. "v1.ChargeUnpayListReply": {
  10136. "type": "object",
  10137. "properties": {
  10138. "list": {
  10139. "type": "array",
  10140. "items": {
  10141. "$ref": "#/definitions/v1.ChargeUnpayItem"
  10142. }
  10143. },
  10144. "page": {
  10145. "type": "integer"
  10146. },
  10147. "total": {
  10148. "type": "integer"
  10149. }
  10150. }
  10151. },
  10152. "v1.ChargeUnpayListResponse": {
  10153. "type": "object",
  10154. "properties": {
  10155. "code": {
  10156. "description": "返回码",
  10157. "type": "integer",
  10158. "format": "int",
  10159. "default": 0
  10160. },
  10161. "data": {
  10162. "type": "object",
  10163. "$ref": "#/definitions/v1.ChargeUnpayListReply"
  10164. },
  10165. "message": {
  10166. "description": "消息",
  10167. "type": "string",
  10168. "default": "success"
  10169. }
  10170. }
  10171. },
  10172. "v1.ChargeUrgeBody": {
  10173. "type": "object",
  10174. "properties": {
  10175. "obj_id": {
  10176. "type": "integer"
  10177. },
  10178. "obj_type": {
  10179. "type": "integer"
  10180. }
  10181. }
  10182. },
  10183. "v1.ChargeUrgeInfoReply": {
  10184. "type": "object",
  10185. "properties": {
  10186. "id": {
  10187. "type": "integer"
  10188. },
  10189. "urge_day": {
  10190. "type": "integer"
  10191. },
  10192. "urge_msg_type": {
  10193. "type": "integer"
  10194. },
  10195. "urge_target": {
  10196. "type": "integer"
  10197. }
  10198. }
  10199. },
  10200. "v1.ChargeUrgeInfoResponse": {
  10201. "type": "object",
  10202. "properties": {
  10203. "code": {
  10204. "description": "返回码",
  10205. "type": "integer",
  10206. "format": "int",
  10207. "default": 0
  10208. },
  10209. "data": {
  10210. "type": "object",
  10211. "$ref": "#/definitions/v1.ChargeUrgeInfoReply"
  10212. },
  10213. "message": {
  10214. "description": "消息",
  10215. "type": "string",
  10216. "default": "success"
  10217. }
  10218. }
  10219. },
  10220. "v1.ChargeUrgeResponse": {
  10221. "type": "object",
  10222. "properties": {
  10223. "code": {
  10224. "description": "返回码",
  10225. "type": "integer",
  10226. "format": "int",
  10227. "default": 0
  10228. },
  10229. "message": {
  10230. "description": "消息",
  10231. "type": "string",
  10232. "default": "success"
  10233. }
  10234. }
  10235. },
  10236. "v1.ChargeUrgeSetBody": {
  10237. "type": "object",
  10238. "properties": {
  10239. "id": {
  10240. "description": "催缴信息返回的id为0时填0",
  10241. "type": "integer"
  10242. },
  10243. "urge_day": {
  10244. "type": "integer"
  10245. },
  10246. "urge_msg_type": {
  10247. "description": "1 仅短信 2 仅微信 3 短信和微信",
  10248. "type": "integer"
  10249. },
  10250. "urge_target": {
  10251. "description": "1 仅业主 2 业主和家人 3 业主家人租客",
  10252. "type": "integer"
  10253. }
  10254. }
  10255. },
  10256. "v1.ChargeUrgeSetResponse": {
  10257. "type": "object",
  10258. "properties": {
  10259. "code": {
  10260. "description": "返回码",
  10261. "type": "integer",
  10262. "format": "int",
  10263. "default": 0
  10264. },
  10265. "message": {
  10266. "description": "消息",
  10267. "type": "string",
  10268. "default": "success"
  10269. }
  10270. }
  10271. },
  10272. "v1.ChargeVehicleBindedListReply": {
  10273. "type": "object",
  10274. "properties": {
  10275. "list": {
  10276. "type": "array",
  10277. "items": {
  10278. "$ref": "#/definitions/v1.ChargeVehicleData"
  10279. }
  10280. },
  10281. "page": {
  10282. "type": "integer"
  10283. },
  10284. "total": {
  10285. "type": "integer"
  10286. }
  10287. }
  10288. },
  10289. "v1.ChargeVehicleBindedListResponse": {
  10290. "type": "object",
  10291. "properties": {
  10292. "code": {
  10293. "description": "返回码",
  10294. "type": "integer",
  10295. "format": "int",
  10296. "default": 0
  10297. },
  10298. "data": {
  10299. "type": "object",
  10300. "$ref": "#/definitions/v1.ChargeVehicleBindedListReply"
  10301. },
  10302. "message": {
  10303. "description": "消息",
  10304. "type": "string",
  10305. "default": "success"
  10306. }
  10307. }
  10308. },
  10309. "v1.ChargeVehicleData": {
  10310. "type": "object",
  10311. "properties": {
  10312. "brand": {
  10313. "type": "string"
  10314. },
  10315. "displacement": {
  10316. "type": "string"
  10317. },
  10318. "end": {
  10319. "type": "integer"
  10320. },
  10321. "plate_no": {
  10322. "type": "string"
  10323. },
  10324. "seat": {
  10325. "type": "integer"
  10326. },
  10327. "start": {
  10328. "type": "integer"
  10329. },
  10330. "vehicle_id": {
  10331. "type": "integer"
  10332. },
  10333. "vehicle_type": {
  10334. "type": "integer"
  10335. }
  10336. }
  10337. },
  10338. "v1.ChargeVehicleGroupItem": {
  10339. "type": "object",
  10340. "properties": {
  10341. "brand": {
  10342. "type": "string"
  10343. },
  10344. "displacement": {
  10345. "type": "string"
  10346. },
  10347. "plate_no": {
  10348. "type": "string"
  10349. },
  10350. "seat": {
  10351. "type": "integer"
  10352. },
  10353. "vehicle_id": {
  10354. "type": "integer"
  10355. },
  10356. "vehicle_type": {
  10357. "type": "integer"
  10358. }
  10359. }
  10360. },
  10361. "v1.ChargeVehicleGroupReply": {
  10362. "type": "object",
  10363. "properties": {
  10364. "list": {
  10365. "type": "array",
  10366. "items": {
  10367. "$ref": "#/definitions/v1.ChargeVehicleGroupItem"
  10368. }
  10369. },
  10370. "page": {
  10371. "type": "integer"
  10372. },
  10373. "total": {
  10374. "type": "integer"
  10375. }
  10376. }
  10377. },
  10378. "v1.ChargeVehicleGroupResponse": {
  10379. "type": "object",
  10380. "properties": {
  10381. "code": {
  10382. "description": "返回码",
  10383. "type": "integer",
  10384. "format": "int",
  10385. "default": 0
  10386. },
  10387. "data": {
  10388. "type": "object",
  10389. "$ref": "#/definitions/v1.ChargeVehicleGroupReply"
  10390. },
  10391. "message": {
  10392. "description": "消息",
  10393. "type": "string",
  10394. "default": "success"
  10395. }
  10396. }
  10397. },
  10398. "v1.ChargeVehicleNotBindListReply": {
  10399. "type": "object",
  10400. "properties": {
  10401. "list": {
  10402. "type": "array",
  10403. "items": {
  10404. "$ref": "#/definitions/v1.ChargeVehicleData"
  10405. }
  10406. },
  10407. "page": {
  10408. "type": "integer"
  10409. },
  10410. "total": {
  10411. "type": "integer"
  10412. }
  10413. }
  10414. },
  10415. "v1.ChargeVehicleNotBindListResponse": {
  10416. "type": "object",
  10417. "properties": {
  10418. "code": {
  10419. "description": "返回码",
  10420. "type": "integer",
  10421. "format": "int",
  10422. "default": 0
  10423. },
  10424. "data": {
  10425. "type": "object",
  10426. "$ref": "#/definitions/v1.ChargeVehicleNotBindListReply"
  10427. },
  10428. "message": {
  10429. "description": "消息",
  10430. "type": "string",
  10431. "default": "success"
  10432. }
  10433. }
  10434. },
  10435. "v1.ChooseUserResponse": {
  10436. "type": "object",
  10437. "properties": {
  10438. "code": {
  10439. "description": "返回码",
  10440. "type": "integer",
  10441. "format": "int",
  10442. "default": 0
  10443. },
  10444. "data": {
  10445. "type": "object",
  10446. "$ref": "#/definitions/v1.LoginData"
  10447. },
  10448. "message": {
  10449. "description": "消息",
  10450. "type": "string",
  10451. "default": "success"
  10452. }
  10453. }
  10454. },
  10455. "v1.DepartmentAddBody": {
  10456. "type": "object",
  10457. "properties": {
  10458. "department_name": {
  10459. "type": "string"
  10460. },
  10461. "desc": {
  10462. "type": "string"
  10463. }
  10464. }
  10465. },
  10466. "v1.DepartmentAddReply": {
  10467. "type": "object",
  10468. "properties": {
  10469. "id": {
  10470. "type": "integer"
  10471. }
  10472. }
  10473. },
  10474. "v1.DepartmentAddResponse": {
  10475. "type": "object",
  10476. "properties": {
  10477. "code": {
  10478. "description": "返回码",
  10479. "type": "integer",
  10480. "format": "int",
  10481. "default": 0
  10482. },
  10483. "data": {
  10484. "type": "object",
  10485. "$ref": "#/definitions/v1.DepartmentAddReply"
  10486. },
  10487. "message": {
  10488. "description": "消息",
  10489. "type": "string",
  10490. "default": "success"
  10491. }
  10492. }
  10493. },
  10494. "v1.DepartmentDelResponse": {
  10495. "type": "object",
  10496. "properties": {
  10497. "code": {
  10498. "description": "返回码",
  10499. "type": "integer",
  10500. "format": "int",
  10501. "default": 0
  10502. },
  10503. "message": {
  10504. "description": "消息",
  10505. "type": "string",
  10506. "default": "success"
  10507. }
  10508. }
  10509. },
  10510. "v1.DepartmentItem": {
  10511. "type": "object",
  10512. "properties": {
  10513. "created_at": {
  10514. "type": "string"
  10515. },
  10516. "department_name": {
  10517. "type": "string"
  10518. },
  10519. "desc": {
  10520. "type": "string"
  10521. },
  10522. "id": {
  10523. "type": "integer"
  10524. }
  10525. }
  10526. },
  10527. "v1.DepartmentListReply": {
  10528. "type": "object",
  10529. "properties": {
  10530. "list": {
  10531. "type": "array",
  10532. "items": {
  10533. "$ref": "#/definitions/v1.DepartmentItem"
  10534. }
  10535. },
  10536. "page": {
  10537. "type": "integer"
  10538. },
  10539. "total": {
  10540. "type": "integer"
  10541. }
  10542. }
  10543. },
  10544. "v1.DepartmentListResponse": {
  10545. "type": "object",
  10546. "properties": {
  10547. "code": {
  10548. "description": "返回码",
  10549. "type": "integer",
  10550. "format": "int",
  10551. "default": 0
  10552. },
  10553. "data": {
  10554. "type": "object",
  10555. "$ref": "#/definitions/v1.DepartmentListReply"
  10556. },
  10557. "message": {
  10558. "description": "消息",
  10559. "type": "string",
  10560. "default": "success"
  10561. }
  10562. }
  10563. },
  10564. "v1.DepartmentUpdateBody": {
  10565. "type": "object",
  10566. "properties": {
  10567. "department_name": {
  10568. "type": "string"
  10569. },
  10570. "desc": {
  10571. "type": "string"
  10572. },
  10573. "id": {
  10574. "type": "integer"
  10575. }
  10576. }
  10577. },
  10578. "v1.DepartmentUpdateResponse": {
  10579. "type": "object",
  10580. "properties": {
  10581. "code": {
  10582. "description": "返回码",
  10583. "type": "integer",
  10584. "format": "int",
  10585. "default": 0
  10586. },
  10587. "message": {
  10588. "description": "消息",
  10589. "type": "string",
  10590. "default": "success"
  10591. }
  10592. }
  10593. },
  10594. "v1.EventAddBody": {
  10595. "type": "object",
  10596. "properties": {
  10597. "addr": {
  10598. "description": "活动地址",
  10599. "type": "string"
  10600. },
  10601. "content": {
  10602. "description": "内容",
  10603. "type": "string"
  10604. },
  10605. "end": {
  10606. "description": "活动结束时间",
  10607. "type": "integer"
  10608. },
  10609. "fee": {
  10610. "description": "报名费用",
  10611. "type": "integer"
  10612. },
  10613. "people_limit": {
  10614. "description": "人数限制",
  10615. "type": "integer"
  10616. },
  10617. "pic": {
  10618. "description": "图片",
  10619. "type": "array",
  10620. "items": {
  10621. "type": "string"
  10622. }
  10623. },
  10624. "sign_up_end": {
  10625. "description": "报名截止时间",
  10626. "type": "integer"
  10627. },
  10628. "start": {
  10629. "description": "活动开始时间",
  10630. "type": "integer"
  10631. },
  10632. "title": {
  10633. "type": "string"
  10634. }
  10635. }
  10636. },
  10637. "v1.EventAddReply": {
  10638. "type": "object",
  10639. "properties": {
  10640. "id": {
  10641. "type": "integer"
  10642. }
  10643. }
  10644. },
  10645. "v1.EventAddResponse": {
  10646. "type": "object",
  10647. "properties": {
  10648. "code": {
  10649. "description": "返回码",
  10650. "type": "integer",
  10651. "format": "int",
  10652. "default": 0
  10653. },
  10654. "data": {
  10655. "type": "object",
  10656. "$ref": "#/definitions/v1.EventAddReply"
  10657. },
  10658. "message": {
  10659. "description": "消息",
  10660. "type": "string",
  10661. "default": "success"
  10662. }
  10663. }
  10664. },
  10665. "v1.EventDelResponse": {
  10666. "type": "object",
  10667. "properties": {
  10668. "code": {
  10669. "description": "返回码",
  10670. "type": "integer",
  10671. "format": "int",
  10672. "default": 0
  10673. },
  10674. "message": {
  10675. "description": "消息",
  10676. "type": "string",
  10677. "default": "success"
  10678. }
  10679. }
  10680. },
  10681. "v1.EventItem": {
  10682. "type": "object",
  10683. "properties": {
  10684. "addr": {
  10685. "description": "活动地址",
  10686. "type": "string"
  10687. },
  10688. "content": {
  10689. "description": "内容",
  10690. "type": "string"
  10691. },
  10692. "created_at": {
  10693. "type": "string"
  10694. },
  10695. "end": {
  10696. "description": "活动结束时间",
  10697. "type": "integer"
  10698. },
  10699. "fee": {
  10700. "description": "报名费用",
  10701. "type": "integer"
  10702. },
  10703. "id": {
  10704. "type": "integer"
  10705. },
  10706. "people_count": {
  10707. "description": "已报名人数",
  10708. "type": "integer"
  10709. },
  10710. "people_limit": {
  10711. "description": "人数限制",
  10712. "type": "integer"
  10713. },
  10714. "pic": {
  10715. "description": "图片",
  10716. "type": "array",
  10717. "items": {
  10718. "type": "string"
  10719. }
  10720. },
  10721. "sign": {
  10722. "description": "物业端不管该字段,小程序查询时该字段有效 是否报名",
  10723. "type": "boolean"
  10724. },
  10725. "sign_up_end": {
  10726. "description": "报名截止时间",
  10727. "type": "integer"
  10728. },
  10729. "start": {
  10730. "description": "活动开始时间",
  10731. "type": "integer"
  10732. },
  10733. "status": {
  10734. "description": "1 报名进行中 2 报名已截止",
  10735. "type": "integer"
  10736. },
  10737. "title": {
  10738. "description": "标题",
  10739. "type": "string"
  10740. }
  10741. }
  10742. },
  10743. "v1.EventListReply": {
  10744. "type": "object",
  10745. "properties": {
  10746. "list": {
  10747. "type": "array",
  10748. "items": {
  10749. "$ref": "#/definitions/v1.EventItem"
  10750. }
  10751. },
  10752. "page": {
  10753. "type": "integer"
  10754. },
  10755. "total": {
  10756. "type": "integer"
  10757. }
  10758. }
  10759. },
  10760. "v1.EventListResponse": {
  10761. "type": "object",
  10762. "properties": {
  10763. "code": {
  10764. "description": "返回码",
  10765. "type": "integer",
  10766. "format": "int",
  10767. "default": 0
  10768. },
  10769. "data": {
  10770. "type": "object",
  10771. "$ref": "#/definitions/v1.EventListReply"
  10772. },
  10773. "message": {
  10774. "description": "消息",
  10775. "type": "string",
  10776. "default": "success"
  10777. }
  10778. }
  10779. },
  10780. "v1.EventSignDelResponse": {
  10781. "type": "object",
  10782. "properties": {
  10783. "code": {
  10784. "description": "返回码",
  10785. "type": "integer",
  10786. "format": "int",
  10787. "default": 0
  10788. },
  10789. "message": {
  10790. "description": "消息",
  10791. "type": "string",
  10792. "default": "success"
  10793. }
  10794. }
  10795. },
  10796. "v1.EventSignItem": {
  10797. "type": "object",
  10798. "properties": {
  10799. "comment": {
  10800. "type": "string"
  10801. },
  10802. "count": {
  10803. "description": "人数",
  10804. "type": "integer"
  10805. },
  10806. "event_id": {
  10807. "type": "integer"
  10808. },
  10809. "id": {
  10810. "type": "integer"
  10811. },
  10812. "name": {
  10813. "type": "string"
  10814. },
  10815. "phone": {
  10816. "type": "string"
  10817. },
  10818. "sign_time": {
  10819. "type": "string"
  10820. }
  10821. }
  10822. },
  10823. "v1.EventSignListReply": {
  10824. "type": "object",
  10825. "properties": {
  10826. "list": {
  10827. "type": "array",
  10828. "items": {
  10829. "$ref": "#/definitions/v1.EventSignItem"
  10830. }
  10831. },
  10832. "page": {
  10833. "type": "integer"
  10834. },
  10835. "total": {
  10836. "type": "integer"
  10837. }
  10838. }
  10839. },
  10840. "v1.EventSignListResponse": {
  10841. "type": "object",
  10842. "properties": {
  10843. "code": {
  10844. "description": "返回码",
  10845. "type": "integer",
  10846. "format": "int",
  10847. "default": 0
  10848. },
  10849. "data": {
  10850. "type": "object",
  10851. "$ref": "#/definitions/v1.EventSignListReply"
  10852. },
  10853. "message": {
  10854. "description": "消息",
  10855. "type": "string",
  10856. "default": "success"
  10857. }
  10858. }
  10859. },
  10860. "v1.EventUpdateBody": {
  10861. "type": "object",
  10862. "properties": {
  10863. "addr": {
  10864. "description": "活动地址",
  10865. "type": "string"
  10866. },
  10867. "content": {
  10868. "description": "内容",
  10869. "type": "string"
  10870. },
  10871. "end": {
  10872. "description": "活动结束时间",
  10873. "type": "integer"
  10874. },
  10875. "fee": {
  10876. "description": "报名费用",
  10877. "type": "integer"
  10878. },
  10879. "id": {
  10880. "type": "integer"
  10881. },
  10882. "people_limit": {
  10883. "description": "人数限制",
  10884. "type": "integer"
  10885. },
  10886. "pic": {
  10887. "description": "图片",
  10888. "type": "array",
  10889. "items": {
  10890. "type": "string"
  10891. }
  10892. },
  10893. "sign_up_end": {
  10894. "description": "报名截止时间",
  10895. "type": "integer"
  10896. },
  10897. "start": {
  10898. "description": "活动开始时间",
  10899. "type": "integer"
  10900. },
  10901. "title": {
  10902. "type": "string"
  10903. }
  10904. }
  10905. },
  10906. "v1.EventUpdateResponse": {
  10907. "type": "object",
  10908. "properties": {
  10909. "code": {
  10910. "description": "返回码",
  10911. "type": "integer",
  10912. "format": "int",
  10913. "default": 0
  10914. },
  10915. "message": {
  10916. "description": "消息",
  10917. "type": "string",
  10918. "default": "success"
  10919. }
  10920. }
  10921. },
  10922. "v1.GardenHouseRentListReply": {
  10923. "type": "object",
  10924. "properties": {
  10925. "list": {
  10926. "type": "array",
  10927. "items": {
  10928. "$ref": "#/definitions/v1.HouseRentItem"
  10929. }
  10930. },
  10931. "page": {
  10932. "type": "integer"
  10933. },
  10934. "total": {
  10935. "type": "integer"
  10936. }
  10937. }
  10938. },
  10939. "v1.GardenInfoResponse": {
  10940. "type": "object",
  10941. "properties": {
  10942. "code": {
  10943. "description": "返回码",
  10944. "type": "integer",
  10945. "format": "int",
  10946. "default": 0
  10947. },
  10948. "data": {
  10949. "type": "object",
  10950. "$ref": "#/definitions/v1.GardenItem"
  10951. },
  10952. "message": {
  10953. "description": "消息",
  10954. "type": "string",
  10955. "default": "success"
  10956. }
  10957. }
  10958. },
  10959. "v1.GardenItem": {
  10960. "type": "object",
  10961. "properties": {
  10962. "appendix": {
  10963. "type": "array",
  10964. "items": {
  10965. "type": "string"
  10966. }
  10967. },
  10968. "area": {
  10969. "description": "区",
  10970. "type": "string"
  10971. },
  10972. "area_code": {
  10973. "type": "string"
  10974. },
  10975. "cid": {
  10976. "description": "物业公司id",
  10977. "type": "integer"
  10978. },
  10979. "city": {
  10980. "description": "市",
  10981. "type": "string"
  10982. },
  10983. "city_code": {
  10984. "type": "string"
  10985. },
  10986. "committee": {
  10987. "description": "社区",
  10988. "type": "string"
  10989. },
  10990. "committee_code": {
  10991. "type": "string"
  10992. },
  10993. "feedback": {
  10994. "type": "string"
  10995. },
  10996. "garden_addr": {
  10997. "description": "小区地址",
  10998. "type": "string"
  10999. },
  11000. "garden_desc": {
  11001. "type": "string"
  11002. },
  11003. "garden_name": {
  11004. "description": "小区名字",
  11005. "type": "string"
  11006. },
  11007. "garden_pic": {
  11008. "type": "string"
  11009. },
  11010. "id": {
  11011. "type": "integer"
  11012. },
  11013. "in_use": {
  11014. "type": "boolean"
  11015. },
  11016. "lat": {
  11017. "description": "纬度",
  11018. "type": "number"
  11019. },
  11020. "lnt": {
  11021. "description": "经度",
  11022. "type": "number"
  11023. },
  11024. "property_person": {
  11025. "description": "物业联系人",
  11026. "type": "string"
  11027. },
  11028. "property_phone": {
  11029. "description": "物业联系人手机号",
  11030. "type": "string"
  11031. },
  11032. "province": {
  11033. "description": "省",
  11034. "type": "string"
  11035. },
  11036. "province_code": {
  11037. "type": "string"
  11038. },
  11039. "status": {
  11040. "type": "integer"
  11041. },
  11042. "street": {
  11043. "description": "街道",
  11044. "type": "string"
  11045. },
  11046. "street_code": {
  11047. "type": "string"
  11048. }
  11049. }
  11050. },
  11051. "v1.GardenKeyInfoChangeBody": {
  11052. "type": "object",
  11053. "properties": {
  11054. "area": {
  11055. "description": "区",
  11056. "type": "string"
  11057. },
  11058. "area_code": {
  11059. "type": "string"
  11060. },
  11061. "city": {
  11062. "description": "市",
  11063. "type": "string"
  11064. },
  11065. "city_code": {
  11066. "type": "string"
  11067. },
  11068. "committee": {
  11069. "description": "社区",
  11070. "type": "string"
  11071. },
  11072. "committee_code": {
  11073. "type": "string"
  11074. },
  11075. "garden_name": {
  11076. "description": "小区名字",
  11077. "type": "string"
  11078. },
  11079. "province": {
  11080. "description": "省",
  11081. "type": "string"
  11082. },
  11083. "province_code": {
  11084. "type": "string"
  11085. },
  11086. "street": {
  11087. "description": "街道",
  11088. "type": "string"
  11089. },
  11090. "street_code": {
  11091. "type": "string"
  11092. }
  11093. }
  11094. },
  11095. "v1.GardenKeyInfoChangeListReply": {
  11096. "type": "object",
  11097. "properties": {
  11098. "list": {
  11099. "type": "array",
  11100. "items": {
  11101. "$ref": "#/definitions/v1.GardenKeyInfoData"
  11102. }
  11103. },
  11104. "page": {
  11105. "type": "integer"
  11106. },
  11107. "total": {
  11108. "type": "integer"
  11109. }
  11110. }
  11111. },
  11112. "v1.GardenKeyInfoChangeListResponse": {
  11113. "type": "object",
  11114. "properties": {
  11115. "code": {
  11116. "description": "返回码",
  11117. "type": "integer",
  11118. "format": "int",
  11119. "default": 0
  11120. },
  11121. "data": {
  11122. "type": "object",
  11123. "$ref": "#/definitions/v1.GardenKeyInfoChangeListReply"
  11124. },
  11125. "message": {
  11126. "description": "消息",
  11127. "type": "string",
  11128. "default": "success"
  11129. }
  11130. }
  11131. },
  11132. "v1.GardenKeyInfoChangeResponse": {
  11133. "type": "object",
  11134. "properties": {
  11135. "code": {
  11136. "description": "返回码",
  11137. "type": "integer",
  11138. "format": "int",
  11139. "default": 0
  11140. },
  11141. "message": {
  11142. "description": "消息",
  11143. "type": "string",
  11144. "default": "success"
  11145. }
  11146. }
  11147. },
  11148. "v1.GardenKeyInfoData": {
  11149. "type": "object",
  11150. "properties": {
  11151. "cid": {
  11152. "type": "integer"
  11153. },
  11154. "feedback": {
  11155. "type": "string"
  11156. },
  11157. "garden_detail": {
  11158. "type": "string"
  11159. },
  11160. "garden_id": {
  11161. "type": "integer"
  11162. },
  11163. "garden_name": {
  11164. "type": "string"
  11165. },
  11166. "id": {
  11167. "type": "integer"
  11168. },
  11169. "list": {
  11170. "type": "array",
  11171. "items": {
  11172. "$ref": "#/definitions/v1.GardenKeyInfoItem"
  11173. }
  11174. },
  11175. "status": {
  11176. "type": "integer"
  11177. }
  11178. }
  11179. },
  11180. "v1.GardenKeyInfoItem": {
  11181. "type": "object",
  11182. "properties": {
  11183. "field_name": {
  11184. "type": "string"
  11185. },
  11186. "field_value_dst": {
  11187. "type": "string"
  11188. },
  11189. "field_value_src": {
  11190. "type": "string"
  11191. }
  11192. }
  11193. },
  11194. "v1.GardenUpdateBody": {
  11195. "type": "object",
  11196. "properties": {
  11197. "garden_addr": {
  11198. "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小区地址",
  11199. "type": "string"
  11200. },
  11201. "garden_desc": {
  11202. "description": "小区描述",
  11203. "type": "string"
  11204. },
  11205. "garden_pic": {
  11206. "description": "小区形象图片",
  11207. "type": "string"
  11208. },
  11209. "lat": {
  11210. "description": "纬度",
  11211. "type": "number"
  11212. },
  11213. "lnt": {
  11214. "description": "经度",
  11215. "type": "number"
  11216. },
  11217. "property_person": {
  11218. "description": "物业联系人",
  11219. "type": "string"
  11220. },
  11221. "property_phone": {
  11222. "description": "物业联系人手机号",
  11223. "type": "string"
  11224. }
  11225. }
  11226. },
  11227. "v1.GardenUpdateResponse": {
  11228. "type": "object",
  11229. "properties": {
  11230. "code": {
  11231. "description": "返回码",
  11232. "type": "integer",
  11233. "format": "int",
  11234. "default": 0
  11235. },
  11236. "message": {
  11237. "description": "消息",
  11238. "type": "string",
  11239. "default": "success"
  11240. }
  11241. }
  11242. },
  11243. "v1.GateCardInfo": {
  11244. "type": "object",
  11245. "properties": {
  11246. "card_number": {
  11247. "type": "string"
  11248. },
  11249. "card_owner": {
  11250. "type": "string"
  11251. }
  11252. }
  11253. },
  11254. "v1.GateCommandItem": {
  11255. "type": "object",
  11256. "properties": {
  11257. "created_at": {
  11258. "type": "integer"
  11259. },
  11260. "desc": {
  11261. "type": "string"
  11262. },
  11263. "device_id": {
  11264. "type": "string"
  11265. },
  11266. "id": {
  11267. "type": "integer"
  11268. },
  11269. "result_status": {
  11270. "description": "1 成功 2 失败",
  11271. "type": "integer"
  11272. },
  11273. "result_status_desc": {
  11274. "description": "结果描述",
  11275. "type": "string"
  11276. },
  11277. "status": {
  11278. "description": "1 待执行 2 执行中 3 执行完成",
  11279. "type": "integer"
  11280. }
  11281. }
  11282. },
  11283. "v1.GateCommandListReply": {
  11284. "type": "object",
  11285. "properties": {
  11286. "list": {
  11287. "type": "array",
  11288. "items": {
  11289. "$ref": "#/definitions/v1.GateCommandItem"
  11290. }
  11291. },
  11292. "page": {
  11293. "type": "integer"
  11294. },
  11295. "total": {
  11296. "type": "integer"
  11297. }
  11298. }
  11299. },
  11300. "v1.GateCommandListResponse": {
  11301. "type": "object",
  11302. "properties": {
  11303. "code": {
  11304. "description": "返回码",
  11305. "type": "integer",
  11306. "format": "int",
  11307. "default": 0
  11308. },
  11309. "data": {
  11310. "type": "object",
  11311. "$ref": "#/definitions/v1.GateCommandListReply"
  11312. },
  11313. "message": {
  11314. "description": "消息",
  11315. "type": "string",
  11316. "default": "success"
  11317. }
  11318. }
  11319. },
  11320. "v1.GateEnableBody": {
  11321. "type": "object",
  11322. "properties": {
  11323. "device_id": {
  11324. "type": "string"
  11325. },
  11326. "enable": {
  11327. "description": "true 启用 false 停用",
  11328. "type": "boolean"
  11329. }
  11330. }
  11331. },
  11332. "v1.GateEnableResponse": {
  11333. "type": "object",
  11334. "properties": {
  11335. "code": {
  11336. "description": "返回码",
  11337. "type": "integer",
  11338. "format": "int",
  11339. "default": 0
  11340. },
  11341. "message": {
  11342. "description": "消息",
  11343. "type": "string",
  11344. "default": "success"
  11345. }
  11346. }
  11347. },
  11348. "v1.GateItem": {
  11349. "type": "object",
  11350. "properties": {
  11351. "auth_key": {
  11352. "description": "授权key",
  11353. "type": "string"
  11354. },
  11355. "device_id": {
  11356. "description": "设备id",
  11357. "type": "string"
  11358. },
  11359. "device_name": {
  11360. "description": "设备名",
  11361. "type": "string"
  11362. },
  11363. "direction": {
  11364. "description": "1 进场 2 出场 3 进出场",
  11365. "type": "integer"
  11366. },
  11367. "enable": {
  11368. "description": "true 已启用 false 已禁用",
  11369. "type": "boolean"
  11370. },
  11371. "garden_id": {
  11372. "description": "小区id",
  11373. "type": "integer"
  11374. },
  11375. "garden_name": {
  11376. "description": "小区名",
  11377. "type": "string"
  11378. },
  11379. "gate_type": {
  11380. "description": "1 二维码门禁 2 人脸识别门禁",
  11381. "type": "integer"
  11382. },
  11383. "location": {
  11384. "type": "string"
  11385. },
  11386. "manufactor": {
  11387. "description": "厂商",
  11388. "type": "string"
  11389. },
  11390. "out_time": {
  11391. "description": "出库时间",
  11392. "type": "integer"
  11393. },
  11394. "out_user": {
  11395. "description": "出库人",
  11396. "type": "string"
  11397. },
  11398. "protocol": {
  11399. "description": "协议",
  11400. "type": "string"
  11401. },
  11402. "sn": {
  11403. "description": "序列号",
  11404. "type": "string"
  11405. },
  11406. "status": {
  11407. "description": "1 在线 2 离线",
  11408. "type": "integer"
  11409. }
  11410. }
  11411. },
  11412. "v1.GateListReply": {
  11413. "type": "object",
  11414. "properties": {
  11415. "list": {
  11416. "type": "array",
  11417. "items": {
  11418. "$ref": "#/definitions/v1.GateItem"
  11419. }
  11420. },
  11421. "page": {
  11422. "type": "integer"
  11423. },
  11424. "total": {
  11425. "type": "integer"
  11426. }
  11427. }
  11428. },
  11429. "v1.GateListResponse": {
  11430. "type": "object",
  11431. "properties": {
  11432. "code": {
  11433. "description": "返回码",
  11434. "type": "integer",
  11435. "format": "int",
  11436. "default": 0
  11437. },
  11438. "data": {
  11439. "type": "object",
  11440. "$ref": "#/definitions/v1.GateListReply"
  11441. },
  11442. "message": {
  11443. "description": "消息",
  11444. "type": "string",
  11445. "default": "success"
  11446. }
  11447. }
  11448. },
  11449. "v1.GateOpenBody": {
  11450. "type": "object",
  11451. "properties": {
  11452. "device_id": {
  11453. "type": "string"
  11454. }
  11455. }
  11456. },
  11457. "v1.GateOpenResponse": {
  11458. "type": "object",
  11459. "properties": {
  11460. "code": {
  11461. "description": "返回码",
  11462. "type": "integer",
  11463. "format": "int",
  11464. "default": 0
  11465. },
  11466. "message": {
  11467. "description": "消息",
  11468. "type": "string",
  11469. "default": "success"
  11470. }
  11471. }
  11472. },
  11473. "v1.GateRestartBody": {
  11474. "type": "object",
  11475. "properties": {
  11476. "device_id": {
  11477. "type": "string"
  11478. }
  11479. }
  11480. },
  11481. "v1.GateRestartResponse": {
  11482. "type": "object",
  11483. "properties": {
  11484. "code": {
  11485. "description": "返回码",
  11486. "type": "integer",
  11487. "format": "int",
  11488. "default": 0
  11489. },
  11490. "message": {
  11491. "description": "消息",
  11492. "type": "string",
  11493. "default": "success"
  11494. }
  11495. }
  11496. },
  11497. "v1.GateSetBody": {
  11498. "type": "object",
  11499. "properties": {
  11500. "device_id": {
  11501. "type": "string"
  11502. },
  11503. "direction": {
  11504. "description": "1 进场 2 出场 3 进出场",
  11505. "type": "integer"
  11506. },
  11507. "location": {
  11508. "description": "位置",
  11509. "type": "string"
  11510. }
  11511. }
  11512. },
  11513. "v1.GateSetResponse": {
  11514. "type": "object",
  11515. "properties": {
  11516. "code": {
  11517. "description": "返回码",
  11518. "type": "integer",
  11519. "format": "int",
  11520. "default": 0
  11521. },
  11522. "message": {
  11523. "description": "消息",
  11524. "type": "string",
  11525. "default": "success"
  11526. }
  11527. }
  11528. },
  11529. "v1.GateWhiteAddBody": {
  11530. "type": "object",
  11531. "properties": {
  11532. "card_info": {
  11533. "type": "array",
  11534. "items": {
  11535. "$ref": "#/definitions/v1.GateCardInfo"
  11536. }
  11537. },
  11538. "device_id": {
  11539. "type": "string"
  11540. },
  11541. "household_uids": {
  11542. "description": "业主uid和ic卡二选一",
  11543. "type": "array",
  11544. "items": {
  11545. "type": "integer"
  11546. }
  11547. }
  11548. }
  11549. },
  11550. "v1.GateWhiteAddResponse": {
  11551. "type": "object",
  11552. "properties": {
  11553. "code": {
  11554. "description": "返回码",
  11555. "type": "integer",
  11556. "format": "int",
  11557. "default": 0
  11558. },
  11559. "message": {
  11560. "description": "消息",
  11561. "type": "string",
  11562. "default": "success"
  11563. }
  11564. }
  11565. },
  11566. "v1.GateWhiteCardItem": {
  11567. "type": "object",
  11568. "properties": {
  11569. "card_number": {
  11570. "type": "string"
  11571. },
  11572. "card_ower": {
  11573. "type": "string"
  11574. },
  11575. "id": {
  11576. "type": "integer"
  11577. },
  11578. "status": {
  11579. "description": "1.待同步 2 同步中 3 已同步 4 删除中",
  11580. "type": "integer"
  11581. }
  11582. }
  11583. },
  11584. "v1.GateWhiteCardListReply": {
  11585. "type": "object",
  11586. "properties": {
  11587. "list": {
  11588. "type": "array",
  11589. "items": {
  11590. "$ref": "#/definitions/v1.GateWhiteCardItem"
  11591. }
  11592. },
  11593. "page": {
  11594. "type": "integer"
  11595. },
  11596. "total": {
  11597. "type": "integer"
  11598. }
  11599. }
  11600. },
  11601. "v1.GateWhiteCardListResponse": {
  11602. "type": "object",
  11603. "properties": {
  11604. "code": {
  11605. "description": "返回码",
  11606. "type": "integer",
  11607. "format": "int",
  11608. "default": 0
  11609. },
  11610. "data": {
  11611. "type": "object",
  11612. "$ref": "#/definitions/v1.GateWhiteCardListReply"
  11613. },
  11614. "message": {
  11615. "description": "消息",
  11616. "type": "string",
  11617. "default": "success"
  11618. }
  11619. }
  11620. },
  11621. "v1.GateWhiteDelResponse": {
  11622. "type": "object",
  11623. "properties": {
  11624. "code": {
  11625. "description": "返回码",
  11626. "type": "integer",
  11627. "format": "int",
  11628. "default": 0
  11629. },
  11630. "message": {
  11631. "description": "消息",
  11632. "type": "string",
  11633. "default": "success"
  11634. }
  11635. }
  11636. },
  11637. "v1.GateWhiteHouseholdItem": {
  11638. "type": "object",
  11639. "properties": {
  11640. "house_name": {
  11641. "type": "string"
  11642. },
  11643. "household_name": {
  11644. "type": "string"
  11645. },
  11646. "household_uid": {
  11647. "type": "integer"
  11648. },
  11649. "id": {
  11650. "type": "integer"
  11651. },
  11652. "id_number": {
  11653. "type": "string"
  11654. },
  11655. "status": {
  11656. "description": "1.待同步 2 同步中 3 已同步 4 删除中",
  11657. "type": "integer"
  11658. }
  11659. }
  11660. },
  11661. "v1.GateWhiteHouseholdListReply": {
  11662. "type": "object",
  11663. "properties": {
  11664. "list": {
  11665. "type": "array",
  11666. "items": {
  11667. "$ref": "#/definitions/v1.GateWhiteHouseholdItem"
  11668. }
  11669. },
  11670. "page": {
  11671. "type": "integer"
  11672. },
  11673. "total": {
  11674. "type": "integer"
  11675. }
  11676. }
  11677. },
  11678. "v1.GateWhiteHouseholdListResponse": {
  11679. "type": "object",
  11680. "properties": {
  11681. "code": {
  11682. "description": "返回码",
  11683. "type": "integer",
  11684. "format": "int",
  11685. "default": 0
  11686. },
  11687. "data": {
  11688. "type": "object",
  11689. "$ref": "#/definitions/v1.GateWhiteHouseholdListReply"
  11690. },
  11691. "message": {
  11692. "description": "消息",
  11693. "type": "string",
  11694. "default": "success"
  11695. }
  11696. }
  11697. },
  11698. "v1.GateWhiteSyncBody": {
  11699. "type": "object",
  11700. "properties": {
  11701. "device_id": {
  11702. "type": "string"
  11703. }
  11704. }
  11705. },
  11706. "v1.GateWhiteSyncResponse": {
  11707. "type": "object",
  11708. "properties": {
  11709. "code": {
  11710. "description": "返回码",
  11711. "type": "integer",
  11712. "format": "int",
  11713. "default": 0
  11714. },
  11715. "message": {
  11716. "description": "消息",
  11717. "type": "string",
  11718. "default": "success"
  11719. }
  11720. }
  11721. },
  11722. "v1.GetVcodeReply": {
  11723. "type": "object",
  11724. "properties": {
  11725. "vcode": {
  11726. "type": "integer"
  11727. }
  11728. }
  11729. },
  11730. "v1.GetVcodeResponse": {
  11731. "type": "object",
  11732. "properties": {
  11733. "code": {
  11734. "description": "返回码",
  11735. "type": "integer",
  11736. "format": "int",
  11737. "default": 0
  11738. },
  11739. "data": {
  11740. "type": "object",
  11741. "$ref": "#/definitions/v1.GetVcodeReply"
  11742. },
  11743. "message": {
  11744. "description": "消息",
  11745. "type": "string",
  11746. "default": "success"
  11747. }
  11748. }
  11749. },
  11750. "v1.HouseAddBody": {
  11751. "type": "object",
  11752. "properties": {
  11753. "hall_count": {
  11754. "description": "几厅",
  11755. "type": "integer"
  11756. },
  11757. "house_area": {
  11758. "description": "房屋建筑面积",
  11759. "type": "number"
  11760. },
  11761. "house_number": {
  11762. "description": "门牌号",
  11763. "type": "string"
  11764. },
  11765. "house_type": {
  11766. "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅",
  11767. "type": "integer"
  11768. },
  11769. "house_used_area": {
  11770. "description": "房屋使用面积",
  11771. "type": "number"
  11772. },
  11773. "layer": {
  11774. "description": "楼层",
  11775. "type": "integer"
  11776. },
  11777. "room_count": {
  11778. "description": "几室",
  11779. "type": "integer"
  11780. },
  11781. "unit_id": {
  11782. "description": "单元id",
  11783. "type": "integer"
  11784. }
  11785. }
  11786. },
  11787. "v1.HouseAddReply": {
  11788. "type": "object",
  11789. "properties": {
  11790. "id": {
  11791. "type": "integer"
  11792. }
  11793. }
  11794. },
  11795. "v1.HouseAddResponse": {
  11796. "type": "object",
  11797. "properties": {
  11798. "code": {
  11799. "description": "返回码",
  11800. "type": "integer",
  11801. "format": "int",
  11802. "default": 0
  11803. },
  11804. "data": {
  11805. "type": "object",
  11806. "$ref": "#/definitions/v1.HouseAddReply"
  11807. },
  11808. "message": {
  11809. "description": "消息",
  11810. "type": "string",
  11811. "default": "success"
  11812. }
  11813. }
  11814. },
  11815. "v1.HouseDelResponse": {
  11816. "type": "object",
  11817. "properties": {
  11818. "code": {
  11819. "description": "返回码",
  11820. "type": "integer",
  11821. "format": "int",
  11822. "default": 0
  11823. },
  11824. "message": {
  11825. "description": "消息",
  11826. "type": "string",
  11827. "default": "success"
  11828. }
  11829. }
  11830. },
  11831. "v1.HouseItem": {
  11832. "type": "object",
  11833. "properties": {
  11834. "building_id": {
  11835. "type": "integer"
  11836. },
  11837. "hall_count": {
  11838. "description": "几厅",
  11839. "type": "integer"
  11840. },
  11841. "has_lift": {
  11842. "type": "boolean"
  11843. },
  11844. "house_area": {
  11845. "description": "房屋建筑面积",
  11846. "type": "number"
  11847. },
  11848. "house_name": {
  11849. "type": "string"
  11850. },
  11851. "house_number": {
  11852. "description": "门牌号",
  11853. "type": "string"
  11854. },
  11855. "house_type": {
  11856. "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅",
  11857. "type": "integer"
  11858. },
  11859. "house_used_area": {
  11860. "description": "房屋使用面积",
  11861. "type": "number"
  11862. },
  11863. "id": {
  11864. "type": "integer"
  11865. },
  11866. "layer": {
  11867. "description": "楼层",
  11868. "type": "integer"
  11869. },
  11870. "room_count": {
  11871. "description": "几室",
  11872. "type": "integer"
  11873. },
  11874. "status": {
  11875. "description": "房屋状态 1 未入住 2 已入住 3 已出租",
  11876. "type": "integer"
  11877. },
  11878. "unit_id": {
  11879. "description": "单元id",
  11880. "type": "integer"
  11881. }
  11882. }
  11883. },
  11884. "v1.HouseListReply": {
  11885. "type": "object",
  11886. "properties": {
  11887. "list": {
  11888. "type": "array",
  11889. "items": {
  11890. "$ref": "#/definitions/v1.HouseItem"
  11891. }
  11892. },
  11893. "page": {
  11894. "type": "integer"
  11895. },
  11896. "total": {
  11897. "type": "integer"
  11898. }
  11899. }
  11900. },
  11901. "v1.HouseListResponse": {
  11902. "type": "object",
  11903. "properties": {
  11904. "code": {
  11905. "description": "返回码",
  11906. "type": "integer",
  11907. "format": "int",
  11908. "default": 0
  11909. },
  11910. "data": {
  11911. "type": "object",
  11912. "$ref": "#/definitions/v1.HouseListReply"
  11913. },
  11914. "message": {
  11915. "description": "消息",
  11916. "type": "string",
  11917. "default": "success"
  11918. }
  11919. }
  11920. },
  11921. "v1.HouseRentAddManagerBody": {
  11922. "type": "object",
  11923. "properties": {
  11924. "manager_uid": {
  11925. "type": "integer"
  11926. },
  11927. "rent_id": {
  11928. "type": "integer"
  11929. }
  11930. }
  11931. },
  11932. "v1.HouseRentAddManagerReply": {
  11933. "type": "object",
  11934. "properties": {
  11935. "id": {
  11936. "type": "integer"
  11937. }
  11938. }
  11939. },
  11940. "v1.HouseRentAddManagerResponse": {
  11941. "type": "object",
  11942. "properties": {
  11943. "code": {
  11944. "description": "返回码",
  11945. "type": "integer",
  11946. "format": "int",
  11947. "default": 0
  11948. },
  11949. "data": {
  11950. "type": "object",
  11951. "$ref": "#/definitions/v1.HouseRentAddManagerReply"
  11952. },
  11953. "message": {
  11954. "description": "消息",
  11955. "type": "string",
  11956. "default": "success"
  11957. }
  11958. }
  11959. },
  11960. "v1.HouseRentApplyBody": {
  11961. "type": "object",
  11962. "properties": {
  11963. "base_conf": {
  11964. "description": "基础设施 从低到高分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机",
  11965. "type": "integer"
  11966. },
  11967. "cert_pic": {
  11968. "description": "房屋证件图片",
  11969. "type": "array",
  11970. "items": {
  11971. "type": "string"
  11972. }
  11973. },
  11974. "contact_phone": {
  11975. "description": "联系人电话",
  11976. "type": "string"
  11977. },
  11978. "contacter": {
  11979. "description": "联系人",
  11980. "type": "string"
  11981. },
  11982. "decorating": {
  11983. "description": "1 精装 2 简装 3 清水",
  11984. "type": "integer"
  11985. },
  11986. "desc": {
  11987. "description": "简介",
  11988. "type": "string"
  11989. },
  11990. "desposit": {
  11991. "description": "押金",
  11992. "type": "integer"
  11993. },
  11994. "direction": {
  11995. "description": "朝向",
  11996. "type": "integer"
  11997. },
  11998. "house_id": {
  11999. "description": "房屋id",
  12000. "type": "integer"
  12001. },
  12002. "house_pic": {
  12003. "description": "房屋图片",
  12004. "type": "array",
  12005. "items": {
  12006. "type": "string"
  12007. }
  12008. },
  12009. "in_time": {
  12010. "description": "可入住时间",
  12011. "type": "integer"
  12012. },
  12013. "intermediary_price": {
  12014. "description": "中介费",
  12015. "type": "integer"
  12016. },
  12017. "pay_time_type": {
  12018. "description": "1 月付 2 季付 3 半年付 4 年付",
  12019. "type": "integer"
  12020. },
  12021. "rent_price": {
  12022. "description": "月租",
  12023. "type": "integer"
  12024. },
  12025. "rent_type": {
  12026. "description": "1 整租 2 合租 3 转租",
  12027. "type": "integer"
  12028. },
  12029. "room_area": {
  12030. "description": "房间面积",
  12031. "type": "number"
  12032. },
  12033. "room_type": {
  12034. "description": "1 全部 2 主卧 3 次卧",
  12035. "type": "integer"
  12036. },
  12037. "service_price": {
  12038. "description": "服务费",
  12039. "type": "integer"
  12040. },
  12041. "special_conf": {
  12042. "description": "特色配置 从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租",
  12043. "type": "integer"
  12044. },
  12045. "wc_count": {
  12046. "description": "几卫",
  12047. "type": "integer"
  12048. }
  12049. }
  12050. },
  12051. "v1.HouseRentApplyReply": {
  12052. "type": "object",
  12053. "properties": {
  12054. "id": {
  12055. "type": "integer"
  12056. }
  12057. }
  12058. },
  12059. "v1.HouseRentApplyResponse": {
  12060. "type": "object",
  12061. "properties": {
  12062. "code": {
  12063. "description": "返回码",
  12064. "type": "integer",
  12065. "format": "int",
  12066. "default": 0
  12067. },
  12068. "data": {
  12069. "type": "object",
  12070. "$ref": "#/definitions/v1.HouseRentApplyReply"
  12071. },
  12072. "message": {
  12073. "description": "消息",
  12074. "type": "string",
  12075. "default": "success"
  12076. }
  12077. }
  12078. },
  12079. "v1.HouseRentAppointmentDelResponse": {
  12080. "type": "object",
  12081. "properties": {
  12082. "code": {
  12083. "description": "返回码",
  12084. "type": "integer",
  12085. "format": "int",
  12086. "default": 0
  12087. },
  12088. "message": {
  12089. "description": "消息",
  12090. "type": "string",
  12091. "default": "success"
  12092. }
  12093. }
  12094. },
  12095. "v1.HouseRentAppointmentItem": {
  12096. "type": "object",
  12097. "properties": {
  12098. "appointment_time": {
  12099. "type": "integer"
  12100. },
  12101. "gender": {
  12102. "type": "integer"
  12103. },
  12104. "house_name": {
  12105. "type": "string"
  12106. },
  12107. "id": {
  12108. "type": "integer"
  12109. },
  12110. "name": {
  12111. "type": "string"
  12112. },
  12113. "phone": {
  12114. "type": "string"
  12115. },
  12116. "rent_id": {
  12117. "type": "integer"
  12118. },
  12119. "uid": {
  12120. "type": "integer"
  12121. }
  12122. }
  12123. },
  12124. "v1.HouseRentAppointmentListReply": {
  12125. "type": "object",
  12126. "properties": {
  12127. "list": {
  12128. "type": "array",
  12129. "items": {
  12130. "$ref": "#/definitions/v1.HouseRentAppointmentItem"
  12131. }
  12132. },
  12133. "page": {
  12134. "type": "integer"
  12135. },
  12136. "total": {
  12137. "type": "integer"
  12138. }
  12139. }
  12140. },
  12141. "v1.HouseRentAppointmentListResponse": {
  12142. "type": "object",
  12143. "properties": {
  12144. "code": {
  12145. "description": "返回码",
  12146. "type": "integer",
  12147. "format": "int",
  12148. "default": 0
  12149. },
  12150. "data": {
  12151. "type": "object",
  12152. "$ref": "#/definitions/v1.HouseRentAppointmentListReply"
  12153. },
  12154. "message": {
  12155. "description": "消息",
  12156. "type": "string",
  12157. "default": "success"
  12158. }
  12159. }
  12160. },
  12161. "v1.HouseRentApproveBody": {
  12162. "type": "object",
  12163. "properties": {
  12164. "feedback": {
  12165. "type": "string"
  12166. },
  12167. "id": {
  12168. "type": "integer"
  12169. },
  12170. "status": {
  12171. "type": "boolean"
  12172. }
  12173. }
  12174. },
  12175. "v1.HouseRentApproveResponse": {
  12176. "type": "object",
  12177. "properties": {
  12178. "code": {
  12179. "description": "返回码",
  12180. "type": "integer",
  12181. "format": "int",
  12182. "default": 0
  12183. },
  12184. "message": {
  12185. "description": "消息",
  12186. "type": "string",
  12187. "default": "success"
  12188. }
  12189. }
  12190. },
  12191. "v1.HouseRentDelManagerResponse": {
  12192. "type": "object",
  12193. "properties": {
  12194. "code": {
  12195. "description": "返回码",
  12196. "type": "integer",
  12197. "format": "int",
  12198. "default": 0
  12199. },
  12200. "message": {
  12201. "description": "消息",
  12202. "type": "string",
  12203. "default": "success"
  12204. }
  12205. }
  12206. },
  12207. "v1.HouseRentDownBody": {
  12208. "type": "object",
  12209. "properties": {
  12210. "id": {
  12211. "type": "integer"
  12212. }
  12213. }
  12214. },
  12215. "v1.HouseRentDownResponse": {
  12216. "type": "object",
  12217. "properties": {
  12218. "code": {
  12219. "description": "返回码",
  12220. "type": "integer",
  12221. "format": "int",
  12222. "default": 0
  12223. },
  12224. "message": {
  12225. "description": "消息",
  12226. "type": "string",
  12227. "default": "success"
  12228. }
  12229. }
  12230. },
  12231. "v1.HouseRentItem": {
  12232. "type": "object",
  12233. "properties": {
  12234. "addr": {
  12235. "type": "string"
  12236. },
  12237. "approve_status": {
  12238. "description": "审核状态 1 待审 2 通过 3 未通过",
  12239. "type": "integer"
  12240. },
  12241. "area": {
  12242. "description": "区域",
  12243. "type": "string"
  12244. },
  12245. "base_conf": {
  12246. "description": "基础设施",
  12247. "type": "integer"
  12248. },
  12249. "cert_pic": {
  12250. "description": "房屋证件图片",
  12251. "type": "array",
  12252. "items": {
  12253. "type": "string"
  12254. }
  12255. },
  12256. "city": {
  12257. "description": "城市",
  12258. "type": "string"
  12259. },
  12260. "contact_phone": {
  12261. "description": "联系人电话",
  12262. "type": "string"
  12263. },
  12264. "contacter": {
  12265. "description": "联系人",
  12266. "type": "string"
  12267. },
  12268. "decorating": {
  12269. "description": "1 精装 2 简装 3 清水",
  12270. "type": "integer"
  12271. },
  12272. "desc": {
  12273. "description": "简介",
  12274. "type": "string"
  12275. },
  12276. "desposit": {
  12277. "description": "押金",
  12278. "type": "integer"
  12279. },
  12280. "direction": {
  12281. "description": "朝向",
  12282. "type": "integer"
  12283. },
  12284. "garden_id": {
  12285. "description": "小区id",
  12286. "type": "integer"
  12287. },
  12288. "garden_name": {
  12289. "description": "小区名称",
  12290. "type": "string"
  12291. },
  12292. "hall_count": {
  12293. "description": "几厅",
  12294. "type": "integer"
  12295. },
  12296. "has_lift": {
  12297. "description": "是否有电梯",
  12298. "type": "boolean"
  12299. },
  12300. "house_area": {
  12301. "description": "房屋建筑面积",
  12302. "type": "number"
  12303. },
  12304. "house_id": {
  12305. "type": "integer"
  12306. },
  12307. "house_name": {
  12308. "description": "房屋号",
  12309. "type": "string"
  12310. },
  12311. "house_pic": {
  12312. "description": "房屋图片",
  12313. "type": "array",
  12314. "items": {
  12315. "type": "string"
  12316. }
  12317. },
  12318. "id": {
  12319. "description": "租房id",
  12320. "type": "integer"
  12321. },
  12322. "in_time": {
  12323. "description": "可入住时间",
  12324. "type": "integer"
  12325. },
  12326. "intermediary_price": {
  12327. "description": "中介费",
  12328. "type": "integer"
  12329. },
  12330. "lat": {
  12331. "description": "纬度",
  12332. "type": "number"
  12333. },
  12334. "layer": {
  12335. "description": "楼层",
  12336. "type": "integer"
  12337. },
  12338. "lnt": {
  12339. "description": "经度",
  12340. "type": "number"
  12341. },
  12342. "pay_time_type": {
  12343. "description": "1 月付 2 季付 3 半年付 4 年付",
  12344. "type": "integer"
  12345. },
  12346. "province": {
  12347. "description": "省份",
  12348. "type": "string"
  12349. },
  12350. "rent_price": {
  12351. "description": "月租",
  12352. "type": "integer"
  12353. },
  12354. "rent_type": {
  12355. "description": "1 整租 2 合租 3 转租",
  12356. "type": "integer"
  12357. },
  12358. "room_area": {
  12359. "description": "房间面积",
  12360. "type": "number"
  12361. },
  12362. "room_count": {
  12363. "description": "几室",
  12364. "type": "integer"
  12365. },
  12366. "room_type": {
  12367. "description": "1 全部 2 主卧 3 次卧",
  12368. "type": "integer"
  12369. },
  12370. "service_price": {
  12371. "description": "服务费",
  12372. "type": "integer"
  12373. },
  12374. "special_conf": {
  12375. "description": "特色配置",
  12376. "type": "integer"
  12377. },
  12378. "street": {
  12379. "description": "街道",
  12380. "type": "string"
  12381. },
  12382. "wc_count": {
  12383. "description": "几卫",
  12384. "type": "integer"
  12385. }
  12386. }
  12387. },
  12388. "v1.HouseRentListResponse": {
  12389. "type": "object",
  12390. "properties": {
  12391. "code": {
  12392. "description": "返回码",
  12393. "type": "integer",
  12394. "format": "int",
  12395. "default": 0
  12396. },
  12397. "data": {
  12398. "type": "object",
  12399. "$ref": "#/definitions/v1.GardenHouseRentListReply"
  12400. },
  12401. "message": {
  12402. "description": "消息",
  12403. "type": "string",
  12404. "default": "success"
  12405. }
  12406. }
  12407. },
  12408. "v1.HouseRentManagerItem": {
  12409. "type": "object",
  12410. "properties": {
  12411. "id": {
  12412. "type": "integer"
  12413. },
  12414. "manager_uid": {
  12415. "type": "integer"
  12416. },
  12417. "name": {
  12418. "description": "姓名",
  12419. "type": "string"
  12420. },
  12421. "phone": {
  12422. "type": "string"
  12423. },
  12424. "user_name": {
  12425. "description": "账号",
  12426. "type": "string"
  12427. }
  12428. }
  12429. },
  12430. "v1.HouseRentManagerListReply": {
  12431. "type": "object",
  12432. "properties": {
  12433. "list": {
  12434. "type": "array",
  12435. "items": {
  12436. "$ref": "#/definitions/v1.HouseRentManagerItem"
  12437. }
  12438. }
  12439. }
  12440. },
  12441. "v1.HouseRentManagerListResponse": {
  12442. "type": "object",
  12443. "properties": {
  12444. "code": {
  12445. "description": "返回码",
  12446. "type": "integer",
  12447. "format": "int",
  12448. "default": 0
  12449. },
  12450. "data": {
  12451. "type": "object",
  12452. "$ref": "#/definitions/v1.HouseRentManagerListReply"
  12453. },
  12454. "message": {
  12455. "description": "消息",
  12456. "type": "string",
  12457. "default": "success"
  12458. }
  12459. }
  12460. },
  12461. "v1.HouseRentUpdateBody": {
  12462. "type": "object",
  12463. "properties": {
  12464. "base_conf": {
  12465. "description": "基础设施 从低到高分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机",
  12466. "type": "integer"
  12467. },
  12468. "cert_pic": {
  12469. "description": "房屋证件图片",
  12470. "type": "array",
  12471. "items": {
  12472. "type": "string"
  12473. }
  12474. },
  12475. "contact_phone": {
  12476. "description": "联系人电话",
  12477. "type": "string"
  12478. },
  12479. "contacter": {
  12480. "description": "联系人",
  12481. "type": "string"
  12482. },
  12483. "decorating": {
  12484. "description": "1 精装 2 简装 3 清水",
  12485. "type": "integer"
  12486. },
  12487. "desc": {
  12488. "description": "简介",
  12489. "type": "string"
  12490. },
  12491. "desposit": {
  12492. "description": "押金",
  12493. "type": "integer"
  12494. },
  12495. "direction": {
  12496. "description": "朝向",
  12497. "type": "integer"
  12498. },
  12499. "house_id": {
  12500. "description": "房屋id",
  12501. "type": "integer"
  12502. },
  12503. "house_pic": {
  12504. "description": "房屋图片",
  12505. "type": "array",
  12506. "items": {
  12507. "type": "string"
  12508. }
  12509. },
  12510. "id": {
  12511. "type": "integer"
  12512. },
  12513. "in_time": {
  12514. "description": "可入住时间",
  12515. "type": "integer"
  12516. },
  12517. "intermediary_price": {
  12518. "description": "中介费",
  12519. "type": "integer"
  12520. },
  12521. "pay_time_type": {
  12522. "description": "1 月付 2 季付 3 半年付 4 年付",
  12523. "type": "integer"
  12524. },
  12525. "rent_price": {
  12526. "description": "月租",
  12527. "type": "integer"
  12528. },
  12529. "rent_type": {
  12530. "description": "1 整租 2 合租 3 转租",
  12531. "type": "integer"
  12532. },
  12533. "room_area": {
  12534. "description": "房间面积",
  12535. "type": "number"
  12536. },
  12537. "room_type": {
  12538. "description": "1 全部 2 主卧 3 次卧",
  12539. "type": "integer"
  12540. },
  12541. "service_price": {
  12542. "description": "服务费",
  12543. "type": "integer"
  12544. },
  12545. "special_conf": {
  12546. "description": "特色配置 从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租",
  12547. "type": "integer"
  12548. },
  12549. "wc_count": {
  12550. "type": "integer"
  12551. }
  12552. }
  12553. },
  12554. "v1.HouseRentUpdateResponse": {
  12555. "type": "object",
  12556. "properties": {
  12557. "code": {
  12558. "description": "返回码",
  12559. "type": "integer",
  12560. "format": "int",
  12561. "default": 0
  12562. },
  12563. "message": {
  12564. "description": "消息",
  12565. "type": "string",
  12566. "default": "success"
  12567. }
  12568. }
  12569. },
  12570. "v1.HouseUpdateBody": {
  12571. "type": "object",
  12572. "properties": {
  12573. "hall_count": {
  12574. "description": "几厅",
  12575. "type": "integer"
  12576. },
  12577. "house_area": {
  12578. "description": "房屋建筑面积",
  12579. "type": "number"
  12580. },
  12581. "house_number": {
  12582. "description": "门牌号",
  12583. "type": "string"
  12584. },
  12585. "house_type": {
  12586. "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅",
  12587. "type": "integer"
  12588. },
  12589. "house_used_area": {
  12590. "description": "房屋使用面积",
  12591. "type": "number"
  12592. },
  12593. "id": {
  12594. "type": "integer"
  12595. },
  12596. "layer": {
  12597. "description": "楼层",
  12598. "type": "integer"
  12599. },
  12600. "room_count": {
  12601. "description": "几室",
  12602. "type": "integer"
  12603. },
  12604. "unit_id": {
  12605. "description": "单元id",
  12606. "type": "integer"
  12607. }
  12608. }
  12609. },
  12610. "v1.HouseUpdateResponse": {
  12611. "type": "object",
  12612. "properties": {
  12613. "code": {
  12614. "description": "返回码",
  12615. "type": "integer",
  12616. "format": "int",
  12617. "default": 0
  12618. },
  12619. "message": {
  12620. "description": "消息",
  12621. "type": "string",
  12622. "default": "success"
  12623. }
  12624. }
  12625. },
  12626. "v1.HouseholdApproveBody": {
  12627. "type": "object",
  12628. "properties": {
  12629. "feedback": {
  12630. "type": "string"
  12631. },
  12632. "id": {
  12633. "type": "integer"
  12634. },
  12635. "status": {
  12636. "type": "boolean"
  12637. }
  12638. }
  12639. },
  12640. "v1.HouseholdApproveResponse": {
  12641. "type": "object",
  12642. "properties": {
  12643. "code": {
  12644. "description": "返回码",
  12645. "type": "integer",
  12646. "format": "int",
  12647. "default": 0
  12648. },
  12649. "message": {
  12650. "description": "消息",
  12651. "type": "string",
  12652. "default": "success"
  12653. }
  12654. }
  12655. },
  12656. "v1.HouseholdItem": {
  12657. "type": "object",
  12658. "properties": {
  12659. "appendix": {
  12660. "type": "array",
  12661. "items": {
  12662. "type": "string"
  12663. }
  12664. },
  12665. "approve_status": {
  12666. "type": "integer"
  12667. },
  12668. "garden_name": {
  12669. "type": "string"
  12670. },
  12671. "house_name": {
  12672. "description": "房号",
  12673. "type": "string"
  12674. },
  12675. "id": {
  12676. "type": "integer"
  12677. },
  12678. "id_number": {
  12679. "description": "证件号",
  12680. "type": "string"
  12681. },
  12682. "id_type": {
  12683. "description": "1 身份证 2 护照",
  12684. "type": "integer"
  12685. },
  12686. "name": {
  12687. "type": "string"
  12688. },
  12689. "phone": {
  12690. "type": "string"
  12691. },
  12692. "user_type": {
  12693. "description": "1业主 2家人 3租客",
  12694. "type": "integer"
  12695. }
  12696. }
  12697. },
  12698. "v1.HouseholdListReply": {
  12699. "type": "object",
  12700. "properties": {
  12701. "list": {
  12702. "type": "array",
  12703. "items": {
  12704. "$ref": "#/definitions/v1.HouseholdItem"
  12705. }
  12706. },
  12707. "page": {
  12708. "type": "integer"
  12709. },
  12710. "total": {
  12711. "type": "integer"
  12712. }
  12713. }
  12714. },
  12715. "v1.HouseholdListResponse": {
  12716. "type": "object",
  12717. "properties": {
  12718. "code": {
  12719. "description": "返回码",
  12720. "type": "integer",
  12721. "format": "int",
  12722. "default": 0
  12723. },
  12724. "data": {
  12725. "type": "object",
  12726. "$ref": "#/definitions/v1.HouseholdListReply"
  12727. },
  12728. "message": {
  12729. "description": "消息",
  12730. "type": "string",
  12731. "default": "success"
  12732. }
  12733. }
  12734. },
  12735. "v1.LoginBody": {
  12736. "type": "object",
  12737. "properties": {
  12738. "password": {
  12739. "type": "string"
  12740. },
  12741. "user": {
  12742. "type": "string"
  12743. }
  12744. }
  12745. },
  12746. "v1.LoginByPhoneBody": {
  12747. "type": "object",
  12748. "properties": {
  12749. "phone": {
  12750. "type": "string"
  12751. },
  12752. "vcode": {
  12753. "description": "短信验证码",
  12754. "type": "integer"
  12755. }
  12756. }
  12757. },
  12758. "v1.LoginByPhoneData": {
  12759. "type": "object",
  12760. "properties": {
  12761. "list": {
  12762. "type": "array",
  12763. "items": {
  12764. "$ref": "#/definitions/v1.LoginByPhoneItem"
  12765. }
  12766. },
  12767. "token": {
  12768. "type": "string"
  12769. }
  12770. }
  12771. },
  12772. "v1.LoginByPhoneItem": {
  12773. "type": "object",
  12774. "properties": {
  12775. "garden_id": {
  12776. "type": "integer"
  12777. },
  12778. "garden_name": {
  12779. "type": "string"
  12780. },
  12781. "is_super": {
  12782. "type": "boolean"
  12783. },
  12784. "permissions": {
  12785. "type": "array",
  12786. "items": {
  12787. "$ref": "#/definitions/v1.SystemGroupPermissionData"
  12788. }
  12789. },
  12790. "uid": {
  12791. "type": "integer"
  12792. },
  12793. "user": {
  12794. "type": "string"
  12795. }
  12796. }
  12797. },
  12798. "v1.LoginByPhoneResponse": {
  12799. "type": "object",
  12800. "properties": {
  12801. "code": {
  12802. "description": "返回码",
  12803. "type": "integer",
  12804. "format": "int",
  12805. "default": 0
  12806. },
  12807. "data": {
  12808. "type": "object",
  12809. "$ref": "#/definitions/v1.LoginByPhoneData"
  12810. },
  12811. "message": {
  12812. "description": "消息",
  12813. "type": "string",
  12814. "default": "success"
  12815. }
  12816. }
  12817. },
  12818. "v1.LoginData": {
  12819. "type": "object",
  12820. "properties": {
  12821. "is_super": {
  12822. "type": "boolean"
  12823. },
  12824. "permissions": {
  12825. "type": "array",
  12826. "items": {
  12827. "$ref": "#/definitions/v1.SystemGroupPermissionData"
  12828. }
  12829. },
  12830. "token": {
  12831. "type": "string"
  12832. },
  12833. "uid": {
  12834. "type": "integer"
  12835. },
  12836. "user": {
  12837. "type": "string"
  12838. }
  12839. }
  12840. },
  12841. "v1.LoginResponse": {
  12842. "type": "object",
  12843. "properties": {
  12844. "code": {
  12845. "description": "返回码",
  12846. "type": "integer",
  12847. "format": "int",
  12848. "default": 0
  12849. },
  12850. "data": {
  12851. "type": "object",
  12852. "$ref": "#/definitions/v1.LoginData"
  12853. },
  12854. "message": {
  12855. "description": "消息",
  12856. "type": "string",
  12857. "default": "success"
  12858. },
  12859. "phone_data": {
  12860. "description": "当账号存在多个小区时使用phone_data",
  12861. "type": "object",
  12862. "$ref": "#/definitions/v1.LoginByPhoneData"
  12863. }
  12864. }
  12865. },
  12866. "v1.NeighborArticleDelResponse": {
  12867. "type": "object",
  12868. "properties": {
  12869. "code": {
  12870. "description": "返回码",
  12871. "type": "integer",
  12872. "format": "int",
  12873. "default": 0
  12874. },
  12875. "message": {
  12876. "description": "消息",
  12877. "type": "string",
  12878. "default": "success"
  12879. }
  12880. }
  12881. },
  12882. "v1.NeighborArticleItem": {
  12883. "type": "object",
  12884. "properties": {
  12885. "class_id": {
  12886. "description": "分类id",
  12887. "type": "integer"
  12888. },
  12889. "comment_count": {
  12890. "description": "评论总数",
  12891. "type": "integer"
  12892. },
  12893. "content": {
  12894. "type": "string"
  12895. },
  12896. "created_at": {
  12897. "type": "string"
  12898. },
  12899. "id": {
  12900. "type": "integer"
  12901. },
  12902. "like": {
  12903. "description": "true 本人已点赞 false 本人未点赞",
  12904. "type": "boolean"
  12905. },
  12906. "likes": {
  12907. "description": "文章点赞数",
  12908. "type": "integer"
  12909. },
  12910. "owner": {
  12911. "description": "是否是本人发布的文章",
  12912. "type": "boolean"
  12913. },
  12914. "pics": {
  12915. "type": "array",
  12916. "items": {
  12917. "type": "string"
  12918. }
  12919. },
  12920. "title": {
  12921. "type": "string"
  12922. },
  12923. "uid": {
  12924. "type": "integer"
  12925. },
  12926. "updated_at": {
  12927. "type": "string"
  12928. },
  12929. "user_icon": {
  12930. "description": "用户头像",
  12931. "type": "string"
  12932. },
  12933. "user_name": {
  12934. "type": "string"
  12935. },
  12936. "user_phone": {
  12937. "type": "string"
  12938. }
  12939. }
  12940. },
  12941. "v1.NeighborArticleListReply": {
  12942. "type": "object",
  12943. "properties": {
  12944. "list": {
  12945. "type": "array",
  12946. "items": {
  12947. "$ref": "#/definitions/v1.NeighborArticleItem"
  12948. }
  12949. },
  12950. "page": {
  12951. "type": "integer"
  12952. },
  12953. "total": {
  12954. "type": "integer"
  12955. }
  12956. }
  12957. },
  12958. "v1.NeighborArticleListResponse": {
  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.NeighborArticleListReply"
  12970. },
  12971. "message": {
  12972. "description": "消息",
  12973. "type": "string",
  12974. "default": "success"
  12975. }
  12976. }
  12977. },
  12978. "v1.NeighborClassAddBody": {
  12979. "type": "object",
  12980. "properties": {
  12981. "class_name": {
  12982. "type": "string"
  12983. },
  12984. "class_pic": {
  12985. "description": "分类图标",
  12986. "type": "string"
  12987. },
  12988. "enable": {
  12989. "description": "true 开启 false 禁用",
  12990. "type": "boolean"
  12991. }
  12992. }
  12993. },
  12994. "v1.NeighborClassAddResponse": {
  12995. "type": "object",
  12996. "properties": {
  12997. "code": {
  12998. "description": "返回码",
  12999. "type": "integer",
  13000. "format": "int",
  13001. "default": 0
  13002. },
  13003. "message": {
  13004. "description": "消息",
  13005. "type": "string",
  13006. "default": "success"
  13007. }
  13008. }
  13009. },
  13010. "v1.NeighborClassDelResponse": {
  13011. "type": "object",
  13012. "properties": {
  13013. "code": {
  13014. "description": "返回码",
  13015. "type": "integer",
  13016. "format": "int",
  13017. "default": 0
  13018. },
  13019. "message": {
  13020. "description": "消息",
  13021. "type": "string",
  13022. "default": "success"
  13023. }
  13024. }
  13025. },
  13026. "v1.NeighborClassItem": {
  13027. "type": "object",
  13028. "properties": {
  13029. "article_count": {
  13030. "description": "分类下的文章总数",
  13031. "type": "integer"
  13032. },
  13033. "class_name": {
  13034. "type": "string"
  13035. },
  13036. "class_pic": {
  13037. "type": "string"
  13038. },
  13039. "created_at": {
  13040. "description": "分类创建时间",
  13041. "type": "string"
  13042. },
  13043. "enable": {
  13044. "type": "boolean"
  13045. },
  13046. "id": {
  13047. "type": "integer"
  13048. },
  13049. "updated_at": {
  13050. "description": "分类结束时间",
  13051. "type": "string"
  13052. }
  13053. }
  13054. },
  13055. "v1.NeighborClassListReply": {
  13056. "type": "object",
  13057. "properties": {
  13058. "list": {
  13059. "type": "array",
  13060. "items": {
  13061. "$ref": "#/definitions/v1.NeighborClassItem"
  13062. }
  13063. },
  13064. "page": {
  13065. "type": "integer"
  13066. },
  13067. "total": {
  13068. "type": "integer"
  13069. }
  13070. }
  13071. },
  13072. "v1.NeighborClassListResponse": {
  13073. "type": "object",
  13074. "properties": {
  13075. "code": {
  13076. "description": "返回码",
  13077. "type": "integer",
  13078. "format": "int",
  13079. "default": 0
  13080. },
  13081. "data": {
  13082. "type": "object",
  13083. "$ref": "#/definitions/v1.NeighborClassListReply"
  13084. },
  13085. "message": {
  13086. "description": "消息",
  13087. "type": "string",
  13088. "default": "success"
  13089. }
  13090. }
  13091. },
  13092. "v1.NeighborClassUpdateBody": {
  13093. "type": "object",
  13094. "properties": {
  13095. "class_name": {
  13096. "type": "string"
  13097. },
  13098. "class_pic": {
  13099. "description": "分类图标",
  13100. "type": "string"
  13101. },
  13102. "enable": {
  13103. "description": "true 开启 false 禁用",
  13104. "type": "boolean"
  13105. },
  13106. "id": {
  13107. "type": "integer"
  13108. }
  13109. }
  13110. },
  13111. "v1.NeighborClassUpdateResponse": {
  13112. "type": "object",
  13113. "properties": {
  13114. "code": {
  13115. "description": "返回码",
  13116. "type": "integer",
  13117. "format": "int",
  13118. "default": 0
  13119. },
  13120. "message": {
  13121. "description": "消息",
  13122. "type": "string",
  13123. "default": "success"
  13124. }
  13125. }
  13126. },
  13127. "v1.NeighborCommentDelResponse": {
  13128. "type": "object",
  13129. "properties": {
  13130. "code": {
  13131. "description": "返回码",
  13132. "type": "integer",
  13133. "format": "int",
  13134. "default": 0
  13135. },
  13136. "message": {
  13137. "description": "消息",
  13138. "type": "string",
  13139. "default": "success"
  13140. }
  13141. }
  13142. },
  13143. "v1.NeighborCommentItem": {
  13144. "type": "object",
  13145. "properties": {
  13146. "content": {
  13147. "type": "string"
  13148. },
  13149. "created_at": {
  13150. "type": "string"
  13151. },
  13152. "id": {
  13153. "type": "integer"
  13154. },
  13155. "like": {
  13156. "description": "本人是否点赞",
  13157. "type": "boolean"
  13158. },
  13159. "likes": {
  13160. "description": "点赞数",
  13161. "type": "integer"
  13162. },
  13163. "owner": {
  13164. "description": "是否是本人发布的文章",
  13165. "type": "boolean"
  13166. },
  13167. "pics": {
  13168. "type": "array",
  13169. "items": {
  13170. "type": "string"
  13171. }
  13172. },
  13173. "sub_comment_count": {
  13174. "description": "子评论数",
  13175. "type": "integer"
  13176. },
  13177. "uid": {
  13178. "type": "integer"
  13179. },
  13180. "updated_at": {
  13181. "type": "string"
  13182. },
  13183. "user_icon": {
  13184. "description": "用户头像",
  13185. "type": "string"
  13186. },
  13187. "user_name": {
  13188. "type": "string"
  13189. },
  13190. "user_phone": {
  13191. "type": "string"
  13192. }
  13193. }
  13194. },
  13195. "v1.NeighborCommentListReply": {
  13196. "type": "object",
  13197. "properties": {
  13198. "list": {
  13199. "type": "array",
  13200. "items": {
  13201. "$ref": "#/definitions/v1.NeighborCommentItem"
  13202. }
  13203. },
  13204. "page": {
  13205. "type": "integer"
  13206. },
  13207. "total": {
  13208. "type": "integer"
  13209. }
  13210. }
  13211. },
  13212. "v1.NeighborCommentListResponse": {
  13213. "type": "object",
  13214. "properties": {
  13215. "code": {
  13216. "description": "返回码",
  13217. "type": "integer",
  13218. "format": "int",
  13219. "default": 0
  13220. },
  13221. "data": {
  13222. "type": "object",
  13223. "$ref": "#/definitions/v1.NeighborCommentListReply"
  13224. },
  13225. "message": {
  13226. "description": "消息",
  13227. "type": "string",
  13228. "default": "success"
  13229. }
  13230. }
  13231. },
  13232. "v1.PowerRecordAddBody": {
  13233. "type": "object",
  13234. "properties": {
  13235. "charge_type": {
  13236. "description": "费用类型",
  13237. "type": "integer"
  13238. },
  13239. "comment": {
  13240. "description": "备注",
  13241. "type": "string"
  13242. },
  13243. "current_amount": {
  13244. "description": "本期抄表数",
  13245. "type": "number"
  13246. },
  13247. "end": {
  13248. "description": "结束时间戳",
  13249. "type": "integer"
  13250. },
  13251. "house_id": {
  13252. "description": "房屋id",
  13253. "type": "integer"
  13254. },
  13255. "last_amount": {
  13256. "description": "上期抄表数",
  13257. "type": "number"
  13258. },
  13259. "start": {
  13260. "description": "开始时间戳",
  13261. "type": "integer"
  13262. }
  13263. }
  13264. },
  13265. "v1.PowerRecordAddReply": {
  13266. "type": "object"
  13267. },
  13268. "v1.PowerRecordAddResponse": {
  13269. "type": "object",
  13270. "properties": {
  13271. "code": {
  13272. "description": "返回码",
  13273. "type": "integer",
  13274. "format": "int",
  13275. "default": 0
  13276. },
  13277. "data": {
  13278. "type": "object",
  13279. "$ref": "#/definitions/v1.PowerRecordAddReply"
  13280. },
  13281. "message": {
  13282. "description": "消息",
  13283. "type": "string",
  13284. "default": "success"
  13285. }
  13286. }
  13287. },
  13288. "v1.PowerRecordBatchAddResponse": {
  13289. "type": "object",
  13290. "properties": {
  13291. "code": {
  13292. "description": "返回码",
  13293. "type": "integer",
  13294. "format": "int",
  13295. "default": 0
  13296. },
  13297. "message": {
  13298. "description": "消息",
  13299. "type": "string",
  13300. "default": "success"
  13301. }
  13302. }
  13303. },
  13304. "v1.PowerRecordDelResponse": {
  13305. "type": "object",
  13306. "properties": {
  13307. "code": {
  13308. "description": "返回码",
  13309. "type": "integer",
  13310. "format": "int",
  13311. "default": 0
  13312. },
  13313. "message": {
  13314. "description": "消息",
  13315. "type": "string",
  13316. "default": "success"
  13317. }
  13318. }
  13319. },
  13320. "v1.PowerRecordItem": {
  13321. "type": "object",
  13322. "properties": {
  13323. "charge_type": {
  13324. "type": "integer"
  13325. },
  13326. "comment": {
  13327. "type": "string"
  13328. },
  13329. "current_amount": {
  13330. "type": "number"
  13331. },
  13332. "end": {
  13333. "type": "integer"
  13334. },
  13335. "house_id": {
  13336. "type": "integer"
  13337. },
  13338. "house_name": {
  13339. "type": "string"
  13340. },
  13341. "id": {
  13342. "type": "integer"
  13343. },
  13344. "last_amount": {
  13345. "type": "number"
  13346. },
  13347. "read_at": {
  13348. "type": "integer"
  13349. },
  13350. "start": {
  13351. "type": "integer"
  13352. }
  13353. }
  13354. },
  13355. "v1.PowerRecordListReply": {
  13356. "type": "object",
  13357. "properties": {
  13358. "list": {
  13359. "type": "array",
  13360. "items": {
  13361. "$ref": "#/definitions/v1.PowerRecordItem"
  13362. }
  13363. },
  13364. "page": {
  13365. "type": "integer"
  13366. },
  13367. "total": {
  13368. "type": "integer"
  13369. }
  13370. }
  13371. },
  13372. "v1.PowerRecordListResponse": {
  13373. "type": "object",
  13374. "properties": {
  13375. "code": {
  13376. "description": "返回码",
  13377. "type": "integer",
  13378. "format": "int",
  13379. "default": 0
  13380. },
  13381. "data": {
  13382. "type": "object",
  13383. "$ref": "#/definitions/v1.PowerRecordListReply"
  13384. },
  13385. "message": {
  13386. "description": "消息",
  13387. "type": "string",
  13388. "default": "success"
  13389. }
  13390. }
  13391. },
  13392. "v1.PropertyPackageAddBody": {
  13393. "type": "object",
  13394. "properties": {
  13395. "enable": {
  13396. "type": "boolean"
  13397. },
  13398. "give_content": {
  13399. "description": "增送文本",
  13400. "type": "string"
  13401. },
  13402. "give_months": {
  13403. "description": "赠送月数",
  13404. "type": "integer"
  13405. },
  13406. "package_type": {
  13407. "description": "1 按月 2 按文本",
  13408. "type": "integer"
  13409. },
  13410. "pay_months": {
  13411. "description": "购买月数",
  13412. "type": "integer"
  13413. }
  13414. }
  13415. },
  13416. "v1.PropertyPackageAddReply": {
  13417. "type": "object",
  13418. "properties": {
  13419. "id": {
  13420. "type": "integer"
  13421. }
  13422. }
  13423. },
  13424. "v1.PropertyPackageAddResponse": {
  13425. "type": "object",
  13426. "properties": {
  13427. "code": {
  13428. "description": "返回码",
  13429. "type": "integer",
  13430. "format": "int",
  13431. "default": 0
  13432. },
  13433. "data": {
  13434. "type": "object",
  13435. "$ref": "#/definitions/v1.PropertyPackageAddReply"
  13436. },
  13437. "message": {
  13438. "description": "消息",
  13439. "type": "string",
  13440. "default": "success"
  13441. }
  13442. }
  13443. },
  13444. "v1.PropertyPackageDelResponse": {
  13445. "type": "object",
  13446. "properties": {
  13447. "code": {
  13448. "description": "返回码",
  13449. "type": "integer",
  13450. "format": "int",
  13451. "default": 0
  13452. },
  13453. "message": {
  13454. "description": "消息",
  13455. "type": "string",
  13456. "default": "success"
  13457. }
  13458. }
  13459. },
  13460. "v1.PropertyPackageItem": {
  13461. "type": "object",
  13462. "properties": {
  13463. "enable": {
  13464. "type": "boolean"
  13465. },
  13466. "give_content": {
  13467. "description": "增送文本",
  13468. "type": "string"
  13469. },
  13470. "give_months": {
  13471. "description": "赠送月数",
  13472. "type": "integer"
  13473. },
  13474. "id": {
  13475. "type": "integer"
  13476. },
  13477. "package_type": {
  13478. "description": "1 按月 2 按文本",
  13479. "type": "integer"
  13480. },
  13481. "pay_months": {
  13482. "description": "购买月数",
  13483. "type": "integer"
  13484. }
  13485. }
  13486. },
  13487. "v1.PropertyPackageListReply": {
  13488. "type": "object",
  13489. "properties": {
  13490. "list": {
  13491. "type": "array",
  13492. "items": {
  13493. "$ref": "#/definitions/v1.PropertyPackageItem"
  13494. }
  13495. },
  13496. "page": {
  13497. "type": "integer"
  13498. },
  13499. "total": {
  13500. "type": "integer"
  13501. }
  13502. }
  13503. },
  13504. "v1.PropertyPackageListResponse": {
  13505. "type": "object",
  13506. "properties": {
  13507. "code": {
  13508. "description": "返回码",
  13509. "type": "integer",
  13510. "format": "int",
  13511. "default": 0
  13512. },
  13513. "data": {
  13514. "type": "object",
  13515. "$ref": "#/definitions/v1.PropertyPackageListReply"
  13516. },
  13517. "message": {
  13518. "description": "消息",
  13519. "type": "string",
  13520. "default": "success"
  13521. }
  13522. }
  13523. },
  13524. "v1.PropertyPackageUpdateBody": {
  13525. "type": "object",
  13526. "properties": {
  13527. "enable": {
  13528. "type": "boolean"
  13529. },
  13530. "give_content": {
  13531. "description": "增送文本",
  13532. "type": "string"
  13533. },
  13534. "give_months": {
  13535. "description": "赠送月数",
  13536. "type": "integer"
  13537. },
  13538. "id": {
  13539. "type": "integer"
  13540. },
  13541. "package_type": {
  13542. "description": "1 按月 2 按文本",
  13543. "type": "integer"
  13544. },
  13545. "pay_months": {
  13546. "description": "购买月数",
  13547. "type": "integer"
  13548. }
  13549. }
  13550. },
  13551. "v1.PropertyPackageUpdateResponse": {
  13552. "type": "object",
  13553. "properties": {
  13554. "code": {
  13555. "description": "返回码",
  13556. "type": "integer",
  13557. "format": "int",
  13558. "default": 0
  13559. },
  13560. "message": {
  13561. "description": "消息",
  13562. "type": "string",
  13563. "default": "success"
  13564. }
  13565. }
  13566. },
  13567. "v1.RepairClassAddBody": {
  13568. "type": "object",
  13569. "properties": {
  13570. "area": {
  13571. "description": "1 公共区域 2 室内",
  13572. "type": "integer"
  13573. },
  13574. "enable": {
  13575. "type": "boolean"
  13576. },
  13577. "name": {
  13578. "type": "string"
  13579. }
  13580. }
  13581. },
  13582. "v1.RepairClassAddReply": {
  13583. "type": "object",
  13584. "properties": {
  13585. "id": {
  13586. "type": "integer"
  13587. }
  13588. }
  13589. },
  13590. "v1.RepairClassAddResponse": {
  13591. "type": "object",
  13592. "properties": {
  13593. "code": {
  13594. "description": "返回码",
  13595. "type": "integer",
  13596. "format": "int",
  13597. "default": 0
  13598. },
  13599. "data": {
  13600. "type": "object",
  13601. "$ref": "#/definitions/v1.RepairClassAddReply"
  13602. },
  13603. "message": {
  13604. "description": "消息",
  13605. "type": "string",
  13606. "default": "success"
  13607. }
  13608. }
  13609. },
  13610. "v1.RepairClassDelResponse": {
  13611. "type": "object",
  13612. "properties": {
  13613. "code": {
  13614. "description": "返回码",
  13615. "type": "integer",
  13616. "format": "int",
  13617. "default": 0
  13618. },
  13619. "message": {
  13620. "description": "消息",
  13621. "type": "string",
  13622. "default": "success"
  13623. }
  13624. }
  13625. },
  13626. "v1.RepairClassItem": {
  13627. "type": "object",
  13628. "properties": {
  13629. "area": {
  13630. "type": "integer"
  13631. },
  13632. "enable": {
  13633. "type": "boolean"
  13634. },
  13635. "id": {
  13636. "type": "integer"
  13637. },
  13638. "name": {
  13639. "type": "string"
  13640. }
  13641. }
  13642. },
  13643. "v1.RepairClassListReply": {
  13644. "type": "object",
  13645. "properties": {
  13646. "list": {
  13647. "type": "array",
  13648. "items": {
  13649. "$ref": "#/definitions/v1.RepairClassItem"
  13650. }
  13651. },
  13652. "page": {
  13653. "type": "integer"
  13654. },
  13655. "total": {
  13656. "type": "integer"
  13657. }
  13658. }
  13659. },
  13660. "v1.RepairClassListResponse": {
  13661. "type": "object",
  13662. "properties": {
  13663. "code": {
  13664. "description": "返回码",
  13665. "type": "integer",
  13666. "format": "int",
  13667. "default": 0
  13668. },
  13669. "data": {
  13670. "type": "object",
  13671. "$ref": "#/definitions/v1.RepairClassListReply"
  13672. },
  13673. "message": {
  13674. "description": "消息",
  13675. "type": "string",
  13676. "default": "success"
  13677. }
  13678. }
  13679. },
  13680. "v1.RepairClassUpdateBody": {
  13681. "type": "object",
  13682. "properties": {
  13683. "area": {
  13684. "type": "integer"
  13685. },
  13686. "enable": {
  13687. "type": "boolean"
  13688. },
  13689. "id": {
  13690. "type": "integer"
  13691. },
  13692. "name": {
  13693. "type": "string"
  13694. }
  13695. }
  13696. },
  13697. "v1.RepairClassUpdateResponse": {
  13698. "type": "object",
  13699. "properties": {
  13700. "code": {
  13701. "description": "返回码",
  13702. "type": "integer",
  13703. "format": "int",
  13704. "default": 0
  13705. },
  13706. "message": {
  13707. "description": "消息",
  13708. "type": "string",
  13709. "default": "success"
  13710. }
  13711. }
  13712. },
  13713. "v1.RepairOrderAddBody": {
  13714. "type": "object",
  13715. "properties": {
  13716. "apply_content": {
  13717. "description": "报修内容",
  13718. "type": "string"
  13719. },
  13720. "apply_people": {
  13721. "description": "报修人",
  13722. "type": "string"
  13723. },
  13724. "apply_people_phone": {
  13725. "description": "报修人电话",
  13726. "type": "string"
  13727. },
  13728. "apply_pic": {
  13729. "description": "报修图片",
  13730. "type": "array",
  13731. "items": {
  13732. "type": "string"
  13733. }
  13734. },
  13735. "appointment": {
  13736. "description": "预约时间",
  13737. "type": "integer"
  13738. },
  13739. "class_id": {
  13740. "description": "分类id",
  13741. "type": "integer"
  13742. },
  13743. "house_id": {
  13744. "description": "房屋id",
  13745. "type": "integer"
  13746. }
  13747. }
  13748. },
  13749. "v1.RepairOrderAddReply": {
  13750. "type": "object",
  13751. "properties": {
  13752. "id": {
  13753. "type": "integer"
  13754. }
  13755. }
  13756. },
  13757. "v1.RepairOrderAddResponse": {
  13758. "type": "object",
  13759. "properties": {
  13760. "code": {
  13761. "description": "返回码",
  13762. "type": "integer",
  13763. "format": "int",
  13764. "default": 0
  13765. },
  13766. "data": {
  13767. "type": "object",
  13768. "$ref": "#/definitions/v1.RepairOrderAddReply"
  13769. },
  13770. "message": {
  13771. "description": "消息",
  13772. "type": "string",
  13773. "default": "success"
  13774. }
  13775. }
  13776. },
  13777. "v1.RepairOrderBackBody": {
  13778. "type": "object",
  13779. "properties": {
  13780. "feedback": {
  13781. "description": "意见",
  13782. "type": "string"
  13783. },
  13784. "id": {
  13785. "description": "工单id",
  13786. "type": "integer"
  13787. }
  13788. }
  13789. },
  13790. "v1.RepairOrderBackResponse": {
  13791. "type": "object",
  13792. "properties": {
  13793. "code": {
  13794. "description": "返回码",
  13795. "type": "integer",
  13796. "format": "int",
  13797. "default": 0
  13798. },
  13799. "message": {
  13800. "description": "消息",
  13801. "type": "string",
  13802. "default": "success"
  13803. }
  13804. }
  13805. },
  13806. "v1.RepairOrderDelResponse": {
  13807. "type": "object",
  13808. "properties": {
  13809. "code": {
  13810. "description": "返回码",
  13811. "type": "integer",
  13812. "format": "int",
  13813. "default": 0
  13814. },
  13815. "message": {
  13816. "description": "消息",
  13817. "type": "string",
  13818. "default": "success"
  13819. }
  13820. }
  13821. },
  13822. "v1.RepairOrderFinishBody": {
  13823. "type": "object",
  13824. "properties": {
  13825. "feedback": {
  13826. "description": "意见",
  13827. "type": "string"
  13828. },
  13829. "id": {
  13830. "description": "工单id",
  13831. "type": "integer"
  13832. },
  13833. "repair_pic": {
  13834. "description": "处理图片",
  13835. "type": "array",
  13836. "items": {
  13837. "type": "string"
  13838. }
  13839. }
  13840. }
  13841. },
  13842. "v1.RepairOrderFinishResponse": {
  13843. "type": "object",
  13844. "properties": {
  13845. "code": {
  13846. "description": "返回码",
  13847. "type": "integer",
  13848. "format": "int",
  13849. "default": 0
  13850. },
  13851. "message": {
  13852. "description": "消息",
  13853. "type": "string",
  13854. "default": "success"
  13855. }
  13856. }
  13857. },
  13858. "v1.RepairOrderInfoReply": {
  13859. "type": "object",
  13860. "properties": {
  13861. "base_info": {
  13862. "description": "基本信息",
  13863. "type": "object",
  13864. "$ref": "#/definitions/v1.RepairOrderItem"
  13865. },
  13866. "list": {
  13867. "description": "工单流水线",
  13868. "type": "array",
  13869. "items": {
  13870. "$ref": "#/definitions/v1.RepairOrderPipelineData"
  13871. }
  13872. }
  13873. }
  13874. },
  13875. "v1.RepairOrderInfoResponse": {
  13876. "type": "object",
  13877. "properties": {
  13878. "code": {
  13879. "description": "返回码",
  13880. "type": "integer",
  13881. "format": "int",
  13882. "default": 0
  13883. },
  13884. "data": {
  13885. "type": "object",
  13886. "$ref": "#/definitions/v1.RepairOrderInfoReply"
  13887. },
  13888. "message": {
  13889. "description": "消息",
  13890. "type": "string",
  13891. "default": "success"
  13892. }
  13893. }
  13894. },
  13895. "v1.RepairOrderItem": {
  13896. "type": "object",
  13897. "properties": {
  13898. "apply_content": {
  13899. "description": "报修内容",
  13900. "type": "string"
  13901. },
  13902. "apply_people": {
  13903. "description": "报修人",
  13904. "type": "string"
  13905. },
  13906. "apply_people_phone": {
  13907. "description": "报修人电话",
  13908. "type": "string"
  13909. },
  13910. "apply_pic": {
  13911. "description": "报修图片",
  13912. "type": "array",
  13913. "items": {
  13914. "type": "string"
  13915. }
  13916. },
  13917. "appointment": {
  13918. "description": "预约时间",
  13919. "type": "string"
  13920. },
  13921. "area": {
  13922. "type": "integer"
  13923. },
  13924. "building_id": {
  13925. "description": "楼栋id",
  13926. "type": "integer"
  13927. },
  13928. "class_id": {
  13929. "description": "分类id",
  13930. "type": "integer"
  13931. },
  13932. "class_name": {
  13933. "description": "分类名称",
  13934. "type": "string"
  13935. },
  13936. "created_at": {
  13937. "description": "报修时间",
  13938. "type": "string"
  13939. },
  13940. "current_user": {
  13941. "description": "当前状态处理人",
  13942. "type": "string"
  13943. },
  13944. "house_id": {
  13945. "description": "房屋id",
  13946. "type": "integer"
  13947. },
  13948. "house_name": {
  13949. "description": "房屋全称",
  13950. "type": "string"
  13951. },
  13952. "id": {
  13953. "type": "integer"
  13954. },
  13955. "last_user": {
  13956. "description": "上级处理人",
  13957. "type": "string"
  13958. },
  13959. "repair_time": {
  13960. "description": "维修时间",
  13961. "type": "string"
  13962. },
  13963. "return_visit_content": {
  13964. "description": "回访内容",
  13965. "type": "string"
  13966. },
  13967. "return_visit_level": {
  13968. "description": "回访满意度",
  13969. "type": "integer"
  13970. },
  13971. "status": {
  13972. "type": "integer"
  13973. },
  13974. "unit_id": {
  13975. "description": "单元id",
  13976. "type": "integer"
  13977. }
  13978. }
  13979. },
  13980. "v1.RepairOrderListReply": {
  13981. "type": "object",
  13982. "properties": {
  13983. "list": {
  13984. "type": "array",
  13985. "items": {
  13986. "$ref": "#/definitions/v1.RepairOrderItem"
  13987. }
  13988. },
  13989. "page": {
  13990. "type": "integer"
  13991. },
  13992. "total": {
  13993. "type": "integer"
  13994. }
  13995. }
  13996. },
  13997. "v1.RepairOrderListResponse": {
  13998. "type": "object",
  13999. "properties": {
  14000. "code": {
  14001. "description": "返回码",
  14002. "type": "integer",
  14003. "format": "int",
  14004. "default": 0
  14005. },
  14006. "data": {
  14007. "type": "object",
  14008. "$ref": "#/definitions/v1.RepairOrderListReply"
  14009. },
  14010. "message": {
  14011. "description": "消息",
  14012. "type": "string",
  14013. "default": "success"
  14014. }
  14015. }
  14016. },
  14017. "v1.RepairOrderPipelineData": {
  14018. "type": "object",
  14019. "properties": {
  14020. "feedback": {
  14021. "description": "处理意见",
  14022. "type": "string"
  14023. },
  14024. "handle_time": {
  14025. "description": "处理时间",
  14026. "type": "string"
  14027. },
  14028. "phone": {
  14029. "type": "string"
  14030. },
  14031. "status": {
  14032. "type": "string"
  14033. },
  14034. "user": {
  14035. "description": "处理人",
  14036. "type": "string"
  14037. }
  14038. }
  14039. },
  14040. "v1.RepairOrderReturnVisitBody": {
  14041. "type": "object",
  14042. "properties": {
  14043. "id": {
  14044. "type": "integer"
  14045. },
  14046. "return_visit_content": {
  14047. "description": "回访内容",
  14048. "type": "string"
  14049. },
  14050. "return_visit_level": {
  14051. "description": "1 满意 2 不满意",
  14052. "type": "integer"
  14053. }
  14054. }
  14055. },
  14056. "v1.RepairOrderReturnVisitResponse": {
  14057. "type": "object",
  14058. "properties": {
  14059. "code": {
  14060. "description": "返回码",
  14061. "type": "integer",
  14062. "format": "int",
  14063. "default": 0
  14064. },
  14065. "message": {
  14066. "description": "消息",
  14067. "type": "string",
  14068. "default": "success"
  14069. }
  14070. }
  14071. },
  14072. "v1.RepairOrderSendBody": {
  14073. "type": "object",
  14074. "properties": {
  14075. "current_uid": {
  14076. "description": "指派给谁",
  14077. "type": "integer"
  14078. },
  14079. "feedback": {
  14080. "description": "意见",
  14081. "type": "string"
  14082. },
  14083. "id": {
  14084. "description": "工单id",
  14085. "type": "integer"
  14086. }
  14087. }
  14088. },
  14089. "v1.RepairOrderSendResponse": {
  14090. "type": "object",
  14091. "properties": {
  14092. "code": {
  14093. "description": "返回码",
  14094. "type": "integer",
  14095. "format": "int",
  14096. "default": 0
  14097. },
  14098. "message": {
  14099. "description": "消息",
  14100. "type": "string",
  14101. "default": "success"
  14102. }
  14103. }
  14104. },
  14105. "v1.RepairOrderUpdateBody": {
  14106. "type": "object",
  14107. "properties": {
  14108. "apply_content": {
  14109. "description": "报修内容",
  14110. "type": "string"
  14111. },
  14112. "apply_people": {
  14113. "description": "报修人",
  14114. "type": "string"
  14115. },
  14116. "apply_people_phone": {
  14117. "description": "报修人电话",
  14118. "type": "string"
  14119. },
  14120. "apply_pic": {
  14121. "description": "报修图片",
  14122. "type": "array",
  14123. "items": {
  14124. "type": "string"
  14125. }
  14126. },
  14127. "appointment": {
  14128. "description": "预约时间",
  14129. "type": "integer"
  14130. },
  14131. "class_id": {
  14132. "description": "分类id",
  14133. "type": "integer"
  14134. },
  14135. "house_id": {
  14136. "description": "房屋id",
  14137. "type": "integer"
  14138. },
  14139. "id": {
  14140. "type": "integer"
  14141. }
  14142. }
  14143. },
  14144. "v1.RepairOrderUpdateResponse": {
  14145. "type": "object",
  14146. "properties": {
  14147. "code": {
  14148. "description": "返回码",
  14149. "type": "integer",
  14150. "format": "int",
  14151. "default": 0
  14152. },
  14153. "message": {
  14154. "description": "消息",
  14155. "type": "string",
  14156. "default": "success"
  14157. }
  14158. }
  14159. },
  14160. "v1.ResetPasswordBody": {
  14161. "type": "object",
  14162. "properties": {
  14163. "password": {
  14164. "type": "string"
  14165. },
  14166. "phone": {
  14167. "type": "string"
  14168. },
  14169. "uid": {
  14170. "description": "用户id,第一次调用时为空,如果电话对应多个账号,选择账号后第二次调用需填该值",
  14171. "type": "integer"
  14172. },
  14173. "vcode": {
  14174. "description": "短信验证码",
  14175. "type": "integer"
  14176. }
  14177. }
  14178. },
  14179. "v1.ResetPasswordData": {
  14180. "type": "object",
  14181. "properties": {
  14182. "garden_name": {
  14183. "description": "小区名",
  14184. "type": "string"
  14185. },
  14186. "uid": {
  14187. "description": "用户id",
  14188. "type": "integer"
  14189. },
  14190. "username": {
  14191. "description": "用户名",
  14192. "type": "string"
  14193. }
  14194. }
  14195. },
  14196. "v1.ResetPasswordReply": {
  14197. "type": "object",
  14198. "properties": {
  14199. "list": {
  14200. "type": "array",
  14201. "items": {
  14202. "$ref": "#/definitions/v1.ResetPasswordData"
  14203. }
  14204. }
  14205. }
  14206. },
  14207. "v1.ResetPasswordResponse": {
  14208. "type": "object",
  14209. "properties": {
  14210. "code": {
  14211. "description": "返回码",
  14212. "type": "integer",
  14213. "format": "int",
  14214. "default": 0
  14215. },
  14216. "data": {
  14217. "type": "object",
  14218. "$ref": "#/definitions/v1.ResetPasswordReply"
  14219. },
  14220. "message": {
  14221. "description": "消息",
  14222. "type": "string",
  14223. "default": "success"
  14224. }
  14225. }
  14226. },
  14227. "v1.ServicePhoneAddBody": {
  14228. "type": "object",
  14229. "properties": {
  14230. "class_id": {
  14231. "type": "integer"
  14232. },
  14233. "enable": {
  14234. "type": "boolean"
  14235. },
  14236. "name": {
  14237. "type": "string"
  14238. },
  14239. "phone": {
  14240. "type": "string"
  14241. }
  14242. }
  14243. },
  14244. "v1.ServicePhoneAddReply": {
  14245. "type": "object",
  14246. "properties": {
  14247. "id": {
  14248. "type": "integer"
  14249. }
  14250. }
  14251. },
  14252. "v1.ServicePhoneAddResponse": {
  14253. "type": "object",
  14254. "properties": {
  14255. "code": {
  14256. "description": "返回码",
  14257. "type": "integer",
  14258. "format": "int",
  14259. "default": 0
  14260. },
  14261. "data": {
  14262. "type": "object",
  14263. "$ref": "#/definitions/v1.ServicePhoneAddReply"
  14264. },
  14265. "message": {
  14266. "description": "消息",
  14267. "type": "string",
  14268. "default": "success"
  14269. }
  14270. }
  14271. },
  14272. "v1.ServicePhoneClassAddBody": {
  14273. "type": "object",
  14274. "properties": {
  14275. "class_name": {
  14276. "type": "string"
  14277. },
  14278. "enable": {
  14279. "type": "boolean"
  14280. }
  14281. }
  14282. },
  14283. "v1.ServicePhoneClassAddReply": {
  14284. "type": "object",
  14285. "properties": {
  14286. "id": {
  14287. "type": "integer"
  14288. }
  14289. }
  14290. },
  14291. "v1.ServicePhoneClassAddResponse": {
  14292. "type": "object",
  14293. "properties": {
  14294. "code": {
  14295. "description": "返回码",
  14296. "type": "integer",
  14297. "format": "int",
  14298. "default": 0
  14299. },
  14300. "data": {
  14301. "type": "object",
  14302. "$ref": "#/definitions/v1.ServicePhoneClassAddReply"
  14303. },
  14304. "message": {
  14305. "description": "消息",
  14306. "type": "string",
  14307. "default": "success"
  14308. }
  14309. }
  14310. },
  14311. "v1.ServicePhoneClassDelResponse": {
  14312. "type": "object",
  14313. "properties": {
  14314. "code": {
  14315. "description": "返回码",
  14316. "type": "integer",
  14317. "format": "int",
  14318. "default": 0
  14319. },
  14320. "message": {
  14321. "description": "消息",
  14322. "type": "string",
  14323. "default": "success"
  14324. }
  14325. }
  14326. },
  14327. "v1.ServicePhoneClassItem": {
  14328. "type": "object",
  14329. "properties": {
  14330. "class_name": {
  14331. "type": "string"
  14332. },
  14333. "enable": {
  14334. "type": "boolean"
  14335. },
  14336. "id": {
  14337. "type": "integer"
  14338. }
  14339. }
  14340. },
  14341. "v1.ServicePhoneClassListReply": {
  14342. "type": "object",
  14343. "properties": {
  14344. "list": {
  14345. "type": "array",
  14346. "items": {
  14347. "$ref": "#/definitions/v1.ServicePhoneClassItem"
  14348. }
  14349. },
  14350. "page": {
  14351. "type": "integer"
  14352. },
  14353. "total": {
  14354. "type": "integer"
  14355. }
  14356. }
  14357. },
  14358. "v1.ServicePhoneClassListResponse": {
  14359. "type": "object",
  14360. "properties": {
  14361. "code": {
  14362. "description": "返回码",
  14363. "type": "integer",
  14364. "format": "int",
  14365. "default": 0
  14366. },
  14367. "data": {
  14368. "type": "object",
  14369. "$ref": "#/definitions/v1.ServicePhoneClassListReply"
  14370. },
  14371. "message": {
  14372. "description": "消息",
  14373. "type": "string",
  14374. "default": "success"
  14375. }
  14376. }
  14377. },
  14378. "v1.ServicePhoneClassUpdateBody": {
  14379. "type": "object",
  14380. "properties": {
  14381. "class_name": {
  14382. "type": "string"
  14383. },
  14384. "enable": {
  14385. "type": "boolean"
  14386. },
  14387. "id": {
  14388. "type": "integer"
  14389. }
  14390. }
  14391. },
  14392. "v1.ServicePhoneClassUpdateResponse": {
  14393. "type": "object",
  14394. "properties": {
  14395. "code": {
  14396. "description": "返回码",
  14397. "type": "integer",
  14398. "format": "int",
  14399. "default": 0
  14400. },
  14401. "message": {
  14402. "description": "消息",
  14403. "type": "string",
  14404. "default": "success"
  14405. }
  14406. }
  14407. },
  14408. "v1.ServicePhoneDelResponse": {
  14409. "type": "object",
  14410. "properties": {
  14411. "code": {
  14412. "description": "返回码",
  14413. "type": "integer",
  14414. "format": "int",
  14415. "default": 0
  14416. },
  14417. "message": {
  14418. "description": "消息",
  14419. "type": "string",
  14420. "default": "success"
  14421. }
  14422. }
  14423. },
  14424. "v1.ServicePhoneItem": {
  14425. "type": "object",
  14426. "properties": {
  14427. "class_id": {
  14428. "type": "integer"
  14429. },
  14430. "class_name": {
  14431. "type": "string"
  14432. },
  14433. "enable": {
  14434. "type": "boolean"
  14435. },
  14436. "id": {
  14437. "type": "integer"
  14438. },
  14439. "name": {
  14440. "type": "string"
  14441. },
  14442. "phone": {
  14443. "type": "string"
  14444. }
  14445. }
  14446. },
  14447. "v1.ServicePhoneListReply": {
  14448. "type": "object",
  14449. "properties": {
  14450. "list": {
  14451. "type": "array",
  14452. "items": {
  14453. "$ref": "#/definitions/v1.ServicePhoneItem"
  14454. }
  14455. },
  14456. "page": {
  14457. "type": "integer"
  14458. },
  14459. "total": {
  14460. "type": "integer"
  14461. }
  14462. }
  14463. },
  14464. "v1.ServicePhoneListResponse": {
  14465. "type": "object",
  14466. "properties": {
  14467. "code": {
  14468. "description": "返回码",
  14469. "type": "integer",
  14470. "format": "int",
  14471. "default": 0
  14472. },
  14473. "data": {
  14474. "type": "object",
  14475. "$ref": "#/definitions/v1.ServicePhoneListReply"
  14476. },
  14477. "message": {
  14478. "description": "消息",
  14479. "type": "string",
  14480. "default": "success"
  14481. }
  14482. }
  14483. },
  14484. "v1.ServicePhoneUpdateBody": {
  14485. "type": "object",
  14486. "properties": {
  14487. "enable": {
  14488. "type": "boolean"
  14489. },
  14490. "id": {
  14491. "type": "integer"
  14492. },
  14493. "name": {
  14494. "type": "string"
  14495. },
  14496. "phone": {
  14497. "type": "string"
  14498. }
  14499. }
  14500. },
  14501. "v1.ServicePhoneUpdateResponse": {
  14502. "type": "object",
  14503. "properties": {
  14504. "code": {
  14505. "description": "返回码",
  14506. "type": "integer",
  14507. "format": "int",
  14508. "default": 0
  14509. },
  14510. "message": {
  14511. "description": "消息",
  14512. "type": "string",
  14513. "default": "success"
  14514. }
  14515. }
  14516. },
  14517. "v1.SuggestionOrderAddBody": {
  14518. "type": "object",
  14519. "properties": {
  14520. "apply_content": {
  14521. "description": "投诉内容",
  14522. "type": "string"
  14523. },
  14524. "apply_people": {
  14525. "description": "投诉人",
  14526. "type": "string"
  14527. },
  14528. "apply_people_phone": {
  14529. "description": "投诉人电话",
  14530. "type": "string"
  14531. },
  14532. "apply_pic": {
  14533. "description": "投诉图片",
  14534. "type": "array",
  14535. "items": {
  14536. "type": "string"
  14537. }
  14538. },
  14539. "suggestion_type": {
  14540. "description": "投诉类型 1 投诉 2 建议",
  14541. "type": "integer"
  14542. }
  14543. }
  14544. },
  14545. "v1.SuggestionOrderAddReply": {
  14546. "type": "object",
  14547. "properties": {
  14548. "id": {
  14549. "type": "integer"
  14550. }
  14551. }
  14552. },
  14553. "v1.SuggestionOrderAddResponse": {
  14554. "type": "object",
  14555. "properties": {
  14556. "code": {
  14557. "description": "返回码",
  14558. "type": "integer",
  14559. "format": "int",
  14560. "default": 0
  14561. },
  14562. "data": {
  14563. "type": "object",
  14564. "$ref": "#/definitions/v1.SuggestionOrderAddReply"
  14565. },
  14566. "message": {
  14567. "description": "消息",
  14568. "type": "string",
  14569. "default": "success"
  14570. }
  14571. }
  14572. },
  14573. "v1.SuggestionOrderBackBody": {
  14574. "type": "object",
  14575. "properties": {
  14576. "feedback": {
  14577. "description": "意见",
  14578. "type": "string"
  14579. },
  14580. "id": {
  14581. "description": "工单id",
  14582. "type": "integer"
  14583. }
  14584. }
  14585. },
  14586. "v1.SuggestionOrderBackResponse": {
  14587. "type": "object",
  14588. "properties": {
  14589. "code": {
  14590. "description": "返回码",
  14591. "type": "integer",
  14592. "format": "int",
  14593. "default": 0
  14594. },
  14595. "message": {
  14596. "description": "消息",
  14597. "type": "string",
  14598. "default": "success"
  14599. }
  14600. }
  14601. },
  14602. "v1.SuggestionOrderDelResponse": {
  14603. "type": "object",
  14604. "properties": {
  14605. "code": {
  14606. "description": "返回码",
  14607. "type": "integer",
  14608. "format": "int",
  14609. "default": 0
  14610. },
  14611. "message": {
  14612. "description": "消息",
  14613. "type": "string",
  14614. "default": "success"
  14615. }
  14616. }
  14617. },
  14618. "v1.SuggestionOrderFinishBody": {
  14619. "type": "object",
  14620. "properties": {
  14621. "feedback": {
  14622. "description": "意见",
  14623. "type": "string"
  14624. },
  14625. "handle_pic": {
  14626. "description": "处理图片",
  14627. "type": "array",
  14628. "items": {
  14629. "type": "string"
  14630. }
  14631. },
  14632. "id": {
  14633. "description": "工单id",
  14634. "type": "integer"
  14635. }
  14636. }
  14637. },
  14638. "v1.SuggestionOrderFinishResponse": {
  14639. "type": "object",
  14640. "properties": {
  14641. "code": {
  14642. "description": "返回码",
  14643. "type": "integer",
  14644. "format": "int",
  14645. "default": 0
  14646. },
  14647. "message": {
  14648. "description": "消息",
  14649. "type": "string",
  14650. "default": "success"
  14651. }
  14652. }
  14653. },
  14654. "v1.SuggestionOrderInfoReply": {
  14655. "type": "object",
  14656. "properties": {
  14657. "base_info": {
  14658. "description": "基本信息",
  14659. "type": "object",
  14660. "$ref": "#/definitions/v1.SuggestionOrderItem"
  14661. },
  14662. "list": {
  14663. "description": "工单流水线",
  14664. "type": "array",
  14665. "items": {
  14666. "$ref": "#/definitions/v1.SuggestionOrderPipelineData"
  14667. }
  14668. }
  14669. }
  14670. },
  14671. "v1.SuggestionOrderInfoResponse": {
  14672. "type": "object",
  14673. "properties": {
  14674. "code": {
  14675. "description": "返回码",
  14676. "type": "integer",
  14677. "format": "int",
  14678. "default": 0
  14679. },
  14680. "data": {
  14681. "type": "object",
  14682. "$ref": "#/definitions/v1.SuggestionOrderInfoReply"
  14683. },
  14684. "message": {
  14685. "description": "消息",
  14686. "type": "string",
  14687. "default": "success"
  14688. }
  14689. }
  14690. },
  14691. "v1.SuggestionOrderItem": {
  14692. "type": "object",
  14693. "properties": {
  14694. "apply_content": {
  14695. "description": "投诉内容",
  14696. "type": "string"
  14697. },
  14698. "apply_people": {
  14699. "description": "投诉人",
  14700. "type": "string"
  14701. },
  14702. "apply_people_phone": {
  14703. "description": "投诉人电话",
  14704. "type": "string"
  14705. },
  14706. "apply_pic": {
  14707. "description": "投诉图片",
  14708. "type": "array",
  14709. "items": {
  14710. "type": "string"
  14711. }
  14712. },
  14713. "created_at": {
  14714. "description": "投诉时间",
  14715. "type": "string"
  14716. },
  14717. "current_user": {
  14718. "description": "当前状态处理人",
  14719. "type": "string"
  14720. },
  14721. "id": {
  14722. "type": "integer"
  14723. },
  14724. "last_user": {
  14725. "description": "上级处理人",
  14726. "type": "string"
  14727. },
  14728. "return_visit_content": {
  14729. "description": "回访内容",
  14730. "type": "string"
  14731. },
  14732. "return_visit_level": {
  14733. "description": "回访满意度",
  14734. "type": "integer"
  14735. },
  14736. "status": {
  14737. "type": "integer"
  14738. },
  14739. "suggestion_type": {
  14740. "description": "投诉类型 1 投诉 2 建议",
  14741. "type": "integer"
  14742. }
  14743. }
  14744. },
  14745. "v1.SuggestionOrderListReply": {
  14746. "type": "object",
  14747. "properties": {
  14748. "list": {
  14749. "type": "array",
  14750. "items": {
  14751. "$ref": "#/definitions/v1.SuggestionOrderItem"
  14752. }
  14753. },
  14754. "page": {
  14755. "type": "integer"
  14756. },
  14757. "total": {
  14758. "type": "integer"
  14759. }
  14760. }
  14761. },
  14762. "v1.SuggestionOrderListResponse": {
  14763. "type": "object",
  14764. "properties": {
  14765. "code": {
  14766. "description": "返回码",
  14767. "type": "integer",
  14768. "format": "int",
  14769. "default": 0
  14770. },
  14771. "data": {
  14772. "type": "object",
  14773. "$ref": "#/definitions/v1.SuggestionOrderListReply"
  14774. },
  14775. "message": {
  14776. "description": "消息",
  14777. "type": "string",
  14778. "default": "success"
  14779. }
  14780. }
  14781. },
  14782. "v1.SuggestionOrderPipelineData": {
  14783. "type": "object",
  14784. "properties": {
  14785. "feedback": {
  14786. "description": "处理意见",
  14787. "type": "string"
  14788. },
  14789. "handle_time": {
  14790. "description": "处理时间",
  14791. "type": "string"
  14792. },
  14793. "phone": {
  14794. "type": "string"
  14795. },
  14796. "status": {
  14797. "type": "string"
  14798. },
  14799. "user": {
  14800. "description": "处理人",
  14801. "type": "string"
  14802. }
  14803. }
  14804. },
  14805. "v1.SuggestionOrderReturnVisitBody": {
  14806. "type": "object",
  14807. "properties": {
  14808. "id": {
  14809. "type": "integer"
  14810. },
  14811. "return_visit_content": {
  14812. "description": "回访内容",
  14813. "type": "string"
  14814. },
  14815. "return_visit_level": {
  14816. "description": "1 满意 2 不满意",
  14817. "type": "integer"
  14818. }
  14819. }
  14820. },
  14821. "v1.SuggestionOrderReturnVisitResponse": {
  14822. "type": "object",
  14823. "properties": {
  14824. "code": {
  14825. "description": "返回码",
  14826. "type": "integer",
  14827. "format": "int",
  14828. "default": 0
  14829. },
  14830. "message": {
  14831. "description": "消息",
  14832. "type": "string",
  14833. "default": "success"
  14834. }
  14835. }
  14836. },
  14837. "v1.SuggestionOrderSendBody": {
  14838. "type": "object",
  14839. "properties": {
  14840. "current_uid": {
  14841. "description": "指派给谁",
  14842. "type": "integer"
  14843. },
  14844. "feedback": {
  14845. "description": "意见",
  14846. "type": "string"
  14847. },
  14848. "id": {
  14849. "description": "工单id",
  14850. "type": "integer"
  14851. }
  14852. }
  14853. },
  14854. "v1.SuggestionOrderSendResponse": {
  14855. "type": "object",
  14856. "properties": {
  14857. "code": {
  14858. "description": "返回码",
  14859. "type": "integer",
  14860. "format": "int",
  14861. "default": 0
  14862. },
  14863. "message": {
  14864. "description": "消息",
  14865. "type": "string",
  14866. "default": "success"
  14867. }
  14868. }
  14869. },
  14870. "v1.SuggestionOrderUpdateBody": {
  14871. "type": "object",
  14872. "properties": {
  14873. "apply_content": {
  14874. "description": "投诉内容",
  14875. "type": "string"
  14876. },
  14877. "apply_people": {
  14878. "description": "投诉人",
  14879. "type": "string"
  14880. },
  14881. "apply_people_phone": {
  14882. "description": "投诉人电话",
  14883. "type": "string"
  14884. },
  14885. "apply_pic": {
  14886. "description": "投诉图片",
  14887. "type": "array",
  14888. "items": {
  14889. "type": "string"
  14890. }
  14891. },
  14892. "id": {
  14893. "type": "integer"
  14894. },
  14895. "suggestion_type": {
  14896. "description": "投诉类型 1 投诉 2 建议",
  14897. "type": "integer"
  14898. }
  14899. }
  14900. },
  14901. "v1.SuggestionOrderUpdateResponse": {
  14902. "type": "object",
  14903. "properties": {
  14904. "code": {
  14905. "description": "返回码",
  14906. "type": "integer",
  14907. "format": "int",
  14908. "default": 0
  14909. },
  14910. "message": {
  14911. "description": "消息",
  14912. "type": "string",
  14913. "default": "success"
  14914. }
  14915. }
  14916. },
  14917. "v1.SystemGroupPermissionData": {
  14918. "type": "object",
  14919. "properties": {
  14920. "applete_path": {
  14921. "type": "string"
  14922. },
  14923. "code": {
  14924. "type": "string"
  14925. },
  14926. "name": {
  14927. "description": "权限名字",
  14928. "type": "string"
  14929. },
  14930. "path": {
  14931. "description": "组件路径",
  14932. "type": "string"
  14933. },
  14934. "pcode": {
  14935. "description": "父code,若没有则填空",
  14936. "type": "string"
  14937. },
  14938. "router": {
  14939. "description": "路由",
  14940. "type": "string"
  14941. }
  14942. }
  14943. },
  14944. "v1.SystemMsgCountReply": {
  14945. "type": "object",
  14946. "properties": {
  14947. "count": {
  14948. "type": "integer"
  14949. }
  14950. }
  14951. },
  14952. "v1.SystemMsgCountResponse": {
  14953. "type": "object",
  14954. "properties": {
  14955. "code": {
  14956. "description": "返回码",
  14957. "type": "integer",
  14958. "format": "int",
  14959. "default": 0
  14960. },
  14961. "data": {
  14962. "type": "object",
  14963. "$ref": "#/definitions/v1.SystemMsgCountReply"
  14964. },
  14965. "message": {
  14966. "description": "消息",
  14967. "type": "string",
  14968. "default": "success"
  14969. }
  14970. }
  14971. },
  14972. "v1.SystemMsgItem": {
  14973. "type": "object",
  14974. "properties": {
  14975. "code": {
  14976. "type": "string"
  14977. },
  14978. "content": {
  14979. "type": "string"
  14980. },
  14981. "created_at": {
  14982. "type": "string"
  14983. },
  14984. "id": {
  14985. "type": "integer"
  14986. }
  14987. }
  14988. },
  14989. "v1.SystemMsgListReply": {
  14990. "type": "object",
  14991. "properties": {
  14992. "list": {
  14993. "type": "array",
  14994. "items": {
  14995. "$ref": "#/definitions/v1.SystemMsgItem"
  14996. }
  14997. },
  14998. "page": {
  14999. "type": "integer"
  15000. },
  15001. "total": {
  15002. "type": "integer"
  15003. }
  15004. }
  15005. },
  15006. "v1.SystemMsgListResponse": {
  15007. "type": "object",
  15008. "properties": {
  15009. "code": {
  15010. "description": "返回码",
  15011. "type": "integer",
  15012. "format": "int",
  15013. "default": 0
  15014. },
  15015. "data": {
  15016. "type": "object",
  15017. "$ref": "#/definitions/v1.SystemMsgListReply"
  15018. },
  15019. "message": {
  15020. "description": "消息",
  15021. "type": "string",
  15022. "default": "success"
  15023. }
  15024. }
  15025. },
  15026. "v1.SystemMsgReadedBody": {
  15027. "type": "object",
  15028. "properties": {
  15029. "id": {
  15030. "type": "integer"
  15031. }
  15032. }
  15033. },
  15034. "v1.TokenResponse": {
  15035. "type": "object",
  15036. "properties": {
  15037. "code": {
  15038. "description": "返回码",
  15039. "type": "integer",
  15040. "format": "int",
  15041. "default": 0
  15042. },
  15043. "data": {
  15044. "type": "string"
  15045. },
  15046. "message": {
  15047. "description": "消息",
  15048. "type": "string",
  15049. "default": "success"
  15050. },
  15051. "refresh_token": {
  15052. "type": "string"
  15053. }
  15054. }
  15055. },
  15056. "v1.UnitAddBody": {
  15057. "type": "object",
  15058. "properties": {
  15059. "building_id": {
  15060. "type": "integer"
  15061. },
  15062. "has_lift": {
  15063. "description": "是否有电梯",
  15064. "type": "boolean"
  15065. },
  15066. "unit_layers": {
  15067. "description": "楼层数",
  15068. "type": "integer"
  15069. },
  15070. "unit_name": {
  15071. "description": "单元名",
  15072. "type": "string"
  15073. },
  15074. "unit_number": {
  15075. "description": "单元编号",
  15076. "type": "integer"
  15077. }
  15078. }
  15079. },
  15080. "v1.UnitAddReply": {
  15081. "type": "object",
  15082. "properties": {
  15083. "id": {
  15084. "type": "integer"
  15085. }
  15086. }
  15087. },
  15088. "v1.UnitAddResponse": {
  15089. "type": "object",
  15090. "properties": {
  15091. "code": {
  15092. "description": "返回码",
  15093. "type": "integer",
  15094. "format": "int",
  15095. "default": 0
  15096. },
  15097. "data": {
  15098. "type": "object",
  15099. "$ref": "#/definitions/v1.UnitAddReply"
  15100. },
  15101. "message": {
  15102. "description": "消息",
  15103. "type": "string",
  15104. "default": "success"
  15105. }
  15106. }
  15107. },
  15108. "v1.UnitDelResponse": {
  15109. "type": "object",
  15110. "properties": {
  15111. "code": {
  15112. "description": "返回码",
  15113. "type": "integer",
  15114. "format": "int",
  15115. "default": 0
  15116. },
  15117. "message": {
  15118. "description": "消息",
  15119. "type": "string",
  15120. "default": "success"
  15121. }
  15122. }
  15123. },
  15124. "v1.UnitItem": {
  15125. "type": "object",
  15126. "properties": {
  15127. "building_id": {
  15128. "description": "楼栋id",
  15129. "type": "integer"
  15130. },
  15131. "building_name": {
  15132. "type": "string"
  15133. },
  15134. "has_lift": {
  15135. "type": "boolean"
  15136. },
  15137. "id": {
  15138. "type": "integer"
  15139. },
  15140. "unit_layers": {
  15141. "description": "楼层数",
  15142. "type": "integer"
  15143. },
  15144. "unit_name": {
  15145. "description": "单元名",
  15146. "type": "string"
  15147. },
  15148. "unit_number": {
  15149. "description": "单元编号",
  15150. "type": "integer"
  15151. }
  15152. }
  15153. },
  15154. "v1.UnitListReply": {
  15155. "type": "object",
  15156. "properties": {
  15157. "list": {
  15158. "type": "array",
  15159. "items": {
  15160. "$ref": "#/definitions/v1.UnitItem"
  15161. }
  15162. },
  15163. "page": {
  15164. "type": "integer"
  15165. },
  15166. "total": {
  15167. "type": "integer"
  15168. }
  15169. }
  15170. },
  15171. "v1.UnitListResponse": {
  15172. "type": "object",
  15173. "properties": {
  15174. "code": {
  15175. "description": "返回码",
  15176. "type": "integer",
  15177. "format": "int",
  15178. "default": 0
  15179. },
  15180. "data": {
  15181. "type": "object",
  15182. "$ref": "#/definitions/v1.UnitListReply"
  15183. },
  15184. "message": {
  15185. "description": "消息",
  15186. "type": "string",
  15187. "default": "success"
  15188. }
  15189. }
  15190. },
  15191. "v1.UnitUpdateBody": {
  15192. "type": "object",
  15193. "properties": {
  15194. "building_id": {
  15195. "type": "integer"
  15196. },
  15197. "has_lift": {
  15198. "description": "是否有电梯",
  15199. "type": "boolean"
  15200. },
  15201. "id": {
  15202. "type": "integer"
  15203. },
  15204. "unit_layers": {
  15205. "description": "楼层数",
  15206. "type": "integer"
  15207. },
  15208. "unit_name": {
  15209. "description": "单元名",
  15210. "type": "string"
  15211. },
  15212. "unit_number": {
  15213. "description": "单元编号",
  15214. "type": "integer"
  15215. }
  15216. }
  15217. },
  15218. "v1.UnitUpdateResponse": {
  15219. "type": "object",
  15220. "properties": {
  15221. "code": {
  15222. "description": "返回码",
  15223. "type": "integer",
  15224. "format": "int",
  15225. "default": 0
  15226. },
  15227. "message": {
  15228. "description": "消息",
  15229. "type": "string",
  15230. "default": "success"
  15231. }
  15232. }
  15233. },
  15234. "v1.UploadResponse": {
  15235. "type": "object",
  15236. "properties": {
  15237. "code": {
  15238. "description": "返回码",
  15239. "type": "integer",
  15240. "format": "int",
  15241. "default": 0
  15242. },
  15243. "data": {
  15244. "type": "string"
  15245. },
  15246. "message": {
  15247. "description": "消息",
  15248. "type": "string",
  15249. "default": "success"
  15250. }
  15251. }
  15252. },
  15253. "v1.UserItem": {
  15254. "type": "object",
  15255. "properties": {
  15256. "base_permission": {
  15257. "type": "integer"
  15258. },
  15259. "cid": {
  15260. "type": "integer"
  15261. },
  15262. "created_at": {
  15263. "type": "string"
  15264. },
  15265. "department_name": {
  15266. "type": "string"
  15267. },
  15268. "email": {
  15269. "type": "string"
  15270. },
  15271. "enable": {
  15272. "type": "boolean"
  15273. },
  15274. "garden_id": {
  15275. "type": "integer"
  15276. },
  15277. "garden_name": {
  15278. "type": "string"
  15279. },
  15280. "group_id": {
  15281. "type": "integer"
  15282. },
  15283. "group_name": {
  15284. "type": "string"
  15285. },
  15286. "id": {
  15287. "type": "integer"
  15288. },
  15289. "password": {
  15290. "type": "string"
  15291. },
  15292. "phone": {
  15293. "type": "string"
  15294. },
  15295. "real_name": {
  15296. "type": "string"
  15297. },
  15298. "super": {
  15299. "type": "boolean"
  15300. },
  15301. "user_name": {
  15302. "type": "string"
  15303. }
  15304. }
  15305. },
  15306. "v1.UserListReply": {
  15307. "type": "object",
  15308. "properties": {
  15309. "list": {
  15310. "type": "array",
  15311. "items": {
  15312. "$ref": "#/definitions/v1.UserItem"
  15313. }
  15314. },
  15315. "page": {
  15316. "type": "integer"
  15317. },
  15318. "total": {
  15319. "type": "integer"
  15320. }
  15321. }
  15322. },
  15323. "v1.UserListResponse": {
  15324. "type": "object",
  15325. "properties": {
  15326. "code": {
  15327. "description": "返回码",
  15328. "type": "integer",
  15329. "format": "int",
  15330. "default": 0
  15331. },
  15332. "data": {
  15333. "type": "object",
  15334. "$ref": "#/definitions/v1.UserListReply"
  15335. },
  15336. "message": {
  15337. "description": "消息",
  15338. "type": "string",
  15339. "default": "success"
  15340. }
  15341. }
  15342. },
  15343. "v1.VehicleAddReply": {
  15344. "type": "object",
  15345. "properties": {
  15346. "id": {
  15347. "type": "integer"
  15348. }
  15349. }
  15350. },
  15351. "v1.VehicleAddResponse": {
  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.VehicleAddReply"
  15363. },
  15364. "message": {
  15365. "description": "消息",
  15366. "type": "string",
  15367. "default": "success"
  15368. }
  15369. }
  15370. },
  15371. "v1.VoteAddBody": {
  15372. "type": "object",
  15373. "properties": {
  15374. "end": {
  15375. "description": "投票结束时间",
  15376. "type": "integer"
  15377. },
  15378. "pics": {
  15379. "description": "图片",
  15380. "type": "array",
  15381. "items": {
  15382. "type": "string"
  15383. }
  15384. },
  15385. "start": {
  15386. "description": "投票开始时间",
  15387. "type": "integer"
  15388. },
  15389. "title": {
  15390. "description": "投票标题",
  15391. "type": "string"
  15392. },
  15393. "topics": {
  15394. "description": "投票题目列表",
  15395. "type": "array",
  15396. "items": {
  15397. "$ref": "#/definitions/v1.VoteTopic"
  15398. }
  15399. }
  15400. }
  15401. },
  15402. "v1.VoteAddResponse": {
  15403. "type": "object",
  15404. "properties": {
  15405. "code": {
  15406. "description": "返回码",
  15407. "type": "integer",
  15408. "format": "int",
  15409. "default": 0
  15410. },
  15411. "message": {
  15412. "description": "消息",
  15413. "type": "string",
  15414. "default": "success"
  15415. }
  15416. }
  15417. },
  15418. "v1.VoteDelResponse": {
  15419. "type": "object",
  15420. "properties": {
  15421. "code": {
  15422. "description": "返回码",
  15423. "type": "integer",
  15424. "format": "int",
  15425. "default": 0
  15426. },
  15427. "message": {
  15428. "description": "消息",
  15429. "type": "string",
  15430. "default": "success"
  15431. }
  15432. }
  15433. },
  15434. "v1.VoteItem": {
  15435. "type": "object",
  15436. "properties": {
  15437. "created_at": {
  15438. "type": "integer"
  15439. },
  15440. "end": {
  15441. "type": "integer"
  15442. },
  15443. "id": {
  15444. "type": "integer"
  15445. },
  15446. "pics": {
  15447. "type": "array",
  15448. "items": {
  15449. "type": "string"
  15450. }
  15451. },
  15452. "start": {
  15453. "type": "integer"
  15454. },
  15455. "title": {
  15456. "type": "string"
  15457. },
  15458. "topics": {
  15459. "type": "array",
  15460. "items": {
  15461. "$ref": "#/definitions/v1.VoteTopic"
  15462. }
  15463. },
  15464. "user_count": {
  15465. "type": "integer"
  15466. }
  15467. }
  15468. },
  15469. "v1.VoteListReply": {
  15470. "type": "object",
  15471. "properties": {
  15472. "list": {
  15473. "type": "array",
  15474. "items": {
  15475. "$ref": "#/definitions/v1.VoteItem"
  15476. }
  15477. },
  15478. "page": {
  15479. "type": "integer"
  15480. },
  15481. "total": {
  15482. "type": "integer"
  15483. }
  15484. }
  15485. },
  15486. "v1.VoteListResponse": {
  15487. "type": "object",
  15488. "properties": {
  15489. "code": {
  15490. "description": "返回码",
  15491. "type": "integer",
  15492. "format": "int",
  15493. "default": 0
  15494. },
  15495. "data": {
  15496. "type": "object",
  15497. "$ref": "#/definitions/v1.VoteListReply"
  15498. },
  15499. "message": {
  15500. "description": "消息",
  15501. "type": "string",
  15502. "default": "success"
  15503. }
  15504. }
  15505. },
  15506. "v1.VoteResultData": {
  15507. "type": "object",
  15508. "properties": {
  15509. "choice_answers": {
  15510. "description": "选择题回答,当题目类型为选择题时有效",
  15511. "type": "array",
  15512. "items": {
  15513. "type": "string"
  15514. }
  15515. },
  15516. "choice_items": {
  15517. "description": "选择题的选项",
  15518. "type": "array",
  15519. "items": {
  15520. "$ref": "#/definitions/v1.VoteTopicChoiceItem"
  15521. }
  15522. },
  15523. "completion_answers": {
  15524. "description": "问答题回答,当题目类型为问答题时有效",
  15525. "type": "array",
  15526. "items": {
  15527. "type": "string"
  15528. }
  15529. },
  15530. "must": {
  15531. "description": "是否必选",
  15532. "type": "boolean"
  15533. },
  15534. "number": {
  15535. "description": "题目编号",
  15536. "type": "integer"
  15537. },
  15538. "star": {
  15539. "description": "总星数,当为评分题时有效",
  15540. "type": "integer"
  15541. },
  15542. "star_answers": {
  15543. "description": "评分题回答,当题目类型为评分题时有效",
  15544. "type": "integer"
  15545. },
  15546. "topic_name": {
  15547. "type": "string"
  15548. },
  15549. "topic_type": {
  15550. "description": "题目类型 1 填空题 2 单选题 3 多选题 4 评分题",
  15551. "type": "integer"
  15552. }
  15553. }
  15554. },
  15555. "v1.VoteResultListReply": {
  15556. "type": "object",
  15557. "properties": {
  15558. "list": {
  15559. "type": "array",
  15560. "items": {
  15561. "$ref": "#/definitions/v1.VoteResultUserAnswerItem"
  15562. }
  15563. },
  15564. "page": {
  15565. "type": "integer"
  15566. },
  15567. "total": {
  15568. "type": "integer"
  15569. }
  15570. }
  15571. },
  15572. "v1.VoteResultListResponse": {
  15573. "type": "object",
  15574. "properties": {
  15575. "code": {
  15576. "description": "返回码",
  15577. "type": "integer",
  15578. "format": "int",
  15579. "default": 0
  15580. },
  15581. "data": {
  15582. "type": "object",
  15583. "$ref": "#/definitions/v1.VoteResultListReply"
  15584. },
  15585. "message": {
  15586. "description": "消息",
  15587. "type": "string",
  15588. "default": "success"
  15589. }
  15590. }
  15591. },
  15592. "v1.VoteResultStatisticChoice": {
  15593. "type": "object",
  15594. "properties": {
  15595. "count": {
  15596. "description": "该选项被选的用户",
  15597. "type": "integer"
  15598. },
  15599. "flag": {
  15600. "description": "选择选项标识",
  15601. "type": "string"
  15602. }
  15603. }
  15604. },
  15605. "v1.VoteResultStatisticItem": {
  15606. "type": "object",
  15607. "properties": {
  15608. "choice_items": {
  15609. "description": "选择题的选项内容",
  15610. "type": "array",
  15611. "items": {
  15612. "$ref": "#/definitions/v1.VoteTopicChoiceItem"
  15613. }
  15614. },
  15615. "choice_statistic": {
  15616. "description": "选择题的选项回答统计,当题目类型为选择题时有效",
  15617. "type": "array",
  15618. "items": {
  15619. "$ref": "#/definitions/v1.VoteResultStatisticChoice"
  15620. }
  15621. },
  15622. "must": {
  15623. "description": "是否必选",
  15624. "type": "boolean"
  15625. },
  15626. "number": {
  15627. "description": "题目编号",
  15628. "type": "integer"
  15629. },
  15630. "star": {
  15631. "description": "总星数,当为评分题时有效",
  15632. "type": "integer"
  15633. },
  15634. "star_avg": {
  15635. "description": "平均分, 当题目类型为评分题时有效",
  15636. "type": "integer"
  15637. },
  15638. "star_statistic": {
  15639. "description": "评分题的分数回答统计,当题目类型为评分题时有效",
  15640. "type": "array",
  15641. "items": {
  15642. "$ref": "#/definitions/v1.VoteResultStatisticStar"
  15643. }
  15644. },
  15645. "topic_name": {
  15646. "type": "string"
  15647. },
  15648. "topic_type": {
  15649. "description": "题目类型 1 填空题 2 单选题 3 多选题 4 评分题",
  15650. "type": "integer"
  15651. }
  15652. }
  15653. },
  15654. "v1.VoteResultStatisticReply": {
  15655. "type": "object",
  15656. "properties": {
  15657. "list": {
  15658. "description": "题目统计",
  15659. "type": "array",
  15660. "items": {
  15661. "$ref": "#/definitions/v1.VoteResultStatisticItem"
  15662. }
  15663. }
  15664. }
  15665. },
  15666. "v1.VoteResultStatisticResponse": {
  15667. "type": "object",
  15668. "properties": {
  15669. "code": {
  15670. "description": "返回码",
  15671. "type": "integer",
  15672. "format": "int",
  15673. "default": 0
  15674. },
  15675. "data": {
  15676. "type": "object",
  15677. "$ref": "#/definitions/v1.VoteResultStatisticReply"
  15678. },
  15679. "message": {
  15680. "description": "消息",
  15681. "type": "string",
  15682. "default": "success"
  15683. }
  15684. }
  15685. },
  15686. "v1.VoteResultStatisticStar": {
  15687. "type": "object",
  15688. "properties": {
  15689. "count": {
  15690. "description": "评该星数的用户数量",
  15691. "type": "integer"
  15692. },
  15693. "star": {
  15694. "description": "评分星数",
  15695. "type": "integer"
  15696. }
  15697. }
  15698. },
  15699. "v1.VoteResultUserAnswerItem": {
  15700. "type": "object",
  15701. "properties": {
  15702. "answers": {
  15703. "type": "array",
  15704. "items": {
  15705. "$ref": "#/definitions/v1.VoteResultData"
  15706. }
  15707. },
  15708. "uid": {
  15709. "description": "用户uid",
  15710. "type": "integer"
  15711. }
  15712. }
  15713. },
  15714. "v1.VoteTopic": {
  15715. "type": "object",
  15716. "properties": {
  15717. "choice_items": {
  15718. "description": "选择题的选项",
  15719. "type": "array",
  15720. "items": {
  15721. "$ref": "#/definitions/v1.VoteTopicChoiceItem"
  15722. }
  15723. },
  15724. "must": {
  15725. "description": "是否必选",
  15726. "type": "boolean"
  15727. },
  15728. "number": {
  15729. "description": "题目编号",
  15730. "type": "integer"
  15731. },
  15732. "star": {
  15733. "description": "总星数,当为评分题时有效",
  15734. "type": "integer"
  15735. },
  15736. "topic_name": {
  15737. "type": "string"
  15738. },
  15739. "topic_type": {
  15740. "description": "题目类型 1 填空题 2 单选题 3 多选题 4 评分题",
  15741. "type": "integer"
  15742. }
  15743. }
  15744. },
  15745. "v1.VoteTopicChoiceItem": {
  15746. "type": "object",
  15747. "properties": {
  15748. "flag": {
  15749. "type": "string"
  15750. },
  15751. "text": {
  15752. "type": "string"
  15753. }
  15754. }
  15755. },
  15756. "v1.VoteUpdateBody": {
  15757. "type": "object",
  15758. "properties": {
  15759. "end": {
  15760. "description": "投票结束时间",
  15761. "type": "integer"
  15762. },
  15763. "id": {
  15764. "description": "投票id",
  15765. "type": "integer"
  15766. },
  15767. "pics": {
  15768. "description": "图片",
  15769. "type": "array",
  15770. "items": {
  15771. "type": "string"
  15772. }
  15773. },
  15774. "start": {
  15775. "description": "投票开始时间",
  15776. "type": "integer"
  15777. },
  15778. "title": {
  15779. "description": "投票标题",
  15780. "type": "string"
  15781. },
  15782. "topics": {
  15783. "description": "投票题目列表",
  15784. "type": "array",
  15785. "items": {
  15786. "$ref": "#/definitions/v1.VoteTopic"
  15787. }
  15788. }
  15789. }
  15790. },
  15791. "v1.VoteUpdateResponse": {
  15792. "type": "object",
  15793. "properties": {
  15794. "code": {
  15795. "description": "返回码",
  15796. "type": "integer",
  15797. "format": "int",
  15798. "default": 0
  15799. },
  15800. "message": {
  15801. "description": "消息",
  15802. "type": "string",
  15803. "default": "success"
  15804. }
  15805. }
  15806. }
  15807. }
  15808. }`
  15809. type swaggerInfo struct {
  15810. Version string
  15811. Host string
  15812. BasePath string
  15813. Schemes []string
  15814. Title string
  15815. Description string
  15816. }
  15817. // SwaggerInfo holds exported Swagger Info so clients can modify it
  15818. var SwaggerInfo = swaggerInfo{
  15819. Version: "1.1",
  15820. Host: "",
  15821. BasePath: "",
  15822. Schemes: []string{},
  15823. Title: "Project property-applete-gateway's APIs",
  15824. Description: "This is a gateway server. On the page, you can go to do testing for every API.",
  15825. }
  15826. type s struct{}
  15827. func (s *s) ReadDoc() string {
  15828. sInfo := SwaggerInfo
  15829. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  15830. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  15831. "marshal": func(v interface{}) string {
  15832. a, _ := json.Marshal(v)
  15833. return string(a)
  15834. },
  15835. }).Parse(doc)
  15836. if err != nil {
  15837. return doc
  15838. }
  15839. var tpl bytes.Buffer
  15840. if err := t.Execute(&tpl, sInfo); err != nil {
  15841. return doc
  15842. }
  15843. return tpl.String()
  15844. }
  15845. func init() {
  15846. swag.Register(swag.Name, &s{})
  15847. }