swagger.json 675 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "This is a gateway server. On the page, you can go to do testing for every API.",
  5. "title": "Project property-system-gateway's APIs",
  6. "contact": {},
  7. "license": {},
  8. "version": "1.1"
  9. },
  10. "paths": {
  11. "/api/v1/application": {
  12. "get": {
  13. "description": "所有应用列表",
  14. "consumes": [
  15. "application/json"
  16. ],
  17. "produces": [
  18. "application/json"
  19. ],
  20. "tags": [
  21. "应用"
  22. ],
  23. "summary": "所有应用列表",
  24. "parameters": [
  25. {
  26. "type": "string",
  27. "description": " ",
  28. "name": "token",
  29. "in": "header",
  30. "required": true
  31. },
  32. {
  33. "type": "integer",
  34. "description": "第几页,1为起始页, -1 不分页返回所有",
  35. "name": "page",
  36. "in": "query",
  37. "required": true
  38. },
  39. {
  40. "type": "integer",
  41. "description": "每页条数,-1 不分页返回所有",
  42. "name": "page_size",
  43. "in": "query"
  44. }
  45. ],
  46. "responses": {
  47. "200": {
  48. "description": "OK",
  49. "schema": {
  50. "$ref": "#/definitions/v1.ApplicationListResponse"
  51. }
  52. },
  53. "500": {
  54. "description": "Internal Server Error",
  55. "schema": {
  56. "$ref": "#/definitions/base.HTTPError"
  57. }
  58. }
  59. }
  60. }
  61. },
  62. "/api/v1/buildings/building": {
  63. "get": {
  64. "description": "楼栋列表",
  65. "consumes": [
  66. "application/json"
  67. ],
  68. "produces": [
  69. "application/json"
  70. ],
  71. "tags": [
  72. "楼盘管理"
  73. ],
  74. "summary": "楼栋列表",
  75. "parameters": [
  76. {
  77. "type": "string",
  78. "description": "token",
  79. "name": "token",
  80. "in": "header",
  81. "required": true
  82. },
  83. {
  84. "type": "integer",
  85. "description": " ",
  86. "name": "page",
  87. "in": "query"
  88. },
  89. {
  90. "type": "integer",
  91. "description": " ",
  92. "name": "page_size",
  93. "in": "query"
  94. },
  95. {
  96. "type": "string",
  97. "description": "楼栋编号",
  98. "name": "building_number",
  99. "in": "query"
  100. }
  101. ],
  102. "responses": {
  103. "200": {
  104. "description": "OK",
  105. "schema": {
  106. "$ref": "#/definitions/v1.BuildingListResponse"
  107. }
  108. },
  109. "500": {
  110. "description": "Internal Server Error",
  111. "schema": {
  112. "$ref": "#/definitions/base.HTTPError"
  113. }
  114. }
  115. }
  116. },
  117. "put": {
  118. "description": "更改楼栋",
  119. "consumes": [
  120. "application/json"
  121. ],
  122. "produces": [
  123. "application/json"
  124. ],
  125. "tags": [
  126. "楼盘管理"
  127. ],
  128. "summary": "更改楼栋",
  129. "parameters": [
  130. {
  131. "type": "string",
  132. "description": "token",
  133. "name": "token",
  134. "in": "header",
  135. "required": true
  136. },
  137. {
  138. "description": "信息",
  139. "name": "body",
  140. "in": "body",
  141. "required": true,
  142. "schema": {
  143. "$ref": "#/definitions/v1.BuildingUpdateBody"
  144. }
  145. }
  146. ],
  147. "responses": {
  148. "200": {
  149. "description": "OK",
  150. "schema": {
  151. "$ref": "#/definitions/v1.BuildingUpdateResponse"
  152. }
  153. },
  154. "500": {
  155. "description": "Internal Server Error",
  156. "schema": {
  157. "$ref": "#/definitions/base.HTTPError"
  158. }
  159. }
  160. }
  161. },
  162. "post": {
  163. "description": "添加楼栋",
  164. "consumes": [
  165. "application/json"
  166. ],
  167. "produces": [
  168. "application/json"
  169. ],
  170. "tags": [
  171. "楼盘管理"
  172. ],
  173. "summary": "添加楼栋",
  174. "parameters": [
  175. {
  176. "type": "string",
  177. "description": "token",
  178. "name": "token",
  179. "in": "header",
  180. "required": true
  181. },
  182. {
  183. "description": "信息",
  184. "name": "body",
  185. "in": "body",
  186. "required": true,
  187. "schema": {
  188. "$ref": "#/definitions/v1.BuildingAddBody"
  189. }
  190. }
  191. ],
  192. "responses": {
  193. "200": {
  194. "description": "OK",
  195. "schema": {
  196. "$ref": "#/definitions/v1.BuildingAddResponse"
  197. }
  198. },
  199. "500": {
  200. "description": "Internal Server Error",
  201. "schema": {
  202. "$ref": "#/definitions/base.HTTPError"
  203. }
  204. }
  205. }
  206. },
  207. "delete": {
  208. "description": "删除楼栋",
  209. "consumes": [
  210. "application/json"
  211. ],
  212. "produces": [
  213. "application/json"
  214. ],
  215. "tags": [
  216. "楼盘管理"
  217. ],
  218. "summary": "删除楼栋",
  219. "parameters": [
  220. {
  221. "type": "string",
  222. "description": "token",
  223. "name": "token",
  224. "in": "header",
  225. "required": true
  226. },
  227. {
  228. "type": "integer",
  229. "description": "id",
  230. "name": "id",
  231. "in": "query",
  232. "required": true
  233. }
  234. ],
  235. "responses": {
  236. "200": {
  237. "description": "OK",
  238. "schema": {
  239. "$ref": "#/definitions/v1.BuildingDelResponse"
  240. }
  241. },
  242. "500": {
  243. "description": "Internal Server Error",
  244. "schema": {
  245. "$ref": "#/definitions/base.HTTPError"
  246. }
  247. }
  248. }
  249. }
  250. },
  251. "/api/v1/buildings/building/import": {
  252. "post": {
  253. "description": "楼栋导入",
  254. "consumes": [
  255. "application/json"
  256. ],
  257. "produces": [
  258. "application/json"
  259. ],
  260. "tags": [
  261. "楼盘管理"
  262. ],
  263. "summary": "楼栋导入",
  264. "parameters": [
  265. {
  266. "type": "string",
  267. "description": "token",
  268. "name": "token",
  269. "in": "header",
  270. "required": true
  271. },
  272. {
  273. "type": "file",
  274. "description": "file",
  275. "name": "file",
  276. "in": "formData",
  277. "required": true
  278. }
  279. ],
  280. "responses": {
  281. "200": {
  282. "description": "OK",
  283. "schema": {
  284. "$ref": "#/definitions/v1.BatchHouseAddResponse"
  285. }
  286. },
  287. "500": {
  288. "description": "Internal Server Error",
  289. "schema": {
  290. "$ref": "#/definitions/base.HTTPError"
  291. }
  292. }
  293. }
  294. }
  295. },
  296. "/api/v1/buildings/building/template": {
  297. "get": {
  298. "description": "获取楼盘模板",
  299. "consumes": [
  300. "application/json"
  301. ],
  302. "produces": [
  303. "application/json"
  304. ],
  305. "tags": [
  306. "楼盘管理"
  307. ],
  308. "summary": "获取楼盘模板",
  309. "parameters": [
  310. {
  311. "type": "string",
  312. "description": "token",
  313. "name": "token",
  314. "in": "header",
  315. "required": true
  316. }
  317. ],
  318. "responses": {
  319. "200": {
  320. "description": "OK",
  321. "schema": {
  322. "$ref": "#/definitions/v1.TemplateResponse"
  323. }
  324. },
  325. "500": {
  326. "description": "Internal Server Error",
  327. "schema": {
  328. "$ref": "#/definitions/base.HTTPError"
  329. }
  330. }
  331. }
  332. }
  333. },
  334. "/api/v1/buildings/house": {
  335. "get": {
  336. "description": "房屋列表",
  337. "consumes": [
  338. "application/json"
  339. ],
  340. "produces": [
  341. "application/json"
  342. ],
  343. "tags": [
  344. "楼盘管理"
  345. ],
  346. "summary": "房屋列表",
  347. "parameters": [
  348. {
  349. "type": "string",
  350. "description": "token",
  351. "name": "token",
  352. "in": "header",
  353. "required": true
  354. },
  355. {
  356. "type": "integer",
  357. "description": " ",
  358. "name": "page",
  359. "in": "query"
  360. },
  361. {
  362. "type": "integer",
  363. "description": " ",
  364. "name": "page_size",
  365. "in": "query"
  366. },
  367. {
  368. "type": "integer",
  369. "description": "门牌号906",
  370. "name": "house_number",
  371. "in": "query"
  372. },
  373. {
  374. "type": "integer",
  375. "description": "总房号 1-2-906",
  376. "name": "house_name",
  377. "in": "query"
  378. },
  379. {
  380. "type": "integer",
  381. "description": "楼栋id",
  382. "name": "building_id",
  383. "in": "query"
  384. },
  385. {
  386. "type": "integer",
  387. "description": "单元id",
  388. "name": "unit_id",
  389. "in": "query"
  390. },
  391. {
  392. "type": "integer",
  393. "description": "住户uid",
  394. "name": "household_uid",
  395. "in": "query"
  396. },
  397. {
  398. "type": "integer",
  399. "description": "房屋类型 1 住宅 2 商铺 3 办公",
  400. "name": "house_type",
  401. "in": "query"
  402. },
  403. {
  404. "type": "boolean",
  405. "description": "是否用于房屋租赁 true 是 false 否",
  406. "name": "house_rent",
  407. "in": "query"
  408. }
  409. ],
  410. "responses": {
  411. "200": {
  412. "description": "OK",
  413. "schema": {
  414. "$ref": "#/definitions/v1.HouseListResponse"
  415. }
  416. },
  417. "500": {
  418. "description": "Internal Server Error",
  419. "schema": {
  420. "$ref": "#/definitions/base.HTTPError"
  421. }
  422. }
  423. }
  424. },
  425. "put": {
  426. "description": "更改房屋",
  427. "consumes": [
  428. "application/json"
  429. ],
  430. "produces": [
  431. "application/json"
  432. ],
  433. "tags": [
  434. "楼盘管理"
  435. ],
  436. "summary": "更改房屋",
  437. "parameters": [
  438. {
  439. "type": "string",
  440. "description": "token",
  441. "name": "token",
  442. "in": "header",
  443. "required": true
  444. },
  445. {
  446. "description": "信息",
  447. "name": "body",
  448. "in": "body",
  449. "required": true,
  450. "schema": {
  451. "$ref": "#/definitions/v1.HouseUpdateBody"
  452. }
  453. }
  454. ],
  455. "responses": {
  456. "200": {
  457. "description": "OK",
  458. "schema": {
  459. "$ref": "#/definitions/v1.HouseUpdateResponse"
  460. }
  461. },
  462. "500": {
  463. "description": "Internal Server Error",
  464. "schema": {
  465. "$ref": "#/definitions/base.HTTPError"
  466. }
  467. }
  468. }
  469. },
  470. "post": {
  471. "description": "添加房屋",
  472. "consumes": [
  473. "application/json"
  474. ],
  475. "produces": [
  476. "application/json"
  477. ],
  478. "tags": [
  479. "楼盘管理"
  480. ],
  481. "summary": "添加房屋",
  482. "parameters": [
  483. {
  484. "type": "string",
  485. "description": "token",
  486. "name": "token",
  487. "in": "header",
  488. "required": true
  489. },
  490. {
  491. "description": "信息",
  492. "name": "body",
  493. "in": "body",
  494. "required": true,
  495. "schema": {
  496. "$ref": "#/definitions/v1.HouseAddBody"
  497. }
  498. }
  499. ],
  500. "responses": {
  501. "200": {
  502. "description": "OK",
  503. "schema": {
  504. "$ref": "#/definitions/v1.HouseAddResponse"
  505. }
  506. },
  507. "500": {
  508. "description": "Internal Server Error",
  509. "schema": {
  510. "$ref": "#/definitions/base.HTTPError"
  511. }
  512. }
  513. }
  514. },
  515. "delete": {
  516. "description": "删除房屋",
  517. "consumes": [
  518. "application/json"
  519. ],
  520. "produces": [
  521. "application/json"
  522. ],
  523. "tags": [
  524. "楼盘管理"
  525. ],
  526. "summary": "删除房屋",
  527. "parameters": [
  528. {
  529. "type": "string",
  530. "description": "token",
  531. "name": "token",
  532. "in": "header",
  533. "required": true
  534. },
  535. {
  536. "type": "integer",
  537. "description": "id",
  538. "name": "id",
  539. "in": "query",
  540. "required": true
  541. }
  542. ],
  543. "responses": {
  544. "200": {
  545. "description": "OK",
  546. "schema": {
  547. "$ref": "#/definitions/v1.HouseDelResponse"
  548. }
  549. },
  550. "500": {
  551. "description": "Internal Server Error",
  552. "schema": {
  553. "$ref": "#/definitions/base.HTTPError"
  554. }
  555. }
  556. }
  557. }
  558. },
  559. "/api/v1/buildings/house/import": {
  560. "post": {
  561. "description": "房屋导入",
  562. "consumes": [
  563. "application/json"
  564. ],
  565. "produces": [
  566. "application/json"
  567. ],
  568. "tags": [
  569. "楼盘管理"
  570. ],
  571. "summary": "房屋导入",
  572. "parameters": [
  573. {
  574. "type": "string",
  575. "description": "token",
  576. "name": "token",
  577. "in": "header",
  578. "required": true
  579. },
  580. {
  581. "type": "file",
  582. "description": "file",
  583. "name": "file",
  584. "in": "formData",
  585. "required": true
  586. }
  587. ],
  588. "responses": {
  589. "200": {
  590. "description": "OK",
  591. "schema": {
  592. "$ref": "#/definitions/v1.BatchHouseAddResponse"
  593. }
  594. },
  595. "500": {
  596. "description": "Internal Server Error",
  597. "schema": {
  598. "$ref": "#/definitions/base.HTTPError"
  599. }
  600. }
  601. }
  602. }
  603. },
  604. "/api/v1/buildings/house/template": {
  605. "get": {
  606. "description": "获取房屋模板",
  607. "consumes": [
  608. "application/json"
  609. ],
  610. "produces": [
  611. "application/json"
  612. ],
  613. "tags": [
  614. "楼盘管理"
  615. ],
  616. "summary": "获取房屋模板",
  617. "parameters": [
  618. {
  619. "type": "string",
  620. "description": "token",
  621. "name": "token",
  622. "in": "header",
  623. "required": true
  624. }
  625. ],
  626. "responses": {
  627. "200": {
  628. "description": "OK",
  629. "schema": {
  630. "$ref": "#/definitions/v1.TemplateResponse"
  631. }
  632. },
  633. "500": {
  634. "description": "Internal Server Error",
  635. "schema": {
  636. "$ref": "#/definitions/base.HTTPError"
  637. }
  638. }
  639. }
  640. }
  641. },
  642. "/api/v1/buildings/manager": {
  643. "get": {
  644. "description": "楼栋管家列表",
  645. "consumes": [
  646. "application/json"
  647. ],
  648. "produces": [
  649. "application/json"
  650. ],
  651. "tags": [
  652. "楼栋管理"
  653. ],
  654. "summary": "楼栋管家列表",
  655. "parameters": [
  656. {
  657. "type": "string",
  658. "description": "token",
  659. "name": "token",
  660. "in": "header",
  661. "required": true
  662. },
  663. {
  664. "type": "integer",
  665. "description": "楼栋id",
  666. "name": "building_id",
  667. "in": "query",
  668. "required": true
  669. }
  670. ],
  671. "responses": {
  672. "200": {
  673. "description": "OK",
  674. "schema": {
  675. "$ref": "#/definitions/v1.BuildingManagerListResponse"
  676. }
  677. },
  678. "500": {
  679. "description": "Internal Server Error",
  680. "schema": {
  681. "$ref": "#/definitions/base.HTTPError"
  682. }
  683. }
  684. }
  685. },
  686. "post": {
  687. "description": "添加楼栋管家",
  688. "consumes": [
  689. "application/json"
  690. ],
  691. "produces": [
  692. "application/json"
  693. ],
  694. "tags": [
  695. "楼栋管理"
  696. ],
  697. "summary": "添加楼栋管家",
  698. "parameters": [
  699. {
  700. "type": "string",
  701. "description": "token",
  702. "name": "token",
  703. "in": "header",
  704. "required": true
  705. },
  706. {
  707. "description": " ",
  708. "name": "body",
  709. "in": "body",
  710. "required": true,
  711. "schema": {
  712. "$ref": "#/definitions/v1.BuildingAddManagerBody"
  713. }
  714. }
  715. ],
  716. "responses": {
  717. "200": {
  718. "description": "OK",
  719. "schema": {
  720. "$ref": "#/definitions/v1.BuildingAddManagerResponse"
  721. }
  722. },
  723. "500": {
  724. "description": "Internal Server Error",
  725. "schema": {
  726. "$ref": "#/definitions/base.HTTPError"
  727. }
  728. }
  729. }
  730. },
  731. "delete": {
  732. "description": "删除楼栋管家",
  733. "consumes": [
  734. "application/json"
  735. ],
  736. "produces": [
  737. "application/json"
  738. ],
  739. "tags": [
  740. "楼栋管理"
  741. ],
  742. "summary": "删除楼栋管家",
  743. "parameters": [
  744. {
  745. "type": "string",
  746. "description": "token",
  747. "name": "token",
  748. "in": "header",
  749. "required": true
  750. },
  751. {
  752. "type": "integer",
  753. "description": "经纪人与楼栋的关系id",
  754. "name": "id",
  755. "in": "query",
  756. "required": true
  757. }
  758. ],
  759. "responses": {
  760. "200": {
  761. "description": "OK",
  762. "schema": {
  763. "$ref": "#/definitions/v1.BuildingDelManagerResponse"
  764. }
  765. },
  766. "500": {
  767. "description": "Internal Server Error",
  768. "schema": {
  769. "$ref": "#/definitions/base.HTTPError"
  770. }
  771. }
  772. }
  773. }
  774. },
  775. "/api/v1/buildings/unit": {
  776. "get": {
  777. "description": "单元列表",
  778. "consumes": [
  779. "application/json"
  780. ],
  781. "produces": [
  782. "application/json"
  783. ],
  784. "tags": [
  785. "楼盘管理"
  786. ],
  787. "summary": "单元列表",
  788. "parameters": [
  789. {
  790. "type": "string",
  791. "description": "token",
  792. "name": "token",
  793. "in": "header",
  794. "required": true
  795. },
  796. {
  797. "type": "integer",
  798. "description": " ",
  799. "name": "page",
  800. "in": "query"
  801. },
  802. {
  803. "type": "integer",
  804. "description": " ",
  805. "name": "page_size",
  806. "in": "query"
  807. },
  808. {
  809. "type": "integer",
  810. "description": "单元编号",
  811. "name": "unit_number",
  812. "in": "query"
  813. },
  814. {
  815. "type": "integer",
  816. "description": "楼栋id",
  817. "name": "building_id",
  818. "in": "query"
  819. }
  820. ],
  821. "responses": {
  822. "200": {
  823. "description": "OK",
  824. "schema": {
  825. "$ref": "#/definitions/v1.UnitListResponse"
  826. }
  827. },
  828. "500": {
  829. "description": "Internal Server Error",
  830. "schema": {
  831. "$ref": "#/definitions/base.HTTPError"
  832. }
  833. }
  834. }
  835. },
  836. "put": {
  837. "description": "更改单元",
  838. "consumes": [
  839. "application/json"
  840. ],
  841. "produces": [
  842. "application/json"
  843. ],
  844. "tags": [
  845. "楼盘管理"
  846. ],
  847. "summary": "更改单元",
  848. "parameters": [
  849. {
  850. "type": "string",
  851. "description": "token",
  852. "name": "token",
  853. "in": "header",
  854. "required": true
  855. },
  856. {
  857. "description": "信息",
  858. "name": "body",
  859. "in": "body",
  860. "required": true,
  861. "schema": {
  862. "$ref": "#/definitions/v1.UnitUpdateBody"
  863. }
  864. }
  865. ],
  866. "responses": {
  867. "200": {
  868. "description": "OK",
  869. "schema": {
  870. "$ref": "#/definitions/v1.UnitUpdateResponse"
  871. }
  872. },
  873. "500": {
  874. "description": "Internal Server Error",
  875. "schema": {
  876. "$ref": "#/definitions/base.HTTPError"
  877. }
  878. }
  879. }
  880. },
  881. "post": {
  882. "description": "添加单元",
  883. "consumes": [
  884. "application/json"
  885. ],
  886. "produces": [
  887. "application/json"
  888. ],
  889. "tags": [
  890. "楼盘管理"
  891. ],
  892. "summary": "添加单元",
  893. "parameters": [
  894. {
  895. "type": "string",
  896. "description": "token",
  897. "name": "token",
  898. "in": "header",
  899. "required": true
  900. },
  901. {
  902. "description": "信息",
  903. "name": "body",
  904. "in": "body",
  905. "required": true,
  906. "schema": {
  907. "$ref": "#/definitions/v1.UnitAddBody"
  908. }
  909. }
  910. ],
  911. "responses": {
  912. "200": {
  913. "description": "OK",
  914. "schema": {
  915. "$ref": "#/definitions/v1.UnitAddResponse"
  916. }
  917. },
  918. "500": {
  919. "description": "Internal Server Error",
  920. "schema": {
  921. "$ref": "#/definitions/base.HTTPError"
  922. }
  923. }
  924. }
  925. },
  926. "delete": {
  927. "description": "删除单元",
  928. "consumes": [
  929. "application/json"
  930. ],
  931. "produces": [
  932. "application/json"
  933. ],
  934. "tags": [
  935. "楼盘管理"
  936. ],
  937. "summary": "删除单元",
  938. "parameters": [
  939. {
  940. "type": "string",
  941. "description": "token",
  942. "name": "token",
  943. "in": "header",
  944. "required": true
  945. },
  946. {
  947. "type": "integer",
  948. "description": "id",
  949. "name": "id",
  950. "in": "query",
  951. "required": true
  952. }
  953. ],
  954. "responses": {
  955. "200": {
  956. "description": "OK",
  957. "schema": {
  958. "$ref": "#/definitions/v1.UnitDelResponse"
  959. }
  960. },
  961. "500": {
  962. "description": "Internal Server Error",
  963. "schema": {
  964. "$ref": "#/definitions/base.HTTPError"
  965. }
  966. }
  967. }
  968. }
  969. },
  970. "/api/v1/buildings/unit/import": {
  971. "post": {
  972. "description": "单元导入",
  973. "consumes": [
  974. "application/json"
  975. ],
  976. "produces": [
  977. "application/json"
  978. ],
  979. "tags": [
  980. "楼盘管理"
  981. ],
  982. "summary": "单元导入",
  983. "parameters": [
  984. {
  985. "type": "string",
  986. "description": "token",
  987. "name": "token",
  988. "in": "header",
  989. "required": true
  990. },
  991. {
  992. "type": "file",
  993. "description": "file",
  994. "name": "file",
  995. "in": "formData",
  996. "required": true
  997. }
  998. ],
  999. "responses": {
  1000. "200": {
  1001. "description": "OK",
  1002. "schema": {
  1003. "$ref": "#/definitions/v1.BatchHouseAddResponse"
  1004. }
  1005. },
  1006. "500": {
  1007. "description": "Internal Server Error",
  1008. "schema": {
  1009. "$ref": "#/definitions/base.HTTPError"
  1010. }
  1011. }
  1012. }
  1013. }
  1014. },
  1015. "/api/v1/buildings/unit/template": {
  1016. "get": {
  1017. "description": "获取单元模板",
  1018. "consumes": [
  1019. "application/json"
  1020. ],
  1021. "produces": [
  1022. "application/json"
  1023. ],
  1024. "tags": [
  1025. "楼盘管理"
  1026. ],
  1027. "summary": "获取单元模板",
  1028. "parameters": [
  1029. {
  1030. "type": "string",
  1031. "description": "token",
  1032. "name": "token",
  1033. "in": "header",
  1034. "required": true
  1035. }
  1036. ],
  1037. "responses": {
  1038. "200": {
  1039. "description": "OK",
  1040. "schema": {
  1041. "$ref": "#/definitions/v1.TemplateResponse"
  1042. }
  1043. },
  1044. "500": {
  1045. "description": "Internal Server Error",
  1046. "schema": {
  1047. "$ref": "#/definitions/base.HTTPError"
  1048. }
  1049. }
  1050. }
  1051. }
  1052. },
  1053. "/api/v1/charge/batch_urge": {
  1054. "get": {
  1055. "description": "批量催缴单",
  1056. "consumes": [
  1057. "application/json"
  1058. ],
  1059. "produces": [
  1060. "application/json"
  1061. ],
  1062. "tags": [
  1063. "对象收费相关"
  1064. ],
  1065. "summary": "批量催缴单",
  1066. "parameters": [
  1067. {
  1068. "type": "string",
  1069. "description": "token",
  1070. "name": "token",
  1071. "in": "header",
  1072. "required": true
  1073. },
  1074. {
  1075. "type": "integer",
  1076. "description": "1 房屋 2 车位",
  1077. "name": "obj_type",
  1078. "in": "query",
  1079. "required": true
  1080. }
  1081. ],
  1082. "responses": {
  1083. "200": {
  1084. "description": "OK",
  1085. "schema": {
  1086. "$ref": "#/definitions/v1.BatchUrgeResponse"
  1087. }
  1088. },
  1089. "500": {
  1090. "description": "Internal Server Error",
  1091. "schema": {
  1092. "$ref": "#/definitions/base.HTTPError"
  1093. }
  1094. }
  1095. }
  1096. }
  1097. },
  1098. "/api/v1/charge/bind": {
  1099. "put": {
  1100. "description": "费用绑定对象",
  1101. "consumes": [
  1102. "application/json"
  1103. ],
  1104. "produces": [
  1105. "application/json"
  1106. ],
  1107. "tags": [
  1108. "费用绑定相关"
  1109. ],
  1110. "summary": "费用绑定对象",
  1111. "parameters": [
  1112. {
  1113. "type": "string",
  1114. "description": "token",
  1115. "name": "token",
  1116. "in": "header",
  1117. "required": true
  1118. },
  1119. {
  1120. "description": "信息",
  1121. "name": "body",
  1122. "in": "body",
  1123. "required": true,
  1124. "schema": {
  1125. "$ref": "#/definitions/v1.ChargeBindBody"
  1126. }
  1127. }
  1128. ],
  1129. "responses": {
  1130. "200": {
  1131. "description": "OK",
  1132. "schema": {
  1133. "$ref": "#/definitions/v1.ChargeBindResponse"
  1134. }
  1135. },
  1136. "500": {
  1137. "description": "Internal Server Error",
  1138. "schema": {
  1139. "$ref": "#/definitions/base.HTTPError"
  1140. }
  1141. }
  1142. }
  1143. }
  1144. },
  1145. "/api/v1/charge/conf": {
  1146. "get": {
  1147. "description": "费用配置列表",
  1148. "consumes": [
  1149. "application/json"
  1150. ],
  1151. "produces": [
  1152. "application/json"
  1153. ],
  1154. "tags": [
  1155. "费用配置"
  1156. ],
  1157. "summary": "费用配置列表",
  1158. "parameters": [
  1159. {
  1160. "type": "integer",
  1161. "description": " ",
  1162. "name": "page",
  1163. "in": "query"
  1164. },
  1165. {
  1166. "type": "integer",
  1167. "description": " ",
  1168. "name": "page_size",
  1169. "in": "query"
  1170. },
  1171. {
  1172. "type": "integer",
  1173. "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  1174. "name": "charge_type",
  1175. "in": "query"
  1176. },
  1177. {
  1178. "type": "string",
  1179. "description": "token",
  1180. "name": "token",
  1181. "in": "header",
  1182. "required": true
  1183. }
  1184. ],
  1185. "responses": {
  1186. "200": {
  1187. "description": "OK",
  1188. "schema": {
  1189. "$ref": "#/definitions/v1.ChargeConfListResponse"
  1190. }
  1191. },
  1192. "500": {
  1193. "description": "Internal Server Error",
  1194. "schema": {
  1195. "$ref": "#/definitions/base.HTTPError"
  1196. }
  1197. }
  1198. }
  1199. },
  1200. "put": {
  1201. "description": "修改费用配置",
  1202. "consumes": [
  1203. "application/json"
  1204. ],
  1205. "produces": [
  1206. "application/json"
  1207. ],
  1208. "tags": [
  1209. "费用配置"
  1210. ],
  1211. "summary": "修改费用配置",
  1212. "parameters": [
  1213. {
  1214. "type": "string",
  1215. "description": "token",
  1216. "name": "token",
  1217. "in": "header",
  1218. "required": true
  1219. },
  1220. {
  1221. "description": "信息",
  1222. "name": "body",
  1223. "in": "body",
  1224. "required": true,
  1225. "schema": {
  1226. "$ref": "#/definitions/v1.ChargeConfUpdateBody"
  1227. }
  1228. }
  1229. ],
  1230. "responses": {
  1231. "200": {
  1232. "description": "OK",
  1233. "schema": {
  1234. "$ref": "#/definitions/v1.ChargeConfUpdateResponse"
  1235. }
  1236. },
  1237. "500": {
  1238. "description": "Internal Server Error",
  1239. "schema": {
  1240. "$ref": "#/definitions/base.HTTPError"
  1241. }
  1242. }
  1243. }
  1244. },
  1245. "post": {
  1246. "description": "添加费用配置",
  1247. "consumes": [
  1248. "application/json"
  1249. ],
  1250. "produces": [
  1251. "application/json"
  1252. ],
  1253. "tags": [
  1254. "费用配置"
  1255. ],
  1256. "summary": "添加费用配置",
  1257. "parameters": [
  1258. {
  1259. "type": "string",
  1260. "description": "token",
  1261. "name": "token",
  1262. "in": "header",
  1263. "required": true
  1264. },
  1265. {
  1266. "description": "信息",
  1267. "name": "body",
  1268. "in": "body",
  1269. "required": true,
  1270. "schema": {
  1271. "$ref": "#/definitions/v1.ChargeConfAddBody"
  1272. }
  1273. }
  1274. ],
  1275. "responses": {
  1276. "200": {
  1277. "description": "OK",
  1278. "schema": {
  1279. "$ref": "#/definitions/v1.ChargeConfAddResponse"
  1280. }
  1281. },
  1282. "500": {
  1283. "description": "Internal Server Error",
  1284. "schema": {
  1285. "$ref": "#/definitions/base.HTTPError"
  1286. }
  1287. }
  1288. }
  1289. },
  1290. "delete": {
  1291. "description": "删除费用配置",
  1292. "consumes": [
  1293. "application/json"
  1294. ],
  1295. "produces": [
  1296. "application/json"
  1297. ],
  1298. "tags": [
  1299. "费用配置"
  1300. ],
  1301. "summary": "删除费用配置",
  1302. "parameters": [
  1303. {
  1304. "type": "integer",
  1305. "description": " ",
  1306. "name": "id",
  1307. "in": "query",
  1308. "required": true
  1309. },
  1310. {
  1311. "type": "string",
  1312. "description": "token",
  1313. "name": "token",
  1314. "in": "header",
  1315. "required": true
  1316. }
  1317. ],
  1318. "responses": {
  1319. "200": {
  1320. "description": "OK",
  1321. "schema": {
  1322. "$ref": "#/definitions/v1.ChargeConfDelResponse"
  1323. }
  1324. },
  1325. "500": {
  1326. "description": "Internal Server Error",
  1327. "schema": {
  1328. "$ref": "#/definitions/base.HTTPError"
  1329. }
  1330. }
  1331. }
  1332. }
  1333. },
  1334. "/api/v1/charge/discard_bill/list": {
  1335. "get": {
  1336. "description": "作废账单列表",
  1337. "consumes": [
  1338. "application/json"
  1339. ],
  1340. "produces": [
  1341. "application/json"
  1342. ],
  1343. "tags": [
  1344. "作废账单"
  1345. ],
  1346. "summary": "作废账单列表",
  1347. "parameters": [
  1348. {
  1349. "type": "string",
  1350. "description": "token",
  1351. "name": "token",
  1352. "in": "header",
  1353. "required": true
  1354. },
  1355. {
  1356. "type": "integer",
  1357. "description": " ",
  1358. "name": "page",
  1359. "in": "query"
  1360. },
  1361. {
  1362. "type": "integer",
  1363. "description": " ",
  1364. "name": "page_size",
  1365. "in": "query"
  1366. },
  1367. {
  1368. "type": "integer",
  1369. "description": "费用类型 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  1370. "name": "charge_type",
  1371. "in": "query"
  1372. },
  1373. {
  1374. "type": "string",
  1375. "description": "对象名",
  1376. "name": "obj_name",
  1377. "in": "query"
  1378. },
  1379. {
  1380. "type": "string",
  1381. "description": "费项名",
  1382. "name": "charge_name",
  1383. "in": "query"
  1384. },
  1385. {
  1386. "type": "integer",
  1387. "description": "1 房屋 2 车位 3 车辆 ",
  1388. "name": "obj_type",
  1389. "in": "query"
  1390. }
  1391. ],
  1392. "responses": {
  1393. "200": {
  1394. "description": "OK",
  1395. "schema": {
  1396. "$ref": "#/definitions/v1.ChargeDelBillListResponse"
  1397. }
  1398. },
  1399. "500": {
  1400. "description": "Internal Server Error",
  1401. "schema": {
  1402. "$ref": "#/definitions/base.HTTPError"
  1403. }
  1404. }
  1405. }
  1406. }
  1407. },
  1408. "/api/v1/charge/discard_bill/recover": {
  1409. "put": {
  1410. "description": "恢复账单",
  1411. "consumes": [
  1412. "application/json"
  1413. ],
  1414. "produces": [
  1415. "application/json"
  1416. ],
  1417. "tags": [
  1418. "作废账单"
  1419. ],
  1420. "summary": "恢复账单",
  1421. "parameters": [
  1422. {
  1423. "type": "string",
  1424. "description": "token",
  1425. "name": "token",
  1426. "in": "header",
  1427. "required": true
  1428. },
  1429. {
  1430. "description": " ",
  1431. "name": "body",
  1432. "in": "body",
  1433. "required": true,
  1434. "schema": {
  1435. "$ref": "#/definitions/v1.ChargeRecoverBillBody"
  1436. }
  1437. }
  1438. ],
  1439. "responses": {
  1440. "200": {
  1441. "description": "OK",
  1442. "schema": {
  1443. "$ref": "#/definitions/v1.ChargeRecoverBillResponse"
  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/house/binded_list": {
  1456. "get": {
  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. "type": "integer",
  1478. "description": "费项id",
  1479. "name": "charge_id",
  1480. "in": "query",
  1481. "required": true
  1482. },
  1483. {
  1484. "type": "integer",
  1485. "description": " ",
  1486. "name": "page",
  1487. "in": "query"
  1488. },
  1489. {
  1490. "type": "integer",
  1491. "description": " ",
  1492. "name": "page_size",
  1493. "in": "query"
  1494. }
  1495. ],
  1496. "responses": {
  1497. "200": {
  1498. "description": "OK",
  1499. "schema": {
  1500. "$ref": "#/definitions/v1.ChargeHouseBindedListResponse"
  1501. }
  1502. },
  1503. "500": {
  1504. "description": "Internal Server Error",
  1505. "schema": {
  1506. "$ref": "#/definitions/base.HTTPError"
  1507. }
  1508. }
  1509. }
  1510. }
  1511. },
  1512. "/api/v1/charge/house/can_bind_list": {
  1513. "get": {
  1514. "description": "可以绑定某项目的房屋列表",
  1515. "consumes": [
  1516. "application/json"
  1517. ],
  1518. "produces": [
  1519. "application/json"
  1520. ],
  1521. "tags": [
  1522. "费用绑定相关"
  1523. ],
  1524. "summary": "可以绑定某项目的房屋列表",
  1525. "parameters": [
  1526. {
  1527. "type": "string",
  1528. "description": "token",
  1529. "name": "token",
  1530. "in": "header",
  1531. "required": true
  1532. },
  1533. {
  1534. "type": "integer",
  1535. "description": "费项id",
  1536. "name": "charge_id",
  1537. "in": "query",
  1538. "required": true
  1539. },
  1540. {
  1541. "type": "integer",
  1542. "description": " ",
  1543. "name": "page",
  1544. "in": "query"
  1545. },
  1546. {
  1547. "type": "integer",
  1548. "description": " ",
  1549. "name": "page_size",
  1550. "in": "query"
  1551. },
  1552. {
  1553. "type": "string",
  1554. "description": "房号1-2-906",
  1555. "name": "house_name",
  1556. "in": "query"
  1557. }
  1558. ],
  1559. "responses": {
  1560. "200": {
  1561. "description": "OK",
  1562. "schema": {
  1563. "$ref": "#/definitions/v1.ChargeHouseNotBindListResponse"
  1564. }
  1565. },
  1566. "500": {
  1567. "description": "Internal Server Error",
  1568. "schema": {
  1569. "$ref": "#/definitions/base.HTTPError"
  1570. }
  1571. }
  1572. }
  1573. }
  1574. },
  1575. "/api/v1/charge/obj_charge/bill": {
  1576. "put": {
  1577. "description": "手动生成账单,仅周期性费用和水电气可以生成",
  1578. "consumes": [
  1579. "application/json"
  1580. ],
  1581. "produces": [
  1582. "application/json"
  1583. ],
  1584. "tags": [
  1585. "对象收费相关"
  1586. ],
  1587. "summary": "手动生成账单,仅周期性费用和水电气可以生成",
  1588. "parameters": [
  1589. {
  1590. "type": "string",
  1591. "description": "token",
  1592. "name": "token",
  1593. "in": "header",
  1594. "required": true
  1595. },
  1596. {
  1597. "description": " ",
  1598. "name": "body",
  1599. "in": "body",
  1600. "required": true,
  1601. "schema": {
  1602. "$ref": "#/definitions/v1.ChargeGenerateBillBody"
  1603. }
  1604. }
  1605. ],
  1606. "responses": {
  1607. "200": {
  1608. "description": "OK",
  1609. "schema": {
  1610. "$ref": "#/definitions/v1.ChargeGenerateBillResponse"
  1611. }
  1612. },
  1613. "500": {
  1614. "description": "Internal Server Error",
  1615. "schema": {
  1616. "$ref": "#/definitions/base.HTTPError"
  1617. }
  1618. }
  1619. }
  1620. }
  1621. },
  1622. "/api/v1/charge/obj_charge/bill_list": {
  1623. "get": {
  1624. "description": "对象的某费项下的待缴账单列表",
  1625. "consumes": [
  1626. "application/json"
  1627. ],
  1628. "produces": [
  1629. "application/json"
  1630. ],
  1631. "tags": [
  1632. "对象收费相关"
  1633. ],
  1634. "summary": "对象的某费项下的待缴账单列表",
  1635. "parameters": [
  1636. {
  1637. "type": "string",
  1638. "description": "token",
  1639. "name": "token",
  1640. "in": "header",
  1641. "required": true
  1642. },
  1643. {
  1644. "type": "integer",
  1645. "description": "绑定关系id",
  1646. "name": "bind_id",
  1647. "in": "query",
  1648. "required": true
  1649. },
  1650. {
  1651. "type": "integer",
  1652. "description": " ",
  1653. "name": "page",
  1654. "in": "query"
  1655. },
  1656. {
  1657. "type": "integer",
  1658. "description": " ",
  1659. "name": "page_size",
  1660. "in": "query"
  1661. }
  1662. ],
  1663. "responses": {
  1664. "200": {
  1665. "description": "OK",
  1666. "schema": {
  1667. "$ref": "#/definitions/v1.ChargeBillListResponse"
  1668. }
  1669. },
  1670. "500": {
  1671. "description": "Internal Server Error",
  1672. "schema": {
  1673. "$ref": "#/definitions/base.HTTPError"
  1674. }
  1675. }
  1676. }
  1677. }
  1678. },
  1679. "/api/v1/charge/obj_charge/charge_list": {
  1680. "get": {
  1681. "description": "查看费用,费项列表",
  1682. "consumes": [
  1683. "application/json"
  1684. ],
  1685. "produces": [
  1686. "application/json"
  1687. ],
  1688. "tags": [
  1689. "对象收费相关"
  1690. ],
  1691. "summary": "查看费用,费项列表",
  1692. "parameters": [
  1693. {
  1694. "type": "string",
  1695. "description": "token",
  1696. "name": "token",
  1697. "in": "header",
  1698. "required": true
  1699. },
  1700. {
  1701. "type": "integer",
  1702. "description": "房屋/车位/车辆id",
  1703. "name": "obj_id",
  1704. "in": "query",
  1705. "required": true
  1706. },
  1707. {
  1708. "type": "integer",
  1709. "description": "1 房屋 2 车位 3 车辆 ",
  1710. "name": "obj_type",
  1711. "in": "query",
  1712. "required": true
  1713. },
  1714. {
  1715. "type": "integer",
  1716. "description": " ",
  1717. "name": "page",
  1718. "in": "query"
  1719. },
  1720. {
  1721. "type": "integer",
  1722. "description": " ",
  1723. "name": "page_size",
  1724. "in": "query"
  1725. }
  1726. ],
  1727. "responses": {
  1728. "200": {
  1729. "description": "OK",
  1730. "schema": {
  1731. "$ref": "#/definitions/v1.ChargeListResponse"
  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/house_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": " ",
  1767. "name": "page",
  1768. "in": "query"
  1769. },
  1770. {
  1771. "type": "integer",
  1772. "description": " ",
  1773. "name": "page_size",
  1774. "in": "query"
  1775. }
  1776. ],
  1777. "responses": {
  1778. "200": {
  1779. "description": "OK",
  1780. "schema": {
  1781. "$ref": "#/definitions/v1.ChargeHouseGroupResponse"
  1782. }
  1783. },
  1784. "500": {
  1785. "description": "Internal Server Error",
  1786. "schema": {
  1787. "$ref": "#/definitions/base.HTTPError"
  1788. }
  1789. }
  1790. }
  1791. }
  1792. },
  1793. "/api/v1/charge/obj_charge/pay": {
  1794. "put": {
  1795. "description": "欠费线下缴费",
  1796. "consumes": [
  1797. "application/json"
  1798. ],
  1799. "produces": [
  1800. "application/json"
  1801. ],
  1802. "tags": [
  1803. "对象收费相关"
  1804. ],
  1805. "summary": "欠费线下缴费",
  1806. "parameters": [
  1807. {
  1808. "type": "string",
  1809. "description": "token",
  1810. "name": "token",
  1811. "in": "header",
  1812. "required": true
  1813. },
  1814. {
  1815. "description": " ",
  1816. "name": "body",
  1817. "in": "body",
  1818. "required": true,
  1819. "schema": {
  1820. "$ref": "#/definitions/v1.ChargeBillPayBody"
  1821. }
  1822. }
  1823. ],
  1824. "responses": {
  1825. "200": {
  1826. "description": "OK",
  1827. "schema": {
  1828. "$ref": "#/definitions/v1.ChargeBillPayResponse"
  1829. }
  1830. },
  1831. "500": {
  1832. "description": "Internal Server Error",
  1833. "schema": {
  1834. "$ref": "#/definitions/base.HTTPError"
  1835. }
  1836. }
  1837. }
  1838. }
  1839. },
  1840. "/api/v1/charge/obj_charge/pre_pay": {
  1841. "put": {
  1842. "description": "线下预缴物业费或车位费",
  1843. "consumes": [
  1844. "application/json"
  1845. ],
  1846. "produces": [
  1847. "application/json"
  1848. ],
  1849. "tags": [
  1850. "对象收费相关"
  1851. ],
  1852. "summary": "线下预缴物业费或车位费",
  1853. "parameters": [
  1854. {
  1855. "type": "string",
  1856. "description": "token",
  1857. "name": "token",
  1858. "in": "header",
  1859. "required": true
  1860. },
  1861. {
  1862. "description": " ",
  1863. "name": "body",
  1864. "in": "body",
  1865. "required": true,
  1866. "schema": {
  1867. "$ref": "#/definitions/v1.ChargePrePayBody"
  1868. }
  1869. }
  1870. ],
  1871. "responses": {
  1872. "200": {
  1873. "description": "OK",
  1874. "schema": {
  1875. "$ref": "#/definitions/v1.ChargePrePayResponse"
  1876. }
  1877. },
  1878. "500": {
  1879. "description": "Internal Server Error",
  1880. "schema": {
  1881. "$ref": "#/definitions/base.HTTPError"
  1882. }
  1883. }
  1884. }
  1885. }
  1886. },
  1887. "/api/v1/charge/obj_charge/pre_pay_info": {
  1888. "get": {
  1889. "description": "预缴物业费或车位费前获取对应的金额信息",
  1890. "consumes": [
  1891. "application/json"
  1892. ],
  1893. "produces": [
  1894. "application/json"
  1895. ],
  1896. "tags": [
  1897. "对象收费相关"
  1898. ],
  1899. "summary": "预缴物业费或车位费前获取对应的金额信息",
  1900. "parameters": [
  1901. {
  1902. "type": "string",
  1903. "description": "token",
  1904. "name": "token",
  1905. "in": "header",
  1906. "required": true
  1907. },
  1908. {
  1909. "type": "integer",
  1910. "description": "关系id",
  1911. "name": "bind_id",
  1912. "in": "query",
  1913. "required": true
  1914. },
  1915. {
  1916. "type": "integer",
  1917. "description": "缴费月数",
  1918. "name": "months",
  1919. "in": "query",
  1920. "required": true
  1921. }
  1922. ],
  1923. "responses": {
  1924. "200": {
  1925. "description": "OK",
  1926. "schema": {
  1927. "$ref": "#/definitions/v1.ChargePrePayInfoResponse"
  1928. }
  1929. },
  1930. "500": {
  1931. "description": "Internal Server Error",
  1932. "schema": {
  1933. "$ref": "#/definitions/base.HTTPError"
  1934. }
  1935. }
  1936. }
  1937. }
  1938. },
  1939. "/api/v1/charge/obj_charge/space_list": {
  1940. "get": {
  1941. "description": "车位收费 车位列表",
  1942. "consumes": [
  1943. "application/json"
  1944. ],
  1945. "produces": [
  1946. "application/json"
  1947. ],
  1948. "tags": [
  1949. "对象收费相关"
  1950. ],
  1951. "summary": "车位收费 车位列表",
  1952. "parameters": [
  1953. {
  1954. "type": "string",
  1955. "description": "token",
  1956. "name": "token",
  1957. "in": "header",
  1958. "required": true
  1959. },
  1960. {
  1961. "type": "integer",
  1962. "description": " ",
  1963. "name": "page",
  1964. "in": "query"
  1965. },
  1966. {
  1967. "type": "integer",
  1968. "description": " ",
  1969. "name": "page_size",
  1970. "in": "query"
  1971. }
  1972. ],
  1973. "responses": {
  1974. "200": {
  1975. "description": "OK",
  1976. "schema": {
  1977. "$ref": "#/definitions/v1.ChargeSpaceGroupResponse"
  1978. }
  1979. },
  1980. "500": {
  1981. "description": "Internal Server Error",
  1982. "schema": {
  1983. "$ref": "#/definitions/base.HTTPError"
  1984. }
  1985. }
  1986. }
  1987. }
  1988. },
  1989. "/api/v1/charge/obj_charge/ticket": {
  1990. "get": {
  1991. "description": "小票和收据信息",
  1992. "consumes": [
  1993. "application/json"
  1994. ],
  1995. "produces": [
  1996. "application/json"
  1997. ],
  1998. "tags": [
  1999. "对象收费相关"
  2000. ],
  2001. "summary": "小票和收据信息",
  2002. "parameters": [
  2003. {
  2004. "type": "string",
  2005. "description": "token",
  2006. "name": "token",
  2007. "in": "header",
  2008. "required": true
  2009. },
  2010. {
  2011. "type": "string",
  2012. "description": "订单号 ",
  2013. "name": "order_id",
  2014. "in": "query",
  2015. "required": true
  2016. }
  2017. ],
  2018. "responses": {
  2019. "200": {
  2020. "description": "OK",
  2021. "schema": {
  2022. "$ref": "#/definitions/v1.ChargeOrderTicketResponse"
  2023. }
  2024. },
  2025. "500": {
  2026. "description": "Internal Server Error",
  2027. "schema": {
  2028. "$ref": "#/definitions/base.HTTPError"
  2029. }
  2030. }
  2031. }
  2032. }
  2033. },
  2034. "/api/v1/charge/obj_charge/time": {
  2035. "put": {
  2036. "description": "变更时间",
  2037. "consumes": [
  2038. "application/json"
  2039. ],
  2040. "produces": [
  2041. "application/json"
  2042. ],
  2043. "tags": [
  2044. "对象收费相关"
  2045. ],
  2046. "summary": "变更时间",
  2047. "parameters": [
  2048. {
  2049. "type": "string",
  2050. "description": "token",
  2051. "name": "token",
  2052. "in": "header",
  2053. "required": true
  2054. },
  2055. {
  2056. "description": " ",
  2057. "name": "body",
  2058. "in": "body",
  2059. "required": true,
  2060. "schema": {
  2061. "$ref": "#/definitions/v1.ChargeTimeSetBody"
  2062. }
  2063. }
  2064. ],
  2065. "responses": {
  2066. "200": {
  2067. "description": "OK",
  2068. "schema": {
  2069. "$ref": "#/definitions/v1.ChargeTimeSetResponse"
  2070. }
  2071. },
  2072. "500": {
  2073. "description": "Internal Server Error",
  2074. "schema": {
  2075. "$ref": "#/definitions/base.HTTPError"
  2076. }
  2077. }
  2078. }
  2079. }
  2080. },
  2081. "/api/v1/charge/obj_charge/unpay_list": {
  2082. "get": {
  2083. "description": "欠费缴费欠费列表",
  2084. "consumes": [
  2085. "application/json"
  2086. ],
  2087. "produces": [
  2088. "application/json"
  2089. ],
  2090. "tags": [
  2091. "对象收费相关"
  2092. ],
  2093. "summary": "欠费缴费欠费列表",
  2094. "parameters": [
  2095. {
  2096. "type": "string",
  2097. "description": "token",
  2098. "name": "token",
  2099. "in": "header",
  2100. "required": true
  2101. },
  2102. {
  2103. "type": "integer",
  2104. "description": "房屋/车位/车辆id",
  2105. "name": "obj_id",
  2106. "in": "query",
  2107. "required": true
  2108. },
  2109. {
  2110. "type": "integer",
  2111. "description": "1 房屋 2 车位 3 车辆 ",
  2112. "name": "obj_type",
  2113. "in": "query",
  2114. "required": true
  2115. },
  2116. {
  2117. "type": "integer",
  2118. "description": " ",
  2119. "name": "page",
  2120. "in": "query"
  2121. },
  2122. {
  2123. "type": "integer",
  2124. "description": " ",
  2125. "name": "page_size",
  2126. "in": "query"
  2127. }
  2128. ],
  2129. "responses": {
  2130. "200": {
  2131. "description": "OK",
  2132. "schema": {
  2133. "$ref": "#/definitions/v1.ChargeUnpayListResponse"
  2134. }
  2135. },
  2136. "500": {
  2137. "description": "Internal Server Error",
  2138. "schema": {
  2139. "$ref": "#/definitions/base.HTTPError"
  2140. }
  2141. }
  2142. }
  2143. }
  2144. },
  2145. "/api/v1/charge/obj_charge/vehicle_list": {
  2146. "get": {
  2147. "description": "车辆收费 车辆列表",
  2148. "consumes": [
  2149. "application/json"
  2150. ],
  2151. "produces": [
  2152. "application/json"
  2153. ],
  2154. "tags": [
  2155. "对象收费相关"
  2156. ],
  2157. "summary": "车辆收费 车辆列表",
  2158. "parameters": [
  2159. {
  2160. "type": "string",
  2161. "description": "token",
  2162. "name": "token",
  2163. "in": "header",
  2164. "required": true
  2165. },
  2166. {
  2167. "type": "integer",
  2168. "description": " ",
  2169. "name": "page",
  2170. "in": "query"
  2171. },
  2172. {
  2173. "type": "integer",
  2174. "description": " ",
  2175. "name": "page_size",
  2176. "in": "query"
  2177. }
  2178. ],
  2179. "responses": {
  2180. "200": {
  2181. "description": "OK",
  2182. "schema": {
  2183. "$ref": "#/definitions/v1.ChargeVehicleGroupResponse"
  2184. }
  2185. },
  2186. "500": {
  2187. "description": "Internal Server Error",
  2188. "schema": {
  2189. "$ref": "#/definitions/base.HTTPError"
  2190. }
  2191. }
  2192. }
  2193. }
  2194. },
  2195. "/api/v1/charge/order/confirm": {
  2196. "put": {
  2197. "description": "确认订单已支付",
  2198. "consumes": [
  2199. "application/json"
  2200. ],
  2201. "produces": [
  2202. "application/json"
  2203. ],
  2204. "tags": [
  2205. "缴费订单"
  2206. ],
  2207. "summary": "确认订单已支付",
  2208. "parameters": [
  2209. {
  2210. "type": "string",
  2211. "description": "token",
  2212. "name": "token",
  2213. "in": "header",
  2214. "required": true
  2215. },
  2216. {
  2217. "description": " ",
  2218. "name": "body",
  2219. "in": "body",
  2220. "required": true,
  2221. "schema": {
  2222. "$ref": "#/definitions/v1.ChargeOrderPayBody"
  2223. }
  2224. }
  2225. ],
  2226. "responses": {
  2227. "200": {
  2228. "description": "OK",
  2229. "schema": {
  2230. "$ref": "#/definitions/v1.ChargeOrderPayResponse"
  2231. }
  2232. },
  2233. "500": {
  2234. "description": "Internal Server Error",
  2235. "schema": {
  2236. "$ref": "#/definitions/base.HTTPError"
  2237. }
  2238. }
  2239. }
  2240. }
  2241. },
  2242. "/api/v1/charge/order/info": {
  2243. "get": {
  2244. "description": "订单详情",
  2245. "consumes": [
  2246. "application/json"
  2247. ],
  2248. "produces": [
  2249. "application/json"
  2250. ],
  2251. "tags": [
  2252. "缴费订单"
  2253. ],
  2254. "summary": "订单详情",
  2255. "parameters": [
  2256. {
  2257. "type": "string",
  2258. "description": "token",
  2259. "name": "token",
  2260. "in": "header",
  2261. "required": true
  2262. },
  2263. {
  2264. "type": "string",
  2265. "description": "订单详情",
  2266. "name": "order_id",
  2267. "in": "query",
  2268. "required": true
  2269. }
  2270. ],
  2271. "responses": {
  2272. "200": {
  2273. "description": "OK",
  2274. "schema": {
  2275. "$ref": "#/definitions/v1.ChargeOrderInfoResponse"
  2276. }
  2277. },
  2278. "500": {
  2279. "description": "Internal Server Error",
  2280. "schema": {
  2281. "$ref": "#/definitions/base.HTTPError"
  2282. }
  2283. }
  2284. }
  2285. }
  2286. },
  2287. "/api/v1/charge/order/list": {
  2288. "get": {
  2289. "description": "缴费订单列表",
  2290. "consumes": [
  2291. "application/json"
  2292. ],
  2293. "produces": [
  2294. "application/json"
  2295. ],
  2296. "tags": [
  2297. "缴费订单"
  2298. ],
  2299. "summary": "缴费订单列表",
  2300. "parameters": [
  2301. {
  2302. "type": "string",
  2303. "description": "token",
  2304. "name": "token",
  2305. "in": "header",
  2306. "required": true
  2307. },
  2308. {
  2309. "type": "integer",
  2310. "description": " ",
  2311. "name": "page",
  2312. "in": "query"
  2313. },
  2314. {
  2315. "type": "integer",
  2316. "description": " ",
  2317. "name": "page_size",
  2318. "in": "query"
  2319. },
  2320. {
  2321. "type": "integer",
  2322. "description": "1 现金 2 微信 3 支付宝 4 pos 5 转账 6 小程序微信支付 7 小程序支付宝支付 8 app 微信支付 9 app 支付宝支付",
  2323. "name": "pay_type",
  2324. "in": "query"
  2325. },
  2326. {
  2327. "type": "string",
  2328. "description": "对象名",
  2329. "name": "obj_name",
  2330. "in": "query"
  2331. },
  2332. {
  2333. "type": "integer",
  2334. "description": "1 待支付 2 已支付",
  2335. "name": "pay_status",
  2336. "in": "query"
  2337. }
  2338. ],
  2339. "responses": {
  2340. "200": {
  2341. "description": "OK",
  2342. "schema": {
  2343. "$ref": "#/definitions/v1.ChargeOrderListResponse"
  2344. }
  2345. },
  2346. "500": {
  2347. "description": "Internal Server Error",
  2348. "schema": {
  2349. "$ref": "#/definitions/base.HTTPError"
  2350. }
  2351. }
  2352. }
  2353. }
  2354. },
  2355. "/api/v1/charge/payed_bill/list": {
  2356. "get": {
  2357. "description": "已缴账单",
  2358. "consumes": [
  2359. "application/json"
  2360. ],
  2361. "produces": [
  2362. "application/json"
  2363. ],
  2364. "tags": [
  2365. "已缴账单"
  2366. ],
  2367. "summary": "已缴账单",
  2368. "parameters": [
  2369. {
  2370. "type": "string",
  2371. "description": "token",
  2372. "name": "token",
  2373. "in": "header",
  2374. "required": true
  2375. },
  2376. {
  2377. "type": "integer",
  2378. "description": " ",
  2379. "name": "page",
  2380. "in": "query"
  2381. },
  2382. {
  2383. "type": "integer",
  2384. "description": " ",
  2385. "name": "page_size",
  2386. "in": "query"
  2387. },
  2388. {
  2389. "type": "integer",
  2390. "description": "费用类型 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  2391. "name": "charge_type",
  2392. "in": "query"
  2393. },
  2394. {
  2395. "type": "string",
  2396. "description": "对象名",
  2397. "name": "obj_name",
  2398. "in": "query"
  2399. },
  2400. {
  2401. "type": "string",
  2402. "description": "费项名",
  2403. "name": "charge_name",
  2404. "in": "query"
  2405. },
  2406. {
  2407. "type": "integer",
  2408. "description": "1 房屋 2 车位 3 车辆 ",
  2409. "name": "obj_type",
  2410. "in": "query"
  2411. }
  2412. ],
  2413. "responses": {
  2414. "200": {
  2415. "description": "OK",
  2416. "schema": {
  2417. "$ref": "#/definitions/v1.ChargePayedBillListResponse"
  2418. }
  2419. },
  2420. "500": {
  2421. "description": "Internal Server Error",
  2422. "schema": {
  2423. "$ref": "#/definitions/base.HTTPError"
  2424. }
  2425. }
  2426. }
  2427. }
  2428. },
  2429. "/api/v1/charge/power": {
  2430. "get": {
  2431. "description": "抄表列表",
  2432. "consumes": [
  2433. "application/json"
  2434. ],
  2435. "produces": [
  2436. "application/json"
  2437. ],
  2438. "tags": [
  2439. "抄表"
  2440. ],
  2441. "summary": "抄表列表",
  2442. "parameters": [
  2443. {
  2444. "type": "integer",
  2445. "description": " ",
  2446. "name": "page",
  2447. "in": "query"
  2448. },
  2449. {
  2450. "type": "integer",
  2451. "description": " ",
  2452. "name": "page_size",
  2453. "in": "query"
  2454. },
  2455. {
  2456. "type": "integer",
  2457. "description": "费用类型 2 水费 3 电费 4 气费 ",
  2458. "name": "charge_type",
  2459. "in": "query"
  2460. },
  2461. {
  2462. "type": "string",
  2463. "description": "token",
  2464. "name": "token",
  2465. "in": "header",
  2466. "required": true
  2467. }
  2468. ],
  2469. "responses": {
  2470. "200": {
  2471. "description": "OK",
  2472. "schema": {
  2473. "$ref": "#/definitions/v1.PowerRecordListResponse"
  2474. }
  2475. },
  2476. "500": {
  2477. "description": "Internal Server Error",
  2478. "schema": {
  2479. "$ref": "#/definitions/base.HTTPError"
  2480. }
  2481. }
  2482. }
  2483. },
  2484. "post": {
  2485. "description": "添加抄表记录",
  2486. "consumes": [
  2487. "application/json"
  2488. ],
  2489. "produces": [
  2490. "application/json"
  2491. ],
  2492. "tags": [
  2493. "抄表"
  2494. ],
  2495. "summary": "添加抄表记录",
  2496. "parameters": [
  2497. {
  2498. "type": "string",
  2499. "description": "token",
  2500. "name": "token",
  2501. "in": "header",
  2502. "required": true
  2503. },
  2504. {
  2505. "description": "信息",
  2506. "name": "body",
  2507. "in": "body",
  2508. "required": true,
  2509. "schema": {
  2510. "$ref": "#/definitions/v1.PowerRecordAddBody"
  2511. }
  2512. }
  2513. ],
  2514. "responses": {
  2515. "200": {
  2516. "description": "OK",
  2517. "schema": {
  2518. "$ref": "#/definitions/v1.PowerRecordAddResponse"
  2519. }
  2520. },
  2521. "500": {
  2522. "description": "Internal Server Error",
  2523. "schema": {
  2524. "$ref": "#/definitions/base.HTTPError"
  2525. }
  2526. }
  2527. }
  2528. },
  2529. "delete": {
  2530. "description": "删除抄表记录",
  2531. "consumes": [
  2532. "application/json"
  2533. ],
  2534. "produces": [
  2535. "application/json"
  2536. ],
  2537. "tags": [
  2538. "抄表"
  2539. ],
  2540. "summary": "删除抄表记录",
  2541. "parameters": [
  2542. {
  2543. "type": "integer",
  2544. "description": " ",
  2545. "name": "id",
  2546. "in": "query",
  2547. "required": true
  2548. },
  2549. {
  2550. "type": "string",
  2551. "description": "token",
  2552. "name": "token",
  2553. "in": "header",
  2554. "required": true
  2555. }
  2556. ],
  2557. "responses": {
  2558. "200": {
  2559. "description": "OK",
  2560. "schema": {
  2561. "$ref": "#/definitions/v1.PowerRecordDelResponse"
  2562. }
  2563. },
  2564. "500": {
  2565. "description": "Internal Server Error",
  2566. "schema": {
  2567. "$ref": "#/definitions/base.HTTPError"
  2568. }
  2569. }
  2570. }
  2571. }
  2572. },
  2573. "/api/v1/charge/power/batch": {
  2574. "post": {
  2575. "description": "批量抄表",
  2576. "consumes": [
  2577. "application/json"
  2578. ],
  2579. "produces": [
  2580. "application/json"
  2581. ],
  2582. "tags": [
  2583. "抄表"
  2584. ],
  2585. "summary": "批量抄表",
  2586. "parameters": [
  2587. {
  2588. "type": "string",
  2589. "description": "jwt token",
  2590. "name": "token",
  2591. "in": "header",
  2592. "required": true
  2593. },
  2594. {
  2595. "type": "integer",
  2596. "description": "费用类型 2 水费 3 电费 4 气费",
  2597. "name": "charge_type",
  2598. "in": "query",
  2599. "required": true
  2600. },
  2601. {
  2602. "type": "file",
  2603. "description": "file",
  2604. "name": "file",
  2605. "in": "formData",
  2606. "required": true
  2607. }
  2608. ],
  2609. "responses": {
  2610. "200": {
  2611. "description": "OK",
  2612. "schema": {
  2613. "$ref": "#/definitions/v1.PowerRecordBatchAddResponse"
  2614. }
  2615. },
  2616. "500": {
  2617. "description": "Internal Server Error",
  2618. "schema": {
  2619. "$ref": "#/definitions/base.HTTPError"
  2620. }
  2621. }
  2622. }
  2623. }
  2624. },
  2625. "/api/v1/charge/power/template": {
  2626. "get": {
  2627. "description": "获取抄表模板",
  2628. "consumes": [
  2629. "application/json"
  2630. ],
  2631. "produces": [
  2632. "application/json"
  2633. ],
  2634. "tags": [
  2635. "抄表"
  2636. ],
  2637. "summary": "获取抄表模板",
  2638. "parameters": [
  2639. {
  2640. "type": "string",
  2641. "description": "token",
  2642. "name": "token",
  2643. "in": "header",
  2644. "required": true
  2645. }
  2646. ],
  2647. "responses": {
  2648. "200": {
  2649. "description": "OK",
  2650. "schema": {
  2651. "$ref": "#/definitions/v1.TemplateResponse"
  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/property_package": {
  2664. "get": {
  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": "integer",
  2679. "description": " ",
  2680. "name": "page",
  2681. "in": "query"
  2682. },
  2683. {
  2684. "type": "integer",
  2685. "description": " ",
  2686. "name": "page_size",
  2687. "in": "query"
  2688. },
  2689. {
  2690. "type": "string",
  2691. "description": "token",
  2692. "name": "token",
  2693. "in": "header",
  2694. "required": true
  2695. }
  2696. ],
  2697. "responses": {
  2698. "200": {
  2699. "description": "OK",
  2700. "schema": {
  2701. "$ref": "#/definitions/v1.PropertyPackageListResponse"
  2702. }
  2703. },
  2704. "500": {
  2705. "description": "Internal Server Error",
  2706. "schema": {
  2707. "$ref": "#/definitions/base.HTTPError"
  2708. }
  2709. }
  2710. }
  2711. },
  2712. "put": {
  2713. "description": "修改物业费套餐",
  2714. "consumes": [
  2715. "application/json"
  2716. ],
  2717. "produces": [
  2718. "application/json"
  2719. ],
  2720. "tags": [
  2721. "物业费套餐"
  2722. ],
  2723. "summary": "修改物业费套餐",
  2724. "parameters": [
  2725. {
  2726. "type": "string",
  2727. "description": "token",
  2728. "name": "token",
  2729. "in": "header",
  2730. "required": true
  2731. },
  2732. {
  2733. "description": "信息",
  2734. "name": "body",
  2735. "in": "body",
  2736. "required": true,
  2737. "schema": {
  2738. "$ref": "#/definitions/v1.PropertyPackageUpdateBody"
  2739. }
  2740. }
  2741. ],
  2742. "responses": {
  2743. "200": {
  2744. "description": "OK",
  2745. "schema": {
  2746. "$ref": "#/definitions/v1.PropertyPackageUpdateResponse"
  2747. }
  2748. },
  2749. "500": {
  2750. "description": "Internal Server Error",
  2751. "schema": {
  2752. "$ref": "#/definitions/base.HTTPError"
  2753. }
  2754. }
  2755. }
  2756. },
  2757. "post": {
  2758. "description": "添加物业费套餐",
  2759. "consumes": [
  2760. "application/json"
  2761. ],
  2762. "produces": [
  2763. "application/json"
  2764. ],
  2765. "tags": [
  2766. "物业费套餐"
  2767. ],
  2768. "summary": "添加物业费套餐",
  2769. "parameters": [
  2770. {
  2771. "type": "string",
  2772. "description": "token",
  2773. "name": "token",
  2774. "in": "header",
  2775. "required": true
  2776. },
  2777. {
  2778. "description": "信息",
  2779. "name": "body",
  2780. "in": "body",
  2781. "required": true,
  2782. "schema": {
  2783. "$ref": "#/definitions/v1.PropertyPackageAddBody"
  2784. }
  2785. }
  2786. ],
  2787. "responses": {
  2788. "200": {
  2789. "description": "OK",
  2790. "schema": {
  2791. "$ref": "#/definitions/v1.PropertyPackageAddResponse"
  2792. }
  2793. },
  2794. "500": {
  2795. "description": "Internal Server Error",
  2796. "schema": {
  2797. "$ref": "#/definitions/base.HTTPError"
  2798. }
  2799. }
  2800. }
  2801. },
  2802. "delete": {
  2803. "description": "删除物业费套餐",
  2804. "consumes": [
  2805. "application/json"
  2806. ],
  2807. "produces": [
  2808. "application/json"
  2809. ],
  2810. "tags": [
  2811. "物业费套餐"
  2812. ],
  2813. "summary": "删除物业费套餐",
  2814. "parameters": [
  2815. {
  2816. "type": "integer",
  2817. "description": " ",
  2818. "name": "id",
  2819. "in": "query",
  2820. "required": true
  2821. },
  2822. {
  2823. "type": "string",
  2824. "description": "token",
  2825. "name": "token",
  2826. "in": "header",
  2827. "required": true
  2828. }
  2829. ],
  2830. "responses": {
  2831. "200": {
  2832. "description": "OK",
  2833. "schema": {
  2834. "$ref": "#/definitions/v1.PropertyPackageDelResponse"
  2835. }
  2836. },
  2837. "500": {
  2838. "description": "Internal Server Error",
  2839. "schema": {
  2840. "$ref": "#/definitions/base.HTTPError"
  2841. }
  2842. }
  2843. }
  2844. }
  2845. },
  2846. "/api/v1/charge/space/binded_list": {
  2847. "get": {
  2848. "description": "绑定了项目的车位列表",
  2849. "consumes": [
  2850. "application/json"
  2851. ],
  2852. "produces": [
  2853. "application/json"
  2854. ],
  2855. "tags": [
  2856. "费用绑定相关"
  2857. ],
  2858. "summary": "绑定了项目的车位列表",
  2859. "parameters": [
  2860. {
  2861. "type": "string",
  2862. "description": "token",
  2863. "name": "token",
  2864. "in": "header",
  2865. "required": true
  2866. },
  2867. {
  2868. "type": "integer",
  2869. "description": "费项id",
  2870. "name": "charge_id",
  2871. "in": "query",
  2872. "required": true
  2873. },
  2874. {
  2875. "type": "integer",
  2876. "description": " ",
  2877. "name": "page",
  2878. "in": "query"
  2879. },
  2880. {
  2881. "type": "integer",
  2882. "description": " ",
  2883. "name": "page_size",
  2884. "in": "query"
  2885. }
  2886. ],
  2887. "responses": {
  2888. "200": {
  2889. "description": "OK",
  2890. "schema": {
  2891. "$ref": "#/definitions/v1.ChargeSpaceBindedListResponse"
  2892. }
  2893. },
  2894. "500": {
  2895. "description": "Internal Server Error",
  2896. "schema": {
  2897. "$ref": "#/definitions/base.HTTPError"
  2898. }
  2899. }
  2900. }
  2901. }
  2902. },
  2903. "/api/v1/charge/space/can_bind_list": {
  2904. "get": {
  2905. "description": "可以绑定某项目的车位列表",
  2906. "consumes": [
  2907. "application/json"
  2908. ],
  2909. "produces": [
  2910. "application/json"
  2911. ],
  2912. "tags": [
  2913. "费用绑定相关"
  2914. ],
  2915. "summary": "可以绑定某项目的车位列表",
  2916. "parameters": [
  2917. {
  2918. "type": "string",
  2919. "description": "token",
  2920. "name": "token",
  2921. "in": "header",
  2922. "required": true
  2923. },
  2924. {
  2925. "type": "integer",
  2926. "description": "费项id",
  2927. "name": "charge_id",
  2928. "in": "query",
  2929. "required": true
  2930. },
  2931. {
  2932. "type": "integer",
  2933. "description": " ",
  2934. "name": "page",
  2935. "in": "query"
  2936. },
  2937. {
  2938. "type": "integer",
  2939. "description": " ",
  2940. "name": "page_size",
  2941. "in": "query"
  2942. }
  2943. ],
  2944. "responses": {
  2945. "200": {
  2946. "description": "OK",
  2947. "schema": {
  2948. "$ref": "#/definitions/v1.ChargeSpaceNotBindListResponse"
  2949. }
  2950. },
  2951. "500": {
  2952. "description": "Internal Server Error",
  2953. "schema": {
  2954. "$ref": "#/definitions/base.HTTPError"
  2955. }
  2956. }
  2957. }
  2958. }
  2959. },
  2960. "/api/v1/charge/unbind": {
  2961. "put": {
  2962. "description": "费用解绑对象",
  2963. "consumes": [
  2964. "application/json"
  2965. ],
  2966. "produces": [
  2967. "application/json"
  2968. ],
  2969. "tags": [
  2970. "费用绑定相关"
  2971. ],
  2972. "summary": "费用解绑对象",
  2973. "parameters": [
  2974. {
  2975. "type": "string",
  2976. "description": "token",
  2977. "name": "token",
  2978. "in": "header",
  2979. "required": true
  2980. },
  2981. {
  2982. "description": "信息",
  2983. "name": "body",
  2984. "in": "body",
  2985. "required": true,
  2986. "schema": {
  2987. "$ref": "#/definitions/v1.ChargeUnbindBody"
  2988. }
  2989. }
  2990. ],
  2991. "responses": {
  2992. "200": {
  2993. "description": "OK",
  2994. "schema": {
  2995. "$ref": "#/definitions/v1.ChargeUnbindResponse"
  2996. }
  2997. },
  2998. "500": {
  2999. "description": "Internal Server Error",
  3000. "schema": {
  3001. "$ref": "#/definitions/base.HTTPError"
  3002. }
  3003. }
  3004. }
  3005. }
  3006. },
  3007. "/api/v1/charge/unpay_bill/discard": {
  3008. "put": {
  3009. "description": "作废账单",
  3010. "consumes": [
  3011. "application/json"
  3012. ],
  3013. "produces": [
  3014. "application/json"
  3015. ],
  3016. "tags": [
  3017. "应收账单"
  3018. ],
  3019. "summary": "作废账单",
  3020. "parameters": [
  3021. {
  3022. "type": "string",
  3023. "description": "token",
  3024. "name": "token",
  3025. "in": "header",
  3026. "required": true
  3027. },
  3028. {
  3029. "description": " ",
  3030. "name": "body",
  3031. "in": "body",
  3032. "required": true,
  3033. "schema": {
  3034. "$ref": "#/definitions/v1.ChargeDelBillBody"
  3035. }
  3036. }
  3037. ],
  3038. "responses": {
  3039. "200": {
  3040. "description": "OK",
  3041. "schema": {
  3042. "$ref": "#/definitions/v1.ChargeDelBillResponse"
  3043. }
  3044. },
  3045. "500": {
  3046. "description": "Internal Server Error",
  3047. "schema": {
  3048. "$ref": "#/definitions/base.HTTPError"
  3049. }
  3050. }
  3051. }
  3052. }
  3053. },
  3054. "/api/v1/charge/unpay_bill/obj_bill_list": {
  3055. "get": {
  3056. "description": "应收账单平铺列表",
  3057. "consumes": [
  3058. "application/json"
  3059. ],
  3060. "produces": [
  3061. "application/json"
  3062. ],
  3063. "tags": [
  3064. "应收账单"
  3065. ],
  3066. "summary": "应收账单平铺列表",
  3067. "parameters": [
  3068. {
  3069. "type": "string",
  3070. "description": "token",
  3071. "name": "token",
  3072. "in": "header",
  3073. "required": true
  3074. },
  3075. {
  3076. "type": "integer",
  3077. "description": " ",
  3078. "name": "page",
  3079. "in": "query"
  3080. },
  3081. {
  3082. "type": "integer",
  3083. "description": " ",
  3084. "name": "page_size",
  3085. "in": "query"
  3086. },
  3087. {
  3088. "type": "integer",
  3089. "description": "房屋/车位/车辆id",
  3090. "name": "obj_id",
  3091. "in": "query"
  3092. },
  3093. {
  3094. "type": "integer",
  3095. "description": "1 房屋 2 车位 3 车辆 ",
  3096. "name": "obj_type",
  3097. "in": "query"
  3098. },
  3099. {
  3100. "type": "integer",
  3101. "description": "费用类型 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  3102. "name": "charge_type",
  3103. "in": "query"
  3104. },
  3105. {
  3106. "type": "string",
  3107. "description": "对象名",
  3108. "name": "obj_name",
  3109. "in": "query"
  3110. },
  3111. {
  3112. "type": "string",
  3113. "description": "费项名",
  3114. "name": "charge_name",
  3115. "in": "query"
  3116. }
  3117. ],
  3118. "responses": {
  3119. "200": {
  3120. "description": "OK",
  3121. "schema": {
  3122. "$ref": "#/definitions/v1.ChargeObjBillListResponse"
  3123. }
  3124. },
  3125. "500": {
  3126. "description": "Internal Server Error",
  3127. "schema": {
  3128. "$ref": "#/definitions/base.HTTPError"
  3129. }
  3130. }
  3131. }
  3132. }
  3133. },
  3134. "/api/v1/charge/unpay_bill/obj_list": {
  3135. "get": {
  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. "type": "integer",
  3157. "description": " ",
  3158. "name": "page",
  3159. "in": "query"
  3160. },
  3161. {
  3162. "type": "integer",
  3163. "description": " ",
  3164. "name": "page_size",
  3165. "in": "query"
  3166. }
  3167. ],
  3168. "responses": {
  3169. "200": {
  3170. "description": "OK",
  3171. "schema": {
  3172. "$ref": "#/definitions/v1.ChargeBillObjListResponse"
  3173. }
  3174. },
  3175. "500": {
  3176. "description": "Internal Server Error",
  3177. "schema": {
  3178. "$ref": "#/definitions/base.HTTPError"
  3179. }
  3180. }
  3181. }
  3182. }
  3183. },
  3184. "/api/v1/charge/unpay_bill/urge": {
  3185. "post": {
  3186. "description": "一键催缴",
  3187. "consumes": [
  3188. "application/json"
  3189. ],
  3190. "produces": [
  3191. "application/json"
  3192. ],
  3193. "tags": [
  3194. "应收账单"
  3195. ],
  3196. "summary": "一键催缴",
  3197. "parameters": [
  3198. {
  3199. "type": "string",
  3200. "description": "token",
  3201. "name": "token",
  3202. "in": "header",
  3203. "required": true
  3204. },
  3205. {
  3206. "description": " ",
  3207. "name": "body",
  3208. "in": "body",
  3209. "required": true,
  3210. "schema": {
  3211. "$ref": "#/definitions/v1.ChargeUrgeBody"
  3212. }
  3213. }
  3214. ],
  3215. "responses": {
  3216. "200": {
  3217. "description": "OK",
  3218. "schema": {
  3219. "$ref": "#/definitions/v1.ChargeUrgeResponse"
  3220. }
  3221. },
  3222. "500": {
  3223. "description": "Internal Server Error",
  3224. "schema": {
  3225. "$ref": "#/definitions/base.HTTPError"
  3226. }
  3227. }
  3228. }
  3229. }
  3230. },
  3231. "/api/v1/charge/urge": {
  3232. "get": {
  3233. "description": "催缴信息",
  3234. "consumes": [
  3235. "application/json"
  3236. ],
  3237. "produces": [
  3238. "application/json"
  3239. ],
  3240. "tags": [
  3241. "催缴设置"
  3242. ],
  3243. "summary": "催缴信息",
  3244. "parameters": [
  3245. {
  3246. "type": "string",
  3247. "description": "token",
  3248. "name": "token",
  3249. "in": "header",
  3250. "required": true
  3251. }
  3252. ],
  3253. "responses": {
  3254. "200": {
  3255. "description": "OK",
  3256. "schema": {
  3257. "$ref": "#/definitions/v1.ChargeUrgeInfoResponse"
  3258. }
  3259. },
  3260. "500": {
  3261. "description": "Internal Server Error",
  3262. "schema": {
  3263. "$ref": "#/definitions/base.HTTPError"
  3264. }
  3265. }
  3266. }
  3267. },
  3268. "put": {
  3269. "description": "催缴设置",
  3270. "consumes": [
  3271. "application/json"
  3272. ],
  3273. "produces": [
  3274. "application/json"
  3275. ],
  3276. "tags": [
  3277. "催缴设置"
  3278. ],
  3279. "summary": "催缴设置",
  3280. "parameters": [
  3281. {
  3282. "type": "string",
  3283. "description": "token",
  3284. "name": "token",
  3285. "in": "header",
  3286. "required": true
  3287. },
  3288. {
  3289. "description": " ",
  3290. "name": "body",
  3291. "in": "body",
  3292. "required": true,
  3293. "schema": {
  3294. "$ref": "#/definitions/v1.ChargeUrgeSetBody"
  3295. }
  3296. }
  3297. ],
  3298. "responses": {
  3299. "200": {
  3300. "description": "OK",
  3301. "schema": {
  3302. "$ref": "#/definitions/v1.ChargeUrgeSetResponse"
  3303. }
  3304. },
  3305. "500": {
  3306. "description": "Internal Server Error",
  3307. "schema": {
  3308. "$ref": "#/definitions/base.HTTPError"
  3309. }
  3310. }
  3311. }
  3312. }
  3313. },
  3314. "/api/v1/charge/vehicle/binded_list": {
  3315. "get": {
  3316. "description": "绑定了项目的车辆列表",
  3317. "consumes": [
  3318. "application/json"
  3319. ],
  3320. "produces": [
  3321. "application/json"
  3322. ],
  3323. "tags": [
  3324. "费用绑定相关"
  3325. ],
  3326. "summary": "绑定了项目的车辆列表",
  3327. "parameters": [
  3328. {
  3329. "type": "string",
  3330. "description": "token",
  3331. "name": "token",
  3332. "in": "header",
  3333. "required": true
  3334. },
  3335. {
  3336. "type": "integer",
  3337. "description": "费项id",
  3338. "name": "charge_id",
  3339. "in": "query",
  3340. "required": true
  3341. },
  3342. {
  3343. "type": "integer",
  3344. "description": " ",
  3345. "name": "page",
  3346. "in": "query"
  3347. },
  3348. {
  3349. "type": "integer",
  3350. "description": " ",
  3351. "name": "page_size",
  3352. "in": "query"
  3353. }
  3354. ],
  3355. "responses": {
  3356. "200": {
  3357. "description": "OK",
  3358. "schema": {
  3359. "$ref": "#/definitions/v1.ChargeVehicleBindedListResponse"
  3360. }
  3361. },
  3362. "500": {
  3363. "description": "Internal Server Error",
  3364. "schema": {
  3365. "$ref": "#/definitions/base.HTTPError"
  3366. }
  3367. }
  3368. }
  3369. }
  3370. },
  3371. "/api/v1/charge/vehicle/can_bind_list": {
  3372. "get": {
  3373. "description": "可以绑定某项目的车辆列表",
  3374. "consumes": [
  3375. "application/json"
  3376. ],
  3377. "produces": [
  3378. "application/json"
  3379. ],
  3380. "tags": [
  3381. "费用绑定相关"
  3382. ],
  3383. "summary": "可以绑定某项目的车辆列表",
  3384. "parameters": [
  3385. {
  3386. "type": "string",
  3387. "description": "token",
  3388. "name": "token",
  3389. "in": "header",
  3390. "required": true
  3391. },
  3392. {
  3393. "type": "integer",
  3394. "description": "费项id",
  3395. "name": "charge_id",
  3396. "in": "query",
  3397. "required": true
  3398. },
  3399. {
  3400. "type": "integer",
  3401. "description": " ",
  3402. "name": "page",
  3403. "in": "query"
  3404. },
  3405. {
  3406. "type": "integer",
  3407. "description": " ",
  3408. "name": "page_size",
  3409. "in": "query"
  3410. }
  3411. ],
  3412. "responses": {
  3413. "200": {
  3414. "description": "OK",
  3415. "schema": {
  3416. "$ref": "#/definitions/v1.ChargeVehicleNotBindListResponse"
  3417. }
  3418. },
  3419. "500": {
  3420. "description": "Internal Server Error",
  3421. "schema": {
  3422. "$ref": "#/definitions/base.HTTPError"
  3423. }
  3424. }
  3425. }
  3426. }
  3427. },
  3428. "/api/v1/department": {
  3429. "get": {
  3430. "description": "部门列表",
  3431. "consumes": [
  3432. "application/json"
  3433. ],
  3434. "produces": [
  3435. "application/json"
  3436. ],
  3437. "tags": [
  3438. "部门"
  3439. ],
  3440. "summary": "部门列表",
  3441. "parameters": [
  3442. {
  3443. "type": "integer",
  3444. "description": " ",
  3445. "name": "page",
  3446. "in": "query"
  3447. },
  3448. {
  3449. "type": "integer",
  3450. "description": " ",
  3451. "name": "page_size",
  3452. "in": "query"
  3453. },
  3454. {
  3455. "type": "string",
  3456. "description": "token",
  3457. "name": "token",
  3458. "in": "header",
  3459. "required": true
  3460. }
  3461. ],
  3462. "responses": {
  3463. "200": {
  3464. "description": "OK",
  3465. "schema": {
  3466. "$ref": "#/definitions/v1.DepartmentListResponse"
  3467. }
  3468. },
  3469. "500": {
  3470. "description": "Internal Server Error",
  3471. "schema": {
  3472. "$ref": "#/definitions/base.HTTPError"
  3473. }
  3474. }
  3475. }
  3476. },
  3477. "put": {
  3478. "description": "更改部门",
  3479. "consumes": [
  3480. "application/json"
  3481. ],
  3482. "produces": [
  3483. "application/json"
  3484. ],
  3485. "tags": [
  3486. "部门"
  3487. ],
  3488. "summary": "更改部门",
  3489. "parameters": [
  3490. {
  3491. "type": "string",
  3492. "description": "token",
  3493. "name": "token",
  3494. "in": "header",
  3495. "required": true
  3496. },
  3497. {
  3498. "description": "信息",
  3499. "name": "body",
  3500. "in": "body",
  3501. "required": true,
  3502. "schema": {
  3503. "$ref": "#/definitions/v1.DepartmentUpdateBody"
  3504. }
  3505. }
  3506. ],
  3507. "responses": {
  3508. "200": {
  3509. "description": "OK",
  3510. "schema": {
  3511. "$ref": "#/definitions/v1.DepartmentUpdateResponse"
  3512. }
  3513. },
  3514. "500": {
  3515. "description": "Internal Server Error",
  3516. "schema": {
  3517. "$ref": "#/definitions/base.HTTPError"
  3518. }
  3519. }
  3520. }
  3521. },
  3522. "post": {
  3523. "description": "添加部门",
  3524. "consumes": [
  3525. "application/json"
  3526. ],
  3527. "produces": [
  3528. "application/json"
  3529. ],
  3530. "tags": [
  3531. "部门"
  3532. ],
  3533. "summary": "添加部门",
  3534. "parameters": [
  3535. {
  3536. "type": "string",
  3537. "description": "token",
  3538. "name": "token",
  3539. "in": "header",
  3540. "required": true
  3541. },
  3542. {
  3543. "description": "信息",
  3544. "name": "body",
  3545. "in": "body",
  3546. "required": true,
  3547. "schema": {
  3548. "$ref": "#/definitions/v1.DepartmentAddBody"
  3549. }
  3550. }
  3551. ],
  3552. "responses": {
  3553. "200": {
  3554. "description": "OK",
  3555. "schema": {
  3556. "$ref": "#/definitions/v1.DepartmentAddResponse"
  3557. }
  3558. },
  3559. "500": {
  3560. "description": "Internal Server Error",
  3561. "schema": {
  3562. "$ref": "#/definitions/base.HTTPError"
  3563. }
  3564. }
  3565. }
  3566. },
  3567. "delete": {
  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": "token",
  3583. "name": "token",
  3584. "in": "header",
  3585. "required": true
  3586. },
  3587. {
  3588. "type": "integer",
  3589. "description": "id",
  3590. "name": "id",
  3591. "in": "query",
  3592. "required": true
  3593. }
  3594. ],
  3595. "responses": {
  3596. "200": {
  3597. "description": "OK",
  3598. "schema": {
  3599. "$ref": "#/definitions/v1.DepartmentDelResponse"
  3600. }
  3601. },
  3602. "500": {
  3603. "description": "Internal Server Error",
  3604. "schema": {
  3605. "$ref": "#/definitions/base.HTTPError"
  3606. }
  3607. }
  3608. }
  3609. }
  3610. },
  3611. "/api/v1/garden": {
  3612. "get": {
  3613. "description": "小区信息",
  3614. "consumes": [
  3615. "application/json"
  3616. ],
  3617. "produces": [
  3618. "application/json"
  3619. ],
  3620. "tags": [
  3621. "小区"
  3622. ],
  3623. "summary": "小区信息",
  3624. "parameters": [
  3625. {
  3626. "type": "string",
  3627. "description": " ",
  3628. "name": "token",
  3629. "in": "header",
  3630. "required": true
  3631. }
  3632. ],
  3633. "responses": {
  3634. "200": {
  3635. "description": "OK",
  3636. "schema": {
  3637. "$ref": "#/definitions/v1.GardenInfoResponse"
  3638. }
  3639. },
  3640. "500": {
  3641. "description": "Internal Server Error",
  3642. "schema": {
  3643. "$ref": "#/definitions/base.HTTPError"
  3644. }
  3645. }
  3646. }
  3647. },
  3648. "put": {
  3649. "description": "修改小区普通信息",
  3650. "consumes": [
  3651. "application/json"
  3652. ],
  3653. "produces": [
  3654. "application/json"
  3655. ],
  3656. "tags": [
  3657. "小区"
  3658. ],
  3659. "summary": "修改小区普通信息",
  3660. "parameters": [
  3661. {
  3662. "type": "string",
  3663. "description": " ",
  3664. "name": "token",
  3665. "in": "header",
  3666. "required": true
  3667. },
  3668. {
  3669. "description": "小区信息",
  3670. "name": "body",
  3671. "in": "body",
  3672. "required": true,
  3673. "schema": {
  3674. "$ref": "#/definitions/v1.GardenUpdateBody"
  3675. }
  3676. }
  3677. ],
  3678. "responses": {
  3679. "200": {
  3680. "description": "OK",
  3681. "schema": {
  3682. "$ref": "#/definitions/v1.GardenUpdateResponse"
  3683. }
  3684. },
  3685. "500": {
  3686. "description": "Internal Server Error",
  3687. "schema": {
  3688. "$ref": "#/definitions/base.HTTPError"
  3689. }
  3690. }
  3691. }
  3692. }
  3693. },
  3694. "/api/v1/garden/key_info": {
  3695. "get": {
  3696. "description": "小区关键信息申请列表",
  3697. "consumes": [
  3698. "application/json"
  3699. ],
  3700. "produces": [
  3701. "application/json"
  3702. ],
  3703. "tags": [
  3704. "小区"
  3705. ],
  3706. "summary": "小区关键信息申请列表",
  3707. "parameters": [
  3708. {
  3709. "type": "string",
  3710. "description": " ",
  3711. "name": "token",
  3712. "in": "header",
  3713. "required": true
  3714. },
  3715. {
  3716. "type": "integer",
  3717. "description": " ",
  3718. "name": "page",
  3719. "in": "query"
  3720. },
  3721. {
  3722. "type": "integer",
  3723. "description": " ",
  3724. "name": "page_size",
  3725. "in": "query"
  3726. },
  3727. {
  3728. "type": "integer",
  3729. "description": "0不过率 1 待审核 2 审核通过 3 未通过 ",
  3730. "name": "status",
  3731. "in": "query"
  3732. }
  3733. ],
  3734. "responses": {
  3735. "200": {
  3736. "description": "OK",
  3737. "schema": {
  3738. "$ref": "#/definitions/v1.GardenKeyInfoChangeListResponse"
  3739. }
  3740. },
  3741. "500": {
  3742. "description": "Internal Server Error",
  3743. "schema": {
  3744. "$ref": "#/definitions/base.HTTPError"
  3745. }
  3746. }
  3747. }
  3748. },
  3749. "put": {
  3750. "description": "申请修改小区关键信息",
  3751. "consumes": [
  3752. "application/json"
  3753. ],
  3754. "produces": [
  3755. "application/json"
  3756. ],
  3757. "tags": [
  3758. "小区"
  3759. ],
  3760. "summary": "申请修改小区关键信息",
  3761. "parameters": [
  3762. {
  3763. "type": "string",
  3764. "description": " ",
  3765. "name": "token",
  3766. "in": "header",
  3767. "required": true
  3768. },
  3769. {
  3770. "description": "小区信息",
  3771. "name": "body",
  3772. "in": "body",
  3773. "required": true,
  3774. "schema": {
  3775. "$ref": "#/definitions/v1.GardenKeyInfoChangeBody"
  3776. }
  3777. }
  3778. ],
  3779. "responses": {
  3780. "200": {
  3781. "description": "OK",
  3782. "schema": {
  3783. "$ref": "#/definitions/v1.GardenKeyInfoChangeResponse"
  3784. }
  3785. },
  3786. "500": {
  3787. "description": "Internal Server Error",
  3788. "schema": {
  3789. "$ref": "#/definitions/base.HTTPError"
  3790. }
  3791. }
  3792. }
  3793. }
  3794. },
  3795. "/api/v1/gate": {
  3796. "get": {
  3797. "description": "门禁列表",
  3798. "consumes": [
  3799. "application/json"
  3800. ],
  3801. "produces": [
  3802. "application/json"
  3803. ],
  3804. "tags": [
  3805. "门禁"
  3806. ],
  3807. "summary": "门禁列表",
  3808. "parameters": [
  3809. {
  3810. "type": "string",
  3811. "description": " ",
  3812. "name": "token",
  3813. "in": "header",
  3814. "required": true
  3815. },
  3816. {
  3817. "type": "integer",
  3818. "description": " ",
  3819. "name": "page",
  3820. "in": "query"
  3821. },
  3822. {
  3823. "type": "integer",
  3824. "description": " ",
  3825. "name": "page_size",
  3826. "in": "query"
  3827. },
  3828. {
  3829. "type": "string",
  3830. "description": "设备名",
  3831. "name": "device_name",
  3832. "in": "query"
  3833. },
  3834. {
  3835. "type": "string",
  3836. "description": "厂商",
  3837. "name": "manufactor",
  3838. "in": "query"
  3839. },
  3840. {
  3841. "type": "string",
  3842. "description": "序列号",
  3843. "name": "sn",
  3844. "in": "query"
  3845. }
  3846. ],
  3847. "responses": {
  3848. "200": {
  3849. "description": "OK",
  3850. "schema": {
  3851. "$ref": "#/definitions/v1.GateListResponse"
  3852. }
  3853. },
  3854. "500": {
  3855. "description": "Internal Server Error",
  3856. "schema": {
  3857. "$ref": "#/definitions/base.HTTPError"
  3858. }
  3859. }
  3860. }
  3861. }
  3862. },
  3863. "/api/v1/gate/card": {
  3864. "get": {
  3865. "description": "卡列表",
  3866. "consumes": [
  3867. "application/json"
  3868. ],
  3869. "produces": [
  3870. "application/json"
  3871. ],
  3872. "tags": [
  3873. "门禁"
  3874. ],
  3875. "summary": "卡列表",
  3876. "parameters": [
  3877. {
  3878. "type": "string",
  3879. "description": " ",
  3880. "name": "token",
  3881. "in": "header",
  3882. "required": true
  3883. },
  3884. {
  3885. "type": "integer",
  3886. "description": " ",
  3887. "name": "page",
  3888. "in": "query"
  3889. },
  3890. {
  3891. "type": "integer",
  3892. "description": " ",
  3893. "name": "page_size",
  3894. "in": "query"
  3895. },
  3896. {
  3897. "type": "string",
  3898. "description": "姓名",
  3899. "name": "name",
  3900. "in": "query"
  3901. },
  3902. {
  3903. "type": "integer",
  3904. "description": "下发状态 0 不过滤 1 待下发 2 下发成功 3 下发失败",
  3905. "name": "down_status",
  3906. "in": "query"
  3907. }
  3908. ],
  3909. "responses": {
  3910. "200": {
  3911. "description": "OK",
  3912. "schema": {
  3913. "$ref": "#/definitions/v1.GateCardListResponse"
  3914. }
  3915. },
  3916. "500": {
  3917. "description": "Internal Server Error",
  3918. "schema": {
  3919. "$ref": "#/definitions/base.HTTPError"
  3920. }
  3921. }
  3922. }
  3923. },
  3924. "put": {
  3925. "description": "门禁卡号重新下发",
  3926. "consumes": [
  3927. "application/json"
  3928. ],
  3929. "produces": [
  3930. "application/json"
  3931. ],
  3932. "tags": [
  3933. "门禁"
  3934. ],
  3935. "summary": "门禁卡号重新下发",
  3936. "parameters": [
  3937. {
  3938. "type": "string",
  3939. "description": " ",
  3940. "name": "token",
  3941. "in": "header",
  3942. "required": true
  3943. },
  3944. {
  3945. "description": " ",
  3946. "name": "body",
  3947. "in": "body",
  3948. "required": true,
  3949. "schema": {
  3950. "$ref": "#/definitions/v1.GateCardSyncBody"
  3951. }
  3952. }
  3953. ],
  3954. "responses": {
  3955. "200": {
  3956. "description": "OK",
  3957. "schema": {
  3958. "$ref": "#/definitions/v1.GateCardSyncResponse"
  3959. }
  3960. },
  3961. "500": {
  3962. "description": "Internal Server Error",
  3963. "schema": {
  3964. "$ref": "#/definitions/base.HTTPError"
  3965. }
  3966. }
  3967. }
  3968. },
  3969. "post": {
  3970. "description": "添加卡",
  3971. "consumes": [
  3972. "application/json"
  3973. ],
  3974. "produces": [
  3975. "application/json"
  3976. ],
  3977. "tags": [
  3978. "门禁"
  3979. ],
  3980. "summary": "添加卡",
  3981. "parameters": [
  3982. {
  3983. "type": "string",
  3984. "description": " ",
  3985. "name": "token",
  3986. "in": "header",
  3987. "required": true
  3988. },
  3989. {
  3990. "description": " ",
  3991. "name": "body",
  3992. "in": "body",
  3993. "required": true,
  3994. "schema": {
  3995. "$ref": "#/definitions/v1.GateCardAddBody"
  3996. }
  3997. }
  3998. ],
  3999. "responses": {
  4000. "200": {
  4001. "description": "OK",
  4002. "schema": {
  4003. "$ref": "#/definitions/v1.GateCardAddResponse"
  4004. }
  4005. },
  4006. "500": {
  4007. "description": "Internal Server Error",
  4008. "schema": {
  4009. "$ref": "#/definitions/base.HTTPError"
  4010. }
  4011. }
  4012. }
  4013. },
  4014. "delete": {
  4015. "description": "删除卡",
  4016. "consumes": [
  4017. "application/json"
  4018. ],
  4019. "produces": [
  4020. "application/json"
  4021. ],
  4022. "tags": [
  4023. "门禁"
  4024. ],
  4025. "summary": "删除卡",
  4026. "parameters": [
  4027. {
  4028. "type": "string",
  4029. "description": " ",
  4030. "name": "token",
  4031. "in": "header",
  4032. "required": true
  4033. },
  4034. {
  4035. "type": "integer",
  4036. "description": "卡记录id",
  4037. "name": "id",
  4038. "in": "query",
  4039. "required": true
  4040. }
  4041. ],
  4042. "responses": {
  4043. "200": {
  4044. "description": "OK",
  4045. "schema": {
  4046. "$ref": "#/definitions/v1.GateCardDelResponse"
  4047. }
  4048. },
  4049. "500": {
  4050. "description": "Internal Server Error",
  4051. "schema": {
  4052. "$ref": "#/definitions/base.HTTPError"
  4053. }
  4054. }
  4055. }
  4056. }
  4057. },
  4058. "/api/v1/gate/card/devices": {
  4059. "get": {
  4060. "description": "卡还可以绑定的设备",
  4061. "consumes": [
  4062. "application/json"
  4063. ],
  4064. "produces": [
  4065. "application/json"
  4066. ],
  4067. "tags": [
  4068. "门禁"
  4069. ],
  4070. "summary": "卡还可以绑定的设备",
  4071. "parameters": [
  4072. {
  4073. "type": "string",
  4074. "description": " ",
  4075. "name": "token",
  4076. "in": "header",
  4077. "required": true
  4078. },
  4079. {
  4080. "type": "string",
  4081. "description": "卡号",
  4082. "name": "card_number",
  4083. "in": "query",
  4084. "required": true
  4085. }
  4086. ],
  4087. "responses": {
  4088. "200": {
  4089. "description": "OK",
  4090. "schema": {
  4091. "$ref": "#/definitions/v1.GateCardCanBindDevicesResponse"
  4092. }
  4093. },
  4094. "500": {
  4095. "description": "Internal Server Error",
  4096. "schema": {
  4097. "$ref": "#/definitions/base.HTTPError"
  4098. }
  4099. }
  4100. }
  4101. }
  4102. },
  4103. "/api/v1/gate/command": {
  4104. "get": {
  4105. "description": "操作记录",
  4106. "consumes": [
  4107. "application/json"
  4108. ],
  4109. "produces": [
  4110. "application/json"
  4111. ],
  4112. "tags": [
  4113. "门禁"
  4114. ],
  4115. "summary": "操作记录",
  4116. "parameters": [
  4117. {
  4118. "type": "string",
  4119. "description": " ",
  4120. "name": "token",
  4121. "in": "header",
  4122. "required": true
  4123. },
  4124. {
  4125. "type": "integer",
  4126. "description": " ",
  4127. "name": "page",
  4128. "in": "query"
  4129. },
  4130. {
  4131. "type": "integer",
  4132. "description": " ",
  4133. "name": "page_size",
  4134. "in": "query"
  4135. },
  4136. {
  4137. "type": "integer",
  4138. "description": "设备id",
  4139. "name": "device_id",
  4140. "in": "query",
  4141. "required": true
  4142. }
  4143. ],
  4144. "responses": {
  4145. "200": {
  4146. "description": "OK",
  4147. "schema": {
  4148. "$ref": "#/definitions/v1.GateCommandListResponse"
  4149. }
  4150. },
  4151. "500": {
  4152. "description": "Internal Server Error",
  4153. "schema": {
  4154. "$ref": "#/definitions/base.HTTPError"
  4155. }
  4156. }
  4157. }
  4158. }
  4159. },
  4160. "/api/v1/gate/command/open": {
  4161. "post": {
  4162. "description": "门禁远程开门",
  4163. "consumes": [
  4164. "application/json"
  4165. ],
  4166. "produces": [
  4167. "application/json"
  4168. ],
  4169. "tags": [
  4170. "门禁"
  4171. ],
  4172. "summary": "门禁远程开门",
  4173. "parameters": [
  4174. {
  4175. "type": "string",
  4176. "description": " ",
  4177. "name": "token",
  4178. "in": "header",
  4179. "required": true
  4180. },
  4181. {
  4182. "description": " ",
  4183. "name": "body",
  4184. "in": "body",
  4185. "required": true,
  4186. "schema": {
  4187. "$ref": "#/definitions/v1.GateOpenBody"
  4188. }
  4189. }
  4190. ],
  4191. "responses": {
  4192. "200": {
  4193. "description": "OK",
  4194. "schema": {
  4195. "$ref": "#/definitions/v1.GateOpenResponse"
  4196. }
  4197. },
  4198. "500": {
  4199. "description": "Internal Server Error",
  4200. "schema": {
  4201. "$ref": "#/definitions/base.HTTPError"
  4202. }
  4203. }
  4204. }
  4205. }
  4206. },
  4207. "/api/v1/gate/command/restart": {
  4208. "post": {
  4209. "description": "门禁重启设备",
  4210. "consumes": [
  4211. "application/json"
  4212. ],
  4213. "produces": [
  4214. "application/json"
  4215. ],
  4216. "tags": [
  4217. "门禁"
  4218. ],
  4219. "summary": "门禁重启设备",
  4220. "parameters": [
  4221. {
  4222. "type": "string",
  4223. "description": " ",
  4224. "name": "token",
  4225. "in": "header",
  4226. "required": true
  4227. },
  4228. {
  4229. "description": " ",
  4230. "name": "body",
  4231. "in": "body",
  4232. "required": true,
  4233. "schema": {
  4234. "$ref": "#/definitions/v1.GateRestartBody"
  4235. }
  4236. }
  4237. ],
  4238. "responses": {
  4239. "200": {
  4240. "description": "OK",
  4241. "schema": {
  4242. "$ref": "#/definitions/v1.GateRestartResponse"
  4243. }
  4244. },
  4245. "500": {
  4246. "description": "Internal Server Error",
  4247. "schema": {
  4248. "$ref": "#/definitions/base.HTTPError"
  4249. }
  4250. }
  4251. }
  4252. }
  4253. },
  4254. "/api/v1/gate/enable": {
  4255. "put": {
  4256. "description": "门禁起停用",
  4257. "consumes": [
  4258. "application/json"
  4259. ],
  4260. "produces": [
  4261. "application/json"
  4262. ],
  4263. "tags": [
  4264. "门禁"
  4265. ],
  4266. "summary": "门禁起停用",
  4267. "parameters": [
  4268. {
  4269. "type": "string",
  4270. "description": " ",
  4271. "name": "token",
  4272. "in": "header",
  4273. "required": true
  4274. },
  4275. {
  4276. "description": " ",
  4277. "name": "body",
  4278. "in": "body",
  4279. "required": true,
  4280. "schema": {
  4281. "$ref": "#/definitions/v1.GateEnableBody"
  4282. }
  4283. }
  4284. ],
  4285. "responses": {
  4286. "200": {
  4287. "description": "OK",
  4288. "schema": {
  4289. "$ref": "#/definitions/v1.GateEnableResponse"
  4290. }
  4291. },
  4292. "500": {
  4293. "description": "Internal Server Error",
  4294. "schema": {
  4295. "$ref": "#/definitions/base.HTTPError"
  4296. }
  4297. }
  4298. }
  4299. }
  4300. },
  4301. "/api/v1/gate/pic": {
  4302. "get": {
  4303. "description": "人脸列表",
  4304. "consumes": [
  4305. "application/json"
  4306. ],
  4307. "produces": [
  4308. "application/json"
  4309. ],
  4310. "tags": [
  4311. "门禁"
  4312. ],
  4313. "summary": "人脸列表",
  4314. "parameters": [
  4315. {
  4316. "type": "string",
  4317. "description": " ",
  4318. "name": "token",
  4319. "in": "header",
  4320. "required": true
  4321. },
  4322. {
  4323. "type": "integer",
  4324. "description": " ",
  4325. "name": "page",
  4326. "in": "query"
  4327. },
  4328. {
  4329. "type": "integer",
  4330. "description": " ",
  4331. "name": "page_size",
  4332. "in": "query"
  4333. },
  4334. {
  4335. "type": "string",
  4336. "description": "姓名",
  4337. "name": "name",
  4338. "in": "query"
  4339. },
  4340. {
  4341. "type": "integer",
  4342. "description": "下发状态 0 不过滤 1 待下发 2 下发成功 3 下发失败",
  4343. "name": "down_status",
  4344. "in": "query"
  4345. }
  4346. ],
  4347. "responses": {
  4348. "200": {
  4349. "description": "OK",
  4350. "schema": {
  4351. "$ref": "#/definitions/v1.GateUserPicListResponse"
  4352. }
  4353. },
  4354. "500": {
  4355. "description": "Internal Server Error",
  4356. "schema": {
  4357. "$ref": "#/definitions/base.HTTPError"
  4358. }
  4359. }
  4360. }
  4361. },
  4362. "put": {
  4363. "description": "人脸重新下发",
  4364. "consumes": [
  4365. "application/json"
  4366. ],
  4367. "produces": [
  4368. "application/json"
  4369. ],
  4370. "tags": [
  4371. "门禁"
  4372. ],
  4373. "summary": "人脸重新下发",
  4374. "parameters": [
  4375. {
  4376. "type": "string",
  4377. "description": " ",
  4378. "name": "token",
  4379. "in": "header",
  4380. "required": true
  4381. },
  4382. {
  4383. "description": " ",
  4384. "name": "body",
  4385. "in": "body",
  4386. "required": true,
  4387. "schema": {
  4388. "$ref": "#/definitions/v1.GateUserPicSyncBody"
  4389. }
  4390. }
  4391. ],
  4392. "responses": {
  4393. "200": {
  4394. "description": "OK",
  4395. "schema": {
  4396. "$ref": "#/definitions/v1.GateUserPicSyncResponse"
  4397. }
  4398. },
  4399. "500": {
  4400. "description": "Internal Server Error",
  4401. "schema": {
  4402. "$ref": "#/definitions/base.HTTPError"
  4403. }
  4404. }
  4405. }
  4406. },
  4407. "delete": {
  4408. "description": "删除人脸",
  4409. "consumes": [
  4410. "application/json"
  4411. ],
  4412. "produces": [
  4413. "application/json"
  4414. ],
  4415. "tags": [
  4416. "门禁"
  4417. ],
  4418. "summary": "删除人脸",
  4419. "parameters": [
  4420. {
  4421. "type": "string",
  4422. "description": " ",
  4423. "name": "token",
  4424. "in": "header",
  4425. "required": true
  4426. },
  4427. {
  4428. "type": "integer",
  4429. "description": "人脸记录id",
  4430. "name": "id",
  4431. "in": "query",
  4432. "required": true
  4433. }
  4434. ],
  4435. "responses": {
  4436. "200": {
  4437. "description": "OK",
  4438. "schema": {
  4439. "$ref": "#/definitions/v1.GateUserPicDelResponse"
  4440. }
  4441. },
  4442. "500": {
  4443. "description": "Internal Server Error",
  4444. "schema": {
  4445. "$ref": "#/definitions/base.HTTPError"
  4446. }
  4447. }
  4448. }
  4449. }
  4450. },
  4451. "/api/v1/gate/pic/approve": {
  4452. "put": {
  4453. "description": "人脸审核",
  4454. "consumes": [
  4455. "application/json"
  4456. ],
  4457. "produces": [
  4458. "application/json"
  4459. ],
  4460. "tags": [
  4461. "门禁"
  4462. ],
  4463. "summary": "人脸审核",
  4464. "parameters": [
  4465. {
  4466. "type": "string",
  4467. "description": " ",
  4468. "name": "token",
  4469. "in": "header",
  4470. "required": true
  4471. },
  4472. {
  4473. "description": " ",
  4474. "name": "body",
  4475. "in": "body",
  4476. "required": true,
  4477. "schema": {
  4478. "$ref": "#/definitions/v1.GateUserPicApproveBody"
  4479. }
  4480. }
  4481. ],
  4482. "responses": {
  4483. "200": {
  4484. "description": "OK",
  4485. "schema": {
  4486. "$ref": "#/definitions/v1.GateUserPicApproveResponse"
  4487. }
  4488. },
  4489. "500": {
  4490. "description": "Internal Server Error",
  4491. "schema": {
  4492. "$ref": "#/definitions/base.HTTPError"
  4493. }
  4494. }
  4495. }
  4496. }
  4497. },
  4498. "/api/v1/gate/record": {
  4499. "get": {
  4500. "description": "开门记录",
  4501. "consumes": [
  4502. "application/json"
  4503. ],
  4504. "produces": [
  4505. "application/json"
  4506. ],
  4507. "tags": [
  4508. "门禁"
  4509. ],
  4510. "summary": "开门记录",
  4511. "parameters": [
  4512. {
  4513. "type": "string",
  4514. "description": " ",
  4515. "name": "token",
  4516. "in": "header",
  4517. "required": true
  4518. },
  4519. {
  4520. "type": "integer",
  4521. "description": " ",
  4522. "name": "page",
  4523. "in": "query"
  4524. },
  4525. {
  4526. "type": "integer",
  4527. "description": " ",
  4528. "name": "page_size",
  4529. "in": "query"
  4530. },
  4531. {
  4532. "type": "string",
  4533. "description": "设备id必传",
  4534. "name": "device_id",
  4535. "in": "query"
  4536. },
  4537. {
  4538. "type": "integer",
  4539. "description": "开始时间",
  4540. "name": "start",
  4541. "in": "query"
  4542. },
  4543. {
  4544. "type": "integer",
  4545. "description": "结束时间",
  4546. "name": "end",
  4547. "in": "query"
  4548. },
  4549. {
  4550. "type": "integer",
  4551. "description": "0不过滤 1 访客 2 非访客",
  4552. "name": "is_visitor",
  4553. "in": "query"
  4554. }
  4555. ],
  4556. "responses": {
  4557. "200": {
  4558. "description": "OK",
  4559. "schema": {
  4560. "$ref": "#/definitions/v1.GateRecordListResponse"
  4561. }
  4562. },
  4563. "500": {
  4564. "description": "Internal Server Error",
  4565. "schema": {
  4566. "$ref": "#/definitions/base.HTTPError"
  4567. }
  4568. }
  4569. }
  4570. }
  4571. },
  4572. "/api/v1/gate/set": {
  4573. "put": {
  4574. "description": "门禁配置进场场和位置",
  4575. "consumes": [
  4576. "application/json"
  4577. ],
  4578. "produces": [
  4579. "application/json"
  4580. ],
  4581. "tags": [
  4582. "门禁"
  4583. ],
  4584. "summary": "门禁配置进场场和位置",
  4585. "parameters": [
  4586. {
  4587. "type": "string",
  4588. "description": " ",
  4589. "name": "token",
  4590. "in": "header",
  4591. "required": true
  4592. },
  4593. {
  4594. "description": " ",
  4595. "name": "body",
  4596. "in": "body",
  4597. "required": true,
  4598. "schema": {
  4599. "$ref": "#/definitions/v1.GateSetBody"
  4600. }
  4601. }
  4602. ],
  4603. "responses": {
  4604. "200": {
  4605. "description": "OK",
  4606. "schema": {
  4607. "$ref": "#/definitions/v1.GateSetResponse"
  4608. }
  4609. },
  4610. "500": {
  4611. "description": "Internal Server Error",
  4612. "schema": {
  4613. "$ref": "#/definitions/base.HTTPError"
  4614. }
  4615. }
  4616. }
  4617. }
  4618. },
  4619. "/api/v1/gate/unit": {
  4620. "get": {
  4621. "description": "门禁单元列表",
  4622. "consumes": [
  4623. "application/json"
  4624. ],
  4625. "produces": [
  4626. "application/json"
  4627. ],
  4628. "tags": [
  4629. "门禁"
  4630. ],
  4631. "summary": "门禁单元列表",
  4632. "parameters": [
  4633. {
  4634. "type": "string",
  4635. "description": " ",
  4636. "name": "token",
  4637. "in": "header",
  4638. "required": true
  4639. },
  4640. {
  4641. "type": "integer",
  4642. "description": "设备id",
  4643. "name": "device_id",
  4644. "in": "query",
  4645. "required": true
  4646. }
  4647. ],
  4648. "responses": {
  4649. "200": {
  4650. "description": "OK",
  4651. "schema": {
  4652. "$ref": "#/definitions/v1.GateListResponse"
  4653. }
  4654. },
  4655. "500": {
  4656. "description": "Internal Server Error",
  4657. "schema": {
  4658. "$ref": "#/definitions/base.HTTPError"
  4659. }
  4660. }
  4661. }
  4662. },
  4663. "post": {
  4664. "description": "门禁添加单元",
  4665. "consumes": [
  4666. "application/json"
  4667. ],
  4668. "produces": [
  4669. "application/json"
  4670. ],
  4671. "tags": [
  4672. "门禁"
  4673. ],
  4674. "summary": "门禁添加单元",
  4675. "parameters": [
  4676. {
  4677. "type": "string",
  4678. "description": " ",
  4679. "name": "token",
  4680. "in": "header",
  4681. "required": true
  4682. },
  4683. {
  4684. "description": " ",
  4685. "name": "body",
  4686. "in": "body",
  4687. "required": true,
  4688. "schema": {
  4689. "$ref": "#/definitions/v1.GateUnitAddBody"
  4690. }
  4691. }
  4692. ],
  4693. "responses": {
  4694. "200": {
  4695. "description": "OK",
  4696. "schema": {
  4697. "$ref": "#/definitions/v1.GateUnitAddResponse"
  4698. }
  4699. },
  4700. "500": {
  4701. "description": "Internal Server Error",
  4702. "schema": {
  4703. "$ref": "#/definitions/base.HTTPError"
  4704. }
  4705. }
  4706. }
  4707. }
  4708. },
  4709. "/api/v1/gate/visitor": {
  4710. "get": {
  4711. "description": "访客记录",
  4712. "consumes": [
  4713. "application/json"
  4714. ],
  4715. "produces": [
  4716. "application/json"
  4717. ],
  4718. "tags": [
  4719. "门禁"
  4720. ],
  4721. "summary": "访客记录",
  4722. "parameters": [
  4723. {
  4724. "type": "string",
  4725. "description": " ",
  4726. "name": "token",
  4727. "in": "header",
  4728. "required": true
  4729. },
  4730. {
  4731. "type": "integer",
  4732. "description": " ",
  4733. "name": "page",
  4734. "in": "query"
  4735. },
  4736. {
  4737. "type": "integer",
  4738. "description": " ",
  4739. "name": "page_size",
  4740. "in": "query"
  4741. },
  4742. {
  4743. "type": "integer",
  4744. "description": "门禁id必传",
  4745. "name": "gate_id",
  4746. "in": "query"
  4747. },
  4748. {
  4749. "type": "integer",
  4750. "description": "开始时间",
  4751. "name": "start",
  4752. "in": "query"
  4753. },
  4754. {
  4755. "type": "integer",
  4756. "description": "结束时间",
  4757. "name": "end",
  4758. "in": "query"
  4759. },
  4760. {
  4761. "type": "string",
  4762. "description": "邀请人",
  4763. "name": "user",
  4764. "in": "query"
  4765. },
  4766. {
  4767. "type": "string",
  4768. "description": "被邀请人",
  4769. "name": "visitor",
  4770. "in": "query"
  4771. }
  4772. ],
  4773. "responses": {
  4774. "200": {
  4775. "description": "OK",
  4776. "schema": {
  4777. "$ref": "#/definitions/v1.GateVisitorListResponse"
  4778. }
  4779. },
  4780. "500": {
  4781. "description": "Internal Server Error",
  4782. "schema": {
  4783. "$ref": "#/definitions/base.HTTPError"
  4784. }
  4785. }
  4786. }
  4787. }
  4788. },
  4789. "/api/v1/household/approve": {
  4790. "put": {
  4791. "description": "审核业主",
  4792. "consumes": [
  4793. "application/json"
  4794. ],
  4795. "produces": [
  4796. "application/json"
  4797. ],
  4798. "tags": [
  4799. "业主管理"
  4800. ],
  4801. "summary": "审核业主",
  4802. "parameters": [
  4803. {
  4804. "type": "string",
  4805. "description": "token",
  4806. "name": "token",
  4807. "in": "header",
  4808. "required": true
  4809. },
  4810. {
  4811. "description": "信息",
  4812. "name": "body",
  4813. "in": "body",
  4814. "required": true,
  4815. "schema": {
  4816. "$ref": "#/definitions/v1.HouseholdApproveBody"
  4817. }
  4818. }
  4819. ],
  4820. "responses": {
  4821. "200": {
  4822. "description": "OK",
  4823. "schema": {
  4824. "$ref": "#/definitions/v1.HouseholdApproveResponse"
  4825. }
  4826. },
  4827. "500": {
  4828. "description": "Internal Server Error",
  4829. "schema": {
  4830. "$ref": "#/definitions/base.HTTPError"
  4831. }
  4832. }
  4833. }
  4834. }
  4835. },
  4836. "/api/v1/household/list": {
  4837. "get": {
  4838. "description": "申请列表",
  4839. "consumes": [
  4840. "application/json"
  4841. ],
  4842. "produces": [
  4843. "application/json"
  4844. ],
  4845. "tags": [
  4846. "业主管理"
  4847. ],
  4848. "summary": "申请列表",
  4849. "parameters": [
  4850. {
  4851. "type": "string",
  4852. "description": "token",
  4853. "name": "token",
  4854. "in": "header",
  4855. "required": true
  4856. },
  4857. {
  4858. "type": "integer",
  4859. "description": "业主身份类型",
  4860. "name": "user_type",
  4861. "in": "query"
  4862. },
  4863. {
  4864. "type": "integer",
  4865. "description": " ",
  4866. "name": "page",
  4867. "in": "query"
  4868. },
  4869. {
  4870. "type": "integer",
  4871. "description": " ",
  4872. "name": "page_size",
  4873. "in": "query"
  4874. },
  4875. {
  4876. "type": "string",
  4877. "description": "业主姓名",
  4878. "name": "name",
  4879. "in": "query"
  4880. },
  4881. {
  4882. "type": "integer",
  4883. "description": "0 未审核+未通过 1 未审核 2 已通过 3 未通过",
  4884. "name": "approve_status",
  4885. "in": "query"
  4886. }
  4887. ],
  4888. "responses": {
  4889. "200": {
  4890. "description": "OK",
  4891. "schema": {
  4892. "$ref": "#/definitions/v1.HouseholdListResponse"
  4893. }
  4894. },
  4895. "500": {
  4896. "description": "Internal Server Error",
  4897. "schema": {
  4898. "$ref": "#/definitions/base.HTTPError"
  4899. }
  4900. }
  4901. }
  4902. }
  4903. },
  4904. "/api/v1/household/user_list": {
  4905. "get": {
  4906. "description": "业主信息",
  4907. "consumes": [
  4908. "application/json"
  4909. ],
  4910. "produces": [
  4911. "application/json"
  4912. ],
  4913. "tags": [
  4914. "业主管理"
  4915. ],
  4916. "summary": "业主信息",
  4917. "parameters": [
  4918. {
  4919. "type": "string",
  4920. "description": "token",
  4921. "name": "token",
  4922. "in": "header",
  4923. "required": true
  4924. },
  4925. {
  4926. "type": "integer",
  4927. "description": "业主身份类型",
  4928. "name": "user_type",
  4929. "in": "query"
  4930. },
  4931. {
  4932. "type": "integer",
  4933. "description": " ",
  4934. "name": "page",
  4935. "in": "query"
  4936. },
  4937. {
  4938. "type": "integer",
  4939. "description": " ",
  4940. "name": "page_size",
  4941. "in": "query"
  4942. },
  4943. {
  4944. "type": "string",
  4945. "description": "业主姓名",
  4946. "name": "name",
  4947. "in": "query"
  4948. },
  4949. {
  4950. "type": "integer",
  4951. "description": "房屋id",
  4952. "name": "house_id",
  4953. "in": "query"
  4954. },
  4955. {
  4956. "type": "integer",
  4957. "description": "楼栋id",
  4958. "name": "building_id",
  4959. "in": "query"
  4960. },
  4961. {
  4962. "type": "integer",
  4963. "description": "单元id",
  4964. "name": "unit_id",
  4965. "in": "query"
  4966. },
  4967. {
  4968. "type": "string",
  4969. "description": "门禁设备id",
  4970. "name": "gate_id",
  4971. "in": "query"
  4972. }
  4973. ],
  4974. "responses": {
  4975. "200": {
  4976. "description": "OK",
  4977. "schema": {
  4978. "$ref": "#/definitions/v1.HouseholdListResponse"
  4979. }
  4980. },
  4981. "500": {
  4982. "description": "Internal Server Error",
  4983. "schema": {
  4984. "$ref": "#/definitions/base.HTTPError"
  4985. }
  4986. }
  4987. }
  4988. }
  4989. },
  4990. "/api/v1/material/info": {
  4991. "get": {
  4992. "description": "获取单个素材",
  4993. "consumes": [
  4994. "application/json"
  4995. ],
  4996. "produces": [
  4997. "application/json"
  4998. ],
  4999. "tags": [
  5000. "素材"
  5001. ],
  5002. "summary": "获取单个素材",
  5003. "parameters": [
  5004. {
  5005. "type": "string",
  5006. "description": " ",
  5007. "name": "token",
  5008. "in": "header",
  5009. "required": true
  5010. },
  5011. {
  5012. "type": "integer",
  5013. "description": "素材类型",
  5014. "name": "mtype",
  5015. "in": "query",
  5016. "required": true
  5017. }
  5018. ],
  5019. "responses": {
  5020. "200": {
  5021. "description": "OK",
  5022. "schema": {
  5023. "$ref": "#/definitions/v1.MaterialInfoResponse"
  5024. }
  5025. },
  5026. "500": {
  5027. "description": "Internal Server Error",
  5028. "schema": {
  5029. "$ref": "#/definitions/base.HTTPError"
  5030. }
  5031. }
  5032. }
  5033. }
  5034. },
  5035. "/api/v1/material/list": {
  5036. "get": {
  5037. "description": "根据类型获取素材列表",
  5038. "consumes": [
  5039. "application/json"
  5040. ],
  5041. "produces": [
  5042. "application/json"
  5043. ],
  5044. "tags": [
  5045. "素材"
  5046. ],
  5047. "summary": "根据类型获取素材列表",
  5048. "parameters": [
  5049. {
  5050. "type": "string",
  5051. "description": " ",
  5052. "name": "token",
  5053. "in": "header",
  5054. "required": true
  5055. },
  5056. {
  5057. "type": "string",
  5058. "description": "类型,多个类型以逗号分隔",
  5059. "name": "mtypes",
  5060. "in": "query",
  5061. "required": true
  5062. }
  5063. ],
  5064. "responses": {
  5065. "200": {
  5066. "description": "OK",
  5067. "schema": {
  5068. "$ref": "#/definitions/v1.MaterialListResponse"
  5069. }
  5070. },
  5071. "500": {
  5072. "description": "Internal Server Error",
  5073. "schema": {
  5074. "$ref": "#/definitions/base.HTTPError"
  5075. }
  5076. }
  5077. }
  5078. }
  5079. },
  5080. "/api/v1/msg_package": {
  5081. "get": {
  5082. "description": "所有套餐列表",
  5083. "consumes": [
  5084. "application/json"
  5085. ],
  5086. "produces": [
  5087. "application/json"
  5088. ],
  5089. "tags": [
  5090. "短信套餐"
  5091. ],
  5092. "summary": "所有套餐列表",
  5093. "parameters": [
  5094. {
  5095. "type": "string",
  5096. "description": " ",
  5097. "name": "token",
  5098. "in": "header",
  5099. "required": true
  5100. },
  5101. {
  5102. "type": "integer",
  5103. "description": "第几页,1为起始页, -1 不分页返回所有",
  5104. "name": "page",
  5105. "in": "query",
  5106. "required": true
  5107. },
  5108. {
  5109. "type": "integer",
  5110. "description": "每页条数,-1 不分页返回所有",
  5111. "name": "page_size",
  5112. "in": "query"
  5113. }
  5114. ],
  5115. "responses": {
  5116. "200": {
  5117. "description": "OK",
  5118. "schema": {
  5119. "$ref": "#/definitions/v1.MsgPackageListResponse"
  5120. }
  5121. },
  5122. "500": {
  5123. "description": "Internal Server Error",
  5124. "schema": {
  5125. "$ref": "#/definitions/base.HTTPError"
  5126. }
  5127. }
  5128. }
  5129. }
  5130. },
  5131. "/api/v1/msg_package/order": {
  5132. "get": {
  5133. "description": "短信套餐订单列表",
  5134. "consumes": [
  5135. "application/json"
  5136. ],
  5137. "produces": [
  5138. "application/json"
  5139. ],
  5140. "tags": [
  5141. "短信套餐"
  5142. ],
  5143. "summary": "短信套餐订单列表",
  5144. "parameters": [
  5145. {
  5146. "type": "string",
  5147. "description": " ",
  5148. "name": "token",
  5149. "in": "header",
  5150. "required": true
  5151. },
  5152. {
  5153. "type": "integer",
  5154. "description": "第几页,1为起始页, -1 不分页返回所有",
  5155. "name": "page",
  5156. "in": "query",
  5157. "required": true
  5158. },
  5159. {
  5160. "type": "integer",
  5161. "description": "每页条数,-1 不分页返回所有",
  5162. "name": "page_size",
  5163. "in": "query"
  5164. },
  5165. {
  5166. "type": "integer",
  5167. "description": "0不过滤,1待认证 2 已通过(已购) 3 未通过",
  5168. "name": "status",
  5169. "in": "query"
  5170. }
  5171. ],
  5172. "responses": {
  5173. "200": {
  5174. "description": "OK",
  5175. "schema": {
  5176. "$ref": "#/definitions/v1.MsgPackageOrderListResponse"
  5177. }
  5178. },
  5179. "500": {
  5180. "description": "Internal Server Error",
  5181. "schema": {
  5182. "$ref": "#/definitions/base.HTTPError"
  5183. }
  5184. }
  5185. }
  5186. },
  5187. "post": {
  5188. "description": "购买短信套餐",
  5189. "consumes": [
  5190. "application/json"
  5191. ],
  5192. "produces": [
  5193. "application/json"
  5194. ],
  5195. "tags": [
  5196. "短信套餐"
  5197. ],
  5198. "summary": "购买短信套餐",
  5199. "parameters": [
  5200. {
  5201. "type": "string",
  5202. "description": " ",
  5203. "name": "token",
  5204. "in": "header",
  5205. "required": true
  5206. },
  5207. {
  5208. "description": "信息",
  5209. "name": "body",
  5210. "in": "body",
  5211. "required": true,
  5212. "schema": {
  5213. "$ref": "#/definitions/v1.MsgPackageOrderAddBody"
  5214. }
  5215. }
  5216. ],
  5217. "responses": {
  5218. "200": {
  5219. "description": "OK",
  5220. "schema": {
  5221. "$ref": "#/definitions/v1.MsgPackageOrderAddResponse"
  5222. }
  5223. },
  5224. "500": {
  5225. "description": "Internal Server Error",
  5226. "schema": {
  5227. "$ref": "#/definitions/base.HTTPError"
  5228. }
  5229. }
  5230. }
  5231. }
  5232. },
  5233. "/api/v1/openim_upload": {
  5234. "post": {
  5235. "description": "上传文件(openim聊天专用)",
  5236. "consumes": [
  5237. "application/json"
  5238. ],
  5239. "produces": [
  5240. "application/json"
  5241. ],
  5242. "tags": [
  5243. "upload"
  5244. ],
  5245. "summary": "上传文件(openim聊天专用)",
  5246. "parameters": [
  5247. {
  5248. "type": "string",
  5249. "description": "jwt token",
  5250. "name": "token",
  5251. "in": "header",
  5252. "required": true
  5253. },
  5254. {
  5255. "type": "file",
  5256. "description": "file",
  5257. "name": "file",
  5258. "in": "formData"
  5259. }
  5260. ],
  5261. "responses": {
  5262. "200": {
  5263. "description": "OK",
  5264. "schema": {
  5265. "$ref": "#/definitions/v1.UploadResponse"
  5266. }
  5267. },
  5268. "500": {
  5269. "description": "Internal Server Error",
  5270. "schema": {
  5271. "$ref": "#/definitions/base.HTTPError"
  5272. }
  5273. }
  5274. }
  5275. }
  5276. },
  5277. "/api/v1/order/application": {
  5278. "get": {
  5279. "description": "应用订单列表",
  5280. "consumes": [
  5281. "application/json"
  5282. ],
  5283. "produces": [
  5284. "application/json"
  5285. ],
  5286. "tags": [
  5287. "应用订单"
  5288. ],
  5289. "summary": "应用订单列表",
  5290. "parameters": [
  5291. {
  5292. "type": "string",
  5293. "description": " ",
  5294. "name": "token",
  5295. "in": "header",
  5296. "required": true
  5297. },
  5298. {
  5299. "type": "integer",
  5300. "description": "第几页,1为起始页, -1 不分页返回所有",
  5301. "name": "page",
  5302. "in": "query",
  5303. "required": true
  5304. },
  5305. {
  5306. "type": "integer",
  5307. "description": "每页条数,-1 不分页返回所有",
  5308. "name": "page_size",
  5309. "in": "query"
  5310. },
  5311. {
  5312. "type": "integer",
  5313. "description": "0不过滤,1待认证 2 已通过(已购) 3 未通过",
  5314. "name": "status",
  5315. "in": "query"
  5316. }
  5317. ],
  5318. "responses": {
  5319. "200": {
  5320. "description": "OK",
  5321. "schema": {
  5322. "$ref": "#/definitions/v1.GardenApplicationListResponse"
  5323. }
  5324. },
  5325. "500": {
  5326. "description": "Internal Server Error",
  5327. "schema": {
  5328. "$ref": "#/definitions/base.HTTPError"
  5329. }
  5330. }
  5331. }
  5332. },
  5333. "post": {
  5334. "description": "购买应用",
  5335. "consumes": [
  5336. "application/json"
  5337. ],
  5338. "produces": [
  5339. "application/json"
  5340. ],
  5341. "tags": [
  5342. "应用订单"
  5343. ],
  5344. "summary": "购买应用",
  5345. "parameters": [
  5346. {
  5347. "type": "string",
  5348. "description": " ",
  5349. "name": "token",
  5350. "in": "header",
  5351. "required": true
  5352. },
  5353. {
  5354. "description": "信息",
  5355. "name": "body",
  5356. "in": "body",
  5357. "required": true,
  5358. "schema": {
  5359. "$ref": "#/definitions/v1.ApplicationOrderAddBody"
  5360. }
  5361. }
  5362. ],
  5363. "responses": {
  5364. "200": {
  5365. "description": "OK",
  5366. "schema": {
  5367. "$ref": "#/definitions/v1.ApplicationOrderAddResponse"
  5368. }
  5369. },
  5370. "500": {
  5371. "description": "Internal Server Error",
  5372. "schema": {
  5373. "$ref": "#/definitions/base.HTTPError"
  5374. }
  5375. }
  5376. }
  5377. }
  5378. },
  5379. "/api/v1/park": {
  5380. "get": {
  5381. "description": "停车场列表",
  5382. "consumes": [
  5383. "application/json"
  5384. ],
  5385. "produces": [
  5386. "application/json"
  5387. ],
  5388. "tags": [
  5389. "停车场"
  5390. ],
  5391. "summary": "停车场列表",
  5392. "parameters": [
  5393. {
  5394. "type": "string",
  5395. "description": "token",
  5396. "name": "token",
  5397. "in": "header",
  5398. "required": true
  5399. }
  5400. ],
  5401. "responses": {
  5402. "200": {
  5403. "description": "OK",
  5404. "schema": {
  5405. "$ref": "#/definitions/v1.ParkListResponse"
  5406. }
  5407. },
  5408. "500": {
  5409. "description": "Internal Server Error",
  5410. "schema": {
  5411. "$ref": "#/definitions/base.HTTPError"
  5412. }
  5413. }
  5414. }
  5415. },
  5416. "put": {
  5417. "description": "更改停车场",
  5418. "consumes": [
  5419. "application/json"
  5420. ],
  5421. "produces": [
  5422. "application/json"
  5423. ],
  5424. "tags": [
  5425. "停车场"
  5426. ],
  5427. "summary": "更改停车场",
  5428. "parameters": [
  5429. {
  5430. "type": "string",
  5431. "description": "token",
  5432. "name": "token",
  5433. "in": "header",
  5434. "required": true
  5435. },
  5436. {
  5437. "description": "信息",
  5438. "name": "body",
  5439. "in": "body",
  5440. "required": true,
  5441. "schema": {
  5442. "$ref": "#/definitions/v1.ParkUpdateBody"
  5443. }
  5444. }
  5445. ],
  5446. "responses": {
  5447. "200": {
  5448. "description": "OK",
  5449. "schema": {
  5450. "$ref": "#/definitions/v1.ParkUpdateResponse"
  5451. }
  5452. },
  5453. "500": {
  5454. "description": "Internal Server Error",
  5455. "schema": {
  5456. "$ref": "#/definitions/base.HTTPError"
  5457. }
  5458. }
  5459. }
  5460. },
  5461. "post": {
  5462. "description": "添加停车场",
  5463. "consumes": [
  5464. "application/json"
  5465. ],
  5466. "produces": [
  5467. "application/json"
  5468. ],
  5469. "tags": [
  5470. "停车场"
  5471. ],
  5472. "summary": "添加停车场",
  5473. "parameters": [
  5474. {
  5475. "type": "string",
  5476. "description": "token",
  5477. "name": "token",
  5478. "in": "header",
  5479. "required": true
  5480. },
  5481. {
  5482. "description": "信息",
  5483. "name": "body",
  5484. "in": "body",
  5485. "required": true,
  5486. "schema": {
  5487. "$ref": "#/definitions/v1.ParkAddBody"
  5488. }
  5489. }
  5490. ],
  5491. "responses": {
  5492. "200": {
  5493. "description": "OK",
  5494. "schema": {
  5495. "$ref": "#/definitions/v1.ParkAddResponse"
  5496. }
  5497. },
  5498. "500": {
  5499. "description": "Internal Server Error",
  5500. "schema": {
  5501. "$ref": "#/definitions/base.HTTPError"
  5502. }
  5503. }
  5504. }
  5505. },
  5506. "delete": {
  5507. "description": "删除停车场",
  5508. "consumes": [
  5509. "application/json"
  5510. ],
  5511. "produces": [
  5512. "application/json"
  5513. ],
  5514. "tags": [
  5515. "停车场"
  5516. ],
  5517. "summary": "删除停车场",
  5518. "parameters": [
  5519. {
  5520. "type": "string",
  5521. "description": "token",
  5522. "name": "token",
  5523. "in": "header",
  5524. "required": true
  5525. },
  5526. {
  5527. "type": "integer",
  5528. "description": "id",
  5529. "name": "id",
  5530. "in": "query",
  5531. "required": true
  5532. }
  5533. ],
  5534. "responses": {
  5535. "200": {
  5536. "description": "OK",
  5537. "schema": {
  5538. "$ref": "#/definitions/v1.ParkDelResponse"
  5539. }
  5540. },
  5541. "500": {
  5542. "description": "Internal Server Error",
  5543. "schema": {
  5544. "$ref": "#/definitions/base.HTTPError"
  5545. }
  5546. }
  5547. }
  5548. }
  5549. },
  5550. "/api/v1/park/space": {
  5551. "get": {
  5552. "description": "停车位列表",
  5553. "consumes": [
  5554. "application/json"
  5555. ],
  5556. "produces": [
  5557. "application/json"
  5558. ],
  5559. "tags": [
  5560. "停车位"
  5561. ],
  5562. "summary": "停车位列表",
  5563. "parameters": [
  5564. {
  5565. "type": "string",
  5566. "description": "token",
  5567. "name": "token",
  5568. "in": "header",
  5569. "required": true
  5570. },
  5571. {
  5572. "type": "integer",
  5573. "description": " ",
  5574. "name": "page",
  5575. "in": "query"
  5576. },
  5577. {
  5578. "type": "integer",
  5579. "description": " ",
  5580. "name": "page_size",
  5581. "in": "query"
  5582. },
  5583. {
  5584. "type": "string",
  5585. "description": "车位编号 ",
  5586. "name": "space_number",
  5587. "in": "query"
  5588. },
  5589. {
  5590. "type": "integer",
  5591. "description": "停车场id ",
  5592. "name": "park_id",
  5593. "in": "query"
  5594. },
  5595. {
  5596. "type": "integer",
  5597. "description": "车位类型 1 普通车位 2 子母车位 3 豪华车位 ",
  5598. "name": "space_type",
  5599. "in": "query"
  5600. },
  5601. {
  5602. "type": "integer",
  5603. "description": "业主uid",
  5604. "name": "household_uid",
  5605. "in": "query"
  5606. },
  5607. {
  5608. "type": "integer",
  5609. "description": "车辆的绑定类型",
  5610. "name": "bind_type",
  5611. "in": "query"
  5612. },
  5613. {
  5614. "type": "integer",
  5615. "description": "车辆已绑定的车位id",
  5616. "name": "bind_space_id",
  5617. "in": "query"
  5618. }
  5619. ],
  5620. "responses": {
  5621. "200": {
  5622. "description": "OK",
  5623. "schema": {
  5624. "$ref": "#/definitions/v1.ParkSpaceListResponse"
  5625. }
  5626. },
  5627. "500": {
  5628. "description": "Internal Server Error",
  5629. "schema": {
  5630. "$ref": "#/definitions/base.HTTPError"
  5631. }
  5632. }
  5633. }
  5634. },
  5635. "put": {
  5636. "description": "更改停车位",
  5637. "consumes": [
  5638. "application/json"
  5639. ],
  5640. "produces": [
  5641. "application/json"
  5642. ],
  5643. "tags": [
  5644. "停车位"
  5645. ],
  5646. "summary": "更改停车位",
  5647. "parameters": [
  5648. {
  5649. "type": "string",
  5650. "description": "token",
  5651. "name": "token",
  5652. "in": "header",
  5653. "required": true
  5654. },
  5655. {
  5656. "description": "信息",
  5657. "name": "body",
  5658. "in": "body",
  5659. "required": true,
  5660. "schema": {
  5661. "$ref": "#/definitions/v1.ParkSpaceUpdateBody"
  5662. }
  5663. }
  5664. ],
  5665. "responses": {
  5666. "200": {
  5667. "description": "OK",
  5668. "schema": {
  5669. "$ref": "#/definitions/v1.ParkSpaceUpdateResponse"
  5670. }
  5671. },
  5672. "500": {
  5673. "description": "Internal Server Error",
  5674. "schema": {
  5675. "$ref": "#/definitions/base.HTTPError"
  5676. }
  5677. }
  5678. }
  5679. },
  5680. "post": {
  5681. "description": "添加停车位",
  5682. "consumes": [
  5683. "application/json"
  5684. ],
  5685. "produces": [
  5686. "application/json"
  5687. ],
  5688. "tags": [
  5689. "停车位"
  5690. ],
  5691. "summary": "添加停车位",
  5692. "parameters": [
  5693. {
  5694. "type": "string",
  5695. "description": "token",
  5696. "name": "token",
  5697. "in": "header",
  5698. "required": true
  5699. },
  5700. {
  5701. "description": "信息",
  5702. "name": "body",
  5703. "in": "body",
  5704. "required": true,
  5705. "schema": {
  5706. "$ref": "#/definitions/v1.ParkSpaceAddBody"
  5707. }
  5708. }
  5709. ],
  5710. "responses": {
  5711. "200": {
  5712. "description": "OK",
  5713. "schema": {
  5714. "$ref": "#/definitions/v1.ParkAddResponse"
  5715. }
  5716. },
  5717. "500": {
  5718. "description": "Internal Server Error",
  5719. "schema": {
  5720. "$ref": "#/definitions/base.HTTPError"
  5721. }
  5722. }
  5723. }
  5724. },
  5725. "delete": {
  5726. "description": "删除停车位",
  5727. "consumes": [
  5728. "application/json"
  5729. ],
  5730. "produces": [
  5731. "application/json"
  5732. ],
  5733. "tags": [
  5734. "停车位"
  5735. ],
  5736. "summary": "删除停车位",
  5737. "parameters": [
  5738. {
  5739. "type": "string",
  5740. "description": "token",
  5741. "name": "token",
  5742. "in": "header",
  5743. "required": true
  5744. },
  5745. {
  5746. "type": "integer",
  5747. "description": "id",
  5748. "name": "id",
  5749. "in": "query",
  5750. "required": true
  5751. }
  5752. ],
  5753. "responses": {
  5754. "200": {
  5755. "description": "OK",
  5756. "schema": {
  5757. "$ref": "#/definitions/v1.ParkSpaceDelResponse"
  5758. }
  5759. },
  5760. "500": {
  5761. "description": "Internal Server Error",
  5762. "schema": {
  5763. "$ref": "#/definitions/base.HTTPError"
  5764. }
  5765. }
  5766. }
  5767. }
  5768. },
  5769. "/api/v1/permission/all": {
  5770. "get": {
  5771. "description": "所有权限节点信息",
  5772. "consumes": [
  5773. "application/json"
  5774. ],
  5775. "produces": [
  5776. "application/json"
  5777. ],
  5778. "tags": [
  5779. "权限管理"
  5780. ],
  5781. "summary": "所有权限节点信息",
  5782. "parameters": [
  5783. {
  5784. "type": "string",
  5785. "description": "token",
  5786. "name": "token",
  5787. "in": "header",
  5788. "required": true
  5789. }
  5790. ],
  5791. "responses": {
  5792. "200": {
  5793. "description": "OK",
  5794. "schema": {
  5795. "$ref": "#/definitions/v1.AllPermissionResponse"
  5796. }
  5797. },
  5798. "500": {
  5799. "description": "Internal Server Error",
  5800. "schema": {
  5801. "$ref": "#/definitions/base.HTTPError"
  5802. }
  5803. }
  5804. }
  5805. }
  5806. },
  5807. "/api/v1/permission/group": {
  5808. "put": {
  5809. "description": "更改权限组",
  5810. "consumes": [
  5811. "application/json"
  5812. ],
  5813. "produces": [
  5814. "application/json"
  5815. ],
  5816. "tags": [
  5817. "权限管理"
  5818. ],
  5819. "summary": "更改权限组",
  5820. "parameters": [
  5821. {
  5822. "type": "string",
  5823. "description": "token",
  5824. "name": "token",
  5825. "in": "header",
  5826. "required": true
  5827. },
  5828. {
  5829. "description": "组信息",
  5830. "name": "body",
  5831. "in": "body",
  5832. "required": true,
  5833. "schema": {
  5834. "$ref": "#/definitions/v1.GroupUpdateBody"
  5835. }
  5836. }
  5837. ],
  5838. "responses": {
  5839. "200": {
  5840. "description": "OK",
  5841. "schema": {
  5842. "$ref": "#/definitions/v1.GroupUpdateResponse"
  5843. }
  5844. },
  5845. "500": {
  5846. "description": "Internal Server Error",
  5847. "schema": {
  5848. "$ref": "#/definitions/base.HTTPError"
  5849. }
  5850. }
  5851. }
  5852. },
  5853. "post": {
  5854. "description": "添加权限组",
  5855. "consumes": [
  5856. "application/json"
  5857. ],
  5858. "produces": [
  5859. "application/json"
  5860. ],
  5861. "tags": [
  5862. "权限管理"
  5863. ],
  5864. "summary": "添加权限组",
  5865. "parameters": [
  5866. {
  5867. "type": "string",
  5868. "description": "token",
  5869. "name": "token",
  5870. "in": "header",
  5871. "required": true
  5872. },
  5873. {
  5874. "description": "组信息",
  5875. "name": "body",
  5876. "in": "body",
  5877. "required": true,
  5878. "schema": {
  5879. "$ref": "#/definitions/v1.GroupAddBody"
  5880. }
  5881. }
  5882. ],
  5883. "responses": {
  5884. "200": {
  5885. "description": "OK",
  5886. "schema": {
  5887. "$ref": "#/definitions/v1.GroupAddResponse"
  5888. }
  5889. },
  5890. "500": {
  5891. "description": "Internal Server Error",
  5892. "schema": {
  5893. "$ref": "#/definitions/base.HTTPError"
  5894. }
  5895. }
  5896. }
  5897. },
  5898. "delete": {
  5899. "description": "删除权限组",
  5900. "consumes": [
  5901. "application/json"
  5902. ],
  5903. "produces": [
  5904. "application/json"
  5905. ],
  5906. "tags": [
  5907. "权限管理"
  5908. ],
  5909. "summary": "删除权限组",
  5910. "parameters": [
  5911. {
  5912. "type": "string",
  5913. "description": "token",
  5914. "name": "token",
  5915. "in": "header",
  5916. "required": true
  5917. },
  5918. {
  5919. "type": "integer",
  5920. "description": "组id",
  5921. "name": "id",
  5922. "in": "query",
  5923. "required": true
  5924. }
  5925. ],
  5926. "responses": {
  5927. "200": {
  5928. "description": "OK",
  5929. "schema": {
  5930. "$ref": "#/definitions/v1.GroupDelResponse"
  5931. }
  5932. },
  5933. "500": {
  5934. "description": "Internal Server Error",
  5935. "schema": {
  5936. "$ref": "#/definitions/base.HTTPError"
  5937. }
  5938. }
  5939. }
  5940. }
  5941. },
  5942. "/api/v1/permission/group_info": {
  5943. "get": {
  5944. "description": "权限组信息",
  5945. "consumes": [
  5946. "application/json"
  5947. ],
  5948. "produces": [
  5949. "application/json"
  5950. ],
  5951. "tags": [
  5952. "权限管理"
  5953. ],
  5954. "summary": "权限组信息",
  5955. "parameters": [
  5956. {
  5957. "type": "string",
  5958. "description": "token",
  5959. "name": "token",
  5960. "in": "header",
  5961. "required": true
  5962. },
  5963. {
  5964. "type": "integer",
  5965. "description": "组id",
  5966. "name": "id",
  5967. "in": "query",
  5968. "required": true
  5969. }
  5970. ],
  5971. "responses": {
  5972. "200": {
  5973. "description": "OK",
  5974. "schema": {
  5975. "$ref": "#/definitions/v1.GroupInfoResponse"
  5976. }
  5977. },
  5978. "500": {
  5979. "description": "Internal Server Error",
  5980. "schema": {
  5981. "$ref": "#/definitions/base.HTTPError"
  5982. }
  5983. }
  5984. }
  5985. }
  5986. },
  5987. "/api/v1/permission/group_list": {
  5988. "get": {
  5989. "description": "权限组列表",
  5990. "consumes": [
  5991. "application/json"
  5992. ],
  5993. "produces": [
  5994. "application/json"
  5995. ],
  5996. "tags": [
  5997. "权限管理"
  5998. ],
  5999. "summary": "权限组列表",
  6000. "parameters": [
  6001. {
  6002. "type": "string",
  6003. "description": "token",
  6004. "name": "token",
  6005. "in": "header",
  6006. "required": true
  6007. }
  6008. ],
  6009. "responses": {
  6010. "200": {
  6011. "description": "OK",
  6012. "schema": {
  6013. "$ref": "#/definitions/v1.GroupListResponse"
  6014. }
  6015. },
  6016. "500": {
  6017. "description": "Internal Server Error",
  6018. "schema": {
  6019. "$ref": "#/definitions/base.HTTPError"
  6020. }
  6021. }
  6022. }
  6023. }
  6024. },
  6025. "/api/v1/person": {
  6026. "get": {
  6027. "description": "个人信息",
  6028. "consumes": [
  6029. "application/json"
  6030. ],
  6031. "produces": [
  6032. "application/json"
  6033. ],
  6034. "tags": [
  6035. "个人设置"
  6036. ],
  6037. "summary": "个人信息",
  6038. "parameters": [
  6039. {
  6040. "type": "string",
  6041. "description": "token",
  6042. "name": "token",
  6043. "in": "header",
  6044. "required": true
  6045. }
  6046. ],
  6047. "responses": {
  6048. "200": {
  6049. "description": "OK",
  6050. "schema": {
  6051. "$ref": "#/definitions/v1.PersonInfoResponse"
  6052. }
  6053. },
  6054. "500": {
  6055. "description": "Internal Server Error",
  6056. "schema": {
  6057. "$ref": "#/definitions/base.HTTPError"
  6058. }
  6059. }
  6060. }
  6061. },
  6062. "put": {
  6063. "description": "个人信息修改",
  6064. "consumes": [
  6065. "application/json"
  6066. ],
  6067. "produces": [
  6068. "application/json"
  6069. ],
  6070. "tags": [
  6071. "个人设置"
  6072. ],
  6073. "summary": "个人信息修改",
  6074. "parameters": [
  6075. {
  6076. "type": "string",
  6077. "description": "token",
  6078. "name": "token",
  6079. "in": "header",
  6080. "required": true
  6081. }
  6082. ],
  6083. "responses": {
  6084. "200": {
  6085. "description": "OK",
  6086. "schema": {
  6087. "$ref": "#/definitions/v1.PersonInfoUpdateResponse"
  6088. }
  6089. },
  6090. "500": {
  6091. "description": "Internal Server Error",
  6092. "schema": {
  6093. "$ref": "#/definitions/base.HTTPError"
  6094. }
  6095. }
  6096. }
  6097. }
  6098. },
  6099. "/api/v1/rent/house": {
  6100. "get": {
  6101. "description": "租房列表",
  6102. "consumes": [
  6103. "application/json"
  6104. ],
  6105. "produces": [
  6106. "application/json"
  6107. ],
  6108. "tags": [
  6109. "房屋租赁"
  6110. ],
  6111. "summary": "租房列表",
  6112. "parameters": [
  6113. {
  6114. "type": "string",
  6115. "description": "token",
  6116. "name": "token",
  6117. "in": "header",
  6118. "required": true
  6119. },
  6120. {
  6121. "type": "string",
  6122. "description": "省份代码",
  6123. "name": "province_code",
  6124. "in": "query"
  6125. },
  6126. {
  6127. "type": "string",
  6128. "description": "城市代码",
  6129. "name": "city_code",
  6130. "in": "query"
  6131. },
  6132. {
  6133. "type": "string",
  6134. "description": "区域代码",
  6135. "name": "area_code",
  6136. "in": "query"
  6137. },
  6138. {
  6139. "type": "string",
  6140. "description": "街道代码",
  6141. "name": "street_code",
  6142. "in": "query"
  6143. },
  6144. {
  6145. "type": "integer",
  6146. "description": "几室",
  6147. "name": "room_count",
  6148. "in": "query"
  6149. },
  6150. {
  6151. "type": "integer",
  6152. "description": "几厅",
  6153. "name": "hall_count",
  6154. "in": "query"
  6155. },
  6156. {
  6157. "type": "integer",
  6158. "description": "几卫",
  6159. "name": "wc_count",
  6160. "in": "query"
  6161. },
  6162. {
  6163. "type": "string",
  6164. "description": "租金大于",
  6165. "name": "rent_price_greater",
  6166. "in": "query"
  6167. },
  6168. {
  6169. "type": "string",
  6170. "description": "租金小于",
  6171. "name": "rent_price_less",
  6172. "in": "query"
  6173. },
  6174. {
  6175. "type": "integer",
  6176. "description": "审核状态 0 不过滤 1 待审核 2 通过 3 未通过",
  6177. "name": "approve_status",
  6178. "in": "query"
  6179. },
  6180. {
  6181. "type": "integer",
  6182. "description": " ",
  6183. "name": "page",
  6184. "in": "query"
  6185. },
  6186. {
  6187. "type": "integer",
  6188. "description": " ",
  6189. "name": "page_size",
  6190. "in": "query"
  6191. },
  6192. {
  6193. "type": "integer",
  6194. "description": "从低bit到高bit分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机",
  6195. "name": "base_conf",
  6196. "in": "query"
  6197. },
  6198. {
  6199. "type": "integer",
  6200. "description": "从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租",
  6201. "name": "special_conf",
  6202. "in": "query"
  6203. }
  6204. ],
  6205. "responses": {
  6206. "200": {
  6207. "description": "OK",
  6208. "schema": {
  6209. "$ref": "#/definitions/v1.HouseRentListResponse"
  6210. }
  6211. },
  6212. "500": {
  6213. "description": "Internal Server Error",
  6214. "schema": {
  6215. "$ref": "#/definitions/base.HTTPError"
  6216. }
  6217. }
  6218. }
  6219. },
  6220. "put": {
  6221. "description": "修改信息",
  6222. "consumes": [
  6223. "application/json"
  6224. ],
  6225. "produces": [
  6226. "application/json"
  6227. ],
  6228. "tags": [
  6229. "房屋租赁"
  6230. ],
  6231. "summary": "修改信息",
  6232. "parameters": [
  6233. {
  6234. "type": "string",
  6235. "description": "token",
  6236. "name": "token",
  6237. "in": "header",
  6238. "required": true
  6239. },
  6240. {
  6241. "description": " ",
  6242. "name": "body",
  6243. "in": "body",
  6244. "required": true,
  6245. "schema": {
  6246. "$ref": "#/definitions/v1.HouseRentUpdateBody"
  6247. }
  6248. }
  6249. ],
  6250. "responses": {
  6251. "200": {
  6252. "description": "OK",
  6253. "schema": {
  6254. "$ref": "#/definitions/v1.HouseRentUpdateResponse"
  6255. }
  6256. },
  6257. "500": {
  6258. "description": "Internal Server Error",
  6259. "schema": {
  6260. "$ref": "#/definitions/base.HTTPError"
  6261. }
  6262. }
  6263. }
  6264. },
  6265. "post": {
  6266. "description": "发布房源",
  6267. "consumes": [
  6268. "application/json"
  6269. ],
  6270. "produces": [
  6271. "application/json"
  6272. ],
  6273. "tags": [
  6274. "房屋租赁"
  6275. ],
  6276. "summary": "发布房源",
  6277. "parameters": [
  6278. {
  6279. "type": "string",
  6280. "description": "token",
  6281. "name": "token",
  6282. "in": "header",
  6283. "required": true
  6284. },
  6285. {
  6286. "description": " ",
  6287. "name": "body",
  6288. "in": "body",
  6289. "required": true,
  6290. "schema": {
  6291. "$ref": "#/definitions/v1.HouseRentApplyBody"
  6292. }
  6293. }
  6294. ],
  6295. "responses": {
  6296. "200": {
  6297. "description": "OK",
  6298. "schema": {
  6299. "$ref": "#/definitions/v1.HouseRentApplyResponse"
  6300. }
  6301. },
  6302. "500": {
  6303. "description": "Internal Server Error",
  6304. "schema": {
  6305. "$ref": "#/definitions/base.HTTPError"
  6306. }
  6307. }
  6308. }
  6309. }
  6310. },
  6311. "/api/v1/rent/house/appointment": {
  6312. "get": {
  6313. "description": "租房预约记录",
  6314. "consumes": [
  6315. "application/json"
  6316. ],
  6317. "produces": [
  6318. "application/json"
  6319. ],
  6320. "tags": [
  6321. "房屋租赁"
  6322. ],
  6323. "summary": "租房预约记录",
  6324. "parameters": [
  6325. {
  6326. "type": "string",
  6327. "description": "token",
  6328. "name": "token",
  6329. "in": "header",
  6330. "required": true
  6331. },
  6332. {
  6333. "type": "string",
  6334. "description": "房屋全称",
  6335. "name": "house_name",
  6336. "in": "query"
  6337. },
  6338. {
  6339. "type": "string",
  6340. "description": "联系人",
  6341. "name": "name",
  6342. "in": "query"
  6343. },
  6344. {
  6345. "type": "string",
  6346. "description": "联系人电话",
  6347. "name": "phone",
  6348. "in": "query"
  6349. },
  6350. {
  6351. "type": "integer",
  6352. "description": "租房信息id",
  6353. "name": "rent_id",
  6354. "in": "query"
  6355. },
  6356. {
  6357. "type": "integer",
  6358. "description": " ",
  6359. "name": "page",
  6360. "in": "query"
  6361. },
  6362. {
  6363. "type": "integer",
  6364. "description": " ",
  6365. "name": "page_size",
  6366. "in": "query"
  6367. }
  6368. ],
  6369. "responses": {
  6370. "200": {
  6371. "description": "OK",
  6372. "schema": {
  6373. "$ref": "#/definitions/v1.HouseRentAppointmentListResponse"
  6374. }
  6375. },
  6376. "500": {
  6377. "description": "Internal Server Error",
  6378. "schema": {
  6379. "$ref": "#/definitions/base.HTTPError"
  6380. }
  6381. }
  6382. }
  6383. },
  6384. "put": {
  6385. "description": "删除租房预约记录",
  6386. "consumes": [
  6387. "application/json"
  6388. ],
  6389. "produces": [
  6390. "application/json"
  6391. ],
  6392. "tags": [
  6393. "房屋租赁"
  6394. ],
  6395. "summary": "修改租房预约状态",
  6396. "parameters": [
  6397. {
  6398. "type": "string",
  6399. "description": "token",
  6400. "name": "token",
  6401. "in": "header",
  6402. "required": true
  6403. },
  6404. {
  6405. "description": "信息",
  6406. "name": "body",
  6407. "in": "body",
  6408. "required": true,
  6409. "schema": {
  6410. "$ref": "#/definitions/v1.HouseRentAppointmentStatusBody"
  6411. }
  6412. }
  6413. ],
  6414. "responses": {
  6415. "200": {
  6416. "description": "OK",
  6417. "schema": {
  6418. "$ref": "#/definitions/v1.HouseRentAppointmentStatusResponse"
  6419. }
  6420. },
  6421. "500": {
  6422. "description": "Internal Server Error",
  6423. "schema": {
  6424. "$ref": "#/definitions/base.HTTPError"
  6425. }
  6426. }
  6427. }
  6428. },
  6429. "delete": {
  6430. "description": "删除租房预约记录",
  6431. "consumes": [
  6432. "application/json"
  6433. ],
  6434. "produces": [
  6435. "application/json"
  6436. ],
  6437. "tags": [
  6438. "房屋租赁"
  6439. ],
  6440. "summary": "删除租房预约记录",
  6441. "parameters": [
  6442. {
  6443. "type": "string",
  6444. "description": "token",
  6445. "name": "token",
  6446. "in": "header",
  6447. "required": true
  6448. },
  6449. {
  6450. "type": "integer",
  6451. "description": "预约记录id",
  6452. "name": "id",
  6453. "in": "query"
  6454. }
  6455. ],
  6456. "responses": {
  6457. "200": {
  6458. "description": "OK",
  6459. "schema": {
  6460. "$ref": "#/definitions/v1.HouseRentAppointmentDelResponse"
  6461. }
  6462. },
  6463. "500": {
  6464. "description": "Internal Server Error",
  6465. "schema": {
  6466. "$ref": "#/definitions/base.HTTPError"
  6467. }
  6468. }
  6469. }
  6470. }
  6471. },
  6472. "/api/v1/rent/house/approve": {
  6473. "put": {
  6474. "description": "审核",
  6475. "consumes": [
  6476. "application/json"
  6477. ],
  6478. "produces": [
  6479. "application/json"
  6480. ],
  6481. "tags": [
  6482. "房屋租赁"
  6483. ],
  6484. "summary": "审核",
  6485. "parameters": [
  6486. {
  6487. "type": "string",
  6488. "description": "token",
  6489. "name": "token",
  6490. "in": "header",
  6491. "required": true
  6492. },
  6493. {
  6494. "description": " ",
  6495. "name": "body",
  6496. "in": "body",
  6497. "required": true,
  6498. "schema": {
  6499. "$ref": "#/definitions/v1.HouseRentApproveBody"
  6500. }
  6501. }
  6502. ],
  6503. "responses": {
  6504. "200": {
  6505. "description": "OK",
  6506. "schema": {
  6507. "$ref": "#/definitions/v1.HouseRentApproveResponse"
  6508. }
  6509. },
  6510. "500": {
  6511. "description": "Internal Server Error",
  6512. "schema": {
  6513. "$ref": "#/definitions/base.HTTPError"
  6514. }
  6515. }
  6516. }
  6517. }
  6518. },
  6519. "/api/v1/rent/house/down": {
  6520. "put": {
  6521. "description": "下架",
  6522. "consumes": [
  6523. "application/json"
  6524. ],
  6525. "produces": [
  6526. "application/json"
  6527. ],
  6528. "tags": [
  6529. "房屋租赁"
  6530. ],
  6531. "summary": "下架",
  6532. "parameters": [
  6533. {
  6534. "type": "string",
  6535. "description": "token",
  6536. "name": "token",
  6537. "in": "header",
  6538. "required": true
  6539. },
  6540. {
  6541. "description": " ",
  6542. "name": "body",
  6543. "in": "body",
  6544. "required": true,
  6545. "schema": {
  6546. "$ref": "#/definitions/v1.HouseRentDownBody"
  6547. }
  6548. }
  6549. ],
  6550. "responses": {
  6551. "200": {
  6552. "description": "OK",
  6553. "schema": {
  6554. "$ref": "#/definitions/v1.HouseRentDownResponse"
  6555. }
  6556. },
  6557. "500": {
  6558. "description": "Internal Server Error",
  6559. "schema": {
  6560. "$ref": "#/definitions/base.HTTPError"
  6561. }
  6562. }
  6563. }
  6564. }
  6565. },
  6566. "/api/v1/rent/house/manager": {
  6567. "get": {
  6568. "description": "房屋的经纪人列表",
  6569. "consumes": [
  6570. "application/json"
  6571. ],
  6572. "produces": [
  6573. "application/json"
  6574. ],
  6575. "tags": [
  6576. "房屋租赁"
  6577. ],
  6578. "summary": "房屋的经纪人列表",
  6579. "parameters": [
  6580. {
  6581. "type": "string",
  6582. "description": "token",
  6583. "name": "token",
  6584. "in": "header",
  6585. "required": true
  6586. },
  6587. {
  6588. "type": "integer",
  6589. "description": "租房信息id",
  6590. "name": "rent_id",
  6591. "in": "query",
  6592. "required": true
  6593. }
  6594. ],
  6595. "responses": {
  6596. "200": {
  6597. "description": "OK",
  6598. "schema": {
  6599. "$ref": "#/definitions/v1.HouseRentManagerListResponse"
  6600. }
  6601. },
  6602. "500": {
  6603. "description": "Internal Server Error",
  6604. "schema": {
  6605. "$ref": "#/definitions/base.HTTPError"
  6606. }
  6607. }
  6608. }
  6609. },
  6610. "post": {
  6611. "description": "添加经纪人",
  6612. "consumes": [
  6613. "application/json"
  6614. ],
  6615. "produces": [
  6616. "application/json"
  6617. ],
  6618. "tags": [
  6619. "房屋租赁"
  6620. ],
  6621. "summary": "添加经纪人",
  6622. "parameters": [
  6623. {
  6624. "type": "string",
  6625. "description": "token",
  6626. "name": "token",
  6627. "in": "header",
  6628. "required": true
  6629. },
  6630. {
  6631. "description": " ",
  6632. "name": "body",
  6633. "in": "body",
  6634. "required": true,
  6635. "schema": {
  6636. "$ref": "#/definitions/v1.HouseRentAddManagerBody"
  6637. }
  6638. }
  6639. ],
  6640. "responses": {
  6641. "200": {
  6642. "description": "OK",
  6643. "schema": {
  6644. "$ref": "#/definitions/v1.HouseRentAddManagerResponse"
  6645. }
  6646. },
  6647. "500": {
  6648. "description": "Internal Server Error",
  6649. "schema": {
  6650. "$ref": "#/definitions/base.HTTPError"
  6651. }
  6652. }
  6653. }
  6654. },
  6655. "delete": {
  6656. "description": "删除经纪人",
  6657. "consumes": [
  6658. "application/json"
  6659. ],
  6660. "produces": [
  6661. "application/json"
  6662. ],
  6663. "tags": [
  6664. "房屋租赁"
  6665. ],
  6666. "summary": "删除经纪人",
  6667. "parameters": [
  6668. {
  6669. "type": "string",
  6670. "description": "token",
  6671. "name": "token",
  6672. "in": "header",
  6673. "required": true
  6674. },
  6675. {
  6676. "type": "integer",
  6677. "description": "经纪人与房屋的关系id",
  6678. "name": "id",
  6679. "in": "query",
  6680. "required": true
  6681. }
  6682. ],
  6683. "responses": {
  6684. "200": {
  6685. "description": "OK",
  6686. "schema": {
  6687. "$ref": "#/definitions/v1.HouseRentDelManagerResponse"
  6688. }
  6689. },
  6690. "500": {
  6691. "description": "Internal Server Error",
  6692. "schema": {
  6693. "$ref": "#/definitions/base.HTTPError"
  6694. }
  6695. }
  6696. }
  6697. }
  6698. },
  6699. "/api/v1/repair/class": {
  6700. "get": {
  6701. "description": "分类列表",
  6702. "consumes": [
  6703. "application/json"
  6704. ],
  6705. "produces": [
  6706. "application/json"
  6707. ],
  6708. "tags": [
  6709. "报事报修"
  6710. ],
  6711. "summary": "分类列表",
  6712. "parameters": [
  6713. {
  6714. "type": "string",
  6715. "description": "token",
  6716. "name": "token",
  6717. "in": "header",
  6718. "required": true
  6719. },
  6720. {
  6721. "type": "integer",
  6722. "description": " ",
  6723. "name": "page",
  6724. "in": "query"
  6725. },
  6726. {
  6727. "type": "integer",
  6728. "description": " ",
  6729. "name": "page_size",
  6730. "in": "query"
  6731. },
  6732. {
  6733. "type": "integer",
  6734. "description": "1公区 2室内 ",
  6735. "name": "area",
  6736. "in": "query"
  6737. }
  6738. ],
  6739. "responses": {
  6740. "200": {
  6741. "description": "OK",
  6742. "schema": {
  6743. "$ref": "#/definitions/v1.RepairClassListResponse"
  6744. }
  6745. },
  6746. "500": {
  6747. "description": "Internal Server Error",
  6748. "schema": {
  6749. "$ref": "#/definitions/base.HTTPError"
  6750. }
  6751. }
  6752. }
  6753. },
  6754. "put": {
  6755. "description": "修改分类",
  6756. "consumes": [
  6757. "application/json"
  6758. ],
  6759. "produces": [
  6760. "application/json"
  6761. ],
  6762. "tags": [
  6763. "报事报修"
  6764. ],
  6765. "summary": "修改分类",
  6766. "parameters": [
  6767. {
  6768. "type": "string",
  6769. "description": "token",
  6770. "name": "token",
  6771. "in": "header",
  6772. "required": true
  6773. },
  6774. {
  6775. "description": "信息",
  6776. "name": "body",
  6777. "in": "body",
  6778. "required": true,
  6779. "schema": {
  6780. "$ref": "#/definitions/v1.RepairClassUpdateBody"
  6781. }
  6782. }
  6783. ],
  6784. "responses": {
  6785. "200": {
  6786. "description": "OK",
  6787. "schema": {
  6788. "$ref": "#/definitions/v1.RepairClassUpdateResponse"
  6789. }
  6790. },
  6791. "500": {
  6792. "description": "Internal Server Error",
  6793. "schema": {
  6794. "$ref": "#/definitions/base.HTTPError"
  6795. }
  6796. }
  6797. }
  6798. },
  6799. "post": {
  6800. "description": "添加分类",
  6801. "consumes": [
  6802. "application/json"
  6803. ],
  6804. "produces": [
  6805. "application/json"
  6806. ],
  6807. "tags": [
  6808. "报事报修"
  6809. ],
  6810. "summary": "添加分类",
  6811. "parameters": [
  6812. {
  6813. "type": "string",
  6814. "description": "token",
  6815. "name": "token",
  6816. "in": "header",
  6817. "required": true
  6818. },
  6819. {
  6820. "description": "信息",
  6821. "name": "body",
  6822. "in": "body",
  6823. "required": true,
  6824. "schema": {
  6825. "$ref": "#/definitions/v1.RepairClassAddBody"
  6826. }
  6827. }
  6828. ],
  6829. "responses": {
  6830. "200": {
  6831. "description": "OK",
  6832. "schema": {
  6833. "$ref": "#/definitions/v1.RepairClassAddResponse"
  6834. }
  6835. },
  6836. "500": {
  6837. "description": "Internal Server Error",
  6838. "schema": {
  6839. "$ref": "#/definitions/base.HTTPError"
  6840. }
  6841. }
  6842. }
  6843. },
  6844. "delete": {
  6845. "description": "删除分类",
  6846. "consumes": [
  6847. "application/json"
  6848. ],
  6849. "produces": [
  6850. "application/json"
  6851. ],
  6852. "tags": [
  6853. "报事报修"
  6854. ],
  6855. "summary": "删除分类",
  6856. "parameters": [
  6857. {
  6858. "type": "string",
  6859. "description": "token",
  6860. "name": "token",
  6861. "in": "header",
  6862. "required": true
  6863. },
  6864. {
  6865. "type": "integer",
  6866. "description": " ",
  6867. "name": "id",
  6868. "in": "query",
  6869. "required": true
  6870. }
  6871. ],
  6872. "responses": {
  6873. "200": {
  6874. "description": "OK",
  6875. "schema": {
  6876. "$ref": "#/definitions/v1.RepairClassDelResponse"
  6877. }
  6878. },
  6879. "500": {
  6880. "description": "Internal Server Error",
  6881. "schema": {
  6882. "$ref": "#/definitions/base.HTTPError"
  6883. }
  6884. }
  6885. }
  6886. }
  6887. },
  6888. "/api/v1/repair/order": {
  6889. "get": {
  6890. "description": "工单列表",
  6891. "consumes": [
  6892. "application/json"
  6893. ],
  6894. "produces": [
  6895. "application/json"
  6896. ],
  6897. "tags": [
  6898. "报事报修"
  6899. ],
  6900. "summary": "工单列表",
  6901. "parameters": [
  6902. {
  6903. "type": "string",
  6904. "description": "token",
  6905. "name": "token",
  6906. "in": "header",
  6907. "required": true
  6908. },
  6909. {
  6910. "type": "integer",
  6911. "description": " ",
  6912. "name": "page",
  6913. "in": "query"
  6914. },
  6915. {
  6916. "type": "integer",
  6917. "description": " ",
  6918. "name": "page_size",
  6919. "in": "query"
  6920. },
  6921. {
  6922. "type": "integer",
  6923. "description": " 1未派单 2 已派单 3 已完结 ",
  6924. "name": "status",
  6925. "in": "query"
  6926. },
  6927. {
  6928. "type": "string",
  6929. "description": "报修人",
  6930. "name": "apply_people",
  6931. "in": "query"
  6932. },
  6933. {
  6934. "type": "string",
  6935. "description": "报修人电话",
  6936. "name": "apply_people_phone",
  6937. "in": "query"
  6938. },
  6939. {
  6940. "type": "boolean",
  6941. "description": " true: 指派给我的",
  6942. "name": "is_me",
  6943. "in": "query"
  6944. },
  6945. {
  6946. "type": "integer",
  6947. "description": "分类id",
  6948. "name": "class_id",
  6949. "in": "query"
  6950. }
  6951. ],
  6952. "responses": {
  6953. "200": {
  6954. "description": "OK",
  6955. "schema": {
  6956. "$ref": "#/definitions/v1.RepairOrderListResponse"
  6957. }
  6958. },
  6959. "500": {
  6960. "description": "Internal Server Error",
  6961. "schema": {
  6962. "$ref": "#/definitions/base.HTTPError"
  6963. }
  6964. }
  6965. }
  6966. },
  6967. "put": {
  6968. "description": "修改工单",
  6969. "consumes": [
  6970. "application/json"
  6971. ],
  6972. "produces": [
  6973. "application/json"
  6974. ],
  6975. "tags": [
  6976. "报事报修"
  6977. ],
  6978. "summary": "修改工单",
  6979. "parameters": [
  6980. {
  6981. "type": "string",
  6982. "description": "token",
  6983. "name": "token",
  6984. "in": "header",
  6985. "required": true
  6986. },
  6987. {
  6988. "description": "信息",
  6989. "name": "body",
  6990. "in": "body",
  6991. "required": true,
  6992. "schema": {
  6993. "$ref": "#/definitions/v1.RepairOrderUpdateBody"
  6994. }
  6995. }
  6996. ],
  6997. "responses": {
  6998. "200": {
  6999. "description": "OK",
  7000. "schema": {
  7001. "$ref": "#/definitions/v1.RepairOrderUpdateResponse"
  7002. }
  7003. },
  7004. "500": {
  7005. "description": "Internal Server Error",
  7006. "schema": {
  7007. "$ref": "#/definitions/base.HTTPError"
  7008. }
  7009. }
  7010. }
  7011. },
  7012. "post": {
  7013. "description": "新增工单",
  7014. "consumes": [
  7015. "application/json"
  7016. ],
  7017. "produces": [
  7018. "application/json"
  7019. ],
  7020. "tags": [
  7021. "报事报修"
  7022. ],
  7023. "summary": "新增工单",
  7024. "parameters": [
  7025. {
  7026. "type": "string",
  7027. "description": "token",
  7028. "name": "token",
  7029. "in": "header",
  7030. "required": true
  7031. },
  7032. {
  7033. "description": "信息",
  7034. "name": "body",
  7035. "in": "body",
  7036. "required": true,
  7037. "schema": {
  7038. "$ref": "#/definitions/v1.RepairOrderAddBody"
  7039. }
  7040. }
  7041. ],
  7042. "responses": {
  7043. "200": {
  7044. "description": "OK",
  7045. "schema": {
  7046. "$ref": "#/definitions/v1.RepairOrderAddResponse"
  7047. }
  7048. },
  7049. "500": {
  7050. "description": "Internal Server Error",
  7051. "schema": {
  7052. "$ref": "#/definitions/base.HTTPError"
  7053. }
  7054. }
  7055. }
  7056. },
  7057. "delete": {
  7058. "description": "删除工单",
  7059. "consumes": [
  7060. "application/json"
  7061. ],
  7062. "produces": [
  7063. "application/json"
  7064. ],
  7065. "tags": [
  7066. "报事报修"
  7067. ],
  7068. "summary": "删除工单",
  7069. "parameters": [
  7070. {
  7071. "type": "string",
  7072. "description": "token",
  7073. "name": "token",
  7074. "in": "header",
  7075. "required": true
  7076. },
  7077. {
  7078. "type": "integer",
  7079. "description": " ",
  7080. "name": "id",
  7081. "in": "query",
  7082. "required": true
  7083. }
  7084. ],
  7085. "responses": {
  7086. "200": {
  7087. "description": "OK",
  7088. "schema": {
  7089. "$ref": "#/definitions/v1.RepairOrderDelResponse"
  7090. }
  7091. },
  7092. "500": {
  7093. "description": "Internal Server Error",
  7094. "schema": {
  7095. "$ref": "#/definitions/base.HTTPError"
  7096. }
  7097. }
  7098. }
  7099. }
  7100. },
  7101. "/api/v1/repair/order/back": {
  7102. "put": {
  7103. "description": "退单",
  7104. "consumes": [
  7105. "application/json"
  7106. ],
  7107. "produces": [
  7108. "application/json"
  7109. ],
  7110. "tags": [
  7111. "报事报修"
  7112. ],
  7113. "summary": "退单",
  7114. "parameters": [
  7115. {
  7116. "type": "string",
  7117. "description": "token",
  7118. "name": "token",
  7119. "in": "header",
  7120. "required": true
  7121. },
  7122. {
  7123. "description": "信息",
  7124. "name": "body",
  7125. "in": "body",
  7126. "required": true,
  7127. "schema": {
  7128. "$ref": "#/definitions/v1.RepairOrderBackBody"
  7129. }
  7130. }
  7131. ],
  7132. "responses": {
  7133. "200": {
  7134. "description": "OK",
  7135. "schema": {
  7136. "$ref": "#/definitions/v1.RepairOrderBackResponse"
  7137. }
  7138. },
  7139. "500": {
  7140. "description": "Internal Server Error",
  7141. "schema": {
  7142. "$ref": "#/definitions/base.HTTPError"
  7143. }
  7144. }
  7145. }
  7146. }
  7147. },
  7148. "/api/v1/repair/order/finish": {
  7149. "put": {
  7150. "description": "结单",
  7151. "consumes": [
  7152. "application/json"
  7153. ],
  7154. "produces": [
  7155. "application/json"
  7156. ],
  7157. "tags": [
  7158. "报事报修"
  7159. ],
  7160. "summary": "结单",
  7161. "parameters": [
  7162. {
  7163. "type": "string",
  7164. "description": "token",
  7165. "name": "token",
  7166. "in": "header",
  7167. "required": true
  7168. },
  7169. {
  7170. "description": "信息",
  7171. "name": "body",
  7172. "in": "body",
  7173. "required": true,
  7174. "schema": {
  7175. "$ref": "#/definitions/v1.RepairOrderFinishBody"
  7176. }
  7177. }
  7178. ],
  7179. "responses": {
  7180. "200": {
  7181. "description": "OK",
  7182. "schema": {
  7183. "$ref": "#/definitions/v1.RepairOrderFinishResponse"
  7184. }
  7185. },
  7186. "500": {
  7187. "description": "Internal Server Error",
  7188. "schema": {
  7189. "$ref": "#/definitions/base.HTTPError"
  7190. }
  7191. }
  7192. }
  7193. }
  7194. },
  7195. "/api/v1/repair/order/info": {
  7196. "get": {
  7197. "description": "工单详情",
  7198. "consumes": [
  7199. "application/json"
  7200. ],
  7201. "produces": [
  7202. "application/json"
  7203. ],
  7204. "tags": [
  7205. "报事报修"
  7206. ],
  7207. "summary": "工单详情",
  7208. "parameters": [
  7209. {
  7210. "type": "string",
  7211. "description": "token",
  7212. "name": "token",
  7213. "in": "header",
  7214. "required": true
  7215. },
  7216. {
  7217. "type": "integer",
  7218. "description": " ",
  7219. "name": "id",
  7220. "in": "query",
  7221. "required": true
  7222. }
  7223. ],
  7224. "responses": {
  7225. "200": {
  7226. "description": "OK",
  7227. "schema": {
  7228. "$ref": "#/definitions/v1.RepairOrderInfoResponse"
  7229. }
  7230. },
  7231. "500": {
  7232. "description": "Internal Server Error",
  7233. "schema": {
  7234. "$ref": "#/definitions/base.HTTPError"
  7235. }
  7236. }
  7237. }
  7238. }
  7239. },
  7240. "/api/v1/repair/order/return_visit": {
  7241. "put": {
  7242. "description": "回访",
  7243. "consumes": [
  7244. "application/json"
  7245. ],
  7246. "produces": [
  7247. "application/json"
  7248. ],
  7249. "tags": [
  7250. "报事报修"
  7251. ],
  7252. "summary": "回访",
  7253. "parameters": [
  7254. {
  7255. "type": "string",
  7256. "description": "token",
  7257. "name": "token",
  7258. "in": "header",
  7259. "required": true
  7260. },
  7261. {
  7262. "description": "信息",
  7263. "name": "body",
  7264. "in": "body",
  7265. "required": true,
  7266. "schema": {
  7267. "$ref": "#/definitions/v1.RepairOrderReturnVisitBody"
  7268. }
  7269. }
  7270. ],
  7271. "responses": {
  7272. "200": {
  7273. "description": "OK",
  7274. "schema": {
  7275. "$ref": "#/definitions/v1.RepairOrderReturnVisitResponse"
  7276. }
  7277. },
  7278. "500": {
  7279. "description": "Internal Server Error",
  7280. "schema": {
  7281. "$ref": "#/definitions/base.HTTPError"
  7282. }
  7283. }
  7284. }
  7285. }
  7286. },
  7287. "/api/v1/repair/order/send": {
  7288. "put": {
  7289. "description": "派单",
  7290. "consumes": [
  7291. "application/json"
  7292. ],
  7293. "produces": [
  7294. "application/json"
  7295. ],
  7296. "tags": [
  7297. "报事报修"
  7298. ],
  7299. "summary": "派单",
  7300. "parameters": [
  7301. {
  7302. "type": "string",
  7303. "description": "token",
  7304. "name": "token",
  7305. "in": "header",
  7306. "required": true
  7307. },
  7308. {
  7309. "description": "信息",
  7310. "name": "body",
  7311. "in": "body",
  7312. "required": true,
  7313. "schema": {
  7314. "$ref": "#/definitions/v1.RepairOrderSendBody"
  7315. }
  7316. }
  7317. ],
  7318. "responses": {
  7319. "200": {
  7320. "description": "OK",
  7321. "schema": {
  7322. "$ref": "#/definitions/v1.RepairOrderSendResponse"
  7323. }
  7324. },
  7325. "500": {
  7326. "description": "Internal Server Error",
  7327. "schema": {
  7328. "$ref": "#/definitions/base.HTTPError"
  7329. }
  7330. }
  7331. }
  7332. }
  7333. },
  7334. "/api/v1/service/announcement": {
  7335. "get": {
  7336. "description": "公告列表",
  7337. "consumes": [
  7338. "application/json"
  7339. ],
  7340. "produces": [
  7341. "application/json"
  7342. ],
  7343. "tags": [
  7344. "公告"
  7345. ],
  7346. "summary": "公告列表",
  7347. "parameters": [
  7348. {
  7349. "type": "string",
  7350. "description": "token",
  7351. "name": "token",
  7352. "in": "header",
  7353. "required": true
  7354. },
  7355. {
  7356. "type": "integer",
  7357. "description": " ",
  7358. "name": "page",
  7359. "in": "query"
  7360. },
  7361. {
  7362. "type": "integer",
  7363. "description": " ",
  7364. "name": "page_size",
  7365. "in": "query"
  7366. }
  7367. ],
  7368. "responses": {
  7369. "200": {
  7370. "description": "OK",
  7371. "schema": {
  7372. "$ref": "#/definitions/v1.AnnouncementListResponse"
  7373. }
  7374. },
  7375. "500": {
  7376. "description": "Internal Server Error",
  7377. "schema": {
  7378. "$ref": "#/definitions/base.HTTPError"
  7379. }
  7380. }
  7381. }
  7382. },
  7383. "put": {
  7384. "description": "修改公告",
  7385. "consumes": [
  7386. "application/json"
  7387. ],
  7388. "produces": [
  7389. "application/json"
  7390. ],
  7391. "tags": [
  7392. "公告"
  7393. ],
  7394. "summary": "修改公告",
  7395. "parameters": [
  7396. {
  7397. "type": "string",
  7398. "description": "token",
  7399. "name": "token",
  7400. "in": "header",
  7401. "required": true
  7402. },
  7403. {
  7404. "description": "信息",
  7405. "name": "body",
  7406. "in": "body",
  7407. "required": true,
  7408. "schema": {
  7409. "$ref": "#/definitions/v1.AnnouncementUpdateBody"
  7410. }
  7411. }
  7412. ],
  7413. "responses": {
  7414. "200": {
  7415. "description": "OK",
  7416. "schema": {
  7417. "$ref": "#/definitions/v1.AnnouncementUpdateResponse"
  7418. }
  7419. },
  7420. "500": {
  7421. "description": "Internal Server Error",
  7422. "schema": {
  7423. "$ref": "#/definitions/base.HTTPError"
  7424. }
  7425. }
  7426. }
  7427. },
  7428. "post": {
  7429. "description": "添加公告",
  7430. "consumes": [
  7431. "application/json"
  7432. ],
  7433. "produces": [
  7434. "application/json"
  7435. ],
  7436. "tags": [
  7437. "公告"
  7438. ],
  7439. "summary": "添加公告",
  7440. "parameters": [
  7441. {
  7442. "type": "string",
  7443. "description": "token",
  7444. "name": "token",
  7445. "in": "header",
  7446. "required": true
  7447. },
  7448. {
  7449. "description": "信息",
  7450. "name": "body",
  7451. "in": "body",
  7452. "required": true,
  7453. "schema": {
  7454. "$ref": "#/definitions/v1.AnnouncementAddBody"
  7455. }
  7456. }
  7457. ],
  7458. "responses": {
  7459. "200": {
  7460. "description": "OK",
  7461. "schema": {
  7462. "$ref": "#/definitions/v1.AnnouncementAddResponse"
  7463. }
  7464. },
  7465. "500": {
  7466. "description": "Internal Server Error",
  7467. "schema": {
  7468. "$ref": "#/definitions/base.HTTPError"
  7469. }
  7470. }
  7471. }
  7472. },
  7473. "delete": {
  7474. "description": "删除公告",
  7475. "consumes": [
  7476. "application/json"
  7477. ],
  7478. "produces": [
  7479. "application/json"
  7480. ],
  7481. "tags": [
  7482. "公告"
  7483. ],
  7484. "summary": "删除公告",
  7485. "parameters": [
  7486. {
  7487. "type": "string",
  7488. "description": "token",
  7489. "name": "token",
  7490. "in": "header",
  7491. "required": true
  7492. },
  7493. {
  7494. "type": "integer",
  7495. "description": " ",
  7496. "name": "id",
  7497. "in": "query",
  7498. "required": true
  7499. }
  7500. ],
  7501. "responses": {
  7502. "200": {
  7503. "description": "OK",
  7504. "schema": {
  7505. "$ref": "#/definitions/v1.AnnouncementDelResponse"
  7506. }
  7507. },
  7508. "500": {
  7509. "description": "Internal Server Error",
  7510. "schema": {
  7511. "$ref": "#/definitions/base.HTTPError"
  7512. }
  7513. }
  7514. }
  7515. }
  7516. },
  7517. "/api/v1/service/event": {
  7518. "get": {
  7519. "description": "社区活动列表",
  7520. "consumes": [
  7521. "application/json"
  7522. ],
  7523. "produces": [
  7524. "application/json"
  7525. ],
  7526. "tags": [
  7527. "社区活动"
  7528. ],
  7529. "summary": "社区活动列表",
  7530. "parameters": [
  7531. {
  7532. "type": "string",
  7533. "description": "token",
  7534. "name": "token",
  7535. "in": "header",
  7536. "required": true
  7537. },
  7538. {
  7539. "type": "integer",
  7540. "description": " ",
  7541. "name": "page",
  7542. "in": "query"
  7543. },
  7544. {
  7545. "type": "integer",
  7546. "description": " ",
  7547. "name": "page_size",
  7548. "in": "query"
  7549. }
  7550. ],
  7551. "responses": {
  7552. "200": {
  7553. "description": "OK",
  7554. "schema": {
  7555. "$ref": "#/definitions/v1.EventListResponse"
  7556. }
  7557. },
  7558. "500": {
  7559. "description": "Internal Server Error",
  7560. "schema": {
  7561. "$ref": "#/definitions/base.HTTPError"
  7562. }
  7563. }
  7564. }
  7565. },
  7566. "put": {
  7567. "description": "修改社区活动",
  7568. "consumes": [
  7569. "application/json"
  7570. ],
  7571. "produces": [
  7572. "application/json"
  7573. ],
  7574. "tags": [
  7575. "社区活动"
  7576. ],
  7577. "summary": "修改社区活动",
  7578. "parameters": [
  7579. {
  7580. "type": "string",
  7581. "description": "token",
  7582. "name": "token",
  7583. "in": "header",
  7584. "required": true
  7585. },
  7586. {
  7587. "description": "信息",
  7588. "name": "body",
  7589. "in": "body",
  7590. "required": true,
  7591. "schema": {
  7592. "$ref": "#/definitions/v1.EventUpdateBody"
  7593. }
  7594. }
  7595. ],
  7596. "responses": {
  7597. "200": {
  7598. "description": "OK",
  7599. "schema": {
  7600. "$ref": "#/definitions/v1.EventUpdateResponse"
  7601. }
  7602. },
  7603. "500": {
  7604. "description": "Internal Server Error",
  7605. "schema": {
  7606. "$ref": "#/definitions/base.HTTPError"
  7607. }
  7608. }
  7609. }
  7610. },
  7611. "post": {
  7612. "description": "添加社区活动",
  7613. "consumes": [
  7614. "application/json"
  7615. ],
  7616. "produces": [
  7617. "application/json"
  7618. ],
  7619. "tags": [
  7620. "社区活动"
  7621. ],
  7622. "summary": "添加社区活动",
  7623. "parameters": [
  7624. {
  7625. "type": "string",
  7626. "description": "token",
  7627. "name": "token",
  7628. "in": "header",
  7629. "required": true
  7630. },
  7631. {
  7632. "description": "信息",
  7633. "name": "body",
  7634. "in": "body",
  7635. "required": true,
  7636. "schema": {
  7637. "$ref": "#/definitions/v1.EventAddBody"
  7638. }
  7639. }
  7640. ],
  7641. "responses": {
  7642. "200": {
  7643. "description": "OK",
  7644. "schema": {
  7645. "$ref": "#/definitions/v1.EventAddResponse"
  7646. }
  7647. },
  7648. "500": {
  7649. "description": "Internal Server Error",
  7650. "schema": {
  7651. "$ref": "#/definitions/base.HTTPError"
  7652. }
  7653. }
  7654. }
  7655. },
  7656. "delete": {
  7657. "description": "删除社区活动",
  7658. "consumes": [
  7659. "application/json"
  7660. ],
  7661. "produces": [
  7662. "application/json"
  7663. ],
  7664. "tags": [
  7665. "社区活动"
  7666. ],
  7667. "summary": "删除社区活动",
  7668. "parameters": [
  7669. {
  7670. "type": "string",
  7671. "description": "token",
  7672. "name": "token",
  7673. "in": "header",
  7674. "required": true
  7675. },
  7676. {
  7677. "type": "integer",
  7678. "description": " ",
  7679. "name": "id",
  7680. "in": "query",
  7681. "required": true
  7682. }
  7683. ],
  7684. "responses": {
  7685. "200": {
  7686. "description": "OK",
  7687. "schema": {
  7688. "$ref": "#/definitions/v1.EventDelResponse"
  7689. }
  7690. },
  7691. "500": {
  7692. "description": "Internal Server Error",
  7693. "schema": {
  7694. "$ref": "#/definitions/base.HTTPError"
  7695. }
  7696. }
  7697. }
  7698. }
  7699. },
  7700. "/api/v1/service/event/sign": {
  7701. "get": {
  7702. "description": "社区活动报名记录列表",
  7703. "consumes": [
  7704. "application/json"
  7705. ],
  7706. "produces": [
  7707. "application/json"
  7708. ],
  7709. "tags": [
  7710. "社区活动"
  7711. ],
  7712. "summary": "社区活动报名记录列表",
  7713. "parameters": [
  7714. {
  7715. "type": "string",
  7716. "description": "token",
  7717. "name": "token",
  7718. "in": "header",
  7719. "required": true
  7720. },
  7721. {
  7722. "type": "integer",
  7723. "description": " ",
  7724. "name": "page",
  7725. "in": "query"
  7726. },
  7727. {
  7728. "type": "integer",
  7729. "description": " ",
  7730. "name": "page_size",
  7731. "in": "query"
  7732. },
  7733. {
  7734. "type": "integer",
  7735. "description": "活动id",
  7736. "name": "event_id",
  7737. "in": "query",
  7738. "required": true
  7739. }
  7740. ],
  7741. "responses": {
  7742. "200": {
  7743. "description": "OK",
  7744. "schema": {
  7745. "$ref": "#/definitions/v1.EventSignListResponse"
  7746. }
  7747. },
  7748. "500": {
  7749. "description": "Internal Server Error",
  7750. "schema": {
  7751. "$ref": "#/definitions/base.HTTPError"
  7752. }
  7753. }
  7754. }
  7755. },
  7756. "delete": {
  7757. "description": "删除社区活动报名记录",
  7758. "consumes": [
  7759. "application/json"
  7760. ],
  7761. "produces": [
  7762. "application/json"
  7763. ],
  7764. "tags": [
  7765. "社区活动"
  7766. ],
  7767. "summary": "删除社区活动报名记录",
  7768. "parameters": [
  7769. {
  7770. "type": "string",
  7771. "description": "token",
  7772. "name": "token",
  7773. "in": "header",
  7774. "required": true
  7775. },
  7776. {
  7777. "type": "integer",
  7778. "description": " ",
  7779. "name": "id",
  7780. "in": "query",
  7781. "required": true
  7782. }
  7783. ],
  7784. "responses": {
  7785. "200": {
  7786. "description": "OK",
  7787. "schema": {
  7788. "$ref": "#/definitions/v1.EventSignDelResponse"
  7789. }
  7790. },
  7791. "500": {
  7792. "description": "Internal Server Error",
  7793. "schema": {
  7794. "$ref": "#/definitions/base.HTTPError"
  7795. }
  7796. }
  7797. }
  7798. }
  7799. },
  7800. "/api/v1/service/neighbor/article": {
  7801. "get": {
  7802. "description": "文章列表",
  7803. "consumes": [
  7804. "application/json"
  7805. ],
  7806. "produces": [
  7807. "application/json"
  7808. ],
  7809. "tags": [
  7810. "社区邻里"
  7811. ],
  7812. "summary": "文章列表",
  7813. "parameters": [
  7814. {
  7815. "type": "string",
  7816. "description": "token",
  7817. "name": "token",
  7818. "in": "header",
  7819. "required": true
  7820. },
  7821. {
  7822. "type": "integer",
  7823. "description": " ",
  7824. "name": "page",
  7825. "in": "query"
  7826. },
  7827. {
  7828. "type": "integer",
  7829. "description": " ",
  7830. "name": "page_size",
  7831. "in": "query"
  7832. },
  7833. {
  7834. "type": "string",
  7835. "description": "文章标题 ",
  7836. "name": "title",
  7837. "in": "query"
  7838. },
  7839. {
  7840. "type": "integer",
  7841. "description": "分类id",
  7842. "name": "class_id",
  7843. "in": "query"
  7844. }
  7845. ],
  7846. "responses": {
  7847. "200": {
  7848. "description": "OK",
  7849. "schema": {
  7850. "$ref": "#/definitions/v1.NeighborArticleListResponse"
  7851. }
  7852. },
  7853. "500": {
  7854. "description": "Internal Server Error",
  7855. "schema": {
  7856. "$ref": "#/definitions/base.HTTPError"
  7857. }
  7858. }
  7859. }
  7860. },
  7861. "delete": {
  7862. "description": "删除文章",
  7863. "consumes": [
  7864. "application/json"
  7865. ],
  7866. "produces": [
  7867. "application/json"
  7868. ],
  7869. "tags": [
  7870. "社区邻里"
  7871. ],
  7872. "summary": "删除文章",
  7873. "parameters": [
  7874. {
  7875. "type": "string",
  7876. "description": "token",
  7877. "name": "token",
  7878. "in": "header",
  7879. "required": true
  7880. },
  7881. {
  7882. "type": "integer",
  7883. "description": " ",
  7884. "name": "id",
  7885. "in": "query",
  7886. "required": true
  7887. }
  7888. ],
  7889. "responses": {
  7890. "200": {
  7891. "description": "OK",
  7892. "schema": {
  7893. "$ref": "#/definitions/v1.NeighborArticleDelResponse"
  7894. }
  7895. },
  7896. "500": {
  7897. "description": "Internal Server Error",
  7898. "schema": {
  7899. "$ref": "#/definitions/base.HTTPError"
  7900. }
  7901. }
  7902. }
  7903. }
  7904. },
  7905. "/api/v1/service/neighbor/class": {
  7906. "get": {
  7907. "description": "分类列表",
  7908. "consumes": [
  7909. "application/json"
  7910. ],
  7911. "produces": [
  7912. "application/json"
  7913. ],
  7914. "tags": [
  7915. "社区邻里"
  7916. ],
  7917. "summary": "分类列表",
  7918. "parameters": [
  7919. {
  7920. "type": "string",
  7921. "description": "token",
  7922. "name": "token",
  7923. "in": "header",
  7924. "required": true
  7925. },
  7926. {
  7927. "type": "integer",
  7928. "description": " ",
  7929. "name": "page",
  7930. "in": "query"
  7931. },
  7932. {
  7933. "type": "integer",
  7934. "description": " ",
  7935. "name": "page_size",
  7936. "in": "query"
  7937. },
  7938. {
  7939. "type": "string",
  7940. "description": "分类名称 ",
  7941. "name": "class_name",
  7942. "in": "query"
  7943. }
  7944. ],
  7945. "responses": {
  7946. "200": {
  7947. "description": "OK",
  7948. "schema": {
  7949. "$ref": "#/definitions/v1.NeighborClassListResponse"
  7950. }
  7951. },
  7952. "500": {
  7953. "description": "Internal Server Error",
  7954. "schema": {
  7955. "$ref": "#/definitions/base.HTTPError"
  7956. }
  7957. }
  7958. }
  7959. },
  7960. "put": {
  7961. "description": "修改分类",
  7962. "consumes": [
  7963. "application/json"
  7964. ],
  7965. "produces": [
  7966. "application/json"
  7967. ],
  7968. "tags": [
  7969. "社区邻里"
  7970. ],
  7971. "summary": "修改分类",
  7972. "parameters": [
  7973. {
  7974. "type": "string",
  7975. "description": "token",
  7976. "name": "token",
  7977. "in": "header",
  7978. "required": true
  7979. },
  7980. {
  7981. "description": "信息",
  7982. "name": "body",
  7983. "in": "body",
  7984. "required": true,
  7985. "schema": {
  7986. "$ref": "#/definitions/v1.NeighborClassUpdateBody"
  7987. }
  7988. }
  7989. ],
  7990. "responses": {
  7991. "200": {
  7992. "description": "OK",
  7993. "schema": {
  7994. "$ref": "#/definitions/v1.NeighborClassUpdateResponse"
  7995. }
  7996. },
  7997. "500": {
  7998. "description": "Internal Server Error",
  7999. "schema": {
  8000. "$ref": "#/definitions/base.HTTPError"
  8001. }
  8002. }
  8003. }
  8004. },
  8005. "post": {
  8006. "description": "添加分类",
  8007. "consumes": [
  8008. "application/json"
  8009. ],
  8010. "produces": [
  8011. "application/json"
  8012. ],
  8013. "tags": [
  8014. "社区邻里"
  8015. ],
  8016. "summary": "添加分类",
  8017. "parameters": [
  8018. {
  8019. "type": "string",
  8020. "description": "token",
  8021. "name": "token",
  8022. "in": "header",
  8023. "required": true
  8024. },
  8025. {
  8026. "description": "信息",
  8027. "name": "body",
  8028. "in": "body",
  8029. "required": true,
  8030. "schema": {
  8031. "$ref": "#/definitions/v1.NeighborClassAddBody"
  8032. }
  8033. }
  8034. ],
  8035. "responses": {
  8036. "200": {
  8037. "description": "OK",
  8038. "schema": {
  8039. "$ref": "#/definitions/v1.NeighborClassAddResponse"
  8040. }
  8041. },
  8042. "500": {
  8043. "description": "Internal Server Error",
  8044. "schema": {
  8045. "$ref": "#/definitions/base.HTTPError"
  8046. }
  8047. }
  8048. }
  8049. },
  8050. "delete": {
  8051. "description": "删除分类",
  8052. "consumes": [
  8053. "application/json"
  8054. ],
  8055. "produces": [
  8056. "application/json"
  8057. ],
  8058. "tags": [
  8059. "社区邻里"
  8060. ],
  8061. "summary": "删除分类",
  8062. "parameters": [
  8063. {
  8064. "type": "string",
  8065. "description": "token",
  8066. "name": "token",
  8067. "in": "header",
  8068. "required": true
  8069. },
  8070. {
  8071. "type": "integer",
  8072. "description": " ",
  8073. "name": "id",
  8074. "in": "query",
  8075. "required": true
  8076. }
  8077. ],
  8078. "responses": {
  8079. "200": {
  8080. "description": "OK",
  8081. "schema": {
  8082. "$ref": "#/definitions/v1.NeighborClassDelResponse"
  8083. }
  8084. },
  8085. "500": {
  8086. "description": "Internal Server Error",
  8087. "schema": {
  8088. "$ref": "#/definitions/base.HTTPError"
  8089. }
  8090. }
  8091. }
  8092. }
  8093. },
  8094. "/api/v1/service/neighbor/comment": {
  8095. "get": {
  8096. "description": "评论列表",
  8097. "consumes": [
  8098. "application/json"
  8099. ],
  8100. "produces": [
  8101. "application/json"
  8102. ],
  8103. "tags": [
  8104. "社区邻里"
  8105. ],
  8106. "summary": "评论列表",
  8107. "parameters": [
  8108. {
  8109. "type": "string",
  8110. "description": "token",
  8111. "name": "token",
  8112. "in": "header",
  8113. "required": true
  8114. },
  8115. {
  8116. "type": "integer",
  8117. "description": " ",
  8118. "name": "page",
  8119. "in": "query"
  8120. },
  8121. {
  8122. "type": "integer",
  8123. "description": " ",
  8124. "name": "page_size",
  8125. "in": "query"
  8126. },
  8127. {
  8128. "type": "integer",
  8129. "description": "文章id",
  8130. "name": "article_id",
  8131. "in": "query"
  8132. },
  8133. {
  8134. "type": "integer",
  8135. "description": "父评论id",
  8136. "name": "comment_id",
  8137. "in": "query"
  8138. }
  8139. ],
  8140. "responses": {
  8141. "200": {
  8142. "description": "OK",
  8143. "schema": {
  8144. "$ref": "#/definitions/v1.NeighborCommentListResponse"
  8145. }
  8146. },
  8147. "500": {
  8148. "description": "Internal Server Error",
  8149. "schema": {
  8150. "$ref": "#/definitions/base.HTTPError"
  8151. }
  8152. }
  8153. }
  8154. },
  8155. "delete": {
  8156. "description": "删除评论",
  8157. "consumes": [
  8158. "application/json"
  8159. ],
  8160. "produces": [
  8161. "application/json"
  8162. ],
  8163. "tags": [
  8164. "社区邻里"
  8165. ],
  8166. "summary": "删除评论",
  8167. "parameters": [
  8168. {
  8169. "type": "string",
  8170. "description": "token",
  8171. "name": "token",
  8172. "in": "header",
  8173. "required": true
  8174. },
  8175. {
  8176. "type": "integer",
  8177. "description": " ",
  8178. "name": "id",
  8179. "in": "query",
  8180. "required": true
  8181. }
  8182. ],
  8183. "responses": {
  8184. "200": {
  8185. "description": "OK",
  8186. "schema": {
  8187. "$ref": "#/definitions/v1.NeighborCommentDelResponse"
  8188. }
  8189. },
  8190. "500": {
  8191. "description": "Internal Server Error",
  8192. "schema": {
  8193. "$ref": "#/definitions/base.HTTPError"
  8194. }
  8195. }
  8196. }
  8197. }
  8198. },
  8199. "/api/v1/service/vote": {
  8200. "get": {
  8201. "description": "投票列表",
  8202. "consumes": [
  8203. "application/json"
  8204. ],
  8205. "produces": [
  8206. "application/json"
  8207. ],
  8208. "tags": [
  8209. "投票"
  8210. ],
  8211. "summary": "投票列表",
  8212. "parameters": [
  8213. {
  8214. "type": "string",
  8215. "description": "token",
  8216. "name": "token",
  8217. "in": "header",
  8218. "required": true
  8219. },
  8220. {
  8221. "type": "integer",
  8222. "description": " ",
  8223. "name": "page",
  8224. "in": "query"
  8225. },
  8226. {
  8227. "type": "integer",
  8228. "description": " ",
  8229. "name": "page_size",
  8230. "in": "query"
  8231. },
  8232. {
  8233. "type": "string",
  8234. "description": "投票标题",
  8235. "name": "title",
  8236. "in": "query"
  8237. }
  8238. ],
  8239. "responses": {
  8240. "200": {
  8241. "description": "OK",
  8242. "schema": {
  8243. "$ref": "#/definitions/v1.VoteListResponse"
  8244. }
  8245. },
  8246. "500": {
  8247. "description": "Internal Server Error",
  8248. "schema": {
  8249. "$ref": "#/definitions/base.HTTPError"
  8250. }
  8251. }
  8252. }
  8253. },
  8254. "put": {
  8255. "description": "修改投票",
  8256. "consumes": [
  8257. "application/json"
  8258. ],
  8259. "produces": [
  8260. "application/json"
  8261. ],
  8262. "tags": [
  8263. "投票"
  8264. ],
  8265. "summary": "修改投票",
  8266. "parameters": [
  8267. {
  8268. "type": "string",
  8269. "description": "token",
  8270. "name": "token",
  8271. "in": "header",
  8272. "required": true
  8273. },
  8274. {
  8275. "description": "信息",
  8276. "name": "body",
  8277. "in": "body",
  8278. "required": true,
  8279. "schema": {
  8280. "$ref": "#/definitions/v1.VoteUpdateBody"
  8281. }
  8282. }
  8283. ],
  8284. "responses": {
  8285. "200": {
  8286. "description": "OK",
  8287. "schema": {
  8288. "$ref": "#/definitions/v1.VoteUpdateResponse"
  8289. }
  8290. },
  8291. "500": {
  8292. "description": "Internal Server Error",
  8293. "schema": {
  8294. "$ref": "#/definitions/base.HTTPError"
  8295. }
  8296. }
  8297. }
  8298. },
  8299. "post": {
  8300. "description": "添加投票",
  8301. "consumes": [
  8302. "application/json"
  8303. ],
  8304. "produces": [
  8305. "application/json"
  8306. ],
  8307. "tags": [
  8308. "投票"
  8309. ],
  8310. "summary": "添加投票",
  8311. "parameters": [
  8312. {
  8313. "type": "string",
  8314. "description": "token",
  8315. "name": "token",
  8316. "in": "header",
  8317. "required": true
  8318. },
  8319. {
  8320. "description": "信息",
  8321. "name": "body",
  8322. "in": "body",
  8323. "required": true,
  8324. "schema": {
  8325. "$ref": "#/definitions/v1.VoteAddBody"
  8326. }
  8327. }
  8328. ],
  8329. "responses": {
  8330. "200": {
  8331. "description": "OK",
  8332. "schema": {
  8333. "$ref": "#/definitions/v1.VoteAddResponse"
  8334. }
  8335. },
  8336. "500": {
  8337. "description": "Internal Server Error",
  8338. "schema": {
  8339. "$ref": "#/definitions/base.HTTPError"
  8340. }
  8341. }
  8342. }
  8343. },
  8344. "delete": {
  8345. "description": "删除投票",
  8346. "consumes": [
  8347. "application/json"
  8348. ],
  8349. "produces": [
  8350. "application/json"
  8351. ],
  8352. "tags": [
  8353. "投票"
  8354. ],
  8355. "summary": "删除投票",
  8356. "parameters": [
  8357. {
  8358. "type": "string",
  8359. "description": "token",
  8360. "name": "token",
  8361. "in": "header",
  8362. "required": true
  8363. },
  8364. {
  8365. "type": "integer",
  8366. "description": " ",
  8367. "name": "id",
  8368. "in": "query",
  8369. "required": true
  8370. }
  8371. ],
  8372. "responses": {
  8373. "200": {
  8374. "description": "OK",
  8375. "schema": {
  8376. "$ref": "#/definitions/v1.VoteDelResponse"
  8377. }
  8378. },
  8379. "500": {
  8380. "description": "Internal Server Error",
  8381. "schema": {
  8382. "$ref": "#/definitions/base.HTTPError"
  8383. }
  8384. }
  8385. }
  8386. }
  8387. },
  8388. "/api/v1/service/vote/result": {
  8389. "get": {
  8390. "description": "一道题的回答详情",
  8391. "consumes": [
  8392. "application/json"
  8393. ],
  8394. "produces": [
  8395. "application/json"
  8396. ],
  8397. "tags": [
  8398. "投票"
  8399. ],
  8400. "summary": "一道题的回答详情",
  8401. "parameters": [
  8402. {
  8403. "type": "string",
  8404. "description": "token",
  8405. "name": "token",
  8406. "in": "header",
  8407. "required": true
  8408. },
  8409. {
  8410. "type": "integer",
  8411. "description": " ",
  8412. "name": "page",
  8413. "in": "query"
  8414. },
  8415. {
  8416. "type": "integer",
  8417. "description": " ",
  8418. "name": "page_size",
  8419. "in": "query"
  8420. },
  8421. {
  8422. "type": "integer",
  8423. "description": " ",
  8424. "name": "id",
  8425. "in": "query",
  8426. "required": true
  8427. },
  8428. {
  8429. "type": "integer",
  8430. "description": "题的编号",
  8431. "name": "number",
  8432. "in": "query",
  8433. "required": true
  8434. }
  8435. ],
  8436. "responses": {
  8437. "200": {
  8438. "description": "OK",
  8439. "schema": {
  8440. "$ref": "#/definitions/v1.VoteResultListResponse"
  8441. }
  8442. },
  8443. "500": {
  8444. "description": "Internal Server Error",
  8445. "schema": {
  8446. "$ref": "#/definitions/base.HTTPError"
  8447. }
  8448. }
  8449. }
  8450. }
  8451. },
  8452. "/api/v1/service/vote/result/statistic": {
  8453. "get": {
  8454. "description": "投票结果统计",
  8455. "consumes": [
  8456. "application/json"
  8457. ],
  8458. "produces": [
  8459. "application/json"
  8460. ],
  8461. "tags": [
  8462. "投票"
  8463. ],
  8464. "summary": "投票结果统计",
  8465. "parameters": [
  8466. {
  8467. "type": "string",
  8468. "description": "token",
  8469. "name": "token",
  8470. "in": "header",
  8471. "required": true
  8472. },
  8473. {
  8474. "type": "integer",
  8475. "description": " ",
  8476. "name": "id",
  8477. "in": "query",
  8478. "required": true
  8479. }
  8480. ],
  8481. "responses": {
  8482. "200": {
  8483. "description": "OK",
  8484. "schema": {
  8485. "$ref": "#/definitions/v1.VoteResultStatisticResponse"
  8486. }
  8487. },
  8488. "500": {
  8489. "description": "Internal Server Error",
  8490. "schema": {
  8491. "$ref": "#/definitions/base.HTTPError"
  8492. }
  8493. }
  8494. }
  8495. }
  8496. },
  8497. "/api/v1/service_phone": {
  8498. "get": {
  8499. "description": "电话列表",
  8500. "consumes": [
  8501. "application/json"
  8502. ],
  8503. "produces": [
  8504. "application/json"
  8505. ],
  8506. "tags": [
  8507. "服务电话"
  8508. ],
  8509. "summary": "电话列表",
  8510. "parameters": [
  8511. {
  8512. "type": "string",
  8513. "description": "token",
  8514. "name": "token",
  8515. "in": "header",
  8516. "required": true
  8517. },
  8518. {
  8519. "type": "integer",
  8520. "description": " ",
  8521. "name": "page",
  8522. "in": "query"
  8523. },
  8524. {
  8525. "type": "integer",
  8526. "description": " ",
  8527. "name": "page_size",
  8528. "in": "query"
  8529. },
  8530. {
  8531. "type": "integer",
  8532. "description": "分类id",
  8533. "name": "class_id",
  8534. "in": "query"
  8535. }
  8536. ],
  8537. "responses": {
  8538. "200": {
  8539. "description": "OK",
  8540. "schema": {
  8541. "$ref": "#/definitions/v1.ServicePhoneListResponse"
  8542. }
  8543. },
  8544. "500": {
  8545. "description": "Internal Server Error",
  8546. "schema": {
  8547. "$ref": "#/definitions/base.HTTPError"
  8548. }
  8549. }
  8550. }
  8551. },
  8552. "put": {
  8553. "description": "修改电话",
  8554. "consumes": [
  8555. "application/json"
  8556. ],
  8557. "produces": [
  8558. "application/json"
  8559. ],
  8560. "tags": [
  8561. "服务电话"
  8562. ],
  8563. "summary": "修改电话",
  8564. "parameters": [
  8565. {
  8566. "type": "string",
  8567. "description": "token",
  8568. "name": "token",
  8569. "in": "header",
  8570. "required": true
  8571. },
  8572. {
  8573. "description": "信息",
  8574. "name": "body",
  8575. "in": "body",
  8576. "required": true,
  8577. "schema": {
  8578. "$ref": "#/definitions/v1.ServicePhoneUpdateBody"
  8579. }
  8580. }
  8581. ],
  8582. "responses": {
  8583. "200": {
  8584. "description": "OK",
  8585. "schema": {
  8586. "$ref": "#/definitions/v1.ServicePhoneUpdateResponse"
  8587. }
  8588. },
  8589. "500": {
  8590. "description": "Internal Server Error",
  8591. "schema": {
  8592. "$ref": "#/definitions/base.HTTPError"
  8593. }
  8594. }
  8595. }
  8596. },
  8597. "post": {
  8598. "description": "添加电话",
  8599. "consumes": [
  8600. "application/json"
  8601. ],
  8602. "produces": [
  8603. "application/json"
  8604. ],
  8605. "tags": [
  8606. "服务电话"
  8607. ],
  8608. "summary": "添加电话",
  8609. "parameters": [
  8610. {
  8611. "type": "string",
  8612. "description": "token",
  8613. "name": "token",
  8614. "in": "header",
  8615. "required": true
  8616. },
  8617. {
  8618. "description": "信息",
  8619. "name": "body",
  8620. "in": "body",
  8621. "required": true,
  8622. "schema": {
  8623. "$ref": "#/definitions/v1.ServicePhoneAddBody"
  8624. }
  8625. }
  8626. ],
  8627. "responses": {
  8628. "200": {
  8629. "description": "OK",
  8630. "schema": {
  8631. "$ref": "#/definitions/v1.ServicePhoneAddResponse"
  8632. }
  8633. },
  8634. "500": {
  8635. "description": "Internal Server Error",
  8636. "schema": {
  8637. "$ref": "#/definitions/base.HTTPError"
  8638. }
  8639. }
  8640. }
  8641. },
  8642. "delete": {
  8643. "description": "删除电话",
  8644. "consumes": [
  8645. "application/json"
  8646. ],
  8647. "produces": [
  8648. "application/json"
  8649. ],
  8650. "tags": [
  8651. "服务电话"
  8652. ],
  8653. "summary": "删除电话",
  8654. "parameters": [
  8655. {
  8656. "type": "string",
  8657. "description": "token",
  8658. "name": "token",
  8659. "in": "header",
  8660. "required": true
  8661. },
  8662. {
  8663. "type": "integer",
  8664. "description": " ",
  8665. "name": "id",
  8666. "in": "query",
  8667. "required": true
  8668. }
  8669. ],
  8670. "responses": {
  8671. "200": {
  8672. "description": "OK",
  8673. "schema": {
  8674. "$ref": "#/definitions/v1.ServicePhoneDelResponse"
  8675. }
  8676. },
  8677. "500": {
  8678. "description": "Internal Server Error",
  8679. "schema": {
  8680. "$ref": "#/definitions/base.HTTPError"
  8681. }
  8682. }
  8683. }
  8684. }
  8685. },
  8686. "/api/v1/service_phone/class": {
  8687. "get": {
  8688. "description": "分类列表",
  8689. "consumes": [
  8690. "application/json"
  8691. ],
  8692. "produces": [
  8693. "application/json"
  8694. ],
  8695. "tags": [
  8696. "服务电话"
  8697. ],
  8698. "summary": "分类列表",
  8699. "parameters": [
  8700. {
  8701. "type": "string",
  8702. "description": "token",
  8703. "name": "token",
  8704. "in": "header",
  8705. "required": true
  8706. },
  8707. {
  8708. "type": "integer",
  8709. "description": " ",
  8710. "name": "page",
  8711. "in": "query"
  8712. },
  8713. {
  8714. "type": "integer",
  8715. "description": " ",
  8716. "name": "page_size",
  8717. "in": "query"
  8718. }
  8719. ],
  8720. "responses": {
  8721. "200": {
  8722. "description": "OK",
  8723. "schema": {
  8724. "$ref": "#/definitions/v1.ServicePhoneClassListResponse"
  8725. }
  8726. },
  8727. "500": {
  8728. "description": "Internal Server Error",
  8729. "schema": {
  8730. "$ref": "#/definitions/base.HTTPError"
  8731. }
  8732. }
  8733. }
  8734. },
  8735. "put": {
  8736. "description": "修改分类",
  8737. "consumes": [
  8738. "application/json"
  8739. ],
  8740. "produces": [
  8741. "application/json"
  8742. ],
  8743. "tags": [
  8744. "服务电话"
  8745. ],
  8746. "summary": "修改分类",
  8747. "parameters": [
  8748. {
  8749. "type": "string",
  8750. "description": "token",
  8751. "name": "token",
  8752. "in": "header",
  8753. "required": true
  8754. },
  8755. {
  8756. "description": "信息",
  8757. "name": "body",
  8758. "in": "body",
  8759. "required": true,
  8760. "schema": {
  8761. "$ref": "#/definitions/v1.ServicePhoneClassUpdateBody"
  8762. }
  8763. }
  8764. ],
  8765. "responses": {
  8766. "200": {
  8767. "description": "OK",
  8768. "schema": {
  8769. "$ref": "#/definitions/v1.ServicePhoneClassUpdateResponse"
  8770. }
  8771. },
  8772. "500": {
  8773. "description": "Internal Server Error",
  8774. "schema": {
  8775. "$ref": "#/definitions/base.HTTPError"
  8776. }
  8777. }
  8778. }
  8779. },
  8780. "post": {
  8781. "description": "添加分类",
  8782. "consumes": [
  8783. "application/json"
  8784. ],
  8785. "produces": [
  8786. "application/json"
  8787. ],
  8788. "tags": [
  8789. "服务电话"
  8790. ],
  8791. "summary": "添加分类",
  8792. "parameters": [
  8793. {
  8794. "type": "string",
  8795. "description": "token",
  8796. "name": "token",
  8797. "in": "header",
  8798. "required": true
  8799. },
  8800. {
  8801. "description": "信息",
  8802. "name": "body",
  8803. "in": "body",
  8804. "required": true,
  8805. "schema": {
  8806. "$ref": "#/definitions/v1.ServicePhoneClassAddBody"
  8807. }
  8808. }
  8809. ],
  8810. "responses": {
  8811. "200": {
  8812. "description": "OK",
  8813. "schema": {
  8814. "$ref": "#/definitions/v1.ServicePhoneClassAddResponse"
  8815. }
  8816. },
  8817. "500": {
  8818. "description": "Internal Server Error",
  8819. "schema": {
  8820. "$ref": "#/definitions/base.HTTPError"
  8821. }
  8822. }
  8823. }
  8824. },
  8825. "delete": {
  8826. "description": "删除分类",
  8827. "consumes": [
  8828. "application/json"
  8829. ],
  8830. "produces": [
  8831. "application/json"
  8832. ],
  8833. "tags": [
  8834. "服务电话"
  8835. ],
  8836. "summary": "删除分类",
  8837. "parameters": [
  8838. {
  8839. "type": "string",
  8840. "description": "token",
  8841. "name": "token",
  8842. "in": "header",
  8843. "required": true
  8844. },
  8845. {
  8846. "type": "integer",
  8847. "description": " ",
  8848. "name": "id",
  8849. "in": "query",
  8850. "required": true
  8851. }
  8852. ],
  8853. "responses": {
  8854. "200": {
  8855. "description": "OK",
  8856. "schema": {
  8857. "$ref": "#/definitions/v1.ServicePhoneClassDelResponse"
  8858. }
  8859. },
  8860. "500": {
  8861. "description": "Internal Server Error",
  8862. "schema": {
  8863. "$ref": "#/definitions/base.HTTPError"
  8864. }
  8865. }
  8866. }
  8867. }
  8868. },
  8869. "/api/v1/statistic": {
  8870. "get": {
  8871. "description": "统计",
  8872. "consumes": [
  8873. "application/json"
  8874. ],
  8875. "produces": [
  8876. "application/json"
  8877. ],
  8878. "tags": [
  8879. "首页"
  8880. ],
  8881. "summary": "统计",
  8882. "parameters": [
  8883. {
  8884. "type": "string",
  8885. "description": "token",
  8886. "name": "token",
  8887. "in": "header",
  8888. "required": true
  8889. }
  8890. ],
  8891. "responses": {
  8892. "200": {
  8893. "description": "OK",
  8894. "schema": {
  8895. "$ref": "#/definitions/v1.StatisticResponse"
  8896. }
  8897. },
  8898. "500": {
  8899. "description": "Internal Server Error",
  8900. "schema": {
  8901. "$ref": "#/definitions/base.HTTPError"
  8902. }
  8903. }
  8904. }
  8905. }
  8906. },
  8907. "/api/v1/suggestion/order": {
  8908. "get": {
  8909. "description": "工单列表",
  8910. "consumes": [
  8911. "application/json"
  8912. ],
  8913. "produces": [
  8914. "application/json"
  8915. ],
  8916. "tags": [
  8917. "投诉与建议"
  8918. ],
  8919. "summary": "工单列表",
  8920. "parameters": [
  8921. {
  8922. "type": "string",
  8923. "description": "token",
  8924. "name": "token",
  8925. "in": "header",
  8926. "required": true
  8927. },
  8928. {
  8929. "type": "integer",
  8930. "description": " ",
  8931. "name": "page",
  8932. "in": "query"
  8933. },
  8934. {
  8935. "type": "integer",
  8936. "description": " ",
  8937. "name": "page_size",
  8938. "in": "query"
  8939. },
  8940. {
  8941. "type": "integer",
  8942. "description": " 1未派单 2 已派单 3 已完结 ",
  8943. "name": "status",
  8944. "in": "query"
  8945. },
  8946. {
  8947. "type": "string",
  8948. "description": "报修人",
  8949. "name": "apply_people",
  8950. "in": "query"
  8951. },
  8952. {
  8953. "type": "string",
  8954. "description": "报修人电话",
  8955. "name": "apply_people_phone",
  8956. "in": "query"
  8957. },
  8958. {
  8959. "type": "boolean",
  8960. "description": " true: 指派给我的",
  8961. "name": "is_me",
  8962. "in": "query"
  8963. },
  8964. {
  8965. "type": "integer",
  8966. "description": "投诉类型 1 投诉 2 建议",
  8967. "name": "suggestion_type",
  8968. "in": "query"
  8969. }
  8970. ],
  8971. "responses": {
  8972. "200": {
  8973. "description": "OK",
  8974. "schema": {
  8975. "$ref": "#/definitions/v1.SuggestionOrderListResponse"
  8976. }
  8977. },
  8978. "500": {
  8979. "description": "Internal Server Error",
  8980. "schema": {
  8981. "$ref": "#/definitions/base.HTTPError"
  8982. }
  8983. }
  8984. }
  8985. },
  8986. "put": {
  8987. "description": "修改工单",
  8988. "consumes": [
  8989. "application/json"
  8990. ],
  8991. "produces": [
  8992. "application/json"
  8993. ],
  8994. "tags": [
  8995. "投诉与建议"
  8996. ],
  8997. "summary": "修改工单",
  8998. "parameters": [
  8999. {
  9000. "type": "string",
  9001. "description": "token",
  9002. "name": "token",
  9003. "in": "header",
  9004. "required": true
  9005. },
  9006. {
  9007. "description": "信息",
  9008. "name": "body",
  9009. "in": "body",
  9010. "required": true,
  9011. "schema": {
  9012. "$ref": "#/definitions/v1.SuggestionOrderUpdateBody"
  9013. }
  9014. }
  9015. ],
  9016. "responses": {
  9017. "200": {
  9018. "description": "OK",
  9019. "schema": {
  9020. "$ref": "#/definitions/v1.SuggestionOrderUpdateResponse"
  9021. }
  9022. },
  9023. "500": {
  9024. "description": "Internal Server Error",
  9025. "schema": {
  9026. "$ref": "#/definitions/base.HTTPError"
  9027. }
  9028. }
  9029. }
  9030. },
  9031. "post": {
  9032. "description": "新增工单",
  9033. "consumes": [
  9034. "application/json"
  9035. ],
  9036. "produces": [
  9037. "application/json"
  9038. ],
  9039. "tags": [
  9040. "投诉与建议"
  9041. ],
  9042. "summary": "新增工单",
  9043. "parameters": [
  9044. {
  9045. "type": "string",
  9046. "description": "token",
  9047. "name": "token",
  9048. "in": "header",
  9049. "required": true
  9050. },
  9051. {
  9052. "description": "信息",
  9053. "name": "body",
  9054. "in": "body",
  9055. "required": true,
  9056. "schema": {
  9057. "$ref": "#/definitions/v1.SuggestionOrderAddBody"
  9058. }
  9059. }
  9060. ],
  9061. "responses": {
  9062. "200": {
  9063. "description": "OK",
  9064. "schema": {
  9065. "$ref": "#/definitions/v1.SuggestionOrderAddResponse"
  9066. }
  9067. },
  9068. "500": {
  9069. "description": "Internal Server Error",
  9070. "schema": {
  9071. "$ref": "#/definitions/base.HTTPError"
  9072. }
  9073. }
  9074. }
  9075. },
  9076. "delete": {
  9077. "description": "删除工单",
  9078. "consumes": [
  9079. "application/json"
  9080. ],
  9081. "produces": [
  9082. "application/json"
  9083. ],
  9084. "tags": [
  9085. "投诉与建议"
  9086. ],
  9087. "summary": "删除工单",
  9088. "parameters": [
  9089. {
  9090. "type": "string",
  9091. "description": "token",
  9092. "name": "token",
  9093. "in": "header",
  9094. "required": true
  9095. },
  9096. {
  9097. "type": "integer",
  9098. "description": " ",
  9099. "name": "id",
  9100. "in": "query",
  9101. "required": true
  9102. }
  9103. ],
  9104. "responses": {
  9105. "200": {
  9106. "description": "OK",
  9107. "schema": {
  9108. "$ref": "#/definitions/v1.SuggestionOrderDelResponse"
  9109. }
  9110. },
  9111. "500": {
  9112. "description": "Internal Server Error",
  9113. "schema": {
  9114. "$ref": "#/definitions/base.HTTPError"
  9115. }
  9116. }
  9117. }
  9118. }
  9119. },
  9120. "/api/v1/suggestion/order/back": {
  9121. "put": {
  9122. "description": "退单",
  9123. "consumes": [
  9124. "application/json"
  9125. ],
  9126. "produces": [
  9127. "application/json"
  9128. ],
  9129. "tags": [
  9130. "投诉与建议"
  9131. ],
  9132. "summary": "退单",
  9133. "parameters": [
  9134. {
  9135. "type": "string",
  9136. "description": "token",
  9137. "name": "token",
  9138. "in": "header",
  9139. "required": true
  9140. },
  9141. {
  9142. "description": "信息",
  9143. "name": "body",
  9144. "in": "body",
  9145. "required": true,
  9146. "schema": {
  9147. "$ref": "#/definitions/v1.SuggestionOrderBackBody"
  9148. }
  9149. }
  9150. ],
  9151. "responses": {
  9152. "200": {
  9153. "description": "OK",
  9154. "schema": {
  9155. "$ref": "#/definitions/v1.SuggestionOrderBackResponse"
  9156. }
  9157. },
  9158. "500": {
  9159. "description": "Internal Server Error",
  9160. "schema": {
  9161. "$ref": "#/definitions/base.HTTPError"
  9162. }
  9163. }
  9164. }
  9165. }
  9166. },
  9167. "/api/v1/suggestion/order/finish": {
  9168. "put": {
  9169. "description": "结单",
  9170. "consumes": [
  9171. "application/json"
  9172. ],
  9173. "produces": [
  9174. "application/json"
  9175. ],
  9176. "tags": [
  9177. "投诉与建议"
  9178. ],
  9179. "summary": "结单",
  9180. "parameters": [
  9181. {
  9182. "type": "string",
  9183. "description": "token",
  9184. "name": "token",
  9185. "in": "header",
  9186. "required": true
  9187. },
  9188. {
  9189. "description": "信息",
  9190. "name": "body",
  9191. "in": "body",
  9192. "required": true,
  9193. "schema": {
  9194. "$ref": "#/definitions/v1.SuggestionOrderFinishBody"
  9195. }
  9196. }
  9197. ],
  9198. "responses": {
  9199. "200": {
  9200. "description": "OK",
  9201. "schema": {
  9202. "$ref": "#/definitions/v1.SuggestionOrderFinishResponse"
  9203. }
  9204. },
  9205. "500": {
  9206. "description": "Internal Server Error",
  9207. "schema": {
  9208. "$ref": "#/definitions/base.HTTPError"
  9209. }
  9210. }
  9211. }
  9212. }
  9213. },
  9214. "/api/v1/suggestion/order/info": {
  9215. "get": {
  9216. "description": "工单详情",
  9217. "consumes": [
  9218. "application/json"
  9219. ],
  9220. "produces": [
  9221. "application/json"
  9222. ],
  9223. "tags": [
  9224. "投诉与建议"
  9225. ],
  9226. "summary": "工单详情",
  9227. "parameters": [
  9228. {
  9229. "type": "string",
  9230. "description": "token",
  9231. "name": "token",
  9232. "in": "header",
  9233. "required": true
  9234. },
  9235. {
  9236. "type": "integer",
  9237. "description": " ",
  9238. "name": "id",
  9239. "in": "query",
  9240. "required": true
  9241. }
  9242. ],
  9243. "responses": {
  9244. "200": {
  9245. "description": "OK",
  9246. "schema": {
  9247. "$ref": "#/definitions/v1.SuggestionOrderInfoResponse"
  9248. }
  9249. },
  9250. "500": {
  9251. "description": "Internal Server Error",
  9252. "schema": {
  9253. "$ref": "#/definitions/base.HTTPError"
  9254. }
  9255. }
  9256. }
  9257. }
  9258. },
  9259. "/api/v1/suggestion/order/return_visit": {
  9260. "put": {
  9261. "description": "回访",
  9262. "consumes": [
  9263. "application/json"
  9264. ],
  9265. "produces": [
  9266. "application/json"
  9267. ],
  9268. "tags": [
  9269. "投诉与建议"
  9270. ],
  9271. "summary": "回访",
  9272. "parameters": [
  9273. {
  9274. "type": "string",
  9275. "description": "token",
  9276. "name": "token",
  9277. "in": "header",
  9278. "required": true
  9279. },
  9280. {
  9281. "description": "信息",
  9282. "name": "body",
  9283. "in": "body",
  9284. "required": true,
  9285. "schema": {
  9286. "$ref": "#/definitions/v1.SuggestionOrderReturnVisitBody"
  9287. }
  9288. }
  9289. ],
  9290. "responses": {
  9291. "200": {
  9292. "description": "OK",
  9293. "schema": {
  9294. "$ref": "#/definitions/v1.SuggestionOrderReturnVisitResponse"
  9295. }
  9296. },
  9297. "500": {
  9298. "description": "Internal Server Error",
  9299. "schema": {
  9300. "$ref": "#/definitions/base.HTTPError"
  9301. }
  9302. }
  9303. }
  9304. }
  9305. },
  9306. "/api/v1/suggestion/order/send": {
  9307. "put": {
  9308. "description": "派单",
  9309. "consumes": [
  9310. "application/json"
  9311. ],
  9312. "produces": [
  9313. "application/json"
  9314. ],
  9315. "tags": [
  9316. "投诉与建议"
  9317. ],
  9318. "summary": "派单",
  9319. "parameters": [
  9320. {
  9321. "type": "string",
  9322. "description": "token",
  9323. "name": "token",
  9324. "in": "header",
  9325. "required": true
  9326. },
  9327. {
  9328. "description": "信息",
  9329. "name": "body",
  9330. "in": "body",
  9331. "required": true,
  9332. "schema": {
  9333. "$ref": "#/definitions/v1.SuggestionOrderSendBody"
  9334. }
  9335. }
  9336. ],
  9337. "responses": {
  9338. "200": {
  9339. "description": "OK",
  9340. "schema": {
  9341. "$ref": "#/definitions/v1.SuggestionOrderSendResponse"
  9342. }
  9343. },
  9344. "500": {
  9345. "description": "Internal Server Error",
  9346. "schema": {
  9347. "$ref": "#/definitions/base.HTTPError"
  9348. }
  9349. }
  9350. }
  9351. }
  9352. },
  9353. "/api/v1/system_msg": {
  9354. "put": {
  9355. "description": "设置消息为已读",
  9356. "consumes": [
  9357. "application/json"
  9358. ],
  9359. "produces": [
  9360. "application/json"
  9361. ],
  9362. "tags": [
  9363. "系统消息"
  9364. ],
  9365. "summary": "设置消息为已读",
  9366. "parameters": [
  9367. {
  9368. "type": "string",
  9369. "description": "token",
  9370. "name": "token",
  9371. "in": "header",
  9372. "required": true
  9373. },
  9374. {
  9375. "description": "信息",
  9376. "name": "body",
  9377. "in": "body",
  9378. "required": true,
  9379. "schema": {
  9380. "$ref": "#/definitions/v1.SystemMsgReadedBody"
  9381. }
  9382. }
  9383. ],
  9384. "responses": {
  9385. "200": {
  9386. "description": "OK",
  9387. "schema": {
  9388. "$ref": "#/definitions/v1.VehicleAddResponse"
  9389. }
  9390. },
  9391. "500": {
  9392. "description": "Internal Server Error",
  9393. "schema": {
  9394. "$ref": "#/definitions/base.HTTPError"
  9395. }
  9396. }
  9397. }
  9398. }
  9399. },
  9400. "/api/v1/system_msg/list": {
  9401. "get": {
  9402. "description": "获取未读消息列表",
  9403. "consumes": [
  9404. "application/json"
  9405. ],
  9406. "produces": [
  9407. "application/json"
  9408. ],
  9409. "tags": [
  9410. "系统消息"
  9411. ],
  9412. "summary": "获取未读消息列表",
  9413. "parameters": [
  9414. {
  9415. "type": "string",
  9416. "description": "token",
  9417. "name": "token",
  9418. "in": "header",
  9419. "required": true
  9420. },
  9421. {
  9422. "type": "integer",
  9423. "description": " ",
  9424. "name": "page",
  9425. "in": "query"
  9426. },
  9427. {
  9428. "type": "integer",
  9429. "description": " ",
  9430. "name": "page_size",
  9431. "in": "query"
  9432. }
  9433. ],
  9434. "responses": {
  9435. "200": {
  9436. "description": "OK",
  9437. "schema": {
  9438. "$ref": "#/definitions/v1.SystemMsgListResponse"
  9439. }
  9440. },
  9441. "500": {
  9442. "description": "Internal Server Error",
  9443. "schema": {
  9444. "$ref": "#/definitions/base.HTTPError"
  9445. }
  9446. }
  9447. }
  9448. }
  9449. },
  9450. "/api/v1/system_user": {
  9451. "get": {
  9452. "description": "用户列表",
  9453. "consumes": [
  9454. "application/json"
  9455. ],
  9456. "produces": [
  9457. "application/json"
  9458. ],
  9459. "tags": [
  9460. "用户管理"
  9461. ],
  9462. "summary": "用户列表",
  9463. "parameters": [
  9464. {
  9465. "type": "string",
  9466. "description": "token",
  9467. "name": "token",
  9468. "in": "header",
  9469. "required": true
  9470. },
  9471. {
  9472. "type": "integer",
  9473. "description": " ",
  9474. "name": "page",
  9475. "in": "query",
  9476. "required": true
  9477. },
  9478. {
  9479. "type": "integer",
  9480. "description": " ",
  9481. "name": "page_size",
  9482. "in": "query"
  9483. },
  9484. {
  9485. "type": "integer",
  9486. "description": "权限组id",
  9487. "name": "group_id",
  9488. "in": "query"
  9489. },
  9490. {
  9491. "type": "string",
  9492. "description": "用户名",
  9493. "name": "user_name",
  9494. "in": "query"
  9495. },
  9496. {
  9497. "type": "string",
  9498. "description": "电话号",
  9499. "name": "phone",
  9500. "in": "query"
  9501. },
  9502. {
  9503. "type": "string",
  9504. "description": "需要排除的用户id,以逗号分隔,如11,2,13,46 (不需要则留空)",
  9505. "name": "exclude",
  9506. "in": "query"
  9507. }
  9508. ],
  9509. "responses": {
  9510. "200": {
  9511. "description": "OK",
  9512. "schema": {
  9513. "$ref": "#/definitions/v1.UserListResponse"
  9514. }
  9515. },
  9516. "500": {
  9517. "description": "Internal Server Error",
  9518. "schema": {
  9519. "$ref": "#/definitions/base.HTTPError"
  9520. }
  9521. }
  9522. }
  9523. },
  9524. "put": {
  9525. "description": "更改用户",
  9526. "consumes": [
  9527. "application/json"
  9528. ],
  9529. "produces": [
  9530. "application/json"
  9531. ],
  9532. "tags": [
  9533. "用户管理"
  9534. ],
  9535. "summary": "更改用户",
  9536. "parameters": [
  9537. {
  9538. "type": "string",
  9539. "description": "token",
  9540. "name": "token",
  9541. "in": "header",
  9542. "required": true
  9543. },
  9544. {
  9545. "description": "用户信息",
  9546. "name": "body",
  9547. "in": "body",
  9548. "required": true,
  9549. "schema": {
  9550. "$ref": "#/definitions/v1.UserUpdateBody"
  9551. }
  9552. }
  9553. ],
  9554. "responses": {
  9555. "200": {
  9556. "description": "OK",
  9557. "schema": {
  9558. "$ref": "#/definitions/v1.UserUpdateResponse"
  9559. }
  9560. },
  9561. "500": {
  9562. "description": "Internal Server Error",
  9563. "schema": {
  9564. "$ref": "#/definitions/base.HTTPError"
  9565. }
  9566. }
  9567. }
  9568. },
  9569. "post": {
  9570. "description": "添加用户",
  9571. "consumes": [
  9572. "application/json"
  9573. ],
  9574. "produces": [
  9575. "application/json"
  9576. ],
  9577. "tags": [
  9578. "用户管理"
  9579. ],
  9580. "summary": "添加用户",
  9581. "parameters": [
  9582. {
  9583. "type": "string",
  9584. "description": "token",
  9585. "name": "token",
  9586. "in": "header",
  9587. "required": true
  9588. },
  9589. {
  9590. "description": "用户信息",
  9591. "name": "body",
  9592. "in": "body",
  9593. "required": true,
  9594. "schema": {
  9595. "$ref": "#/definitions/v1.UserAddBody"
  9596. }
  9597. }
  9598. ],
  9599. "responses": {
  9600. "200": {
  9601. "description": "OK",
  9602. "schema": {
  9603. "$ref": "#/definitions/v1.UserAddResponse"
  9604. }
  9605. },
  9606. "500": {
  9607. "description": "Internal Server Error",
  9608. "schema": {
  9609. "$ref": "#/definitions/base.HTTPError"
  9610. }
  9611. }
  9612. }
  9613. },
  9614. "delete": {
  9615. "description": "删除用户",
  9616. "consumes": [
  9617. "application/json"
  9618. ],
  9619. "produces": [
  9620. "application/json"
  9621. ],
  9622. "tags": [
  9623. "用户管理"
  9624. ],
  9625. "summary": "删除用户",
  9626. "parameters": [
  9627. {
  9628. "type": "string",
  9629. "description": "token",
  9630. "name": "token",
  9631. "in": "header",
  9632. "required": true
  9633. },
  9634. {
  9635. "type": "integer",
  9636. "description": " ",
  9637. "name": "id",
  9638. "in": "query",
  9639. "required": true
  9640. }
  9641. ],
  9642. "responses": {
  9643. "200": {
  9644. "description": "OK",
  9645. "schema": {
  9646. "$ref": "#/definitions/v1.UserDelResponse"
  9647. }
  9648. },
  9649. "500": {
  9650. "description": "Internal Server Error",
  9651. "schema": {
  9652. "$ref": "#/definitions/base.HTTPError"
  9653. }
  9654. }
  9655. }
  9656. }
  9657. },
  9658. "/api/v1/token_refresh": {
  9659. "put": {
  9660. "description": "刷新token",
  9661. "consumes": [
  9662. "application/json"
  9663. ],
  9664. "produces": [
  9665. "application/json"
  9666. ],
  9667. "tags": [
  9668. "用户"
  9669. ],
  9670. "summary": "刷新token",
  9671. "parameters": [
  9672. {
  9673. "type": "string",
  9674. "description": "token",
  9675. "name": "token",
  9676. "in": "header",
  9677. "required": true
  9678. }
  9679. ],
  9680. "responses": {
  9681. "200": {
  9682. "description": "OK",
  9683. "schema": {
  9684. "$ref": "#/definitions/v1.TokenResponse"
  9685. }
  9686. },
  9687. "500": {
  9688. "description": "Internal Server Error",
  9689. "schema": {
  9690. "$ref": "#/definitions/base.HTTPError"
  9691. }
  9692. }
  9693. }
  9694. }
  9695. },
  9696. "/api/v1/upload": {
  9697. "post": {
  9698. "description": "上传文件",
  9699. "consumes": [
  9700. "application/json"
  9701. ],
  9702. "produces": [
  9703. "application/json"
  9704. ],
  9705. "tags": [
  9706. "upload"
  9707. ],
  9708. "summary": "上传文件",
  9709. "parameters": [
  9710. {
  9711. "type": "string",
  9712. "description": "jwt token",
  9713. "name": "token",
  9714. "in": "header",
  9715. "required": true
  9716. },
  9717. {
  9718. "type": "file",
  9719. "description": "file",
  9720. "name": "file",
  9721. "in": "formData"
  9722. }
  9723. ],
  9724. "responses": {
  9725. "200": {
  9726. "description": "OK",
  9727. "schema": {
  9728. "$ref": "#/definitions/v1.UploadResponse"
  9729. }
  9730. },
  9731. "500": {
  9732. "description": "Internal Server Error",
  9733. "schema": {
  9734. "$ref": "#/definitions/base.HTTPError"
  9735. }
  9736. }
  9737. }
  9738. }
  9739. },
  9740. "/api/v1/user/change_password": {
  9741. "put": {
  9742. "description": "修改密码",
  9743. "consumes": [
  9744. "application/json"
  9745. ],
  9746. "produces": [
  9747. "application/json"
  9748. ],
  9749. "tags": [
  9750. "用户"
  9751. ],
  9752. "summary": "修改密码",
  9753. "parameters": [
  9754. {
  9755. "type": "string",
  9756. "description": " ",
  9757. "name": "token",
  9758. "in": "header",
  9759. "required": true
  9760. },
  9761. {
  9762. "description": "信息",
  9763. "name": "body",
  9764. "in": "body",
  9765. "required": true,
  9766. "schema": {
  9767. "$ref": "#/definitions/v1.ChangePasswordBody"
  9768. }
  9769. }
  9770. ],
  9771. "responses": {
  9772. "200": {
  9773. "description": "OK",
  9774. "schema": {
  9775. "$ref": "#/definitions/v1.ChangePasswordResponse"
  9776. }
  9777. },
  9778. "500": {
  9779. "description": "Internal Server Error",
  9780. "schema": {
  9781. "$ref": "#/definitions/base.HTTPError"
  9782. }
  9783. }
  9784. }
  9785. }
  9786. },
  9787. "/api/v1/user/choose_user": {
  9788. "get": {
  9789. "description": "手机号登录选择账户",
  9790. "consumes": [
  9791. "application/json"
  9792. ],
  9793. "produces": [
  9794. "application/json"
  9795. ],
  9796. "tags": [
  9797. "用户"
  9798. ],
  9799. "summary": "手机号登录选择账户",
  9800. "parameters": [
  9801. {
  9802. "type": "string",
  9803. "description": "token",
  9804. "name": "token",
  9805. "in": "header",
  9806. "required": true
  9807. },
  9808. {
  9809. "type": "integer",
  9810. "description": "账户id",
  9811. "name": "id",
  9812. "in": "query",
  9813. "required": true
  9814. }
  9815. ],
  9816. "responses": {
  9817. "200": {
  9818. "description": "OK",
  9819. "schema": {
  9820. "$ref": "#/definitions/v1.ChooseUserResponse"
  9821. }
  9822. },
  9823. "500": {
  9824. "description": "Internal Server Error",
  9825. "schema": {
  9826. "$ref": "#/definitions/base.HTTPError"
  9827. }
  9828. }
  9829. }
  9830. }
  9831. },
  9832. "/api/v1/user/company_login": {
  9833. "post": {
  9834. "description": "公司账户进入小区",
  9835. "consumes": [
  9836. "application/json"
  9837. ],
  9838. "produces": [
  9839. "application/json"
  9840. ],
  9841. "tags": [
  9842. "用户"
  9843. ],
  9844. "summary": "公司账户进入小区",
  9845. "parameters": [
  9846. {
  9847. "type": "string",
  9848. "description": "token",
  9849. "name": "token",
  9850. "in": "header",
  9851. "required": true
  9852. }
  9853. ],
  9854. "responses": {
  9855. "200": {
  9856. "description": "OK",
  9857. "schema": {
  9858. "$ref": "#/definitions/v1.CompanyEnterGardenResponse"
  9859. }
  9860. },
  9861. "500": {
  9862. "description": "Internal Server Error",
  9863. "schema": {
  9864. "$ref": "#/definitions/base.HTTPError"
  9865. }
  9866. }
  9867. }
  9868. }
  9869. },
  9870. "/api/v1/user/login": {
  9871. "post": {
  9872. "description": "登录",
  9873. "consumes": [
  9874. "application/json"
  9875. ],
  9876. "produces": [
  9877. "application/json"
  9878. ],
  9879. "tags": [
  9880. "用户"
  9881. ],
  9882. "summary": "登录",
  9883. "parameters": [
  9884. {
  9885. "description": "登录信息",
  9886. "name": "body",
  9887. "in": "body",
  9888. "required": true,
  9889. "schema": {
  9890. "$ref": "#/definitions/v1.LoginBody"
  9891. }
  9892. }
  9893. ],
  9894. "responses": {
  9895. "200": {
  9896. "description": "OK",
  9897. "schema": {
  9898. "$ref": "#/definitions/v1.LoginResponse"
  9899. }
  9900. },
  9901. "500": {
  9902. "description": "Internal Server Error",
  9903. "schema": {
  9904. "$ref": "#/definitions/base.HTTPError"
  9905. }
  9906. }
  9907. }
  9908. }
  9909. },
  9910. "/api/v1/user/login_by_phone": {
  9911. "post": {
  9912. "description": "手机号登录",
  9913. "consumes": [
  9914. "application/json"
  9915. ],
  9916. "produces": [
  9917. "application/json"
  9918. ],
  9919. "tags": [
  9920. "用户"
  9921. ],
  9922. "summary": "手机号登录",
  9923. "parameters": [
  9924. {
  9925. "description": " ",
  9926. "name": "body",
  9927. "in": "body",
  9928. "required": true,
  9929. "schema": {
  9930. "$ref": "#/definitions/v1.LoginByPhoneBody"
  9931. }
  9932. }
  9933. ],
  9934. "responses": {
  9935. "200": {
  9936. "description": "OK",
  9937. "schema": {
  9938. "$ref": "#/definitions/v1.LoginByPhoneResponse"
  9939. }
  9940. },
  9941. "500": {
  9942. "description": "Internal Server Error",
  9943. "schema": {
  9944. "$ref": "#/definitions/base.HTTPError"
  9945. }
  9946. }
  9947. }
  9948. }
  9949. },
  9950. "/api/v1/user/openim_token": {
  9951. "get": {
  9952. "description": "获取openim_token",
  9953. "consumes": [
  9954. "application/json"
  9955. ],
  9956. "produces": [
  9957. "application/json"
  9958. ],
  9959. "tags": [
  9960. "openim"
  9961. ],
  9962. "summary": "获取openim token",
  9963. "parameters": [
  9964. {
  9965. "type": "string",
  9966. "description": "token",
  9967. "name": "token",
  9968. "in": "header",
  9969. "required": true
  9970. },
  9971. {
  9972. "type": "string",
  9973. "description": "openim_id",
  9974. "name": "openim_id",
  9975. "in": "query",
  9976. "required": true
  9977. }
  9978. ],
  9979. "responses": {
  9980. "200": {
  9981. "description": "OK",
  9982. "schema": {
  9983. "$ref": "#/definitions/v1.OpenImTokenResponse"
  9984. }
  9985. },
  9986. "500": {
  9987. "description": "Internal Server Error",
  9988. "schema": {
  9989. "$ref": "#/definitions/base.HTTPError"
  9990. }
  9991. }
  9992. }
  9993. }
  9994. },
  9995. "/api/v1/user/openim_user_face": {
  9996. "put": {
  9997. "description": "设置openim_用户头像",
  9998. "consumes": [
  9999. "application/json"
  10000. ],
  10001. "produces": [
  10002. "application/json"
  10003. ],
  10004. "tags": [
  10005. "openim"
  10006. ],
  10007. "summary": "设置openim 用户头像",
  10008. "parameters": [
  10009. {
  10010. "type": "string",
  10011. "description": "token",
  10012. "name": "token",
  10013. "in": "header",
  10014. "required": true
  10015. },
  10016. {
  10017. "description": " ",
  10018. "name": "body",
  10019. "in": "body",
  10020. "required": true,
  10021. "schema": {
  10022. "$ref": "#/definitions/v1.OpenImUserSetFaceBody"
  10023. }
  10024. }
  10025. ],
  10026. "responses": {
  10027. "200": {
  10028. "description": "OK",
  10029. "schema": {
  10030. "$ref": "#/definitions/v1.OpenImUserSetFaceResponse"
  10031. }
  10032. },
  10033. "500": {
  10034. "description": "Internal Server Error",
  10035. "schema": {
  10036. "$ref": "#/definitions/base.HTTPError"
  10037. }
  10038. }
  10039. }
  10040. }
  10041. },
  10042. "/api/v1/user/openim_user_info": {
  10043. "get": {
  10044. "description": "获取openim_用户信息",
  10045. "consumes": [
  10046. "application/json"
  10047. ],
  10048. "produces": [
  10049. "application/json"
  10050. ],
  10051. "tags": [
  10052. "openim"
  10053. ],
  10054. "summary": "获取openim 用户信息",
  10055. "parameters": [
  10056. {
  10057. "type": "string",
  10058. "description": "token",
  10059. "name": "token",
  10060. "in": "header",
  10061. "required": true
  10062. },
  10063. {
  10064. "type": "string",
  10065. "description": "openim_id",
  10066. "name": "openim_id",
  10067. "in": "query",
  10068. "required": true
  10069. }
  10070. ],
  10071. "responses": {
  10072. "200": {
  10073. "description": "OK",
  10074. "schema": {
  10075. "$ref": "#/definitions/v1.OpenImUserInfoResponse"
  10076. }
  10077. },
  10078. "500": {
  10079. "description": "Internal Server Error",
  10080. "schema": {
  10081. "$ref": "#/definitions/base.HTTPError"
  10082. }
  10083. }
  10084. }
  10085. }
  10086. },
  10087. "/api/v1/user/openim_users_info": {
  10088. "get": {
  10089. "description": "批量获取openim_用户信息",
  10090. "consumes": [
  10091. "application/json"
  10092. ],
  10093. "produces": [
  10094. "application/json"
  10095. ],
  10096. "tags": [
  10097. "openim"
  10098. ],
  10099. "summary": "批量获取openim 用户信息",
  10100. "parameters": [
  10101. {
  10102. "type": "string",
  10103. "description": "token",
  10104. "name": "token",
  10105. "in": "header",
  10106. "required": true
  10107. },
  10108. {
  10109. "type": "string",
  10110. "description": "用户openim_id,以逗号分割",
  10111. "name": "openim_ids",
  10112. "in": "query",
  10113. "required": true
  10114. }
  10115. ],
  10116. "responses": {
  10117. "200": {
  10118. "description": "OK",
  10119. "schema": {
  10120. "$ref": "#/definitions/v1.OpenImUsersInfoResponse"
  10121. }
  10122. },
  10123. "500": {
  10124. "description": "Internal Server Error",
  10125. "schema": {
  10126. "$ref": "#/definitions/base.HTTPError"
  10127. }
  10128. }
  10129. }
  10130. }
  10131. },
  10132. "/api/v1/user/permission_reget": {
  10133. "get": {
  10134. "description": "权限变更后重新获取权限",
  10135. "consumes": [
  10136. "application/json"
  10137. ],
  10138. "produces": [
  10139. "application/json"
  10140. ],
  10141. "tags": [
  10142. "用户"
  10143. ],
  10144. "summary": "权限变更后重新获取权限和token",
  10145. "parameters": [
  10146. {
  10147. "type": "string",
  10148. "description": "token",
  10149. "name": "token",
  10150. "in": "header",
  10151. "required": true
  10152. }
  10153. ],
  10154. "responses": {
  10155. "200": {
  10156. "description": "OK",
  10157. "schema": {
  10158. "$ref": "#/definitions/v1.LoginResponse"
  10159. }
  10160. },
  10161. "500": {
  10162. "description": "Internal Server Error",
  10163. "schema": {
  10164. "$ref": "#/definitions/base.HTTPError"
  10165. }
  10166. }
  10167. }
  10168. }
  10169. },
  10170. "/api/v1/user/reset_password": {
  10171. "put": {
  10172. "description": "忘记密码重置密码",
  10173. "consumes": [
  10174. "application/json"
  10175. ],
  10176. "produces": [
  10177. "application/json"
  10178. ],
  10179. "tags": [
  10180. "用户"
  10181. ],
  10182. "summary": "忘记密码重置密码",
  10183. "parameters": [
  10184. {
  10185. "description": "信息",
  10186. "name": "body",
  10187. "in": "body",
  10188. "required": true,
  10189. "schema": {
  10190. "$ref": "#/definitions/v1.ResetPasswordBody"
  10191. }
  10192. }
  10193. ],
  10194. "responses": {
  10195. "200": {
  10196. "description": "OK",
  10197. "schema": {
  10198. "$ref": "#/definitions/v1.ResetPasswordResponse"
  10199. }
  10200. },
  10201. "500": {
  10202. "description": "Internal Server Error",
  10203. "schema": {
  10204. "$ref": "#/definitions/base.HTTPError"
  10205. }
  10206. }
  10207. }
  10208. }
  10209. },
  10210. "/api/v1/user/vcode": {
  10211. "get": {
  10212. "description": "获取短信验证码",
  10213. "consumes": [
  10214. "application/json"
  10215. ],
  10216. "produces": [
  10217. "application/json"
  10218. ],
  10219. "tags": [
  10220. "用户"
  10221. ],
  10222. "summary": "获取短信验证码",
  10223. "parameters": [
  10224. {
  10225. "type": "string",
  10226. "description": " ",
  10227. "name": "phone",
  10228. "in": "query",
  10229. "required": true
  10230. }
  10231. ],
  10232. "responses": {
  10233. "200": {
  10234. "description": "OK",
  10235. "schema": {
  10236. "$ref": "#/definitions/v1.GetVcodeResponse"
  10237. }
  10238. },
  10239. "500": {
  10240. "description": "Internal Server Error",
  10241. "schema": {
  10242. "$ref": "#/definitions/base.HTTPError"
  10243. }
  10244. }
  10245. }
  10246. }
  10247. },
  10248. "/api/v1/vehicle": {
  10249. "get": {
  10250. "description": "车辆列表",
  10251. "consumes": [
  10252. "application/json"
  10253. ],
  10254. "produces": [
  10255. "application/json"
  10256. ],
  10257. "tags": [
  10258. "车辆"
  10259. ],
  10260. "summary": "车辆列表",
  10261. "parameters": [
  10262. {
  10263. "type": "string",
  10264. "description": "token",
  10265. "name": "token",
  10266. "in": "header",
  10267. "required": true
  10268. },
  10269. {
  10270. "type": "integer",
  10271. "description": " ",
  10272. "name": "page",
  10273. "in": "query"
  10274. },
  10275. {
  10276. "type": "integer",
  10277. "description": " ",
  10278. "name": "page_size",
  10279. "in": "query"
  10280. },
  10281. {
  10282. "type": "integer",
  10283. "description": "住户uid",
  10284. "name": "household_id",
  10285. "in": "query"
  10286. },
  10287. {
  10288. "type": "string",
  10289. "description": "车牌号",
  10290. "name": "plate_no",
  10291. "in": "query"
  10292. }
  10293. ],
  10294. "responses": {
  10295. "200": {
  10296. "description": "OK",
  10297. "schema": {
  10298. "$ref": "#/definitions/v1.VehicleListResponse"
  10299. }
  10300. },
  10301. "500": {
  10302. "description": "Internal Server Error",
  10303. "schema": {
  10304. "$ref": "#/definitions/base.HTTPError"
  10305. }
  10306. }
  10307. }
  10308. },
  10309. "put": {
  10310. "description": "修改车辆",
  10311. "consumes": [
  10312. "application/json"
  10313. ],
  10314. "produces": [
  10315. "application/json"
  10316. ],
  10317. "tags": [
  10318. "车辆"
  10319. ],
  10320. "summary": "修改车辆",
  10321. "parameters": [
  10322. {
  10323. "type": "string",
  10324. "description": "token",
  10325. "name": "token",
  10326. "in": "header",
  10327. "required": true
  10328. },
  10329. {
  10330. "description": "信息",
  10331. "name": "body",
  10332. "in": "body",
  10333. "required": true,
  10334. "schema": {
  10335. "$ref": "#/definitions/v1.VehicleUpdateBody"
  10336. }
  10337. }
  10338. ],
  10339. "responses": {
  10340. "200": {
  10341. "description": "OK",
  10342. "schema": {
  10343. "$ref": "#/definitions/v1.VehicleUpdateResponse"
  10344. }
  10345. },
  10346. "500": {
  10347. "description": "Internal Server Error",
  10348. "schema": {
  10349. "$ref": "#/definitions/base.HTTPError"
  10350. }
  10351. }
  10352. }
  10353. },
  10354. "post": {
  10355. "description": "添加车辆",
  10356. "consumes": [
  10357. "application/json"
  10358. ],
  10359. "produces": [
  10360. "application/json"
  10361. ],
  10362. "tags": [
  10363. "车辆"
  10364. ],
  10365. "summary": "添加车辆",
  10366. "parameters": [
  10367. {
  10368. "type": "string",
  10369. "description": "token",
  10370. "name": "token",
  10371. "in": "header",
  10372. "required": true
  10373. },
  10374. {
  10375. "description": "信息",
  10376. "name": "body",
  10377. "in": "body",
  10378. "required": true,
  10379. "schema": {
  10380. "$ref": "#/definitions/v1.VehicleAddBody"
  10381. }
  10382. }
  10383. ],
  10384. "responses": {
  10385. "200": {
  10386. "description": "OK",
  10387. "schema": {
  10388. "$ref": "#/definitions/v1.VehicleAddResponse"
  10389. }
  10390. },
  10391. "500": {
  10392. "description": "Internal Server Error",
  10393. "schema": {
  10394. "$ref": "#/definitions/base.HTTPError"
  10395. }
  10396. }
  10397. }
  10398. },
  10399. "delete": {
  10400. "description": "删除车辆",
  10401. "consumes": [
  10402. "application/json"
  10403. ],
  10404. "produces": [
  10405. "application/json"
  10406. ],
  10407. "tags": [
  10408. "车辆"
  10409. ],
  10410. "summary": "删除车辆",
  10411. "parameters": [
  10412. {
  10413. "type": "string",
  10414. "description": "token",
  10415. "name": "token",
  10416. "in": "header",
  10417. "required": true
  10418. },
  10419. {
  10420. "type": "integer",
  10421. "description": " ",
  10422. "name": "id",
  10423. "in": "query",
  10424. "required": true
  10425. }
  10426. ],
  10427. "responses": {
  10428. "200": {
  10429. "description": "OK",
  10430. "schema": {
  10431. "$ref": "#/definitions/v1.VehicleDelResponse"
  10432. }
  10433. },
  10434. "500": {
  10435. "description": "Internal Server Error",
  10436. "schema": {
  10437. "$ref": "#/definitions/base.HTTPError"
  10438. }
  10439. }
  10440. }
  10441. }
  10442. },
  10443. "/api/v1/vehicle/brand": {
  10444. "get": {
  10445. "description": "车辆品牌",
  10446. "consumes": [
  10447. "application/json"
  10448. ],
  10449. "produces": [
  10450. "application/json"
  10451. ],
  10452. "tags": [
  10453. "车辆"
  10454. ],
  10455. "summary": "车辆品牌",
  10456. "parameters": [
  10457. {
  10458. "type": "string",
  10459. "description": "token",
  10460. "name": "token",
  10461. "in": "header",
  10462. "required": true
  10463. }
  10464. ],
  10465. "responses": {
  10466. "200": {
  10467. "description": "OK",
  10468. "schema": {
  10469. "$ref": "#/definitions/v1.VehicleBrandListResponse"
  10470. }
  10471. },
  10472. "500": {
  10473. "description": "Internal Server Error",
  10474. "schema": {
  10475. "$ref": "#/definitions/base.HTTPError"
  10476. }
  10477. }
  10478. }
  10479. }
  10480. }
  10481. },
  10482. "definitions": {
  10483. "base.HTTPError": {
  10484. "type": "object",
  10485. "properties": {
  10486. "code": {
  10487. "type": "integer",
  10488. "format": "int",
  10489. "example": 500
  10490. },
  10491. "message": {
  10492. "type": "string",
  10493. "example": "status bad request"
  10494. }
  10495. }
  10496. },
  10497. "v1.AllPermissionResponse": {
  10498. "type": "object",
  10499. "properties": {
  10500. "code": {
  10501. "description": "返回码",
  10502. "type": "integer",
  10503. "format": "int",
  10504. "default": 0
  10505. },
  10506. "data": {
  10507. "type": "object",
  10508. "$ref": "#/definitions/v1.GardenPermissionListReply"
  10509. },
  10510. "message": {
  10511. "description": "消息",
  10512. "type": "string",
  10513. "default": "success"
  10514. }
  10515. }
  10516. },
  10517. "v1.AnnouncementAddBody": {
  10518. "type": "object",
  10519. "properties": {
  10520. "content": {
  10521. "type": "string"
  10522. },
  10523. "title": {
  10524. "type": "string"
  10525. }
  10526. }
  10527. },
  10528. "v1.AnnouncementAddReply": {
  10529. "type": "object",
  10530. "properties": {
  10531. "id": {
  10532. "type": "integer"
  10533. }
  10534. }
  10535. },
  10536. "v1.AnnouncementAddResponse": {
  10537. "type": "object",
  10538. "properties": {
  10539. "code": {
  10540. "description": "返回码",
  10541. "type": "integer",
  10542. "format": "int",
  10543. "default": 0
  10544. },
  10545. "data": {
  10546. "type": "object",
  10547. "$ref": "#/definitions/v1.AnnouncementAddReply"
  10548. },
  10549. "message": {
  10550. "description": "消息",
  10551. "type": "string",
  10552. "default": "success"
  10553. }
  10554. }
  10555. },
  10556. "v1.AnnouncementDelResponse": {
  10557. "type": "object",
  10558. "properties": {
  10559. "code": {
  10560. "description": "返回码",
  10561. "type": "integer",
  10562. "format": "int",
  10563. "default": 0
  10564. },
  10565. "message": {
  10566. "description": "消息",
  10567. "type": "string",
  10568. "default": "success"
  10569. }
  10570. }
  10571. },
  10572. "v1.AnnouncementItem": {
  10573. "type": "object",
  10574. "properties": {
  10575. "content": {
  10576. "type": "string"
  10577. },
  10578. "created_at": {
  10579. "type": "string"
  10580. },
  10581. "id": {
  10582. "type": "integer"
  10583. },
  10584. "read": {
  10585. "type": "boolean"
  10586. },
  10587. "read_count": {
  10588. "type": "integer"
  10589. },
  10590. "title": {
  10591. "type": "string"
  10592. }
  10593. }
  10594. },
  10595. "v1.AnnouncementListReply": {
  10596. "type": "object",
  10597. "properties": {
  10598. "list": {
  10599. "type": "array",
  10600. "items": {
  10601. "$ref": "#/definitions/v1.AnnouncementItem"
  10602. }
  10603. },
  10604. "page": {
  10605. "type": "integer"
  10606. },
  10607. "total": {
  10608. "type": "integer"
  10609. }
  10610. }
  10611. },
  10612. "v1.AnnouncementListResponse": {
  10613. "type": "object",
  10614. "properties": {
  10615. "code": {
  10616. "description": "返回码",
  10617. "type": "integer",
  10618. "format": "int",
  10619. "default": 0
  10620. },
  10621. "data": {
  10622. "type": "object",
  10623. "$ref": "#/definitions/v1.AnnouncementListReply"
  10624. },
  10625. "message": {
  10626. "description": "消息",
  10627. "type": "string",
  10628. "default": "success"
  10629. }
  10630. }
  10631. },
  10632. "v1.AnnouncementUpdateBody": {
  10633. "type": "object",
  10634. "properties": {
  10635. "content": {
  10636. "type": "string"
  10637. },
  10638. "id": {
  10639. "type": "integer"
  10640. },
  10641. "title": {
  10642. "type": "string"
  10643. }
  10644. }
  10645. },
  10646. "v1.AnnouncementUpdateResponse": {
  10647. "type": "object",
  10648. "properties": {
  10649. "code": {
  10650. "description": "返回码",
  10651. "type": "integer",
  10652. "format": "int",
  10653. "default": 0
  10654. },
  10655. "message": {
  10656. "description": "消息",
  10657. "type": "string",
  10658. "default": "success"
  10659. }
  10660. }
  10661. },
  10662. "v1.ApplicationItem": {
  10663. "type": "object",
  10664. "properties": {
  10665. "content": {
  10666. "type": "string"
  10667. },
  10668. "desc": {
  10669. "type": "string"
  10670. },
  10671. "enable": {
  10672. "type": "boolean"
  10673. },
  10674. "icon": {
  10675. "type": "string"
  10676. },
  10677. "id": {
  10678. "type": "integer"
  10679. },
  10680. "name": {
  10681. "type": "string"
  10682. },
  10683. "price": {
  10684. "type": "integer"
  10685. }
  10686. }
  10687. },
  10688. "v1.ApplicationListReply": {
  10689. "type": "object",
  10690. "properties": {
  10691. "list": {
  10692. "type": "array",
  10693. "items": {
  10694. "$ref": "#/definitions/v1.ApplicationItem"
  10695. }
  10696. },
  10697. "page": {
  10698. "type": "integer"
  10699. },
  10700. "total": {
  10701. "type": "integer"
  10702. }
  10703. }
  10704. },
  10705. "v1.ApplicationListResponse": {
  10706. "type": "object",
  10707. "properties": {
  10708. "code": {
  10709. "description": "返回码",
  10710. "type": "integer",
  10711. "format": "int",
  10712. "default": 0
  10713. },
  10714. "data": {
  10715. "type": "object",
  10716. "$ref": "#/definitions/v1.ApplicationListReply"
  10717. },
  10718. "message": {
  10719. "description": "消息",
  10720. "type": "string",
  10721. "default": "success"
  10722. }
  10723. }
  10724. },
  10725. "v1.ApplicationOrderAddBody": {
  10726. "type": "object",
  10727. "properties": {
  10728. "amount": {
  10729. "description": "单价*周期得出的总价",
  10730. "type": "integer"
  10731. },
  10732. "application_id": {
  10733. "type": "integer"
  10734. }
  10735. }
  10736. },
  10737. "v1.ApplicationOrderAddReply": {
  10738. "type": "object",
  10739. "properties": {
  10740. "amount": {
  10741. "description": "订单金额",
  10742. "type": "integer"
  10743. },
  10744. "application_desc": {
  10745. "type": "string"
  10746. },
  10747. "application_name": {
  10748. "type": "string"
  10749. },
  10750. "bank_account": {
  10751. "description": "银行账号",
  10752. "type": "string"
  10753. },
  10754. "bank_name": {
  10755. "description": "开户行",
  10756. "type": "string"
  10757. },
  10758. "bank_user_name": {
  10759. "description": "户名",
  10760. "type": "string"
  10761. },
  10762. "order_id": {
  10763. "type": "integer"
  10764. },
  10765. "pay_type": {
  10766. "description": "支付方式 1 对公转账",
  10767. "type": "integer"
  10768. }
  10769. }
  10770. },
  10771. "v1.ApplicationOrderAddResponse": {
  10772. "type": "object",
  10773. "properties": {
  10774. "code": {
  10775. "description": "返回码",
  10776. "type": "integer",
  10777. "format": "int",
  10778. "default": 0
  10779. },
  10780. "data": {
  10781. "type": "object",
  10782. "$ref": "#/definitions/v1.ApplicationOrderAddReply"
  10783. },
  10784. "message": {
  10785. "description": "消息",
  10786. "type": "string",
  10787. "default": "success"
  10788. }
  10789. }
  10790. },
  10791. "v1.BatchHouseAddResponse": {
  10792. "type": "object",
  10793. "properties": {
  10794. "code": {
  10795. "description": "返回码",
  10796. "type": "integer",
  10797. "format": "int",
  10798. "default": 0
  10799. },
  10800. "message": {
  10801. "description": "消息",
  10802. "type": "string",
  10803. "default": "success"
  10804. }
  10805. }
  10806. },
  10807. "v1.BatchUrgeData": {
  10808. "type": "object",
  10809. "properties": {
  10810. "list": {
  10811. "type": "array",
  10812. "items": {
  10813. "$ref": "#/definitions/v1.BatchUrgeItem"
  10814. }
  10815. }
  10816. }
  10817. },
  10818. "v1.BatchUrgeFeeItem": {
  10819. "type": "object",
  10820. "properties": {
  10821. "charge_name": {
  10822. "description": "费用名称",
  10823. "type": "string"
  10824. },
  10825. "charge_type": {
  10826. "description": "费用类型 1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  10827. "type": "integer"
  10828. },
  10829. "fee": {
  10830. "description": "欠费金额",
  10831. "type": "integer"
  10832. }
  10833. }
  10834. },
  10835. "v1.BatchUrgeItem": {
  10836. "type": "object",
  10837. "properties": {
  10838. "list": {
  10839. "description": "费用",
  10840. "type": "array",
  10841. "items": {
  10842. "$ref": "#/definitions/v1.BatchUrgeFeeItem"
  10843. }
  10844. },
  10845. "obj_name": {
  10846. "description": "房号/车位号",
  10847. "type": "string"
  10848. }
  10849. }
  10850. },
  10851. "v1.BatchUrgeResponse": {
  10852. "type": "object",
  10853. "properties": {
  10854. "code": {
  10855. "description": "返回码",
  10856. "type": "integer",
  10857. "format": "int",
  10858. "default": 0
  10859. },
  10860. "data": {
  10861. "type": "object",
  10862. "$ref": "#/definitions/v1.BatchUrgeData"
  10863. },
  10864. "message": {
  10865. "description": "消息",
  10866. "type": "string",
  10867. "default": "success"
  10868. }
  10869. }
  10870. },
  10871. "v1.BuildingAddBody": {
  10872. "type": "object",
  10873. "properties": {
  10874. "building_area": {
  10875. "description": "楼栋建筑面积",
  10876. "type": "number"
  10877. },
  10878. "building_name": {
  10879. "description": "楼栋名",
  10880. "type": "string"
  10881. },
  10882. "building_number": {
  10883. "description": "楼栋编号",
  10884. "type": "string"
  10885. },
  10886. "building_used_area": {
  10887. "description": "楼栋使用面积",
  10888. "type": "number"
  10889. },
  10890. "comment": {
  10891. "description": "备注",
  10892. "type": "string"
  10893. }
  10894. }
  10895. },
  10896. "v1.BuildingAddManagerBody": {
  10897. "type": "object",
  10898. "properties": {
  10899. "building_id": {
  10900. "type": "integer"
  10901. },
  10902. "manager_uid": {
  10903. "type": "integer"
  10904. }
  10905. }
  10906. },
  10907. "v1.BuildingAddManagerReply": {
  10908. "type": "object",
  10909. "properties": {
  10910. "id": {
  10911. "type": "integer"
  10912. }
  10913. }
  10914. },
  10915. "v1.BuildingAddManagerResponse": {
  10916. "type": "object",
  10917. "properties": {
  10918. "code": {
  10919. "description": "返回码",
  10920. "type": "integer",
  10921. "format": "int",
  10922. "default": 0
  10923. },
  10924. "data": {
  10925. "type": "object",
  10926. "$ref": "#/definitions/v1.BuildingAddManagerReply"
  10927. },
  10928. "message": {
  10929. "description": "消息",
  10930. "type": "string",
  10931. "default": "success"
  10932. }
  10933. }
  10934. },
  10935. "v1.BuildingAddReply": {
  10936. "type": "object",
  10937. "properties": {
  10938. "id": {
  10939. "type": "integer"
  10940. }
  10941. }
  10942. },
  10943. "v1.BuildingAddResponse": {
  10944. "type": "object",
  10945. "properties": {
  10946. "code": {
  10947. "description": "返回码",
  10948. "type": "integer",
  10949. "format": "int",
  10950. "default": 0
  10951. },
  10952. "data": {
  10953. "type": "object",
  10954. "$ref": "#/definitions/v1.BuildingAddReply"
  10955. },
  10956. "message": {
  10957. "description": "消息",
  10958. "type": "string",
  10959. "default": "success"
  10960. }
  10961. }
  10962. },
  10963. "v1.BuildingDelManagerResponse": {
  10964. "type": "object",
  10965. "properties": {
  10966. "code": {
  10967. "description": "返回码",
  10968. "type": "integer",
  10969. "format": "int",
  10970. "default": 0
  10971. },
  10972. "message": {
  10973. "description": "消息",
  10974. "type": "string",
  10975. "default": "success"
  10976. }
  10977. }
  10978. },
  10979. "v1.BuildingDelResponse": {
  10980. "type": "object",
  10981. "properties": {
  10982. "code": {
  10983. "description": "返回码",
  10984. "type": "integer",
  10985. "format": "int",
  10986. "default": 0
  10987. },
  10988. "message": {
  10989. "description": "消息",
  10990. "type": "string",
  10991. "default": "success"
  10992. }
  10993. }
  10994. },
  10995. "v1.BuildingItem": {
  10996. "type": "object",
  10997. "properties": {
  10998. "building_area": {
  10999. "description": "楼栋建筑面积",
  11000. "type": "number"
  11001. },
  11002. "building_name": {
  11003. "description": "楼栋名",
  11004. "type": "string"
  11005. },
  11006. "building_number": {
  11007. "description": "楼栋编号",
  11008. "type": "string"
  11009. },
  11010. "building_used_area": {
  11011. "description": "楼栋使用面积",
  11012. "type": "number"
  11013. },
  11014. "comment": {
  11015. "description": "备注",
  11016. "type": "string"
  11017. },
  11018. "id": {
  11019. "description": "id",
  11020. "type": "integer"
  11021. },
  11022. "unit_count": {
  11023. "type": "integer"
  11024. }
  11025. }
  11026. },
  11027. "v1.BuildingListReply": {
  11028. "type": "object",
  11029. "properties": {
  11030. "list": {
  11031. "type": "array",
  11032. "items": {
  11033. "$ref": "#/definitions/v1.BuildingItem"
  11034. }
  11035. },
  11036. "page": {
  11037. "type": "integer"
  11038. },
  11039. "total": {
  11040. "type": "integer"
  11041. }
  11042. }
  11043. },
  11044. "v1.BuildingListResponse": {
  11045. "type": "object",
  11046. "properties": {
  11047. "code": {
  11048. "description": "返回码",
  11049. "type": "integer",
  11050. "format": "int",
  11051. "default": 0
  11052. },
  11053. "data": {
  11054. "type": "object",
  11055. "$ref": "#/definitions/v1.BuildingListReply"
  11056. },
  11057. "message": {
  11058. "description": "消息",
  11059. "type": "string",
  11060. "default": "success"
  11061. }
  11062. }
  11063. },
  11064. "v1.BuildingManagerItem": {
  11065. "type": "object",
  11066. "properties": {
  11067. "id": {
  11068. "type": "integer"
  11069. },
  11070. "manager_uid": {
  11071. "type": "integer"
  11072. },
  11073. "name": {
  11074. "description": "姓名",
  11075. "type": "string"
  11076. },
  11077. "openim_id": {
  11078. "type": "string"
  11079. },
  11080. "phone": {
  11081. "type": "string"
  11082. },
  11083. "user_name": {
  11084. "description": "账号",
  11085. "type": "string"
  11086. }
  11087. }
  11088. },
  11089. "v1.BuildingManagerListReply": {
  11090. "type": "object",
  11091. "properties": {
  11092. "list": {
  11093. "type": "array",
  11094. "items": {
  11095. "$ref": "#/definitions/v1.BuildingManagerItem"
  11096. }
  11097. }
  11098. }
  11099. },
  11100. "v1.BuildingManagerListResponse": {
  11101. "type": "object",
  11102. "properties": {
  11103. "code": {
  11104. "description": "返回码",
  11105. "type": "integer",
  11106. "format": "int",
  11107. "default": 0
  11108. },
  11109. "data": {
  11110. "type": "object",
  11111. "$ref": "#/definitions/v1.BuildingManagerListReply"
  11112. },
  11113. "message": {
  11114. "description": "消息",
  11115. "type": "string",
  11116. "default": "success"
  11117. }
  11118. }
  11119. },
  11120. "v1.BuildingUpdateBody": {
  11121. "type": "object",
  11122. "properties": {
  11123. "building_area": {
  11124. "description": "楼栋建筑面积",
  11125. "type": "number"
  11126. },
  11127. "building_name": {
  11128. "description": "楼栋名",
  11129. "type": "string"
  11130. },
  11131. "building_number": {
  11132. "description": "楼栋编号",
  11133. "type": "string"
  11134. },
  11135. "building_used_area": {
  11136. "description": "楼栋使用面积",
  11137. "type": "number"
  11138. },
  11139. "comment": {
  11140. "description": "备注",
  11141. "type": "string"
  11142. },
  11143. "id": {
  11144. "type": "integer"
  11145. }
  11146. }
  11147. },
  11148. "v1.BuildingUpdateResponse": {
  11149. "type": "object",
  11150. "properties": {
  11151. "code": {
  11152. "description": "返回码",
  11153. "type": "integer",
  11154. "format": "int",
  11155. "default": 0
  11156. },
  11157. "message": {
  11158. "description": "消息",
  11159. "type": "string",
  11160. "default": "success"
  11161. }
  11162. }
  11163. },
  11164. "v1.ChangePasswordBody": {
  11165. "type": "object",
  11166. "properties": {
  11167. "new_password": {
  11168. "type": "string"
  11169. },
  11170. "old_password": {
  11171. "type": "string"
  11172. }
  11173. }
  11174. },
  11175. "v1.ChangePasswordResponse": {
  11176. "type": "object",
  11177. "properties": {
  11178. "code": {
  11179. "description": "返回码",
  11180. "type": "integer",
  11181. "format": "int",
  11182. "default": 0
  11183. },
  11184. "message": {
  11185. "description": "消息",
  11186. "type": "string",
  11187. "default": "success"
  11188. }
  11189. }
  11190. },
  11191. "v1.ChargeBillItem": {
  11192. "type": "object",
  11193. "properties": {
  11194. "amount": {
  11195. "type": "integer"
  11196. },
  11197. "bill_id": {
  11198. "type": "integer"
  11199. },
  11200. "charge_desc": {
  11201. "type": "string"
  11202. },
  11203. "charge_name": {
  11204. "type": "string"
  11205. },
  11206. "charge_type": {
  11207. "type": "integer"
  11208. },
  11209. "current_used": {
  11210. "type": "number"
  11211. },
  11212. "end": {
  11213. "type": "string"
  11214. },
  11215. "last_used": {
  11216. "type": "number"
  11217. },
  11218. "late_fee": {
  11219. "type": "integer"
  11220. },
  11221. "obj_id": {
  11222. "type": "integer"
  11223. },
  11224. "obj_name": {
  11225. "type": "string"
  11226. },
  11227. "obj_type": {
  11228. "type": "integer"
  11229. },
  11230. "start": {
  11231. "type": "string"
  11232. }
  11233. }
  11234. },
  11235. "v1.ChargeBillListReply": {
  11236. "type": "object",
  11237. "properties": {
  11238. "charge_name": {
  11239. "type": "string"
  11240. },
  11241. "charge_type": {
  11242. "type": "integer"
  11243. },
  11244. "list": {
  11245. "type": "array",
  11246. "items": {
  11247. "$ref": "#/definitions/v1.ChargeBillItem"
  11248. }
  11249. },
  11250. "page": {
  11251. "type": "integer"
  11252. },
  11253. "should_pay_amount": {
  11254. "type": "integer"
  11255. },
  11256. "total": {
  11257. "type": "integer"
  11258. }
  11259. }
  11260. },
  11261. "v1.ChargeBillListResponse": {
  11262. "type": "object",
  11263. "properties": {
  11264. "code": {
  11265. "description": "返回码",
  11266. "type": "integer",
  11267. "format": "int",
  11268. "default": 0
  11269. },
  11270. "data": {
  11271. "type": "object",
  11272. "$ref": "#/definitions/v1.ChargeBillListReply"
  11273. },
  11274. "message": {
  11275. "description": "消息",
  11276. "type": "string",
  11277. "default": "success"
  11278. }
  11279. }
  11280. },
  11281. "v1.ChargeBillObjItem": {
  11282. "type": "object",
  11283. "properties": {
  11284. "bill_count": {
  11285. "type": "integer"
  11286. },
  11287. "obj_id": {
  11288. "type": "integer"
  11289. },
  11290. "obj_name": {
  11291. "type": "string"
  11292. },
  11293. "obj_type": {
  11294. "type": "integer"
  11295. },
  11296. "should_pay_amount": {
  11297. "type": "integer"
  11298. }
  11299. }
  11300. },
  11301. "v1.ChargeBillObjListReply": {
  11302. "type": "object",
  11303. "properties": {
  11304. "list": {
  11305. "type": "array",
  11306. "items": {
  11307. "$ref": "#/definitions/v1.ChargeBillObjItem"
  11308. }
  11309. },
  11310. "page": {
  11311. "type": "integer"
  11312. },
  11313. "total": {
  11314. "type": "integer"
  11315. }
  11316. }
  11317. },
  11318. "v1.ChargeBillObjListResponse": {
  11319. "type": "object",
  11320. "properties": {
  11321. "code": {
  11322. "description": "返回码",
  11323. "type": "integer",
  11324. "format": "int",
  11325. "default": 0
  11326. },
  11327. "data": {
  11328. "type": "object",
  11329. "$ref": "#/definitions/v1.ChargeBillObjListReply"
  11330. },
  11331. "message": {
  11332. "description": "消息",
  11333. "type": "string",
  11334. "default": "success"
  11335. }
  11336. }
  11337. },
  11338. "v1.ChargeBillPayBody": {
  11339. "type": "object",
  11340. "properties": {
  11341. "bind_ids": {
  11342. "description": "BillIds []int64 `form:\"bill_ids\" json:\"bill_ids\"`\n绑定关系id列表",
  11343. "type": "array",
  11344. "items": {
  11345. "type": "integer"
  11346. }
  11347. },
  11348. "comment": {
  11349. "description": "备注",
  11350. "type": "string"
  11351. },
  11352. "pay_amount": {
  11353. "description": "实缴",
  11354. "type": "integer"
  11355. },
  11356. "pay_type": {
  11357. "description": "1 现金 2 微信 3 支付宝 4 pos 5 转账",
  11358. "type": "integer"
  11359. },
  11360. "should_pay_amount": {
  11361. "description": "应缴",
  11362. "type": "integer"
  11363. }
  11364. }
  11365. },
  11366. "v1.ChargeBillPayReply": {
  11367. "type": "object",
  11368. "properties": {
  11369. "order_id": {
  11370. "type": "string"
  11371. }
  11372. }
  11373. },
  11374. "v1.ChargeBillPayResponse": {
  11375. "type": "object",
  11376. "properties": {
  11377. "code": {
  11378. "description": "返回码",
  11379. "type": "integer",
  11380. "format": "int",
  11381. "default": 0
  11382. },
  11383. "data": {
  11384. "type": "object",
  11385. "$ref": "#/definitions/v1.ChargeBillPayReply"
  11386. },
  11387. "message": {
  11388. "description": "消息",
  11389. "type": "string",
  11390. "default": "success"
  11391. }
  11392. }
  11393. },
  11394. "v1.ChargeBindBody": {
  11395. "type": "object",
  11396. "properties": {
  11397. "charge_id": {
  11398. "type": "integer"
  11399. },
  11400. "custom_fee": {
  11401. "type": "integer"
  11402. },
  11403. "end": {
  11404. "description": "只有车辆费用有,结束时间",
  11405. "type": "integer"
  11406. },
  11407. "obj_ids": {
  11408. "description": "绑定对象的id",
  11409. "type": "array",
  11410. "items": {
  11411. "type": "integer"
  11412. }
  11413. },
  11414. "start": {
  11415. "description": "开始时间",
  11416. "type": "integer"
  11417. }
  11418. }
  11419. },
  11420. "v1.ChargeBindResponse": {
  11421. "type": "object",
  11422. "properties": {
  11423. "code": {
  11424. "description": "返回码",
  11425. "type": "integer",
  11426. "format": "int",
  11427. "default": 0
  11428. },
  11429. "message": {
  11430. "description": "消息",
  11431. "type": "string",
  11432. "default": "success"
  11433. }
  11434. }
  11435. },
  11436. "v1.ChargeConfAddBody": {
  11437. "type": "object",
  11438. "properties": {
  11439. "bill_period": {
  11440. "description": "账单生成周期 1 按月 2 按季度 3 半年 4 年",
  11441. "type": "integer"
  11442. },
  11443. "bill_period_type": {
  11444. "description": "账单周期计算方式 1自然周期 2 费用生效时间",
  11445. "type": "integer"
  11446. },
  11447. "charge_basis": {
  11448. "description": "1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义",
  11449. "type": "integer"
  11450. },
  11451. "charge_effective_time": {
  11452. "description": "费用生效时间",
  11453. "type": "integer"
  11454. },
  11455. "charge_name": {
  11456. "description": "费用名称",
  11457. "type": "string"
  11458. },
  11459. "charge_time_type": {
  11460. "description": "缴费时间类型 1 周期性缴 2 一次性",
  11461. "type": "integer"
  11462. },
  11463. "charge_type": {
  11464. "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  11465. "type": "integer"
  11466. },
  11467. "fix_amount": {
  11468. "description": "固定费用",
  11469. "type": "integer"
  11470. },
  11471. "fix_amount_name": {
  11472. "description": "固定费用别名",
  11473. "type": "string"
  11474. },
  11475. "lateFeePercent": {
  11476. "description": "滞纳金比例 1代表万分之1",
  11477. "type": "integer"
  11478. },
  11479. "late_fee_day": {
  11480. "description": "账单生成后xx天开始算滞纳金",
  11481. "type": "integer"
  11482. },
  11483. "late_fee_enable": {
  11484. "description": "滞纳金开启关闭",
  11485. "type": "boolean"
  11486. },
  11487. "late_fee_max_days": {
  11488. "description": "滞纳金封顶天数",
  11489. "type": "integer"
  11490. },
  11491. "unit_price": {
  11492. "description": "单价",
  11493. "type": "integer"
  11494. }
  11495. }
  11496. },
  11497. "v1.ChargeConfAddReply": {
  11498. "type": "object",
  11499. "properties": {
  11500. "id": {
  11501. "type": "integer"
  11502. }
  11503. }
  11504. },
  11505. "v1.ChargeConfAddResponse": {
  11506. "type": "object",
  11507. "properties": {
  11508. "code": {
  11509. "description": "返回码",
  11510. "type": "integer",
  11511. "format": "int",
  11512. "default": 0
  11513. },
  11514. "data": {
  11515. "type": "object",
  11516. "$ref": "#/definitions/v1.ChargeConfAddReply"
  11517. },
  11518. "message": {
  11519. "description": "消息",
  11520. "type": "string",
  11521. "default": "success"
  11522. }
  11523. }
  11524. },
  11525. "v1.ChargeConfDelResponse": {
  11526. "type": "object",
  11527. "properties": {
  11528. "code": {
  11529. "description": "返回码",
  11530. "type": "integer",
  11531. "format": "int",
  11532. "default": 0
  11533. },
  11534. "message": {
  11535. "description": "消息",
  11536. "type": "string",
  11537. "default": "success"
  11538. }
  11539. }
  11540. },
  11541. "v1.ChargeConfItem": {
  11542. "type": "object",
  11543. "properties": {
  11544. "bill_period": {
  11545. "description": "账单生成周期 1 按月 2 按季度 3 半年 4 年",
  11546. "type": "integer"
  11547. },
  11548. "bill_period_type": {
  11549. "description": "账单周期计算方式 1自然周期 2 费用生效时间",
  11550. "type": "integer"
  11551. },
  11552. "charge_basis": {
  11553. "description": "1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义",
  11554. "type": "integer"
  11555. },
  11556. "charge_effective_time": {
  11557. "description": "费用生效时间",
  11558. "type": "integer"
  11559. },
  11560. "charge_name": {
  11561. "description": "费用名称",
  11562. "type": "string"
  11563. },
  11564. "charge_time_type": {
  11565. "description": "缴费时间类型 1 周期性缴 2 一次性",
  11566. "type": "integer"
  11567. },
  11568. "charge_type": {
  11569. "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  11570. "type": "integer"
  11571. },
  11572. "fix_amount": {
  11573. "description": "固定费用",
  11574. "type": "integer"
  11575. },
  11576. "fix_amount_name": {
  11577. "description": "固定费用别名",
  11578. "type": "string"
  11579. },
  11580. "garden_id": {
  11581. "type": "integer"
  11582. },
  11583. "id": {
  11584. "type": "integer"
  11585. },
  11586. "late_fee_day": {
  11587. "description": "账单生成后xx天开始算滞纳金",
  11588. "type": "integer"
  11589. },
  11590. "late_fee_enable": {
  11591. "description": "滞纳金开启关闭",
  11592. "type": "boolean"
  11593. },
  11594. "late_fee_max_days": {
  11595. "description": "滞纳金封顶天数",
  11596. "type": "integer"
  11597. },
  11598. "late_fee_percent": {
  11599. "description": "滞纳金比例 1代表万分之1",
  11600. "type": "integer"
  11601. },
  11602. "unit_price": {
  11603. "description": "单价",
  11604. "type": "integer"
  11605. }
  11606. }
  11607. },
  11608. "v1.ChargeConfListReply": {
  11609. "type": "object",
  11610. "properties": {
  11611. "list": {
  11612. "type": "array",
  11613. "items": {
  11614. "$ref": "#/definitions/v1.ChargeConfItem"
  11615. }
  11616. },
  11617. "page": {
  11618. "type": "integer"
  11619. },
  11620. "total": {
  11621. "type": "integer"
  11622. }
  11623. }
  11624. },
  11625. "v1.ChargeConfListResponse": {
  11626. "type": "object",
  11627. "properties": {
  11628. "code": {
  11629. "description": "返回码",
  11630. "type": "integer",
  11631. "format": "int",
  11632. "default": 0
  11633. },
  11634. "data": {
  11635. "type": "object",
  11636. "$ref": "#/definitions/v1.ChargeConfListReply"
  11637. },
  11638. "message": {
  11639. "description": "消息",
  11640. "type": "string",
  11641. "default": "success"
  11642. }
  11643. }
  11644. },
  11645. "v1.ChargeConfUpdateBody": {
  11646. "type": "object",
  11647. "properties": {
  11648. "bill_period": {
  11649. "description": "账单生成周期 1 按月 2 按季度 3 半年 4 年",
  11650. "type": "integer"
  11651. },
  11652. "bill_period_type": {
  11653. "description": "账单周期计算方式 1自然周期 2 费用生效时间",
  11654. "type": "integer"
  11655. },
  11656. "charge_basis": {
  11657. "description": "1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义",
  11658. "type": "integer"
  11659. },
  11660. "charge_effective_time": {
  11661. "description": "费用生效时间",
  11662. "type": "integer"
  11663. },
  11664. "charge_name": {
  11665. "description": "费用名称",
  11666. "type": "string"
  11667. },
  11668. "charge_time_type": {
  11669. "description": "缴费时间类型 1 周期性缴 2 一次性",
  11670. "type": "integer"
  11671. },
  11672. "charge_type": {
  11673. "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  11674. "type": "integer"
  11675. },
  11676. "fix_amount": {
  11677. "description": "固定费用",
  11678. "type": "integer"
  11679. },
  11680. "fix_amount_name": {
  11681. "description": "固定费用别名",
  11682. "type": "string"
  11683. },
  11684. "id": {
  11685. "type": "integer"
  11686. },
  11687. "lateFeePercent": {
  11688. "description": "滞纳金比例 1代表万分之1",
  11689. "type": "integer"
  11690. },
  11691. "late_fee_day": {
  11692. "description": "账单生成后xx天开始算滞纳金",
  11693. "type": "integer"
  11694. },
  11695. "late_fee_enable": {
  11696. "description": "滞纳金开启关闭",
  11697. "type": "boolean"
  11698. },
  11699. "late_fee_max_days": {
  11700. "description": "滞纳金封顶天数",
  11701. "type": "integer"
  11702. },
  11703. "unit_price": {
  11704. "description": "单价",
  11705. "type": "integer"
  11706. }
  11707. }
  11708. },
  11709. "v1.ChargeConfUpdateResponse": {
  11710. "type": "object",
  11711. "properties": {
  11712. "code": {
  11713. "description": "返回码",
  11714. "type": "integer",
  11715. "format": "int",
  11716. "default": 0
  11717. },
  11718. "message": {
  11719. "description": "消息",
  11720. "type": "string",
  11721. "default": "success"
  11722. }
  11723. }
  11724. },
  11725. "v1.ChargeDelBillBody": {
  11726. "type": "object",
  11727. "properties": {
  11728. "bill_id": {
  11729. "type": "integer"
  11730. },
  11731. "del_reason": {
  11732. "type": "string"
  11733. }
  11734. }
  11735. },
  11736. "v1.ChargeDelBillItem": {
  11737. "type": "object",
  11738. "properties": {
  11739. "amount": {
  11740. "type": "integer"
  11741. },
  11742. "bill_id": {
  11743. "type": "integer"
  11744. },
  11745. "charge_desc": {
  11746. "type": "string"
  11747. },
  11748. "charge_name": {
  11749. "type": "string"
  11750. },
  11751. "charge_type": {
  11752. "type": "integer"
  11753. },
  11754. "current_used": {
  11755. "type": "number"
  11756. },
  11757. "del_at": {
  11758. "type": "string"
  11759. },
  11760. "del_reason": {
  11761. "type": "string"
  11762. },
  11763. "end": {
  11764. "type": "string"
  11765. },
  11766. "household_name": {
  11767. "type": "string"
  11768. },
  11769. "household_phone": {
  11770. "type": "string"
  11771. },
  11772. "last_used": {
  11773. "type": "number"
  11774. },
  11775. "late_fee": {
  11776. "type": "integer"
  11777. },
  11778. "obj_name": {
  11779. "type": "string"
  11780. },
  11781. "obj_type": {
  11782. "type": "integer"
  11783. },
  11784. "pay_time": {
  11785. "type": "string"
  11786. },
  11787. "pay_type": {
  11788. "type": "integer"
  11789. },
  11790. "start": {
  11791. "type": "string"
  11792. }
  11793. }
  11794. },
  11795. "v1.ChargeDelBillListReply": {
  11796. "type": "object",
  11797. "properties": {
  11798. "list": {
  11799. "type": "array",
  11800. "items": {
  11801. "$ref": "#/definitions/v1.ChargeDelBillItem"
  11802. }
  11803. },
  11804. "page": {
  11805. "type": "integer"
  11806. },
  11807. "total": {
  11808. "type": "integer"
  11809. }
  11810. }
  11811. },
  11812. "v1.ChargeDelBillListResponse": {
  11813. "type": "object",
  11814. "properties": {
  11815. "code": {
  11816. "description": "返回码",
  11817. "type": "integer",
  11818. "format": "int",
  11819. "default": 0
  11820. },
  11821. "data": {
  11822. "type": "object",
  11823. "$ref": "#/definitions/v1.ChargeDelBillListReply"
  11824. },
  11825. "message": {
  11826. "description": "消息",
  11827. "type": "string",
  11828. "default": "success"
  11829. }
  11830. }
  11831. },
  11832. "v1.ChargeDelBillResponse": {
  11833. "type": "object",
  11834. "properties": {
  11835. "code": {
  11836. "description": "返回码",
  11837. "type": "integer",
  11838. "format": "int",
  11839. "default": 0
  11840. },
  11841. "message": {
  11842. "description": "消息",
  11843. "type": "string",
  11844. "default": "success"
  11845. }
  11846. }
  11847. },
  11848. "v1.ChargeGenerateBillBody": {
  11849. "type": "object",
  11850. "properties": {
  11851. "bind_id": {
  11852. "type": "integer"
  11853. },
  11854. "end": {
  11855. "type": "integer"
  11856. }
  11857. }
  11858. },
  11859. "v1.ChargeGenerateBillResponse": {
  11860. "type": "object",
  11861. "properties": {
  11862. "code": {
  11863. "description": "返回码",
  11864. "type": "integer",
  11865. "format": "int",
  11866. "default": 0
  11867. },
  11868. "message": {
  11869. "description": "消息",
  11870. "type": "string",
  11871. "default": "success"
  11872. }
  11873. }
  11874. },
  11875. "v1.ChargeHouseBindedListReply": {
  11876. "type": "object",
  11877. "properties": {
  11878. "list": {
  11879. "type": "array",
  11880. "items": {
  11881. "$ref": "#/definitions/v1.ChargeHouseData"
  11882. }
  11883. },
  11884. "page": {
  11885. "type": "integer"
  11886. },
  11887. "total": {
  11888. "type": "integer"
  11889. }
  11890. }
  11891. },
  11892. "v1.ChargeHouseBindedListResponse": {
  11893. "type": "object",
  11894. "properties": {
  11895. "code": {
  11896. "description": "返回码",
  11897. "type": "integer",
  11898. "format": "int",
  11899. "default": 0
  11900. },
  11901. "data": {
  11902. "type": "object",
  11903. "$ref": "#/definitions/v1.ChargeHouseBindedListReply"
  11904. },
  11905. "message": {
  11906. "description": "消息",
  11907. "type": "string",
  11908. "default": "success"
  11909. }
  11910. }
  11911. },
  11912. "v1.ChargeHouseData": {
  11913. "type": "object",
  11914. "properties": {
  11915. "house_area": {
  11916. "type": "number"
  11917. },
  11918. "house_id": {
  11919. "type": "integer"
  11920. },
  11921. "house_name": {
  11922. "description": "房屋号",
  11923. "type": "string"
  11924. },
  11925. "house_number": {
  11926. "description": "门牌号",
  11927. "type": "string"
  11928. },
  11929. "house_status": {
  11930. "type": "integer"
  11931. },
  11932. "house_type": {
  11933. "type": "integer"
  11934. },
  11935. "house_used_area": {
  11936. "type": "number"
  11937. },
  11938. "layer": {
  11939. "type": "integer"
  11940. },
  11941. "start": {
  11942. "type": "integer"
  11943. }
  11944. }
  11945. },
  11946. "v1.ChargeHouseGroupItem": {
  11947. "type": "object",
  11948. "properties": {
  11949. "has_unpay_bill": {
  11950. "description": "是否有欠费账单",
  11951. "type": "boolean"
  11952. },
  11953. "house_area": {
  11954. "type": "number"
  11955. },
  11956. "house_id": {
  11957. "type": "integer"
  11958. },
  11959. "house_name": {
  11960. "type": "string"
  11961. },
  11962. "house_property_bind_id": {
  11963. "description": "房屋与物业费的绑定id",
  11964. "type": "integer"
  11965. },
  11966. "house_status": {
  11967. "type": "integer"
  11968. },
  11969. "house_type": {
  11970. "type": "integer"
  11971. },
  11972. "house_used_area": {
  11973. "type": "number"
  11974. },
  11975. "layer": {
  11976. "type": "integer"
  11977. }
  11978. }
  11979. },
  11980. "v1.ChargeHouseGroupReply": {
  11981. "type": "object",
  11982. "properties": {
  11983. "list": {
  11984. "type": "array",
  11985. "items": {
  11986. "$ref": "#/definitions/v1.ChargeHouseGroupItem"
  11987. }
  11988. },
  11989. "page": {
  11990. "type": "integer"
  11991. },
  11992. "total": {
  11993. "type": "integer"
  11994. }
  11995. }
  11996. },
  11997. "v1.ChargeHouseGroupResponse": {
  11998. "type": "object",
  11999. "properties": {
  12000. "code": {
  12001. "description": "返回码",
  12002. "type": "integer",
  12003. "format": "int",
  12004. "default": 0
  12005. },
  12006. "data": {
  12007. "type": "object",
  12008. "$ref": "#/definitions/v1.ChargeHouseGroupReply"
  12009. },
  12010. "message": {
  12011. "description": "消息",
  12012. "type": "string",
  12013. "default": "success"
  12014. }
  12015. }
  12016. },
  12017. "v1.ChargeHouseNotBindListReply": {
  12018. "type": "object",
  12019. "properties": {
  12020. "list": {
  12021. "type": "array",
  12022. "items": {
  12023. "$ref": "#/definitions/v1.ChargeHouseData"
  12024. }
  12025. },
  12026. "page": {
  12027. "type": "integer"
  12028. },
  12029. "total": {
  12030. "type": "integer"
  12031. }
  12032. }
  12033. },
  12034. "v1.ChargeHouseNotBindListResponse": {
  12035. "type": "object",
  12036. "properties": {
  12037. "code": {
  12038. "description": "返回码",
  12039. "type": "integer",
  12040. "format": "int",
  12041. "default": 0
  12042. },
  12043. "data": {
  12044. "type": "object",
  12045. "$ref": "#/definitions/v1.ChargeHouseNotBindListReply"
  12046. },
  12047. "message": {
  12048. "description": "消息",
  12049. "type": "string",
  12050. "default": "success"
  12051. }
  12052. }
  12053. },
  12054. "v1.ChargeItem": {
  12055. "type": "object",
  12056. "properties": {
  12057. "bind_id": {
  12058. "type": "integer"
  12059. },
  12060. "charge_name": {
  12061. "type": "string"
  12062. },
  12063. "charge_time_type": {
  12064. "type": "integer"
  12065. },
  12066. "charge_type": {
  12067. "type": "integer"
  12068. },
  12069. "created_at": {
  12070. "type": "string"
  12071. },
  12072. "desc": {
  12073. "type": "string"
  12074. },
  12075. "end": {
  12076. "type": "string"
  12077. },
  12078. "has_bill": {
  12079. "type": "boolean"
  12080. },
  12081. "start": {
  12082. "type": "string"
  12083. },
  12084. "status": {
  12085. "type": "string"
  12086. }
  12087. }
  12088. },
  12089. "v1.ChargeListReply": {
  12090. "type": "object",
  12091. "properties": {
  12092. "list": {
  12093. "type": "array",
  12094. "items": {
  12095. "$ref": "#/definitions/v1.ChargeItem"
  12096. }
  12097. },
  12098. "page": {
  12099. "type": "integer"
  12100. },
  12101. "total": {
  12102. "type": "integer"
  12103. }
  12104. }
  12105. },
  12106. "v1.ChargeListResponse": {
  12107. "type": "object",
  12108. "properties": {
  12109. "code": {
  12110. "description": "返回码",
  12111. "type": "integer",
  12112. "format": "int",
  12113. "default": 0
  12114. },
  12115. "data": {
  12116. "type": "object",
  12117. "$ref": "#/definitions/v1.ChargeListReply"
  12118. },
  12119. "message": {
  12120. "description": "消息",
  12121. "type": "string",
  12122. "default": "success"
  12123. }
  12124. }
  12125. },
  12126. "v1.ChargeObjBillListReply": {
  12127. "type": "object",
  12128. "properties": {
  12129. "list": {
  12130. "type": "array",
  12131. "items": {
  12132. "$ref": "#/definitions/v1.ChargeBillItem"
  12133. }
  12134. },
  12135. "page": {
  12136. "type": "integer"
  12137. },
  12138. "total": {
  12139. "type": "integer"
  12140. }
  12141. }
  12142. },
  12143. "v1.ChargeObjBillListResponse": {
  12144. "type": "object",
  12145. "properties": {
  12146. "code": {
  12147. "description": "返回码",
  12148. "type": "integer",
  12149. "format": "int",
  12150. "default": 0
  12151. },
  12152. "data": {
  12153. "type": "object",
  12154. "$ref": "#/definitions/v1.ChargeObjBillListReply"
  12155. },
  12156. "message": {
  12157. "description": "消息",
  12158. "type": "string",
  12159. "default": "success"
  12160. }
  12161. }
  12162. },
  12163. "v1.ChargeOrderBillItem": {
  12164. "type": "object",
  12165. "properties": {
  12166. "amount": {
  12167. "type": "integer"
  12168. },
  12169. "bill_id": {
  12170. "type": "integer"
  12171. },
  12172. "charge_desc": {
  12173. "type": "string"
  12174. },
  12175. "charge_name": {
  12176. "type": "string"
  12177. },
  12178. "charge_type": {
  12179. "type": "integer"
  12180. },
  12181. "current_used": {
  12182. "type": "number"
  12183. },
  12184. "end": {
  12185. "type": "string"
  12186. },
  12187. "last_used": {
  12188. "type": "number"
  12189. },
  12190. "late_fee": {
  12191. "type": "integer"
  12192. },
  12193. "obj_name": {
  12194. "type": "string"
  12195. },
  12196. "start": {
  12197. "type": "string"
  12198. }
  12199. }
  12200. },
  12201. "v1.ChargeOrderInfoReply": {
  12202. "type": "object",
  12203. "properties": {
  12204. "list": {
  12205. "type": "array",
  12206. "items": {
  12207. "$ref": "#/definitions/v1.ChargeOrderBillItem"
  12208. }
  12209. }
  12210. }
  12211. },
  12212. "v1.ChargeOrderInfoResponse": {
  12213. "type": "object",
  12214. "properties": {
  12215. "code": {
  12216. "description": "返回码",
  12217. "type": "integer",
  12218. "format": "int",
  12219. "default": 0
  12220. },
  12221. "data": {
  12222. "type": "object",
  12223. "$ref": "#/definitions/v1.ChargeOrderInfoReply"
  12224. },
  12225. "message": {
  12226. "description": "消息",
  12227. "type": "string",
  12228. "default": "success"
  12229. }
  12230. }
  12231. },
  12232. "v1.ChargeOrderItem": {
  12233. "type": "object",
  12234. "properties": {
  12235. "comment": {
  12236. "type": "string"
  12237. },
  12238. "obj_name": {
  12239. "type": "string"
  12240. },
  12241. "order_id": {
  12242. "type": "string"
  12243. },
  12244. "pay_amount": {
  12245. "type": "integer"
  12246. },
  12247. "pay_time": {
  12248. "type": "string"
  12249. },
  12250. "pay_type": {
  12251. "type": "integer"
  12252. },
  12253. "paying_desc": {
  12254. "type": "string"
  12255. },
  12256. "should_pay_amount": {
  12257. "type": "integer"
  12258. },
  12259. "status": {
  12260. "description": "1 待支付 2 已支付",
  12261. "type": "integer"
  12262. },
  12263. "transaction_id": {
  12264. "type": "string"
  12265. }
  12266. }
  12267. },
  12268. "v1.ChargeOrderListReply": {
  12269. "type": "object",
  12270. "properties": {
  12271. "list": {
  12272. "type": "array",
  12273. "items": {
  12274. "$ref": "#/definitions/v1.ChargeOrderItem"
  12275. }
  12276. },
  12277. "page": {
  12278. "type": "integer"
  12279. },
  12280. "total": {
  12281. "type": "integer"
  12282. }
  12283. }
  12284. },
  12285. "v1.ChargeOrderListResponse": {
  12286. "type": "object",
  12287. "properties": {
  12288. "code": {
  12289. "description": "返回码",
  12290. "type": "integer",
  12291. "format": "int",
  12292. "default": 0
  12293. },
  12294. "data": {
  12295. "type": "object",
  12296. "$ref": "#/definitions/v1.ChargeOrderListReply"
  12297. },
  12298. "message": {
  12299. "description": "消息",
  12300. "type": "string",
  12301. "default": "success"
  12302. }
  12303. }
  12304. },
  12305. "v1.ChargeOrderPayBody": {
  12306. "type": "object",
  12307. "properties": {
  12308. "order_id": {
  12309. "type": "string"
  12310. }
  12311. }
  12312. },
  12313. "v1.ChargeOrderPayResponse": {
  12314. "type": "object",
  12315. "properties": {
  12316. "code": {
  12317. "description": "返回码",
  12318. "type": "integer",
  12319. "format": "int",
  12320. "default": 0
  12321. },
  12322. "message": {
  12323. "description": "消息",
  12324. "type": "string",
  12325. "default": "success"
  12326. }
  12327. }
  12328. },
  12329. "v1.ChargeOrderTicketItem": {
  12330. "type": "object",
  12331. "properties": {
  12332. "amount": {
  12333. "description": "金额 不包含滞纳金",
  12334. "type": "integer"
  12335. },
  12336. "area_used": {
  12337. "description": "面积/用量",
  12338. "type": "number"
  12339. },
  12340. "charge_name": {
  12341. "description": "费用名称",
  12342. "type": "string"
  12343. },
  12344. "charge_type": {
  12345. "description": "费用类型",
  12346. "type": "integer"
  12347. },
  12348. "custom_fee": {
  12349. "description": "自定义费用",
  12350. "type": "integer"
  12351. },
  12352. "end": {
  12353. "type": "string"
  12354. },
  12355. "fix_amount": {
  12356. "description": "固定费用",
  12357. "type": "integer"
  12358. },
  12359. "late_fee": {
  12360. "description": "滞纳金",
  12361. "type": "integer"
  12362. },
  12363. "obj_name": {
  12364. "description": "房屋/车位/车辆",
  12365. "type": "string"
  12366. },
  12367. "obj_type": {
  12368. "description": "1 房屋 2 车位 3 车辆",
  12369. "type": "integer"
  12370. },
  12371. "pay_time": {
  12372. "description": "支付时间",
  12373. "type": "string"
  12374. },
  12375. "start": {
  12376. "description": "收费范围",
  12377. "type": "string"
  12378. },
  12379. "unit_price": {
  12380. "description": "单价",
  12381. "type": "integer"
  12382. }
  12383. }
  12384. },
  12385. "v1.ChargeOrderTicketReply": {
  12386. "type": "object",
  12387. "properties": {
  12388. "comment": {
  12389. "description": "备注",
  12390. "type": "string"
  12391. },
  12392. "list": {
  12393. "description": "账单小票条目",
  12394. "type": "array",
  12395. "items": {
  12396. "$ref": "#/definitions/v1.ChargeOrderTicketItem"
  12397. }
  12398. },
  12399. "should_pay_amount": {
  12400. "description": "应付总金额 包含滞纳金",
  12401. "type": "integer"
  12402. }
  12403. }
  12404. },
  12405. "v1.ChargeOrderTicketResponse": {
  12406. "type": "object",
  12407. "properties": {
  12408. "code": {
  12409. "description": "返回码",
  12410. "type": "integer",
  12411. "format": "int",
  12412. "default": 0
  12413. },
  12414. "data": {
  12415. "type": "object",
  12416. "$ref": "#/definitions/v1.ChargeOrderTicketReply"
  12417. },
  12418. "message": {
  12419. "description": "消息",
  12420. "type": "string",
  12421. "default": "success"
  12422. }
  12423. }
  12424. },
  12425. "v1.ChargePayedBillItem": {
  12426. "type": "object",
  12427. "properties": {
  12428. "amount": {
  12429. "type": "integer"
  12430. },
  12431. "bill_id": {
  12432. "type": "integer"
  12433. },
  12434. "charge_desc": {
  12435. "type": "string"
  12436. },
  12437. "charge_name": {
  12438. "type": "string"
  12439. },
  12440. "charge_type": {
  12441. "type": "integer"
  12442. },
  12443. "current_used": {
  12444. "type": "number"
  12445. },
  12446. "end": {
  12447. "type": "string"
  12448. },
  12449. "last_used": {
  12450. "type": "number"
  12451. },
  12452. "late_fee": {
  12453. "type": "integer"
  12454. },
  12455. "obj_name": {
  12456. "type": "string"
  12457. },
  12458. "obj_type": {
  12459. "type": "integer"
  12460. },
  12461. "pay_time": {
  12462. "type": "string"
  12463. },
  12464. "pay_type": {
  12465. "type": "integer"
  12466. },
  12467. "start": {
  12468. "type": "string"
  12469. }
  12470. }
  12471. },
  12472. "v1.ChargePayedBillListReply": {
  12473. "type": "object",
  12474. "properties": {
  12475. "list": {
  12476. "type": "array",
  12477. "items": {
  12478. "$ref": "#/definitions/v1.ChargePayedBillItem"
  12479. }
  12480. },
  12481. "page": {
  12482. "type": "integer"
  12483. },
  12484. "total": {
  12485. "type": "integer"
  12486. }
  12487. }
  12488. },
  12489. "v1.ChargePayedBillListResponse": {
  12490. "type": "object",
  12491. "properties": {
  12492. "code": {
  12493. "description": "返回码",
  12494. "type": "integer",
  12495. "format": "int",
  12496. "default": 0
  12497. },
  12498. "data": {
  12499. "type": "object",
  12500. "$ref": "#/definitions/v1.ChargePayedBillListReply"
  12501. },
  12502. "message": {
  12503. "description": "消息",
  12504. "type": "string",
  12505. "default": "success"
  12506. }
  12507. }
  12508. },
  12509. "v1.ChargePrePayBody": {
  12510. "type": "object",
  12511. "properties": {
  12512. "bind_id": {
  12513. "type": "integer"
  12514. },
  12515. "comment": {
  12516. "description": "备注",
  12517. "type": "string"
  12518. },
  12519. "months": {
  12520. "type": "integer"
  12521. },
  12522. "pay_amount": {
  12523. "description": "实缴金额",
  12524. "type": "integer"
  12525. },
  12526. "pay_type": {
  12527. "description": "1 现金 2 微信 3 支付宝 4 pos 5 转账",
  12528. "type": "integer"
  12529. },
  12530. "should_pay_amount": {
  12531. "description": "应缴金额",
  12532. "type": "integer"
  12533. }
  12534. }
  12535. },
  12536. "v1.ChargePrePayInfoReply": {
  12537. "type": "object",
  12538. "properties": {
  12539. "charge_desc": {
  12540. "type": "string"
  12541. },
  12542. "charge_name": {
  12543. "type": "string"
  12544. },
  12545. "charge_type": {
  12546. "type": "integer"
  12547. },
  12548. "should_pay_amount": {
  12549. "type": "integer"
  12550. }
  12551. }
  12552. },
  12553. "v1.ChargePrePayInfoResponse": {
  12554. "type": "object",
  12555. "properties": {
  12556. "code": {
  12557. "description": "返回码",
  12558. "type": "integer",
  12559. "format": "int",
  12560. "default": 0
  12561. },
  12562. "data": {
  12563. "type": "object",
  12564. "$ref": "#/definitions/v1.ChargePrePayInfoReply"
  12565. },
  12566. "message": {
  12567. "description": "消息",
  12568. "type": "string",
  12569. "default": "success"
  12570. }
  12571. }
  12572. },
  12573. "v1.ChargePrePayReply": {
  12574. "type": "object",
  12575. "properties": {
  12576. "order_id": {
  12577. "type": "string"
  12578. }
  12579. }
  12580. },
  12581. "v1.ChargePrePayResponse": {
  12582. "type": "object",
  12583. "properties": {
  12584. "code": {
  12585. "description": "返回码",
  12586. "type": "integer",
  12587. "format": "int",
  12588. "default": 0
  12589. },
  12590. "data": {
  12591. "type": "object",
  12592. "$ref": "#/definitions/v1.ChargePrePayReply"
  12593. },
  12594. "message": {
  12595. "description": "消息",
  12596. "type": "string",
  12597. "default": "success"
  12598. }
  12599. }
  12600. },
  12601. "v1.ChargeRecoverBillBody": {
  12602. "type": "object",
  12603. "properties": {
  12604. "bill_id": {
  12605. "type": "integer"
  12606. }
  12607. }
  12608. },
  12609. "v1.ChargeRecoverBillResponse": {
  12610. "type": "object",
  12611. "properties": {
  12612. "code": {
  12613. "description": "返回码",
  12614. "type": "integer",
  12615. "format": "int",
  12616. "default": 0
  12617. },
  12618. "message": {
  12619. "description": "消息",
  12620. "type": "string",
  12621. "default": "success"
  12622. }
  12623. }
  12624. },
  12625. "v1.ChargeSpaceBindedListReply": {
  12626. "type": "object",
  12627. "properties": {
  12628. "list": {
  12629. "type": "array",
  12630. "items": {
  12631. "$ref": "#/definitions/v1.ChargeSpaceData"
  12632. }
  12633. },
  12634. "page": {
  12635. "type": "integer"
  12636. },
  12637. "total": {
  12638. "type": "integer"
  12639. }
  12640. }
  12641. },
  12642. "v1.ChargeSpaceBindedListResponse": {
  12643. "type": "object",
  12644. "properties": {
  12645. "code": {
  12646. "description": "返回码",
  12647. "type": "integer",
  12648. "format": "int",
  12649. "default": 0
  12650. },
  12651. "data": {
  12652. "type": "object",
  12653. "$ref": "#/definitions/v1.ChargeSpaceBindedListReply"
  12654. },
  12655. "message": {
  12656. "description": "消息",
  12657. "type": "string",
  12658. "default": "success"
  12659. }
  12660. }
  12661. },
  12662. "v1.ChargeSpaceData": {
  12663. "type": "object",
  12664. "properties": {
  12665. "park_name": {
  12666. "type": "string"
  12667. },
  12668. "park_number": {
  12669. "type": "string"
  12670. },
  12671. "space_area": {
  12672. "type": "number"
  12673. },
  12674. "space_id": {
  12675. "type": "integer"
  12676. },
  12677. "space_number": {
  12678. "type": "string"
  12679. },
  12680. "space_status": {
  12681. "type": "integer"
  12682. },
  12683. "space_type": {
  12684. "type": "integer"
  12685. },
  12686. "start": {
  12687. "type": "integer"
  12688. }
  12689. }
  12690. },
  12691. "v1.ChargeSpaceGroupItem": {
  12692. "type": "object",
  12693. "properties": {
  12694. "has_unpay_bill": {
  12695. "description": "是否有欠费账单",
  12696. "type": "boolean"
  12697. },
  12698. "park_name": {
  12699. "type": "string"
  12700. },
  12701. "park_number": {
  12702. "type": "string"
  12703. },
  12704. "space_area": {
  12705. "type": "number"
  12706. },
  12707. "space_bind_id": {
  12708. "description": "车位与费用的绑定id",
  12709. "type": "integer"
  12710. },
  12711. "space_id": {
  12712. "type": "integer"
  12713. },
  12714. "space_number": {
  12715. "type": "string"
  12716. },
  12717. "space_status": {
  12718. "type": "integer"
  12719. },
  12720. "space_type": {
  12721. "type": "integer"
  12722. }
  12723. }
  12724. },
  12725. "v1.ChargeSpaceGroupReply": {
  12726. "type": "object",
  12727. "properties": {
  12728. "list": {
  12729. "type": "array",
  12730. "items": {
  12731. "$ref": "#/definitions/v1.ChargeSpaceGroupItem"
  12732. }
  12733. },
  12734. "page": {
  12735. "type": "integer"
  12736. },
  12737. "total": {
  12738. "type": "integer"
  12739. }
  12740. }
  12741. },
  12742. "v1.ChargeSpaceGroupResponse": {
  12743. "type": "object",
  12744. "properties": {
  12745. "code": {
  12746. "description": "返回码",
  12747. "type": "integer",
  12748. "format": "int",
  12749. "default": 0
  12750. },
  12751. "data": {
  12752. "type": "object",
  12753. "$ref": "#/definitions/v1.ChargeSpaceGroupReply"
  12754. },
  12755. "message": {
  12756. "description": "消息",
  12757. "type": "string",
  12758. "default": "success"
  12759. }
  12760. }
  12761. },
  12762. "v1.ChargeSpaceNotBindListReply": {
  12763. "type": "object",
  12764. "properties": {
  12765. "list": {
  12766. "type": "array",
  12767. "items": {
  12768. "$ref": "#/definitions/v1.ChargeSpaceData"
  12769. }
  12770. },
  12771. "page": {
  12772. "type": "integer"
  12773. },
  12774. "total": {
  12775. "type": "integer"
  12776. }
  12777. }
  12778. },
  12779. "v1.ChargeSpaceNotBindListResponse": {
  12780. "type": "object",
  12781. "properties": {
  12782. "code": {
  12783. "description": "返回码",
  12784. "type": "integer",
  12785. "format": "int",
  12786. "default": 0
  12787. },
  12788. "data": {
  12789. "type": "object",
  12790. "$ref": "#/definitions/v1.ChargeSpaceNotBindListReply"
  12791. },
  12792. "message": {
  12793. "description": "消息",
  12794. "type": "string",
  12795. "default": "success"
  12796. }
  12797. }
  12798. },
  12799. "v1.ChargeTimeSetBody": {
  12800. "type": "object",
  12801. "properties": {
  12802. "bind_id": {
  12803. "type": "integer"
  12804. },
  12805. "end": {
  12806. "description": "仅车辆费用可以设结束时间",
  12807. "type": "integer"
  12808. },
  12809. "start": {
  12810. "type": "integer"
  12811. }
  12812. }
  12813. },
  12814. "v1.ChargeTimeSetResponse": {
  12815. "type": "object",
  12816. "properties": {
  12817. "code": {
  12818. "description": "返回码",
  12819. "type": "integer",
  12820. "format": "int",
  12821. "default": 0
  12822. },
  12823. "message": {
  12824. "description": "消息",
  12825. "type": "string",
  12826. "default": "success"
  12827. }
  12828. }
  12829. },
  12830. "v1.ChargeUnbindBody": {
  12831. "type": "object",
  12832. "properties": {
  12833. "charge_id": {
  12834. "type": "integer"
  12835. },
  12836. "obj_id": {
  12837. "type": "integer"
  12838. }
  12839. }
  12840. },
  12841. "v1.ChargeUnbindResponse": {
  12842. "type": "object",
  12843. "properties": {
  12844. "code": {
  12845. "description": "返回码",
  12846. "type": "integer",
  12847. "format": "int",
  12848. "default": 0
  12849. },
  12850. "message": {
  12851. "description": "消息",
  12852. "type": "string",
  12853. "default": "success"
  12854. }
  12855. }
  12856. },
  12857. "v1.ChargeUnpayItem": {
  12858. "type": "object",
  12859. "properties": {
  12860. "bill_count": {
  12861. "type": "integer"
  12862. },
  12863. "bind_id": {
  12864. "type": "integer"
  12865. },
  12866. "charge_name": {
  12867. "type": "string"
  12868. },
  12869. "charge_time_type": {
  12870. "type": "integer"
  12871. },
  12872. "charge_type": {
  12873. "type": "integer"
  12874. },
  12875. "unpay_amount": {
  12876. "type": "integer"
  12877. }
  12878. }
  12879. },
  12880. "v1.ChargeUnpayListReply": {
  12881. "type": "object",
  12882. "properties": {
  12883. "list": {
  12884. "type": "array",
  12885. "items": {
  12886. "$ref": "#/definitions/v1.ChargeUnpayItem"
  12887. }
  12888. },
  12889. "page": {
  12890. "type": "integer"
  12891. },
  12892. "total": {
  12893. "type": "integer"
  12894. }
  12895. }
  12896. },
  12897. "v1.ChargeUnpayListResponse": {
  12898. "type": "object",
  12899. "properties": {
  12900. "code": {
  12901. "description": "返回码",
  12902. "type": "integer",
  12903. "format": "int",
  12904. "default": 0
  12905. },
  12906. "data": {
  12907. "type": "object",
  12908. "$ref": "#/definitions/v1.ChargeUnpayListReply"
  12909. },
  12910. "message": {
  12911. "description": "消息",
  12912. "type": "string",
  12913. "default": "success"
  12914. }
  12915. }
  12916. },
  12917. "v1.ChargeUrgeBody": {
  12918. "type": "object",
  12919. "properties": {
  12920. "obj_id": {
  12921. "type": "integer"
  12922. },
  12923. "obj_type": {
  12924. "type": "integer"
  12925. }
  12926. }
  12927. },
  12928. "v1.ChargeUrgeInfoReply": {
  12929. "type": "object",
  12930. "properties": {
  12931. "id": {
  12932. "type": "integer"
  12933. },
  12934. "urge_day": {
  12935. "type": "integer"
  12936. },
  12937. "urge_msg_type": {
  12938. "type": "integer"
  12939. },
  12940. "urge_target": {
  12941. "type": "integer"
  12942. }
  12943. }
  12944. },
  12945. "v1.ChargeUrgeInfoResponse": {
  12946. "type": "object",
  12947. "properties": {
  12948. "code": {
  12949. "description": "返回码",
  12950. "type": "integer",
  12951. "format": "int",
  12952. "default": 0
  12953. },
  12954. "data": {
  12955. "type": "object",
  12956. "$ref": "#/definitions/v1.ChargeUrgeInfoReply"
  12957. },
  12958. "message": {
  12959. "description": "消息",
  12960. "type": "string",
  12961. "default": "success"
  12962. }
  12963. }
  12964. },
  12965. "v1.ChargeUrgeResponse": {
  12966. "type": "object",
  12967. "properties": {
  12968. "code": {
  12969. "description": "返回码",
  12970. "type": "integer",
  12971. "format": "int",
  12972. "default": 0
  12973. },
  12974. "message": {
  12975. "description": "消息",
  12976. "type": "string",
  12977. "default": "success"
  12978. }
  12979. }
  12980. },
  12981. "v1.ChargeUrgeSetBody": {
  12982. "type": "object",
  12983. "properties": {
  12984. "id": {
  12985. "description": "催缴信息返回的id为0时填0",
  12986. "type": "integer"
  12987. },
  12988. "urge_day": {
  12989. "type": "integer"
  12990. },
  12991. "urge_msg_type": {
  12992. "description": "1 仅短信 2 仅微信 3 短信和微信",
  12993. "type": "integer"
  12994. },
  12995. "urge_target": {
  12996. "description": "1 仅业主 2 业主和家人 3 业主家人租客",
  12997. "type": "integer"
  12998. }
  12999. }
  13000. },
  13001. "v1.ChargeUrgeSetResponse": {
  13002. "type": "object",
  13003. "properties": {
  13004. "code": {
  13005. "description": "返回码",
  13006. "type": "integer",
  13007. "format": "int",
  13008. "default": 0
  13009. },
  13010. "message": {
  13011. "description": "消息",
  13012. "type": "string",
  13013. "default": "success"
  13014. }
  13015. }
  13016. },
  13017. "v1.ChargeVehicleBindedListReply": {
  13018. "type": "object",
  13019. "properties": {
  13020. "list": {
  13021. "type": "array",
  13022. "items": {
  13023. "$ref": "#/definitions/v1.ChargeVehicleData"
  13024. }
  13025. },
  13026. "page": {
  13027. "type": "integer"
  13028. },
  13029. "total": {
  13030. "type": "integer"
  13031. }
  13032. }
  13033. },
  13034. "v1.ChargeVehicleBindedListResponse": {
  13035. "type": "object",
  13036. "properties": {
  13037. "code": {
  13038. "description": "返回码",
  13039. "type": "integer",
  13040. "format": "int",
  13041. "default": 0
  13042. },
  13043. "data": {
  13044. "type": "object",
  13045. "$ref": "#/definitions/v1.ChargeVehicleBindedListReply"
  13046. },
  13047. "message": {
  13048. "description": "消息",
  13049. "type": "string",
  13050. "default": "success"
  13051. }
  13052. }
  13053. },
  13054. "v1.ChargeVehicleData": {
  13055. "type": "object",
  13056. "properties": {
  13057. "brand": {
  13058. "type": "string"
  13059. },
  13060. "custom_fee": {
  13061. "type": "integer"
  13062. },
  13063. "displacement": {
  13064. "type": "string"
  13065. },
  13066. "end": {
  13067. "type": "integer"
  13068. },
  13069. "is_custom": {
  13070. "type": "boolean"
  13071. },
  13072. "plate_no": {
  13073. "type": "string"
  13074. },
  13075. "seat": {
  13076. "type": "integer"
  13077. },
  13078. "start": {
  13079. "type": "integer"
  13080. },
  13081. "vehicle_id": {
  13082. "type": "integer"
  13083. },
  13084. "vehicle_type": {
  13085. "type": "integer"
  13086. }
  13087. }
  13088. },
  13089. "v1.ChargeVehicleGroupItem": {
  13090. "type": "object",
  13091. "properties": {
  13092. "brand": {
  13093. "type": "string"
  13094. },
  13095. "displacement": {
  13096. "type": "string"
  13097. },
  13098. "plate_no": {
  13099. "type": "string"
  13100. },
  13101. "seat": {
  13102. "type": "integer"
  13103. },
  13104. "vehicle_id": {
  13105. "type": "integer"
  13106. },
  13107. "vehicle_type": {
  13108. "type": "integer"
  13109. }
  13110. }
  13111. },
  13112. "v1.ChargeVehicleGroupReply": {
  13113. "type": "object",
  13114. "properties": {
  13115. "list": {
  13116. "type": "array",
  13117. "items": {
  13118. "$ref": "#/definitions/v1.ChargeVehicleGroupItem"
  13119. }
  13120. },
  13121. "page": {
  13122. "type": "integer"
  13123. },
  13124. "total": {
  13125. "type": "integer"
  13126. }
  13127. }
  13128. },
  13129. "v1.ChargeVehicleGroupResponse": {
  13130. "type": "object",
  13131. "properties": {
  13132. "code": {
  13133. "description": "返回码",
  13134. "type": "integer",
  13135. "format": "int",
  13136. "default": 0
  13137. },
  13138. "data": {
  13139. "type": "object",
  13140. "$ref": "#/definitions/v1.ChargeVehicleGroupReply"
  13141. },
  13142. "message": {
  13143. "description": "消息",
  13144. "type": "string",
  13145. "default": "success"
  13146. }
  13147. }
  13148. },
  13149. "v1.ChargeVehicleNotBindListReply": {
  13150. "type": "object",
  13151. "properties": {
  13152. "list": {
  13153. "type": "array",
  13154. "items": {
  13155. "$ref": "#/definitions/v1.ChargeVehicleData"
  13156. }
  13157. },
  13158. "page": {
  13159. "type": "integer"
  13160. },
  13161. "total": {
  13162. "type": "integer"
  13163. }
  13164. }
  13165. },
  13166. "v1.ChargeVehicleNotBindListResponse": {
  13167. "type": "object",
  13168. "properties": {
  13169. "code": {
  13170. "description": "返回码",
  13171. "type": "integer",
  13172. "format": "int",
  13173. "default": 0
  13174. },
  13175. "data": {
  13176. "type": "object",
  13177. "$ref": "#/definitions/v1.ChargeVehicleNotBindListReply"
  13178. },
  13179. "message": {
  13180. "description": "消息",
  13181. "type": "string",
  13182. "default": "success"
  13183. }
  13184. }
  13185. },
  13186. "v1.ChooseUserResponse": {
  13187. "type": "object",
  13188. "properties": {
  13189. "code": {
  13190. "description": "返回码",
  13191. "type": "integer",
  13192. "format": "int",
  13193. "default": 0
  13194. },
  13195. "data": {
  13196. "type": "object",
  13197. "$ref": "#/definitions/v1.LoginData"
  13198. },
  13199. "message": {
  13200. "description": "消息",
  13201. "type": "string",
  13202. "default": "success"
  13203. }
  13204. }
  13205. },
  13206. "v1.CompanyEnterGardenResponse": {
  13207. "type": "object",
  13208. "properties": {
  13209. "code": {
  13210. "description": "返回码",
  13211. "type": "integer",
  13212. "format": "int",
  13213. "default": 0
  13214. },
  13215. "data": {
  13216. "type": "object",
  13217. "$ref": "#/definitions/v1.LoginData"
  13218. },
  13219. "message": {
  13220. "description": "消息",
  13221. "type": "string",
  13222. "default": "success"
  13223. }
  13224. }
  13225. },
  13226. "v1.DepartmentAddBody": {
  13227. "type": "object",
  13228. "properties": {
  13229. "department_name": {
  13230. "type": "string"
  13231. },
  13232. "desc": {
  13233. "type": "string"
  13234. }
  13235. }
  13236. },
  13237. "v1.DepartmentAddReply": {
  13238. "type": "object",
  13239. "properties": {
  13240. "id": {
  13241. "type": "integer"
  13242. }
  13243. }
  13244. },
  13245. "v1.DepartmentAddResponse": {
  13246. "type": "object",
  13247. "properties": {
  13248. "code": {
  13249. "description": "返回码",
  13250. "type": "integer",
  13251. "format": "int",
  13252. "default": 0
  13253. },
  13254. "data": {
  13255. "type": "object",
  13256. "$ref": "#/definitions/v1.DepartmentAddReply"
  13257. },
  13258. "message": {
  13259. "description": "消息",
  13260. "type": "string",
  13261. "default": "success"
  13262. }
  13263. }
  13264. },
  13265. "v1.DepartmentDelResponse": {
  13266. "type": "object",
  13267. "properties": {
  13268. "code": {
  13269. "description": "返回码",
  13270. "type": "integer",
  13271. "format": "int",
  13272. "default": 0
  13273. },
  13274. "message": {
  13275. "description": "消息",
  13276. "type": "string",
  13277. "default": "success"
  13278. }
  13279. }
  13280. },
  13281. "v1.DepartmentItem": {
  13282. "type": "object",
  13283. "properties": {
  13284. "created_at": {
  13285. "type": "string"
  13286. },
  13287. "department_name": {
  13288. "type": "string"
  13289. },
  13290. "desc": {
  13291. "type": "string"
  13292. },
  13293. "id": {
  13294. "type": "integer"
  13295. }
  13296. }
  13297. },
  13298. "v1.DepartmentListReply": {
  13299. "type": "object",
  13300. "properties": {
  13301. "list": {
  13302. "type": "array",
  13303. "items": {
  13304. "$ref": "#/definitions/v1.DepartmentItem"
  13305. }
  13306. },
  13307. "page": {
  13308. "type": "integer"
  13309. },
  13310. "total": {
  13311. "type": "integer"
  13312. }
  13313. }
  13314. },
  13315. "v1.DepartmentListResponse": {
  13316. "type": "object",
  13317. "properties": {
  13318. "code": {
  13319. "description": "返回码",
  13320. "type": "integer",
  13321. "format": "int",
  13322. "default": 0
  13323. },
  13324. "data": {
  13325. "type": "object",
  13326. "$ref": "#/definitions/v1.DepartmentListReply"
  13327. },
  13328. "message": {
  13329. "description": "消息",
  13330. "type": "string",
  13331. "default": "success"
  13332. }
  13333. }
  13334. },
  13335. "v1.DepartmentUpdateBody": {
  13336. "type": "object",
  13337. "properties": {
  13338. "department_name": {
  13339. "type": "string"
  13340. },
  13341. "desc": {
  13342. "type": "string"
  13343. },
  13344. "id": {
  13345. "type": "integer"
  13346. }
  13347. }
  13348. },
  13349. "v1.DepartmentUpdateResponse": {
  13350. "type": "object",
  13351. "properties": {
  13352. "code": {
  13353. "description": "返回码",
  13354. "type": "integer",
  13355. "format": "int",
  13356. "default": 0
  13357. },
  13358. "message": {
  13359. "description": "消息",
  13360. "type": "string",
  13361. "default": "success"
  13362. }
  13363. }
  13364. },
  13365. "v1.EventAddBody": {
  13366. "type": "object",
  13367. "properties": {
  13368. "addr": {
  13369. "description": "活动地址",
  13370. "type": "string"
  13371. },
  13372. "content": {
  13373. "description": "内容",
  13374. "type": "string"
  13375. },
  13376. "end": {
  13377. "description": "活动结束时间",
  13378. "type": "integer"
  13379. },
  13380. "fee": {
  13381. "description": "报名费用",
  13382. "type": "integer"
  13383. },
  13384. "people_limit": {
  13385. "description": "人数限制",
  13386. "type": "integer"
  13387. },
  13388. "pic": {
  13389. "description": "图片",
  13390. "type": "array",
  13391. "items": {
  13392. "type": "string"
  13393. }
  13394. },
  13395. "sign_up_end": {
  13396. "description": "报名截止时间",
  13397. "type": "integer"
  13398. },
  13399. "start": {
  13400. "description": "活动开始时间",
  13401. "type": "integer"
  13402. },
  13403. "title": {
  13404. "type": "string"
  13405. }
  13406. }
  13407. },
  13408. "v1.EventAddReply": {
  13409. "type": "object",
  13410. "properties": {
  13411. "id": {
  13412. "type": "integer"
  13413. }
  13414. }
  13415. },
  13416. "v1.EventAddResponse": {
  13417. "type": "object",
  13418. "properties": {
  13419. "code": {
  13420. "description": "返回码",
  13421. "type": "integer",
  13422. "format": "int",
  13423. "default": 0
  13424. },
  13425. "data": {
  13426. "type": "object",
  13427. "$ref": "#/definitions/v1.EventAddReply"
  13428. },
  13429. "message": {
  13430. "description": "消息",
  13431. "type": "string",
  13432. "default": "success"
  13433. }
  13434. }
  13435. },
  13436. "v1.EventDelResponse": {
  13437. "type": "object",
  13438. "properties": {
  13439. "code": {
  13440. "description": "返回码",
  13441. "type": "integer",
  13442. "format": "int",
  13443. "default": 0
  13444. },
  13445. "message": {
  13446. "description": "消息",
  13447. "type": "string",
  13448. "default": "success"
  13449. }
  13450. }
  13451. },
  13452. "v1.EventItem": {
  13453. "type": "object",
  13454. "properties": {
  13455. "addr": {
  13456. "description": "活动地址",
  13457. "type": "string"
  13458. },
  13459. "content": {
  13460. "description": "内容",
  13461. "type": "string"
  13462. },
  13463. "created_at": {
  13464. "type": "string"
  13465. },
  13466. "end": {
  13467. "description": "活动结束时间",
  13468. "type": "integer"
  13469. },
  13470. "fee": {
  13471. "description": "报名费用",
  13472. "type": "integer"
  13473. },
  13474. "id": {
  13475. "type": "integer"
  13476. },
  13477. "people_count": {
  13478. "description": "已报名人数",
  13479. "type": "integer"
  13480. },
  13481. "people_limit": {
  13482. "description": "人数限制",
  13483. "type": "integer"
  13484. },
  13485. "pic": {
  13486. "description": "图片",
  13487. "type": "array",
  13488. "items": {
  13489. "type": "string"
  13490. }
  13491. },
  13492. "sign": {
  13493. "description": "物业端不管该字段,小程序查询时该字段有效 是否报名",
  13494. "type": "boolean"
  13495. },
  13496. "sign_up_end": {
  13497. "description": "报名截止时间",
  13498. "type": "integer"
  13499. },
  13500. "start": {
  13501. "description": "活动开始时间",
  13502. "type": "integer"
  13503. },
  13504. "status": {
  13505. "description": "1 报名进行中 2 报名已截止",
  13506. "type": "integer"
  13507. },
  13508. "title": {
  13509. "description": "标题",
  13510. "type": "string"
  13511. }
  13512. }
  13513. },
  13514. "v1.EventListReply": {
  13515. "type": "object",
  13516. "properties": {
  13517. "list": {
  13518. "type": "array",
  13519. "items": {
  13520. "$ref": "#/definitions/v1.EventItem"
  13521. }
  13522. },
  13523. "page": {
  13524. "type": "integer"
  13525. },
  13526. "total": {
  13527. "type": "integer"
  13528. }
  13529. }
  13530. },
  13531. "v1.EventListResponse": {
  13532. "type": "object",
  13533. "properties": {
  13534. "code": {
  13535. "description": "返回码",
  13536. "type": "integer",
  13537. "format": "int",
  13538. "default": 0
  13539. },
  13540. "data": {
  13541. "type": "object",
  13542. "$ref": "#/definitions/v1.EventListReply"
  13543. },
  13544. "message": {
  13545. "description": "消息",
  13546. "type": "string",
  13547. "default": "success"
  13548. }
  13549. }
  13550. },
  13551. "v1.EventSignDelResponse": {
  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.EventSignItem": {
  13568. "type": "object",
  13569. "properties": {
  13570. "comment": {
  13571. "type": "string"
  13572. },
  13573. "count": {
  13574. "description": "人数",
  13575. "type": "integer"
  13576. },
  13577. "event_id": {
  13578. "type": "integer"
  13579. },
  13580. "id": {
  13581. "type": "integer"
  13582. },
  13583. "name": {
  13584. "type": "string"
  13585. },
  13586. "phone": {
  13587. "type": "string"
  13588. },
  13589. "sign_time": {
  13590. "type": "string"
  13591. }
  13592. }
  13593. },
  13594. "v1.EventSignListReply": {
  13595. "type": "object",
  13596. "properties": {
  13597. "list": {
  13598. "type": "array",
  13599. "items": {
  13600. "$ref": "#/definitions/v1.EventSignItem"
  13601. }
  13602. },
  13603. "page": {
  13604. "type": "integer"
  13605. },
  13606. "total": {
  13607. "type": "integer"
  13608. }
  13609. }
  13610. },
  13611. "v1.EventSignListResponse": {
  13612. "type": "object",
  13613. "properties": {
  13614. "code": {
  13615. "description": "返回码",
  13616. "type": "integer",
  13617. "format": "int",
  13618. "default": 0
  13619. },
  13620. "data": {
  13621. "type": "object",
  13622. "$ref": "#/definitions/v1.EventSignListReply"
  13623. },
  13624. "message": {
  13625. "description": "消息",
  13626. "type": "string",
  13627. "default": "success"
  13628. }
  13629. }
  13630. },
  13631. "v1.EventUpdateBody": {
  13632. "type": "object",
  13633. "properties": {
  13634. "addr": {
  13635. "description": "活动地址",
  13636. "type": "string"
  13637. },
  13638. "content": {
  13639. "description": "内容",
  13640. "type": "string"
  13641. },
  13642. "end": {
  13643. "description": "活动结束时间",
  13644. "type": "integer"
  13645. },
  13646. "fee": {
  13647. "description": "报名费用",
  13648. "type": "integer"
  13649. },
  13650. "id": {
  13651. "type": "integer"
  13652. },
  13653. "people_limit": {
  13654. "description": "人数限制",
  13655. "type": "integer"
  13656. },
  13657. "pic": {
  13658. "description": "图片",
  13659. "type": "array",
  13660. "items": {
  13661. "type": "string"
  13662. }
  13663. },
  13664. "sign_up_end": {
  13665. "description": "报名截止时间",
  13666. "type": "integer"
  13667. },
  13668. "start": {
  13669. "description": "活动开始时间",
  13670. "type": "integer"
  13671. },
  13672. "title": {
  13673. "type": "string"
  13674. }
  13675. }
  13676. },
  13677. "v1.EventUpdateResponse": {
  13678. "type": "object",
  13679. "properties": {
  13680. "code": {
  13681. "description": "返回码",
  13682. "type": "integer",
  13683. "format": "int",
  13684. "default": 0
  13685. },
  13686. "message": {
  13687. "description": "消息",
  13688. "type": "string",
  13689. "default": "success"
  13690. }
  13691. }
  13692. },
  13693. "v1.GardenApplicationItem": {
  13694. "type": "object",
  13695. "properties": {
  13696. "amount": {
  13697. "type": "integer"
  13698. },
  13699. "application_id": {
  13700. "type": "integer"
  13701. },
  13702. "content": {
  13703. "type": "string"
  13704. },
  13705. "desc": {
  13706. "type": "string"
  13707. },
  13708. "enable": {
  13709. "type": "boolean"
  13710. },
  13711. "feedback": {
  13712. "type": "string"
  13713. },
  13714. "garden_name": {
  13715. "type": "string"
  13716. },
  13717. "icon": {
  13718. "type": "string"
  13719. },
  13720. "name": {
  13721. "type": "string"
  13722. },
  13723. "order_id": {
  13724. "type": "integer"
  13725. },
  13726. "pay_type": {
  13727. "description": "1 对公转帐",
  13728. "type": "integer"
  13729. },
  13730. "status": {
  13731. "description": "1 待审批 2 通过 3 未通过",
  13732. "type": "integer"
  13733. }
  13734. }
  13735. },
  13736. "v1.GardenApplicationListReply": {
  13737. "type": "object",
  13738. "properties": {
  13739. "list": {
  13740. "type": "array",
  13741. "items": {
  13742. "$ref": "#/definitions/v1.GardenApplicationItem"
  13743. }
  13744. },
  13745. "page": {
  13746. "type": "integer"
  13747. },
  13748. "total": {
  13749. "type": "integer"
  13750. }
  13751. }
  13752. },
  13753. "v1.GardenApplicationListResponse": {
  13754. "type": "object",
  13755. "properties": {
  13756. "code": {
  13757. "description": "返回码",
  13758. "type": "integer",
  13759. "format": "int",
  13760. "default": 0
  13761. },
  13762. "data": {
  13763. "type": "object",
  13764. "$ref": "#/definitions/v1.GardenApplicationListReply"
  13765. },
  13766. "message": {
  13767. "description": "消息",
  13768. "type": "string",
  13769. "default": "success"
  13770. }
  13771. }
  13772. },
  13773. "v1.GardenHouseRentListReply": {
  13774. "type": "object",
  13775. "properties": {
  13776. "list": {
  13777. "type": "array",
  13778. "items": {
  13779. "$ref": "#/definitions/v1.HouseRentItem"
  13780. }
  13781. },
  13782. "page": {
  13783. "type": "integer"
  13784. },
  13785. "total": {
  13786. "type": "integer"
  13787. }
  13788. }
  13789. },
  13790. "v1.GardenInfoResponse": {
  13791. "type": "object",
  13792. "properties": {
  13793. "code": {
  13794. "description": "返回码",
  13795. "type": "integer",
  13796. "format": "int",
  13797. "default": 0
  13798. },
  13799. "data": {
  13800. "type": "object",
  13801. "$ref": "#/definitions/v1.GardenItem"
  13802. },
  13803. "message": {
  13804. "description": "消息",
  13805. "type": "string",
  13806. "default": "success"
  13807. }
  13808. }
  13809. },
  13810. "v1.GardenItem": {
  13811. "type": "object",
  13812. "properties": {
  13813. "appendix": {
  13814. "type": "array",
  13815. "items": {
  13816. "type": "string"
  13817. }
  13818. },
  13819. "area": {
  13820. "description": "区",
  13821. "type": "string"
  13822. },
  13823. "area_code": {
  13824. "type": "string"
  13825. },
  13826. "area_percent": {
  13827. "description": "容积率",
  13828. "type": "number"
  13829. },
  13830. "avg_price": {
  13831. "type": "integer"
  13832. },
  13833. "building_area": {
  13834. "description": "建筑面积",
  13835. "type": "number"
  13836. },
  13837. "building_company": {
  13838. "description": "开发企业",
  13839. "type": "string"
  13840. },
  13841. "building_end": {
  13842. "description": "建成年份结束时间戳",
  13843. "type": "integer"
  13844. },
  13845. "building_start": {
  13846. "description": "建成年份开始时间戳",
  13847. "type": "integer"
  13848. },
  13849. "building_type": {
  13850. "description": "1塔楼 2 板楼 3 塔板结合 4 其他",
  13851. "type": "integer"
  13852. },
  13853. "cid": {
  13854. "description": "物业公司id",
  13855. "type": "integer"
  13856. },
  13857. "city": {
  13858. "description": "市",
  13859. "type": "string"
  13860. },
  13861. "city_code": {
  13862. "type": "string"
  13863. },
  13864. "committee": {
  13865. "description": "社区",
  13866. "type": "string"
  13867. },
  13868. "committee_code": {
  13869. "type": "string"
  13870. },
  13871. "covered_area": {
  13872. "description": "占地面积",
  13873. "type": "number"
  13874. },
  13875. "electric_type": {
  13876. "description": "电费类型多选 1 民用 2 商用",
  13877. "type": "array",
  13878. "items": {
  13879. "type": "integer"
  13880. }
  13881. },
  13882. "enable": {
  13883. "type": "boolean"
  13884. },
  13885. "expire_at": {
  13886. "type": "integer"
  13887. },
  13888. "feedback": {
  13889. "type": "string"
  13890. },
  13891. "garden_addr": {
  13892. "description": "小区地址",
  13893. "type": "string"
  13894. },
  13895. "garden_desc": {
  13896. "type": "string"
  13897. },
  13898. "garden_name": {
  13899. "description": "小区名字",
  13900. "type": "string"
  13901. },
  13902. "garden_pic": {
  13903. "type": "string"
  13904. },
  13905. "garden_pics": {
  13906. "description": "小区图片",
  13907. "type": "array",
  13908. "items": {
  13909. "type": "string"
  13910. }
  13911. },
  13912. "gas_fee_end": {
  13913. "description": "燃气费开始,单位分",
  13914. "type": "integer"
  13915. },
  13916. "gas_fee_start": {
  13917. "description": "燃气费开始,单位分",
  13918. "type": "integer"
  13919. },
  13920. "green_percent": {
  13921. "description": "绿化率",
  13922. "type": "number"
  13923. },
  13924. "house_count": {
  13925. "type": "integer"
  13926. },
  13927. "house_count_limit": {
  13928. "type": "integer"
  13929. },
  13930. "house_total": {
  13931. "description": "总户数",
  13932. "type": "integer"
  13933. },
  13934. "id": {
  13935. "type": "integer"
  13936. },
  13937. "in_use": {
  13938. "type": "boolean"
  13939. },
  13940. "lat": {
  13941. "description": "纬度",
  13942. "type": "number"
  13943. },
  13944. "lnt": {
  13945. "description": "经度",
  13946. "type": "number"
  13947. },
  13948. "mch_id": {
  13949. "type": "string"
  13950. },
  13951. "pay_mode": {
  13952. "type": "integer"
  13953. },
  13954. "property_fee_end": {
  13955. "description": "物业费结束, 单位分",
  13956. "type": "integer"
  13957. },
  13958. "property_fee_start": {
  13959. "description": "物业费开始,单位分",
  13960. "type": "integer"
  13961. },
  13962. "property_person": {
  13963. "description": "物业联系人",
  13964. "type": "string"
  13965. },
  13966. "property_phone": {
  13967. "description": "物业联系人手机号",
  13968. "type": "string"
  13969. },
  13970. "province": {
  13971. "description": "省",
  13972. "type": "string"
  13973. },
  13974. "province_code": {
  13975. "type": "string"
  13976. },
  13977. "space_info": {
  13978. "description": "车位配比",
  13979. "type": "string"
  13980. },
  13981. "space_total": {
  13982. "description": "固定车位数",
  13983. "type": "integer"
  13984. },
  13985. "status": {
  13986. "type": "integer"
  13987. },
  13988. "street": {
  13989. "description": "街道",
  13990. "type": "string"
  13991. },
  13992. "street_code": {
  13993. "type": "string"
  13994. },
  13995. "water_type": {
  13996. "description": "水费类型多选 1 民用 2 商用",
  13997. "type": "array",
  13998. "items": {
  13999. "type": "integer"
  14000. }
  14001. }
  14002. }
  14003. },
  14004. "v1.GardenKeyInfoChangeBody": {
  14005. "type": "object",
  14006. "properties": {
  14007. "area": {
  14008. "description": "区",
  14009. "type": "string"
  14010. },
  14011. "area_code": {
  14012. "type": "string"
  14013. },
  14014. "city": {
  14015. "description": "市",
  14016. "type": "string"
  14017. },
  14018. "city_code": {
  14019. "type": "string"
  14020. },
  14021. "committee": {
  14022. "description": "社区",
  14023. "type": "string"
  14024. },
  14025. "committee_code": {
  14026. "type": "string"
  14027. },
  14028. "garden_name": {
  14029. "description": "小区名字",
  14030. "type": "string"
  14031. },
  14032. "province": {
  14033. "description": "省",
  14034. "type": "string"
  14035. },
  14036. "province_code": {
  14037. "type": "string"
  14038. },
  14039. "street": {
  14040. "description": "街道",
  14041. "type": "string"
  14042. },
  14043. "street_code": {
  14044. "type": "string"
  14045. }
  14046. }
  14047. },
  14048. "v1.GardenKeyInfoChangeListReply": {
  14049. "type": "object",
  14050. "properties": {
  14051. "list": {
  14052. "type": "array",
  14053. "items": {
  14054. "$ref": "#/definitions/v1.GardenKeyInfoData"
  14055. }
  14056. },
  14057. "page": {
  14058. "type": "integer"
  14059. },
  14060. "total": {
  14061. "type": "integer"
  14062. }
  14063. }
  14064. },
  14065. "v1.GardenKeyInfoChangeListResponse": {
  14066. "type": "object",
  14067. "properties": {
  14068. "code": {
  14069. "description": "返回码",
  14070. "type": "integer",
  14071. "format": "int",
  14072. "default": 0
  14073. },
  14074. "data": {
  14075. "type": "object",
  14076. "$ref": "#/definitions/v1.GardenKeyInfoChangeListReply"
  14077. },
  14078. "message": {
  14079. "description": "消息",
  14080. "type": "string",
  14081. "default": "success"
  14082. }
  14083. }
  14084. },
  14085. "v1.GardenKeyInfoChangeResponse": {
  14086. "type": "object",
  14087. "properties": {
  14088. "code": {
  14089. "description": "返回码",
  14090. "type": "integer",
  14091. "format": "int",
  14092. "default": 0
  14093. },
  14094. "message": {
  14095. "description": "消息",
  14096. "type": "string",
  14097. "default": "success"
  14098. }
  14099. }
  14100. },
  14101. "v1.GardenKeyInfoData": {
  14102. "type": "object",
  14103. "properties": {
  14104. "cid": {
  14105. "type": "integer"
  14106. },
  14107. "feedback": {
  14108. "type": "string"
  14109. },
  14110. "garden_detail": {
  14111. "type": "string"
  14112. },
  14113. "garden_id": {
  14114. "type": "integer"
  14115. },
  14116. "garden_name": {
  14117. "type": "string"
  14118. },
  14119. "id": {
  14120. "type": "integer"
  14121. },
  14122. "list": {
  14123. "type": "array",
  14124. "items": {
  14125. "$ref": "#/definitions/v1.GardenKeyInfoItem"
  14126. }
  14127. },
  14128. "status": {
  14129. "type": "integer"
  14130. }
  14131. }
  14132. },
  14133. "v1.GardenKeyInfoItem": {
  14134. "type": "object",
  14135. "properties": {
  14136. "field_name": {
  14137. "type": "string"
  14138. },
  14139. "field_value_dst": {
  14140. "type": "string"
  14141. },
  14142. "field_value_src": {
  14143. "type": "string"
  14144. }
  14145. }
  14146. },
  14147. "v1.GardenPermissionItem": {
  14148. "type": "object",
  14149. "properties": {
  14150. "applete_path": {
  14151. "description": "小程序组件路径",
  14152. "type": "string"
  14153. },
  14154. "childs": {
  14155. "type": "array",
  14156. "items": {
  14157. "$ref": "#/definitions/v1.GardenPermissionItem"
  14158. }
  14159. },
  14160. "code": {
  14161. "type": "string"
  14162. },
  14163. "created_at": {
  14164. "type": "integer"
  14165. },
  14166. "enable": {
  14167. "description": "1 已发布 2 未发布",
  14168. "type": "integer"
  14169. },
  14170. "enable_at": {
  14171. "type": "integer"
  14172. },
  14173. "level": {
  14174. "type": "integer"
  14175. },
  14176. "name": {
  14177. "description": "权限名字",
  14178. "type": "string"
  14179. },
  14180. "path": {
  14181. "description": "组件路径",
  14182. "type": "string"
  14183. },
  14184. "pcode": {
  14185. "description": "父code,若没有则填空",
  14186. "type": "string"
  14187. },
  14188. "router": {
  14189. "description": "路由",
  14190. "type": "string"
  14191. }
  14192. }
  14193. },
  14194. "v1.GardenPermissionListReply": {
  14195. "type": "object",
  14196. "properties": {
  14197. "list": {
  14198. "type": "array",
  14199. "items": {
  14200. "$ref": "#/definitions/v1.GardenPermissionItem"
  14201. }
  14202. }
  14203. }
  14204. },
  14205. "v1.GardenUpdateBody": {
  14206. "type": "object",
  14207. "properties": {
  14208. "area_percent": {
  14209. "description": "容积率",
  14210. "type": "number"
  14211. },
  14212. "avg_price": {
  14213. "type": "integer"
  14214. },
  14215. "building_area": {
  14216. "description": "建筑面积",
  14217. "type": "number"
  14218. },
  14219. "building_company": {
  14220. "description": "开发企业",
  14221. "type": "string"
  14222. },
  14223. "building_end": {
  14224. "description": "建成年份结束时间戳",
  14225. "type": "integer"
  14226. },
  14227. "building_start": {
  14228. "description": "建成年份开始时间戳",
  14229. "type": "integer"
  14230. },
  14231. "building_type": {
  14232. "description": "1塔楼 2 板楼 3 塔板结合 4 其他",
  14233. "type": "integer"
  14234. },
  14235. "covered_area": {
  14236. "description": "占地面积",
  14237. "type": "number"
  14238. },
  14239. "electric_type": {
  14240. "description": "电费类型多选 1 民用 2 商用",
  14241. "type": "array",
  14242. "items": {
  14243. "type": "integer"
  14244. }
  14245. },
  14246. "garden_addr": {
  14247. "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小区地址",
  14248. "type": "string"
  14249. },
  14250. "garden_desc": {
  14251. "description": "小区描述",
  14252. "type": "string"
  14253. },
  14254. "garden_pic": {
  14255. "description": "小区形象图片",
  14256. "type": "string"
  14257. },
  14258. "garden_pics": {
  14259. "description": "小区图片",
  14260. "type": "array",
  14261. "items": {
  14262. "type": "string"
  14263. }
  14264. },
  14265. "gas_fee_end": {
  14266. "description": "燃气费开始,单位分",
  14267. "type": "integer"
  14268. },
  14269. "gas_fee_start": {
  14270. "description": "燃气费开始,单位分",
  14271. "type": "integer"
  14272. },
  14273. "green_percent": {
  14274. "description": "绿化率",
  14275. "type": "number"
  14276. },
  14277. "house_total": {
  14278. "description": "总户数",
  14279. "type": "integer"
  14280. },
  14281. "lat": {
  14282. "description": "纬度",
  14283. "type": "number"
  14284. },
  14285. "lnt": {
  14286. "description": "经度",
  14287. "type": "number"
  14288. },
  14289. "property_fee_end": {
  14290. "description": "物业费结束, 单位分",
  14291. "type": "integer"
  14292. },
  14293. "property_fee_start": {
  14294. "description": "物业费开始,单位分",
  14295. "type": "integer"
  14296. },
  14297. "property_person": {
  14298. "description": "物业联系人",
  14299. "type": "string"
  14300. },
  14301. "property_phone": {
  14302. "description": "物业联系人手机号",
  14303. "type": "string"
  14304. },
  14305. "space_info": {
  14306. "description": "车位配比",
  14307. "type": "string"
  14308. },
  14309. "space_total": {
  14310. "description": "固定车位数",
  14311. "type": "integer"
  14312. },
  14313. "water_type": {
  14314. "description": "水费类型多选 1 民用 2 商用",
  14315. "type": "array",
  14316. "items": {
  14317. "type": "integer"
  14318. }
  14319. }
  14320. }
  14321. },
  14322. "v1.GardenUpdateResponse": {
  14323. "type": "object",
  14324. "properties": {
  14325. "code": {
  14326. "description": "返回码",
  14327. "type": "integer",
  14328. "format": "int",
  14329. "default": 0
  14330. },
  14331. "message": {
  14332. "description": "消息",
  14333. "type": "string",
  14334. "default": "success"
  14335. }
  14336. }
  14337. },
  14338. "v1.GateCardAddBody": {
  14339. "type": "object",
  14340. "properties": {
  14341. "card_number": {
  14342. "type": "string"
  14343. },
  14344. "device_ids": {
  14345. "type": "array",
  14346. "items": {
  14347. "type": "integer"
  14348. }
  14349. },
  14350. "name": {
  14351. "type": "string"
  14352. }
  14353. }
  14354. },
  14355. "v1.GateCardAddResponse": {
  14356. "type": "object",
  14357. "properties": {
  14358. "code": {
  14359. "description": "返回码",
  14360. "type": "integer",
  14361. "format": "int",
  14362. "default": 0
  14363. },
  14364. "message": {
  14365. "description": "消息",
  14366. "type": "string",
  14367. "default": "success"
  14368. }
  14369. }
  14370. },
  14371. "v1.GateCardCanBindDevicesReply": {
  14372. "type": "object",
  14373. "properties": {
  14374. "list": {
  14375. "type": "array",
  14376. "items": {
  14377. "$ref": "#/definitions/v1.GateItem"
  14378. }
  14379. }
  14380. }
  14381. },
  14382. "v1.GateCardCanBindDevicesResponse": {
  14383. "type": "object",
  14384. "properties": {
  14385. "code": {
  14386. "description": "返回码",
  14387. "type": "integer",
  14388. "format": "int",
  14389. "default": 0
  14390. },
  14391. "data": {
  14392. "type": "object",
  14393. "$ref": "#/definitions/v1.GateCardCanBindDevicesReply"
  14394. },
  14395. "message": {
  14396. "description": "消息",
  14397. "type": "string",
  14398. "default": "success"
  14399. }
  14400. }
  14401. },
  14402. "v1.GateCardDelResponse": {
  14403. "type": "object",
  14404. "properties": {
  14405. "code": {
  14406. "description": "返回码",
  14407. "type": "integer",
  14408. "format": "int",
  14409. "default": 0
  14410. },
  14411. "message": {
  14412. "description": "消息",
  14413. "type": "string",
  14414. "default": "success"
  14415. }
  14416. }
  14417. },
  14418. "v1.GateCardDevice": {
  14419. "type": "object",
  14420. "properties": {
  14421. "device_id": {
  14422. "type": "integer"
  14423. },
  14424. "device_name": {
  14425. "type": "string"
  14426. },
  14427. "direction": {
  14428. "type": "integer"
  14429. },
  14430. "down_status": {
  14431. "type": "integer"
  14432. },
  14433. "location": {
  14434. "type": "string"
  14435. }
  14436. }
  14437. },
  14438. "v1.GateCardItem": {
  14439. "type": "object",
  14440. "properties": {
  14441. "card_number": {
  14442. "type": "string"
  14443. },
  14444. "created_at": {
  14445. "type": "integer"
  14446. },
  14447. "down_status": {
  14448. "type": "integer"
  14449. },
  14450. "gate_permissions": {
  14451. "type": "array",
  14452. "items": {
  14453. "$ref": "#/definitions/v1.GateCardDevice"
  14454. }
  14455. },
  14456. "id": {
  14457. "type": "integer"
  14458. },
  14459. "name": {
  14460. "type": "string"
  14461. }
  14462. }
  14463. },
  14464. "v1.GateCardListReply": {
  14465. "type": "object",
  14466. "properties": {
  14467. "list": {
  14468. "type": "array",
  14469. "items": {
  14470. "$ref": "#/definitions/v1.GateCardItem"
  14471. }
  14472. },
  14473. "page": {
  14474. "type": "integer"
  14475. },
  14476. "total": {
  14477. "type": "integer"
  14478. }
  14479. }
  14480. },
  14481. "v1.GateCardListResponse": {
  14482. "type": "object",
  14483. "properties": {
  14484. "code": {
  14485. "description": "返回码",
  14486. "type": "integer",
  14487. "format": "int",
  14488. "default": 0
  14489. },
  14490. "data": {
  14491. "type": "object",
  14492. "$ref": "#/definitions/v1.GateCardListReply"
  14493. },
  14494. "message": {
  14495. "description": "消息",
  14496. "type": "string",
  14497. "default": "success"
  14498. }
  14499. }
  14500. },
  14501. "v1.GateCardSyncBody": {
  14502. "type": "object",
  14503. "properties": {
  14504. "id": {
  14505. "description": "卡的记录id",
  14506. "type": "integer"
  14507. }
  14508. }
  14509. },
  14510. "v1.GateCardSyncResponse": {
  14511. "type": "object",
  14512. "properties": {
  14513. "code": {
  14514. "description": "返回码",
  14515. "type": "integer",
  14516. "format": "int",
  14517. "default": 0
  14518. },
  14519. "message": {
  14520. "description": "消息",
  14521. "type": "string",
  14522. "default": "success"
  14523. }
  14524. }
  14525. },
  14526. "v1.GateCommandItem": {
  14527. "type": "object",
  14528. "properties": {
  14529. "created_at": {
  14530. "type": "integer"
  14531. },
  14532. "desc": {
  14533. "type": "string"
  14534. },
  14535. "device_id": {
  14536. "type": "integer"
  14537. },
  14538. "id": {
  14539. "type": "integer"
  14540. },
  14541. "result_status": {
  14542. "description": "1 成功 2 失败",
  14543. "type": "integer"
  14544. },
  14545. "result_status_desc": {
  14546. "description": "结果描述",
  14547. "type": "string"
  14548. },
  14549. "status": {
  14550. "description": "1 待执行 2 执行中 3 执行完成",
  14551. "type": "integer"
  14552. }
  14553. }
  14554. },
  14555. "v1.GateCommandListReply": {
  14556. "type": "object",
  14557. "properties": {
  14558. "list": {
  14559. "type": "array",
  14560. "items": {
  14561. "$ref": "#/definitions/v1.GateCommandItem"
  14562. }
  14563. },
  14564. "page": {
  14565. "type": "integer"
  14566. },
  14567. "total": {
  14568. "type": "integer"
  14569. }
  14570. }
  14571. },
  14572. "v1.GateCommandListResponse": {
  14573. "type": "object",
  14574. "properties": {
  14575. "code": {
  14576. "description": "返回码",
  14577. "type": "integer",
  14578. "format": "int",
  14579. "default": 0
  14580. },
  14581. "data": {
  14582. "type": "object",
  14583. "$ref": "#/definitions/v1.GateCommandListReply"
  14584. },
  14585. "message": {
  14586. "description": "消息",
  14587. "type": "string",
  14588. "default": "success"
  14589. }
  14590. }
  14591. },
  14592. "v1.GateEnableBody": {
  14593. "type": "object",
  14594. "properties": {
  14595. "device_id": {
  14596. "type": "integer"
  14597. },
  14598. "enable": {
  14599. "description": "true 启用 false 停用",
  14600. "type": "boolean"
  14601. }
  14602. }
  14603. },
  14604. "v1.GateEnableResponse": {
  14605. "type": "object",
  14606. "properties": {
  14607. "code": {
  14608. "description": "返回码",
  14609. "type": "integer",
  14610. "format": "int",
  14611. "default": 0
  14612. },
  14613. "message": {
  14614. "description": "消息",
  14615. "type": "string",
  14616. "default": "success"
  14617. }
  14618. }
  14619. },
  14620. "v1.GateItem": {
  14621. "type": "object",
  14622. "properties": {
  14623. "auth_key": {
  14624. "description": "授权key",
  14625. "type": "string"
  14626. },
  14627. "card_support": {
  14628. "description": "1 支持卡 2 不支持",
  14629. "type": "integer"
  14630. },
  14631. "device_id": {
  14632. "description": "设备id",
  14633. "type": "integer"
  14634. },
  14635. "device_name": {
  14636. "description": "设备名",
  14637. "type": "string"
  14638. },
  14639. "direction": {
  14640. "description": "1 进场 2 出场 3 进出场",
  14641. "type": "integer"
  14642. },
  14643. "enable": {
  14644. "description": "true 已启用 false 已禁用",
  14645. "type": "boolean"
  14646. },
  14647. "garden_id": {
  14648. "description": "小区id",
  14649. "type": "integer"
  14650. },
  14651. "garden_name": {
  14652. "description": "小区名",
  14653. "type": "string"
  14654. },
  14655. "ip": {
  14656. "type": "string"
  14657. },
  14658. "location": {
  14659. "type": "string"
  14660. },
  14661. "mac": {
  14662. "type": "string"
  14663. },
  14664. "manufactor": {
  14665. "description": "厂商",
  14666. "type": "string"
  14667. },
  14668. "out_time": {
  14669. "description": "出库时间",
  14670. "type": "integer"
  14671. },
  14672. "out_user": {
  14673. "description": "出库人",
  14674. "type": "string"
  14675. },
  14676. "password": {
  14677. "type": "string"
  14678. },
  14679. "pic_support": {
  14680. "description": "1 支持人脸 2 不支持",
  14681. "type": "integer"
  14682. },
  14683. "port": {
  14684. "type": "integer"
  14685. },
  14686. "protocol": {
  14687. "description": "协议",
  14688. "type": "integer"
  14689. },
  14690. "protocol_desc": {
  14691. "type": "string"
  14692. },
  14693. "qcode_support": {
  14694. "description": "1支持二维码 2 不支持",
  14695. "type": "integer"
  14696. },
  14697. "sn": {
  14698. "description": "序列号",
  14699. "type": "string"
  14700. },
  14701. "status": {
  14702. "description": "1 在线 2 离线",
  14703. "type": "integer"
  14704. },
  14705. "user_name": {
  14706. "type": "string"
  14707. }
  14708. }
  14709. },
  14710. "v1.GateListReply": {
  14711. "type": "object",
  14712. "properties": {
  14713. "list": {
  14714. "type": "array",
  14715. "items": {
  14716. "$ref": "#/definitions/v1.GateItem"
  14717. }
  14718. },
  14719. "page": {
  14720. "type": "integer"
  14721. },
  14722. "total": {
  14723. "type": "integer"
  14724. }
  14725. }
  14726. },
  14727. "v1.GateListResponse": {
  14728. "type": "object",
  14729. "properties": {
  14730. "code": {
  14731. "description": "返回码",
  14732. "type": "integer",
  14733. "format": "int",
  14734. "default": 0
  14735. },
  14736. "data": {
  14737. "type": "object",
  14738. "$ref": "#/definitions/v1.GateListReply"
  14739. },
  14740. "message": {
  14741. "description": "消息",
  14742. "type": "string",
  14743. "default": "success"
  14744. }
  14745. }
  14746. },
  14747. "v1.GateOpenBody": {
  14748. "type": "object",
  14749. "properties": {
  14750. "device_id": {
  14751. "type": "integer"
  14752. }
  14753. }
  14754. },
  14755. "v1.GateOpenResponse": {
  14756. "type": "object",
  14757. "properties": {
  14758. "code": {
  14759. "description": "返回码",
  14760. "type": "integer",
  14761. "format": "int",
  14762. "default": 0
  14763. },
  14764. "message": {
  14765. "description": "消息",
  14766. "type": "string",
  14767. "default": "success"
  14768. }
  14769. }
  14770. },
  14771. "v1.GateRecordItem": {
  14772. "type": "object",
  14773. "properties": {
  14774. "card_number": {
  14775. "type": "string"
  14776. },
  14777. "card_owner": {
  14778. "type": "string"
  14779. },
  14780. "device_id": {
  14781. "type": "string"
  14782. },
  14783. "direction": {
  14784. "type": "integer"
  14785. },
  14786. "garden_id": {
  14787. "type": "integer"
  14788. },
  14789. "household_housename": {
  14790. "type": "string"
  14791. },
  14792. "household_id_number": {
  14793. "type": "string"
  14794. },
  14795. "household_uid": {
  14796. "type": "integer"
  14797. },
  14798. "household_user": {
  14799. "type": "string"
  14800. },
  14801. "is_visitor": {
  14802. "description": "1 访客 2 非访客",
  14803. "type": "integer"
  14804. },
  14805. "location": {
  14806. "type": "string"
  14807. },
  14808. "online": {
  14809. "type": "integer"
  14810. },
  14811. "open_time": {
  14812. "description": "开门时间",
  14813. "type": "integer"
  14814. },
  14815. "open_type": {
  14816. "description": "1 二维码 2 刷卡 3 人脸",
  14817. "type": "integer"
  14818. },
  14819. "protocol": {
  14820. "type": "integer"
  14821. },
  14822. "sn": {
  14823. "type": "string"
  14824. },
  14825. "visitor_name": {
  14826. "type": "string"
  14827. },
  14828. "visitor_phone": {
  14829. "type": "string"
  14830. },
  14831. "white_id": {
  14832. "type": "integer"
  14833. }
  14834. }
  14835. },
  14836. "v1.GateRecordListReply": {
  14837. "type": "object",
  14838. "properties": {
  14839. "list": {
  14840. "type": "array",
  14841. "items": {
  14842. "$ref": "#/definitions/v1.GateRecordItem"
  14843. }
  14844. },
  14845. "page": {
  14846. "type": "integer"
  14847. },
  14848. "total": {
  14849. "type": "integer"
  14850. }
  14851. }
  14852. },
  14853. "v1.GateRecordListResponse": {
  14854. "type": "object",
  14855. "properties": {
  14856. "code": {
  14857. "description": "返回码",
  14858. "type": "integer",
  14859. "format": "int",
  14860. "default": 0
  14861. },
  14862. "data": {
  14863. "type": "object",
  14864. "$ref": "#/definitions/v1.GateRecordListReply"
  14865. },
  14866. "message": {
  14867. "description": "消息",
  14868. "type": "string",
  14869. "default": "success"
  14870. }
  14871. }
  14872. },
  14873. "v1.GateRestartBody": {
  14874. "type": "object",
  14875. "properties": {
  14876. "device_id": {
  14877. "type": "integer"
  14878. }
  14879. }
  14880. },
  14881. "v1.GateRestartResponse": {
  14882. "type": "object",
  14883. "properties": {
  14884. "code": {
  14885. "description": "返回码",
  14886. "type": "integer",
  14887. "format": "int",
  14888. "default": 0
  14889. },
  14890. "message": {
  14891. "description": "消息",
  14892. "type": "string",
  14893. "default": "success"
  14894. }
  14895. }
  14896. },
  14897. "v1.GateSetBody": {
  14898. "type": "object",
  14899. "properties": {
  14900. "device_id": {
  14901. "type": "integer"
  14902. },
  14903. "direction": {
  14904. "description": "1 进场 2 出场 3 进出场",
  14905. "type": "integer"
  14906. },
  14907. "gate_name": {
  14908. "type": "string"
  14909. },
  14910. "ip": {
  14911. "type": "string"
  14912. },
  14913. "location": {
  14914. "description": "位置",
  14915. "type": "string"
  14916. },
  14917. "mac": {
  14918. "type": "string"
  14919. },
  14920. "password": {
  14921. "type": "string"
  14922. },
  14923. "user": {
  14924. "type": "string"
  14925. }
  14926. }
  14927. },
  14928. "v1.GateSetResponse": {
  14929. "type": "object",
  14930. "properties": {
  14931. "code": {
  14932. "description": "返回码",
  14933. "type": "integer",
  14934. "format": "int",
  14935. "default": 0
  14936. },
  14937. "message": {
  14938. "description": "消息",
  14939. "type": "string",
  14940. "default": "success"
  14941. }
  14942. }
  14943. },
  14944. "v1.GateUnitAddBody": {
  14945. "type": "object",
  14946. "properties": {
  14947. "device_id": {
  14948. "type": "integer"
  14949. },
  14950. "unit_id": {
  14951. "type": "array",
  14952. "items": {
  14953. "type": "integer"
  14954. }
  14955. }
  14956. }
  14957. },
  14958. "v1.GateUnitAddResponse": {
  14959. "type": "object",
  14960. "properties": {
  14961. "code": {
  14962. "description": "返回码",
  14963. "type": "integer",
  14964. "format": "int",
  14965. "default": 0
  14966. },
  14967. "message": {
  14968. "description": "消息",
  14969. "type": "string",
  14970. "default": "success"
  14971. }
  14972. }
  14973. },
  14974. "v1.GateUserPicApproveBody": {
  14975. "type": "object",
  14976. "properties": {
  14977. "feedback": {
  14978. "type": "string"
  14979. },
  14980. "id": {
  14981. "description": "人脸记录id",
  14982. "type": "integer"
  14983. },
  14984. "status": {
  14985. "type": "boolean"
  14986. }
  14987. }
  14988. },
  14989. "v1.GateUserPicApproveResponse": {
  14990. "type": "object",
  14991. "properties": {
  14992. "code": {
  14993. "description": "返回码",
  14994. "type": "integer",
  14995. "format": "int",
  14996. "default": 0
  14997. },
  14998. "message": {
  14999. "description": "消息",
  15000. "type": "string",
  15001. "default": "success"
  15002. }
  15003. }
  15004. },
  15005. "v1.GateUserPicDelResponse": {
  15006. "type": "object",
  15007. "properties": {
  15008. "code": {
  15009. "description": "返回码",
  15010. "type": "integer",
  15011. "format": "int",
  15012. "default": 0
  15013. },
  15014. "message": {
  15015. "description": "消息",
  15016. "type": "string",
  15017. "default": "success"
  15018. }
  15019. }
  15020. },
  15021. "v1.GateUserPicDevice": {
  15022. "type": "object",
  15023. "properties": {
  15024. "device_id": {
  15025. "type": "integer"
  15026. },
  15027. "device_name": {
  15028. "type": "string"
  15029. },
  15030. "direction": {
  15031. "type": "integer"
  15032. },
  15033. "down_status": {
  15034. "type": "integer"
  15035. },
  15036. "location": {
  15037. "type": "string"
  15038. }
  15039. }
  15040. },
  15041. "v1.GateUserPicItem": {
  15042. "type": "object",
  15043. "properties": {
  15044. "approve_status": {
  15045. "type": "integer"
  15046. },
  15047. "approved_at": {
  15048. "type": "integer"
  15049. },
  15050. "created_at": {
  15051. "type": "integer"
  15052. },
  15053. "down_status": {
  15054. "type": "integer"
  15055. },
  15056. "gate_permissions": {
  15057. "type": "array",
  15058. "items": {
  15059. "$ref": "#/definitions/v1.GateUserPicDevice"
  15060. }
  15061. },
  15062. "house_name": {
  15063. "type": "string"
  15064. },
  15065. "id": {
  15066. "type": "integer"
  15067. },
  15068. "id_number": {
  15069. "type": "string"
  15070. },
  15071. "name": {
  15072. "type": "string"
  15073. },
  15074. "pic_url": {
  15075. "type": "string"
  15076. },
  15077. "uid": {
  15078. "type": "integer"
  15079. },
  15080. "user_type": {
  15081. "type": "integer"
  15082. }
  15083. }
  15084. },
  15085. "v1.GateUserPicListReply": {
  15086. "type": "object",
  15087. "properties": {
  15088. "list": {
  15089. "type": "array",
  15090. "items": {
  15091. "$ref": "#/definitions/v1.GateUserPicItem"
  15092. }
  15093. },
  15094. "page": {
  15095. "type": "integer"
  15096. },
  15097. "total": {
  15098. "type": "integer"
  15099. }
  15100. }
  15101. },
  15102. "v1.GateUserPicListResponse": {
  15103. "type": "object",
  15104. "properties": {
  15105. "code": {
  15106. "description": "返回码",
  15107. "type": "integer",
  15108. "format": "int",
  15109. "default": 0
  15110. },
  15111. "data": {
  15112. "type": "object",
  15113. "$ref": "#/definitions/v1.GateUserPicListReply"
  15114. },
  15115. "message": {
  15116. "description": "消息",
  15117. "type": "string",
  15118. "default": "success"
  15119. }
  15120. }
  15121. },
  15122. "v1.GateUserPicSyncBody": {
  15123. "type": "object",
  15124. "properties": {
  15125. "id": {
  15126. "description": "人脸记录id",
  15127. "type": "integer"
  15128. }
  15129. }
  15130. },
  15131. "v1.GateUserPicSyncResponse": {
  15132. "type": "object",
  15133. "properties": {
  15134. "code": {
  15135. "description": "返回码",
  15136. "type": "integer",
  15137. "format": "int",
  15138. "default": 0
  15139. },
  15140. "message": {
  15141. "description": "消息",
  15142. "type": "string",
  15143. "default": "success"
  15144. }
  15145. }
  15146. },
  15147. "v1.GateVisitorListItem": {
  15148. "type": "object",
  15149. "properties": {
  15150. "comment": {
  15151. "type": "string"
  15152. },
  15153. "device_id": {
  15154. "type": "integer"
  15155. },
  15156. "end": {
  15157. "type": "integer"
  15158. },
  15159. "garden_name": {
  15160. "type": "string"
  15161. },
  15162. "gate_name": {
  15163. "type": "string"
  15164. },
  15165. "id": {
  15166. "type": "integer"
  15167. },
  15168. "location": {
  15169. "type": "string"
  15170. },
  15171. "name": {
  15172. "type": "string"
  15173. },
  15174. "open_time": {
  15175. "type": "integer"
  15176. },
  15177. "phone": {
  15178. "type": "string"
  15179. },
  15180. "qcode": {
  15181. "type": "string"
  15182. },
  15183. "start": {
  15184. "type": "integer"
  15185. },
  15186. "status": {
  15187. "description": "1 未通行 2 已同行 3 已过期",
  15188. "type": "integer"
  15189. },
  15190. "uid": {
  15191. "type": "integer"
  15192. },
  15193. "visitor": {
  15194. "type": "string"
  15195. },
  15196. "visitor_phone": {
  15197. "type": "string"
  15198. }
  15199. }
  15200. },
  15201. "v1.GateVisitorListReply": {
  15202. "type": "object",
  15203. "properties": {
  15204. "list": {
  15205. "type": "array",
  15206. "items": {
  15207. "$ref": "#/definitions/v1.GateVisitorListItem"
  15208. }
  15209. },
  15210. "page": {
  15211. "type": "integer"
  15212. },
  15213. "total": {
  15214. "type": "integer"
  15215. }
  15216. }
  15217. },
  15218. "v1.GateVisitorListResponse": {
  15219. "type": "object",
  15220. "properties": {
  15221. "code": {
  15222. "description": "返回码",
  15223. "type": "integer",
  15224. "format": "int",
  15225. "default": 0
  15226. },
  15227. "data": {
  15228. "type": "object",
  15229. "$ref": "#/definitions/v1.GateVisitorListReply"
  15230. },
  15231. "message": {
  15232. "description": "消息",
  15233. "type": "string",
  15234. "default": "success"
  15235. }
  15236. }
  15237. },
  15238. "v1.GetVcodeReply": {
  15239. "type": "object",
  15240. "properties": {
  15241. "vcode": {
  15242. "type": "integer"
  15243. }
  15244. }
  15245. },
  15246. "v1.GetVcodeResponse": {
  15247. "type": "object",
  15248. "properties": {
  15249. "code": {
  15250. "description": "返回码",
  15251. "type": "integer",
  15252. "format": "int",
  15253. "default": 0
  15254. },
  15255. "data": {
  15256. "type": "object",
  15257. "$ref": "#/definitions/v1.GetVcodeReply"
  15258. },
  15259. "message": {
  15260. "description": "消息",
  15261. "type": "string",
  15262. "default": "success"
  15263. }
  15264. }
  15265. },
  15266. "v1.GroupAddBody": {
  15267. "type": "object",
  15268. "properties": {
  15269. "group_desc": {
  15270. "type": "string"
  15271. },
  15272. "group_name": {
  15273. "type": "string"
  15274. },
  15275. "permission_codes": {
  15276. "type": "array",
  15277. "items": {
  15278. "type": "string"
  15279. }
  15280. }
  15281. }
  15282. },
  15283. "v1.GroupAddReply": {
  15284. "type": "object",
  15285. "properties": {
  15286. "id": {
  15287. "type": "integer"
  15288. }
  15289. }
  15290. },
  15291. "v1.GroupAddResponse": {
  15292. "type": "object",
  15293. "properties": {
  15294. "code": {
  15295. "description": "返回码",
  15296. "type": "integer",
  15297. "format": "int",
  15298. "default": 0
  15299. },
  15300. "data": {
  15301. "type": "object",
  15302. "$ref": "#/definitions/v1.GroupAddReply"
  15303. },
  15304. "message": {
  15305. "description": "消息",
  15306. "type": "string",
  15307. "default": "success"
  15308. }
  15309. }
  15310. },
  15311. "v1.GroupDelResponse": {
  15312. "type": "object",
  15313. "properties": {
  15314. "code": {
  15315. "description": "返回码",
  15316. "type": "integer",
  15317. "format": "int",
  15318. "default": 0
  15319. },
  15320. "message": {
  15321. "description": "消息",
  15322. "type": "string",
  15323. "default": "success"
  15324. }
  15325. }
  15326. },
  15327. "v1.GroupInfoReply": {
  15328. "type": "object",
  15329. "properties": {
  15330. "list": {
  15331. "type": "array",
  15332. "items": {
  15333. "$ref": "#/definitions/v1.SystemGroupPermissionItem"
  15334. }
  15335. }
  15336. }
  15337. },
  15338. "v1.GroupInfoResponse": {
  15339. "type": "object",
  15340. "properties": {
  15341. "code": {
  15342. "description": "返回码",
  15343. "type": "integer",
  15344. "format": "int",
  15345. "default": 0
  15346. },
  15347. "data": {
  15348. "type": "object",
  15349. "$ref": "#/definitions/v1.GroupInfoReply"
  15350. },
  15351. "message": {
  15352. "description": "消息",
  15353. "type": "string",
  15354. "default": "success"
  15355. }
  15356. }
  15357. },
  15358. "v1.GroupItem": {
  15359. "type": "object",
  15360. "properties": {
  15361. "group_desc": {
  15362. "type": "string"
  15363. },
  15364. "group_name": {
  15365. "type": "string"
  15366. },
  15367. "id": {
  15368. "type": "integer"
  15369. },
  15370. "super": {
  15371. "type": "boolean"
  15372. },
  15373. "user_count": {
  15374. "type": "integer"
  15375. }
  15376. }
  15377. },
  15378. "v1.GroupListReply": {
  15379. "type": "object",
  15380. "properties": {
  15381. "list": {
  15382. "type": "array",
  15383. "items": {
  15384. "$ref": "#/definitions/v1.GroupItem"
  15385. }
  15386. }
  15387. }
  15388. },
  15389. "v1.GroupListResponse": {
  15390. "type": "object",
  15391. "properties": {
  15392. "code": {
  15393. "description": "返回码",
  15394. "type": "integer",
  15395. "format": "int",
  15396. "default": 0
  15397. },
  15398. "data": {
  15399. "type": "object",
  15400. "$ref": "#/definitions/v1.GroupListReply"
  15401. },
  15402. "message": {
  15403. "description": "消息",
  15404. "type": "string",
  15405. "default": "success"
  15406. }
  15407. }
  15408. },
  15409. "v1.GroupUpdateBody": {
  15410. "type": "object",
  15411. "properties": {
  15412. "group_desc": {
  15413. "type": "string"
  15414. },
  15415. "group_name": {
  15416. "type": "string"
  15417. },
  15418. "id": {
  15419. "type": "integer"
  15420. },
  15421. "permission_codes": {
  15422. "type": "array",
  15423. "items": {
  15424. "type": "string"
  15425. }
  15426. }
  15427. }
  15428. },
  15429. "v1.GroupUpdateResponse": {
  15430. "type": "object",
  15431. "properties": {
  15432. "code": {
  15433. "description": "返回码",
  15434. "type": "integer",
  15435. "format": "int",
  15436. "default": 0
  15437. },
  15438. "message": {
  15439. "description": "消息",
  15440. "type": "string",
  15441. "default": "success"
  15442. }
  15443. }
  15444. },
  15445. "v1.HouseAddBody": {
  15446. "type": "object",
  15447. "properties": {
  15448. "building_id": {
  15449. "type": "integer"
  15450. },
  15451. "hall_count": {
  15452. "description": "几厅",
  15453. "type": "integer"
  15454. },
  15455. "house_area": {
  15456. "description": "房屋建筑面积",
  15457. "type": "number"
  15458. },
  15459. "house_number": {
  15460. "description": "门牌号",
  15461. "type": "string"
  15462. },
  15463. "house_type": {
  15464. "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅",
  15465. "type": "integer"
  15466. },
  15467. "house_used_area": {
  15468. "description": "房屋使用面积",
  15469. "type": "number"
  15470. },
  15471. "layer": {
  15472. "description": "楼层",
  15473. "type": "integer"
  15474. },
  15475. "room_count": {
  15476. "description": "几室",
  15477. "type": "integer"
  15478. },
  15479. "unit_id": {
  15480. "description": "单元id",
  15481. "type": "integer"
  15482. }
  15483. }
  15484. },
  15485. "v1.HouseAddReply": {
  15486. "type": "object",
  15487. "properties": {
  15488. "id": {
  15489. "type": "integer"
  15490. }
  15491. }
  15492. },
  15493. "v1.HouseAddResponse": {
  15494. "type": "object",
  15495. "properties": {
  15496. "code": {
  15497. "description": "返回码",
  15498. "type": "integer",
  15499. "format": "int",
  15500. "default": 0
  15501. },
  15502. "data": {
  15503. "type": "object",
  15504. "$ref": "#/definitions/v1.HouseAddReply"
  15505. },
  15506. "message": {
  15507. "description": "消息",
  15508. "type": "string",
  15509. "default": "success"
  15510. }
  15511. }
  15512. },
  15513. "v1.HouseDelResponse": {
  15514. "type": "object",
  15515. "properties": {
  15516. "code": {
  15517. "description": "返回码",
  15518. "type": "integer",
  15519. "format": "int",
  15520. "default": 0
  15521. },
  15522. "message": {
  15523. "description": "消息",
  15524. "type": "string",
  15525. "default": "success"
  15526. }
  15527. }
  15528. },
  15529. "v1.HouseItem": {
  15530. "type": "object",
  15531. "properties": {
  15532. "building_id": {
  15533. "type": "integer"
  15534. },
  15535. "building_number": {
  15536. "type": "string"
  15537. },
  15538. "hall_count": {
  15539. "description": "几厅",
  15540. "type": "integer"
  15541. },
  15542. "has_lift": {
  15543. "type": "boolean"
  15544. },
  15545. "house_area": {
  15546. "description": "房屋建筑面积",
  15547. "type": "number"
  15548. },
  15549. "house_name": {
  15550. "type": "string"
  15551. },
  15552. "house_number": {
  15553. "description": "门牌号",
  15554. "type": "string"
  15555. },
  15556. "house_type": {
  15557. "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅",
  15558. "type": "integer"
  15559. },
  15560. "house_used_area": {
  15561. "description": "房屋使用面积",
  15562. "type": "number"
  15563. },
  15564. "id": {
  15565. "type": "integer"
  15566. },
  15567. "layer": {
  15568. "description": "楼层",
  15569. "type": "integer"
  15570. },
  15571. "room_count": {
  15572. "description": "几室",
  15573. "type": "integer"
  15574. },
  15575. "status": {
  15576. "description": "房屋状态 1 未入住 2 已入住 3 已出租",
  15577. "type": "integer"
  15578. },
  15579. "unit_id": {
  15580. "description": "单元id",
  15581. "type": "integer"
  15582. },
  15583. "unit_number": {
  15584. "type": "integer"
  15585. }
  15586. }
  15587. },
  15588. "v1.HouseListReply": {
  15589. "type": "object",
  15590. "properties": {
  15591. "list": {
  15592. "type": "array",
  15593. "items": {
  15594. "$ref": "#/definitions/v1.HouseItem"
  15595. }
  15596. },
  15597. "page": {
  15598. "type": "integer"
  15599. },
  15600. "total": {
  15601. "type": "integer"
  15602. }
  15603. }
  15604. },
  15605. "v1.HouseListResponse": {
  15606. "type": "object",
  15607. "properties": {
  15608. "code": {
  15609. "description": "返回码",
  15610. "type": "integer",
  15611. "format": "int",
  15612. "default": 0
  15613. },
  15614. "data": {
  15615. "type": "object",
  15616. "$ref": "#/definitions/v1.HouseListReply"
  15617. },
  15618. "message": {
  15619. "description": "消息",
  15620. "type": "string",
  15621. "default": "success"
  15622. }
  15623. }
  15624. },
  15625. "v1.HouseRentAddManagerBody": {
  15626. "type": "object",
  15627. "properties": {
  15628. "manager_uid": {
  15629. "type": "integer"
  15630. },
  15631. "rent_id": {
  15632. "type": "integer"
  15633. }
  15634. }
  15635. },
  15636. "v1.HouseRentAddManagerReply": {
  15637. "type": "object",
  15638. "properties": {
  15639. "id": {
  15640. "type": "integer"
  15641. }
  15642. }
  15643. },
  15644. "v1.HouseRentAddManagerResponse": {
  15645. "type": "object",
  15646. "properties": {
  15647. "code": {
  15648. "description": "返回码",
  15649. "type": "integer",
  15650. "format": "int",
  15651. "default": 0
  15652. },
  15653. "data": {
  15654. "type": "object",
  15655. "$ref": "#/definitions/v1.HouseRentAddManagerReply"
  15656. },
  15657. "message": {
  15658. "description": "消息",
  15659. "type": "string",
  15660. "default": "success"
  15661. }
  15662. }
  15663. },
  15664. "v1.HouseRentApplyBody": {
  15665. "type": "object",
  15666. "properties": {
  15667. "base_conf": {
  15668. "description": "基础设施 从低到高分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机",
  15669. "type": "integer"
  15670. },
  15671. "cert_pic": {
  15672. "description": "房屋证件图片",
  15673. "type": "array",
  15674. "items": {
  15675. "type": "string"
  15676. }
  15677. },
  15678. "contact_phone": {
  15679. "description": "联系人电话",
  15680. "type": "string"
  15681. },
  15682. "contacter": {
  15683. "description": "联系人",
  15684. "type": "string"
  15685. },
  15686. "decorating": {
  15687. "description": "1 精装 2 简装 3 清水",
  15688. "type": "integer"
  15689. },
  15690. "desc": {
  15691. "description": "简介",
  15692. "type": "string"
  15693. },
  15694. "desposit": {
  15695. "description": "押金",
  15696. "type": "integer"
  15697. },
  15698. "direction": {
  15699. "description": "朝向",
  15700. "type": "integer"
  15701. },
  15702. "house_id": {
  15703. "description": "房屋id",
  15704. "type": "integer"
  15705. },
  15706. "house_pic": {
  15707. "description": "房屋图片",
  15708. "type": "array",
  15709. "items": {
  15710. "type": "string"
  15711. }
  15712. },
  15713. "in_time": {
  15714. "description": "可入住时间",
  15715. "type": "integer"
  15716. },
  15717. "intermediary_price": {
  15718. "description": "中介费",
  15719. "type": "integer"
  15720. },
  15721. "pay_time_type": {
  15722. "description": "1 月付 2 季付 3 半年付 4 年付",
  15723. "type": "integer"
  15724. },
  15725. "rent_price": {
  15726. "description": "月租",
  15727. "type": "integer"
  15728. },
  15729. "rent_type": {
  15730. "description": "1 整租 2 合租 3 转租",
  15731. "type": "integer"
  15732. },
  15733. "room_area": {
  15734. "description": "房间面积",
  15735. "type": "number"
  15736. },
  15737. "room_type": {
  15738. "description": "1 全部 2 主卧 3 次卧",
  15739. "type": "integer"
  15740. },
  15741. "service_price": {
  15742. "description": "服务费",
  15743. "type": "integer"
  15744. },
  15745. "special_conf": {
  15746. "description": "特色配置 从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租",
  15747. "type": "integer"
  15748. },
  15749. "wc_count": {
  15750. "description": "几卫",
  15751. "type": "integer"
  15752. }
  15753. }
  15754. },
  15755. "v1.HouseRentApplyReply": {
  15756. "type": "object",
  15757. "properties": {
  15758. "id": {
  15759. "type": "integer"
  15760. }
  15761. }
  15762. },
  15763. "v1.HouseRentApplyResponse": {
  15764. "type": "object",
  15765. "properties": {
  15766. "code": {
  15767. "description": "返回码",
  15768. "type": "integer",
  15769. "format": "int",
  15770. "default": 0
  15771. },
  15772. "data": {
  15773. "type": "object",
  15774. "$ref": "#/definitions/v1.HouseRentApplyReply"
  15775. },
  15776. "message": {
  15777. "description": "消息",
  15778. "type": "string",
  15779. "default": "success"
  15780. }
  15781. }
  15782. },
  15783. "v1.HouseRentAppointmentDelResponse": {
  15784. "type": "object",
  15785. "properties": {
  15786. "code": {
  15787. "description": "返回码",
  15788. "type": "integer",
  15789. "format": "int",
  15790. "default": 0
  15791. },
  15792. "message": {
  15793. "description": "消息",
  15794. "type": "string",
  15795. "default": "success"
  15796. }
  15797. }
  15798. },
  15799. "v1.HouseRentAppointmentItem": {
  15800. "type": "object",
  15801. "properties": {
  15802. "appointment_time": {
  15803. "type": "integer"
  15804. },
  15805. "area": {
  15806. "type": "number"
  15807. },
  15808. "garden_id": {
  15809. "type": "integer"
  15810. },
  15811. "garden_name": {
  15812. "type": "string"
  15813. },
  15814. "gender": {
  15815. "type": "integer"
  15816. },
  15817. "house_name": {
  15818. "type": "string"
  15819. },
  15820. "id": {
  15821. "type": "integer"
  15822. },
  15823. "layer": {
  15824. "type": "integer"
  15825. },
  15826. "name": {
  15827. "type": "string"
  15828. },
  15829. "phone": {
  15830. "type": "string"
  15831. },
  15832. "rent_id": {
  15833. "type": "integer"
  15834. },
  15835. "status": {
  15836. "description": "1 待受理,2 已受理,3 已拒绝,4 未到访,5已到访,6已过期",
  15837. "type": "integer"
  15838. },
  15839. "uid": {
  15840. "type": "integer"
  15841. }
  15842. }
  15843. },
  15844. "v1.HouseRentAppointmentListReply": {
  15845. "type": "object",
  15846. "properties": {
  15847. "list": {
  15848. "type": "array",
  15849. "items": {
  15850. "$ref": "#/definitions/v1.HouseRentAppointmentItem"
  15851. }
  15852. },
  15853. "page": {
  15854. "type": "integer"
  15855. },
  15856. "total": {
  15857. "type": "integer"
  15858. }
  15859. }
  15860. },
  15861. "v1.HouseRentAppointmentListResponse": {
  15862. "type": "object",
  15863. "properties": {
  15864. "code": {
  15865. "description": "返回码",
  15866. "type": "integer",
  15867. "format": "int",
  15868. "default": 0
  15869. },
  15870. "data": {
  15871. "type": "object",
  15872. "$ref": "#/definitions/v1.HouseRentAppointmentListReply"
  15873. },
  15874. "message": {
  15875. "description": "消息",
  15876. "type": "string",
  15877. "default": "success"
  15878. }
  15879. }
  15880. },
  15881. "v1.HouseRentAppointmentStatusBody": {
  15882. "type": "object",
  15883. "properties": {
  15884. "feedback": {
  15885. "type": "string"
  15886. },
  15887. "id": {
  15888. "type": "integer"
  15889. },
  15890. "status": {
  15891. "description": "2 已受理,3 已拒绝,4 未到访,5已到访",
  15892. "type": "integer"
  15893. }
  15894. }
  15895. },
  15896. "v1.HouseRentAppointmentStatusResponse": {
  15897. "type": "object",
  15898. "properties": {
  15899. "code": {
  15900. "description": "返回码",
  15901. "type": "integer",
  15902. "format": "int",
  15903. "default": 0
  15904. },
  15905. "message": {
  15906. "description": "消息",
  15907. "type": "string",
  15908. "default": "success"
  15909. }
  15910. }
  15911. },
  15912. "v1.HouseRentApproveBody": {
  15913. "type": "object",
  15914. "properties": {
  15915. "feedback": {
  15916. "type": "string"
  15917. },
  15918. "id": {
  15919. "type": "integer"
  15920. },
  15921. "status": {
  15922. "type": "boolean"
  15923. }
  15924. }
  15925. },
  15926. "v1.HouseRentApproveResponse": {
  15927. "type": "object",
  15928. "properties": {
  15929. "code": {
  15930. "description": "返回码",
  15931. "type": "integer",
  15932. "format": "int",
  15933. "default": 0
  15934. },
  15935. "message": {
  15936. "description": "消息",
  15937. "type": "string",
  15938. "default": "success"
  15939. }
  15940. }
  15941. },
  15942. "v1.HouseRentDelManagerResponse": {
  15943. "type": "object",
  15944. "properties": {
  15945. "code": {
  15946. "description": "返回码",
  15947. "type": "integer",
  15948. "format": "int",
  15949. "default": 0
  15950. },
  15951. "message": {
  15952. "description": "消息",
  15953. "type": "string",
  15954. "default": "success"
  15955. }
  15956. }
  15957. },
  15958. "v1.HouseRentDownBody": {
  15959. "type": "object",
  15960. "properties": {
  15961. "id": {
  15962. "type": "integer"
  15963. }
  15964. }
  15965. },
  15966. "v1.HouseRentDownResponse": {
  15967. "type": "object",
  15968. "properties": {
  15969. "code": {
  15970. "description": "返回码",
  15971. "type": "integer",
  15972. "format": "int",
  15973. "default": 0
  15974. },
  15975. "message": {
  15976. "description": "消息",
  15977. "type": "string",
  15978. "default": "success"
  15979. }
  15980. }
  15981. },
  15982. "v1.HouseRentItem": {
  15983. "type": "object",
  15984. "properties": {
  15985. "addr": {
  15986. "type": "string"
  15987. },
  15988. "approve_status": {
  15989. "description": "审核状态 1 待审 2 通过 3 未通过",
  15990. "type": "integer"
  15991. },
  15992. "area": {
  15993. "description": "区域",
  15994. "type": "string"
  15995. },
  15996. "base_conf": {
  15997. "description": "基础设施",
  15998. "type": "integer"
  15999. },
  16000. "cert_pic": {
  16001. "description": "房屋证件图片",
  16002. "type": "array",
  16003. "items": {
  16004. "type": "string"
  16005. }
  16006. },
  16007. "city": {
  16008. "description": "城市",
  16009. "type": "string"
  16010. },
  16011. "contact_phone": {
  16012. "description": "联系人电话",
  16013. "type": "string"
  16014. },
  16015. "contacter": {
  16016. "description": "联系人",
  16017. "type": "string"
  16018. },
  16019. "decorating": {
  16020. "description": "1 精装 2 简装 3 清水",
  16021. "type": "integer"
  16022. },
  16023. "desc": {
  16024. "description": "简介",
  16025. "type": "string"
  16026. },
  16027. "desposit": {
  16028. "description": "押金",
  16029. "type": "integer"
  16030. },
  16031. "direction": {
  16032. "description": "朝向",
  16033. "type": "integer"
  16034. },
  16035. "garden_id": {
  16036. "description": "小区id",
  16037. "type": "integer"
  16038. },
  16039. "garden_name": {
  16040. "description": "小区名称",
  16041. "type": "string"
  16042. },
  16043. "hall_count": {
  16044. "description": "几厅",
  16045. "type": "integer"
  16046. },
  16047. "has_lift": {
  16048. "description": "是否有电梯",
  16049. "type": "boolean"
  16050. },
  16051. "house_area": {
  16052. "description": "房屋建筑面积",
  16053. "type": "number"
  16054. },
  16055. "house_id": {
  16056. "type": "integer"
  16057. },
  16058. "house_name": {
  16059. "description": "房屋号",
  16060. "type": "string"
  16061. },
  16062. "house_pic": {
  16063. "description": "房屋图片",
  16064. "type": "array",
  16065. "items": {
  16066. "type": "string"
  16067. }
  16068. },
  16069. "id": {
  16070. "description": "租房id",
  16071. "type": "integer"
  16072. },
  16073. "in_time": {
  16074. "description": "可入住时间",
  16075. "type": "integer"
  16076. },
  16077. "intermediary_price": {
  16078. "description": "中介费",
  16079. "type": "integer"
  16080. },
  16081. "lat": {
  16082. "description": "纬度",
  16083. "type": "number"
  16084. },
  16085. "layer": {
  16086. "description": "楼层",
  16087. "type": "integer"
  16088. },
  16089. "lnt": {
  16090. "description": "经度",
  16091. "type": "number"
  16092. },
  16093. "pay_time_type": {
  16094. "description": "1 月付 2 季付 3 半年付 4 年付",
  16095. "type": "integer"
  16096. },
  16097. "province": {
  16098. "description": "省份",
  16099. "type": "string"
  16100. },
  16101. "rent_price": {
  16102. "description": "月租",
  16103. "type": "integer"
  16104. },
  16105. "rent_type": {
  16106. "description": "1 整租 2 合租 3 转租",
  16107. "type": "integer"
  16108. },
  16109. "room_area": {
  16110. "description": "房间面积",
  16111. "type": "number"
  16112. },
  16113. "room_count": {
  16114. "description": "几室",
  16115. "type": "integer"
  16116. },
  16117. "room_type": {
  16118. "description": "1 全部 2 主卧 3 次卧",
  16119. "type": "integer"
  16120. },
  16121. "service_price": {
  16122. "description": "服务费",
  16123. "type": "integer"
  16124. },
  16125. "special_conf": {
  16126. "description": "特色配置",
  16127. "type": "integer"
  16128. },
  16129. "street": {
  16130. "description": "街道",
  16131. "type": "string"
  16132. },
  16133. "wc_count": {
  16134. "description": "几卫",
  16135. "type": "integer"
  16136. }
  16137. }
  16138. },
  16139. "v1.HouseRentListResponse": {
  16140. "type": "object",
  16141. "properties": {
  16142. "code": {
  16143. "description": "返回码",
  16144. "type": "integer",
  16145. "format": "int",
  16146. "default": 0
  16147. },
  16148. "data": {
  16149. "type": "object",
  16150. "$ref": "#/definitions/v1.GardenHouseRentListReply"
  16151. },
  16152. "message": {
  16153. "description": "消息",
  16154. "type": "string",
  16155. "default": "success"
  16156. }
  16157. }
  16158. },
  16159. "v1.HouseRentManagerItem": {
  16160. "type": "object",
  16161. "properties": {
  16162. "id": {
  16163. "type": "integer"
  16164. },
  16165. "manager_uid": {
  16166. "type": "integer"
  16167. },
  16168. "name": {
  16169. "description": "姓名",
  16170. "type": "string"
  16171. },
  16172. "phone": {
  16173. "type": "string"
  16174. },
  16175. "user_name": {
  16176. "description": "账号",
  16177. "type": "string"
  16178. }
  16179. }
  16180. },
  16181. "v1.HouseRentManagerListReply": {
  16182. "type": "object",
  16183. "properties": {
  16184. "list": {
  16185. "type": "array",
  16186. "items": {
  16187. "$ref": "#/definitions/v1.HouseRentManagerItem"
  16188. }
  16189. }
  16190. }
  16191. },
  16192. "v1.HouseRentManagerListResponse": {
  16193. "type": "object",
  16194. "properties": {
  16195. "code": {
  16196. "description": "返回码",
  16197. "type": "integer",
  16198. "format": "int",
  16199. "default": 0
  16200. },
  16201. "data": {
  16202. "type": "object",
  16203. "$ref": "#/definitions/v1.HouseRentManagerListReply"
  16204. },
  16205. "message": {
  16206. "description": "消息",
  16207. "type": "string",
  16208. "default": "success"
  16209. }
  16210. }
  16211. },
  16212. "v1.HouseRentUpdateBody": {
  16213. "type": "object",
  16214. "properties": {
  16215. "base_conf": {
  16216. "description": "基础设施 从低到高分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机",
  16217. "type": "integer"
  16218. },
  16219. "cert_pic": {
  16220. "description": "房屋证件图片",
  16221. "type": "array",
  16222. "items": {
  16223. "type": "string"
  16224. }
  16225. },
  16226. "contact_phone": {
  16227. "description": "联系人电话",
  16228. "type": "string"
  16229. },
  16230. "contacter": {
  16231. "description": "联系人",
  16232. "type": "string"
  16233. },
  16234. "decorating": {
  16235. "description": "1 精装 2 简装 3 清水",
  16236. "type": "integer"
  16237. },
  16238. "desc": {
  16239. "description": "简介",
  16240. "type": "string"
  16241. },
  16242. "desposit": {
  16243. "description": "押金",
  16244. "type": "integer"
  16245. },
  16246. "direction": {
  16247. "description": "朝向",
  16248. "type": "integer"
  16249. },
  16250. "house_id": {
  16251. "description": "房屋id",
  16252. "type": "integer"
  16253. },
  16254. "house_pic": {
  16255. "description": "房屋图片",
  16256. "type": "array",
  16257. "items": {
  16258. "type": "string"
  16259. }
  16260. },
  16261. "id": {
  16262. "type": "integer"
  16263. },
  16264. "in_time": {
  16265. "description": "可入住时间",
  16266. "type": "integer"
  16267. },
  16268. "intermediary_price": {
  16269. "description": "中介费",
  16270. "type": "integer"
  16271. },
  16272. "pay_time_type": {
  16273. "description": "1 月付 2 季付 3 半年付 4 年付",
  16274. "type": "integer"
  16275. },
  16276. "rent_price": {
  16277. "description": "月租",
  16278. "type": "integer"
  16279. },
  16280. "rent_type": {
  16281. "description": "1 整租 2 合租 3 转租",
  16282. "type": "integer"
  16283. },
  16284. "room_area": {
  16285. "description": "房间面积",
  16286. "type": "number"
  16287. },
  16288. "room_type": {
  16289. "description": "1 全部 2 主卧 3 次卧",
  16290. "type": "integer"
  16291. },
  16292. "service_price": {
  16293. "description": "服务费",
  16294. "type": "integer"
  16295. },
  16296. "special_conf": {
  16297. "description": "特色配置 从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租",
  16298. "type": "integer"
  16299. },
  16300. "wc_count": {
  16301. "type": "integer"
  16302. }
  16303. }
  16304. },
  16305. "v1.HouseRentUpdateResponse": {
  16306. "type": "object",
  16307. "properties": {
  16308. "code": {
  16309. "description": "返回码",
  16310. "type": "integer",
  16311. "format": "int",
  16312. "default": 0
  16313. },
  16314. "message": {
  16315. "description": "消息",
  16316. "type": "string",
  16317. "default": "success"
  16318. }
  16319. }
  16320. },
  16321. "v1.HouseUpdateBody": {
  16322. "type": "object",
  16323. "properties": {
  16324. "hall_count": {
  16325. "description": "几厅",
  16326. "type": "integer"
  16327. },
  16328. "house_area": {
  16329. "description": "房屋建筑面积",
  16330. "type": "number"
  16331. },
  16332. "house_number": {
  16333. "description": "门牌号",
  16334. "type": "string"
  16335. },
  16336. "house_type": {
  16337. "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅",
  16338. "type": "integer"
  16339. },
  16340. "house_used_area": {
  16341. "description": "房屋使用面积",
  16342. "type": "number"
  16343. },
  16344. "id": {
  16345. "type": "integer"
  16346. },
  16347. "layer": {
  16348. "description": "楼层",
  16349. "type": "integer"
  16350. },
  16351. "room_count": {
  16352. "description": "几室",
  16353. "type": "integer"
  16354. },
  16355. "unit_id": {
  16356. "description": "单元id",
  16357. "type": "integer"
  16358. }
  16359. }
  16360. },
  16361. "v1.HouseUpdateResponse": {
  16362. "type": "object",
  16363. "properties": {
  16364. "code": {
  16365. "description": "返回码",
  16366. "type": "integer",
  16367. "format": "int",
  16368. "default": 0
  16369. },
  16370. "message": {
  16371. "description": "消息",
  16372. "type": "string",
  16373. "default": "success"
  16374. }
  16375. }
  16376. },
  16377. "v1.HouseholdApproveBody": {
  16378. "type": "object",
  16379. "properties": {
  16380. "feedback": {
  16381. "type": "string"
  16382. },
  16383. "id": {
  16384. "type": "integer"
  16385. },
  16386. "status": {
  16387. "type": "boolean"
  16388. }
  16389. }
  16390. },
  16391. "v1.HouseholdApproveResponse": {
  16392. "type": "object",
  16393. "properties": {
  16394. "code": {
  16395. "description": "返回码",
  16396. "type": "integer",
  16397. "format": "int",
  16398. "default": 0
  16399. },
  16400. "message": {
  16401. "description": "消息",
  16402. "type": "string",
  16403. "default": "success"
  16404. }
  16405. }
  16406. },
  16407. "v1.HouseholdItem": {
  16408. "type": "object",
  16409. "properties": {
  16410. "appendix": {
  16411. "type": "array",
  16412. "items": {
  16413. "type": "string"
  16414. }
  16415. },
  16416. "approve_status": {
  16417. "type": "integer"
  16418. },
  16419. "garden_id": {
  16420. "type": "integer"
  16421. },
  16422. "garden_name": {
  16423. "type": "string"
  16424. },
  16425. "house_id": {
  16426. "type": "integer"
  16427. },
  16428. "house_name": {
  16429. "description": "房号",
  16430. "type": "string"
  16431. },
  16432. "id": {
  16433. "type": "integer"
  16434. },
  16435. "id_number": {
  16436. "description": "证件号",
  16437. "type": "string"
  16438. },
  16439. "id_type": {
  16440. "description": "1 身份证 2 护照",
  16441. "type": "integer"
  16442. },
  16443. "name": {
  16444. "type": "string"
  16445. },
  16446. "phone": {
  16447. "type": "string"
  16448. },
  16449. "uid": {
  16450. "type": "integer"
  16451. },
  16452. "user_type": {
  16453. "description": "1业主 2家人 3租客",
  16454. "type": "integer"
  16455. }
  16456. }
  16457. },
  16458. "v1.HouseholdListReply": {
  16459. "type": "object",
  16460. "properties": {
  16461. "list": {
  16462. "type": "array",
  16463. "items": {
  16464. "$ref": "#/definitions/v1.HouseholdItem"
  16465. }
  16466. },
  16467. "page": {
  16468. "type": "integer"
  16469. },
  16470. "total": {
  16471. "type": "integer"
  16472. }
  16473. }
  16474. },
  16475. "v1.HouseholdListResponse": {
  16476. "type": "object",
  16477. "properties": {
  16478. "code": {
  16479. "description": "返回码",
  16480. "type": "integer",
  16481. "format": "int",
  16482. "default": 0
  16483. },
  16484. "data": {
  16485. "type": "object",
  16486. "$ref": "#/definitions/v1.HouseholdListReply"
  16487. },
  16488. "message": {
  16489. "description": "消息",
  16490. "type": "string",
  16491. "default": "success"
  16492. }
  16493. }
  16494. },
  16495. "v1.LoginBody": {
  16496. "type": "object",
  16497. "properties": {
  16498. "password": {
  16499. "type": "string"
  16500. },
  16501. "user": {
  16502. "type": "string"
  16503. }
  16504. }
  16505. },
  16506. "v1.LoginByPhoneBody": {
  16507. "type": "object",
  16508. "properties": {
  16509. "phone": {
  16510. "type": "string"
  16511. },
  16512. "vcode": {
  16513. "description": "短信验证码",
  16514. "type": "integer"
  16515. }
  16516. }
  16517. },
  16518. "v1.LoginByPhoneData": {
  16519. "type": "object",
  16520. "properties": {
  16521. "list": {
  16522. "type": "array",
  16523. "items": {
  16524. "$ref": "#/definitions/v1.LoginByPhoneItem"
  16525. }
  16526. },
  16527. "token": {
  16528. "type": "string"
  16529. }
  16530. }
  16531. },
  16532. "v1.LoginByPhoneItem": {
  16533. "type": "object",
  16534. "properties": {
  16535. "garden_id": {
  16536. "type": "integer"
  16537. },
  16538. "garden_name": {
  16539. "type": "string"
  16540. },
  16541. "is_super": {
  16542. "type": "boolean"
  16543. },
  16544. "openim_id": {
  16545. "type": "string"
  16546. },
  16547. "permissions": {
  16548. "type": "array",
  16549. "items": {
  16550. "$ref": "#/definitions/v1.SystemGroupPermissionData"
  16551. }
  16552. },
  16553. "uid": {
  16554. "type": "integer"
  16555. },
  16556. "user": {
  16557. "type": "string"
  16558. }
  16559. }
  16560. },
  16561. "v1.LoginByPhoneResponse": {
  16562. "type": "object",
  16563. "properties": {
  16564. "code": {
  16565. "description": "返回码",
  16566. "type": "integer",
  16567. "format": "int",
  16568. "default": 0
  16569. },
  16570. "data": {
  16571. "type": "object",
  16572. "$ref": "#/definitions/v1.LoginByPhoneData"
  16573. },
  16574. "message": {
  16575. "description": "消息",
  16576. "type": "string",
  16577. "default": "success"
  16578. }
  16579. }
  16580. },
  16581. "v1.LoginData": {
  16582. "type": "object",
  16583. "properties": {
  16584. "company": {
  16585. "type": "boolean"
  16586. },
  16587. "is_super": {
  16588. "type": "boolean"
  16589. },
  16590. "openim_id": {
  16591. "type": "string"
  16592. },
  16593. "permissions": {
  16594. "type": "array",
  16595. "items": {
  16596. "$ref": "#/definitions/v1.SystemGroupPermissionData"
  16597. }
  16598. },
  16599. "token": {
  16600. "type": "string"
  16601. },
  16602. "uid": {
  16603. "type": "integer"
  16604. },
  16605. "user": {
  16606. "type": "string"
  16607. }
  16608. }
  16609. },
  16610. "v1.LoginResponse": {
  16611. "type": "object",
  16612. "properties": {
  16613. "code": {
  16614. "description": "返回码",
  16615. "type": "integer",
  16616. "format": "int",
  16617. "default": 0
  16618. },
  16619. "data": {
  16620. "type": "object",
  16621. "$ref": "#/definitions/v1.LoginData"
  16622. },
  16623. "message": {
  16624. "description": "消息",
  16625. "type": "string",
  16626. "default": "success"
  16627. },
  16628. "phone_data": {
  16629. "description": "当账号存在多个小区时使用phone_data",
  16630. "type": "object",
  16631. "$ref": "#/definitions/v1.LoginByPhoneData"
  16632. }
  16633. }
  16634. },
  16635. "v1.MaterialInfoReply": {
  16636. "type": "object",
  16637. "properties": {
  16638. "pic": {
  16639. "type": "string"
  16640. }
  16641. }
  16642. },
  16643. "v1.MaterialInfoResponse": {
  16644. "type": "object",
  16645. "properties": {
  16646. "code": {
  16647. "description": "返回码",
  16648. "type": "integer",
  16649. "format": "int",
  16650. "default": 0
  16651. },
  16652. "data": {
  16653. "type": "object",
  16654. "$ref": "#/definitions/v1.MaterialInfoReply"
  16655. },
  16656. "message": {
  16657. "description": "消息",
  16658. "type": "string",
  16659. "default": "success"
  16660. }
  16661. }
  16662. },
  16663. "v1.MaterialItem": {
  16664. "type": "object",
  16665. "properties": {
  16666. "created_at": {
  16667. "type": "integer"
  16668. },
  16669. "enable": {
  16670. "type": "integer"
  16671. },
  16672. "id": {
  16673. "type": "integer"
  16674. },
  16675. "mtype": {
  16676. "type": "integer"
  16677. },
  16678. "pic": {
  16679. "type": "string"
  16680. }
  16681. }
  16682. },
  16683. "v1.MaterialListReply": {
  16684. "type": "object",
  16685. "properties": {
  16686. "list": {
  16687. "type": "array",
  16688. "items": {
  16689. "$ref": "#/definitions/v1.MaterialItem"
  16690. }
  16691. },
  16692. "page": {
  16693. "type": "integer"
  16694. },
  16695. "total": {
  16696. "type": "integer"
  16697. }
  16698. }
  16699. },
  16700. "v1.MaterialListResponse": {
  16701. "type": "object",
  16702. "properties": {
  16703. "code": {
  16704. "description": "返回码",
  16705. "type": "integer",
  16706. "format": "int",
  16707. "default": 0
  16708. },
  16709. "data": {
  16710. "type": "object",
  16711. "$ref": "#/definitions/v1.MaterialListReply"
  16712. },
  16713. "message": {
  16714. "description": "消息",
  16715. "type": "string",
  16716. "default": "success"
  16717. }
  16718. }
  16719. },
  16720. "v1.MsgPackageItem": {
  16721. "type": "object",
  16722. "properties": {
  16723. "comment": {
  16724. "description": "套餐描述",
  16725. "type": "string"
  16726. },
  16727. "id": {
  16728. "type": "integer"
  16729. },
  16730. "msg_count": {
  16731. "description": "短信条数",
  16732. "type": "integer"
  16733. },
  16734. "name": {
  16735. "description": "套餐名称",
  16736. "type": "string"
  16737. },
  16738. "price": {
  16739. "description": "套餐价格",
  16740. "type": "integer"
  16741. }
  16742. }
  16743. },
  16744. "v1.MsgPackageListReply": {
  16745. "type": "object",
  16746. "properties": {
  16747. "list": {
  16748. "type": "array",
  16749. "items": {
  16750. "$ref": "#/definitions/v1.MsgPackageItem"
  16751. }
  16752. },
  16753. "page": {
  16754. "type": "integer"
  16755. },
  16756. "total": {
  16757. "type": "integer"
  16758. }
  16759. }
  16760. },
  16761. "v1.MsgPackageListResponse": {
  16762. "type": "object",
  16763. "properties": {
  16764. "code": {
  16765. "description": "返回码",
  16766. "type": "integer",
  16767. "format": "int",
  16768. "default": 0
  16769. },
  16770. "data": {
  16771. "type": "object",
  16772. "$ref": "#/definitions/v1.MsgPackageListReply"
  16773. },
  16774. "message": {
  16775. "description": "消息",
  16776. "type": "string",
  16777. "default": "success"
  16778. }
  16779. }
  16780. },
  16781. "v1.MsgPackageOrderAddBody": {
  16782. "type": "object",
  16783. "properties": {
  16784. "amount": {
  16785. "description": "套餐总价 price*package_count",
  16786. "type": "integer"
  16787. },
  16788. "package_count": {
  16789. "description": "套餐个数",
  16790. "type": "integer"
  16791. },
  16792. "package_id": {
  16793. "description": "套餐id",
  16794. "type": "integer"
  16795. }
  16796. }
  16797. },
  16798. "v1.MsgPackageOrderAddReply": {
  16799. "type": "object",
  16800. "properties": {
  16801. "amount": {
  16802. "description": "订单金额",
  16803. "type": "integer"
  16804. },
  16805. "bank_account": {
  16806. "description": "银行账号",
  16807. "type": "string"
  16808. },
  16809. "bank_name": {
  16810. "description": "开户行",
  16811. "type": "string"
  16812. },
  16813. "bank_user_name": {
  16814. "description": "户名",
  16815. "type": "string"
  16816. },
  16817. "garden_count": {
  16818. "type": "integer"
  16819. },
  16820. "order_id": {
  16821. "type": "integer"
  16822. },
  16823. "package_count": {
  16824. "description": "购买个数",
  16825. "type": "integer"
  16826. },
  16827. "package_name": {
  16828. "type": "string"
  16829. },
  16830. "pay_type": {
  16831. "description": "支付方式 1 对公转账",
  16832. "type": "integer"
  16833. }
  16834. }
  16835. },
  16836. "v1.MsgPackageOrderAddResponse": {
  16837. "type": "object",
  16838. "properties": {
  16839. "code": {
  16840. "description": "返回码",
  16841. "type": "integer",
  16842. "format": "int",
  16843. "default": 0
  16844. },
  16845. "data": {
  16846. "type": "object",
  16847. "$ref": "#/definitions/v1.MsgPackageOrderAddReply"
  16848. },
  16849. "message": {
  16850. "description": "消息",
  16851. "type": "string",
  16852. "default": "success"
  16853. }
  16854. }
  16855. },
  16856. "v1.MsgPackageOrderItem": {
  16857. "type": "object",
  16858. "properties": {
  16859. "amount": {
  16860. "description": "订单总价",
  16861. "type": "integer"
  16862. },
  16863. "comment": {
  16864. "type": "string"
  16865. },
  16866. "created_at": {
  16867. "type": "integer"
  16868. },
  16869. "feedback": {
  16870. "type": "string"
  16871. },
  16872. "garden_id": {
  16873. "type": "integer"
  16874. },
  16875. "garden_name": {
  16876. "type": "string"
  16877. },
  16878. "msg_available_count": {
  16879. "description": "订单套餐短信剩余条数",
  16880. "type": "integer"
  16881. },
  16882. "msg_count": {
  16883. "description": "套餐短信条数",
  16884. "type": "integer"
  16885. },
  16886. "msg_total_count": {
  16887. "description": "订单套餐短信总条数",
  16888. "type": "integer"
  16889. },
  16890. "name": {
  16891. "type": "string"
  16892. },
  16893. "order_id": {
  16894. "type": "integer"
  16895. },
  16896. "package_count": {
  16897. "description": "订单包含的套餐个数",
  16898. "type": "integer"
  16899. },
  16900. "package_id": {
  16901. "type": "integer"
  16902. },
  16903. "price": {
  16904. "description": "套餐单价",
  16905. "type": "integer"
  16906. },
  16907. "status": {
  16908. "description": "1 待审核 2 通过 3 未通过",
  16909. "type": "integer"
  16910. }
  16911. }
  16912. },
  16913. "v1.MsgPackageOrderListReply": {
  16914. "type": "object",
  16915. "properties": {
  16916. "list": {
  16917. "type": "array",
  16918. "items": {
  16919. "$ref": "#/definitions/v1.MsgPackageOrderItem"
  16920. }
  16921. },
  16922. "page": {
  16923. "type": "integer"
  16924. },
  16925. "total": {
  16926. "type": "integer"
  16927. }
  16928. }
  16929. },
  16930. "v1.MsgPackageOrderListResponse": {
  16931. "type": "object",
  16932. "properties": {
  16933. "code": {
  16934. "description": "返回码",
  16935. "type": "integer",
  16936. "format": "int",
  16937. "default": 0
  16938. },
  16939. "data": {
  16940. "type": "object",
  16941. "$ref": "#/definitions/v1.MsgPackageOrderListReply"
  16942. },
  16943. "message": {
  16944. "description": "消息",
  16945. "type": "string",
  16946. "default": "success"
  16947. }
  16948. }
  16949. },
  16950. "v1.NeighborArticleDelResponse": {
  16951. "type": "object",
  16952. "properties": {
  16953. "code": {
  16954. "description": "返回码",
  16955. "type": "integer",
  16956. "format": "int",
  16957. "default": 0
  16958. },
  16959. "message": {
  16960. "description": "消息",
  16961. "type": "string",
  16962. "default": "success"
  16963. }
  16964. }
  16965. },
  16966. "v1.NeighborArticleItem": {
  16967. "type": "object",
  16968. "properties": {
  16969. "class_id": {
  16970. "description": "分类id",
  16971. "type": "integer"
  16972. },
  16973. "comment_count": {
  16974. "description": "评论总数",
  16975. "type": "integer"
  16976. },
  16977. "content": {
  16978. "type": "string"
  16979. },
  16980. "created_at": {
  16981. "type": "string"
  16982. },
  16983. "id": {
  16984. "type": "integer"
  16985. },
  16986. "like": {
  16987. "description": "true 本人已点赞 false 本人未点赞",
  16988. "type": "boolean"
  16989. },
  16990. "likes": {
  16991. "description": "文章点赞数",
  16992. "type": "integer"
  16993. },
  16994. "owner": {
  16995. "description": "是否是本人发布的文章",
  16996. "type": "boolean"
  16997. },
  16998. "pics": {
  16999. "type": "array",
  17000. "items": {
  17001. "type": "string"
  17002. }
  17003. },
  17004. "title": {
  17005. "type": "string"
  17006. },
  17007. "uid": {
  17008. "type": "integer"
  17009. },
  17010. "updated_at": {
  17011. "type": "string"
  17012. },
  17013. "user_icon": {
  17014. "description": "用户头像",
  17015. "type": "string"
  17016. },
  17017. "user_name": {
  17018. "type": "string"
  17019. },
  17020. "user_phone": {
  17021. "type": "string"
  17022. }
  17023. }
  17024. },
  17025. "v1.NeighborArticleListReply": {
  17026. "type": "object",
  17027. "properties": {
  17028. "list": {
  17029. "type": "array",
  17030. "items": {
  17031. "$ref": "#/definitions/v1.NeighborArticleItem"
  17032. }
  17033. },
  17034. "page": {
  17035. "type": "integer"
  17036. },
  17037. "total": {
  17038. "type": "integer"
  17039. }
  17040. }
  17041. },
  17042. "v1.NeighborArticleListResponse": {
  17043. "type": "object",
  17044. "properties": {
  17045. "code": {
  17046. "description": "返回码",
  17047. "type": "integer",
  17048. "format": "int",
  17049. "default": 0
  17050. },
  17051. "data": {
  17052. "type": "object",
  17053. "$ref": "#/definitions/v1.NeighborArticleListReply"
  17054. },
  17055. "message": {
  17056. "description": "消息",
  17057. "type": "string",
  17058. "default": "success"
  17059. }
  17060. }
  17061. },
  17062. "v1.NeighborClassAddBody": {
  17063. "type": "object",
  17064. "properties": {
  17065. "class_name": {
  17066. "type": "string"
  17067. },
  17068. "class_pic": {
  17069. "description": "分类图标",
  17070. "type": "string"
  17071. },
  17072. "enable": {
  17073. "description": "true 开启 false 禁用",
  17074. "type": "boolean"
  17075. }
  17076. }
  17077. },
  17078. "v1.NeighborClassAddResponse": {
  17079. "type": "object",
  17080. "properties": {
  17081. "code": {
  17082. "description": "返回码",
  17083. "type": "integer",
  17084. "format": "int",
  17085. "default": 0
  17086. },
  17087. "message": {
  17088. "description": "消息",
  17089. "type": "string",
  17090. "default": "success"
  17091. }
  17092. }
  17093. },
  17094. "v1.NeighborClassDelResponse": {
  17095. "type": "object",
  17096. "properties": {
  17097. "code": {
  17098. "description": "返回码",
  17099. "type": "integer",
  17100. "format": "int",
  17101. "default": 0
  17102. },
  17103. "message": {
  17104. "description": "消息",
  17105. "type": "string",
  17106. "default": "success"
  17107. }
  17108. }
  17109. },
  17110. "v1.NeighborClassItem": {
  17111. "type": "object",
  17112. "properties": {
  17113. "article_count": {
  17114. "description": "分类下的文章总数",
  17115. "type": "integer"
  17116. },
  17117. "class_name": {
  17118. "type": "string"
  17119. },
  17120. "class_pic": {
  17121. "type": "string"
  17122. },
  17123. "created_at": {
  17124. "description": "分类创建时间",
  17125. "type": "string"
  17126. },
  17127. "enable": {
  17128. "type": "boolean"
  17129. },
  17130. "id": {
  17131. "type": "integer"
  17132. },
  17133. "updated_at": {
  17134. "description": "分类结束时间",
  17135. "type": "string"
  17136. }
  17137. }
  17138. },
  17139. "v1.NeighborClassListReply": {
  17140. "type": "object",
  17141. "properties": {
  17142. "list": {
  17143. "type": "array",
  17144. "items": {
  17145. "$ref": "#/definitions/v1.NeighborClassItem"
  17146. }
  17147. },
  17148. "page": {
  17149. "type": "integer"
  17150. },
  17151. "total": {
  17152. "type": "integer"
  17153. }
  17154. }
  17155. },
  17156. "v1.NeighborClassListResponse": {
  17157. "type": "object",
  17158. "properties": {
  17159. "code": {
  17160. "description": "返回码",
  17161. "type": "integer",
  17162. "format": "int",
  17163. "default": 0
  17164. },
  17165. "data": {
  17166. "type": "object",
  17167. "$ref": "#/definitions/v1.NeighborClassListReply"
  17168. },
  17169. "message": {
  17170. "description": "消息",
  17171. "type": "string",
  17172. "default": "success"
  17173. }
  17174. }
  17175. },
  17176. "v1.NeighborClassUpdateBody": {
  17177. "type": "object",
  17178. "properties": {
  17179. "class_name": {
  17180. "type": "string"
  17181. },
  17182. "class_pic": {
  17183. "description": "分类图标",
  17184. "type": "string"
  17185. },
  17186. "enable": {
  17187. "description": "true 开启 false 禁用",
  17188. "type": "boolean"
  17189. },
  17190. "id": {
  17191. "type": "integer"
  17192. }
  17193. }
  17194. },
  17195. "v1.NeighborClassUpdateResponse": {
  17196. "type": "object",
  17197. "properties": {
  17198. "code": {
  17199. "description": "返回码",
  17200. "type": "integer",
  17201. "format": "int",
  17202. "default": 0
  17203. },
  17204. "message": {
  17205. "description": "消息",
  17206. "type": "string",
  17207. "default": "success"
  17208. }
  17209. }
  17210. },
  17211. "v1.NeighborCommentDelResponse": {
  17212. "type": "object",
  17213. "properties": {
  17214. "code": {
  17215. "description": "返回码",
  17216. "type": "integer",
  17217. "format": "int",
  17218. "default": 0
  17219. },
  17220. "message": {
  17221. "description": "消息",
  17222. "type": "string",
  17223. "default": "success"
  17224. }
  17225. }
  17226. },
  17227. "v1.NeighborCommentItem": {
  17228. "type": "object",
  17229. "properties": {
  17230. "content": {
  17231. "type": "string"
  17232. },
  17233. "created_at": {
  17234. "type": "string"
  17235. },
  17236. "id": {
  17237. "type": "integer"
  17238. },
  17239. "like": {
  17240. "description": "本人是否点赞",
  17241. "type": "boolean"
  17242. },
  17243. "likes": {
  17244. "description": "点赞数",
  17245. "type": "integer"
  17246. },
  17247. "owner": {
  17248. "description": "是否是本人发布的文章",
  17249. "type": "boolean"
  17250. },
  17251. "pics": {
  17252. "type": "array",
  17253. "items": {
  17254. "type": "string"
  17255. }
  17256. },
  17257. "sub_comment_count": {
  17258. "description": "子评论数",
  17259. "type": "integer"
  17260. },
  17261. "uid": {
  17262. "type": "integer"
  17263. },
  17264. "updated_at": {
  17265. "type": "string"
  17266. },
  17267. "user_icon": {
  17268. "description": "用户头像",
  17269. "type": "string"
  17270. },
  17271. "user_name": {
  17272. "type": "string"
  17273. },
  17274. "user_phone": {
  17275. "type": "string"
  17276. }
  17277. }
  17278. },
  17279. "v1.NeighborCommentListReply": {
  17280. "type": "object",
  17281. "properties": {
  17282. "list": {
  17283. "type": "array",
  17284. "items": {
  17285. "$ref": "#/definitions/v1.NeighborCommentItem"
  17286. }
  17287. },
  17288. "page": {
  17289. "type": "integer"
  17290. },
  17291. "total": {
  17292. "type": "integer"
  17293. }
  17294. }
  17295. },
  17296. "v1.NeighborCommentListResponse": {
  17297. "type": "object",
  17298. "properties": {
  17299. "code": {
  17300. "description": "返回码",
  17301. "type": "integer",
  17302. "format": "int",
  17303. "default": 0
  17304. },
  17305. "data": {
  17306. "type": "object",
  17307. "$ref": "#/definitions/v1.NeighborCommentListReply"
  17308. },
  17309. "message": {
  17310. "description": "消息",
  17311. "type": "string",
  17312. "default": "success"
  17313. }
  17314. }
  17315. },
  17316. "v1.OpenImTokenReply": {
  17317. "type": "object",
  17318. "properties": {
  17319. "expire_at": {
  17320. "type": "integer"
  17321. },
  17322. "token": {
  17323. "type": "string"
  17324. }
  17325. }
  17326. },
  17327. "v1.OpenImTokenResponse": {
  17328. "type": "object",
  17329. "properties": {
  17330. "code": {
  17331. "description": "返回码",
  17332. "type": "integer",
  17333. "format": "int",
  17334. "default": 0
  17335. },
  17336. "data": {
  17337. "type": "object",
  17338. "$ref": "#/definitions/v1.OpenImTokenReply"
  17339. },
  17340. "message": {
  17341. "description": "消息",
  17342. "type": "string",
  17343. "default": "success"
  17344. }
  17345. }
  17346. },
  17347. "v1.OpenImUserData": {
  17348. "type": "object",
  17349. "properties": {
  17350. "face_url": {
  17351. "type": "string"
  17352. },
  17353. "gender": {
  17354. "type": "integer"
  17355. },
  17356. "nick_name": {
  17357. "type": "string"
  17358. },
  17359. "openim_id": {
  17360. "type": "string"
  17361. }
  17362. }
  17363. },
  17364. "v1.OpenImUserInfoReply": {
  17365. "type": "object",
  17366. "properties": {
  17367. "list": {
  17368. "type": "array",
  17369. "items": {
  17370. "$ref": "#/definitions/v1.OpenImUserData"
  17371. }
  17372. }
  17373. }
  17374. },
  17375. "v1.OpenImUserInfoResponse": {
  17376. "type": "object",
  17377. "properties": {
  17378. "code": {
  17379. "description": "返回码",
  17380. "type": "integer",
  17381. "format": "int",
  17382. "default": 0
  17383. },
  17384. "data": {
  17385. "type": "object",
  17386. "$ref": "#/definitions/v1.OpenImUserData"
  17387. },
  17388. "message": {
  17389. "description": "消息",
  17390. "type": "string",
  17391. "default": "success"
  17392. }
  17393. }
  17394. },
  17395. "v1.OpenImUserSetFaceBody": {
  17396. "type": "object",
  17397. "properties": {
  17398. "face_url": {
  17399. "type": "string"
  17400. },
  17401. "openim_id": {
  17402. "type": "string"
  17403. }
  17404. }
  17405. },
  17406. "v1.OpenImUserSetFaceResponse": {
  17407. "type": "object",
  17408. "properties": {
  17409. "code": {
  17410. "description": "返回码",
  17411. "type": "integer",
  17412. "format": "int",
  17413. "default": 0
  17414. },
  17415. "message": {
  17416. "description": "消息",
  17417. "type": "string",
  17418. "default": "success"
  17419. }
  17420. }
  17421. },
  17422. "v1.OpenImUsersInfoResponse": {
  17423. "type": "object",
  17424. "properties": {
  17425. "code": {
  17426. "description": "返回码",
  17427. "type": "integer",
  17428. "format": "int",
  17429. "default": 0
  17430. },
  17431. "data": {
  17432. "type": "object",
  17433. "$ref": "#/definitions/v1.OpenImUserInfoReply"
  17434. },
  17435. "message": {
  17436. "description": "消息",
  17437. "type": "string",
  17438. "default": "success"
  17439. }
  17440. }
  17441. },
  17442. "v1.ParkAddBody": {
  17443. "type": "object",
  17444. "properties": {
  17445. "comment": {
  17446. "type": "string"
  17447. },
  17448. "park_name": {
  17449. "type": "string"
  17450. },
  17451. "park_number": {
  17452. "type": "string"
  17453. },
  17454. "park_type": {
  17455. "type": "integer"
  17456. }
  17457. }
  17458. },
  17459. "v1.ParkAddReply": {
  17460. "type": "object",
  17461. "properties": {
  17462. "id": {
  17463. "type": "integer"
  17464. }
  17465. }
  17466. },
  17467. "v1.ParkAddResponse": {
  17468. "type": "object",
  17469. "properties": {
  17470. "code": {
  17471. "description": "返回码",
  17472. "type": "integer",
  17473. "format": "int",
  17474. "default": 0
  17475. },
  17476. "data": {
  17477. "type": "object",
  17478. "$ref": "#/definitions/v1.ParkAddReply"
  17479. },
  17480. "message": {
  17481. "description": "消息",
  17482. "type": "string",
  17483. "default": "success"
  17484. }
  17485. }
  17486. },
  17487. "v1.ParkDelResponse": {
  17488. "type": "object",
  17489. "properties": {
  17490. "code": {
  17491. "description": "返回码",
  17492. "type": "integer",
  17493. "format": "int",
  17494. "default": 0
  17495. },
  17496. "message": {
  17497. "description": "消息",
  17498. "type": "string",
  17499. "default": "success"
  17500. }
  17501. }
  17502. },
  17503. "v1.ParkItem": {
  17504. "type": "object",
  17505. "properties": {
  17506. "comment": {
  17507. "type": "string"
  17508. },
  17509. "created_at": {
  17510. "type": "string"
  17511. },
  17512. "garden_id": {
  17513. "type": "integer"
  17514. },
  17515. "id": {
  17516. "type": "integer"
  17517. },
  17518. "park_name": {
  17519. "type": "string"
  17520. },
  17521. "park_number": {
  17522. "type": "string"
  17523. },
  17524. "park_type": {
  17525. "type": "integer"
  17526. },
  17527. "space_count": {
  17528. "type": "integer"
  17529. }
  17530. }
  17531. },
  17532. "v1.ParkListReply": {
  17533. "type": "object",
  17534. "properties": {
  17535. "list": {
  17536. "type": "array",
  17537. "items": {
  17538. "$ref": "#/definitions/v1.ParkItem"
  17539. }
  17540. }
  17541. }
  17542. },
  17543. "v1.ParkListResponse": {
  17544. "type": "object",
  17545. "properties": {
  17546. "code": {
  17547. "description": "返回码",
  17548. "type": "integer",
  17549. "format": "int",
  17550. "default": 0
  17551. },
  17552. "data": {
  17553. "type": "object",
  17554. "$ref": "#/definitions/v1.ParkListReply"
  17555. },
  17556. "message": {
  17557. "description": "消息",
  17558. "type": "string",
  17559. "default": "success"
  17560. }
  17561. }
  17562. },
  17563. "v1.ParkSpaceAddBody": {
  17564. "type": "object",
  17565. "properties": {
  17566. "comment": {
  17567. "type": "string"
  17568. },
  17569. "house_id": {
  17570. "type": "integer"
  17571. },
  17572. "park_id": {
  17573. "type": "integer"
  17574. },
  17575. "space_area": {
  17576. "type": "number"
  17577. },
  17578. "space_number": {
  17579. "type": "string"
  17580. },
  17581. "space_type": {
  17582. "type": "integer"
  17583. }
  17584. }
  17585. },
  17586. "v1.ParkSpaceDelResponse": {
  17587. "type": "object",
  17588. "properties": {
  17589. "code": {
  17590. "description": "返回码",
  17591. "type": "integer",
  17592. "format": "int",
  17593. "default": 0
  17594. },
  17595. "message": {
  17596. "description": "消息",
  17597. "type": "string",
  17598. "default": "success"
  17599. }
  17600. }
  17601. },
  17602. "v1.ParkSpaceItem": {
  17603. "type": "object",
  17604. "properties": {
  17605. "comment": {
  17606. "type": "string"
  17607. },
  17608. "created_at": {
  17609. "type": "string"
  17610. },
  17611. "house_id": {
  17612. "type": "integer"
  17613. },
  17614. "house_name": {
  17615. "type": "string"
  17616. },
  17617. "id": {
  17618. "type": "integer"
  17619. },
  17620. "park_id": {
  17621. "type": "integer"
  17622. },
  17623. "park_name": {
  17624. "type": "string"
  17625. },
  17626. "park_number": {
  17627. "type": "string"
  17628. },
  17629. "park_type": {
  17630. "type": "integer"
  17631. },
  17632. "plate_no": {
  17633. "type": "string"
  17634. },
  17635. "space_area": {
  17636. "type": "number"
  17637. },
  17638. "space_number": {
  17639. "type": "string"
  17640. },
  17641. "space_type": {
  17642. "type": "integer"
  17643. },
  17644. "status": {
  17645. "description": "1 空闲 2 已售 3 已租",
  17646. "type": "integer"
  17647. }
  17648. }
  17649. },
  17650. "v1.ParkSpaceListReply": {
  17651. "type": "object",
  17652. "properties": {
  17653. "list": {
  17654. "type": "array",
  17655. "items": {
  17656. "$ref": "#/definitions/v1.ParkSpaceItem"
  17657. }
  17658. },
  17659. "page": {
  17660. "type": "integer"
  17661. },
  17662. "total": {
  17663. "type": "integer"
  17664. }
  17665. }
  17666. },
  17667. "v1.ParkSpaceListResponse": {
  17668. "type": "object",
  17669. "properties": {
  17670. "code": {
  17671. "description": "返回码",
  17672. "type": "integer",
  17673. "format": "int",
  17674. "default": 0
  17675. },
  17676. "data": {
  17677. "type": "object",
  17678. "$ref": "#/definitions/v1.ParkSpaceListReply"
  17679. },
  17680. "message": {
  17681. "description": "消息",
  17682. "type": "string",
  17683. "default": "success"
  17684. }
  17685. }
  17686. },
  17687. "v1.ParkSpaceUpdateBody": {
  17688. "type": "object",
  17689. "properties": {
  17690. "comment": {
  17691. "type": "string"
  17692. },
  17693. "house_id": {
  17694. "type": "integer"
  17695. },
  17696. "id": {
  17697. "type": "integer"
  17698. },
  17699. "park_id": {
  17700. "type": "integer"
  17701. },
  17702. "space_area": {
  17703. "type": "number"
  17704. },
  17705. "space_number": {
  17706. "type": "string"
  17707. },
  17708. "space_type": {
  17709. "type": "integer"
  17710. }
  17711. }
  17712. },
  17713. "v1.ParkSpaceUpdateResponse": {
  17714. "type": "object",
  17715. "properties": {
  17716. "code": {
  17717. "description": "返回码",
  17718. "type": "integer",
  17719. "format": "int",
  17720. "default": 0
  17721. },
  17722. "message": {
  17723. "description": "消息",
  17724. "type": "string",
  17725. "default": "success"
  17726. }
  17727. }
  17728. },
  17729. "v1.ParkUpdateBody": {
  17730. "type": "object",
  17731. "properties": {
  17732. "comment": {
  17733. "type": "string"
  17734. },
  17735. "id": {
  17736. "type": "integer"
  17737. },
  17738. "park_name": {
  17739. "type": "string"
  17740. },
  17741. "park_number": {
  17742. "type": "string"
  17743. },
  17744. "park_type": {
  17745. "type": "integer"
  17746. }
  17747. }
  17748. },
  17749. "v1.ParkUpdateResponse": {
  17750. "type": "object",
  17751. "properties": {
  17752. "code": {
  17753. "description": "返回码",
  17754. "type": "integer",
  17755. "format": "int",
  17756. "default": 0
  17757. },
  17758. "message": {
  17759. "description": "消息",
  17760. "type": "string",
  17761. "default": "success"
  17762. }
  17763. }
  17764. },
  17765. "v1.PersonInfoData": {
  17766. "type": "object",
  17767. "properties": {
  17768. "department": {
  17769. "type": "string"
  17770. },
  17771. "email": {
  17772. "type": "string"
  17773. },
  17774. "gender": {
  17775. "type": "integer"
  17776. },
  17777. "phone": {
  17778. "type": "string"
  17779. },
  17780. "real_name": {
  17781. "type": "string"
  17782. },
  17783. "user": {
  17784. "type": "string"
  17785. }
  17786. }
  17787. },
  17788. "v1.PersonInfoResponse": {
  17789. "type": "object",
  17790. "properties": {
  17791. "code": {
  17792. "description": "返回码",
  17793. "type": "integer",
  17794. "format": "int",
  17795. "default": 0
  17796. },
  17797. "data": {
  17798. "type": "object",
  17799. "$ref": "#/definitions/v1.PersonInfoData"
  17800. },
  17801. "message": {
  17802. "description": "消息",
  17803. "type": "string",
  17804. "default": "success"
  17805. }
  17806. }
  17807. },
  17808. "v1.PersonInfoUpdateResponse": {
  17809. "type": "object",
  17810. "properties": {
  17811. "code": {
  17812. "description": "返回码",
  17813. "type": "integer",
  17814. "format": "int",
  17815. "default": 0
  17816. },
  17817. "message": {
  17818. "description": "消息",
  17819. "type": "string",
  17820. "default": "success"
  17821. }
  17822. }
  17823. },
  17824. "v1.PowerRecordAddBody": {
  17825. "type": "object",
  17826. "properties": {
  17827. "charge_type": {
  17828. "description": "费用类型",
  17829. "type": "integer"
  17830. },
  17831. "comment": {
  17832. "description": "备注",
  17833. "type": "string"
  17834. },
  17835. "current_amount": {
  17836. "description": "本期抄表数",
  17837. "type": "number"
  17838. },
  17839. "end": {
  17840. "description": "结束时间戳",
  17841. "type": "integer"
  17842. },
  17843. "house_id": {
  17844. "description": "房屋id",
  17845. "type": "integer"
  17846. },
  17847. "last_amount": {
  17848. "description": "上期抄表数",
  17849. "type": "number"
  17850. },
  17851. "start": {
  17852. "description": "开始时间戳",
  17853. "type": "integer"
  17854. }
  17855. }
  17856. },
  17857. "v1.PowerRecordAddReply": {
  17858. "type": "object"
  17859. },
  17860. "v1.PowerRecordAddResponse": {
  17861. "type": "object",
  17862. "properties": {
  17863. "code": {
  17864. "description": "返回码",
  17865. "type": "integer",
  17866. "format": "int",
  17867. "default": 0
  17868. },
  17869. "data": {
  17870. "type": "object",
  17871. "$ref": "#/definitions/v1.PowerRecordAddReply"
  17872. },
  17873. "message": {
  17874. "description": "消息",
  17875. "type": "string",
  17876. "default": "success"
  17877. }
  17878. }
  17879. },
  17880. "v1.PowerRecordBatchAddResponse": {
  17881. "type": "object",
  17882. "properties": {
  17883. "code": {
  17884. "description": "返回码",
  17885. "type": "integer",
  17886. "format": "int",
  17887. "default": 0
  17888. },
  17889. "message": {
  17890. "description": "消息",
  17891. "type": "string",
  17892. "default": "success"
  17893. }
  17894. }
  17895. },
  17896. "v1.PowerRecordDelResponse": {
  17897. "type": "object",
  17898. "properties": {
  17899. "code": {
  17900. "description": "返回码",
  17901. "type": "integer",
  17902. "format": "int",
  17903. "default": 0
  17904. },
  17905. "message": {
  17906. "description": "消息",
  17907. "type": "string",
  17908. "default": "success"
  17909. }
  17910. }
  17911. },
  17912. "v1.PowerRecordItem": {
  17913. "type": "object",
  17914. "properties": {
  17915. "charge_type": {
  17916. "type": "integer"
  17917. },
  17918. "comment": {
  17919. "type": "string"
  17920. },
  17921. "created_at": {
  17922. "type": "integer"
  17923. },
  17924. "current_amount": {
  17925. "type": "number"
  17926. },
  17927. "end": {
  17928. "type": "integer"
  17929. },
  17930. "has_bill": {
  17931. "type": "boolean"
  17932. },
  17933. "house_id": {
  17934. "type": "integer"
  17935. },
  17936. "house_name": {
  17937. "type": "string"
  17938. },
  17939. "id": {
  17940. "type": "integer"
  17941. },
  17942. "last_amount": {
  17943. "type": "number"
  17944. },
  17945. "read_at": {
  17946. "type": "integer"
  17947. },
  17948. "start": {
  17949. "type": "integer"
  17950. }
  17951. }
  17952. },
  17953. "v1.PowerRecordListReply": {
  17954. "type": "object",
  17955. "properties": {
  17956. "list": {
  17957. "type": "array",
  17958. "items": {
  17959. "$ref": "#/definitions/v1.PowerRecordItem"
  17960. }
  17961. },
  17962. "page": {
  17963. "type": "integer"
  17964. },
  17965. "total": {
  17966. "type": "integer"
  17967. }
  17968. }
  17969. },
  17970. "v1.PowerRecordListResponse": {
  17971. "type": "object",
  17972. "properties": {
  17973. "code": {
  17974. "description": "返回码",
  17975. "type": "integer",
  17976. "format": "int",
  17977. "default": 0
  17978. },
  17979. "data": {
  17980. "type": "object",
  17981. "$ref": "#/definitions/v1.PowerRecordListReply"
  17982. },
  17983. "message": {
  17984. "description": "消息",
  17985. "type": "string",
  17986. "default": "success"
  17987. }
  17988. }
  17989. },
  17990. "v1.PropertyPackageAddBody": {
  17991. "type": "object",
  17992. "properties": {
  17993. "enable": {
  17994. "type": "boolean"
  17995. },
  17996. "give_content": {
  17997. "description": "增送文本",
  17998. "type": "string"
  17999. },
  18000. "give_months": {
  18001. "description": "赠送月数",
  18002. "type": "integer"
  18003. },
  18004. "package_type": {
  18005. "description": "1 按月 2 按文本",
  18006. "type": "integer"
  18007. },
  18008. "pay_months": {
  18009. "description": "购买月数",
  18010. "type": "integer"
  18011. }
  18012. }
  18013. },
  18014. "v1.PropertyPackageAddReply": {
  18015. "type": "object",
  18016. "properties": {
  18017. "id": {
  18018. "type": "integer"
  18019. }
  18020. }
  18021. },
  18022. "v1.PropertyPackageAddResponse": {
  18023. "type": "object",
  18024. "properties": {
  18025. "code": {
  18026. "description": "返回码",
  18027. "type": "integer",
  18028. "format": "int",
  18029. "default": 0
  18030. },
  18031. "data": {
  18032. "type": "object",
  18033. "$ref": "#/definitions/v1.PropertyPackageAddReply"
  18034. },
  18035. "message": {
  18036. "description": "消息",
  18037. "type": "string",
  18038. "default": "success"
  18039. }
  18040. }
  18041. },
  18042. "v1.PropertyPackageDelResponse": {
  18043. "type": "object",
  18044. "properties": {
  18045. "code": {
  18046. "description": "返回码",
  18047. "type": "integer",
  18048. "format": "int",
  18049. "default": 0
  18050. },
  18051. "message": {
  18052. "description": "消息",
  18053. "type": "string",
  18054. "default": "success"
  18055. }
  18056. }
  18057. },
  18058. "v1.PropertyPackageItem": {
  18059. "type": "object",
  18060. "properties": {
  18061. "enable": {
  18062. "type": "boolean"
  18063. },
  18064. "give_content": {
  18065. "description": "增送文本",
  18066. "type": "string"
  18067. },
  18068. "give_months": {
  18069. "description": "赠送月数",
  18070. "type": "integer"
  18071. },
  18072. "id": {
  18073. "type": "integer"
  18074. },
  18075. "package_type": {
  18076. "description": "1 按月 2 按文本",
  18077. "type": "integer"
  18078. },
  18079. "pay_months": {
  18080. "description": "购买月数",
  18081. "type": "integer"
  18082. }
  18083. }
  18084. },
  18085. "v1.PropertyPackageListReply": {
  18086. "type": "object",
  18087. "properties": {
  18088. "list": {
  18089. "type": "array",
  18090. "items": {
  18091. "$ref": "#/definitions/v1.PropertyPackageItem"
  18092. }
  18093. },
  18094. "page": {
  18095. "type": "integer"
  18096. },
  18097. "total": {
  18098. "type": "integer"
  18099. }
  18100. }
  18101. },
  18102. "v1.PropertyPackageListResponse": {
  18103. "type": "object",
  18104. "properties": {
  18105. "code": {
  18106. "description": "返回码",
  18107. "type": "integer",
  18108. "format": "int",
  18109. "default": 0
  18110. },
  18111. "data": {
  18112. "type": "object",
  18113. "$ref": "#/definitions/v1.PropertyPackageListReply"
  18114. },
  18115. "message": {
  18116. "description": "消息",
  18117. "type": "string",
  18118. "default": "success"
  18119. }
  18120. }
  18121. },
  18122. "v1.PropertyPackageUpdateBody": {
  18123. "type": "object",
  18124. "properties": {
  18125. "enable": {
  18126. "type": "boolean"
  18127. },
  18128. "give_content": {
  18129. "description": "增送文本",
  18130. "type": "string"
  18131. },
  18132. "give_months": {
  18133. "description": "赠送月数",
  18134. "type": "integer"
  18135. },
  18136. "id": {
  18137. "type": "integer"
  18138. },
  18139. "package_type": {
  18140. "description": "1 按月 2 按文本",
  18141. "type": "integer"
  18142. },
  18143. "pay_months": {
  18144. "description": "购买月数",
  18145. "type": "integer"
  18146. }
  18147. }
  18148. },
  18149. "v1.PropertyPackageUpdateResponse": {
  18150. "type": "object",
  18151. "properties": {
  18152. "code": {
  18153. "description": "返回码",
  18154. "type": "integer",
  18155. "format": "int",
  18156. "default": 0
  18157. },
  18158. "message": {
  18159. "description": "消息",
  18160. "type": "string",
  18161. "default": "success"
  18162. }
  18163. }
  18164. },
  18165. "v1.RepairClassAddBody": {
  18166. "type": "object",
  18167. "properties": {
  18168. "area": {
  18169. "description": "1 公共区域 2 室内",
  18170. "type": "integer"
  18171. },
  18172. "enable": {
  18173. "type": "boolean"
  18174. },
  18175. "name": {
  18176. "type": "string"
  18177. }
  18178. }
  18179. },
  18180. "v1.RepairClassAddReply": {
  18181. "type": "object",
  18182. "properties": {
  18183. "id": {
  18184. "type": "integer"
  18185. }
  18186. }
  18187. },
  18188. "v1.RepairClassAddResponse": {
  18189. "type": "object",
  18190. "properties": {
  18191. "code": {
  18192. "description": "返回码",
  18193. "type": "integer",
  18194. "format": "int",
  18195. "default": 0
  18196. },
  18197. "data": {
  18198. "type": "object",
  18199. "$ref": "#/definitions/v1.RepairClassAddReply"
  18200. },
  18201. "message": {
  18202. "description": "消息",
  18203. "type": "string",
  18204. "default": "success"
  18205. }
  18206. }
  18207. },
  18208. "v1.RepairClassDelResponse": {
  18209. "type": "object",
  18210. "properties": {
  18211. "code": {
  18212. "description": "返回码",
  18213. "type": "integer",
  18214. "format": "int",
  18215. "default": 0
  18216. },
  18217. "message": {
  18218. "description": "消息",
  18219. "type": "string",
  18220. "default": "success"
  18221. }
  18222. }
  18223. },
  18224. "v1.RepairClassItem": {
  18225. "type": "object",
  18226. "properties": {
  18227. "area": {
  18228. "type": "integer"
  18229. },
  18230. "enable": {
  18231. "type": "boolean"
  18232. },
  18233. "id": {
  18234. "type": "integer"
  18235. },
  18236. "name": {
  18237. "type": "string"
  18238. }
  18239. }
  18240. },
  18241. "v1.RepairClassListReply": {
  18242. "type": "object",
  18243. "properties": {
  18244. "list": {
  18245. "type": "array",
  18246. "items": {
  18247. "$ref": "#/definitions/v1.RepairClassItem"
  18248. }
  18249. },
  18250. "page": {
  18251. "type": "integer"
  18252. },
  18253. "total": {
  18254. "type": "integer"
  18255. }
  18256. }
  18257. },
  18258. "v1.RepairClassListResponse": {
  18259. "type": "object",
  18260. "properties": {
  18261. "code": {
  18262. "description": "返回码",
  18263. "type": "integer",
  18264. "format": "int",
  18265. "default": 0
  18266. },
  18267. "data": {
  18268. "type": "object",
  18269. "$ref": "#/definitions/v1.RepairClassListReply"
  18270. },
  18271. "message": {
  18272. "description": "消息",
  18273. "type": "string",
  18274. "default": "success"
  18275. }
  18276. }
  18277. },
  18278. "v1.RepairClassUpdateBody": {
  18279. "type": "object",
  18280. "properties": {
  18281. "area": {
  18282. "type": "integer"
  18283. },
  18284. "enable": {
  18285. "type": "boolean"
  18286. },
  18287. "id": {
  18288. "type": "integer"
  18289. },
  18290. "name": {
  18291. "type": "string"
  18292. }
  18293. }
  18294. },
  18295. "v1.RepairClassUpdateResponse": {
  18296. "type": "object",
  18297. "properties": {
  18298. "code": {
  18299. "description": "返回码",
  18300. "type": "integer",
  18301. "format": "int",
  18302. "default": 0
  18303. },
  18304. "message": {
  18305. "description": "消息",
  18306. "type": "string",
  18307. "default": "success"
  18308. }
  18309. }
  18310. },
  18311. "v1.RepairOrderAddBody": {
  18312. "type": "object",
  18313. "properties": {
  18314. "apply_content": {
  18315. "description": "报修内容",
  18316. "type": "string"
  18317. },
  18318. "apply_people": {
  18319. "description": "报修人",
  18320. "type": "string"
  18321. },
  18322. "apply_people_phone": {
  18323. "description": "报修人电话",
  18324. "type": "string"
  18325. },
  18326. "apply_pic": {
  18327. "description": "报修图片",
  18328. "type": "array",
  18329. "items": {
  18330. "type": "string"
  18331. }
  18332. },
  18333. "appointment": {
  18334. "description": "预约时间",
  18335. "type": "integer"
  18336. },
  18337. "class_id": {
  18338. "description": "分类id",
  18339. "type": "integer"
  18340. },
  18341. "house_id": {
  18342. "description": "房屋id",
  18343. "type": "integer"
  18344. }
  18345. }
  18346. },
  18347. "v1.RepairOrderAddReply": {
  18348. "type": "object",
  18349. "properties": {
  18350. "id": {
  18351. "type": "integer"
  18352. }
  18353. }
  18354. },
  18355. "v1.RepairOrderAddResponse": {
  18356. "type": "object",
  18357. "properties": {
  18358. "code": {
  18359. "description": "返回码",
  18360. "type": "integer",
  18361. "format": "int",
  18362. "default": 0
  18363. },
  18364. "data": {
  18365. "type": "object",
  18366. "$ref": "#/definitions/v1.RepairOrderAddReply"
  18367. },
  18368. "message": {
  18369. "description": "消息",
  18370. "type": "string",
  18371. "default": "success"
  18372. }
  18373. }
  18374. },
  18375. "v1.RepairOrderBackBody": {
  18376. "type": "object",
  18377. "properties": {
  18378. "feedback": {
  18379. "description": "意见",
  18380. "type": "string"
  18381. },
  18382. "id": {
  18383. "description": "工单id",
  18384. "type": "integer"
  18385. }
  18386. }
  18387. },
  18388. "v1.RepairOrderBackResponse": {
  18389. "type": "object",
  18390. "properties": {
  18391. "code": {
  18392. "description": "返回码",
  18393. "type": "integer",
  18394. "format": "int",
  18395. "default": 0
  18396. },
  18397. "message": {
  18398. "description": "消息",
  18399. "type": "string",
  18400. "default": "success"
  18401. }
  18402. }
  18403. },
  18404. "v1.RepairOrderDelResponse": {
  18405. "type": "object",
  18406. "properties": {
  18407. "code": {
  18408. "description": "返回码",
  18409. "type": "integer",
  18410. "format": "int",
  18411. "default": 0
  18412. },
  18413. "message": {
  18414. "description": "消息",
  18415. "type": "string",
  18416. "default": "success"
  18417. }
  18418. }
  18419. },
  18420. "v1.RepairOrderFinishBody": {
  18421. "type": "object",
  18422. "properties": {
  18423. "feedback": {
  18424. "description": "意见",
  18425. "type": "string"
  18426. },
  18427. "id": {
  18428. "description": "工单id",
  18429. "type": "integer"
  18430. },
  18431. "repair_pic": {
  18432. "description": "处理图片",
  18433. "type": "array",
  18434. "items": {
  18435. "type": "string"
  18436. }
  18437. }
  18438. }
  18439. },
  18440. "v1.RepairOrderFinishResponse": {
  18441. "type": "object",
  18442. "properties": {
  18443. "code": {
  18444. "description": "返回码",
  18445. "type": "integer",
  18446. "format": "int",
  18447. "default": 0
  18448. },
  18449. "message": {
  18450. "description": "消息",
  18451. "type": "string",
  18452. "default": "success"
  18453. }
  18454. }
  18455. },
  18456. "v1.RepairOrderInfoReply": {
  18457. "type": "object",
  18458. "properties": {
  18459. "base_info": {
  18460. "description": "基本信息",
  18461. "type": "object",
  18462. "$ref": "#/definitions/v1.RepairOrderItem"
  18463. },
  18464. "list": {
  18465. "description": "工单流水线",
  18466. "type": "array",
  18467. "items": {
  18468. "$ref": "#/definitions/v1.RepairOrderPipelineData"
  18469. }
  18470. }
  18471. }
  18472. },
  18473. "v1.RepairOrderInfoResponse": {
  18474. "type": "object",
  18475. "properties": {
  18476. "code": {
  18477. "description": "返回码",
  18478. "type": "integer",
  18479. "format": "int",
  18480. "default": 0
  18481. },
  18482. "data": {
  18483. "type": "object",
  18484. "$ref": "#/definitions/v1.RepairOrderInfoReply"
  18485. },
  18486. "message": {
  18487. "description": "消息",
  18488. "type": "string",
  18489. "default": "success"
  18490. }
  18491. }
  18492. },
  18493. "v1.RepairOrderItem": {
  18494. "type": "object",
  18495. "properties": {
  18496. "apply_content": {
  18497. "description": "报修内容",
  18498. "type": "string"
  18499. },
  18500. "apply_people": {
  18501. "description": "报修人",
  18502. "type": "string"
  18503. },
  18504. "apply_people_phone": {
  18505. "description": "报修人电话",
  18506. "type": "string"
  18507. },
  18508. "apply_pic": {
  18509. "description": "报修图片",
  18510. "type": "array",
  18511. "items": {
  18512. "type": "string"
  18513. }
  18514. },
  18515. "appointment": {
  18516. "description": "预约时间",
  18517. "type": "string"
  18518. },
  18519. "area": {
  18520. "type": "integer"
  18521. },
  18522. "building_id": {
  18523. "description": "楼栋id",
  18524. "type": "integer"
  18525. },
  18526. "class_id": {
  18527. "description": "分类id",
  18528. "type": "integer"
  18529. },
  18530. "class_name": {
  18531. "description": "分类名称",
  18532. "type": "string"
  18533. },
  18534. "created_at": {
  18535. "description": "报修时间",
  18536. "type": "string"
  18537. },
  18538. "current_user": {
  18539. "description": "当前状态处理人",
  18540. "type": "string"
  18541. },
  18542. "house_id": {
  18543. "description": "房屋id",
  18544. "type": "integer"
  18545. },
  18546. "house_name": {
  18547. "description": "房屋全称",
  18548. "type": "string"
  18549. },
  18550. "id": {
  18551. "type": "integer"
  18552. },
  18553. "last_user": {
  18554. "description": "上级处理人",
  18555. "type": "string"
  18556. },
  18557. "repair_pic": {
  18558. "description": "维修图片",
  18559. "type": "array",
  18560. "items": {
  18561. "type": "string"
  18562. }
  18563. },
  18564. "repair_time": {
  18565. "description": "维修时间",
  18566. "type": "string"
  18567. },
  18568. "return_visit_content": {
  18569. "description": "回访内容",
  18570. "type": "string"
  18571. },
  18572. "return_visit_level": {
  18573. "description": "回访满意度",
  18574. "type": "integer"
  18575. },
  18576. "status": {
  18577. "type": "integer"
  18578. },
  18579. "unit_id": {
  18580. "description": "单元id",
  18581. "type": "integer"
  18582. }
  18583. }
  18584. },
  18585. "v1.RepairOrderListReply": {
  18586. "type": "object",
  18587. "properties": {
  18588. "list": {
  18589. "type": "array",
  18590. "items": {
  18591. "$ref": "#/definitions/v1.RepairOrderItem"
  18592. }
  18593. },
  18594. "page": {
  18595. "type": "integer"
  18596. },
  18597. "total": {
  18598. "type": "integer"
  18599. }
  18600. }
  18601. },
  18602. "v1.RepairOrderListResponse": {
  18603. "type": "object",
  18604. "properties": {
  18605. "code": {
  18606. "description": "返回码",
  18607. "type": "integer",
  18608. "format": "int",
  18609. "default": 0
  18610. },
  18611. "data": {
  18612. "type": "object",
  18613. "$ref": "#/definitions/v1.RepairOrderListReply"
  18614. },
  18615. "message": {
  18616. "description": "消息",
  18617. "type": "string",
  18618. "default": "success"
  18619. }
  18620. }
  18621. },
  18622. "v1.RepairOrderPipelineData": {
  18623. "type": "object",
  18624. "properties": {
  18625. "feedback": {
  18626. "description": "处理意见",
  18627. "type": "string"
  18628. },
  18629. "handle_time": {
  18630. "description": "处理时间",
  18631. "type": "string"
  18632. },
  18633. "phone": {
  18634. "type": "string"
  18635. },
  18636. "status": {
  18637. "type": "string"
  18638. },
  18639. "user": {
  18640. "description": "处理人",
  18641. "type": "string"
  18642. }
  18643. }
  18644. },
  18645. "v1.RepairOrderReturnVisitBody": {
  18646. "type": "object",
  18647. "properties": {
  18648. "id": {
  18649. "type": "integer"
  18650. },
  18651. "return_visit_content": {
  18652. "description": "回访内容",
  18653. "type": "string"
  18654. },
  18655. "return_visit_level": {
  18656. "description": "1 满意 2 不满意",
  18657. "type": "integer"
  18658. }
  18659. }
  18660. },
  18661. "v1.RepairOrderReturnVisitResponse": {
  18662. "type": "object",
  18663. "properties": {
  18664. "code": {
  18665. "description": "返回码",
  18666. "type": "integer",
  18667. "format": "int",
  18668. "default": 0
  18669. },
  18670. "message": {
  18671. "description": "消息",
  18672. "type": "string",
  18673. "default": "success"
  18674. }
  18675. }
  18676. },
  18677. "v1.RepairOrderSendBody": {
  18678. "type": "object",
  18679. "properties": {
  18680. "current_uid": {
  18681. "description": "指派给谁",
  18682. "type": "integer"
  18683. },
  18684. "feedback": {
  18685. "description": "意见",
  18686. "type": "string"
  18687. },
  18688. "id": {
  18689. "description": "工单id",
  18690. "type": "integer"
  18691. }
  18692. }
  18693. },
  18694. "v1.RepairOrderSendResponse": {
  18695. "type": "object",
  18696. "properties": {
  18697. "code": {
  18698. "description": "返回码",
  18699. "type": "integer",
  18700. "format": "int",
  18701. "default": 0
  18702. },
  18703. "message": {
  18704. "description": "消息",
  18705. "type": "string",
  18706. "default": "success"
  18707. }
  18708. }
  18709. },
  18710. "v1.RepairOrderUpdateBody": {
  18711. "type": "object",
  18712. "properties": {
  18713. "apply_content": {
  18714. "description": "报修内容",
  18715. "type": "string"
  18716. },
  18717. "apply_people": {
  18718. "description": "报修人",
  18719. "type": "string"
  18720. },
  18721. "apply_people_phone": {
  18722. "description": "报修人电话",
  18723. "type": "string"
  18724. },
  18725. "apply_pic": {
  18726. "description": "报修图片",
  18727. "type": "array",
  18728. "items": {
  18729. "type": "string"
  18730. }
  18731. },
  18732. "appointment": {
  18733. "description": "预约时间",
  18734. "type": "integer"
  18735. },
  18736. "class_id": {
  18737. "description": "分类id",
  18738. "type": "integer"
  18739. },
  18740. "house_id": {
  18741. "description": "房屋id",
  18742. "type": "integer"
  18743. },
  18744. "id": {
  18745. "type": "integer"
  18746. }
  18747. }
  18748. },
  18749. "v1.RepairOrderUpdateResponse": {
  18750. "type": "object",
  18751. "properties": {
  18752. "code": {
  18753. "description": "返回码",
  18754. "type": "integer",
  18755. "format": "int",
  18756. "default": 0
  18757. },
  18758. "message": {
  18759. "description": "消息",
  18760. "type": "string",
  18761. "default": "success"
  18762. }
  18763. }
  18764. },
  18765. "v1.ResetPasswordBody": {
  18766. "type": "object",
  18767. "properties": {
  18768. "password": {
  18769. "type": "string"
  18770. },
  18771. "phone": {
  18772. "type": "string"
  18773. },
  18774. "uid": {
  18775. "description": "用户id,第一次调用时为空,如果电话对应多个账号,选择账号后第二次调用需填该值",
  18776. "type": "integer"
  18777. },
  18778. "vcode": {
  18779. "description": "短信验证码",
  18780. "type": "integer"
  18781. }
  18782. }
  18783. },
  18784. "v1.ResetPasswordData": {
  18785. "type": "object",
  18786. "properties": {
  18787. "garden_name": {
  18788. "description": "小区名",
  18789. "type": "string"
  18790. },
  18791. "uid": {
  18792. "description": "用户id",
  18793. "type": "integer"
  18794. },
  18795. "username": {
  18796. "description": "用户名",
  18797. "type": "string"
  18798. }
  18799. }
  18800. },
  18801. "v1.ResetPasswordReply": {
  18802. "type": "object",
  18803. "properties": {
  18804. "list": {
  18805. "type": "array",
  18806. "items": {
  18807. "$ref": "#/definitions/v1.ResetPasswordData"
  18808. }
  18809. }
  18810. }
  18811. },
  18812. "v1.ResetPasswordResponse": {
  18813. "type": "object",
  18814. "properties": {
  18815. "code": {
  18816. "description": "返回码",
  18817. "type": "integer",
  18818. "format": "int",
  18819. "default": 0
  18820. },
  18821. "data": {
  18822. "type": "object",
  18823. "$ref": "#/definitions/v1.ResetPasswordReply"
  18824. },
  18825. "message": {
  18826. "description": "消息",
  18827. "type": "string",
  18828. "default": "success"
  18829. }
  18830. }
  18831. },
  18832. "v1.ServicePhoneAddBody": {
  18833. "type": "object",
  18834. "properties": {
  18835. "class_id": {
  18836. "type": "integer"
  18837. },
  18838. "enable": {
  18839. "type": "boolean"
  18840. },
  18841. "name": {
  18842. "type": "string"
  18843. },
  18844. "phone": {
  18845. "type": "string"
  18846. }
  18847. }
  18848. },
  18849. "v1.ServicePhoneAddReply": {
  18850. "type": "object",
  18851. "properties": {
  18852. "id": {
  18853. "type": "integer"
  18854. }
  18855. }
  18856. },
  18857. "v1.ServicePhoneAddResponse": {
  18858. "type": "object",
  18859. "properties": {
  18860. "code": {
  18861. "description": "返回码",
  18862. "type": "integer",
  18863. "format": "int",
  18864. "default": 0
  18865. },
  18866. "data": {
  18867. "type": "object",
  18868. "$ref": "#/definitions/v1.ServicePhoneAddReply"
  18869. },
  18870. "message": {
  18871. "description": "消息",
  18872. "type": "string",
  18873. "default": "success"
  18874. }
  18875. }
  18876. },
  18877. "v1.ServicePhoneClassAddBody": {
  18878. "type": "object",
  18879. "properties": {
  18880. "class_name": {
  18881. "type": "string"
  18882. },
  18883. "enable": {
  18884. "type": "boolean"
  18885. }
  18886. }
  18887. },
  18888. "v1.ServicePhoneClassAddReply": {
  18889. "type": "object",
  18890. "properties": {
  18891. "id": {
  18892. "type": "integer"
  18893. }
  18894. }
  18895. },
  18896. "v1.ServicePhoneClassAddResponse": {
  18897. "type": "object",
  18898. "properties": {
  18899. "code": {
  18900. "description": "返回码",
  18901. "type": "integer",
  18902. "format": "int",
  18903. "default": 0
  18904. },
  18905. "data": {
  18906. "type": "object",
  18907. "$ref": "#/definitions/v1.ServicePhoneClassAddReply"
  18908. },
  18909. "message": {
  18910. "description": "消息",
  18911. "type": "string",
  18912. "default": "success"
  18913. }
  18914. }
  18915. },
  18916. "v1.ServicePhoneClassDelResponse": {
  18917. "type": "object",
  18918. "properties": {
  18919. "code": {
  18920. "description": "返回码",
  18921. "type": "integer",
  18922. "format": "int",
  18923. "default": 0
  18924. },
  18925. "message": {
  18926. "description": "消息",
  18927. "type": "string",
  18928. "default": "success"
  18929. }
  18930. }
  18931. },
  18932. "v1.ServicePhoneClassItem": {
  18933. "type": "object",
  18934. "properties": {
  18935. "class_name": {
  18936. "type": "string"
  18937. },
  18938. "enable": {
  18939. "type": "boolean"
  18940. },
  18941. "id": {
  18942. "type": "integer"
  18943. }
  18944. }
  18945. },
  18946. "v1.ServicePhoneClassListReply": {
  18947. "type": "object",
  18948. "properties": {
  18949. "list": {
  18950. "type": "array",
  18951. "items": {
  18952. "$ref": "#/definitions/v1.ServicePhoneClassItem"
  18953. }
  18954. },
  18955. "page": {
  18956. "type": "integer"
  18957. },
  18958. "total": {
  18959. "type": "integer"
  18960. }
  18961. }
  18962. },
  18963. "v1.ServicePhoneClassListResponse": {
  18964. "type": "object",
  18965. "properties": {
  18966. "code": {
  18967. "description": "返回码",
  18968. "type": "integer",
  18969. "format": "int",
  18970. "default": 0
  18971. },
  18972. "data": {
  18973. "type": "object",
  18974. "$ref": "#/definitions/v1.ServicePhoneClassListReply"
  18975. },
  18976. "message": {
  18977. "description": "消息",
  18978. "type": "string",
  18979. "default": "success"
  18980. }
  18981. }
  18982. },
  18983. "v1.ServicePhoneClassUpdateBody": {
  18984. "type": "object",
  18985. "properties": {
  18986. "class_name": {
  18987. "type": "string"
  18988. },
  18989. "enable": {
  18990. "type": "boolean"
  18991. },
  18992. "id": {
  18993. "type": "integer"
  18994. }
  18995. }
  18996. },
  18997. "v1.ServicePhoneClassUpdateResponse": {
  18998. "type": "object",
  18999. "properties": {
  19000. "code": {
  19001. "description": "返回码",
  19002. "type": "integer",
  19003. "format": "int",
  19004. "default": 0
  19005. },
  19006. "message": {
  19007. "description": "消息",
  19008. "type": "string",
  19009. "default": "success"
  19010. }
  19011. }
  19012. },
  19013. "v1.ServicePhoneDelResponse": {
  19014. "type": "object",
  19015. "properties": {
  19016. "code": {
  19017. "description": "返回码",
  19018. "type": "integer",
  19019. "format": "int",
  19020. "default": 0
  19021. },
  19022. "message": {
  19023. "description": "消息",
  19024. "type": "string",
  19025. "default": "success"
  19026. }
  19027. }
  19028. },
  19029. "v1.ServicePhoneItem": {
  19030. "type": "object",
  19031. "properties": {
  19032. "class_id": {
  19033. "type": "integer"
  19034. },
  19035. "class_name": {
  19036. "type": "string"
  19037. },
  19038. "enable": {
  19039. "type": "boolean"
  19040. },
  19041. "id": {
  19042. "type": "integer"
  19043. },
  19044. "name": {
  19045. "type": "string"
  19046. },
  19047. "phone": {
  19048. "type": "string"
  19049. }
  19050. }
  19051. },
  19052. "v1.ServicePhoneListReply": {
  19053. "type": "object",
  19054. "properties": {
  19055. "list": {
  19056. "type": "array",
  19057. "items": {
  19058. "$ref": "#/definitions/v1.ServicePhoneItem"
  19059. }
  19060. },
  19061. "page": {
  19062. "type": "integer"
  19063. },
  19064. "total": {
  19065. "type": "integer"
  19066. }
  19067. }
  19068. },
  19069. "v1.ServicePhoneListResponse": {
  19070. "type": "object",
  19071. "properties": {
  19072. "code": {
  19073. "description": "返回码",
  19074. "type": "integer",
  19075. "format": "int",
  19076. "default": 0
  19077. },
  19078. "data": {
  19079. "type": "object",
  19080. "$ref": "#/definitions/v1.ServicePhoneListReply"
  19081. },
  19082. "message": {
  19083. "description": "消息",
  19084. "type": "string",
  19085. "default": "success"
  19086. }
  19087. }
  19088. },
  19089. "v1.ServicePhoneUpdateBody": {
  19090. "type": "object",
  19091. "properties": {
  19092. "enable": {
  19093. "type": "boolean"
  19094. },
  19095. "id": {
  19096. "type": "integer"
  19097. },
  19098. "name": {
  19099. "type": "string"
  19100. },
  19101. "phone": {
  19102. "type": "string"
  19103. }
  19104. }
  19105. },
  19106. "v1.ServicePhoneUpdateResponse": {
  19107. "type": "object",
  19108. "properties": {
  19109. "code": {
  19110. "description": "返回码",
  19111. "type": "integer",
  19112. "format": "int",
  19113. "default": 0
  19114. },
  19115. "message": {
  19116. "description": "消息",
  19117. "type": "string",
  19118. "default": "success"
  19119. }
  19120. }
  19121. },
  19122. "v1.StatisticReply": {
  19123. "type": "object",
  19124. "properties": {
  19125. "house_count": {
  19126. "description": "房屋数",
  19127. "type": "integer"
  19128. },
  19129. "list": {
  19130. "type": "array",
  19131. "items": {
  19132. "$ref": "#/definitions/v1.StatisticWaitFinish"
  19133. }
  19134. },
  19135. "space_count": {
  19136. "description": "车位数",
  19137. "type": "integer"
  19138. },
  19139. "user_count": {
  19140. "description": "住户数",
  19141. "type": "integer"
  19142. },
  19143. "vehicle_count": {
  19144. "description": "车辆数",
  19145. "type": "integer"
  19146. }
  19147. }
  19148. },
  19149. "v1.StatisticResponse": {
  19150. "type": "object",
  19151. "properties": {
  19152. "code": {
  19153. "description": "返回码",
  19154. "type": "integer",
  19155. "format": "int",
  19156. "default": 0
  19157. },
  19158. "data": {
  19159. "type": "object",
  19160. "$ref": "#/definitions/v1.StatisticReply"
  19161. },
  19162. "message": {
  19163. "description": "消息",
  19164. "type": "string",
  19165. "default": "success"
  19166. }
  19167. }
  19168. },
  19169. "v1.StatisticWaitFinish": {
  19170. "type": "object",
  19171. "properties": {
  19172. "finish_count": {
  19173. "type": "integer"
  19174. },
  19175. "type": {
  19176. "type": "string"
  19177. },
  19178. "wait_count": {
  19179. "type": "integer"
  19180. }
  19181. }
  19182. },
  19183. "v1.SuggestionOrderAddBody": {
  19184. "type": "object",
  19185. "properties": {
  19186. "apply_content": {
  19187. "description": "投诉内容",
  19188. "type": "string"
  19189. },
  19190. "apply_people": {
  19191. "description": "投诉人",
  19192. "type": "string"
  19193. },
  19194. "apply_people_phone": {
  19195. "description": "投诉人电话",
  19196. "type": "string"
  19197. },
  19198. "apply_pic": {
  19199. "description": "投诉图片",
  19200. "type": "array",
  19201. "items": {
  19202. "type": "string"
  19203. }
  19204. },
  19205. "suggestion_type": {
  19206. "description": "投诉类型 1 投诉 2 建议",
  19207. "type": "integer"
  19208. }
  19209. }
  19210. },
  19211. "v1.SuggestionOrderAddReply": {
  19212. "type": "object",
  19213. "properties": {
  19214. "id": {
  19215. "type": "integer"
  19216. }
  19217. }
  19218. },
  19219. "v1.SuggestionOrderAddResponse": {
  19220. "type": "object",
  19221. "properties": {
  19222. "code": {
  19223. "description": "返回码",
  19224. "type": "integer",
  19225. "format": "int",
  19226. "default": 0
  19227. },
  19228. "data": {
  19229. "type": "object",
  19230. "$ref": "#/definitions/v1.SuggestionOrderAddReply"
  19231. },
  19232. "message": {
  19233. "description": "消息",
  19234. "type": "string",
  19235. "default": "success"
  19236. }
  19237. }
  19238. },
  19239. "v1.SuggestionOrderBackBody": {
  19240. "type": "object",
  19241. "properties": {
  19242. "feedback": {
  19243. "description": "意见",
  19244. "type": "string"
  19245. },
  19246. "id": {
  19247. "description": "工单id",
  19248. "type": "integer"
  19249. }
  19250. }
  19251. },
  19252. "v1.SuggestionOrderBackResponse": {
  19253. "type": "object",
  19254. "properties": {
  19255. "code": {
  19256. "description": "返回码",
  19257. "type": "integer",
  19258. "format": "int",
  19259. "default": 0
  19260. },
  19261. "message": {
  19262. "description": "消息",
  19263. "type": "string",
  19264. "default": "success"
  19265. }
  19266. }
  19267. },
  19268. "v1.SuggestionOrderDelResponse": {
  19269. "type": "object",
  19270. "properties": {
  19271. "code": {
  19272. "description": "返回码",
  19273. "type": "integer",
  19274. "format": "int",
  19275. "default": 0
  19276. },
  19277. "message": {
  19278. "description": "消息",
  19279. "type": "string",
  19280. "default": "success"
  19281. }
  19282. }
  19283. },
  19284. "v1.SuggestionOrderFinishBody": {
  19285. "type": "object",
  19286. "properties": {
  19287. "feedback": {
  19288. "description": "意见",
  19289. "type": "string"
  19290. },
  19291. "handle_pic": {
  19292. "description": "处理图片",
  19293. "type": "array",
  19294. "items": {
  19295. "type": "string"
  19296. }
  19297. },
  19298. "id": {
  19299. "description": "工单id",
  19300. "type": "integer"
  19301. }
  19302. }
  19303. },
  19304. "v1.SuggestionOrderFinishResponse": {
  19305. "type": "object",
  19306. "properties": {
  19307. "code": {
  19308. "description": "返回码",
  19309. "type": "integer",
  19310. "format": "int",
  19311. "default": 0
  19312. },
  19313. "message": {
  19314. "description": "消息",
  19315. "type": "string",
  19316. "default": "success"
  19317. }
  19318. }
  19319. },
  19320. "v1.SuggestionOrderInfoReply": {
  19321. "type": "object",
  19322. "properties": {
  19323. "base_info": {
  19324. "description": "基本信息",
  19325. "type": "object",
  19326. "$ref": "#/definitions/v1.SuggestionOrderItem"
  19327. },
  19328. "list": {
  19329. "description": "工单流水线",
  19330. "type": "array",
  19331. "items": {
  19332. "$ref": "#/definitions/v1.SuggestionOrderPipelineData"
  19333. }
  19334. }
  19335. }
  19336. },
  19337. "v1.SuggestionOrderInfoResponse": {
  19338. "type": "object",
  19339. "properties": {
  19340. "code": {
  19341. "description": "返回码",
  19342. "type": "integer",
  19343. "format": "int",
  19344. "default": 0
  19345. },
  19346. "data": {
  19347. "type": "object",
  19348. "$ref": "#/definitions/v1.SuggestionOrderInfoReply"
  19349. },
  19350. "message": {
  19351. "description": "消息",
  19352. "type": "string",
  19353. "default": "success"
  19354. }
  19355. }
  19356. },
  19357. "v1.SuggestionOrderItem": {
  19358. "type": "object",
  19359. "properties": {
  19360. "apply_content": {
  19361. "description": "投诉内容",
  19362. "type": "string"
  19363. },
  19364. "apply_people": {
  19365. "description": "投诉人",
  19366. "type": "string"
  19367. },
  19368. "apply_people_phone": {
  19369. "description": "投诉人电话",
  19370. "type": "string"
  19371. },
  19372. "apply_pic": {
  19373. "description": "投诉图片",
  19374. "type": "array",
  19375. "items": {
  19376. "type": "string"
  19377. }
  19378. },
  19379. "created_at": {
  19380. "description": "投诉时间",
  19381. "type": "string"
  19382. },
  19383. "current_user": {
  19384. "description": "当前状态处理人",
  19385. "type": "string"
  19386. },
  19387. "id": {
  19388. "type": "integer"
  19389. },
  19390. "last_user": {
  19391. "description": "上级处理人",
  19392. "type": "string"
  19393. },
  19394. "return_visit_content": {
  19395. "description": "回访内容",
  19396. "type": "string"
  19397. },
  19398. "return_visit_level": {
  19399. "description": "回访满意度",
  19400. "type": "integer"
  19401. },
  19402. "status": {
  19403. "type": "integer"
  19404. },
  19405. "suggestion_type": {
  19406. "description": "投诉类型 1 投诉 2 建议",
  19407. "type": "integer"
  19408. }
  19409. }
  19410. },
  19411. "v1.SuggestionOrderListReply": {
  19412. "type": "object",
  19413. "properties": {
  19414. "list": {
  19415. "type": "array",
  19416. "items": {
  19417. "$ref": "#/definitions/v1.SuggestionOrderItem"
  19418. }
  19419. },
  19420. "page": {
  19421. "type": "integer"
  19422. },
  19423. "total": {
  19424. "type": "integer"
  19425. }
  19426. }
  19427. },
  19428. "v1.SuggestionOrderListResponse": {
  19429. "type": "object",
  19430. "properties": {
  19431. "code": {
  19432. "description": "返回码",
  19433. "type": "integer",
  19434. "format": "int",
  19435. "default": 0
  19436. },
  19437. "data": {
  19438. "type": "object",
  19439. "$ref": "#/definitions/v1.SuggestionOrderListReply"
  19440. },
  19441. "message": {
  19442. "description": "消息",
  19443. "type": "string",
  19444. "default": "success"
  19445. }
  19446. }
  19447. },
  19448. "v1.SuggestionOrderPipelineData": {
  19449. "type": "object",
  19450. "properties": {
  19451. "feedback": {
  19452. "description": "处理意见",
  19453. "type": "string"
  19454. },
  19455. "handle_time": {
  19456. "description": "处理时间",
  19457. "type": "string"
  19458. },
  19459. "phone": {
  19460. "type": "string"
  19461. },
  19462. "status": {
  19463. "type": "string"
  19464. },
  19465. "user": {
  19466. "description": "处理人",
  19467. "type": "string"
  19468. }
  19469. }
  19470. },
  19471. "v1.SuggestionOrderReturnVisitBody": {
  19472. "type": "object",
  19473. "properties": {
  19474. "id": {
  19475. "type": "integer"
  19476. },
  19477. "return_visit_content": {
  19478. "description": "回访内容",
  19479. "type": "string"
  19480. },
  19481. "return_visit_level": {
  19482. "description": "1 满意 2 不满意",
  19483. "type": "integer"
  19484. }
  19485. }
  19486. },
  19487. "v1.SuggestionOrderReturnVisitResponse": {
  19488. "type": "object",
  19489. "properties": {
  19490. "code": {
  19491. "description": "返回码",
  19492. "type": "integer",
  19493. "format": "int",
  19494. "default": 0
  19495. },
  19496. "message": {
  19497. "description": "消息",
  19498. "type": "string",
  19499. "default": "success"
  19500. }
  19501. }
  19502. },
  19503. "v1.SuggestionOrderSendBody": {
  19504. "type": "object",
  19505. "properties": {
  19506. "current_uid": {
  19507. "description": "指派给谁",
  19508. "type": "integer"
  19509. },
  19510. "feedback": {
  19511. "description": "意见",
  19512. "type": "string"
  19513. },
  19514. "id": {
  19515. "description": "工单id",
  19516. "type": "integer"
  19517. }
  19518. }
  19519. },
  19520. "v1.SuggestionOrderSendResponse": {
  19521. "type": "object",
  19522. "properties": {
  19523. "code": {
  19524. "description": "返回码",
  19525. "type": "integer",
  19526. "format": "int",
  19527. "default": 0
  19528. },
  19529. "message": {
  19530. "description": "消息",
  19531. "type": "string",
  19532. "default": "success"
  19533. }
  19534. }
  19535. },
  19536. "v1.SuggestionOrderUpdateBody": {
  19537. "type": "object",
  19538. "properties": {
  19539. "apply_content": {
  19540. "description": "投诉内容",
  19541. "type": "string"
  19542. },
  19543. "apply_people": {
  19544. "description": "投诉人",
  19545. "type": "string"
  19546. },
  19547. "apply_people_phone": {
  19548. "description": "投诉人电话",
  19549. "type": "string"
  19550. },
  19551. "apply_pic": {
  19552. "description": "投诉图片",
  19553. "type": "array",
  19554. "items": {
  19555. "type": "string"
  19556. }
  19557. },
  19558. "id": {
  19559. "type": "integer"
  19560. },
  19561. "suggestion_type": {
  19562. "description": "投诉类型 1 投诉 2 建议",
  19563. "type": "integer"
  19564. }
  19565. }
  19566. },
  19567. "v1.SuggestionOrderUpdateResponse": {
  19568. "type": "object",
  19569. "properties": {
  19570. "code": {
  19571. "description": "返回码",
  19572. "type": "integer",
  19573. "format": "int",
  19574. "default": 0
  19575. },
  19576. "message": {
  19577. "description": "消息",
  19578. "type": "string",
  19579. "default": "success"
  19580. }
  19581. }
  19582. },
  19583. "v1.SystemGroupPermissionData": {
  19584. "type": "object",
  19585. "properties": {
  19586. "applete_path": {
  19587. "type": "string"
  19588. },
  19589. "code": {
  19590. "type": "string"
  19591. },
  19592. "name": {
  19593. "description": "权限名字",
  19594. "type": "string"
  19595. },
  19596. "path": {
  19597. "description": "组件路径",
  19598. "type": "string"
  19599. },
  19600. "pcode": {
  19601. "description": "父code,若没有则填空",
  19602. "type": "string"
  19603. },
  19604. "router": {
  19605. "description": "路由",
  19606. "type": "string"
  19607. }
  19608. }
  19609. },
  19610. "v1.SystemGroupPermissionItem": {
  19611. "type": "object",
  19612. "properties": {
  19613. "applete_path": {
  19614. "description": "小程序组件路径",
  19615. "type": "string"
  19616. },
  19617. "childs": {
  19618. "type": "array",
  19619. "items": {
  19620. "$ref": "#/definitions/v1.SystemGroupPermissionItem"
  19621. }
  19622. },
  19623. "code": {
  19624. "type": "string"
  19625. },
  19626. "name": {
  19627. "description": "权限名字",
  19628. "type": "string"
  19629. },
  19630. "path": {
  19631. "description": "组件路径",
  19632. "type": "string"
  19633. },
  19634. "pcode": {
  19635. "description": "父code,若没有则填空",
  19636. "type": "string"
  19637. },
  19638. "router": {
  19639. "description": "路由",
  19640. "type": "string"
  19641. },
  19642. "selected": {
  19643. "description": "是否拥有该权限",
  19644. "type": "boolean"
  19645. }
  19646. }
  19647. },
  19648. "v1.SystemMsgItem": {
  19649. "type": "object",
  19650. "properties": {
  19651. "code": {
  19652. "type": "string"
  19653. },
  19654. "content": {
  19655. "type": "string"
  19656. },
  19657. "created_at": {
  19658. "type": "string"
  19659. },
  19660. "id": {
  19661. "type": "integer"
  19662. }
  19663. }
  19664. },
  19665. "v1.SystemMsgListReply": {
  19666. "type": "object",
  19667. "properties": {
  19668. "list": {
  19669. "type": "array",
  19670. "items": {
  19671. "$ref": "#/definitions/v1.SystemMsgItem"
  19672. }
  19673. },
  19674. "page": {
  19675. "type": "integer"
  19676. },
  19677. "total": {
  19678. "type": "integer"
  19679. }
  19680. }
  19681. },
  19682. "v1.SystemMsgListResponse": {
  19683. "type": "object",
  19684. "properties": {
  19685. "code": {
  19686. "description": "返回码",
  19687. "type": "integer",
  19688. "format": "int",
  19689. "default": 0
  19690. },
  19691. "data": {
  19692. "type": "object",
  19693. "$ref": "#/definitions/v1.SystemMsgListReply"
  19694. },
  19695. "message": {
  19696. "description": "消息",
  19697. "type": "string",
  19698. "default": "success"
  19699. }
  19700. }
  19701. },
  19702. "v1.SystemMsgReadedBody": {
  19703. "type": "object",
  19704. "properties": {
  19705. "id": {
  19706. "type": "array",
  19707. "items": {
  19708. "type": "integer"
  19709. }
  19710. }
  19711. }
  19712. },
  19713. "v1.TemplateData": {
  19714. "type": "object",
  19715. "properties": {
  19716. "url": {
  19717. "type": "string"
  19718. }
  19719. }
  19720. },
  19721. "v1.TemplateResponse": {
  19722. "type": "object",
  19723. "properties": {
  19724. "code": {
  19725. "description": "返回码",
  19726. "type": "integer",
  19727. "format": "int",
  19728. "default": 0
  19729. },
  19730. "data": {
  19731. "type": "object",
  19732. "$ref": "#/definitions/v1.TemplateData"
  19733. },
  19734. "message": {
  19735. "description": "消息",
  19736. "type": "string",
  19737. "default": "success"
  19738. }
  19739. }
  19740. },
  19741. "v1.TokenResponse": {
  19742. "type": "object",
  19743. "properties": {
  19744. "code": {
  19745. "description": "返回码",
  19746. "type": "integer",
  19747. "format": "int",
  19748. "default": 0
  19749. },
  19750. "data": {
  19751. "type": "string"
  19752. },
  19753. "message": {
  19754. "description": "消息",
  19755. "type": "string",
  19756. "default": "success"
  19757. },
  19758. "refresh_token": {
  19759. "type": "string"
  19760. }
  19761. }
  19762. },
  19763. "v1.UnitAddBody": {
  19764. "type": "object",
  19765. "properties": {
  19766. "building_id": {
  19767. "type": "integer"
  19768. },
  19769. "has_lift": {
  19770. "description": "是否有电梯",
  19771. "type": "boolean"
  19772. },
  19773. "unit_layers": {
  19774. "description": "楼层数",
  19775. "type": "integer"
  19776. },
  19777. "unit_name": {
  19778. "description": "单元名",
  19779. "type": "string"
  19780. },
  19781. "unit_number": {
  19782. "description": "单元编号",
  19783. "type": "integer"
  19784. }
  19785. }
  19786. },
  19787. "v1.UnitAddReply": {
  19788. "type": "object",
  19789. "properties": {
  19790. "id": {
  19791. "type": "integer"
  19792. }
  19793. }
  19794. },
  19795. "v1.UnitAddResponse": {
  19796. "type": "object",
  19797. "properties": {
  19798. "code": {
  19799. "description": "返回码",
  19800. "type": "integer",
  19801. "format": "int",
  19802. "default": 0
  19803. },
  19804. "data": {
  19805. "type": "object",
  19806. "$ref": "#/definitions/v1.UnitAddReply"
  19807. },
  19808. "message": {
  19809. "description": "消息",
  19810. "type": "string",
  19811. "default": "success"
  19812. }
  19813. }
  19814. },
  19815. "v1.UnitDelResponse": {
  19816. "type": "object",
  19817. "properties": {
  19818. "code": {
  19819. "description": "返回码",
  19820. "type": "integer",
  19821. "format": "int",
  19822. "default": 0
  19823. },
  19824. "message": {
  19825. "description": "消息",
  19826. "type": "string",
  19827. "default": "success"
  19828. }
  19829. }
  19830. },
  19831. "v1.UnitItem": {
  19832. "type": "object",
  19833. "properties": {
  19834. "building_id": {
  19835. "description": "楼栋id",
  19836. "type": "integer"
  19837. },
  19838. "building_name": {
  19839. "type": "string"
  19840. },
  19841. "building_number": {
  19842. "type": "string"
  19843. },
  19844. "has_lift": {
  19845. "type": "boolean"
  19846. },
  19847. "id": {
  19848. "type": "integer"
  19849. },
  19850. "unit_layers": {
  19851. "description": "楼层数",
  19852. "type": "integer"
  19853. },
  19854. "unit_name": {
  19855. "description": "单元名",
  19856. "type": "string"
  19857. },
  19858. "unit_number": {
  19859. "description": "单元编号",
  19860. "type": "integer"
  19861. }
  19862. }
  19863. },
  19864. "v1.UnitListReply": {
  19865. "type": "object",
  19866. "properties": {
  19867. "list": {
  19868. "type": "array",
  19869. "items": {
  19870. "$ref": "#/definitions/v1.UnitItem"
  19871. }
  19872. },
  19873. "page": {
  19874. "type": "integer"
  19875. },
  19876. "total": {
  19877. "type": "integer"
  19878. }
  19879. }
  19880. },
  19881. "v1.UnitListResponse": {
  19882. "type": "object",
  19883. "properties": {
  19884. "code": {
  19885. "description": "返回码",
  19886. "type": "integer",
  19887. "format": "int",
  19888. "default": 0
  19889. },
  19890. "data": {
  19891. "type": "object",
  19892. "$ref": "#/definitions/v1.UnitListReply"
  19893. },
  19894. "message": {
  19895. "description": "消息",
  19896. "type": "string",
  19897. "default": "success"
  19898. }
  19899. }
  19900. },
  19901. "v1.UnitUpdateBody": {
  19902. "type": "object",
  19903. "properties": {
  19904. "building_id": {
  19905. "type": "integer"
  19906. },
  19907. "has_lift": {
  19908. "description": "是否有电梯",
  19909. "type": "boolean"
  19910. },
  19911. "id": {
  19912. "type": "integer"
  19913. },
  19914. "unit_layers": {
  19915. "description": "楼层数",
  19916. "type": "integer"
  19917. },
  19918. "unit_name": {
  19919. "description": "单元名",
  19920. "type": "string"
  19921. },
  19922. "unit_number": {
  19923. "description": "单元编号",
  19924. "type": "integer"
  19925. }
  19926. }
  19927. },
  19928. "v1.UnitUpdateResponse": {
  19929. "type": "object",
  19930. "properties": {
  19931. "code": {
  19932. "description": "返回码",
  19933. "type": "integer",
  19934. "format": "int",
  19935. "default": 0
  19936. },
  19937. "message": {
  19938. "description": "消息",
  19939. "type": "string",
  19940. "default": "success"
  19941. }
  19942. }
  19943. },
  19944. "v1.UploadResponse": {
  19945. "type": "object",
  19946. "properties": {
  19947. "code": {
  19948. "description": "返回码",
  19949. "type": "integer",
  19950. "format": "int",
  19951. "default": 0
  19952. },
  19953. "data": {
  19954. "type": "string"
  19955. },
  19956. "message": {
  19957. "description": "消息",
  19958. "type": "string",
  19959. "default": "success"
  19960. }
  19961. }
  19962. },
  19963. "v1.UserAddBody": {
  19964. "type": "object",
  19965. "properties": {
  19966. "base_permission": {
  19967. "description": "1 仅用户小区后台 2 仅用于员工小程序 3 二者皆可",
  19968. "type": "integer"
  19969. },
  19970. "department_id": {
  19971. "type": "integer"
  19972. },
  19973. "email": {
  19974. "type": "string"
  19975. },
  19976. "gender": {
  19977. "type": "integer"
  19978. },
  19979. "group_id": {
  19980. "type": "integer"
  19981. },
  19982. "password": {
  19983. "type": "string"
  19984. },
  19985. "phone": {
  19986. "type": "string"
  19987. },
  19988. "real_name": {
  19989. "type": "string"
  19990. },
  19991. "user_name": {
  19992. "type": "string"
  19993. }
  19994. }
  19995. },
  19996. "v1.UserAddReply": {
  19997. "type": "object",
  19998. "properties": {
  19999. "id": {
  20000. "type": "integer"
  20001. }
  20002. }
  20003. },
  20004. "v1.UserAddResponse": {
  20005. "type": "object",
  20006. "properties": {
  20007. "code": {
  20008. "description": "返回码",
  20009. "type": "integer",
  20010. "format": "int",
  20011. "default": 0
  20012. },
  20013. "data": {
  20014. "type": "object",
  20015. "$ref": "#/definitions/v1.UserAddReply"
  20016. },
  20017. "message": {
  20018. "description": "消息",
  20019. "type": "string",
  20020. "default": "success"
  20021. }
  20022. }
  20023. },
  20024. "v1.UserDelResponse": {
  20025. "type": "object",
  20026. "properties": {
  20027. "code": {
  20028. "description": "返回码",
  20029. "type": "integer",
  20030. "format": "int",
  20031. "default": 0
  20032. },
  20033. "message": {
  20034. "description": "消息",
  20035. "type": "string",
  20036. "default": "success"
  20037. }
  20038. }
  20039. },
  20040. "v1.UserItem": {
  20041. "type": "object",
  20042. "properties": {
  20043. "base_permission": {
  20044. "type": "integer"
  20045. },
  20046. "cid": {
  20047. "type": "integer"
  20048. },
  20049. "created_at": {
  20050. "type": "string"
  20051. },
  20052. "department_name": {
  20053. "type": "string"
  20054. },
  20055. "email": {
  20056. "type": "string"
  20057. },
  20058. "enable": {
  20059. "type": "boolean"
  20060. },
  20061. "garden_id": {
  20062. "type": "integer"
  20063. },
  20064. "garden_name": {
  20065. "type": "string"
  20066. },
  20067. "gender": {
  20068. "type": "integer"
  20069. },
  20070. "group_id": {
  20071. "type": "integer"
  20072. },
  20073. "group_name": {
  20074. "type": "string"
  20075. },
  20076. "id": {
  20077. "type": "integer"
  20078. },
  20079. "openim_id": {
  20080. "type": "string"
  20081. },
  20082. "password": {
  20083. "type": "string"
  20084. },
  20085. "phone": {
  20086. "type": "string"
  20087. },
  20088. "real_name": {
  20089. "type": "string"
  20090. },
  20091. "super": {
  20092. "type": "boolean"
  20093. },
  20094. "user_name": {
  20095. "type": "string"
  20096. }
  20097. }
  20098. },
  20099. "v1.UserListReply": {
  20100. "type": "object",
  20101. "properties": {
  20102. "list": {
  20103. "type": "array",
  20104. "items": {
  20105. "$ref": "#/definitions/v1.UserItem"
  20106. }
  20107. },
  20108. "page": {
  20109. "type": "integer"
  20110. },
  20111. "total": {
  20112. "type": "integer"
  20113. }
  20114. }
  20115. },
  20116. "v1.UserListResponse": {
  20117. "type": "object",
  20118. "properties": {
  20119. "code": {
  20120. "description": "返回码",
  20121. "type": "integer",
  20122. "format": "int",
  20123. "default": 0
  20124. },
  20125. "data": {
  20126. "type": "object",
  20127. "$ref": "#/definitions/v1.UserListReply"
  20128. },
  20129. "message": {
  20130. "description": "消息",
  20131. "type": "string",
  20132. "default": "success"
  20133. }
  20134. }
  20135. },
  20136. "v1.UserUpdateBody": {
  20137. "type": "object",
  20138. "properties": {
  20139. "base_permission": {
  20140. "description": "1 仅用户小区后台 2 仅用于员工小程序 3 二者皆可",
  20141. "type": "integer"
  20142. },
  20143. "department_id": {
  20144. "type": "integer"
  20145. },
  20146. "email": {
  20147. "type": "string"
  20148. },
  20149. "gender": {
  20150. "type": "integer"
  20151. },
  20152. "group_id": {
  20153. "type": "integer"
  20154. },
  20155. "id": {
  20156. "type": "integer"
  20157. },
  20158. "password": {
  20159. "type": "string"
  20160. },
  20161. "phone": {
  20162. "type": "string"
  20163. },
  20164. "real_name": {
  20165. "type": "string"
  20166. },
  20167. "user_name": {
  20168. "type": "string"
  20169. }
  20170. }
  20171. },
  20172. "v1.UserUpdateResponse": {
  20173. "type": "object",
  20174. "properties": {
  20175. "code": {
  20176. "description": "返回码",
  20177. "type": "integer",
  20178. "format": "int",
  20179. "default": 0
  20180. },
  20181. "message": {
  20182. "description": "消息",
  20183. "type": "string",
  20184. "default": "success"
  20185. }
  20186. }
  20187. },
  20188. "v1.VehicleAddBody": {
  20189. "type": "object",
  20190. "properties": {
  20191. "bind_type": {
  20192. "description": "1 出租 2 出售",
  20193. "type": "integer"
  20194. },
  20195. "brand": {
  20196. "description": "品牌",
  20197. "type": "string"
  20198. },
  20199. "color": {
  20200. "description": "颜色",
  20201. "type": "string"
  20202. },
  20203. "displacement": {
  20204. "description": "排量",
  20205. "type": "number"
  20206. },
  20207. "displacement_unit": {
  20208. "description": "排量单位",
  20209. "type": "string"
  20210. },
  20211. "engine_no": {
  20212. "description": "发动机号",
  20213. "type": "string"
  20214. },
  20215. "household_uid": {
  20216. "description": "住户uid",
  20217. "type": "integer"
  20218. },
  20219. "plate_no": {
  20220. "description": "车牌号",
  20221. "type": "string"
  20222. },
  20223. "seat": {
  20224. "description": "座位数",
  20225. "type": "integer"
  20226. },
  20227. "space_id": {
  20228. "description": "车位id",
  20229. "type": "integer"
  20230. },
  20231. "vehicle_type": {
  20232. "description": "1 小型车 2 大型车 3 新能源小车 4 新能源大车",
  20233. "type": "integer"
  20234. },
  20235. "vin": {
  20236. "description": "车架号",
  20237. "type": "string"
  20238. }
  20239. }
  20240. },
  20241. "v1.VehicleAddReply": {
  20242. "type": "object",
  20243. "properties": {
  20244. "id": {
  20245. "type": "integer"
  20246. }
  20247. }
  20248. },
  20249. "v1.VehicleAddResponse": {
  20250. "type": "object",
  20251. "properties": {
  20252. "code": {
  20253. "description": "返回码",
  20254. "type": "integer",
  20255. "format": "int",
  20256. "default": 0
  20257. },
  20258. "data": {
  20259. "type": "object",
  20260. "$ref": "#/definitions/v1.VehicleAddReply"
  20261. },
  20262. "message": {
  20263. "description": "消息",
  20264. "type": "string",
  20265. "default": "success"
  20266. }
  20267. }
  20268. },
  20269. "v1.VehicleBrandData": {
  20270. "type": "object",
  20271. "properties": {
  20272. "list": {
  20273. "type": "array",
  20274. "items": {
  20275. "$ref": "#/definitions/v1.VehicleBrandItem"
  20276. }
  20277. }
  20278. }
  20279. },
  20280. "v1.VehicleBrandItem": {
  20281. "type": "object",
  20282. "properties": {
  20283. "brand": {
  20284. "type": "string"
  20285. },
  20286. "brand_pic": {
  20287. "type": "string"
  20288. }
  20289. }
  20290. },
  20291. "v1.VehicleBrandListResponse": {
  20292. "type": "object",
  20293. "properties": {
  20294. "code": {
  20295. "description": "返回码",
  20296. "type": "integer",
  20297. "format": "int",
  20298. "default": 0
  20299. },
  20300. "data": {
  20301. "type": "object",
  20302. "$ref": "#/definitions/v1.VehicleBrandData"
  20303. },
  20304. "message": {
  20305. "description": "消息",
  20306. "type": "string",
  20307. "default": "success"
  20308. }
  20309. }
  20310. },
  20311. "v1.VehicleDelResponse": {
  20312. "type": "object",
  20313. "properties": {
  20314. "code": {
  20315. "description": "返回码",
  20316. "type": "integer",
  20317. "format": "int",
  20318. "default": 0
  20319. },
  20320. "message": {
  20321. "description": "消息",
  20322. "type": "string",
  20323. "default": "success"
  20324. }
  20325. }
  20326. },
  20327. "v1.VehicleItem": {
  20328. "type": "object",
  20329. "properties": {
  20330. "bind_type": {
  20331. "type": "integer"
  20332. },
  20333. "brand": {
  20334. "type": "string"
  20335. },
  20336. "brand_pic": {
  20337. "type": "string"
  20338. },
  20339. "color": {
  20340. "type": "string"
  20341. },
  20342. "displacement": {
  20343. "type": "number"
  20344. },
  20345. "displacement_unit": {
  20346. "type": "string"
  20347. },
  20348. "engine_no": {
  20349. "type": "string"
  20350. },
  20351. "household_name": {
  20352. "type": "string"
  20353. },
  20354. "household_phone": {
  20355. "type": "string"
  20356. },
  20357. "household_uid": {
  20358. "type": "integer"
  20359. },
  20360. "id": {
  20361. "type": "integer"
  20362. },
  20363. "park_id": {
  20364. "type": "integer"
  20365. },
  20366. "park_name": {
  20367. "type": "string"
  20368. },
  20369. "park_number": {
  20370. "type": "string"
  20371. },
  20372. "plate_no": {
  20373. "type": "string"
  20374. },
  20375. "seat": {
  20376. "type": "integer"
  20377. },
  20378. "space_id": {
  20379. "type": "integer"
  20380. },
  20381. "space_number": {
  20382. "type": "string"
  20383. },
  20384. "vehicle_type": {
  20385. "type": "integer"
  20386. },
  20387. "vin": {
  20388. "type": "string"
  20389. }
  20390. }
  20391. },
  20392. "v1.VehicleListReply": {
  20393. "type": "object",
  20394. "properties": {
  20395. "list": {
  20396. "type": "array",
  20397. "items": {
  20398. "$ref": "#/definitions/v1.VehicleItem"
  20399. }
  20400. },
  20401. "page": {
  20402. "type": "integer"
  20403. },
  20404. "total": {
  20405. "type": "integer"
  20406. }
  20407. }
  20408. },
  20409. "v1.VehicleListResponse": {
  20410. "type": "object",
  20411. "properties": {
  20412. "code": {
  20413. "description": "返回码",
  20414. "type": "integer",
  20415. "format": "int",
  20416. "default": 0
  20417. },
  20418. "data": {
  20419. "type": "object",
  20420. "$ref": "#/definitions/v1.VehicleListReply"
  20421. },
  20422. "message": {
  20423. "description": "消息",
  20424. "type": "string",
  20425. "default": "success"
  20426. }
  20427. }
  20428. },
  20429. "v1.VehicleUpdateBody": {
  20430. "type": "object",
  20431. "properties": {
  20432. "bind_type": {
  20433. "description": "1 出租 2 出售",
  20434. "type": "integer"
  20435. },
  20436. "brand": {
  20437. "description": "品牌",
  20438. "type": "string"
  20439. },
  20440. "color": {
  20441. "description": "颜色",
  20442. "type": "string"
  20443. },
  20444. "displacement": {
  20445. "description": "排量",
  20446. "type": "number"
  20447. },
  20448. "displacement_unit": {
  20449. "description": "排量单位",
  20450. "type": "string"
  20451. },
  20452. "engine_no": {
  20453. "description": "发动机号",
  20454. "type": "string"
  20455. },
  20456. "household_uid": {
  20457. "description": "住户uid",
  20458. "type": "integer"
  20459. },
  20460. "id": {
  20461. "type": "integer"
  20462. },
  20463. "plate_no": {
  20464. "description": "车牌号",
  20465. "type": "string"
  20466. },
  20467. "seat": {
  20468. "description": "座位数",
  20469. "type": "integer"
  20470. },
  20471. "space_id": {
  20472. "description": "车位id",
  20473. "type": "integer"
  20474. },
  20475. "vehicle_type": {
  20476. "description": "1 小型车 2 大型车 3 新能源小车 4 新能源大车",
  20477. "type": "integer"
  20478. },
  20479. "vin": {
  20480. "description": "车架号",
  20481. "type": "string"
  20482. }
  20483. }
  20484. },
  20485. "v1.VehicleUpdateResponse": {
  20486. "type": "object",
  20487. "properties": {
  20488. "code": {
  20489. "description": "返回码",
  20490. "type": "integer",
  20491. "format": "int",
  20492. "default": 0
  20493. },
  20494. "message": {
  20495. "description": "消息",
  20496. "type": "string",
  20497. "default": "success"
  20498. }
  20499. }
  20500. },
  20501. "v1.VoteAddBody": {
  20502. "type": "object",
  20503. "properties": {
  20504. "end": {
  20505. "description": "投票结束时间",
  20506. "type": "integer"
  20507. },
  20508. "pics": {
  20509. "description": "图片",
  20510. "type": "array",
  20511. "items": {
  20512. "type": "string"
  20513. }
  20514. },
  20515. "start": {
  20516. "description": "投票开始时间",
  20517. "type": "integer"
  20518. },
  20519. "title": {
  20520. "description": "投票标题",
  20521. "type": "string"
  20522. },
  20523. "topics": {
  20524. "description": "投票题目列表",
  20525. "type": "array",
  20526. "items": {
  20527. "$ref": "#/definitions/v1.VoteTopic"
  20528. }
  20529. }
  20530. }
  20531. },
  20532. "v1.VoteAddResponse": {
  20533. "type": "object",
  20534. "properties": {
  20535. "code": {
  20536. "description": "返回码",
  20537. "type": "integer",
  20538. "format": "int",
  20539. "default": 0
  20540. },
  20541. "message": {
  20542. "description": "消息",
  20543. "type": "string",
  20544. "default": "success"
  20545. }
  20546. }
  20547. },
  20548. "v1.VoteDelResponse": {
  20549. "type": "object",
  20550. "properties": {
  20551. "code": {
  20552. "description": "返回码",
  20553. "type": "integer",
  20554. "format": "int",
  20555. "default": 0
  20556. },
  20557. "message": {
  20558. "description": "消息",
  20559. "type": "string",
  20560. "default": "success"
  20561. }
  20562. }
  20563. },
  20564. "v1.VoteItem": {
  20565. "type": "object",
  20566. "properties": {
  20567. "created_at": {
  20568. "type": "integer"
  20569. },
  20570. "end": {
  20571. "type": "integer"
  20572. },
  20573. "id": {
  20574. "type": "integer"
  20575. },
  20576. "pics": {
  20577. "type": "array",
  20578. "items": {
  20579. "type": "string"
  20580. }
  20581. },
  20582. "start": {
  20583. "type": "integer"
  20584. },
  20585. "title": {
  20586. "type": "string"
  20587. },
  20588. "topics": {
  20589. "type": "array",
  20590. "items": {
  20591. "$ref": "#/definitions/v1.VoteTopic"
  20592. }
  20593. },
  20594. "user_count": {
  20595. "type": "integer"
  20596. }
  20597. }
  20598. },
  20599. "v1.VoteListReply": {
  20600. "type": "object",
  20601. "properties": {
  20602. "list": {
  20603. "type": "array",
  20604. "items": {
  20605. "$ref": "#/definitions/v1.VoteItem"
  20606. }
  20607. },
  20608. "page": {
  20609. "type": "integer"
  20610. },
  20611. "total": {
  20612. "type": "integer"
  20613. }
  20614. }
  20615. },
  20616. "v1.VoteListResponse": {
  20617. "type": "object",
  20618. "properties": {
  20619. "code": {
  20620. "description": "返回码",
  20621. "type": "integer",
  20622. "format": "int",
  20623. "default": 0
  20624. },
  20625. "data": {
  20626. "type": "object",
  20627. "$ref": "#/definitions/v1.VoteListReply"
  20628. },
  20629. "message": {
  20630. "description": "消息",
  20631. "type": "string",
  20632. "default": "success"
  20633. }
  20634. }
  20635. },
  20636. "v1.VoteResultData": {
  20637. "type": "object",
  20638. "properties": {
  20639. "choice_answers": {
  20640. "description": "选择题回答,当题目类型为选择题时有效",
  20641. "type": "array",
  20642. "items": {
  20643. "type": "string"
  20644. }
  20645. },
  20646. "choice_items": {
  20647. "description": "选择题的选项",
  20648. "type": "array",
  20649. "items": {
  20650. "$ref": "#/definitions/v1.VoteTopicChoiceItem"
  20651. }
  20652. },
  20653. "completion_answers": {
  20654. "description": "问答题回答,当题目类型为问答题时有效",
  20655. "type": "array",
  20656. "items": {
  20657. "type": "string"
  20658. }
  20659. },
  20660. "must": {
  20661. "description": "是否必选",
  20662. "type": "boolean"
  20663. },
  20664. "number": {
  20665. "description": "题目编号",
  20666. "type": "integer"
  20667. },
  20668. "star": {
  20669. "description": "总星数,当为评分题时有效",
  20670. "type": "integer"
  20671. },
  20672. "star_answers": {
  20673. "description": "评分题回答,当题目类型为评分题时有效",
  20674. "type": "integer"
  20675. },
  20676. "topic_name": {
  20677. "type": "string"
  20678. },
  20679. "topic_type": {
  20680. "description": "题目类型 1 填空题 2 单选题 3 多选题 4 评分题",
  20681. "type": "integer"
  20682. }
  20683. }
  20684. },
  20685. "v1.VoteResultListReply": {
  20686. "type": "object",
  20687. "properties": {
  20688. "list": {
  20689. "type": "array",
  20690. "items": {
  20691. "$ref": "#/definitions/v1.VoteResultUserAnswerItem"
  20692. }
  20693. },
  20694. "page": {
  20695. "type": "integer"
  20696. },
  20697. "total": {
  20698. "type": "integer"
  20699. }
  20700. }
  20701. },
  20702. "v1.VoteResultListResponse": {
  20703. "type": "object",
  20704. "properties": {
  20705. "code": {
  20706. "description": "返回码",
  20707. "type": "integer",
  20708. "format": "int",
  20709. "default": 0
  20710. },
  20711. "data": {
  20712. "type": "object",
  20713. "$ref": "#/definitions/v1.VoteResultListReply"
  20714. },
  20715. "message": {
  20716. "description": "消息",
  20717. "type": "string",
  20718. "default": "success"
  20719. }
  20720. }
  20721. },
  20722. "v1.VoteResultStatisticChoice": {
  20723. "type": "object",
  20724. "properties": {
  20725. "count": {
  20726. "description": "该选项被选的用户",
  20727. "type": "integer"
  20728. },
  20729. "flag": {
  20730. "description": "选择选项标识",
  20731. "type": "string"
  20732. },
  20733. "text": {
  20734. "type": "string"
  20735. }
  20736. }
  20737. },
  20738. "v1.VoteResultStatisticItem": {
  20739. "type": "object",
  20740. "properties": {
  20741. "choice_items": {
  20742. "description": "选择题的选项内容",
  20743. "type": "array",
  20744. "items": {
  20745. "$ref": "#/definitions/v1.VoteTopicChoiceItem"
  20746. }
  20747. },
  20748. "choice_statistic": {
  20749. "description": "选择题的选项回答统计,当题目类型为选择题时有效",
  20750. "type": "array",
  20751. "items": {
  20752. "$ref": "#/definitions/v1.VoteResultStatisticChoice"
  20753. }
  20754. },
  20755. "must": {
  20756. "description": "是否必选",
  20757. "type": "boolean"
  20758. },
  20759. "number": {
  20760. "description": "题目编号",
  20761. "type": "integer"
  20762. },
  20763. "star": {
  20764. "description": "总星数,当为评分题时有效",
  20765. "type": "integer"
  20766. },
  20767. "star_avg": {
  20768. "description": "平均分, 当题目类型为评分题时有效",
  20769. "type": "number"
  20770. },
  20771. "star_statistic": {
  20772. "description": "评分题的分数回答统计,当题目类型为评分题时有效",
  20773. "type": "array",
  20774. "items": {
  20775. "$ref": "#/definitions/v1.VoteResultStatisticStar"
  20776. }
  20777. },
  20778. "topic_name": {
  20779. "type": "string"
  20780. },
  20781. "topic_type": {
  20782. "description": "题目类型 1 填空题 2 单选题 3 多选题 4 评分题",
  20783. "type": "integer"
  20784. }
  20785. }
  20786. },
  20787. "v1.VoteResultStatisticReply": {
  20788. "type": "object",
  20789. "properties": {
  20790. "list": {
  20791. "description": "题目统计",
  20792. "type": "array",
  20793. "items": {
  20794. "$ref": "#/definitions/v1.VoteResultStatisticItem"
  20795. }
  20796. }
  20797. }
  20798. },
  20799. "v1.VoteResultStatisticResponse": {
  20800. "type": "object",
  20801. "properties": {
  20802. "code": {
  20803. "description": "返回码",
  20804. "type": "integer",
  20805. "format": "int",
  20806. "default": 0
  20807. },
  20808. "data": {
  20809. "type": "object",
  20810. "$ref": "#/definitions/v1.VoteResultStatisticReply"
  20811. },
  20812. "message": {
  20813. "description": "消息",
  20814. "type": "string",
  20815. "default": "success"
  20816. }
  20817. }
  20818. },
  20819. "v1.VoteResultStatisticStar": {
  20820. "type": "object",
  20821. "properties": {
  20822. "count": {
  20823. "description": "评该星数的用户数量",
  20824. "type": "integer"
  20825. },
  20826. "star": {
  20827. "description": "评分星数",
  20828. "type": "integer"
  20829. }
  20830. }
  20831. },
  20832. "v1.VoteResultUserAnswerItem": {
  20833. "type": "object",
  20834. "properties": {
  20835. "answer": {
  20836. "type": "object",
  20837. "$ref": "#/definitions/v1.VoteResultData"
  20838. },
  20839. "uid": {
  20840. "description": "用户uid",
  20841. "type": "integer"
  20842. },
  20843. "user_name": {
  20844. "type": "string"
  20845. }
  20846. }
  20847. },
  20848. "v1.VoteTopic": {
  20849. "type": "object",
  20850. "properties": {
  20851. "choice_items": {
  20852. "description": "选择题的选项",
  20853. "type": "array",
  20854. "items": {
  20855. "$ref": "#/definitions/v1.VoteTopicChoiceItem"
  20856. }
  20857. },
  20858. "must": {
  20859. "description": "是否必选",
  20860. "type": "boolean"
  20861. },
  20862. "number": {
  20863. "description": "题目编号",
  20864. "type": "integer"
  20865. },
  20866. "star": {
  20867. "description": "总星数,当为评分题时有效",
  20868. "type": "integer"
  20869. },
  20870. "topic_name": {
  20871. "type": "string"
  20872. },
  20873. "topic_type": {
  20874. "description": "题目类型 1 填空题 2 单选题 3 多选题 4 评分题",
  20875. "type": "integer"
  20876. }
  20877. }
  20878. },
  20879. "v1.VoteTopicChoiceItem": {
  20880. "type": "object",
  20881. "properties": {
  20882. "flag": {
  20883. "type": "string"
  20884. },
  20885. "text": {
  20886. "type": "string"
  20887. }
  20888. }
  20889. },
  20890. "v1.VoteUpdateBody": {
  20891. "type": "object",
  20892. "properties": {
  20893. "end": {
  20894. "description": "投票结束时间",
  20895. "type": "integer"
  20896. },
  20897. "id": {
  20898. "description": "投票id",
  20899. "type": "integer"
  20900. },
  20901. "pics": {
  20902. "description": "图片",
  20903. "type": "array",
  20904. "items": {
  20905. "type": "string"
  20906. }
  20907. },
  20908. "start": {
  20909. "description": "投票开始时间",
  20910. "type": "integer"
  20911. },
  20912. "title": {
  20913. "description": "投票标题",
  20914. "type": "string"
  20915. },
  20916. "topics": {
  20917. "description": "投票题目列表",
  20918. "type": "array",
  20919. "items": {
  20920. "$ref": "#/definitions/v1.VoteTopic"
  20921. }
  20922. }
  20923. }
  20924. },
  20925. "v1.VoteUpdateResponse": {
  20926. "type": "object",
  20927. "properties": {
  20928. "code": {
  20929. "description": "返回码",
  20930. "type": "integer",
  20931. "format": "int",
  20932. "default": 0
  20933. },
  20934. "message": {
  20935. "description": "消息",
  20936. "type": "string",
  20937. "default": "success"
  20938. }
  20939. }
  20940. }
  20941. }
  20942. }