swagger.json 510 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795
  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-applete-gateway's APIs",
  6. "contact": {},
  7. "license": {},
  8. "version": "1.1"
  9. },
  10. "paths": {
  11. "/api/v1/buildings/batch": {
  12. "post": {
  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": "token",
  28. "name": "token",
  29. "in": "header",
  30. "required": true
  31. },
  32. {
  33. "description": "信息",
  34. "name": "body",
  35. "in": "body",
  36. "required": true,
  37. "schema": {
  38. "$ref": "#/definitions/v1.BatchHouseAddBody"
  39. }
  40. }
  41. ],
  42. "responses": {
  43. "200": {
  44. "description": "OK",
  45. "schema": {
  46. "$ref": "#/definitions/v1.HouseAddResponse"
  47. }
  48. },
  49. "500": {
  50. "description": "Internal Server Error",
  51. "schema": {
  52. "$ref": "#/definitions/base.HTTPError"
  53. }
  54. }
  55. }
  56. }
  57. },
  58. "/api/v1/buildings/building": {
  59. "get": {
  60. "description": "楼栋列表",
  61. "consumes": [
  62. "application/json"
  63. ],
  64. "produces": [
  65. "application/json"
  66. ],
  67. "tags": [
  68. "楼盘管理"
  69. ],
  70. "summary": "楼栋列表",
  71. "parameters": [
  72. {
  73. "type": "string",
  74. "description": "token",
  75. "name": "token",
  76. "in": "header",
  77. "required": true
  78. },
  79. {
  80. "type": "integer",
  81. "description": " ",
  82. "name": "page",
  83. "in": "query"
  84. },
  85. {
  86. "type": "integer",
  87. "description": " ",
  88. "name": "page_size",
  89. "in": "query"
  90. },
  91. {
  92. "type": "string",
  93. "description": "楼栋编号",
  94. "name": "building_number",
  95. "in": "query"
  96. }
  97. ],
  98. "responses": {
  99. "200": {
  100. "description": "OK",
  101. "schema": {
  102. "$ref": "#/definitions/v1.BuildingListResponse"
  103. }
  104. },
  105. "500": {
  106. "description": "Internal Server Error",
  107. "schema": {
  108. "$ref": "#/definitions/base.HTTPError"
  109. }
  110. }
  111. }
  112. },
  113. "put": {
  114. "description": "更改楼栋",
  115. "consumes": [
  116. "application/json"
  117. ],
  118. "produces": [
  119. "application/json"
  120. ],
  121. "tags": [
  122. "楼盘管理"
  123. ],
  124. "summary": "更改楼栋",
  125. "parameters": [
  126. {
  127. "type": "string",
  128. "description": "token",
  129. "name": "token",
  130. "in": "header",
  131. "required": true
  132. },
  133. {
  134. "description": "信息",
  135. "name": "body",
  136. "in": "body",
  137. "required": true,
  138. "schema": {
  139. "$ref": "#/definitions/v1.BuildingUpdateBody"
  140. }
  141. }
  142. ],
  143. "responses": {
  144. "200": {
  145. "description": "OK",
  146. "schema": {
  147. "$ref": "#/definitions/v1.BuildingUpdateResponse"
  148. }
  149. },
  150. "500": {
  151. "description": "Internal Server Error",
  152. "schema": {
  153. "$ref": "#/definitions/base.HTTPError"
  154. }
  155. }
  156. }
  157. },
  158. "post": {
  159. "description": "添加楼栋",
  160. "consumes": [
  161. "application/json"
  162. ],
  163. "produces": [
  164. "application/json"
  165. ],
  166. "tags": [
  167. "楼盘管理"
  168. ],
  169. "summary": "添加楼栋",
  170. "parameters": [
  171. {
  172. "type": "string",
  173. "description": "token",
  174. "name": "token",
  175. "in": "header",
  176. "required": true
  177. },
  178. {
  179. "description": "信息",
  180. "name": "body",
  181. "in": "body",
  182. "required": true,
  183. "schema": {
  184. "$ref": "#/definitions/v1.BuildingAddBody"
  185. }
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "OK",
  191. "schema": {
  192. "$ref": "#/definitions/v1.BuildingAddResponse"
  193. }
  194. },
  195. "500": {
  196. "description": "Internal Server Error",
  197. "schema": {
  198. "$ref": "#/definitions/base.HTTPError"
  199. }
  200. }
  201. }
  202. },
  203. "delete": {
  204. "description": "删除楼栋",
  205. "consumes": [
  206. "application/json"
  207. ],
  208. "produces": [
  209. "application/json"
  210. ],
  211. "tags": [
  212. "楼盘管理"
  213. ],
  214. "summary": "删除楼栋",
  215. "parameters": [
  216. {
  217. "type": "string",
  218. "description": "token",
  219. "name": "token",
  220. "in": "header",
  221. "required": true
  222. },
  223. {
  224. "type": "integer",
  225. "description": "id",
  226. "name": "id",
  227. "in": "query",
  228. "required": true
  229. }
  230. ],
  231. "responses": {
  232. "200": {
  233. "description": "OK",
  234. "schema": {
  235. "$ref": "#/definitions/v1.BuildingDelResponse"
  236. }
  237. },
  238. "500": {
  239. "description": "Internal Server Error",
  240. "schema": {
  241. "$ref": "#/definitions/base.HTTPError"
  242. }
  243. }
  244. }
  245. }
  246. },
  247. "/api/v1/buildings/house": {
  248. "get": {
  249. "description": "房屋列表",
  250. "consumes": [
  251. "application/json"
  252. ],
  253. "produces": [
  254. "application/json"
  255. ],
  256. "tags": [
  257. "楼盘管理"
  258. ],
  259. "summary": "房屋列表",
  260. "parameters": [
  261. {
  262. "type": "string",
  263. "description": "token",
  264. "name": "token",
  265. "in": "header",
  266. "required": true
  267. },
  268. {
  269. "type": "integer",
  270. "description": " ",
  271. "name": "page",
  272. "in": "query"
  273. },
  274. {
  275. "type": "integer",
  276. "description": " ",
  277. "name": "page_size",
  278. "in": "query"
  279. },
  280. {
  281. "type": "integer",
  282. "description": "门牌号",
  283. "name": "house_number",
  284. "in": "query"
  285. },
  286. {
  287. "type": "integer",
  288. "description": "楼栋id",
  289. "name": "building_id",
  290. "in": "query"
  291. },
  292. {
  293. "type": "integer",
  294. "description": "单元id",
  295. "name": "unit_id",
  296. "in": "query"
  297. },
  298. {
  299. "type": "integer",
  300. "description": "住户uid",
  301. "name": "household_id",
  302. "in": "query"
  303. },
  304. {
  305. "type": "integer",
  306. "description": "房屋类型 1 住宅 2 商铺 3 办公",
  307. "name": "house_type",
  308. "in": "query"
  309. },
  310. {
  311. "type": "boolean",
  312. "description": "是否用于房屋租赁 true 是 false 否",
  313. "name": "house_rent",
  314. "in": "query"
  315. }
  316. ],
  317. "responses": {
  318. "200": {
  319. "description": "OK",
  320. "schema": {
  321. "$ref": "#/definitions/v1.HouseListResponse"
  322. }
  323. },
  324. "500": {
  325. "description": "Internal Server Error",
  326. "schema": {
  327. "$ref": "#/definitions/base.HTTPError"
  328. }
  329. }
  330. }
  331. },
  332. "put": {
  333. "description": "更改房屋",
  334. "consumes": [
  335. "application/json"
  336. ],
  337. "produces": [
  338. "application/json"
  339. ],
  340. "tags": [
  341. "楼盘管理"
  342. ],
  343. "summary": "更改房屋",
  344. "parameters": [
  345. {
  346. "type": "string",
  347. "description": "token",
  348. "name": "token",
  349. "in": "header",
  350. "required": true
  351. },
  352. {
  353. "description": "信息",
  354. "name": "body",
  355. "in": "body",
  356. "required": true,
  357. "schema": {
  358. "$ref": "#/definitions/v1.HouseUpdateBody"
  359. }
  360. }
  361. ],
  362. "responses": {
  363. "200": {
  364. "description": "OK",
  365. "schema": {
  366. "$ref": "#/definitions/v1.HouseUpdateResponse"
  367. }
  368. },
  369. "500": {
  370. "description": "Internal Server Error",
  371. "schema": {
  372. "$ref": "#/definitions/base.HTTPError"
  373. }
  374. }
  375. }
  376. },
  377. "post": {
  378. "description": "添加房屋",
  379. "consumes": [
  380. "application/json"
  381. ],
  382. "produces": [
  383. "application/json"
  384. ],
  385. "tags": [
  386. "楼盘管理"
  387. ],
  388. "summary": "添加房屋",
  389. "parameters": [
  390. {
  391. "type": "string",
  392. "description": "token",
  393. "name": "token",
  394. "in": "header",
  395. "required": true
  396. },
  397. {
  398. "description": "信息",
  399. "name": "body",
  400. "in": "body",
  401. "required": true,
  402. "schema": {
  403. "$ref": "#/definitions/v1.HouseAddBody"
  404. }
  405. }
  406. ],
  407. "responses": {
  408. "200": {
  409. "description": "OK",
  410. "schema": {
  411. "$ref": "#/definitions/v1.HouseAddResponse"
  412. }
  413. },
  414. "500": {
  415. "description": "Internal Server Error",
  416. "schema": {
  417. "$ref": "#/definitions/base.HTTPError"
  418. }
  419. }
  420. }
  421. },
  422. "delete": {
  423. "description": "删除房屋",
  424. "consumes": [
  425. "application/json"
  426. ],
  427. "produces": [
  428. "application/json"
  429. ],
  430. "tags": [
  431. "楼盘管理"
  432. ],
  433. "summary": "删除房屋",
  434. "parameters": [
  435. {
  436. "type": "string",
  437. "description": "token",
  438. "name": "token",
  439. "in": "header",
  440. "required": true
  441. },
  442. {
  443. "type": "integer",
  444. "description": "id",
  445. "name": "id",
  446. "in": "query",
  447. "required": true
  448. }
  449. ],
  450. "responses": {
  451. "200": {
  452. "description": "OK",
  453. "schema": {
  454. "$ref": "#/definitions/v1.HouseDelResponse"
  455. }
  456. },
  457. "500": {
  458. "description": "Internal Server Error",
  459. "schema": {
  460. "$ref": "#/definitions/base.HTTPError"
  461. }
  462. }
  463. }
  464. }
  465. },
  466. "/api/v1/buildings/unit": {
  467. "get": {
  468. "description": "单元列表",
  469. "consumes": [
  470. "application/json"
  471. ],
  472. "produces": [
  473. "application/json"
  474. ],
  475. "tags": [
  476. "楼盘管理"
  477. ],
  478. "summary": "单元列表",
  479. "parameters": [
  480. {
  481. "type": "string",
  482. "description": "token",
  483. "name": "token",
  484. "in": "header",
  485. "required": true
  486. },
  487. {
  488. "type": "integer",
  489. "description": " ",
  490. "name": "page",
  491. "in": "query"
  492. },
  493. {
  494. "type": "integer",
  495. "description": " ",
  496. "name": "page_size",
  497. "in": "query"
  498. },
  499. {
  500. "type": "integer",
  501. "description": "单元编号",
  502. "name": "unit_number",
  503. "in": "query"
  504. },
  505. {
  506. "type": "integer",
  507. "description": "楼栋id",
  508. "name": "building_id",
  509. "in": "query"
  510. }
  511. ],
  512. "responses": {
  513. "200": {
  514. "description": "OK",
  515. "schema": {
  516. "$ref": "#/definitions/v1.UnitListResponse"
  517. }
  518. },
  519. "500": {
  520. "description": "Internal Server Error",
  521. "schema": {
  522. "$ref": "#/definitions/base.HTTPError"
  523. }
  524. }
  525. }
  526. },
  527. "put": {
  528. "description": "更改单元",
  529. "consumes": [
  530. "application/json"
  531. ],
  532. "produces": [
  533. "application/json"
  534. ],
  535. "tags": [
  536. "楼盘管理"
  537. ],
  538. "summary": "更改单元",
  539. "parameters": [
  540. {
  541. "type": "string",
  542. "description": "token",
  543. "name": "token",
  544. "in": "header",
  545. "required": true
  546. },
  547. {
  548. "description": "信息",
  549. "name": "body",
  550. "in": "body",
  551. "required": true,
  552. "schema": {
  553. "$ref": "#/definitions/v1.UnitUpdateBody"
  554. }
  555. }
  556. ],
  557. "responses": {
  558. "200": {
  559. "description": "OK",
  560. "schema": {
  561. "$ref": "#/definitions/v1.UnitUpdateResponse"
  562. }
  563. },
  564. "500": {
  565. "description": "Internal Server Error",
  566. "schema": {
  567. "$ref": "#/definitions/base.HTTPError"
  568. }
  569. }
  570. }
  571. },
  572. "post": {
  573. "description": "添加单元",
  574. "consumes": [
  575. "application/json"
  576. ],
  577. "produces": [
  578. "application/json"
  579. ],
  580. "tags": [
  581. "楼盘管理"
  582. ],
  583. "summary": "添加单元",
  584. "parameters": [
  585. {
  586. "type": "string",
  587. "description": "token",
  588. "name": "token",
  589. "in": "header",
  590. "required": true
  591. },
  592. {
  593. "description": "信息",
  594. "name": "body",
  595. "in": "body",
  596. "required": true,
  597. "schema": {
  598. "$ref": "#/definitions/v1.UnitAddBody"
  599. }
  600. }
  601. ],
  602. "responses": {
  603. "200": {
  604. "description": "OK",
  605. "schema": {
  606. "$ref": "#/definitions/v1.UnitAddResponse"
  607. }
  608. },
  609. "500": {
  610. "description": "Internal Server Error",
  611. "schema": {
  612. "$ref": "#/definitions/base.HTTPError"
  613. }
  614. }
  615. }
  616. },
  617. "delete": {
  618. "description": "删除单元",
  619. "consumes": [
  620. "application/json"
  621. ],
  622. "produces": [
  623. "application/json"
  624. ],
  625. "tags": [
  626. "楼盘管理"
  627. ],
  628. "summary": "删除单元",
  629. "parameters": [
  630. {
  631. "type": "string",
  632. "description": "token",
  633. "name": "token",
  634. "in": "header",
  635. "required": true
  636. },
  637. {
  638. "type": "integer",
  639. "description": "id",
  640. "name": "id",
  641. "in": "query",
  642. "required": true
  643. }
  644. ],
  645. "responses": {
  646. "200": {
  647. "description": "OK",
  648. "schema": {
  649. "$ref": "#/definitions/v1.UnitDelResponse"
  650. }
  651. },
  652. "500": {
  653. "description": "Internal Server Error",
  654. "schema": {
  655. "$ref": "#/definitions/base.HTTPError"
  656. }
  657. }
  658. }
  659. }
  660. },
  661. "/api/v1/charge/batch_urge": {
  662. "get": {
  663. "description": "批量催缴单",
  664. "consumes": [
  665. "application/json"
  666. ],
  667. "produces": [
  668. "application/json"
  669. ],
  670. "tags": [
  671. "对象收费相关"
  672. ],
  673. "summary": "批量催缴单",
  674. "parameters": [
  675. {
  676. "type": "string",
  677. "description": "token",
  678. "name": "token",
  679. "in": "header",
  680. "required": true
  681. },
  682. {
  683. "type": "integer",
  684. "description": "1 房屋 2 车位",
  685. "name": "obj_type",
  686. "in": "query",
  687. "required": true
  688. }
  689. ],
  690. "responses": {
  691. "200": {
  692. "description": "OK",
  693. "schema": {
  694. "$ref": "#/definitions/v1.BatchUrgeResponse"
  695. }
  696. },
  697. "500": {
  698. "description": "Internal Server Error",
  699. "schema": {
  700. "$ref": "#/definitions/base.HTTPError"
  701. }
  702. }
  703. }
  704. }
  705. },
  706. "/api/v1/charge/bind": {
  707. "put": {
  708. "description": "费用绑定对象",
  709. "consumes": [
  710. "application/json"
  711. ],
  712. "produces": [
  713. "application/json"
  714. ],
  715. "tags": [
  716. "费用绑定相关"
  717. ],
  718. "summary": "费用绑定对象",
  719. "parameters": [
  720. {
  721. "type": "string",
  722. "description": "token",
  723. "name": "token",
  724. "in": "header",
  725. "required": true
  726. },
  727. {
  728. "description": "信息",
  729. "name": "body",
  730. "in": "body",
  731. "required": true,
  732. "schema": {
  733. "$ref": "#/definitions/v1.ChargeBindBody"
  734. }
  735. }
  736. ],
  737. "responses": {
  738. "200": {
  739. "description": "OK",
  740. "schema": {
  741. "$ref": "#/definitions/v1.ChargeBindResponse"
  742. }
  743. },
  744. "500": {
  745. "description": "Internal Server Error",
  746. "schema": {
  747. "$ref": "#/definitions/base.HTTPError"
  748. }
  749. }
  750. }
  751. }
  752. },
  753. "/api/v1/charge/conf": {
  754. "get": {
  755. "description": "费用配置列表",
  756. "consumes": [
  757. "application/json"
  758. ],
  759. "produces": [
  760. "application/json"
  761. ],
  762. "tags": [
  763. "费用配置"
  764. ],
  765. "summary": "费用配置列表",
  766. "parameters": [
  767. {
  768. "type": "integer",
  769. "description": " ",
  770. "name": "page",
  771. "in": "query"
  772. },
  773. {
  774. "type": "integer",
  775. "description": " ",
  776. "name": "page_size",
  777. "in": "query"
  778. },
  779. {
  780. "type": "integer",
  781. "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  782. "name": "charge_type",
  783. "in": "query"
  784. },
  785. {
  786. "type": "string",
  787. "description": "token",
  788. "name": "token",
  789. "in": "header",
  790. "required": true
  791. }
  792. ],
  793. "responses": {
  794. "200": {
  795. "description": "OK",
  796. "schema": {
  797. "$ref": "#/definitions/v1.ChargeConfListResponse"
  798. }
  799. },
  800. "500": {
  801. "description": "Internal Server Error",
  802. "schema": {
  803. "$ref": "#/definitions/base.HTTPError"
  804. }
  805. }
  806. }
  807. },
  808. "put": {
  809. "description": "修改费用配置",
  810. "consumes": [
  811. "application/json"
  812. ],
  813. "produces": [
  814. "application/json"
  815. ],
  816. "tags": [
  817. "费用配置"
  818. ],
  819. "summary": "修改费用配置",
  820. "parameters": [
  821. {
  822. "type": "string",
  823. "description": "token",
  824. "name": "token",
  825. "in": "header",
  826. "required": true
  827. },
  828. {
  829. "description": "信息",
  830. "name": "body",
  831. "in": "body",
  832. "required": true,
  833. "schema": {
  834. "$ref": "#/definitions/v1.ChargeConfUpdateBody"
  835. }
  836. }
  837. ],
  838. "responses": {
  839. "200": {
  840. "description": "OK",
  841. "schema": {
  842. "$ref": "#/definitions/v1.ChargeConfUpdateResponse"
  843. }
  844. },
  845. "500": {
  846. "description": "Internal Server Error",
  847. "schema": {
  848. "$ref": "#/definitions/base.HTTPError"
  849. }
  850. }
  851. }
  852. },
  853. "post": {
  854. "description": "添加费用配置",
  855. "consumes": [
  856. "application/json"
  857. ],
  858. "produces": [
  859. "application/json"
  860. ],
  861. "tags": [
  862. "费用配置"
  863. ],
  864. "summary": "添加费用配置",
  865. "parameters": [
  866. {
  867. "type": "string",
  868. "description": "token",
  869. "name": "token",
  870. "in": "header",
  871. "required": true
  872. },
  873. {
  874. "description": "信息",
  875. "name": "body",
  876. "in": "body",
  877. "required": true,
  878. "schema": {
  879. "$ref": "#/definitions/v1.ChargeConfAddBody"
  880. }
  881. }
  882. ],
  883. "responses": {
  884. "200": {
  885. "description": "OK",
  886. "schema": {
  887. "$ref": "#/definitions/v1.ChargeConfAddResponse"
  888. }
  889. },
  890. "500": {
  891. "description": "Internal Server Error",
  892. "schema": {
  893. "$ref": "#/definitions/base.HTTPError"
  894. }
  895. }
  896. }
  897. },
  898. "delete": {
  899. "description": "删除费用配置",
  900. "consumes": [
  901. "application/json"
  902. ],
  903. "produces": [
  904. "application/json"
  905. ],
  906. "tags": [
  907. "费用配置"
  908. ],
  909. "summary": "删除费用配置",
  910. "parameters": [
  911. {
  912. "type": "integer",
  913. "description": " ",
  914. "name": "id",
  915. "in": "query",
  916. "required": true
  917. },
  918. {
  919. "type": "string",
  920. "description": "token",
  921. "name": "token",
  922. "in": "header",
  923. "required": true
  924. }
  925. ],
  926. "responses": {
  927. "200": {
  928. "description": "OK",
  929. "schema": {
  930. "$ref": "#/definitions/v1.ChargeConfDelResponse"
  931. }
  932. },
  933. "500": {
  934. "description": "Internal Server Error",
  935. "schema": {
  936. "$ref": "#/definitions/base.HTTPError"
  937. }
  938. }
  939. }
  940. }
  941. },
  942. "/api/v1/charge/discard_bill/list": {
  943. "get": {
  944. "description": "作废账单列表",
  945. "consumes": [
  946. "application/json"
  947. ],
  948. "produces": [
  949. "application/json"
  950. ],
  951. "tags": [
  952. "作废账单"
  953. ],
  954. "summary": "作废账单列表",
  955. "parameters": [
  956. {
  957. "type": "string",
  958. "description": "token",
  959. "name": "token",
  960. "in": "header",
  961. "required": true
  962. },
  963. {
  964. "type": "integer",
  965. "description": " ",
  966. "name": "page",
  967. "in": "query"
  968. },
  969. {
  970. "type": "integer",
  971. "description": " ",
  972. "name": "page_size",
  973. "in": "query"
  974. },
  975. {
  976. "type": "integer",
  977. "description": "费用类型 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  978. "name": "charge_type",
  979. "in": "query"
  980. },
  981. {
  982. "type": "string",
  983. "description": "对象名",
  984. "name": "obj_name",
  985. "in": "query"
  986. },
  987. {
  988. "type": "string",
  989. "description": "费项名",
  990. "name": "charge_name",
  991. "in": "query"
  992. },
  993. {
  994. "type": "integer",
  995. "description": "1 房屋 2 车位 3 车辆 ",
  996. "name": "obj_type",
  997. "in": "query"
  998. }
  999. ],
  1000. "responses": {
  1001. "200": {
  1002. "description": "OK",
  1003. "schema": {
  1004. "$ref": "#/definitions/v1.ChargeDelBillListResponse"
  1005. }
  1006. },
  1007. "500": {
  1008. "description": "Internal Server Error",
  1009. "schema": {
  1010. "$ref": "#/definitions/base.HTTPError"
  1011. }
  1012. }
  1013. }
  1014. }
  1015. },
  1016. "/api/v1/charge/discard_bill/recover": {
  1017. "put": {
  1018. "description": "恢复账单",
  1019. "consumes": [
  1020. "application/json"
  1021. ],
  1022. "produces": [
  1023. "application/json"
  1024. ],
  1025. "tags": [
  1026. "作废账单"
  1027. ],
  1028. "summary": "恢复账单",
  1029. "parameters": [
  1030. {
  1031. "type": "string",
  1032. "description": "token",
  1033. "name": "token",
  1034. "in": "header",
  1035. "required": true
  1036. },
  1037. {
  1038. "description": " ",
  1039. "name": "body",
  1040. "in": "body",
  1041. "required": true,
  1042. "schema": {
  1043. "$ref": "#/definitions/v1.ChargeRecoverBillBody"
  1044. }
  1045. }
  1046. ],
  1047. "responses": {
  1048. "200": {
  1049. "description": "OK",
  1050. "schema": {
  1051. "$ref": "#/definitions/v1.ChargeRecoverBillResponse"
  1052. }
  1053. },
  1054. "500": {
  1055. "description": "Internal Server Error",
  1056. "schema": {
  1057. "$ref": "#/definitions/base.HTTPError"
  1058. }
  1059. }
  1060. }
  1061. }
  1062. },
  1063. "/api/v1/charge/house/binded_list": {
  1064. "get": {
  1065. "description": "绑定了项目的房屋列表",
  1066. "consumes": [
  1067. "application/json"
  1068. ],
  1069. "produces": [
  1070. "application/json"
  1071. ],
  1072. "tags": [
  1073. "费用绑定相关"
  1074. ],
  1075. "summary": "绑定了项目的房屋列表",
  1076. "parameters": [
  1077. {
  1078. "type": "string",
  1079. "description": "token",
  1080. "name": "token",
  1081. "in": "header",
  1082. "required": true
  1083. },
  1084. {
  1085. "type": "integer",
  1086. "description": "费项id",
  1087. "name": "charge_id",
  1088. "in": "query",
  1089. "required": true
  1090. },
  1091. {
  1092. "type": "integer",
  1093. "description": " ",
  1094. "name": "page",
  1095. "in": "query"
  1096. },
  1097. {
  1098. "type": "integer",
  1099. "description": " ",
  1100. "name": "page_size",
  1101. "in": "query"
  1102. }
  1103. ],
  1104. "responses": {
  1105. "200": {
  1106. "description": "OK",
  1107. "schema": {
  1108. "$ref": "#/definitions/v1.ChargeHouseBindedListResponse"
  1109. }
  1110. },
  1111. "500": {
  1112. "description": "Internal Server Error",
  1113. "schema": {
  1114. "$ref": "#/definitions/base.HTTPError"
  1115. }
  1116. }
  1117. }
  1118. }
  1119. },
  1120. "/api/v1/charge/house/can_bind_list": {
  1121. "get": {
  1122. "description": "可以绑定某项目的房屋列表",
  1123. "consumes": [
  1124. "application/json"
  1125. ],
  1126. "produces": [
  1127. "application/json"
  1128. ],
  1129. "tags": [
  1130. "费用绑定相关"
  1131. ],
  1132. "summary": "可以绑定某项目的房屋列表",
  1133. "parameters": [
  1134. {
  1135. "type": "string",
  1136. "description": "token",
  1137. "name": "token",
  1138. "in": "header",
  1139. "required": true
  1140. },
  1141. {
  1142. "type": "integer",
  1143. "description": "费项id",
  1144. "name": "charge_id",
  1145. "in": "query",
  1146. "required": true
  1147. },
  1148. {
  1149. "type": "integer",
  1150. "description": " ",
  1151. "name": "page",
  1152. "in": "query"
  1153. },
  1154. {
  1155. "type": "integer",
  1156. "description": " ",
  1157. "name": "page_size",
  1158. "in": "query"
  1159. }
  1160. ],
  1161. "responses": {
  1162. "200": {
  1163. "description": "OK",
  1164. "schema": {
  1165. "$ref": "#/definitions/v1.ChargeHouseNotBindListResponse"
  1166. }
  1167. },
  1168. "500": {
  1169. "description": "Internal Server Error",
  1170. "schema": {
  1171. "$ref": "#/definitions/base.HTTPError"
  1172. }
  1173. }
  1174. }
  1175. }
  1176. },
  1177. "/api/v1/charge/native_pay": {
  1178. "put": {
  1179. "description": "二维码收款",
  1180. "consumes": [
  1181. "application/json"
  1182. ],
  1183. "produces": [
  1184. "application/json"
  1185. ],
  1186. "tags": [
  1187. "收银台"
  1188. ],
  1189. "summary": "二维码收款",
  1190. "parameters": [
  1191. {
  1192. "type": "string",
  1193. "description": "token",
  1194. "name": "token",
  1195. "in": "header",
  1196. "required": true
  1197. },
  1198. {
  1199. "description": " ",
  1200. "name": "body",
  1201. "in": "body",
  1202. "required": true,
  1203. "schema": {
  1204. "$ref": "#/definitions/v1.ChargeBillPayByHouseholdBody"
  1205. }
  1206. }
  1207. ],
  1208. "responses": {
  1209. "200": {
  1210. "description": "OK",
  1211. "schema": {
  1212. "$ref": "#/definitions/v1.ChargeBillPayByHouseholdResponse"
  1213. }
  1214. },
  1215. "500": {
  1216. "description": "Internal Server Error",
  1217. "schema": {
  1218. "$ref": "#/definitions/base.HTTPError"
  1219. }
  1220. }
  1221. }
  1222. }
  1223. },
  1224. "/api/v1/charge/obj_charge/bill": {
  1225. "put": {
  1226. "description": "手动生成账单,仅周期性费用和水电气可以生成",
  1227. "consumes": [
  1228. "application/json"
  1229. ],
  1230. "produces": [
  1231. "application/json"
  1232. ],
  1233. "tags": [
  1234. "对象收费相关"
  1235. ],
  1236. "summary": "手动生成账单,仅周期性费用和水电气可以生成",
  1237. "parameters": [
  1238. {
  1239. "type": "string",
  1240. "description": "token",
  1241. "name": "token",
  1242. "in": "header",
  1243. "required": true
  1244. },
  1245. {
  1246. "description": " ",
  1247. "name": "body",
  1248. "in": "body",
  1249. "required": true,
  1250. "schema": {
  1251. "$ref": "#/definitions/v1.ChargeGenerateBillBody"
  1252. }
  1253. }
  1254. ],
  1255. "responses": {
  1256. "200": {
  1257. "description": "OK",
  1258. "schema": {
  1259. "$ref": "#/definitions/v1.ChargeGenerateBillResponse"
  1260. }
  1261. },
  1262. "500": {
  1263. "description": "Internal Server Error",
  1264. "schema": {
  1265. "$ref": "#/definitions/base.HTTPError"
  1266. }
  1267. }
  1268. }
  1269. }
  1270. },
  1271. "/api/v1/charge/obj_charge/bill_list": {
  1272. "get": {
  1273. "description": "对象的某费项下的待缴账单列表",
  1274. "consumes": [
  1275. "application/json"
  1276. ],
  1277. "produces": [
  1278. "application/json"
  1279. ],
  1280. "tags": [
  1281. "对象收费相关"
  1282. ],
  1283. "summary": "对象的某费项下的待缴账单列表",
  1284. "parameters": [
  1285. {
  1286. "type": "string",
  1287. "description": "token",
  1288. "name": "token",
  1289. "in": "header",
  1290. "required": true
  1291. },
  1292. {
  1293. "type": "integer",
  1294. "description": "绑定关系id",
  1295. "name": "bind_id",
  1296. "in": "query",
  1297. "required": true
  1298. },
  1299. {
  1300. "type": "integer",
  1301. "description": " ",
  1302. "name": "page",
  1303. "in": "query"
  1304. },
  1305. {
  1306. "type": "integer",
  1307. "description": " ",
  1308. "name": "page_size",
  1309. "in": "query"
  1310. }
  1311. ],
  1312. "responses": {
  1313. "200": {
  1314. "description": "OK",
  1315. "schema": {
  1316. "$ref": "#/definitions/v1.ChargeBillListResponse"
  1317. }
  1318. },
  1319. "500": {
  1320. "description": "Internal Server Error",
  1321. "schema": {
  1322. "$ref": "#/definitions/base.HTTPError"
  1323. }
  1324. }
  1325. }
  1326. }
  1327. },
  1328. "/api/v1/charge/obj_charge/charge_list": {
  1329. "get": {
  1330. "description": "查看费用,费项列表",
  1331. "consumes": [
  1332. "application/json"
  1333. ],
  1334. "produces": [
  1335. "application/json"
  1336. ],
  1337. "tags": [
  1338. "对象收费相关"
  1339. ],
  1340. "summary": "查看费用,费项列表",
  1341. "parameters": [
  1342. {
  1343. "type": "string",
  1344. "description": "token",
  1345. "name": "token",
  1346. "in": "header",
  1347. "required": true
  1348. },
  1349. {
  1350. "type": "integer",
  1351. "description": "房屋/车位/车辆id",
  1352. "name": "obj_id",
  1353. "in": "query",
  1354. "required": true
  1355. },
  1356. {
  1357. "type": "integer",
  1358. "description": "1 房屋 2 车位 3 车辆 ",
  1359. "name": "obj_type",
  1360. "in": "query",
  1361. "required": true
  1362. },
  1363. {
  1364. "type": "integer",
  1365. "description": " ",
  1366. "name": "page",
  1367. "in": "query"
  1368. },
  1369. {
  1370. "type": "integer",
  1371. "description": " ",
  1372. "name": "page_size",
  1373. "in": "query"
  1374. }
  1375. ],
  1376. "responses": {
  1377. "200": {
  1378. "description": "OK",
  1379. "schema": {
  1380. "$ref": "#/definitions/v1.ChargeListResponse"
  1381. }
  1382. },
  1383. "500": {
  1384. "description": "Internal Server Error",
  1385. "schema": {
  1386. "$ref": "#/definitions/base.HTTPError"
  1387. }
  1388. }
  1389. }
  1390. }
  1391. },
  1392. "/api/v1/charge/obj_charge/house_list": {
  1393. "get": {
  1394. "description": "房屋收费 房屋列表",
  1395. "consumes": [
  1396. "application/json"
  1397. ],
  1398. "produces": [
  1399. "application/json"
  1400. ],
  1401. "tags": [
  1402. "对象收费相关"
  1403. ],
  1404. "summary": "房屋收费 房屋列表",
  1405. "parameters": [
  1406. {
  1407. "type": "string",
  1408. "description": "token",
  1409. "name": "token",
  1410. "in": "header",
  1411. "required": true
  1412. },
  1413. {
  1414. "type": "integer",
  1415. "description": " ",
  1416. "name": "page",
  1417. "in": "query"
  1418. },
  1419. {
  1420. "type": "integer",
  1421. "description": " ",
  1422. "name": "page_size",
  1423. "in": "query"
  1424. }
  1425. ],
  1426. "responses": {
  1427. "200": {
  1428. "description": "OK",
  1429. "schema": {
  1430. "$ref": "#/definitions/v1.ChargeHouseGroupResponse"
  1431. }
  1432. },
  1433. "500": {
  1434. "description": "Internal Server Error",
  1435. "schema": {
  1436. "$ref": "#/definitions/base.HTTPError"
  1437. }
  1438. }
  1439. }
  1440. }
  1441. },
  1442. "/api/v1/charge/obj_charge/pay": {
  1443. "put": {
  1444. "description": "欠费线下缴费",
  1445. "consumes": [
  1446. "application/json"
  1447. ],
  1448. "produces": [
  1449. "application/json"
  1450. ],
  1451. "tags": [
  1452. "对象收费相关"
  1453. ],
  1454. "summary": "欠费线下缴费",
  1455. "parameters": [
  1456. {
  1457. "type": "string",
  1458. "description": "token",
  1459. "name": "token",
  1460. "in": "header",
  1461. "required": true
  1462. },
  1463. {
  1464. "description": " ",
  1465. "name": "body",
  1466. "in": "body",
  1467. "required": true,
  1468. "schema": {
  1469. "$ref": "#/definitions/v1.ChargeBillPayBody"
  1470. }
  1471. }
  1472. ],
  1473. "responses": {
  1474. "200": {
  1475. "description": "OK",
  1476. "schema": {
  1477. "$ref": "#/definitions/v1.ChargeBillPayResponse"
  1478. }
  1479. },
  1480. "500": {
  1481. "description": "Internal Server Error",
  1482. "schema": {
  1483. "$ref": "#/definitions/base.HTTPError"
  1484. }
  1485. }
  1486. }
  1487. }
  1488. },
  1489. "/api/v1/charge/obj_charge/pre_pay": {
  1490. "put": {
  1491. "description": "线下预缴物业费或车位费",
  1492. "consumes": [
  1493. "application/json"
  1494. ],
  1495. "produces": [
  1496. "application/json"
  1497. ],
  1498. "tags": [
  1499. "对象收费相关"
  1500. ],
  1501. "summary": "线下预缴物业费或车位费",
  1502. "parameters": [
  1503. {
  1504. "type": "string",
  1505. "description": "token",
  1506. "name": "token",
  1507. "in": "header",
  1508. "required": true
  1509. },
  1510. {
  1511. "description": " ",
  1512. "name": "body",
  1513. "in": "body",
  1514. "required": true,
  1515. "schema": {
  1516. "$ref": "#/definitions/v1.ChargePrePayBody"
  1517. }
  1518. }
  1519. ],
  1520. "responses": {
  1521. "200": {
  1522. "description": "OK",
  1523. "schema": {
  1524. "$ref": "#/definitions/v1.ChargePrePayResponse"
  1525. }
  1526. },
  1527. "500": {
  1528. "description": "Internal Server Error",
  1529. "schema": {
  1530. "$ref": "#/definitions/base.HTTPError"
  1531. }
  1532. }
  1533. }
  1534. }
  1535. },
  1536. "/api/v1/charge/obj_charge/pre_pay_info": {
  1537. "get": {
  1538. "description": "预缴物业费或车位费前获取对应的金额信息",
  1539. "consumes": [
  1540. "application/json"
  1541. ],
  1542. "produces": [
  1543. "application/json"
  1544. ],
  1545. "tags": [
  1546. "对象收费相关"
  1547. ],
  1548. "summary": "预缴物业费或车位费前获取对应的金额信息",
  1549. "parameters": [
  1550. {
  1551. "type": "string",
  1552. "description": "token",
  1553. "name": "token",
  1554. "in": "header",
  1555. "required": true
  1556. },
  1557. {
  1558. "type": "integer",
  1559. "description": "关系id",
  1560. "name": "bind_id",
  1561. "in": "query",
  1562. "required": true
  1563. },
  1564. {
  1565. "type": "integer",
  1566. "description": "缴费月数",
  1567. "name": "months",
  1568. "in": "query",
  1569. "required": true
  1570. }
  1571. ],
  1572. "responses": {
  1573. "200": {
  1574. "description": "OK",
  1575. "schema": {
  1576. "$ref": "#/definitions/v1.ChargePrePayInfoResponse"
  1577. }
  1578. },
  1579. "500": {
  1580. "description": "Internal Server Error",
  1581. "schema": {
  1582. "$ref": "#/definitions/base.HTTPError"
  1583. }
  1584. }
  1585. }
  1586. }
  1587. },
  1588. "/api/v1/charge/obj_charge/space_list": {
  1589. "get": {
  1590. "description": "车位收费 车位列表",
  1591. "consumes": [
  1592. "application/json"
  1593. ],
  1594. "produces": [
  1595. "application/json"
  1596. ],
  1597. "tags": [
  1598. "对象收费相关"
  1599. ],
  1600. "summary": "车位收费 车位列表",
  1601. "parameters": [
  1602. {
  1603. "type": "string",
  1604. "description": "token",
  1605. "name": "token",
  1606. "in": "header",
  1607. "required": true
  1608. },
  1609. {
  1610. "type": "integer",
  1611. "description": " ",
  1612. "name": "page",
  1613. "in": "query"
  1614. },
  1615. {
  1616. "type": "integer",
  1617. "description": " ",
  1618. "name": "page_size",
  1619. "in": "query"
  1620. }
  1621. ],
  1622. "responses": {
  1623. "200": {
  1624. "description": "OK",
  1625. "schema": {
  1626. "$ref": "#/definitions/v1.ChargeSpaceGroupResponse"
  1627. }
  1628. },
  1629. "500": {
  1630. "description": "Internal Server Error",
  1631. "schema": {
  1632. "$ref": "#/definitions/base.HTTPError"
  1633. }
  1634. }
  1635. }
  1636. }
  1637. },
  1638. "/api/v1/charge/obj_charge/ticket": {
  1639. "get": {
  1640. "description": "小票和收据信息",
  1641. "consumes": [
  1642. "application/json"
  1643. ],
  1644. "produces": [
  1645. "application/json"
  1646. ],
  1647. "tags": [
  1648. "对象收费相关"
  1649. ],
  1650. "summary": "小票和收据信息",
  1651. "parameters": [
  1652. {
  1653. "type": "string",
  1654. "description": "token",
  1655. "name": "token",
  1656. "in": "header",
  1657. "required": true
  1658. },
  1659. {
  1660. "type": "string",
  1661. "description": "订单号 ",
  1662. "name": "order_id",
  1663. "in": "query",
  1664. "required": true
  1665. }
  1666. ],
  1667. "responses": {
  1668. "200": {
  1669. "description": "OK",
  1670. "schema": {
  1671. "$ref": "#/definitions/v1.ChargeOrderTicketResponse"
  1672. }
  1673. },
  1674. "500": {
  1675. "description": "Internal Server Error",
  1676. "schema": {
  1677. "$ref": "#/definitions/base.HTTPError"
  1678. }
  1679. }
  1680. }
  1681. }
  1682. },
  1683. "/api/v1/charge/obj_charge/time": {
  1684. "put": {
  1685. "description": "变更时间",
  1686. "consumes": [
  1687. "application/json"
  1688. ],
  1689. "produces": [
  1690. "application/json"
  1691. ],
  1692. "tags": [
  1693. "对象收费相关"
  1694. ],
  1695. "summary": "变更时间",
  1696. "parameters": [
  1697. {
  1698. "type": "string",
  1699. "description": "token",
  1700. "name": "token",
  1701. "in": "header",
  1702. "required": true
  1703. },
  1704. {
  1705. "description": " ",
  1706. "name": "body",
  1707. "in": "body",
  1708. "required": true,
  1709. "schema": {
  1710. "$ref": "#/definitions/v1.ChargeTimeSetBody"
  1711. }
  1712. }
  1713. ],
  1714. "responses": {
  1715. "200": {
  1716. "description": "OK",
  1717. "schema": {
  1718. "$ref": "#/definitions/v1.ChargeTimeSetResponse"
  1719. }
  1720. },
  1721. "500": {
  1722. "description": "Internal Server Error",
  1723. "schema": {
  1724. "$ref": "#/definitions/base.HTTPError"
  1725. }
  1726. }
  1727. }
  1728. }
  1729. },
  1730. "/api/v1/charge/obj_charge/unpay_list": {
  1731. "get": {
  1732. "description": "欠费缴费欠费列表",
  1733. "consumes": [
  1734. "application/json"
  1735. ],
  1736. "produces": [
  1737. "application/json"
  1738. ],
  1739. "tags": [
  1740. "对象收费相关"
  1741. ],
  1742. "summary": "欠费缴费欠费列表",
  1743. "parameters": [
  1744. {
  1745. "type": "string",
  1746. "description": "token",
  1747. "name": "token",
  1748. "in": "header",
  1749. "required": true
  1750. },
  1751. {
  1752. "type": "integer",
  1753. "description": "房屋/车位/车辆id",
  1754. "name": "obj_id",
  1755. "in": "query",
  1756. "required": true
  1757. },
  1758. {
  1759. "type": "integer",
  1760. "description": "1 房屋 2 车位 3 车辆 ",
  1761. "name": "obj_type",
  1762. "in": "query",
  1763. "required": true
  1764. },
  1765. {
  1766. "type": "integer",
  1767. "description": " ",
  1768. "name": "page",
  1769. "in": "query"
  1770. },
  1771. {
  1772. "type": "integer",
  1773. "description": " ",
  1774. "name": "page_size",
  1775. "in": "query"
  1776. }
  1777. ],
  1778. "responses": {
  1779. "200": {
  1780. "description": "OK",
  1781. "schema": {
  1782. "$ref": "#/definitions/v1.ChargeUnpayListResponse"
  1783. }
  1784. },
  1785. "500": {
  1786. "description": "Internal Server Error",
  1787. "schema": {
  1788. "$ref": "#/definitions/base.HTTPError"
  1789. }
  1790. }
  1791. }
  1792. }
  1793. },
  1794. "/api/v1/charge/obj_charge/vehicle_list": {
  1795. "get": {
  1796. "description": "车辆收费 车辆列表",
  1797. "consumes": [
  1798. "application/json"
  1799. ],
  1800. "produces": [
  1801. "application/json"
  1802. ],
  1803. "tags": [
  1804. "对象收费相关"
  1805. ],
  1806. "summary": "车辆收费 车辆列表",
  1807. "parameters": [
  1808. {
  1809. "type": "string",
  1810. "description": "token",
  1811. "name": "token",
  1812. "in": "header",
  1813. "required": true
  1814. },
  1815. {
  1816. "type": "integer",
  1817. "description": " ",
  1818. "name": "page",
  1819. "in": "query"
  1820. },
  1821. {
  1822. "type": "integer",
  1823. "description": " ",
  1824. "name": "page_size",
  1825. "in": "query"
  1826. }
  1827. ],
  1828. "responses": {
  1829. "200": {
  1830. "description": "OK",
  1831. "schema": {
  1832. "$ref": "#/definitions/v1.ChargeVehicleGroupResponse"
  1833. }
  1834. },
  1835. "500": {
  1836. "description": "Internal Server Error",
  1837. "schema": {
  1838. "$ref": "#/definitions/base.HTTPError"
  1839. }
  1840. }
  1841. }
  1842. }
  1843. },
  1844. "/api/v1/charge/order/confirm": {
  1845. "put": {
  1846. "description": "确认订单已支付",
  1847. "consumes": [
  1848. "application/json"
  1849. ],
  1850. "produces": [
  1851. "application/json"
  1852. ],
  1853. "tags": [
  1854. "缴费订单"
  1855. ],
  1856. "summary": "确认订单已支付",
  1857. "parameters": [
  1858. {
  1859. "type": "string",
  1860. "description": "token",
  1861. "name": "token",
  1862. "in": "header",
  1863. "required": true
  1864. },
  1865. {
  1866. "description": " ",
  1867. "name": "body",
  1868. "in": "body",
  1869. "required": true,
  1870. "schema": {
  1871. "$ref": "#/definitions/v1.ChargeOrderPayBody"
  1872. }
  1873. }
  1874. ],
  1875. "responses": {
  1876. "200": {
  1877. "description": "OK",
  1878. "schema": {
  1879. "$ref": "#/definitions/v1.ChargeOrderPayResponse"
  1880. }
  1881. },
  1882. "500": {
  1883. "description": "Internal Server Error",
  1884. "schema": {
  1885. "$ref": "#/definitions/base.HTTPError"
  1886. }
  1887. }
  1888. }
  1889. }
  1890. },
  1891. "/api/v1/charge/order/info": {
  1892. "get": {
  1893. "description": "订单详情",
  1894. "consumes": [
  1895. "application/json"
  1896. ],
  1897. "produces": [
  1898. "application/json"
  1899. ],
  1900. "tags": [
  1901. "缴费订单"
  1902. ],
  1903. "summary": "订单详情",
  1904. "parameters": [
  1905. {
  1906. "type": "string",
  1907. "description": "token",
  1908. "name": "token",
  1909. "in": "header",
  1910. "required": true
  1911. },
  1912. {
  1913. "type": "string",
  1914. "description": "订单详情",
  1915. "name": "order_id",
  1916. "in": "query",
  1917. "required": true
  1918. }
  1919. ],
  1920. "responses": {
  1921. "200": {
  1922. "description": "OK",
  1923. "schema": {
  1924. "$ref": "#/definitions/v1.ChargeOrderInfoResponse"
  1925. }
  1926. },
  1927. "500": {
  1928. "description": "Internal Server Error",
  1929. "schema": {
  1930. "$ref": "#/definitions/base.HTTPError"
  1931. }
  1932. }
  1933. }
  1934. }
  1935. },
  1936. "/api/v1/charge/order/list": {
  1937. "get": {
  1938. "description": "缴费订单列表",
  1939. "consumes": [
  1940. "application/json"
  1941. ],
  1942. "produces": [
  1943. "application/json"
  1944. ],
  1945. "tags": [
  1946. "缴费订单"
  1947. ],
  1948. "summary": "缴费订单列表",
  1949. "parameters": [
  1950. {
  1951. "type": "string",
  1952. "description": "token",
  1953. "name": "token",
  1954. "in": "header",
  1955. "required": true
  1956. },
  1957. {
  1958. "type": "integer",
  1959. "description": " ",
  1960. "name": "page",
  1961. "in": "query"
  1962. },
  1963. {
  1964. "type": "integer",
  1965. "description": " ",
  1966. "name": "page_size",
  1967. "in": "query"
  1968. },
  1969. {
  1970. "type": "integer",
  1971. "description": "1 现金 2 微信 3 支付宝 4 pos 5 转账 6 小程序微信支付 7 小程序支付宝支付 8 app 微信支付 9 app 支付宝支付",
  1972. "name": "pay_type",
  1973. "in": "query"
  1974. },
  1975. {
  1976. "type": "string",
  1977. "description": "对象名",
  1978. "name": "obj_name",
  1979. "in": "query"
  1980. },
  1981. {
  1982. "type": "integer",
  1983. "description": "2 支付中 3 已支付",
  1984. "name": "pay_status",
  1985. "in": "query"
  1986. }
  1987. ],
  1988. "responses": {
  1989. "200": {
  1990. "description": "OK",
  1991. "schema": {
  1992. "$ref": "#/definitions/v1.ChargeOrderListResponse"
  1993. }
  1994. },
  1995. "500": {
  1996. "description": "Internal Server Error",
  1997. "schema": {
  1998. "$ref": "#/definitions/base.HTTPError"
  1999. }
  2000. }
  2001. }
  2002. }
  2003. },
  2004. "/api/v1/charge/payed_bill/list": {
  2005. "get": {
  2006. "description": "已缴账单",
  2007. "consumes": [
  2008. "application/json"
  2009. ],
  2010. "produces": [
  2011. "application/json"
  2012. ],
  2013. "tags": [
  2014. "已缴账单"
  2015. ],
  2016. "summary": "已缴账单",
  2017. "parameters": [
  2018. {
  2019. "type": "string",
  2020. "description": "token",
  2021. "name": "token",
  2022. "in": "header",
  2023. "required": true
  2024. },
  2025. {
  2026. "type": "integer",
  2027. "description": " ",
  2028. "name": "page",
  2029. "in": "query"
  2030. },
  2031. {
  2032. "type": "integer",
  2033. "description": " ",
  2034. "name": "page_size",
  2035. "in": "query"
  2036. },
  2037. {
  2038. "type": "integer",
  2039. "description": "费用类型 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  2040. "name": "charge_type",
  2041. "in": "query"
  2042. },
  2043. {
  2044. "type": "string",
  2045. "description": "对象名",
  2046. "name": "obj_name",
  2047. "in": "query"
  2048. },
  2049. {
  2050. "type": "string",
  2051. "description": "费项名",
  2052. "name": "charge_name",
  2053. "in": "query"
  2054. }
  2055. ],
  2056. "responses": {
  2057. "200": {
  2058. "description": "OK",
  2059. "schema": {
  2060. "$ref": "#/definitions/v1.ChargePayedBillListResponse"
  2061. }
  2062. },
  2063. "500": {
  2064. "description": "Internal Server Error",
  2065. "schema": {
  2066. "$ref": "#/definitions/base.HTTPError"
  2067. }
  2068. }
  2069. }
  2070. }
  2071. },
  2072. "/api/v1/charge/power": {
  2073. "get": {
  2074. "description": "抄表列表",
  2075. "consumes": [
  2076. "application/json"
  2077. ],
  2078. "produces": [
  2079. "application/json"
  2080. ],
  2081. "tags": [
  2082. "抄表"
  2083. ],
  2084. "summary": "抄表列表",
  2085. "parameters": [
  2086. {
  2087. "type": "integer",
  2088. "description": " ",
  2089. "name": "page",
  2090. "in": "query"
  2091. },
  2092. {
  2093. "type": "integer",
  2094. "description": " ",
  2095. "name": "page_size",
  2096. "in": "query"
  2097. },
  2098. {
  2099. "type": "integer",
  2100. "description": "费用类型 2 水费 3 电费 4 气费 ",
  2101. "name": "charge_type",
  2102. "in": "query"
  2103. },
  2104. {
  2105. "type": "string",
  2106. "description": "token",
  2107. "name": "token",
  2108. "in": "header",
  2109. "required": true
  2110. }
  2111. ],
  2112. "responses": {
  2113. "200": {
  2114. "description": "OK",
  2115. "schema": {
  2116. "$ref": "#/definitions/v1.PowerRecordListResponse"
  2117. }
  2118. },
  2119. "500": {
  2120. "description": "Internal Server Error",
  2121. "schema": {
  2122. "$ref": "#/definitions/base.HTTPError"
  2123. }
  2124. }
  2125. }
  2126. },
  2127. "post": {
  2128. "description": "添加抄表记录",
  2129. "consumes": [
  2130. "application/json"
  2131. ],
  2132. "produces": [
  2133. "application/json"
  2134. ],
  2135. "tags": [
  2136. "抄表"
  2137. ],
  2138. "summary": "添加抄表记录",
  2139. "parameters": [
  2140. {
  2141. "type": "string",
  2142. "description": "token",
  2143. "name": "token",
  2144. "in": "header",
  2145. "required": true
  2146. },
  2147. {
  2148. "description": "信息",
  2149. "name": "body",
  2150. "in": "body",
  2151. "required": true,
  2152. "schema": {
  2153. "$ref": "#/definitions/v1.PowerRecordAddBody"
  2154. }
  2155. }
  2156. ],
  2157. "responses": {
  2158. "200": {
  2159. "description": "OK",
  2160. "schema": {
  2161. "$ref": "#/definitions/v1.PowerRecordAddResponse"
  2162. }
  2163. },
  2164. "500": {
  2165. "description": "Internal Server Error",
  2166. "schema": {
  2167. "$ref": "#/definitions/base.HTTPError"
  2168. }
  2169. }
  2170. }
  2171. },
  2172. "delete": {
  2173. "description": "删除抄表记录",
  2174. "consumes": [
  2175. "application/json"
  2176. ],
  2177. "produces": [
  2178. "application/json"
  2179. ],
  2180. "tags": [
  2181. "抄表"
  2182. ],
  2183. "summary": "删除抄表记录",
  2184. "parameters": [
  2185. {
  2186. "type": "integer",
  2187. "description": " ",
  2188. "name": "id",
  2189. "in": "query",
  2190. "required": true
  2191. },
  2192. {
  2193. "type": "string",
  2194. "description": "token",
  2195. "name": "token",
  2196. "in": "header",
  2197. "required": true
  2198. }
  2199. ],
  2200. "responses": {
  2201. "200": {
  2202. "description": "OK",
  2203. "schema": {
  2204. "$ref": "#/definitions/v1.PowerRecordDelResponse"
  2205. }
  2206. },
  2207. "500": {
  2208. "description": "Internal Server Error",
  2209. "schema": {
  2210. "$ref": "#/definitions/base.HTTPError"
  2211. }
  2212. }
  2213. }
  2214. }
  2215. },
  2216. "/api/v1/charge/power/batch": {
  2217. "post": {
  2218. "description": "批量抄表",
  2219. "consumes": [
  2220. "application/json"
  2221. ],
  2222. "produces": [
  2223. "application/json"
  2224. ],
  2225. "tags": [
  2226. "抄表"
  2227. ],
  2228. "summary": "批量抄表",
  2229. "parameters": [
  2230. {
  2231. "type": "string",
  2232. "description": "jwt token",
  2233. "name": "token",
  2234. "in": "header",
  2235. "required": true
  2236. },
  2237. {
  2238. "type": "integer",
  2239. "description": "费用类型 2 水费 3 电费 4 气费",
  2240. "name": "charge_type",
  2241. "in": "query",
  2242. "required": true
  2243. },
  2244. {
  2245. "type": "file",
  2246. "description": "file",
  2247. "name": "file",
  2248. "in": "formData",
  2249. "required": true
  2250. }
  2251. ],
  2252. "responses": {
  2253. "200": {
  2254. "description": "OK",
  2255. "schema": {
  2256. "$ref": "#/definitions/v1.PowerRecordBatchAddResponse"
  2257. }
  2258. },
  2259. "500": {
  2260. "description": "Internal Server Error",
  2261. "schema": {
  2262. "$ref": "#/definitions/base.HTTPError"
  2263. }
  2264. }
  2265. }
  2266. }
  2267. },
  2268. "/api/v1/charge/power/template": {
  2269. "get": {
  2270. "description": "获取抄表模板",
  2271. "consumes": [
  2272. "application/json"
  2273. ],
  2274. "produces": [
  2275. "application/json"
  2276. ],
  2277. "tags": [
  2278. "抄表"
  2279. ],
  2280. "summary": "获取抄表模板",
  2281. "parameters": [
  2282. {
  2283. "type": "string",
  2284. "description": "token",
  2285. "name": "token",
  2286. "in": "header",
  2287. "required": true
  2288. }
  2289. ],
  2290. "responses": {
  2291. "200": {
  2292. "description": "OK",
  2293. "schema": {
  2294. "$ref": "#/definitions/v1.ChargePowerTemplateResponse"
  2295. }
  2296. },
  2297. "500": {
  2298. "description": "Internal Server Error",
  2299. "schema": {
  2300. "$ref": "#/definitions/base.HTTPError"
  2301. }
  2302. }
  2303. }
  2304. }
  2305. },
  2306. "/api/v1/charge/property_package": {
  2307. "get": {
  2308. "description": "物业费套餐列表",
  2309. "consumes": [
  2310. "application/json"
  2311. ],
  2312. "produces": [
  2313. "application/json"
  2314. ],
  2315. "tags": [
  2316. "物业费套餐"
  2317. ],
  2318. "summary": "物业费套餐列表",
  2319. "parameters": [
  2320. {
  2321. "type": "integer",
  2322. "description": " ",
  2323. "name": "page",
  2324. "in": "query"
  2325. },
  2326. {
  2327. "type": "integer",
  2328. "description": " ",
  2329. "name": "page_size",
  2330. "in": "query"
  2331. },
  2332. {
  2333. "type": "string",
  2334. "description": "token",
  2335. "name": "token",
  2336. "in": "header",
  2337. "required": true
  2338. }
  2339. ],
  2340. "responses": {
  2341. "200": {
  2342. "description": "OK",
  2343. "schema": {
  2344. "$ref": "#/definitions/v1.PropertyPackageListResponse"
  2345. }
  2346. },
  2347. "500": {
  2348. "description": "Internal Server Error",
  2349. "schema": {
  2350. "$ref": "#/definitions/base.HTTPError"
  2351. }
  2352. }
  2353. }
  2354. },
  2355. "put": {
  2356. "description": "修改物业费套餐",
  2357. "consumes": [
  2358. "application/json"
  2359. ],
  2360. "produces": [
  2361. "application/json"
  2362. ],
  2363. "tags": [
  2364. "物业费套餐"
  2365. ],
  2366. "summary": "修改物业费套餐",
  2367. "parameters": [
  2368. {
  2369. "type": "string",
  2370. "description": "token",
  2371. "name": "token",
  2372. "in": "header",
  2373. "required": true
  2374. },
  2375. {
  2376. "description": "信息",
  2377. "name": "body",
  2378. "in": "body",
  2379. "required": true,
  2380. "schema": {
  2381. "$ref": "#/definitions/v1.PropertyPackageUpdateBody"
  2382. }
  2383. }
  2384. ],
  2385. "responses": {
  2386. "200": {
  2387. "description": "OK",
  2388. "schema": {
  2389. "$ref": "#/definitions/v1.PropertyPackageUpdateResponse"
  2390. }
  2391. },
  2392. "500": {
  2393. "description": "Internal Server Error",
  2394. "schema": {
  2395. "$ref": "#/definitions/base.HTTPError"
  2396. }
  2397. }
  2398. }
  2399. },
  2400. "post": {
  2401. "description": "添加物业费套餐",
  2402. "consumes": [
  2403. "application/json"
  2404. ],
  2405. "produces": [
  2406. "application/json"
  2407. ],
  2408. "tags": [
  2409. "物业费套餐"
  2410. ],
  2411. "summary": "添加物业费套餐",
  2412. "parameters": [
  2413. {
  2414. "type": "string",
  2415. "description": "token",
  2416. "name": "token",
  2417. "in": "header",
  2418. "required": true
  2419. },
  2420. {
  2421. "description": "信息",
  2422. "name": "body",
  2423. "in": "body",
  2424. "required": true,
  2425. "schema": {
  2426. "$ref": "#/definitions/v1.PropertyPackageAddBody"
  2427. }
  2428. }
  2429. ],
  2430. "responses": {
  2431. "200": {
  2432. "description": "OK",
  2433. "schema": {
  2434. "$ref": "#/definitions/v1.PropertyPackageAddResponse"
  2435. }
  2436. },
  2437. "500": {
  2438. "description": "Internal Server Error",
  2439. "schema": {
  2440. "$ref": "#/definitions/base.HTTPError"
  2441. }
  2442. }
  2443. }
  2444. },
  2445. "delete": {
  2446. "description": "删除物业费套餐",
  2447. "consumes": [
  2448. "application/json"
  2449. ],
  2450. "produces": [
  2451. "application/json"
  2452. ],
  2453. "tags": [
  2454. "物业费套餐"
  2455. ],
  2456. "summary": "删除物业费套餐",
  2457. "parameters": [
  2458. {
  2459. "type": "integer",
  2460. "description": " ",
  2461. "name": "id",
  2462. "in": "query",
  2463. "required": true
  2464. },
  2465. {
  2466. "type": "string",
  2467. "description": "token",
  2468. "name": "token",
  2469. "in": "header",
  2470. "required": true
  2471. }
  2472. ],
  2473. "responses": {
  2474. "200": {
  2475. "description": "OK",
  2476. "schema": {
  2477. "$ref": "#/definitions/v1.PropertyPackageDelResponse"
  2478. }
  2479. },
  2480. "500": {
  2481. "description": "Internal Server Error",
  2482. "schema": {
  2483. "$ref": "#/definitions/base.HTTPError"
  2484. }
  2485. }
  2486. }
  2487. }
  2488. },
  2489. "/api/v1/charge/space/binded_list": {
  2490. "get": {
  2491. "description": "绑定了项目的车位列表",
  2492. "consumes": [
  2493. "application/json"
  2494. ],
  2495. "produces": [
  2496. "application/json"
  2497. ],
  2498. "tags": [
  2499. "费用绑定相关"
  2500. ],
  2501. "summary": "绑定了项目的车位列表",
  2502. "parameters": [
  2503. {
  2504. "type": "string",
  2505. "description": "token",
  2506. "name": "token",
  2507. "in": "header",
  2508. "required": true
  2509. },
  2510. {
  2511. "type": "integer",
  2512. "description": "费项id",
  2513. "name": "charge_id",
  2514. "in": "query",
  2515. "required": true
  2516. },
  2517. {
  2518. "type": "integer",
  2519. "description": " ",
  2520. "name": "page",
  2521. "in": "query"
  2522. },
  2523. {
  2524. "type": "integer",
  2525. "description": " ",
  2526. "name": "page_size",
  2527. "in": "query"
  2528. }
  2529. ],
  2530. "responses": {
  2531. "200": {
  2532. "description": "OK",
  2533. "schema": {
  2534. "$ref": "#/definitions/v1.ChargeSpaceBindedListResponse"
  2535. }
  2536. },
  2537. "500": {
  2538. "description": "Internal Server Error",
  2539. "schema": {
  2540. "$ref": "#/definitions/base.HTTPError"
  2541. }
  2542. }
  2543. }
  2544. }
  2545. },
  2546. "/api/v1/charge/space/can_bind_list": {
  2547. "get": {
  2548. "description": "可以绑定某项目的车位列表",
  2549. "consumes": [
  2550. "application/json"
  2551. ],
  2552. "produces": [
  2553. "application/json"
  2554. ],
  2555. "tags": [
  2556. "费用绑定相关"
  2557. ],
  2558. "summary": "可以绑定某项目的车位列表",
  2559. "parameters": [
  2560. {
  2561. "type": "string",
  2562. "description": "token",
  2563. "name": "token",
  2564. "in": "header",
  2565. "required": true
  2566. },
  2567. {
  2568. "type": "integer",
  2569. "description": "费项id",
  2570. "name": "charge_id",
  2571. "in": "query",
  2572. "required": true
  2573. },
  2574. {
  2575. "type": "integer",
  2576. "description": " ",
  2577. "name": "page",
  2578. "in": "query"
  2579. },
  2580. {
  2581. "type": "integer",
  2582. "description": " ",
  2583. "name": "page_size",
  2584. "in": "query"
  2585. }
  2586. ],
  2587. "responses": {
  2588. "200": {
  2589. "description": "OK",
  2590. "schema": {
  2591. "$ref": "#/definitions/v1.ChargeSpaceNotBindListResponse"
  2592. }
  2593. },
  2594. "500": {
  2595. "description": "Internal Server Error",
  2596. "schema": {
  2597. "$ref": "#/definitions/base.HTTPError"
  2598. }
  2599. }
  2600. }
  2601. }
  2602. },
  2603. "/api/v1/charge/unbind": {
  2604. "put": {
  2605. "description": "费用解绑对象",
  2606. "consumes": [
  2607. "application/json"
  2608. ],
  2609. "produces": [
  2610. "application/json"
  2611. ],
  2612. "tags": [
  2613. "费用绑定相关"
  2614. ],
  2615. "summary": "费用解绑对象",
  2616. "parameters": [
  2617. {
  2618. "type": "string",
  2619. "description": "token",
  2620. "name": "token",
  2621. "in": "header",
  2622. "required": true
  2623. },
  2624. {
  2625. "description": "信息",
  2626. "name": "body",
  2627. "in": "body",
  2628. "required": true,
  2629. "schema": {
  2630. "$ref": "#/definitions/v1.ChargeUnbindBody"
  2631. }
  2632. }
  2633. ],
  2634. "responses": {
  2635. "200": {
  2636. "description": "OK",
  2637. "schema": {
  2638. "$ref": "#/definitions/v1.ChargeUnbindResponse"
  2639. }
  2640. },
  2641. "500": {
  2642. "description": "Internal Server Error",
  2643. "schema": {
  2644. "$ref": "#/definitions/base.HTTPError"
  2645. }
  2646. }
  2647. }
  2648. }
  2649. },
  2650. "/api/v1/charge/unpay_bill/discard": {
  2651. "put": {
  2652. "description": "作废账单",
  2653. "consumes": [
  2654. "application/json"
  2655. ],
  2656. "produces": [
  2657. "application/json"
  2658. ],
  2659. "tags": [
  2660. "应收账单"
  2661. ],
  2662. "summary": "作废账单",
  2663. "parameters": [
  2664. {
  2665. "type": "string",
  2666. "description": "token",
  2667. "name": "token",
  2668. "in": "header",
  2669. "required": true
  2670. },
  2671. {
  2672. "description": " ",
  2673. "name": "body",
  2674. "in": "body",
  2675. "required": true,
  2676. "schema": {
  2677. "$ref": "#/definitions/v1.ChargeDelBillBody"
  2678. }
  2679. }
  2680. ],
  2681. "responses": {
  2682. "200": {
  2683. "description": "OK",
  2684. "schema": {
  2685. "$ref": "#/definitions/v1.ChargeDelBillResponse"
  2686. }
  2687. },
  2688. "500": {
  2689. "description": "Internal Server Error",
  2690. "schema": {
  2691. "$ref": "#/definitions/base.HTTPError"
  2692. }
  2693. }
  2694. }
  2695. }
  2696. },
  2697. "/api/v1/charge/unpay_bill/obj_bill_list": {
  2698. "get": {
  2699. "description": "应收账单中某对象的账单明细",
  2700. "consumes": [
  2701. "application/json"
  2702. ],
  2703. "produces": [
  2704. "application/json"
  2705. ],
  2706. "tags": [
  2707. "应收账单"
  2708. ],
  2709. "summary": "应收账单中某对象的账单明细",
  2710. "parameters": [
  2711. {
  2712. "type": "string",
  2713. "description": "token",
  2714. "name": "token",
  2715. "in": "header",
  2716. "required": true
  2717. },
  2718. {
  2719. "type": "integer",
  2720. "description": " ",
  2721. "name": "page",
  2722. "in": "query"
  2723. },
  2724. {
  2725. "type": "integer",
  2726. "description": " ",
  2727. "name": "page_size",
  2728. "in": "query"
  2729. },
  2730. {
  2731. "type": "integer",
  2732. "description": "房屋/车位/车辆id",
  2733. "name": "obj_id",
  2734. "in": "query",
  2735. "required": true
  2736. },
  2737. {
  2738. "type": "integer",
  2739. "description": "1 房屋 2 车位 3 车辆 ",
  2740. "name": "obj_type",
  2741. "in": "query",
  2742. "required": true
  2743. },
  2744. {
  2745. "type": "integer",
  2746. "description": "费用类型 费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  2747. "name": "charge_type",
  2748. "in": "query"
  2749. },
  2750. {
  2751. "type": "string",
  2752. "description": "对象名",
  2753. "name": "obj_name",
  2754. "in": "query"
  2755. },
  2756. {
  2757. "type": "string",
  2758. "description": "费项名",
  2759. "name": "charge_name",
  2760. "in": "query"
  2761. }
  2762. ],
  2763. "responses": {
  2764. "200": {
  2765. "description": "OK",
  2766. "schema": {
  2767. "$ref": "#/definitions/v1.ChargeObjBillListResponse"
  2768. }
  2769. },
  2770. "500": {
  2771. "description": "Internal Server Error",
  2772. "schema": {
  2773. "$ref": "#/definitions/base.HTTPError"
  2774. }
  2775. }
  2776. }
  2777. }
  2778. },
  2779. "/api/v1/charge/unpay_bill/obj_list": {
  2780. "get": {
  2781. "description": "应收账单中的对象列表",
  2782. "consumes": [
  2783. "application/json"
  2784. ],
  2785. "produces": [
  2786. "application/json"
  2787. ],
  2788. "tags": [
  2789. "应收账单"
  2790. ],
  2791. "summary": "应收账单中的对象列表",
  2792. "parameters": [
  2793. {
  2794. "type": "string",
  2795. "description": "token",
  2796. "name": "token",
  2797. "in": "header",
  2798. "required": true
  2799. },
  2800. {
  2801. "type": "integer",
  2802. "description": " ",
  2803. "name": "page",
  2804. "in": "query"
  2805. },
  2806. {
  2807. "type": "integer",
  2808. "description": " ",
  2809. "name": "page_size",
  2810. "in": "query"
  2811. }
  2812. ],
  2813. "responses": {
  2814. "200": {
  2815. "description": "OK",
  2816. "schema": {
  2817. "$ref": "#/definitions/v1.ChargeBillObjListResponse"
  2818. }
  2819. },
  2820. "500": {
  2821. "description": "Internal Server Error",
  2822. "schema": {
  2823. "$ref": "#/definitions/base.HTTPError"
  2824. }
  2825. }
  2826. }
  2827. }
  2828. },
  2829. "/api/v1/charge/unpay_bill/urge": {
  2830. "post": {
  2831. "description": "一键催缴",
  2832. "consumes": [
  2833. "application/json"
  2834. ],
  2835. "produces": [
  2836. "application/json"
  2837. ],
  2838. "tags": [
  2839. "应收账单"
  2840. ],
  2841. "summary": "一键催缴",
  2842. "parameters": [
  2843. {
  2844. "type": "string",
  2845. "description": "token",
  2846. "name": "token",
  2847. "in": "header",
  2848. "required": true
  2849. },
  2850. {
  2851. "description": " ",
  2852. "name": "body",
  2853. "in": "body",
  2854. "required": true,
  2855. "schema": {
  2856. "$ref": "#/definitions/v1.ChargeUrgeBody"
  2857. }
  2858. }
  2859. ],
  2860. "responses": {
  2861. "200": {
  2862. "description": "OK",
  2863. "schema": {
  2864. "$ref": "#/definitions/v1.ChargeUrgeResponse"
  2865. }
  2866. },
  2867. "500": {
  2868. "description": "Internal Server Error",
  2869. "schema": {
  2870. "$ref": "#/definitions/base.HTTPError"
  2871. }
  2872. }
  2873. }
  2874. }
  2875. },
  2876. "/api/v1/charge/urge": {
  2877. "get": {
  2878. "description": "催缴信息",
  2879. "consumes": [
  2880. "application/json"
  2881. ],
  2882. "produces": [
  2883. "application/json"
  2884. ],
  2885. "tags": [
  2886. "催缴设置"
  2887. ],
  2888. "summary": "催缴信息",
  2889. "parameters": [
  2890. {
  2891. "type": "string",
  2892. "description": "token",
  2893. "name": "token",
  2894. "in": "header",
  2895. "required": true
  2896. }
  2897. ],
  2898. "responses": {
  2899. "200": {
  2900. "description": "OK",
  2901. "schema": {
  2902. "$ref": "#/definitions/v1.ChargeUrgeInfoResponse"
  2903. }
  2904. },
  2905. "500": {
  2906. "description": "Internal Server Error",
  2907. "schema": {
  2908. "$ref": "#/definitions/base.HTTPError"
  2909. }
  2910. }
  2911. }
  2912. },
  2913. "put": {
  2914. "description": "催缴设置",
  2915. "consumes": [
  2916. "application/json"
  2917. ],
  2918. "produces": [
  2919. "application/json"
  2920. ],
  2921. "tags": [
  2922. "催缴设置"
  2923. ],
  2924. "summary": "催缴设置",
  2925. "parameters": [
  2926. {
  2927. "type": "string",
  2928. "description": "token",
  2929. "name": "token",
  2930. "in": "header",
  2931. "required": true
  2932. },
  2933. {
  2934. "description": " ",
  2935. "name": "body",
  2936. "in": "body",
  2937. "required": true,
  2938. "schema": {
  2939. "$ref": "#/definitions/v1.ChargeUrgeSetBody"
  2940. }
  2941. }
  2942. ],
  2943. "responses": {
  2944. "200": {
  2945. "description": "OK",
  2946. "schema": {
  2947. "$ref": "#/definitions/v1.ChargeUrgeSetResponse"
  2948. }
  2949. },
  2950. "500": {
  2951. "description": "Internal Server Error",
  2952. "schema": {
  2953. "$ref": "#/definitions/base.HTTPError"
  2954. }
  2955. }
  2956. }
  2957. }
  2958. },
  2959. "/api/v1/charge/vehicle/binded_list": {
  2960. "get": {
  2961. "description": "绑定了项目的车辆列表",
  2962. "consumes": [
  2963. "application/json"
  2964. ],
  2965. "produces": [
  2966. "application/json"
  2967. ],
  2968. "tags": [
  2969. "费用绑定相关"
  2970. ],
  2971. "summary": "绑定了项目的车辆列表",
  2972. "parameters": [
  2973. {
  2974. "type": "string",
  2975. "description": "token",
  2976. "name": "token",
  2977. "in": "header",
  2978. "required": true
  2979. },
  2980. {
  2981. "type": "integer",
  2982. "description": "费项id",
  2983. "name": "charge_id",
  2984. "in": "query",
  2985. "required": true
  2986. },
  2987. {
  2988. "type": "integer",
  2989. "description": " ",
  2990. "name": "page",
  2991. "in": "query"
  2992. },
  2993. {
  2994. "type": "integer",
  2995. "description": " ",
  2996. "name": "page_size",
  2997. "in": "query"
  2998. }
  2999. ],
  3000. "responses": {
  3001. "200": {
  3002. "description": "OK",
  3003. "schema": {
  3004. "$ref": "#/definitions/v1.ChargeVehicleBindedListResponse"
  3005. }
  3006. },
  3007. "500": {
  3008. "description": "Internal Server Error",
  3009. "schema": {
  3010. "$ref": "#/definitions/base.HTTPError"
  3011. }
  3012. }
  3013. }
  3014. }
  3015. },
  3016. "/api/v1/charge/vehicle/can_bind_list": {
  3017. "get": {
  3018. "description": "可以绑定某项目的车辆列表",
  3019. "consumes": [
  3020. "application/json"
  3021. ],
  3022. "produces": [
  3023. "application/json"
  3024. ],
  3025. "tags": [
  3026. "费用绑定相关"
  3027. ],
  3028. "summary": "可以绑定某项目的车辆列表",
  3029. "parameters": [
  3030. {
  3031. "type": "string",
  3032. "description": "token",
  3033. "name": "token",
  3034. "in": "header",
  3035. "required": true
  3036. },
  3037. {
  3038. "type": "integer",
  3039. "description": "费项id",
  3040. "name": "charge_id",
  3041. "in": "query",
  3042. "required": true
  3043. },
  3044. {
  3045. "type": "integer",
  3046. "description": " ",
  3047. "name": "page",
  3048. "in": "query"
  3049. },
  3050. {
  3051. "type": "integer",
  3052. "description": " ",
  3053. "name": "page_size",
  3054. "in": "query"
  3055. }
  3056. ],
  3057. "responses": {
  3058. "200": {
  3059. "description": "OK",
  3060. "schema": {
  3061. "$ref": "#/definitions/v1.ChargeVehicleNotBindListResponse"
  3062. }
  3063. },
  3064. "500": {
  3065. "description": "Internal Server Error",
  3066. "schema": {
  3067. "$ref": "#/definitions/base.HTTPError"
  3068. }
  3069. }
  3070. }
  3071. }
  3072. },
  3073. "/api/v1/department": {
  3074. "get": {
  3075. "description": "部门列表",
  3076. "consumes": [
  3077. "application/json"
  3078. ],
  3079. "produces": [
  3080. "application/json"
  3081. ],
  3082. "tags": [
  3083. "部门"
  3084. ],
  3085. "summary": "部门列表",
  3086. "parameters": [
  3087. {
  3088. "type": "integer",
  3089. "description": " ",
  3090. "name": "page",
  3091. "in": "query"
  3092. },
  3093. {
  3094. "type": "integer",
  3095. "description": " ",
  3096. "name": "page_size",
  3097. "in": "query"
  3098. },
  3099. {
  3100. "type": "string",
  3101. "description": "token",
  3102. "name": "token",
  3103. "in": "header",
  3104. "required": true
  3105. }
  3106. ],
  3107. "responses": {
  3108. "200": {
  3109. "description": "OK",
  3110. "schema": {
  3111. "$ref": "#/definitions/v1.DepartmentListResponse"
  3112. }
  3113. },
  3114. "500": {
  3115. "description": "Internal Server Error",
  3116. "schema": {
  3117. "$ref": "#/definitions/base.HTTPError"
  3118. }
  3119. }
  3120. }
  3121. },
  3122. "put": {
  3123. "description": "更改部门",
  3124. "consumes": [
  3125. "application/json"
  3126. ],
  3127. "produces": [
  3128. "application/json"
  3129. ],
  3130. "tags": [
  3131. "部门"
  3132. ],
  3133. "summary": "更改部门",
  3134. "parameters": [
  3135. {
  3136. "type": "string",
  3137. "description": "token",
  3138. "name": "token",
  3139. "in": "header",
  3140. "required": true
  3141. },
  3142. {
  3143. "description": "信息",
  3144. "name": "body",
  3145. "in": "body",
  3146. "required": true,
  3147. "schema": {
  3148. "$ref": "#/definitions/v1.DepartmentUpdateBody"
  3149. }
  3150. }
  3151. ],
  3152. "responses": {
  3153. "200": {
  3154. "description": "OK",
  3155. "schema": {
  3156. "$ref": "#/definitions/v1.DepartmentUpdateResponse"
  3157. }
  3158. },
  3159. "500": {
  3160. "description": "Internal Server Error",
  3161. "schema": {
  3162. "$ref": "#/definitions/base.HTTPError"
  3163. }
  3164. }
  3165. }
  3166. },
  3167. "post": {
  3168. "description": "添加部门",
  3169. "consumes": [
  3170. "application/json"
  3171. ],
  3172. "produces": [
  3173. "application/json"
  3174. ],
  3175. "tags": [
  3176. "部门"
  3177. ],
  3178. "summary": "添加部门",
  3179. "parameters": [
  3180. {
  3181. "type": "string",
  3182. "description": "token",
  3183. "name": "token",
  3184. "in": "header",
  3185. "required": true
  3186. },
  3187. {
  3188. "description": "信息",
  3189. "name": "body",
  3190. "in": "body",
  3191. "required": true,
  3192. "schema": {
  3193. "$ref": "#/definitions/v1.DepartmentAddBody"
  3194. }
  3195. }
  3196. ],
  3197. "responses": {
  3198. "200": {
  3199. "description": "OK",
  3200. "schema": {
  3201. "$ref": "#/definitions/v1.DepartmentAddResponse"
  3202. }
  3203. },
  3204. "500": {
  3205. "description": "Internal Server Error",
  3206. "schema": {
  3207. "$ref": "#/definitions/base.HTTPError"
  3208. }
  3209. }
  3210. }
  3211. },
  3212. "delete": {
  3213. "description": "删除部门",
  3214. "consumes": [
  3215. "application/json"
  3216. ],
  3217. "produces": [
  3218. "application/json"
  3219. ],
  3220. "tags": [
  3221. "部门"
  3222. ],
  3223. "summary": "删除部门",
  3224. "parameters": [
  3225. {
  3226. "type": "string",
  3227. "description": "token",
  3228. "name": "token",
  3229. "in": "header",
  3230. "required": true
  3231. },
  3232. {
  3233. "type": "integer",
  3234. "description": "id",
  3235. "name": "id",
  3236. "in": "query",
  3237. "required": true
  3238. }
  3239. ],
  3240. "responses": {
  3241. "200": {
  3242. "description": "OK",
  3243. "schema": {
  3244. "$ref": "#/definitions/v1.DepartmentDelResponse"
  3245. }
  3246. },
  3247. "500": {
  3248. "description": "Internal Server Error",
  3249. "schema": {
  3250. "$ref": "#/definitions/base.HTTPError"
  3251. }
  3252. }
  3253. }
  3254. }
  3255. },
  3256. "/api/v1/garden": {
  3257. "get": {
  3258. "description": "小区信息",
  3259. "consumes": [
  3260. "application/json"
  3261. ],
  3262. "produces": [
  3263. "application/json"
  3264. ],
  3265. "tags": [
  3266. "小区"
  3267. ],
  3268. "summary": "小区信息",
  3269. "parameters": [
  3270. {
  3271. "type": "string",
  3272. "description": " ",
  3273. "name": "token",
  3274. "in": "header",
  3275. "required": true
  3276. }
  3277. ],
  3278. "responses": {
  3279. "200": {
  3280. "description": "OK",
  3281. "schema": {
  3282. "$ref": "#/definitions/v1.GardenInfoResponse"
  3283. }
  3284. },
  3285. "500": {
  3286. "description": "Internal Server Error",
  3287. "schema": {
  3288. "$ref": "#/definitions/base.HTTPError"
  3289. }
  3290. }
  3291. }
  3292. },
  3293. "put": {
  3294. "description": "修改小区普通信息",
  3295. "consumes": [
  3296. "application/json"
  3297. ],
  3298. "produces": [
  3299. "application/json"
  3300. ],
  3301. "tags": [
  3302. "小区"
  3303. ],
  3304. "summary": "修改小区普通信息",
  3305. "parameters": [
  3306. {
  3307. "type": "string",
  3308. "description": " ",
  3309. "name": "token",
  3310. "in": "header",
  3311. "required": true
  3312. },
  3313. {
  3314. "description": "小区信息",
  3315. "name": "body",
  3316. "in": "body",
  3317. "required": true,
  3318. "schema": {
  3319. "$ref": "#/definitions/v1.GardenUpdateBody"
  3320. }
  3321. }
  3322. ],
  3323. "responses": {
  3324. "200": {
  3325. "description": "OK",
  3326. "schema": {
  3327. "$ref": "#/definitions/v1.GardenUpdateResponse"
  3328. }
  3329. },
  3330. "500": {
  3331. "description": "Internal Server Error",
  3332. "schema": {
  3333. "$ref": "#/definitions/base.HTTPError"
  3334. }
  3335. }
  3336. }
  3337. }
  3338. },
  3339. "/api/v1/garden/key_info": {
  3340. "get": {
  3341. "description": "小区关键信息申请列表",
  3342. "consumes": [
  3343. "application/json"
  3344. ],
  3345. "produces": [
  3346. "application/json"
  3347. ],
  3348. "tags": [
  3349. "小区"
  3350. ],
  3351. "summary": "小区关键信息申请列表",
  3352. "parameters": [
  3353. {
  3354. "type": "string",
  3355. "description": " ",
  3356. "name": "token",
  3357. "in": "header",
  3358. "required": true
  3359. },
  3360. {
  3361. "type": "integer",
  3362. "description": " ",
  3363. "name": "page",
  3364. "in": "query"
  3365. },
  3366. {
  3367. "type": "integer",
  3368. "description": " ",
  3369. "name": "page_size",
  3370. "in": "query"
  3371. },
  3372. {
  3373. "type": "integer",
  3374. "description": "0不过率 1 待审核 2 审核通过 3 未通过 ",
  3375. "name": "status",
  3376. "in": "query"
  3377. }
  3378. ],
  3379. "responses": {
  3380. "200": {
  3381. "description": "OK",
  3382. "schema": {
  3383. "$ref": "#/definitions/v1.GardenKeyInfoChangeListResponse"
  3384. }
  3385. },
  3386. "500": {
  3387. "description": "Internal Server Error",
  3388. "schema": {
  3389. "$ref": "#/definitions/base.HTTPError"
  3390. }
  3391. }
  3392. }
  3393. },
  3394. "put": {
  3395. "description": "申请修改小区关键信息",
  3396. "consumes": [
  3397. "application/json"
  3398. ],
  3399. "produces": [
  3400. "application/json"
  3401. ],
  3402. "tags": [
  3403. "小区"
  3404. ],
  3405. "summary": "申请修改小区关键信息",
  3406. "parameters": [
  3407. {
  3408. "type": "string",
  3409. "description": " ",
  3410. "name": "token",
  3411. "in": "header",
  3412. "required": true
  3413. },
  3414. {
  3415. "description": "小区信息",
  3416. "name": "body",
  3417. "in": "body",
  3418. "required": true,
  3419. "schema": {
  3420. "$ref": "#/definitions/v1.GardenKeyInfoChangeBody"
  3421. }
  3422. }
  3423. ],
  3424. "responses": {
  3425. "200": {
  3426. "description": "OK",
  3427. "schema": {
  3428. "$ref": "#/definitions/v1.GardenKeyInfoChangeResponse"
  3429. }
  3430. },
  3431. "500": {
  3432. "description": "Internal Server Error",
  3433. "schema": {
  3434. "$ref": "#/definitions/base.HTTPError"
  3435. }
  3436. }
  3437. }
  3438. }
  3439. },
  3440. "/api/v1/gate": {
  3441. "get": {
  3442. "description": "门禁列表",
  3443. "consumes": [
  3444. "application/json"
  3445. ],
  3446. "produces": [
  3447. "application/json"
  3448. ],
  3449. "tags": [
  3450. "门禁"
  3451. ],
  3452. "summary": "门禁列表",
  3453. "parameters": [
  3454. {
  3455. "type": "string",
  3456. "description": " ",
  3457. "name": "token",
  3458. "in": "header",
  3459. "required": true
  3460. },
  3461. {
  3462. "type": "integer",
  3463. "description": " ",
  3464. "name": "page",
  3465. "in": "query"
  3466. },
  3467. {
  3468. "type": "integer",
  3469. "description": " ",
  3470. "name": "page_size",
  3471. "in": "query"
  3472. },
  3473. {
  3474. "type": "integer",
  3475. "description": "小区id",
  3476. "name": "garden_id",
  3477. "in": "query"
  3478. }
  3479. ],
  3480. "responses": {
  3481. "200": {
  3482. "description": "OK",
  3483. "schema": {
  3484. "$ref": "#/definitions/v1.GateListResponse"
  3485. }
  3486. },
  3487. "500": {
  3488. "description": "Internal Server Error",
  3489. "schema": {
  3490. "$ref": "#/definitions/base.HTTPError"
  3491. }
  3492. }
  3493. }
  3494. }
  3495. },
  3496. "/api/v1/gate/command": {
  3497. "get": {
  3498. "description": "操作记录",
  3499. "consumes": [
  3500. "application/json"
  3501. ],
  3502. "produces": [
  3503. "application/json"
  3504. ],
  3505. "tags": [
  3506. "门禁"
  3507. ],
  3508. "summary": "操作记录",
  3509. "parameters": [
  3510. {
  3511. "type": "string",
  3512. "description": " ",
  3513. "name": "token",
  3514. "in": "header",
  3515. "required": true
  3516. },
  3517. {
  3518. "type": "integer",
  3519. "description": " ",
  3520. "name": "page",
  3521. "in": "query"
  3522. },
  3523. {
  3524. "type": "integer",
  3525. "description": " ",
  3526. "name": "page_size",
  3527. "in": "query"
  3528. },
  3529. {
  3530. "type": "integer",
  3531. "description": "设备id",
  3532. "name": "device_id",
  3533. "in": "query",
  3534. "required": true
  3535. }
  3536. ],
  3537. "responses": {
  3538. "200": {
  3539. "description": "OK",
  3540. "schema": {
  3541. "$ref": "#/definitions/v1.GateCommandListResponse"
  3542. }
  3543. },
  3544. "500": {
  3545. "description": "Internal Server Error",
  3546. "schema": {
  3547. "$ref": "#/definitions/base.HTTPError"
  3548. }
  3549. }
  3550. }
  3551. }
  3552. },
  3553. "/api/v1/gate/command/open": {
  3554. "post": {
  3555. "description": "门禁远程开门",
  3556. "consumes": [
  3557. "application/json"
  3558. ],
  3559. "produces": [
  3560. "application/json"
  3561. ],
  3562. "tags": [
  3563. "门禁"
  3564. ],
  3565. "summary": "门禁远程开门",
  3566. "parameters": [
  3567. {
  3568. "type": "string",
  3569. "description": " ",
  3570. "name": "token",
  3571. "in": "header",
  3572. "required": true
  3573. },
  3574. {
  3575. "description": " ",
  3576. "name": "body",
  3577. "in": "body",
  3578. "required": true,
  3579. "schema": {
  3580. "$ref": "#/definitions/v1.GateOpenBody"
  3581. }
  3582. }
  3583. ],
  3584. "responses": {
  3585. "200": {
  3586. "description": "OK",
  3587. "schema": {
  3588. "$ref": "#/definitions/v1.GateOpenResponse"
  3589. }
  3590. },
  3591. "500": {
  3592. "description": "Internal Server Error",
  3593. "schema": {
  3594. "$ref": "#/definitions/base.HTTPError"
  3595. }
  3596. }
  3597. }
  3598. }
  3599. },
  3600. "/api/v1/gate/command/restart": {
  3601. "post": {
  3602. "description": "门禁重启设备",
  3603. "consumes": [
  3604. "application/json"
  3605. ],
  3606. "produces": [
  3607. "application/json"
  3608. ],
  3609. "tags": [
  3610. "门禁"
  3611. ],
  3612. "summary": "门禁重启设备",
  3613. "parameters": [
  3614. {
  3615. "type": "string",
  3616. "description": " ",
  3617. "name": "token",
  3618. "in": "header",
  3619. "required": true
  3620. },
  3621. {
  3622. "description": " ",
  3623. "name": "body",
  3624. "in": "body",
  3625. "required": true,
  3626. "schema": {
  3627. "$ref": "#/definitions/v1.GateRestartBody"
  3628. }
  3629. }
  3630. ],
  3631. "responses": {
  3632. "200": {
  3633. "description": "OK",
  3634. "schema": {
  3635. "$ref": "#/definitions/v1.GateRestartResponse"
  3636. }
  3637. },
  3638. "500": {
  3639. "description": "Internal Server Error",
  3640. "schema": {
  3641. "$ref": "#/definitions/base.HTTPError"
  3642. }
  3643. }
  3644. }
  3645. }
  3646. },
  3647. "/api/v1/gate/enable": {
  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.GateEnableBody"
  3675. }
  3676. }
  3677. ],
  3678. "responses": {
  3679. "200": {
  3680. "description": "OK",
  3681. "schema": {
  3682. "$ref": "#/definitions/v1.GateEnableResponse"
  3683. }
  3684. },
  3685. "500": {
  3686. "description": "Internal Server Error",
  3687. "schema": {
  3688. "$ref": "#/definitions/base.HTTPError"
  3689. }
  3690. }
  3691. }
  3692. }
  3693. },
  3694. "/api/v1/gate/set": {
  3695. "put": {
  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. "description": " ",
  3717. "name": "body",
  3718. "in": "body",
  3719. "required": true,
  3720. "schema": {
  3721. "$ref": "#/definitions/v1.GateSetBody"
  3722. }
  3723. }
  3724. ],
  3725. "responses": {
  3726. "200": {
  3727. "description": "OK",
  3728. "schema": {
  3729. "$ref": "#/definitions/v1.GateSetResponse"
  3730. }
  3731. },
  3732. "500": {
  3733. "description": "Internal Server Error",
  3734. "schema": {
  3735. "$ref": "#/definitions/base.HTTPError"
  3736. }
  3737. }
  3738. }
  3739. }
  3740. },
  3741. "/api/v1/gate/white": {
  3742. "post": {
  3743. "description": "门禁白名单添加",
  3744. "consumes": [
  3745. "application/json"
  3746. ],
  3747. "produces": [
  3748. "application/json"
  3749. ],
  3750. "tags": [
  3751. "门禁"
  3752. ],
  3753. "summary": "门禁白名单添加",
  3754. "parameters": [
  3755. {
  3756. "type": "string",
  3757. "description": " ",
  3758. "name": "token",
  3759. "in": "header",
  3760. "required": true
  3761. },
  3762. {
  3763. "description": " ",
  3764. "name": "body",
  3765. "in": "body",
  3766. "required": true,
  3767. "schema": {
  3768. "$ref": "#/definitions/v1.GateWhiteAddBody"
  3769. }
  3770. }
  3771. ],
  3772. "responses": {
  3773. "200": {
  3774. "description": "OK",
  3775. "schema": {
  3776. "$ref": "#/definitions/v1.GateWhiteAddResponse"
  3777. }
  3778. },
  3779. "500": {
  3780. "description": "Internal Server Error",
  3781. "schema": {
  3782. "$ref": "#/definitions/base.HTTPError"
  3783. }
  3784. }
  3785. }
  3786. },
  3787. "delete": {
  3788. "description": "门禁白名单添加",
  3789. "consumes": [
  3790. "application/json"
  3791. ],
  3792. "produces": [
  3793. "application/json"
  3794. ],
  3795. "tags": [
  3796. "门禁"
  3797. ],
  3798. "summary": "门禁白名单删除",
  3799. "parameters": [
  3800. {
  3801. "type": "string",
  3802. "description": " ",
  3803. "name": "token",
  3804. "in": "header",
  3805. "required": true
  3806. },
  3807. {
  3808. "type": "integer",
  3809. "description": "白名单id",
  3810. "name": "id",
  3811. "in": "query",
  3812. "required": true
  3813. }
  3814. ],
  3815. "responses": {
  3816. "200": {
  3817. "description": "OK",
  3818. "schema": {
  3819. "$ref": "#/definitions/v1.GateWhiteDelResponse"
  3820. }
  3821. },
  3822. "500": {
  3823. "description": "Internal Server Error",
  3824. "schema": {
  3825. "$ref": "#/definitions/base.HTTPError"
  3826. }
  3827. }
  3828. }
  3829. }
  3830. },
  3831. "/api/v1/gate/white/card": {
  3832. "get": {
  3833. "description": "白名单列表(ic卡)",
  3834. "consumes": [
  3835. "application/json"
  3836. ],
  3837. "produces": [
  3838. "application/json"
  3839. ],
  3840. "tags": [
  3841. "门禁"
  3842. ],
  3843. "summary": "白名单列表(ic卡)",
  3844. "parameters": [
  3845. {
  3846. "type": "string",
  3847. "description": " ",
  3848. "name": "token",
  3849. "in": "header",
  3850. "required": true
  3851. },
  3852. {
  3853. "type": "integer",
  3854. "description": " ",
  3855. "name": "page",
  3856. "in": "query"
  3857. },
  3858. {
  3859. "type": "integer",
  3860. "description": " ",
  3861. "name": "page_size",
  3862. "in": "query"
  3863. },
  3864. {
  3865. "type": "integer",
  3866. "description": "设备id",
  3867. "name": "device_id",
  3868. "in": "query",
  3869. "required": true
  3870. }
  3871. ],
  3872. "responses": {
  3873. "200": {
  3874. "description": "OK",
  3875. "schema": {
  3876. "$ref": "#/definitions/v1.GateWhiteCardListResponse"
  3877. }
  3878. },
  3879. "500": {
  3880. "description": "Internal Server Error",
  3881. "schema": {
  3882. "$ref": "#/definitions/base.HTTPError"
  3883. }
  3884. }
  3885. }
  3886. }
  3887. },
  3888. "/api/v1/gate/white/household": {
  3889. "get": {
  3890. "description": "白名单列表(用户)",
  3891. "consumes": [
  3892. "application/json"
  3893. ],
  3894. "produces": [
  3895. "application/json"
  3896. ],
  3897. "tags": [
  3898. "门禁"
  3899. ],
  3900. "summary": "白名单列表(用户)",
  3901. "parameters": [
  3902. {
  3903. "type": "string",
  3904. "description": " ",
  3905. "name": "token",
  3906. "in": "header",
  3907. "required": true
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": " ",
  3912. "name": "page",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": " ",
  3918. "name": "page_size",
  3919. "in": "query"
  3920. },
  3921. {
  3922. "type": "integer",
  3923. "description": "设备id",
  3924. "name": "device_id",
  3925. "in": "query",
  3926. "required": true
  3927. }
  3928. ],
  3929. "responses": {
  3930. "200": {
  3931. "description": "OK",
  3932. "schema": {
  3933. "$ref": "#/definitions/v1.GateWhiteHouseholdListResponse"
  3934. }
  3935. },
  3936. "500": {
  3937. "description": "Internal Server Error",
  3938. "schema": {
  3939. "$ref": "#/definitions/base.HTTPError"
  3940. }
  3941. }
  3942. }
  3943. }
  3944. },
  3945. "/api/v1/gate/white/sync": {
  3946. "put": {
  3947. "description": "门禁手动同步白名单",
  3948. "consumes": [
  3949. "application/json"
  3950. ],
  3951. "produces": [
  3952. "application/json"
  3953. ],
  3954. "tags": [
  3955. "门禁"
  3956. ],
  3957. "summary": "门禁手动同步白名单",
  3958. "parameters": [
  3959. {
  3960. "type": "string",
  3961. "description": " ",
  3962. "name": "token",
  3963. "in": "header",
  3964. "required": true
  3965. },
  3966. {
  3967. "description": " ",
  3968. "name": "body",
  3969. "in": "body",
  3970. "required": true,
  3971. "schema": {
  3972. "$ref": "#/definitions/v1.GateWhiteSyncBody"
  3973. }
  3974. }
  3975. ],
  3976. "responses": {
  3977. "200": {
  3978. "description": "OK",
  3979. "schema": {
  3980. "$ref": "#/definitions/v1.GateWhiteSyncResponse"
  3981. }
  3982. },
  3983. "500": {
  3984. "description": "Internal Server Error",
  3985. "schema": {
  3986. "$ref": "#/definitions/base.HTTPError"
  3987. }
  3988. }
  3989. }
  3990. }
  3991. },
  3992. "/api/v1/household/approve": {
  3993. "put": {
  3994. "description": "审核业主",
  3995. "consumes": [
  3996. "application/json"
  3997. ],
  3998. "produces": [
  3999. "application/json"
  4000. ],
  4001. "tags": [
  4002. "业主管理"
  4003. ],
  4004. "summary": "审核业主",
  4005. "parameters": [
  4006. {
  4007. "type": "string",
  4008. "description": "token",
  4009. "name": "token",
  4010. "in": "header",
  4011. "required": true
  4012. },
  4013. {
  4014. "description": "信息",
  4015. "name": "body",
  4016. "in": "body",
  4017. "required": true,
  4018. "schema": {
  4019. "$ref": "#/definitions/v1.HouseholdApproveBody"
  4020. }
  4021. }
  4022. ],
  4023. "responses": {
  4024. "200": {
  4025. "description": "OK",
  4026. "schema": {
  4027. "$ref": "#/definitions/v1.HouseholdApproveResponse"
  4028. }
  4029. },
  4030. "500": {
  4031. "description": "Internal Server Error",
  4032. "schema": {
  4033. "$ref": "#/definitions/base.HTTPError"
  4034. }
  4035. }
  4036. }
  4037. }
  4038. },
  4039. "/api/v1/household/list": {
  4040. "get": {
  4041. "description": "申请列表",
  4042. "consumes": [
  4043. "application/json"
  4044. ],
  4045. "produces": [
  4046. "application/json"
  4047. ],
  4048. "tags": [
  4049. "业主管理"
  4050. ],
  4051. "summary": "申请列表",
  4052. "parameters": [
  4053. {
  4054. "type": "string",
  4055. "description": "token",
  4056. "name": "token",
  4057. "in": "header",
  4058. "required": true
  4059. },
  4060. {
  4061. "type": "integer",
  4062. "description": "业主身份类型",
  4063. "name": "user_type",
  4064. "in": "query"
  4065. },
  4066. {
  4067. "type": "integer",
  4068. "description": " ",
  4069. "name": "page",
  4070. "in": "query"
  4071. },
  4072. {
  4073. "type": "integer",
  4074. "description": " ",
  4075. "name": "page_size",
  4076. "in": "query"
  4077. },
  4078. {
  4079. "type": "string",
  4080. "description": "业主姓名",
  4081. "name": "name",
  4082. "in": "query"
  4083. },
  4084. {
  4085. "type": "integer",
  4086. "description": "0 未审核+未通过 1 未审核 2 已通过 3 未通过",
  4087. "name": "approve_status",
  4088. "in": "query"
  4089. }
  4090. ],
  4091. "responses": {
  4092. "200": {
  4093. "description": "OK",
  4094. "schema": {
  4095. "$ref": "#/definitions/v1.HouseholdListResponse"
  4096. }
  4097. },
  4098. "500": {
  4099. "description": "Internal Server Error",
  4100. "schema": {
  4101. "$ref": "#/definitions/base.HTTPError"
  4102. }
  4103. }
  4104. }
  4105. }
  4106. },
  4107. "/api/v1/household/user_list": {
  4108. "get": {
  4109. "description": "业主信息",
  4110. "consumes": [
  4111. "application/json"
  4112. ],
  4113. "produces": [
  4114. "application/json"
  4115. ],
  4116. "tags": [
  4117. "业主管理"
  4118. ],
  4119. "summary": "业主信息",
  4120. "parameters": [
  4121. {
  4122. "type": "string",
  4123. "description": "token",
  4124. "name": "token",
  4125. "in": "header",
  4126. "required": true
  4127. },
  4128. {
  4129. "type": "integer",
  4130. "description": "业主身份类型",
  4131. "name": "user_type",
  4132. "in": "query"
  4133. },
  4134. {
  4135. "type": "integer",
  4136. "description": " ",
  4137. "name": "page",
  4138. "in": "query"
  4139. },
  4140. {
  4141. "type": "integer",
  4142. "description": " ",
  4143. "name": "page_size",
  4144. "in": "query"
  4145. },
  4146. {
  4147. "type": "string",
  4148. "description": "业主姓名",
  4149. "name": "name",
  4150. "in": "query"
  4151. },
  4152. {
  4153. "type": "integer",
  4154. "description": "房屋id",
  4155. "name": "house_id",
  4156. "in": "query"
  4157. }
  4158. ],
  4159. "responses": {
  4160. "200": {
  4161. "description": "OK",
  4162. "schema": {
  4163. "$ref": "#/definitions/v1.HouseholdListResponse"
  4164. }
  4165. },
  4166. "500": {
  4167. "description": "Internal Server Error",
  4168. "schema": {
  4169. "$ref": "#/definitions/base.HTTPError"
  4170. }
  4171. }
  4172. }
  4173. }
  4174. },
  4175. "/api/v1/rent/house": {
  4176. "get": {
  4177. "description": "租房列表",
  4178. "consumes": [
  4179. "application/json"
  4180. ],
  4181. "produces": [
  4182. "application/json"
  4183. ],
  4184. "tags": [
  4185. "房屋租赁"
  4186. ],
  4187. "summary": "租房列表",
  4188. "parameters": [
  4189. {
  4190. "type": "string",
  4191. "description": "token",
  4192. "name": "token",
  4193. "in": "header",
  4194. "required": true
  4195. },
  4196. {
  4197. "type": "string",
  4198. "description": "省份代码",
  4199. "name": "province_code",
  4200. "in": "query"
  4201. },
  4202. {
  4203. "type": "string",
  4204. "description": "城市代码",
  4205. "name": "city_code",
  4206. "in": "query"
  4207. },
  4208. {
  4209. "type": "string",
  4210. "description": "区域代码",
  4211. "name": "area_code",
  4212. "in": "query"
  4213. },
  4214. {
  4215. "type": "string",
  4216. "description": "街道代码",
  4217. "name": "street_code",
  4218. "in": "query"
  4219. },
  4220. {
  4221. "type": "integer",
  4222. "description": "几室",
  4223. "name": "room_count",
  4224. "in": "query"
  4225. },
  4226. {
  4227. "type": "integer",
  4228. "description": "几厅",
  4229. "name": "hall_count",
  4230. "in": "query"
  4231. },
  4232. {
  4233. "type": "integer",
  4234. "description": "几卫",
  4235. "name": "wc_count",
  4236. "in": "query"
  4237. },
  4238. {
  4239. "type": "string",
  4240. "description": "租金大于",
  4241. "name": "rent_price_greater",
  4242. "in": "query"
  4243. },
  4244. {
  4245. "type": "string",
  4246. "description": "租金小于",
  4247. "name": "rent_price_less",
  4248. "in": "query"
  4249. },
  4250. {
  4251. "type": "integer",
  4252. "description": "审核状态 0 不过滤 1 待审核 2 通过 3 未通过",
  4253. "name": "approve_status",
  4254. "in": "query"
  4255. },
  4256. {
  4257. "type": "integer",
  4258. "description": " ",
  4259. "name": "page",
  4260. "in": "query"
  4261. },
  4262. {
  4263. "type": "integer",
  4264. "description": " ",
  4265. "name": "page_size",
  4266. "in": "query"
  4267. },
  4268. {
  4269. "type": "integer",
  4270. "description": "从低bit到高bit分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机",
  4271. "name": "base_conf",
  4272. "in": "query"
  4273. },
  4274. {
  4275. "type": "integer",
  4276. "description": "从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租",
  4277. "name": "special_conf",
  4278. "in": "query"
  4279. }
  4280. ],
  4281. "responses": {
  4282. "200": {
  4283. "description": "OK",
  4284. "schema": {
  4285. "$ref": "#/definitions/v1.HouseRentListResponse"
  4286. }
  4287. },
  4288. "500": {
  4289. "description": "Internal Server Error",
  4290. "schema": {
  4291. "$ref": "#/definitions/base.HTTPError"
  4292. }
  4293. }
  4294. }
  4295. },
  4296. "put": {
  4297. "description": "修改信息",
  4298. "consumes": [
  4299. "application/json"
  4300. ],
  4301. "produces": [
  4302. "application/json"
  4303. ],
  4304. "tags": [
  4305. "房屋租赁"
  4306. ],
  4307. "summary": "修改信息",
  4308. "parameters": [
  4309. {
  4310. "type": "string",
  4311. "description": "token",
  4312. "name": "token",
  4313. "in": "header",
  4314. "required": true
  4315. },
  4316. {
  4317. "description": " ",
  4318. "name": "body",
  4319. "in": "body",
  4320. "required": true,
  4321. "schema": {
  4322. "$ref": "#/definitions/v1.HouseRentUpdateBody"
  4323. }
  4324. }
  4325. ],
  4326. "responses": {
  4327. "200": {
  4328. "description": "OK",
  4329. "schema": {
  4330. "$ref": "#/definitions/v1.HouseRentUpdateResponse"
  4331. }
  4332. },
  4333. "500": {
  4334. "description": "Internal Server Error",
  4335. "schema": {
  4336. "$ref": "#/definitions/base.HTTPError"
  4337. }
  4338. }
  4339. }
  4340. },
  4341. "post": {
  4342. "description": "发布房源",
  4343. "consumes": [
  4344. "application/json"
  4345. ],
  4346. "produces": [
  4347. "application/json"
  4348. ],
  4349. "tags": [
  4350. "房屋租赁"
  4351. ],
  4352. "summary": "发布房源",
  4353. "parameters": [
  4354. {
  4355. "type": "string",
  4356. "description": "token",
  4357. "name": "token",
  4358. "in": "header",
  4359. "required": true
  4360. },
  4361. {
  4362. "description": " ",
  4363. "name": "body",
  4364. "in": "body",
  4365. "required": true,
  4366. "schema": {
  4367. "$ref": "#/definitions/v1.HouseRentApplyBody"
  4368. }
  4369. }
  4370. ],
  4371. "responses": {
  4372. "200": {
  4373. "description": "OK",
  4374. "schema": {
  4375. "$ref": "#/definitions/v1.HouseRentApplyResponse"
  4376. }
  4377. },
  4378. "500": {
  4379. "description": "Internal Server Error",
  4380. "schema": {
  4381. "$ref": "#/definitions/base.HTTPError"
  4382. }
  4383. }
  4384. }
  4385. }
  4386. },
  4387. "/api/v1/rent/house/appointment": {
  4388. "get": {
  4389. "description": "租房预约记录",
  4390. "consumes": [
  4391. "application/json"
  4392. ],
  4393. "produces": [
  4394. "application/json"
  4395. ],
  4396. "tags": [
  4397. "房屋租赁"
  4398. ],
  4399. "summary": "租房预约记录",
  4400. "parameters": [
  4401. {
  4402. "type": "string",
  4403. "description": "token",
  4404. "name": "token",
  4405. "in": "header",
  4406. "required": true
  4407. },
  4408. {
  4409. "type": "string",
  4410. "description": "房屋全称",
  4411. "name": "house_name",
  4412. "in": "query"
  4413. },
  4414. {
  4415. "type": "integer",
  4416. "description": "租房信息id",
  4417. "name": "rent_id",
  4418. "in": "query"
  4419. },
  4420. {
  4421. "type": "integer",
  4422. "description": " ",
  4423. "name": "page",
  4424. "in": "query"
  4425. },
  4426. {
  4427. "type": "integer",
  4428. "description": " ",
  4429. "name": "page_size",
  4430. "in": "query"
  4431. }
  4432. ],
  4433. "responses": {
  4434. "200": {
  4435. "description": "OK",
  4436. "schema": {
  4437. "$ref": "#/definitions/v1.HouseRentAppointmentListResponse"
  4438. }
  4439. },
  4440. "500": {
  4441. "description": "Internal Server Error",
  4442. "schema": {
  4443. "$ref": "#/definitions/base.HTTPError"
  4444. }
  4445. }
  4446. }
  4447. },
  4448. "delete": {
  4449. "description": "删除租房预约记录",
  4450. "consumes": [
  4451. "application/json"
  4452. ],
  4453. "produces": [
  4454. "application/json"
  4455. ],
  4456. "tags": [
  4457. "房屋租赁"
  4458. ],
  4459. "summary": "删除租房预约记录",
  4460. "parameters": [
  4461. {
  4462. "type": "string",
  4463. "description": "token",
  4464. "name": "token",
  4465. "in": "header",
  4466. "required": true
  4467. },
  4468. {
  4469. "type": "integer",
  4470. "description": "预约记录id",
  4471. "name": "id",
  4472. "in": "query"
  4473. }
  4474. ],
  4475. "responses": {
  4476. "200": {
  4477. "description": "OK",
  4478. "schema": {
  4479. "$ref": "#/definitions/v1.HouseRentAppointmentDelResponse"
  4480. }
  4481. },
  4482. "500": {
  4483. "description": "Internal Server Error",
  4484. "schema": {
  4485. "$ref": "#/definitions/base.HTTPError"
  4486. }
  4487. }
  4488. }
  4489. }
  4490. },
  4491. "/api/v1/rent/house/approve": {
  4492. "put": {
  4493. "description": "审核",
  4494. "consumes": [
  4495. "application/json"
  4496. ],
  4497. "produces": [
  4498. "application/json"
  4499. ],
  4500. "tags": [
  4501. "房屋租赁"
  4502. ],
  4503. "summary": "审核",
  4504. "parameters": [
  4505. {
  4506. "type": "string",
  4507. "description": "token",
  4508. "name": "token",
  4509. "in": "header",
  4510. "required": true
  4511. },
  4512. {
  4513. "description": " ",
  4514. "name": "body",
  4515. "in": "body",
  4516. "required": true,
  4517. "schema": {
  4518. "$ref": "#/definitions/v1.HouseRentApproveBody"
  4519. }
  4520. }
  4521. ],
  4522. "responses": {
  4523. "200": {
  4524. "description": "OK",
  4525. "schema": {
  4526. "$ref": "#/definitions/v1.HouseRentApproveResponse"
  4527. }
  4528. },
  4529. "500": {
  4530. "description": "Internal Server Error",
  4531. "schema": {
  4532. "$ref": "#/definitions/base.HTTPError"
  4533. }
  4534. }
  4535. }
  4536. }
  4537. },
  4538. "/api/v1/rent/house/down": {
  4539. "put": {
  4540. "description": "下架",
  4541. "consumes": [
  4542. "application/json"
  4543. ],
  4544. "produces": [
  4545. "application/json"
  4546. ],
  4547. "tags": [
  4548. "房屋租赁"
  4549. ],
  4550. "summary": "下架",
  4551. "parameters": [
  4552. {
  4553. "type": "string",
  4554. "description": "token",
  4555. "name": "token",
  4556. "in": "header",
  4557. "required": true
  4558. },
  4559. {
  4560. "description": " ",
  4561. "name": "body",
  4562. "in": "body",
  4563. "required": true,
  4564. "schema": {
  4565. "$ref": "#/definitions/v1.HouseRentDownBody"
  4566. }
  4567. }
  4568. ],
  4569. "responses": {
  4570. "200": {
  4571. "description": "OK",
  4572. "schema": {
  4573. "$ref": "#/definitions/v1.HouseRentDownResponse"
  4574. }
  4575. },
  4576. "500": {
  4577. "description": "Internal Server Error",
  4578. "schema": {
  4579. "$ref": "#/definitions/base.HTTPError"
  4580. }
  4581. }
  4582. }
  4583. }
  4584. },
  4585. "/api/v1/rent/house/manager": {
  4586. "get": {
  4587. "description": "房屋的经纪人列表",
  4588. "consumes": [
  4589. "application/json"
  4590. ],
  4591. "produces": [
  4592. "application/json"
  4593. ],
  4594. "tags": [
  4595. "房屋租赁"
  4596. ],
  4597. "summary": "房屋的经纪人列表",
  4598. "parameters": [
  4599. {
  4600. "type": "string",
  4601. "description": "token",
  4602. "name": "token",
  4603. "in": "header",
  4604. "required": true
  4605. },
  4606. {
  4607. "type": "integer",
  4608. "description": "租房信息id",
  4609. "name": "rent_id",
  4610. "in": "query",
  4611. "required": true
  4612. }
  4613. ],
  4614. "responses": {
  4615. "200": {
  4616. "description": "OK",
  4617. "schema": {
  4618. "$ref": "#/definitions/v1.HouseRentManagerListResponse"
  4619. }
  4620. },
  4621. "500": {
  4622. "description": "Internal Server Error",
  4623. "schema": {
  4624. "$ref": "#/definitions/base.HTTPError"
  4625. }
  4626. }
  4627. }
  4628. },
  4629. "post": {
  4630. "description": "添加经纪人",
  4631. "consumes": [
  4632. "application/json"
  4633. ],
  4634. "produces": [
  4635. "application/json"
  4636. ],
  4637. "tags": [
  4638. "房屋租赁"
  4639. ],
  4640. "summary": "添加经纪人",
  4641. "parameters": [
  4642. {
  4643. "type": "string",
  4644. "description": "token",
  4645. "name": "token",
  4646. "in": "header",
  4647. "required": true
  4648. },
  4649. {
  4650. "description": " ",
  4651. "name": "body",
  4652. "in": "body",
  4653. "required": true,
  4654. "schema": {
  4655. "$ref": "#/definitions/v1.HouseRentAddManagerBody"
  4656. }
  4657. }
  4658. ],
  4659. "responses": {
  4660. "200": {
  4661. "description": "OK",
  4662. "schema": {
  4663. "$ref": "#/definitions/v1.HouseRentAddManagerResponse"
  4664. }
  4665. },
  4666. "500": {
  4667. "description": "Internal Server Error",
  4668. "schema": {
  4669. "$ref": "#/definitions/base.HTTPError"
  4670. }
  4671. }
  4672. }
  4673. },
  4674. "delete": {
  4675. "description": "删除经纪人",
  4676. "consumes": [
  4677. "application/json"
  4678. ],
  4679. "produces": [
  4680. "application/json"
  4681. ],
  4682. "tags": [
  4683. "房屋租赁"
  4684. ],
  4685. "summary": "删除经纪人",
  4686. "parameters": [
  4687. {
  4688. "type": "string",
  4689. "description": "token",
  4690. "name": "token",
  4691. "in": "header",
  4692. "required": true
  4693. },
  4694. {
  4695. "type": "integer",
  4696. "description": "经纪人与房屋的关系id",
  4697. "name": "id",
  4698. "in": "query",
  4699. "required": true
  4700. }
  4701. ],
  4702. "responses": {
  4703. "200": {
  4704. "description": "OK",
  4705. "schema": {
  4706. "$ref": "#/definitions/v1.HouseRentDelManagerResponse"
  4707. }
  4708. },
  4709. "500": {
  4710. "description": "Internal Server Error",
  4711. "schema": {
  4712. "$ref": "#/definitions/base.HTTPError"
  4713. }
  4714. }
  4715. }
  4716. }
  4717. },
  4718. "/api/v1/repair/class": {
  4719. "get": {
  4720. "description": "分类列表",
  4721. "consumes": [
  4722. "application/json"
  4723. ],
  4724. "produces": [
  4725. "application/json"
  4726. ],
  4727. "tags": [
  4728. "报事报修"
  4729. ],
  4730. "summary": "分类列表",
  4731. "parameters": [
  4732. {
  4733. "type": "string",
  4734. "description": "token",
  4735. "name": "token",
  4736. "in": "header",
  4737. "required": true
  4738. },
  4739. {
  4740. "type": "integer",
  4741. "description": " ",
  4742. "name": "page",
  4743. "in": "query"
  4744. },
  4745. {
  4746. "type": "integer",
  4747. "description": " ",
  4748. "name": "page_size",
  4749. "in": "query"
  4750. },
  4751. {
  4752. "type": "integer",
  4753. "description": "1公区 2室内 ",
  4754. "name": "area",
  4755. "in": "query"
  4756. }
  4757. ],
  4758. "responses": {
  4759. "200": {
  4760. "description": "OK",
  4761. "schema": {
  4762. "$ref": "#/definitions/v1.RepairClassListResponse"
  4763. }
  4764. },
  4765. "500": {
  4766. "description": "Internal Server Error",
  4767. "schema": {
  4768. "$ref": "#/definitions/base.HTTPError"
  4769. }
  4770. }
  4771. }
  4772. },
  4773. "put": {
  4774. "description": "修改分类",
  4775. "consumes": [
  4776. "application/json"
  4777. ],
  4778. "produces": [
  4779. "application/json"
  4780. ],
  4781. "tags": [
  4782. "报事报修"
  4783. ],
  4784. "summary": "修改分类",
  4785. "parameters": [
  4786. {
  4787. "type": "string",
  4788. "description": "token",
  4789. "name": "token",
  4790. "in": "header",
  4791. "required": true
  4792. },
  4793. {
  4794. "description": "信息",
  4795. "name": "body",
  4796. "in": "body",
  4797. "required": true,
  4798. "schema": {
  4799. "$ref": "#/definitions/v1.RepairClassUpdateBody"
  4800. }
  4801. }
  4802. ],
  4803. "responses": {
  4804. "200": {
  4805. "description": "OK",
  4806. "schema": {
  4807. "$ref": "#/definitions/v1.RepairClassUpdateResponse"
  4808. }
  4809. },
  4810. "500": {
  4811. "description": "Internal Server Error",
  4812. "schema": {
  4813. "$ref": "#/definitions/base.HTTPError"
  4814. }
  4815. }
  4816. }
  4817. },
  4818. "post": {
  4819. "description": "添加分类",
  4820. "consumes": [
  4821. "application/json"
  4822. ],
  4823. "produces": [
  4824. "application/json"
  4825. ],
  4826. "tags": [
  4827. "报事报修"
  4828. ],
  4829. "summary": "添加分类",
  4830. "parameters": [
  4831. {
  4832. "type": "string",
  4833. "description": "token",
  4834. "name": "token",
  4835. "in": "header",
  4836. "required": true
  4837. },
  4838. {
  4839. "description": "信息",
  4840. "name": "body",
  4841. "in": "body",
  4842. "required": true,
  4843. "schema": {
  4844. "$ref": "#/definitions/v1.RepairClassAddBody"
  4845. }
  4846. }
  4847. ],
  4848. "responses": {
  4849. "200": {
  4850. "description": "OK",
  4851. "schema": {
  4852. "$ref": "#/definitions/v1.RepairClassAddResponse"
  4853. }
  4854. },
  4855. "500": {
  4856. "description": "Internal Server Error",
  4857. "schema": {
  4858. "$ref": "#/definitions/base.HTTPError"
  4859. }
  4860. }
  4861. }
  4862. },
  4863. "delete": {
  4864. "description": "删除分类",
  4865. "consumes": [
  4866. "application/json"
  4867. ],
  4868. "produces": [
  4869. "application/json"
  4870. ],
  4871. "tags": [
  4872. "报事报修"
  4873. ],
  4874. "summary": "删除分类",
  4875. "parameters": [
  4876. {
  4877. "type": "string",
  4878. "description": "token",
  4879. "name": "token",
  4880. "in": "header",
  4881. "required": true
  4882. },
  4883. {
  4884. "type": "integer",
  4885. "description": " ",
  4886. "name": "id",
  4887. "in": "query",
  4888. "required": true
  4889. }
  4890. ],
  4891. "responses": {
  4892. "200": {
  4893. "description": "OK",
  4894. "schema": {
  4895. "$ref": "#/definitions/v1.RepairClassDelResponse"
  4896. }
  4897. },
  4898. "500": {
  4899. "description": "Internal Server Error",
  4900. "schema": {
  4901. "$ref": "#/definitions/base.HTTPError"
  4902. }
  4903. }
  4904. }
  4905. }
  4906. },
  4907. "/api/v1/repair/order": {
  4908. "get": {
  4909. "description": "工单列表",
  4910. "consumes": [
  4911. "application/json"
  4912. ],
  4913. "produces": [
  4914. "application/json"
  4915. ],
  4916. "tags": [
  4917. "报事报修"
  4918. ],
  4919. "summary": "工单列表",
  4920. "parameters": [
  4921. {
  4922. "type": "string",
  4923. "description": "token",
  4924. "name": "token",
  4925. "in": "header",
  4926. "required": true
  4927. },
  4928. {
  4929. "type": "integer",
  4930. "description": " ",
  4931. "name": "page",
  4932. "in": "query"
  4933. },
  4934. {
  4935. "type": "integer",
  4936. "description": " ",
  4937. "name": "page_size",
  4938. "in": "query"
  4939. },
  4940. {
  4941. "type": "integer",
  4942. "description": " 1未派单 2 已派单 3 已完结 ",
  4943. "name": "status",
  4944. "in": "query"
  4945. },
  4946. {
  4947. "type": "string",
  4948. "description": "报修人",
  4949. "name": "apply_people",
  4950. "in": "query"
  4951. },
  4952. {
  4953. "type": "string",
  4954. "description": "报修人电话",
  4955. "name": "apply_people_phone",
  4956. "in": "query"
  4957. },
  4958. {
  4959. "type": "boolean",
  4960. "description": " true: 指派给我的",
  4961. "name": "is_me",
  4962. "in": "query"
  4963. },
  4964. {
  4965. "type": "integer",
  4966. "description": "分类id",
  4967. "name": "class_id",
  4968. "in": "query"
  4969. }
  4970. ],
  4971. "responses": {
  4972. "200": {
  4973. "description": "OK",
  4974. "schema": {
  4975. "$ref": "#/definitions/v1.RepairOrderListResponse"
  4976. }
  4977. },
  4978. "500": {
  4979. "description": "Internal Server Error",
  4980. "schema": {
  4981. "$ref": "#/definitions/base.HTTPError"
  4982. }
  4983. }
  4984. }
  4985. },
  4986. "put": {
  4987. "description": "修改工单",
  4988. "consumes": [
  4989. "application/json"
  4990. ],
  4991. "produces": [
  4992. "application/json"
  4993. ],
  4994. "tags": [
  4995. "报事报修"
  4996. ],
  4997. "summary": "修改工单",
  4998. "parameters": [
  4999. {
  5000. "type": "string",
  5001. "description": "token",
  5002. "name": "token",
  5003. "in": "header",
  5004. "required": true
  5005. },
  5006. {
  5007. "description": "信息",
  5008. "name": "body",
  5009. "in": "body",
  5010. "required": true,
  5011. "schema": {
  5012. "$ref": "#/definitions/v1.RepairOrderUpdateBody"
  5013. }
  5014. }
  5015. ],
  5016. "responses": {
  5017. "200": {
  5018. "description": "OK",
  5019. "schema": {
  5020. "$ref": "#/definitions/v1.RepairOrderUpdateResponse"
  5021. }
  5022. },
  5023. "500": {
  5024. "description": "Internal Server Error",
  5025. "schema": {
  5026. "$ref": "#/definitions/base.HTTPError"
  5027. }
  5028. }
  5029. }
  5030. },
  5031. "post": {
  5032. "description": "新增工单",
  5033. "consumes": [
  5034. "application/json"
  5035. ],
  5036. "produces": [
  5037. "application/json"
  5038. ],
  5039. "tags": [
  5040. "报事报修"
  5041. ],
  5042. "summary": "新增工单",
  5043. "parameters": [
  5044. {
  5045. "type": "string",
  5046. "description": "token",
  5047. "name": "token",
  5048. "in": "header",
  5049. "required": true
  5050. },
  5051. {
  5052. "description": "信息",
  5053. "name": "body",
  5054. "in": "body",
  5055. "required": true,
  5056. "schema": {
  5057. "$ref": "#/definitions/v1.RepairOrderAddBody"
  5058. }
  5059. }
  5060. ],
  5061. "responses": {
  5062. "200": {
  5063. "description": "OK",
  5064. "schema": {
  5065. "$ref": "#/definitions/v1.RepairOrderAddResponse"
  5066. }
  5067. },
  5068. "500": {
  5069. "description": "Internal Server Error",
  5070. "schema": {
  5071. "$ref": "#/definitions/base.HTTPError"
  5072. }
  5073. }
  5074. }
  5075. },
  5076. "delete": {
  5077. "description": "删除工单",
  5078. "consumes": [
  5079. "application/json"
  5080. ],
  5081. "produces": [
  5082. "application/json"
  5083. ],
  5084. "tags": [
  5085. "报事报修"
  5086. ],
  5087. "summary": "删除工单",
  5088. "parameters": [
  5089. {
  5090. "type": "string",
  5091. "description": "token",
  5092. "name": "token",
  5093. "in": "header",
  5094. "required": true
  5095. },
  5096. {
  5097. "type": "integer",
  5098. "description": " ",
  5099. "name": "id",
  5100. "in": "query",
  5101. "required": true
  5102. }
  5103. ],
  5104. "responses": {
  5105. "200": {
  5106. "description": "OK",
  5107. "schema": {
  5108. "$ref": "#/definitions/v1.RepairOrderDelResponse"
  5109. }
  5110. },
  5111. "500": {
  5112. "description": "Internal Server Error",
  5113. "schema": {
  5114. "$ref": "#/definitions/base.HTTPError"
  5115. }
  5116. }
  5117. }
  5118. }
  5119. },
  5120. "/api/v1/repair/order/back": {
  5121. "put": {
  5122. "description": "退单",
  5123. "consumes": [
  5124. "application/json"
  5125. ],
  5126. "produces": [
  5127. "application/json"
  5128. ],
  5129. "tags": [
  5130. "报事报修"
  5131. ],
  5132. "summary": "退单",
  5133. "parameters": [
  5134. {
  5135. "type": "string",
  5136. "description": "token",
  5137. "name": "token",
  5138. "in": "header",
  5139. "required": true
  5140. },
  5141. {
  5142. "description": "信息",
  5143. "name": "body",
  5144. "in": "body",
  5145. "required": true,
  5146. "schema": {
  5147. "$ref": "#/definitions/v1.RepairOrderBackBody"
  5148. }
  5149. }
  5150. ],
  5151. "responses": {
  5152. "200": {
  5153. "description": "OK",
  5154. "schema": {
  5155. "$ref": "#/definitions/v1.RepairOrderBackResponse"
  5156. }
  5157. },
  5158. "500": {
  5159. "description": "Internal Server Error",
  5160. "schema": {
  5161. "$ref": "#/definitions/base.HTTPError"
  5162. }
  5163. }
  5164. }
  5165. }
  5166. },
  5167. "/api/v1/repair/order/finish": {
  5168. "put": {
  5169. "description": "结单",
  5170. "consumes": [
  5171. "application/json"
  5172. ],
  5173. "produces": [
  5174. "application/json"
  5175. ],
  5176. "tags": [
  5177. "报事报修"
  5178. ],
  5179. "summary": "结单",
  5180. "parameters": [
  5181. {
  5182. "type": "string",
  5183. "description": "token",
  5184. "name": "token",
  5185. "in": "header",
  5186. "required": true
  5187. },
  5188. {
  5189. "description": "信息",
  5190. "name": "body",
  5191. "in": "body",
  5192. "required": true,
  5193. "schema": {
  5194. "$ref": "#/definitions/v1.RepairOrderFinishBody"
  5195. }
  5196. }
  5197. ],
  5198. "responses": {
  5199. "200": {
  5200. "description": "OK",
  5201. "schema": {
  5202. "$ref": "#/definitions/v1.RepairOrderFinishResponse"
  5203. }
  5204. },
  5205. "500": {
  5206. "description": "Internal Server Error",
  5207. "schema": {
  5208. "$ref": "#/definitions/base.HTTPError"
  5209. }
  5210. }
  5211. }
  5212. }
  5213. },
  5214. "/api/v1/repair/order/info": {
  5215. "get": {
  5216. "description": "工单详情",
  5217. "consumes": [
  5218. "application/json"
  5219. ],
  5220. "produces": [
  5221. "application/json"
  5222. ],
  5223. "tags": [
  5224. "报事报修"
  5225. ],
  5226. "summary": "工单详情",
  5227. "parameters": [
  5228. {
  5229. "type": "string",
  5230. "description": "token",
  5231. "name": "token",
  5232. "in": "header",
  5233. "required": true
  5234. },
  5235. {
  5236. "type": "integer",
  5237. "description": " ",
  5238. "name": "id",
  5239. "in": "query",
  5240. "required": true
  5241. }
  5242. ],
  5243. "responses": {
  5244. "200": {
  5245. "description": "OK",
  5246. "schema": {
  5247. "$ref": "#/definitions/v1.RepairOrderInfoResponse"
  5248. }
  5249. },
  5250. "500": {
  5251. "description": "Internal Server Error",
  5252. "schema": {
  5253. "$ref": "#/definitions/base.HTTPError"
  5254. }
  5255. }
  5256. }
  5257. }
  5258. },
  5259. "/api/v1/repair/order/return_visit": {
  5260. "put": {
  5261. "description": "回访",
  5262. "consumes": [
  5263. "application/json"
  5264. ],
  5265. "produces": [
  5266. "application/json"
  5267. ],
  5268. "tags": [
  5269. "报事报修"
  5270. ],
  5271. "summary": "回访",
  5272. "parameters": [
  5273. {
  5274. "type": "string",
  5275. "description": "token",
  5276. "name": "token",
  5277. "in": "header",
  5278. "required": true
  5279. },
  5280. {
  5281. "description": "信息",
  5282. "name": "body",
  5283. "in": "body",
  5284. "required": true,
  5285. "schema": {
  5286. "$ref": "#/definitions/v1.RepairOrderReturnVisitBody"
  5287. }
  5288. }
  5289. ],
  5290. "responses": {
  5291. "200": {
  5292. "description": "OK",
  5293. "schema": {
  5294. "$ref": "#/definitions/v1.RepairOrderReturnVisitResponse"
  5295. }
  5296. },
  5297. "500": {
  5298. "description": "Internal Server Error",
  5299. "schema": {
  5300. "$ref": "#/definitions/base.HTTPError"
  5301. }
  5302. }
  5303. }
  5304. }
  5305. },
  5306. "/api/v1/repair/order/send": {
  5307. "put": {
  5308. "description": "派单",
  5309. "consumes": [
  5310. "application/json"
  5311. ],
  5312. "produces": [
  5313. "application/json"
  5314. ],
  5315. "tags": [
  5316. "报事报修"
  5317. ],
  5318. "summary": "派单",
  5319. "parameters": [
  5320. {
  5321. "type": "string",
  5322. "description": "token",
  5323. "name": "token",
  5324. "in": "header",
  5325. "required": true
  5326. },
  5327. {
  5328. "description": "信息",
  5329. "name": "body",
  5330. "in": "body",
  5331. "required": true,
  5332. "schema": {
  5333. "$ref": "#/definitions/v1.RepairOrderSendBody"
  5334. }
  5335. }
  5336. ],
  5337. "responses": {
  5338. "200": {
  5339. "description": "OK",
  5340. "schema": {
  5341. "$ref": "#/definitions/v1.RepairOrderSendResponse"
  5342. }
  5343. },
  5344. "500": {
  5345. "description": "Internal Server Error",
  5346. "schema": {
  5347. "$ref": "#/definitions/base.HTTPError"
  5348. }
  5349. }
  5350. }
  5351. }
  5352. },
  5353. "/api/v1/service/announcement": {
  5354. "get": {
  5355. "description": "公告列表",
  5356. "consumes": [
  5357. "application/json"
  5358. ],
  5359. "produces": [
  5360. "application/json"
  5361. ],
  5362. "tags": [
  5363. "公告"
  5364. ],
  5365. "summary": "公告列表",
  5366. "parameters": [
  5367. {
  5368. "type": "string",
  5369. "description": "token",
  5370. "name": "token",
  5371. "in": "header",
  5372. "required": true
  5373. },
  5374. {
  5375. "type": "integer",
  5376. "description": " ",
  5377. "name": "page",
  5378. "in": "query"
  5379. },
  5380. {
  5381. "type": "integer",
  5382. "description": " ",
  5383. "name": "page_size",
  5384. "in": "query"
  5385. }
  5386. ],
  5387. "responses": {
  5388. "200": {
  5389. "description": "OK",
  5390. "schema": {
  5391. "$ref": "#/definitions/v1.AnnouncementListResponse"
  5392. }
  5393. },
  5394. "500": {
  5395. "description": "Internal Server Error",
  5396. "schema": {
  5397. "$ref": "#/definitions/base.HTTPError"
  5398. }
  5399. }
  5400. }
  5401. },
  5402. "put": {
  5403. "description": "修改公告",
  5404. "consumes": [
  5405. "application/json"
  5406. ],
  5407. "produces": [
  5408. "application/json"
  5409. ],
  5410. "tags": [
  5411. "公告"
  5412. ],
  5413. "summary": "修改公告",
  5414. "parameters": [
  5415. {
  5416. "type": "string",
  5417. "description": "token",
  5418. "name": "token",
  5419. "in": "header",
  5420. "required": true
  5421. },
  5422. {
  5423. "description": "信息",
  5424. "name": "body",
  5425. "in": "body",
  5426. "required": true,
  5427. "schema": {
  5428. "$ref": "#/definitions/v1.AnnouncementUpdateBody"
  5429. }
  5430. }
  5431. ],
  5432. "responses": {
  5433. "200": {
  5434. "description": "OK",
  5435. "schema": {
  5436. "$ref": "#/definitions/v1.AnnouncementUpdateResponse"
  5437. }
  5438. },
  5439. "500": {
  5440. "description": "Internal Server Error",
  5441. "schema": {
  5442. "$ref": "#/definitions/base.HTTPError"
  5443. }
  5444. }
  5445. }
  5446. },
  5447. "post": {
  5448. "description": "添加公告",
  5449. "consumes": [
  5450. "application/json"
  5451. ],
  5452. "produces": [
  5453. "application/json"
  5454. ],
  5455. "tags": [
  5456. "公告"
  5457. ],
  5458. "summary": "添加公告",
  5459. "parameters": [
  5460. {
  5461. "type": "string",
  5462. "description": "token",
  5463. "name": "token",
  5464. "in": "header",
  5465. "required": true
  5466. },
  5467. {
  5468. "description": "信息",
  5469. "name": "body",
  5470. "in": "body",
  5471. "required": true,
  5472. "schema": {
  5473. "$ref": "#/definitions/v1.AnnouncementAddBody"
  5474. }
  5475. }
  5476. ],
  5477. "responses": {
  5478. "200": {
  5479. "description": "OK",
  5480. "schema": {
  5481. "$ref": "#/definitions/v1.AnnouncementAddResponse"
  5482. }
  5483. },
  5484. "500": {
  5485. "description": "Internal Server Error",
  5486. "schema": {
  5487. "$ref": "#/definitions/base.HTTPError"
  5488. }
  5489. }
  5490. }
  5491. },
  5492. "delete": {
  5493. "description": "删除公告",
  5494. "consumes": [
  5495. "application/json"
  5496. ],
  5497. "produces": [
  5498. "application/json"
  5499. ],
  5500. "tags": [
  5501. "公告"
  5502. ],
  5503. "summary": "删除公告",
  5504. "parameters": [
  5505. {
  5506. "type": "string",
  5507. "description": "token",
  5508. "name": "token",
  5509. "in": "header",
  5510. "required": true
  5511. },
  5512. {
  5513. "type": "integer",
  5514. "description": " ",
  5515. "name": "id",
  5516. "in": "query",
  5517. "required": true
  5518. }
  5519. ],
  5520. "responses": {
  5521. "200": {
  5522. "description": "OK",
  5523. "schema": {
  5524. "$ref": "#/definitions/v1.AnnouncementDelResponse"
  5525. }
  5526. },
  5527. "500": {
  5528. "description": "Internal Server Error",
  5529. "schema": {
  5530. "$ref": "#/definitions/base.HTTPError"
  5531. }
  5532. }
  5533. }
  5534. }
  5535. },
  5536. "/api/v1/service/event": {
  5537. "get": {
  5538. "description": "社区活动列表",
  5539. "consumes": [
  5540. "application/json"
  5541. ],
  5542. "produces": [
  5543. "application/json"
  5544. ],
  5545. "tags": [
  5546. "社区活动"
  5547. ],
  5548. "summary": "社区活动列表",
  5549. "parameters": [
  5550. {
  5551. "type": "string",
  5552. "description": "token",
  5553. "name": "token",
  5554. "in": "header",
  5555. "required": true
  5556. },
  5557. {
  5558. "type": "integer",
  5559. "description": " ",
  5560. "name": "page",
  5561. "in": "query"
  5562. },
  5563. {
  5564. "type": "integer",
  5565. "description": " ",
  5566. "name": "page_size",
  5567. "in": "query"
  5568. }
  5569. ],
  5570. "responses": {
  5571. "200": {
  5572. "description": "OK",
  5573. "schema": {
  5574. "$ref": "#/definitions/v1.EventListResponse"
  5575. }
  5576. },
  5577. "500": {
  5578. "description": "Internal Server Error",
  5579. "schema": {
  5580. "$ref": "#/definitions/base.HTTPError"
  5581. }
  5582. }
  5583. }
  5584. },
  5585. "put": {
  5586. "description": "修改社区活动",
  5587. "consumes": [
  5588. "application/json"
  5589. ],
  5590. "produces": [
  5591. "application/json"
  5592. ],
  5593. "tags": [
  5594. "社区活动"
  5595. ],
  5596. "summary": "修改社区活动",
  5597. "parameters": [
  5598. {
  5599. "type": "string",
  5600. "description": "token",
  5601. "name": "token",
  5602. "in": "header",
  5603. "required": true
  5604. },
  5605. {
  5606. "description": "信息",
  5607. "name": "body",
  5608. "in": "body",
  5609. "required": true,
  5610. "schema": {
  5611. "$ref": "#/definitions/v1.EventUpdateBody"
  5612. }
  5613. }
  5614. ],
  5615. "responses": {
  5616. "200": {
  5617. "description": "OK",
  5618. "schema": {
  5619. "$ref": "#/definitions/v1.EventUpdateResponse"
  5620. }
  5621. },
  5622. "500": {
  5623. "description": "Internal Server Error",
  5624. "schema": {
  5625. "$ref": "#/definitions/base.HTTPError"
  5626. }
  5627. }
  5628. }
  5629. },
  5630. "post": {
  5631. "description": "添加社区活动",
  5632. "consumes": [
  5633. "application/json"
  5634. ],
  5635. "produces": [
  5636. "application/json"
  5637. ],
  5638. "tags": [
  5639. "社区活动"
  5640. ],
  5641. "summary": "添加社区活动",
  5642. "parameters": [
  5643. {
  5644. "type": "string",
  5645. "description": "token",
  5646. "name": "token",
  5647. "in": "header",
  5648. "required": true
  5649. },
  5650. {
  5651. "description": "信息",
  5652. "name": "body",
  5653. "in": "body",
  5654. "required": true,
  5655. "schema": {
  5656. "$ref": "#/definitions/v1.EventAddBody"
  5657. }
  5658. }
  5659. ],
  5660. "responses": {
  5661. "200": {
  5662. "description": "OK",
  5663. "schema": {
  5664. "$ref": "#/definitions/v1.EventAddResponse"
  5665. }
  5666. },
  5667. "500": {
  5668. "description": "Internal Server Error",
  5669. "schema": {
  5670. "$ref": "#/definitions/base.HTTPError"
  5671. }
  5672. }
  5673. }
  5674. },
  5675. "delete": {
  5676. "description": "删除社区活动",
  5677. "consumes": [
  5678. "application/json"
  5679. ],
  5680. "produces": [
  5681. "application/json"
  5682. ],
  5683. "tags": [
  5684. "社区活动"
  5685. ],
  5686. "summary": "删除社区活动",
  5687. "parameters": [
  5688. {
  5689. "type": "string",
  5690. "description": "token",
  5691. "name": "token",
  5692. "in": "header",
  5693. "required": true
  5694. },
  5695. {
  5696. "type": "integer",
  5697. "description": " ",
  5698. "name": "id",
  5699. "in": "query",
  5700. "required": true
  5701. }
  5702. ],
  5703. "responses": {
  5704. "200": {
  5705. "description": "OK",
  5706. "schema": {
  5707. "$ref": "#/definitions/v1.EventDelResponse"
  5708. }
  5709. },
  5710. "500": {
  5711. "description": "Internal Server Error",
  5712. "schema": {
  5713. "$ref": "#/definitions/base.HTTPError"
  5714. }
  5715. }
  5716. }
  5717. }
  5718. },
  5719. "/api/v1/service/event/sign": {
  5720. "get": {
  5721. "description": "社区活动报名记录列表",
  5722. "consumes": [
  5723. "application/json"
  5724. ],
  5725. "produces": [
  5726. "application/json"
  5727. ],
  5728. "tags": [
  5729. "社区活动"
  5730. ],
  5731. "summary": "社区活动报名记录列表",
  5732. "parameters": [
  5733. {
  5734. "type": "string",
  5735. "description": "token",
  5736. "name": "token",
  5737. "in": "header",
  5738. "required": true
  5739. },
  5740. {
  5741. "type": "integer",
  5742. "description": " ",
  5743. "name": "page",
  5744. "in": "query"
  5745. },
  5746. {
  5747. "type": "integer",
  5748. "description": " ",
  5749. "name": "page_size",
  5750. "in": "query"
  5751. },
  5752. {
  5753. "type": "integer",
  5754. "description": "活动id",
  5755. "name": "event_id",
  5756. "in": "query",
  5757. "required": true
  5758. }
  5759. ],
  5760. "responses": {
  5761. "200": {
  5762. "description": "OK",
  5763. "schema": {
  5764. "$ref": "#/definitions/v1.EventSignListResponse"
  5765. }
  5766. },
  5767. "500": {
  5768. "description": "Internal Server Error",
  5769. "schema": {
  5770. "$ref": "#/definitions/base.HTTPError"
  5771. }
  5772. }
  5773. }
  5774. },
  5775. "delete": {
  5776. "description": "删除社区活动报名记录",
  5777. "consumes": [
  5778. "application/json"
  5779. ],
  5780. "produces": [
  5781. "application/json"
  5782. ],
  5783. "tags": [
  5784. "社区活动"
  5785. ],
  5786. "summary": "删除社区活动报名记录",
  5787. "parameters": [
  5788. {
  5789. "type": "string",
  5790. "description": "token",
  5791. "name": "token",
  5792. "in": "header",
  5793. "required": true
  5794. },
  5795. {
  5796. "type": "integer",
  5797. "description": " ",
  5798. "name": "id",
  5799. "in": "query",
  5800. "required": true
  5801. }
  5802. ],
  5803. "responses": {
  5804. "200": {
  5805. "description": "OK",
  5806. "schema": {
  5807. "$ref": "#/definitions/v1.EventSignDelResponse"
  5808. }
  5809. },
  5810. "500": {
  5811. "description": "Internal Server Error",
  5812. "schema": {
  5813. "$ref": "#/definitions/base.HTTPError"
  5814. }
  5815. }
  5816. }
  5817. }
  5818. },
  5819. "/api/v1/service/neighbor/article": {
  5820. "get": {
  5821. "description": "文章列表",
  5822. "consumes": [
  5823. "application/json"
  5824. ],
  5825. "produces": [
  5826. "application/json"
  5827. ],
  5828. "tags": [
  5829. "社区邻里"
  5830. ],
  5831. "summary": "文章列表",
  5832. "parameters": [
  5833. {
  5834. "type": "string",
  5835. "description": "token",
  5836. "name": "token",
  5837. "in": "header",
  5838. "required": true
  5839. },
  5840. {
  5841. "type": "integer",
  5842. "description": " ",
  5843. "name": "page",
  5844. "in": "query"
  5845. },
  5846. {
  5847. "type": "integer",
  5848. "description": " ",
  5849. "name": "page_size",
  5850. "in": "query"
  5851. },
  5852. {
  5853. "type": "string",
  5854. "description": "文章标题 ",
  5855. "name": "title",
  5856. "in": "query"
  5857. },
  5858. {
  5859. "type": "integer",
  5860. "description": "分类id",
  5861. "name": "class_id",
  5862. "in": "query"
  5863. }
  5864. ],
  5865. "responses": {
  5866. "200": {
  5867. "description": "OK",
  5868. "schema": {
  5869. "$ref": "#/definitions/v1.NeighborArticleListResponse"
  5870. }
  5871. },
  5872. "500": {
  5873. "description": "Internal Server Error",
  5874. "schema": {
  5875. "$ref": "#/definitions/base.HTTPError"
  5876. }
  5877. }
  5878. }
  5879. },
  5880. "delete": {
  5881. "description": "删除文章",
  5882. "consumes": [
  5883. "application/json"
  5884. ],
  5885. "produces": [
  5886. "application/json"
  5887. ],
  5888. "tags": [
  5889. "社区邻里"
  5890. ],
  5891. "summary": "删除文章",
  5892. "parameters": [
  5893. {
  5894. "type": "string",
  5895. "description": "token",
  5896. "name": "token",
  5897. "in": "header",
  5898. "required": true
  5899. },
  5900. {
  5901. "type": "integer",
  5902. "description": " ",
  5903. "name": "id",
  5904. "in": "query",
  5905. "required": true
  5906. }
  5907. ],
  5908. "responses": {
  5909. "200": {
  5910. "description": "OK",
  5911. "schema": {
  5912. "$ref": "#/definitions/v1.NeighborArticleDelResponse"
  5913. }
  5914. },
  5915. "500": {
  5916. "description": "Internal Server Error",
  5917. "schema": {
  5918. "$ref": "#/definitions/base.HTTPError"
  5919. }
  5920. }
  5921. }
  5922. }
  5923. },
  5924. "/api/v1/service/neighbor/class": {
  5925. "get": {
  5926. "description": "分类列表",
  5927. "consumes": [
  5928. "application/json"
  5929. ],
  5930. "produces": [
  5931. "application/json"
  5932. ],
  5933. "tags": [
  5934. "社区邻里"
  5935. ],
  5936. "summary": "分类列表",
  5937. "parameters": [
  5938. {
  5939. "type": "string",
  5940. "description": "token",
  5941. "name": "token",
  5942. "in": "header",
  5943. "required": true
  5944. },
  5945. {
  5946. "type": "integer",
  5947. "description": " ",
  5948. "name": "page",
  5949. "in": "query"
  5950. },
  5951. {
  5952. "type": "integer",
  5953. "description": " ",
  5954. "name": "page_size",
  5955. "in": "query"
  5956. },
  5957. {
  5958. "type": "string",
  5959. "description": "分类名称 ",
  5960. "name": "class_name",
  5961. "in": "query"
  5962. }
  5963. ],
  5964. "responses": {
  5965. "200": {
  5966. "description": "OK",
  5967. "schema": {
  5968. "$ref": "#/definitions/v1.NeighborClassListResponse"
  5969. }
  5970. },
  5971. "500": {
  5972. "description": "Internal Server Error",
  5973. "schema": {
  5974. "$ref": "#/definitions/base.HTTPError"
  5975. }
  5976. }
  5977. }
  5978. },
  5979. "put": {
  5980. "description": "修改分类",
  5981. "consumes": [
  5982. "application/json"
  5983. ],
  5984. "produces": [
  5985. "application/json"
  5986. ],
  5987. "tags": [
  5988. "社区邻里"
  5989. ],
  5990. "summary": "修改分类",
  5991. "parameters": [
  5992. {
  5993. "type": "string",
  5994. "description": "token",
  5995. "name": "token",
  5996. "in": "header",
  5997. "required": true
  5998. },
  5999. {
  6000. "description": "信息",
  6001. "name": "body",
  6002. "in": "body",
  6003. "required": true,
  6004. "schema": {
  6005. "$ref": "#/definitions/v1.NeighborClassUpdateBody"
  6006. }
  6007. }
  6008. ],
  6009. "responses": {
  6010. "200": {
  6011. "description": "OK",
  6012. "schema": {
  6013. "$ref": "#/definitions/v1.NeighborClassUpdateResponse"
  6014. }
  6015. },
  6016. "500": {
  6017. "description": "Internal Server Error",
  6018. "schema": {
  6019. "$ref": "#/definitions/base.HTTPError"
  6020. }
  6021. }
  6022. }
  6023. },
  6024. "post": {
  6025. "description": "添加分类",
  6026. "consumes": [
  6027. "application/json"
  6028. ],
  6029. "produces": [
  6030. "application/json"
  6031. ],
  6032. "tags": [
  6033. "社区邻里"
  6034. ],
  6035. "summary": "添加分类",
  6036. "parameters": [
  6037. {
  6038. "type": "string",
  6039. "description": "token",
  6040. "name": "token",
  6041. "in": "header",
  6042. "required": true
  6043. },
  6044. {
  6045. "description": "信息",
  6046. "name": "body",
  6047. "in": "body",
  6048. "required": true,
  6049. "schema": {
  6050. "$ref": "#/definitions/v1.NeighborClassAddBody"
  6051. }
  6052. }
  6053. ],
  6054. "responses": {
  6055. "200": {
  6056. "description": "OK",
  6057. "schema": {
  6058. "$ref": "#/definitions/v1.NeighborClassAddResponse"
  6059. }
  6060. },
  6061. "500": {
  6062. "description": "Internal Server Error",
  6063. "schema": {
  6064. "$ref": "#/definitions/base.HTTPError"
  6065. }
  6066. }
  6067. }
  6068. },
  6069. "delete": {
  6070. "description": "删除分类",
  6071. "consumes": [
  6072. "application/json"
  6073. ],
  6074. "produces": [
  6075. "application/json"
  6076. ],
  6077. "tags": [
  6078. "社区邻里"
  6079. ],
  6080. "summary": "删除分类",
  6081. "parameters": [
  6082. {
  6083. "type": "string",
  6084. "description": "token",
  6085. "name": "token",
  6086. "in": "header",
  6087. "required": true
  6088. },
  6089. {
  6090. "type": "integer",
  6091. "description": " ",
  6092. "name": "id",
  6093. "in": "query",
  6094. "required": true
  6095. }
  6096. ],
  6097. "responses": {
  6098. "200": {
  6099. "description": "OK",
  6100. "schema": {
  6101. "$ref": "#/definitions/v1.NeighborClassDelResponse"
  6102. }
  6103. },
  6104. "500": {
  6105. "description": "Internal Server Error",
  6106. "schema": {
  6107. "$ref": "#/definitions/base.HTTPError"
  6108. }
  6109. }
  6110. }
  6111. }
  6112. },
  6113. "/api/v1/service/neighbor/comment": {
  6114. "get": {
  6115. "responses": {
  6116. "200": {
  6117. "description": "OK",
  6118. "schema": {
  6119. "$ref": "#/definitions/v1.NeighborCommentListResponse"
  6120. }
  6121. },
  6122. "500": {
  6123. "description": "Internal Server Error",
  6124. "schema": {
  6125. "$ref": "#/definitions/base.HTTPError"
  6126. }
  6127. }
  6128. }
  6129. },
  6130. "delete": {
  6131. "description": "删除评论",
  6132. "consumes": [
  6133. "application/json"
  6134. ],
  6135. "produces": [
  6136. "application/json"
  6137. ],
  6138. "tags": [
  6139. "社区邻里"
  6140. ],
  6141. "summary": "删除评论",
  6142. "parameters": [
  6143. {
  6144. "type": "string",
  6145. "description": "token",
  6146. "name": "token",
  6147. "in": "header",
  6148. "required": true
  6149. },
  6150. {
  6151. "type": "integer",
  6152. "description": " ",
  6153. "name": "id",
  6154. "in": "query",
  6155. "required": true
  6156. }
  6157. ],
  6158. "responses": {
  6159. "200": {
  6160. "description": "OK",
  6161. "schema": {
  6162. "$ref": "#/definitions/v1.NeighborCommentDelResponse"
  6163. }
  6164. },
  6165. "500": {
  6166. "description": "Internal Server Error",
  6167. "schema": {
  6168. "$ref": "#/definitions/base.HTTPError"
  6169. }
  6170. }
  6171. }
  6172. }
  6173. },
  6174. "/api/v1/service/vote": {
  6175. "get": {
  6176. "description": "投票列表",
  6177. "consumes": [
  6178. "application/json"
  6179. ],
  6180. "produces": [
  6181. "application/json"
  6182. ],
  6183. "tags": [
  6184. "投票"
  6185. ],
  6186. "summary": "投票列表",
  6187. "parameters": [
  6188. {
  6189. "type": "string",
  6190. "description": "token",
  6191. "name": "token",
  6192. "in": "header",
  6193. "required": true
  6194. },
  6195. {
  6196. "type": "integer",
  6197. "description": " ",
  6198. "name": "page",
  6199. "in": "query"
  6200. },
  6201. {
  6202. "type": "integer",
  6203. "description": " ",
  6204. "name": "page_size",
  6205. "in": "query"
  6206. },
  6207. {
  6208. "type": "string",
  6209. "description": "投票标题",
  6210. "name": "title",
  6211. "in": "query"
  6212. }
  6213. ],
  6214. "responses": {
  6215. "200": {
  6216. "description": "OK",
  6217. "schema": {
  6218. "$ref": "#/definitions/v1.VoteListResponse"
  6219. }
  6220. },
  6221. "500": {
  6222. "description": "Internal Server Error",
  6223. "schema": {
  6224. "$ref": "#/definitions/base.HTTPError"
  6225. }
  6226. }
  6227. }
  6228. },
  6229. "put": {
  6230. "description": "修改投票",
  6231. "consumes": [
  6232. "application/json"
  6233. ],
  6234. "produces": [
  6235. "application/json"
  6236. ],
  6237. "tags": [
  6238. "投票"
  6239. ],
  6240. "summary": "修改投票",
  6241. "parameters": [
  6242. {
  6243. "type": "string",
  6244. "description": "token",
  6245. "name": "token",
  6246. "in": "header",
  6247. "required": true
  6248. },
  6249. {
  6250. "description": "信息",
  6251. "name": "body",
  6252. "in": "body",
  6253. "required": true,
  6254. "schema": {
  6255. "$ref": "#/definitions/v1.VoteUpdateBody"
  6256. }
  6257. }
  6258. ],
  6259. "responses": {
  6260. "200": {
  6261. "description": "OK",
  6262. "schema": {
  6263. "$ref": "#/definitions/v1.VoteUpdateResponse"
  6264. }
  6265. },
  6266. "500": {
  6267. "description": "Internal Server Error",
  6268. "schema": {
  6269. "$ref": "#/definitions/base.HTTPError"
  6270. }
  6271. }
  6272. }
  6273. },
  6274. "post": {
  6275. "description": "添加投票",
  6276. "consumes": [
  6277. "application/json"
  6278. ],
  6279. "produces": [
  6280. "application/json"
  6281. ],
  6282. "tags": [
  6283. "投票"
  6284. ],
  6285. "summary": "添加投票",
  6286. "parameters": [
  6287. {
  6288. "type": "string",
  6289. "description": "token",
  6290. "name": "token",
  6291. "in": "header",
  6292. "required": true
  6293. },
  6294. {
  6295. "description": "信息",
  6296. "name": "body",
  6297. "in": "body",
  6298. "required": true,
  6299. "schema": {
  6300. "$ref": "#/definitions/v1.VoteAddBody"
  6301. }
  6302. }
  6303. ],
  6304. "responses": {
  6305. "200": {
  6306. "description": "OK",
  6307. "schema": {
  6308. "$ref": "#/definitions/v1.VoteAddResponse"
  6309. }
  6310. },
  6311. "500": {
  6312. "description": "Internal Server Error",
  6313. "schema": {
  6314. "$ref": "#/definitions/base.HTTPError"
  6315. }
  6316. }
  6317. }
  6318. },
  6319. "delete": {
  6320. "description": "删除投票",
  6321. "consumes": [
  6322. "application/json"
  6323. ],
  6324. "produces": [
  6325. "application/json"
  6326. ],
  6327. "tags": [
  6328. "投票"
  6329. ],
  6330. "summary": "删除投票",
  6331. "parameters": [
  6332. {
  6333. "type": "string",
  6334. "description": "token",
  6335. "name": "token",
  6336. "in": "header",
  6337. "required": true
  6338. },
  6339. {
  6340. "type": "integer",
  6341. "description": " ",
  6342. "name": "id",
  6343. "in": "query",
  6344. "required": true
  6345. }
  6346. ],
  6347. "responses": {
  6348. "200": {
  6349. "description": "OK",
  6350. "schema": {
  6351. "$ref": "#/definitions/v1.VoteDelResponse"
  6352. }
  6353. },
  6354. "500": {
  6355. "description": "Internal Server Error",
  6356. "schema": {
  6357. "$ref": "#/definitions/base.HTTPError"
  6358. }
  6359. }
  6360. }
  6361. }
  6362. },
  6363. "/api/v1/service/vote/result": {
  6364. "get": {
  6365. "description": "投票结果列表",
  6366. "consumes": [
  6367. "application/json"
  6368. ],
  6369. "produces": [
  6370. "application/json"
  6371. ],
  6372. "tags": [
  6373. "投票"
  6374. ],
  6375. "summary": "投票结果列表",
  6376. "parameters": [
  6377. {
  6378. "type": "string",
  6379. "description": "token",
  6380. "name": "token",
  6381. "in": "header",
  6382. "required": true
  6383. },
  6384. {
  6385. "type": "integer",
  6386. "description": " ",
  6387. "name": "page",
  6388. "in": "query"
  6389. },
  6390. {
  6391. "type": "integer",
  6392. "description": " ",
  6393. "name": "page_size",
  6394. "in": "query"
  6395. },
  6396. {
  6397. "type": "integer",
  6398. "description": " ",
  6399. "name": "id",
  6400. "in": "query",
  6401. "required": true
  6402. }
  6403. ],
  6404. "responses": {
  6405. "200": {
  6406. "description": "OK",
  6407. "schema": {
  6408. "$ref": "#/definitions/v1.VoteResultListResponse"
  6409. }
  6410. },
  6411. "500": {
  6412. "description": "Internal Server Error",
  6413. "schema": {
  6414. "$ref": "#/definitions/base.HTTPError"
  6415. }
  6416. }
  6417. }
  6418. }
  6419. },
  6420. "/api/v1/service/vote/result/statistic": {
  6421. "get": {
  6422. "description": "投票结果统计",
  6423. "consumes": [
  6424. "application/json"
  6425. ],
  6426. "produces": [
  6427. "application/json"
  6428. ],
  6429. "tags": [
  6430. "投票"
  6431. ],
  6432. "summary": "投票结果统计",
  6433. "parameters": [
  6434. {
  6435. "type": "string",
  6436. "description": "token",
  6437. "name": "token",
  6438. "in": "header",
  6439. "required": true
  6440. },
  6441. {
  6442. "type": "integer",
  6443. "description": " ",
  6444. "name": "id",
  6445. "in": "query",
  6446. "required": true
  6447. }
  6448. ],
  6449. "responses": {
  6450. "200": {
  6451. "description": "OK",
  6452. "schema": {
  6453. "$ref": "#/definitions/v1.VoteResultStatisticResponse"
  6454. }
  6455. },
  6456. "500": {
  6457. "description": "Internal Server Error",
  6458. "schema": {
  6459. "$ref": "#/definitions/base.HTTPError"
  6460. }
  6461. }
  6462. }
  6463. }
  6464. },
  6465. "/api/v1/service_phone": {
  6466. "get": {
  6467. "description": "电话列表",
  6468. "consumes": [
  6469. "application/json"
  6470. ],
  6471. "produces": [
  6472. "application/json"
  6473. ],
  6474. "tags": [
  6475. "服务电话"
  6476. ],
  6477. "summary": "电话列表",
  6478. "parameters": [
  6479. {
  6480. "type": "string",
  6481. "description": "token",
  6482. "name": "token",
  6483. "in": "header",
  6484. "required": true
  6485. },
  6486. {
  6487. "type": "integer",
  6488. "description": " ",
  6489. "name": "page",
  6490. "in": "query"
  6491. },
  6492. {
  6493. "type": "integer",
  6494. "description": " ",
  6495. "name": "page_size",
  6496. "in": "query"
  6497. },
  6498. {
  6499. "type": "integer",
  6500. "description": "分类id",
  6501. "name": "class_id",
  6502. "in": "query"
  6503. }
  6504. ],
  6505. "responses": {
  6506. "200": {
  6507. "description": "OK",
  6508. "schema": {
  6509. "$ref": "#/definitions/v1.ServicePhoneListResponse"
  6510. }
  6511. },
  6512. "500": {
  6513. "description": "Internal Server Error",
  6514. "schema": {
  6515. "$ref": "#/definitions/base.HTTPError"
  6516. }
  6517. }
  6518. }
  6519. },
  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.ServicePhoneUpdateBody"
  6547. }
  6548. }
  6549. ],
  6550. "responses": {
  6551. "200": {
  6552. "description": "OK",
  6553. "schema": {
  6554. "$ref": "#/definitions/v1.ServicePhoneUpdateResponse"
  6555. }
  6556. },
  6557. "500": {
  6558. "description": "Internal Server Error",
  6559. "schema": {
  6560. "$ref": "#/definitions/base.HTTPError"
  6561. }
  6562. }
  6563. }
  6564. },
  6565. "post": {
  6566. "description": "添加电话",
  6567. "consumes": [
  6568. "application/json"
  6569. ],
  6570. "produces": [
  6571. "application/json"
  6572. ],
  6573. "tags": [
  6574. "服务电话"
  6575. ],
  6576. "summary": "添加电话",
  6577. "parameters": [
  6578. {
  6579. "type": "string",
  6580. "description": "token",
  6581. "name": "token",
  6582. "in": "header",
  6583. "required": true
  6584. },
  6585. {
  6586. "description": "信息",
  6587. "name": "body",
  6588. "in": "body",
  6589. "required": true,
  6590. "schema": {
  6591. "$ref": "#/definitions/v1.ServicePhoneAddBody"
  6592. }
  6593. }
  6594. ],
  6595. "responses": {
  6596. "200": {
  6597. "description": "OK",
  6598. "schema": {
  6599. "$ref": "#/definitions/v1.ServicePhoneAddResponse"
  6600. }
  6601. },
  6602. "500": {
  6603. "description": "Internal Server Error",
  6604. "schema": {
  6605. "$ref": "#/definitions/base.HTTPError"
  6606. }
  6607. }
  6608. }
  6609. },
  6610. "delete": {
  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. "type": "integer",
  6632. "description": " ",
  6633. "name": "id",
  6634. "in": "query",
  6635. "required": true
  6636. }
  6637. ],
  6638. "responses": {
  6639. "200": {
  6640. "description": "OK",
  6641. "schema": {
  6642. "$ref": "#/definitions/v1.ServicePhoneDelResponse"
  6643. }
  6644. },
  6645. "500": {
  6646. "description": "Internal Server Error",
  6647. "schema": {
  6648. "$ref": "#/definitions/base.HTTPError"
  6649. }
  6650. }
  6651. }
  6652. }
  6653. },
  6654. "/api/v1/service_phone/class": {
  6655. "get": {
  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": " ",
  6678. "name": "page",
  6679. "in": "query"
  6680. },
  6681. {
  6682. "type": "integer",
  6683. "description": " ",
  6684. "name": "page_size",
  6685. "in": "query"
  6686. }
  6687. ],
  6688. "responses": {
  6689. "200": {
  6690. "description": "OK",
  6691. "schema": {
  6692. "$ref": "#/definitions/v1.ServicePhoneClassListResponse"
  6693. }
  6694. },
  6695. "500": {
  6696. "description": "Internal Server Error",
  6697. "schema": {
  6698. "$ref": "#/definitions/base.HTTPError"
  6699. }
  6700. }
  6701. }
  6702. },
  6703. "put": {
  6704. "description": "修改分类",
  6705. "consumes": [
  6706. "application/json"
  6707. ],
  6708. "produces": [
  6709. "application/json"
  6710. ],
  6711. "tags": [
  6712. "服务电话"
  6713. ],
  6714. "summary": "修改分类",
  6715. "parameters": [
  6716. {
  6717. "type": "string",
  6718. "description": "token",
  6719. "name": "token",
  6720. "in": "header",
  6721. "required": true
  6722. },
  6723. {
  6724. "description": "信息",
  6725. "name": "body",
  6726. "in": "body",
  6727. "required": true,
  6728. "schema": {
  6729. "$ref": "#/definitions/v1.ServicePhoneClassUpdateBody"
  6730. }
  6731. }
  6732. ],
  6733. "responses": {
  6734. "200": {
  6735. "description": "OK",
  6736. "schema": {
  6737. "$ref": "#/definitions/v1.ServicePhoneClassUpdateResponse"
  6738. }
  6739. },
  6740. "500": {
  6741. "description": "Internal Server Error",
  6742. "schema": {
  6743. "$ref": "#/definitions/base.HTTPError"
  6744. }
  6745. }
  6746. }
  6747. },
  6748. "post": {
  6749. "description": "添加分类",
  6750. "consumes": [
  6751. "application/json"
  6752. ],
  6753. "produces": [
  6754. "application/json"
  6755. ],
  6756. "tags": [
  6757. "服务电话"
  6758. ],
  6759. "summary": "添加分类",
  6760. "parameters": [
  6761. {
  6762. "type": "string",
  6763. "description": "token",
  6764. "name": "token",
  6765. "in": "header",
  6766. "required": true
  6767. },
  6768. {
  6769. "description": "信息",
  6770. "name": "body",
  6771. "in": "body",
  6772. "required": true,
  6773. "schema": {
  6774. "$ref": "#/definitions/v1.ServicePhoneClassAddBody"
  6775. }
  6776. }
  6777. ],
  6778. "responses": {
  6779. "200": {
  6780. "description": "OK",
  6781. "schema": {
  6782. "$ref": "#/definitions/v1.ServicePhoneClassAddResponse"
  6783. }
  6784. },
  6785. "500": {
  6786. "description": "Internal Server Error",
  6787. "schema": {
  6788. "$ref": "#/definitions/base.HTTPError"
  6789. }
  6790. }
  6791. }
  6792. },
  6793. "delete": {
  6794. "description": "删除分类",
  6795. "consumes": [
  6796. "application/json"
  6797. ],
  6798. "produces": [
  6799. "application/json"
  6800. ],
  6801. "tags": [
  6802. "服务电话"
  6803. ],
  6804. "summary": "删除分类",
  6805. "parameters": [
  6806. {
  6807. "type": "string",
  6808. "description": "token",
  6809. "name": "token",
  6810. "in": "header",
  6811. "required": true
  6812. },
  6813. {
  6814. "type": "integer",
  6815. "description": " ",
  6816. "name": "id",
  6817. "in": "query",
  6818. "required": true
  6819. }
  6820. ],
  6821. "responses": {
  6822. "200": {
  6823. "description": "OK",
  6824. "schema": {
  6825. "$ref": "#/definitions/v1.ServicePhoneClassDelResponse"
  6826. }
  6827. },
  6828. "500": {
  6829. "description": "Internal Server Error",
  6830. "schema": {
  6831. "$ref": "#/definitions/base.HTTPError"
  6832. }
  6833. }
  6834. }
  6835. }
  6836. },
  6837. "/api/v1/suggestion/order": {
  6838. "get": {
  6839. "description": "工单列表",
  6840. "consumes": [
  6841. "application/json"
  6842. ],
  6843. "produces": [
  6844. "application/json"
  6845. ],
  6846. "tags": [
  6847. "投诉与建议"
  6848. ],
  6849. "summary": "工单列表",
  6850. "parameters": [
  6851. {
  6852. "type": "string",
  6853. "description": "token",
  6854. "name": "token",
  6855. "in": "header",
  6856. "required": true
  6857. },
  6858. {
  6859. "type": "integer",
  6860. "description": " ",
  6861. "name": "page",
  6862. "in": "query"
  6863. },
  6864. {
  6865. "type": "integer",
  6866. "description": " ",
  6867. "name": "page_size",
  6868. "in": "query"
  6869. },
  6870. {
  6871. "type": "integer",
  6872. "description": " 1未派单 2 已派单 3 已完结 ",
  6873. "name": "status",
  6874. "in": "query"
  6875. },
  6876. {
  6877. "type": "string",
  6878. "description": "报修人",
  6879. "name": "apply_people",
  6880. "in": "query"
  6881. },
  6882. {
  6883. "type": "string",
  6884. "description": "报修人电话",
  6885. "name": "apply_people_phone",
  6886. "in": "query"
  6887. },
  6888. {
  6889. "type": "boolean",
  6890. "description": " true: 指派给我的",
  6891. "name": "is_me",
  6892. "in": "query"
  6893. },
  6894. {
  6895. "type": "integer",
  6896. "description": "投诉类型 1 投诉 2 建议",
  6897. "name": "suggestion_type",
  6898. "in": "query"
  6899. }
  6900. ],
  6901. "responses": {
  6902. "200": {
  6903. "description": "OK",
  6904. "schema": {
  6905. "$ref": "#/definitions/v1.SuggestionOrderListResponse"
  6906. }
  6907. },
  6908. "500": {
  6909. "description": "Internal Server Error",
  6910. "schema": {
  6911. "$ref": "#/definitions/base.HTTPError"
  6912. }
  6913. }
  6914. }
  6915. },
  6916. "put": {
  6917. "description": "修改工单",
  6918. "consumes": [
  6919. "application/json"
  6920. ],
  6921. "produces": [
  6922. "application/json"
  6923. ],
  6924. "tags": [
  6925. "投诉与建议"
  6926. ],
  6927. "summary": "修改工单",
  6928. "parameters": [
  6929. {
  6930. "type": "string",
  6931. "description": "token",
  6932. "name": "token",
  6933. "in": "header",
  6934. "required": true
  6935. },
  6936. {
  6937. "description": "信息",
  6938. "name": "body",
  6939. "in": "body",
  6940. "required": true,
  6941. "schema": {
  6942. "$ref": "#/definitions/v1.SuggestionOrderUpdateBody"
  6943. }
  6944. }
  6945. ],
  6946. "responses": {
  6947. "200": {
  6948. "description": "OK",
  6949. "schema": {
  6950. "$ref": "#/definitions/v1.SuggestionOrderUpdateResponse"
  6951. }
  6952. },
  6953. "500": {
  6954. "description": "Internal Server Error",
  6955. "schema": {
  6956. "$ref": "#/definitions/base.HTTPError"
  6957. }
  6958. }
  6959. }
  6960. },
  6961. "post": {
  6962. "description": "新增工单",
  6963. "consumes": [
  6964. "application/json"
  6965. ],
  6966. "produces": [
  6967. "application/json"
  6968. ],
  6969. "tags": [
  6970. "投诉与建议"
  6971. ],
  6972. "summary": "新增工单",
  6973. "parameters": [
  6974. {
  6975. "type": "string",
  6976. "description": "token",
  6977. "name": "token",
  6978. "in": "header",
  6979. "required": true
  6980. },
  6981. {
  6982. "description": "信息",
  6983. "name": "body",
  6984. "in": "body",
  6985. "required": true,
  6986. "schema": {
  6987. "$ref": "#/definitions/v1.SuggestionOrderAddBody"
  6988. }
  6989. }
  6990. ],
  6991. "responses": {
  6992. "200": {
  6993. "description": "OK",
  6994. "schema": {
  6995. "$ref": "#/definitions/v1.SuggestionOrderAddResponse"
  6996. }
  6997. },
  6998. "500": {
  6999. "description": "Internal Server Error",
  7000. "schema": {
  7001. "$ref": "#/definitions/base.HTTPError"
  7002. }
  7003. }
  7004. }
  7005. },
  7006. "delete": {
  7007. "description": "删除工单",
  7008. "consumes": [
  7009. "application/json"
  7010. ],
  7011. "produces": [
  7012. "application/json"
  7013. ],
  7014. "tags": [
  7015. "投诉与建议"
  7016. ],
  7017. "summary": "删除工单",
  7018. "parameters": [
  7019. {
  7020. "type": "string",
  7021. "description": "token",
  7022. "name": "token",
  7023. "in": "header",
  7024. "required": true
  7025. },
  7026. {
  7027. "type": "integer",
  7028. "description": " ",
  7029. "name": "id",
  7030. "in": "query",
  7031. "required": true
  7032. }
  7033. ],
  7034. "responses": {
  7035. "200": {
  7036. "description": "OK",
  7037. "schema": {
  7038. "$ref": "#/definitions/v1.SuggestionOrderDelResponse"
  7039. }
  7040. },
  7041. "500": {
  7042. "description": "Internal Server Error",
  7043. "schema": {
  7044. "$ref": "#/definitions/base.HTTPError"
  7045. }
  7046. }
  7047. }
  7048. }
  7049. },
  7050. "/api/v1/suggestion/order/back": {
  7051. "put": {
  7052. "description": "退单",
  7053. "consumes": [
  7054. "application/json"
  7055. ],
  7056. "produces": [
  7057. "application/json"
  7058. ],
  7059. "tags": [
  7060. "投诉与建议"
  7061. ],
  7062. "summary": "退单",
  7063. "parameters": [
  7064. {
  7065. "type": "string",
  7066. "description": "token",
  7067. "name": "token",
  7068. "in": "header",
  7069. "required": true
  7070. },
  7071. {
  7072. "description": "信息",
  7073. "name": "body",
  7074. "in": "body",
  7075. "required": true,
  7076. "schema": {
  7077. "$ref": "#/definitions/v1.SuggestionOrderBackBody"
  7078. }
  7079. }
  7080. ],
  7081. "responses": {
  7082. "200": {
  7083. "description": "OK",
  7084. "schema": {
  7085. "$ref": "#/definitions/v1.SuggestionOrderBackResponse"
  7086. }
  7087. },
  7088. "500": {
  7089. "description": "Internal Server Error",
  7090. "schema": {
  7091. "$ref": "#/definitions/base.HTTPError"
  7092. }
  7093. }
  7094. }
  7095. }
  7096. },
  7097. "/api/v1/suggestion/order/finish": {
  7098. "put": {
  7099. "description": "结单",
  7100. "consumes": [
  7101. "application/json"
  7102. ],
  7103. "produces": [
  7104. "application/json"
  7105. ],
  7106. "tags": [
  7107. "投诉与建议"
  7108. ],
  7109. "summary": "结单",
  7110. "parameters": [
  7111. {
  7112. "type": "string",
  7113. "description": "token",
  7114. "name": "token",
  7115. "in": "header",
  7116. "required": true
  7117. },
  7118. {
  7119. "description": "信息",
  7120. "name": "body",
  7121. "in": "body",
  7122. "required": true,
  7123. "schema": {
  7124. "$ref": "#/definitions/v1.SuggestionOrderFinishBody"
  7125. }
  7126. }
  7127. ],
  7128. "responses": {
  7129. "200": {
  7130. "description": "OK",
  7131. "schema": {
  7132. "$ref": "#/definitions/v1.SuggestionOrderFinishResponse"
  7133. }
  7134. },
  7135. "500": {
  7136. "description": "Internal Server Error",
  7137. "schema": {
  7138. "$ref": "#/definitions/base.HTTPError"
  7139. }
  7140. }
  7141. }
  7142. }
  7143. },
  7144. "/api/v1/suggestion/order/info": {
  7145. "get": {
  7146. "description": "工单详情",
  7147. "consumes": [
  7148. "application/json"
  7149. ],
  7150. "produces": [
  7151. "application/json"
  7152. ],
  7153. "tags": [
  7154. "投诉与建议"
  7155. ],
  7156. "summary": "工单详情",
  7157. "parameters": [
  7158. {
  7159. "type": "string",
  7160. "description": "token",
  7161. "name": "token",
  7162. "in": "header",
  7163. "required": true
  7164. },
  7165. {
  7166. "type": "integer",
  7167. "description": " ",
  7168. "name": "id",
  7169. "in": "query",
  7170. "required": true
  7171. }
  7172. ],
  7173. "responses": {
  7174. "200": {
  7175. "description": "OK",
  7176. "schema": {
  7177. "$ref": "#/definitions/v1.SuggestionOrderInfoResponse"
  7178. }
  7179. },
  7180. "500": {
  7181. "description": "Internal Server Error",
  7182. "schema": {
  7183. "$ref": "#/definitions/base.HTTPError"
  7184. }
  7185. }
  7186. }
  7187. }
  7188. },
  7189. "/api/v1/suggestion/order/return_visit": {
  7190. "put": {
  7191. "description": "回访",
  7192. "consumes": [
  7193. "application/json"
  7194. ],
  7195. "produces": [
  7196. "application/json"
  7197. ],
  7198. "tags": [
  7199. "投诉与建议"
  7200. ],
  7201. "summary": "回访",
  7202. "parameters": [
  7203. {
  7204. "type": "string",
  7205. "description": "token",
  7206. "name": "token",
  7207. "in": "header",
  7208. "required": true
  7209. },
  7210. {
  7211. "description": "信息",
  7212. "name": "body",
  7213. "in": "body",
  7214. "required": true,
  7215. "schema": {
  7216. "$ref": "#/definitions/v1.SuggestionOrderReturnVisitBody"
  7217. }
  7218. }
  7219. ],
  7220. "responses": {
  7221. "200": {
  7222. "description": "OK",
  7223. "schema": {
  7224. "$ref": "#/definitions/v1.SuggestionOrderReturnVisitResponse"
  7225. }
  7226. },
  7227. "500": {
  7228. "description": "Internal Server Error",
  7229. "schema": {
  7230. "$ref": "#/definitions/base.HTTPError"
  7231. }
  7232. }
  7233. }
  7234. }
  7235. },
  7236. "/api/v1/suggestion/order/send": {
  7237. "put": {
  7238. "description": "派单",
  7239. "consumes": [
  7240. "application/json"
  7241. ],
  7242. "produces": [
  7243. "application/json"
  7244. ],
  7245. "tags": [
  7246. "投诉与建议"
  7247. ],
  7248. "summary": "派单",
  7249. "parameters": [
  7250. {
  7251. "type": "string",
  7252. "description": "token",
  7253. "name": "token",
  7254. "in": "header",
  7255. "required": true
  7256. },
  7257. {
  7258. "description": "信息",
  7259. "name": "body",
  7260. "in": "body",
  7261. "required": true,
  7262. "schema": {
  7263. "$ref": "#/definitions/v1.SuggestionOrderSendBody"
  7264. }
  7265. }
  7266. ],
  7267. "responses": {
  7268. "200": {
  7269. "description": "OK",
  7270. "schema": {
  7271. "$ref": "#/definitions/v1.SuggestionOrderSendResponse"
  7272. }
  7273. },
  7274. "500": {
  7275. "description": "Internal Server Error",
  7276. "schema": {
  7277. "$ref": "#/definitions/base.HTTPError"
  7278. }
  7279. }
  7280. }
  7281. }
  7282. },
  7283. "/api/v1/system_msg": {
  7284. "put": {
  7285. "description": "设置消息为已读",
  7286. "consumes": [
  7287. "application/json"
  7288. ],
  7289. "produces": [
  7290. "application/json"
  7291. ],
  7292. "tags": [
  7293. "系统消息"
  7294. ],
  7295. "summary": "设置消息为已读",
  7296. "parameters": [
  7297. {
  7298. "type": "string",
  7299. "description": "token",
  7300. "name": "token",
  7301. "in": "header",
  7302. "required": true
  7303. },
  7304. {
  7305. "description": "信息",
  7306. "name": "body",
  7307. "in": "body",
  7308. "required": true,
  7309. "schema": {
  7310. "$ref": "#/definitions/v1.SystemMsgReadedBody"
  7311. }
  7312. }
  7313. ],
  7314. "responses": {
  7315. "200": {
  7316. "description": "OK",
  7317. "schema": {
  7318. "$ref": "#/definitions/v1.VehicleAddResponse"
  7319. }
  7320. },
  7321. "500": {
  7322. "description": "Internal Server Error",
  7323. "schema": {
  7324. "$ref": "#/definitions/base.HTTPError"
  7325. }
  7326. }
  7327. }
  7328. }
  7329. },
  7330. "/api/v1/system_msg/count": {
  7331. "get": {
  7332. "description": "获取未读消息数",
  7333. "consumes": [
  7334. "application/json"
  7335. ],
  7336. "produces": [
  7337. "application/json"
  7338. ],
  7339. "tags": [
  7340. "系统消息"
  7341. ],
  7342. "summary": "获取未读消息数",
  7343. "parameters": [
  7344. {
  7345. "type": "string",
  7346. "description": "token",
  7347. "name": "token",
  7348. "in": "header",
  7349. "required": true
  7350. }
  7351. ],
  7352. "responses": {
  7353. "200": {
  7354. "description": "OK",
  7355. "schema": {
  7356. "$ref": "#/definitions/v1.SystemMsgCountResponse"
  7357. }
  7358. },
  7359. "500": {
  7360. "description": "Internal Server Error",
  7361. "schema": {
  7362. "$ref": "#/definitions/base.HTTPError"
  7363. }
  7364. }
  7365. }
  7366. }
  7367. },
  7368. "/api/v1/system_msg/list": {
  7369. "get": {
  7370. "description": "获取未读消息列表",
  7371. "consumes": [
  7372. "application/json"
  7373. ],
  7374. "produces": [
  7375. "application/json"
  7376. ],
  7377. "tags": [
  7378. "系统消息"
  7379. ],
  7380. "summary": "获取未读消息列表",
  7381. "parameters": [
  7382. {
  7383. "type": "string",
  7384. "description": "token",
  7385. "name": "token",
  7386. "in": "header",
  7387. "required": true
  7388. },
  7389. {
  7390. "type": "integer",
  7391. "description": " ",
  7392. "name": "page",
  7393. "in": "query"
  7394. },
  7395. {
  7396. "type": "integer",
  7397. "description": " ",
  7398. "name": "page_size",
  7399. "in": "query"
  7400. }
  7401. ],
  7402. "responses": {
  7403. "200": {
  7404. "description": "OK",
  7405. "schema": {
  7406. "$ref": "#/definitions/v1.SystemMsgListResponse"
  7407. }
  7408. },
  7409. "500": {
  7410. "description": "Internal Server Error",
  7411. "schema": {
  7412. "$ref": "#/definitions/base.HTTPError"
  7413. }
  7414. }
  7415. }
  7416. }
  7417. },
  7418. "/api/v1/system_user": {
  7419. "get": {
  7420. "description": "用户列表",
  7421. "consumes": [
  7422. "application/json"
  7423. ],
  7424. "produces": [
  7425. "application/json"
  7426. ],
  7427. "tags": [
  7428. "用户管理"
  7429. ],
  7430. "summary": "用户列表",
  7431. "parameters": [
  7432. {
  7433. "type": "string",
  7434. "description": "token",
  7435. "name": "token",
  7436. "in": "header",
  7437. "required": true
  7438. },
  7439. {
  7440. "type": "integer",
  7441. "description": " ",
  7442. "name": "page",
  7443. "in": "query",
  7444. "required": true
  7445. },
  7446. {
  7447. "type": "integer",
  7448. "description": " ",
  7449. "name": "page_size",
  7450. "in": "query"
  7451. },
  7452. {
  7453. "type": "integer",
  7454. "description": "权限组id",
  7455. "name": "group_id",
  7456. "in": "query"
  7457. },
  7458. {
  7459. "type": "string",
  7460. "description": "用户名",
  7461. "name": "user_name",
  7462. "in": "query"
  7463. },
  7464. {
  7465. "type": "string",
  7466. "description": "电话号",
  7467. "name": "phone",
  7468. "in": "query"
  7469. }
  7470. ],
  7471. "responses": {
  7472. "200": {
  7473. "description": "OK",
  7474. "schema": {
  7475. "$ref": "#/definitions/v1.UserListResponse"
  7476. }
  7477. },
  7478. "500": {
  7479. "description": "Internal Server Error",
  7480. "schema": {
  7481. "$ref": "#/definitions/base.HTTPError"
  7482. }
  7483. }
  7484. }
  7485. }
  7486. },
  7487. "/api/v1/token_refresh": {
  7488. "put": {
  7489. "description": "刷新token",
  7490. "consumes": [
  7491. "application/json"
  7492. ],
  7493. "produces": [
  7494. "application/json"
  7495. ],
  7496. "tags": [
  7497. "用户"
  7498. ],
  7499. "summary": "刷新token",
  7500. "parameters": [
  7501. {
  7502. "type": "string",
  7503. "description": "token",
  7504. "name": "token",
  7505. "in": "header",
  7506. "required": true
  7507. }
  7508. ],
  7509. "responses": {
  7510. "200": {
  7511. "description": "OK",
  7512. "schema": {
  7513. "$ref": "#/definitions/v1.TokenResponse"
  7514. }
  7515. },
  7516. "500": {
  7517. "description": "Internal Server Error",
  7518. "schema": {
  7519. "$ref": "#/definitions/base.HTTPError"
  7520. }
  7521. }
  7522. }
  7523. }
  7524. },
  7525. "/api/v1/upload": {
  7526. "post": {
  7527. "description": "上传文件",
  7528. "consumes": [
  7529. "application/json"
  7530. ],
  7531. "produces": [
  7532. "application/json"
  7533. ],
  7534. "tags": [
  7535. "upload"
  7536. ],
  7537. "summary": "上传文件",
  7538. "parameters": [
  7539. {
  7540. "type": "string",
  7541. "description": "jwt token",
  7542. "name": "token",
  7543. "in": "header",
  7544. "required": true
  7545. },
  7546. {
  7547. "type": "file",
  7548. "description": "file",
  7549. "name": "file",
  7550. "in": "formData"
  7551. }
  7552. ],
  7553. "responses": {
  7554. "200": {
  7555. "description": "OK",
  7556. "schema": {
  7557. "$ref": "#/definitions/v1.UploadResponse"
  7558. }
  7559. },
  7560. "500": {
  7561. "description": "Internal Server Error",
  7562. "schema": {
  7563. "$ref": "#/definitions/base.HTTPError"
  7564. }
  7565. }
  7566. }
  7567. }
  7568. },
  7569. "/api/v1/user/change_password": {
  7570. "put": {
  7571. "description": "修改密码",
  7572. "consumes": [
  7573. "application/json"
  7574. ],
  7575. "produces": [
  7576. "application/json"
  7577. ],
  7578. "tags": [
  7579. "用户"
  7580. ],
  7581. "summary": "修改密码",
  7582. "parameters": [
  7583. {
  7584. "type": "string",
  7585. "description": " ",
  7586. "name": "token",
  7587. "in": "header",
  7588. "required": true
  7589. },
  7590. {
  7591. "description": "信息",
  7592. "name": "body",
  7593. "in": "body",
  7594. "required": true,
  7595. "schema": {
  7596. "$ref": "#/definitions/v1.ChangePasswordBody"
  7597. }
  7598. }
  7599. ],
  7600. "responses": {
  7601. "200": {
  7602. "description": "OK",
  7603. "schema": {
  7604. "$ref": "#/definitions/v1.ChangePasswordResponse"
  7605. }
  7606. },
  7607. "500": {
  7608. "description": "Internal Server Error",
  7609. "schema": {
  7610. "$ref": "#/definitions/base.HTTPError"
  7611. }
  7612. }
  7613. }
  7614. }
  7615. },
  7616. "/api/v1/user/choose_user": {
  7617. "get": {
  7618. "description": "手机号登录选择账户",
  7619. "consumes": [
  7620. "application/json"
  7621. ],
  7622. "produces": [
  7623. "application/json"
  7624. ],
  7625. "tags": [
  7626. "用户"
  7627. ],
  7628. "summary": "手机号登录选择账户",
  7629. "parameters": [
  7630. {
  7631. "type": "string",
  7632. "description": "token",
  7633. "name": "token",
  7634. "in": "header",
  7635. "required": true
  7636. },
  7637. {
  7638. "type": "integer",
  7639. "description": "账户id",
  7640. "name": "id",
  7641. "in": "query",
  7642. "required": true
  7643. }
  7644. ],
  7645. "responses": {
  7646. "200": {
  7647. "description": "OK",
  7648. "schema": {
  7649. "$ref": "#/definitions/v1.ChooseUserResponse"
  7650. }
  7651. },
  7652. "500": {
  7653. "description": "Internal Server Error",
  7654. "schema": {
  7655. "$ref": "#/definitions/base.HTTPError"
  7656. }
  7657. }
  7658. }
  7659. }
  7660. },
  7661. "/api/v1/user/login": {
  7662. "post": {
  7663. "description": "登录",
  7664. "consumes": [
  7665. "application/json"
  7666. ],
  7667. "produces": [
  7668. "application/json"
  7669. ],
  7670. "tags": [
  7671. "用户"
  7672. ],
  7673. "summary": "登录",
  7674. "parameters": [
  7675. {
  7676. "description": "登录信息",
  7677. "name": "body",
  7678. "in": "body",
  7679. "required": true,
  7680. "schema": {
  7681. "$ref": "#/definitions/v1.LoginBody"
  7682. }
  7683. }
  7684. ],
  7685. "responses": {
  7686. "200": {
  7687. "description": "OK",
  7688. "schema": {
  7689. "$ref": "#/definitions/v1.LoginResponse"
  7690. }
  7691. },
  7692. "500": {
  7693. "description": "Internal Server Error",
  7694. "schema": {
  7695. "$ref": "#/definitions/base.HTTPError"
  7696. }
  7697. }
  7698. }
  7699. }
  7700. },
  7701. "/api/v1/user/login_by_phone": {
  7702. "post": {
  7703. "description": "手机号登录",
  7704. "consumes": [
  7705. "application/json"
  7706. ],
  7707. "produces": [
  7708. "application/json"
  7709. ],
  7710. "tags": [
  7711. "用户"
  7712. ],
  7713. "summary": "手机号登录",
  7714. "parameters": [
  7715. {
  7716. "description": " ",
  7717. "name": "body",
  7718. "in": "body",
  7719. "required": true,
  7720. "schema": {
  7721. "$ref": "#/definitions/v1.LoginByPhoneBody"
  7722. }
  7723. }
  7724. ],
  7725. "responses": {
  7726. "200": {
  7727. "description": "OK",
  7728. "schema": {
  7729. "$ref": "#/definitions/v1.LoginByPhoneResponse"
  7730. }
  7731. },
  7732. "500": {
  7733. "description": "Internal Server Error",
  7734. "schema": {
  7735. "$ref": "#/definitions/base.HTTPError"
  7736. }
  7737. }
  7738. }
  7739. }
  7740. },
  7741. "/api/v1/user/reset_password": {
  7742. "put": {
  7743. "description": "忘记密码重置密码",
  7744. "consumes": [
  7745. "application/json"
  7746. ],
  7747. "produces": [
  7748. "application/json"
  7749. ],
  7750. "tags": [
  7751. "用户"
  7752. ],
  7753. "summary": "忘记密码重置密码",
  7754. "parameters": [
  7755. {
  7756. "description": "信息",
  7757. "name": "body",
  7758. "in": "body",
  7759. "required": true,
  7760. "schema": {
  7761. "$ref": "#/definitions/v1.ResetPasswordBody"
  7762. }
  7763. }
  7764. ],
  7765. "responses": {
  7766. "200": {
  7767. "description": "OK",
  7768. "schema": {
  7769. "$ref": "#/definitions/v1.ResetPasswordResponse"
  7770. }
  7771. },
  7772. "500": {
  7773. "description": "Internal Server Error",
  7774. "schema": {
  7775. "$ref": "#/definitions/base.HTTPError"
  7776. }
  7777. }
  7778. }
  7779. }
  7780. },
  7781. "/api/v1/user/vcode": {
  7782. "get": {
  7783. "description": "获取短信验证码",
  7784. "consumes": [
  7785. "application/json"
  7786. ],
  7787. "produces": [
  7788. "application/json"
  7789. ],
  7790. "tags": [
  7791. "用户"
  7792. ],
  7793. "summary": "获取短信验证码",
  7794. "parameters": [
  7795. {
  7796. "type": "string",
  7797. "description": " ",
  7798. "name": "phone",
  7799. "in": "query",
  7800. "required": true
  7801. }
  7802. ],
  7803. "responses": {
  7804. "200": {
  7805. "description": "OK",
  7806. "schema": {
  7807. "$ref": "#/definitions/v1.GetVcodeResponse"
  7808. }
  7809. },
  7810. "500": {
  7811. "description": "Internal Server Error",
  7812. "schema": {
  7813. "$ref": "#/definitions/base.HTTPError"
  7814. }
  7815. }
  7816. }
  7817. }
  7818. }
  7819. },
  7820. "definitions": {
  7821. "base.HTTPError": {
  7822. "type": "object",
  7823. "properties": {
  7824. "code": {
  7825. "type": "integer",
  7826. "format": "int",
  7827. "example": 500
  7828. },
  7829. "message": {
  7830. "type": "string",
  7831. "example": "status bad request"
  7832. }
  7833. }
  7834. },
  7835. "v1.AnnouncementAddBody": {
  7836. "type": "object",
  7837. "properties": {
  7838. "content": {
  7839. "type": "string"
  7840. },
  7841. "title": {
  7842. "type": "string"
  7843. }
  7844. }
  7845. },
  7846. "v1.AnnouncementAddReply": {
  7847. "type": "object",
  7848. "properties": {
  7849. "id": {
  7850. "type": "integer"
  7851. }
  7852. }
  7853. },
  7854. "v1.AnnouncementAddResponse": {
  7855. "type": "object",
  7856. "properties": {
  7857. "code": {
  7858. "description": "返回码",
  7859. "type": "integer",
  7860. "format": "int",
  7861. "default": 0
  7862. },
  7863. "data": {
  7864. "type": "object",
  7865. "$ref": "#/definitions/v1.AnnouncementAddReply"
  7866. },
  7867. "message": {
  7868. "description": "消息",
  7869. "type": "string",
  7870. "default": "success"
  7871. }
  7872. }
  7873. },
  7874. "v1.AnnouncementDelResponse": {
  7875. "type": "object",
  7876. "properties": {
  7877. "code": {
  7878. "description": "返回码",
  7879. "type": "integer",
  7880. "format": "int",
  7881. "default": 0
  7882. },
  7883. "message": {
  7884. "description": "消息",
  7885. "type": "string",
  7886. "default": "success"
  7887. }
  7888. }
  7889. },
  7890. "v1.AnnouncementItem": {
  7891. "type": "object",
  7892. "properties": {
  7893. "content": {
  7894. "type": "string"
  7895. },
  7896. "id": {
  7897. "type": "integer"
  7898. },
  7899. "title": {
  7900. "type": "string"
  7901. }
  7902. }
  7903. },
  7904. "v1.AnnouncementListReply": {
  7905. "type": "object",
  7906. "properties": {
  7907. "list": {
  7908. "type": "array",
  7909. "items": {
  7910. "$ref": "#/definitions/v1.AnnouncementItem"
  7911. }
  7912. },
  7913. "page": {
  7914. "type": "integer"
  7915. },
  7916. "total": {
  7917. "type": "integer"
  7918. }
  7919. }
  7920. },
  7921. "v1.AnnouncementListResponse": {
  7922. "type": "object",
  7923. "properties": {
  7924. "code": {
  7925. "description": "返回码",
  7926. "type": "integer",
  7927. "format": "int",
  7928. "default": 0
  7929. },
  7930. "data": {
  7931. "type": "object",
  7932. "$ref": "#/definitions/v1.AnnouncementListReply"
  7933. },
  7934. "message": {
  7935. "description": "消息",
  7936. "type": "string",
  7937. "default": "success"
  7938. }
  7939. }
  7940. },
  7941. "v1.AnnouncementUpdateBody": {
  7942. "type": "object",
  7943. "properties": {
  7944. "content": {
  7945. "type": "string"
  7946. },
  7947. "id": {
  7948. "type": "integer"
  7949. },
  7950. "title": {
  7951. "type": "string"
  7952. }
  7953. }
  7954. },
  7955. "v1.AnnouncementUpdateResponse": {
  7956. "type": "object",
  7957. "properties": {
  7958. "code": {
  7959. "description": "返回码",
  7960. "type": "integer",
  7961. "format": "int",
  7962. "default": 0
  7963. },
  7964. "message": {
  7965. "description": "消息",
  7966. "type": "string",
  7967. "default": "success"
  7968. }
  7969. }
  7970. },
  7971. "v1.BatchBuildingItem": {
  7972. "type": "object",
  7973. "properties": {
  7974. "building_area": {
  7975. "description": "楼栋建筑面积",
  7976. "type": "number"
  7977. },
  7978. "building_name": {
  7979. "description": "楼栋名",
  7980. "type": "string"
  7981. },
  7982. "building_number": {
  7983. "description": "楼栋编号",
  7984. "type": "string"
  7985. },
  7986. "building_used_area": {
  7987. "description": "楼栋使用面积",
  7988. "type": "number"
  7989. },
  7990. "comment": {
  7991. "description": "备注",
  7992. "type": "string"
  7993. }
  7994. }
  7995. },
  7996. "v1.BatchHouseAddBody": {
  7997. "type": "object",
  7998. "properties": {
  7999. "buildings": {
  8000. "type": "array",
  8001. "items": {
  8002. "$ref": "#/definitions/v1.BatchBuildingItem"
  8003. }
  8004. },
  8005. "houses": {
  8006. "type": "array",
  8007. "items": {
  8008. "$ref": "#/definitions/v1.BatchHouseItem"
  8009. }
  8010. },
  8011. "units": {
  8012. "type": "array",
  8013. "items": {
  8014. "$ref": "#/definitions/v1.BatchUnitItem"
  8015. }
  8016. }
  8017. }
  8018. },
  8019. "v1.BatchHouseItem": {
  8020. "type": "object",
  8021. "properties": {
  8022. "building_number": {
  8023. "type": "string"
  8024. },
  8025. "hall_count": {
  8026. "description": "几厅",
  8027. "type": "integer"
  8028. },
  8029. "house_area": {
  8030. "description": "房屋建筑面积",
  8031. "type": "number"
  8032. },
  8033. "house_number": {
  8034. "description": "门牌号",
  8035. "type": "string"
  8036. },
  8037. "house_type": {
  8038. "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅",
  8039. "type": "integer"
  8040. },
  8041. "house_used_area": {
  8042. "description": "房屋使用面积",
  8043. "type": "number"
  8044. },
  8045. "layer": {
  8046. "description": "楼层",
  8047. "type": "integer"
  8048. },
  8049. "room_count": {
  8050. "description": "几室",
  8051. "type": "integer"
  8052. },
  8053. "unit_number": {
  8054. "description": "单元编号",
  8055. "type": "integer"
  8056. }
  8057. }
  8058. },
  8059. "v1.BatchUnitItem": {
  8060. "type": "object",
  8061. "properties": {
  8062. "building_number": {
  8063. "description": "楼栋编号",
  8064. "type": "string"
  8065. },
  8066. "has_lift": {
  8067. "description": "是否有电梯",
  8068. "type": "boolean"
  8069. },
  8070. "unit_layers": {
  8071. "description": "楼层数",
  8072. "type": "integer"
  8073. },
  8074. "unit_name": {
  8075. "description": "单元名",
  8076. "type": "string"
  8077. },
  8078. "unit_number": {
  8079. "description": "单元编号",
  8080. "type": "integer"
  8081. }
  8082. }
  8083. },
  8084. "v1.BatchUrgeData": {
  8085. "type": "object",
  8086. "properties": {
  8087. "list": {
  8088. "type": "array",
  8089. "items": {
  8090. "$ref": "#/definitions/v1.BatchUrgeItem"
  8091. }
  8092. }
  8093. }
  8094. },
  8095. "v1.BatchUrgeFeeItem": {
  8096. "type": "object",
  8097. "properties": {
  8098. "charge_name": {
  8099. "description": "费用名称",
  8100. "type": "string"
  8101. },
  8102. "charge_type": {
  8103. "description": "费用类型 1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  8104. "type": "integer"
  8105. },
  8106. "fee": {
  8107. "description": "欠费金额",
  8108. "type": "integer"
  8109. }
  8110. }
  8111. },
  8112. "v1.BatchUrgeItem": {
  8113. "type": "object",
  8114. "properties": {
  8115. "list": {
  8116. "description": "费用",
  8117. "type": "array",
  8118. "items": {
  8119. "$ref": "#/definitions/v1.BatchUrgeFeeItem"
  8120. }
  8121. },
  8122. "obj_name": {
  8123. "description": "房号/车位号",
  8124. "type": "string"
  8125. }
  8126. }
  8127. },
  8128. "v1.BatchUrgeResponse": {
  8129. "type": "object",
  8130. "properties": {
  8131. "code": {
  8132. "description": "返回码",
  8133. "type": "integer",
  8134. "format": "int",
  8135. "default": 0
  8136. },
  8137. "data": {
  8138. "type": "object",
  8139. "$ref": "#/definitions/v1.BatchUrgeData"
  8140. },
  8141. "message": {
  8142. "description": "消息",
  8143. "type": "string",
  8144. "default": "success"
  8145. }
  8146. }
  8147. },
  8148. "v1.BuildingAddBody": {
  8149. "type": "object",
  8150. "properties": {
  8151. "building_area": {
  8152. "description": "楼栋建筑面积",
  8153. "type": "number"
  8154. },
  8155. "building_name": {
  8156. "description": "楼栋名",
  8157. "type": "string"
  8158. },
  8159. "building_number": {
  8160. "description": "楼栋编号",
  8161. "type": "string"
  8162. },
  8163. "building_used_area": {
  8164. "description": "楼栋使用面积",
  8165. "type": "number"
  8166. },
  8167. "comment": {
  8168. "description": "备注",
  8169. "type": "string"
  8170. }
  8171. }
  8172. },
  8173. "v1.BuildingAddReply": {
  8174. "type": "object",
  8175. "properties": {
  8176. "id": {
  8177. "type": "integer"
  8178. }
  8179. }
  8180. },
  8181. "v1.BuildingAddResponse": {
  8182. "type": "object",
  8183. "properties": {
  8184. "code": {
  8185. "description": "返回码",
  8186. "type": "integer",
  8187. "format": "int",
  8188. "default": 0
  8189. },
  8190. "data": {
  8191. "type": "object",
  8192. "$ref": "#/definitions/v1.BuildingAddReply"
  8193. },
  8194. "message": {
  8195. "description": "消息",
  8196. "type": "string",
  8197. "default": "success"
  8198. }
  8199. }
  8200. },
  8201. "v1.BuildingDelResponse": {
  8202. "type": "object",
  8203. "properties": {
  8204. "code": {
  8205. "description": "返回码",
  8206. "type": "integer",
  8207. "format": "int",
  8208. "default": 0
  8209. },
  8210. "message": {
  8211. "description": "消息",
  8212. "type": "string",
  8213. "default": "success"
  8214. }
  8215. }
  8216. },
  8217. "v1.BuildingItem": {
  8218. "type": "object",
  8219. "properties": {
  8220. "building_area": {
  8221. "description": "楼栋建筑面积",
  8222. "type": "number"
  8223. },
  8224. "building_name": {
  8225. "description": "楼栋名",
  8226. "type": "string"
  8227. },
  8228. "building_number": {
  8229. "description": "楼栋编号",
  8230. "type": "string"
  8231. },
  8232. "building_used_area": {
  8233. "description": "楼栋使用面积",
  8234. "type": "number"
  8235. },
  8236. "comment": {
  8237. "description": "备注",
  8238. "type": "string"
  8239. },
  8240. "id": {
  8241. "description": "id",
  8242. "type": "integer"
  8243. },
  8244. "unit_count": {
  8245. "type": "integer"
  8246. }
  8247. }
  8248. },
  8249. "v1.BuildingListReply": {
  8250. "type": "object",
  8251. "properties": {
  8252. "list": {
  8253. "type": "array",
  8254. "items": {
  8255. "$ref": "#/definitions/v1.BuildingItem"
  8256. }
  8257. },
  8258. "page": {
  8259. "type": "integer"
  8260. },
  8261. "total": {
  8262. "type": "integer"
  8263. }
  8264. }
  8265. },
  8266. "v1.BuildingListResponse": {
  8267. "type": "object",
  8268. "properties": {
  8269. "code": {
  8270. "description": "返回码",
  8271. "type": "integer",
  8272. "format": "int",
  8273. "default": 0
  8274. },
  8275. "data": {
  8276. "type": "object",
  8277. "$ref": "#/definitions/v1.BuildingListReply"
  8278. },
  8279. "message": {
  8280. "description": "消息",
  8281. "type": "string",
  8282. "default": "success"
  8283. }
  8284. }
  8285. },
  8286. "v1.BuildingUpdateBody": {
  8287. "type": "object",
  8288. "properties": {
  8289. "building_area": {
  8290. "description": "楼栋建筑面积",
  8291. "type": "number"
  8292. },
  8293. "building_name": {
  8294. "description": "楼栋名",
  8295. "type": "string"
  8296. },
  8297. "building_number": {
  8298. "description": "楼栋编号",
  8299. "type": "string"
  8300. },
  8301. "building_used_area": {
  8302. "description": "楼栋使用面积",
  8303. "type": "number"
  8304. },
  8305. "comment": {
  8306. "description": "备注",
  8307. "type": "string"
  8308. },
  8309. "id": {
  8310. "type": "integer"
  8311. }
  8312. }
  8313. },
  8314. "v1.BuildingUpdateResponse": {
  8315. "type": "object",
  8316. "properties": {
  8317. "code": {
  8318. "description": "返回码",
  8319. "type": "integer",
  8320. "format": "int",
  8321. "default": 0
  8322. },
  8323. "message": {
  8324. "description": "消息",
  8325. "type": "string",
  8326. "default": "success"
  8327. }
  8328. }
  8329. },
  8330. "v1.ChangePasswordBody": {
  8331. "type": "object",
  8332. "properties": {
  8333. "new_password": {
  8334. "type": "string"
  8335. },
  8336. "old_password": {
  8337. "type": "string"
  8338. }
  8339. }
  8340. },
  8341. "v1.ChangePasswordResponse": {
  8342. "type": "object",
  8343. "properties": {
  8344. "code": {
  8345. "description": "返回码",
  8346. "type": "integer",
  8347. "format": "int",
  8348. "default": 0
  8349. },
  8350. "message": {
  8351. "description": "消息",
  8352. "type": "string",
  8353. "default": "success"
  8354. }
  8355. }
  8356. },
  8357. "v1.ChargeBillItem": {
  8358. "type": "object",
  8359. "properties": {
  8360. "amount": {
  8361. "type": "integer"
  8362. },
  8363. "bill_id": {
  8364. "type": "integer"
  8365. },
  8366. "charge_desc": {
  8367. "type": "string"
  8368. },
  8369. "charge_name": {
  8370. "type": "string"
  8371. },
  8372. "charge_type": {
  8373. "type": "integer"
  8374. },
  8375. "current_used": {
  8376. "type": "number"
  8377. },
  8378. "end": {
  8379. "type": "string"
  8380. },
  8381. "last_used": {
  8382. "type": "number"
  8383. },
  8384. "late_fee": {
  8385. "type": "integer"
  8386. },
  8387. "start": {
  8388. "type": "string"
  8389. }
  8390. }
  8391. },
  8392. "v1.ChargeBillListReply": {
  8393. "type": "object",
  8394. "properties": {
  8395. "charge_name": {
  8396. "type": "string"
  8397. },
  8398. "charge_type": {
  8399. "type": "integer"
  8400. },
  8401. "list": {
  8402. "type": "array",
  8403. "items": {
  8404. "$ref": "#/definitions/v1.ChargeBillItem"
  8405. }
  8406. },
  8407. "page": {
  8408. "type": "integer"
  8409. },
  8410. "should_pay_amount": {
  8411. "type": "integer"
  8412. },
  8413. "total": {
  8414. "type": "integer"
  8415. }
  8416. }
  8417. },
  8418. "v1.ChargeBillListResponse": {
  8419. "type": "object",
  8420. "properties": {
  8421. "code": {
  8422. "description": "返回码",
  8423. "type": "integer",
  8424. "format": "int",
  8425. "default": 0
  8426. },
  8427. "data": {
  8428. "type": "object",
  8429. "$ref": "#/definitions/v1.ChargeBillListReply"
  8430. },
  8431. "message": {
  8432. "description": "消息",
  8433. "type": "string",
  8434. "default": "success"
  8435. }
  8436. }
  8437. },
  8438. "v1.ChargeBillObjItem": {
  8439. "type": "object",
  8440. "properties": {
  8441. "bill_count": {
  8442. "type": "integer"
  8443. },
  8444. "obj_id": {
  8445. "type": "integer"
  8446. },
  8447. "obj_name": {
  8448. "type": "string"
  8449. },
  8450. "obj_type": {
  8451. "type": "integer"
  8452. },
  8453. "should_pay_amount": {
  8454. "type": "integer"
  8455. }
  8456. }
  8457. },
  8458. "v1.ChargeBillObjListReply": {
  8459. "type": "object",
  8460. "properties": {
  8461. "list": {
  8462. "type": "array",
  8463. "items": {
  8464. "$ref": "#/definitions/v1.ChargeBillObjItem"
  8465. }
  8466. },
  8467. "page": {
  8468. "type": "integer"
  8469. },
  8470. "total": {
  8471. "type": "integer"
  8472. }
  8473. }
  8474. },
  8475. "v1.ChargeBillObjListResponse": {
  8476. "type": "object",
  8477. "properties": {
  8478. "code": {
  8479. "description": "返回码",
  8480. "type": "integer",
  8481. "format": "int",
  8482. "default": 0
  8483. },
  8484. "data": {
  8485. "type": "object",
  8486. "$ref": "#/definitions/v1.ChargeBillObjListReply"
  8487. },
  8488. "message": {
  8489. "description": "消息",
  8490. "type": "string",
  8491. "default": "success"
  8492. }
  8493. }
  8494. },
  8495. "v1.ChargeBillPayBody": {
  8496. "type": "object",
  8497. "properties": {
  8498. "bind_ids": {
  8499. "description": "BillIds []int64 `form:\"bill_ids\" json:\"bill_ids\"`\n绑定关系id列表",
  8500. "type": "array",
  8501. "items": {
  8502. "type": "integer"
  8503. }
  8504. },
  8505. "comment": {
  8506. "description": "备注",
  8507. "type": "string"
  8508. },
  8509. "pay_amount": {
  8510. "description": "实缴",
  8511. "type": "integer"
  8512. },
  8513. "pay_type": {
  8514. "description": "1 现金 2 微信 3 支付宝 4 pos 5 转账",
  8515. "type": "integer"
  8516. },
  8517. "should_pay_amount": {
  8518. "description": "应缴",
  8519. "type": "integer"
  8520. }
  8521. }
  8522. },
  8523. "v1.ChargeBillPayByHouseholdBody": {
  8524. "type": "object",
  8525. "properties": {
  8526. "bind_ids": {
  8527. "description": "BillIds []int64 `form:\"bill_ids\" json:\"bill_ids\"`\n绑定关系id列表",
  8528. "type": "array",
  8529. "items": {
  8530. "type": "integer"
  8531. }
  8532. },
  8533. "comment": {
  8534. "description": "备注",
  8535. "type": "string"
  8536. },
  8537. "pay_amount": {
  8538. "description": "实缴",
  8539. "type": "integer"
  8540. },
  8541. "should_pay_amount": {
  8542. "description": "应缴",
  8543. "type": "integer"
  8544. }
  8545. }
  8546. },
  8547. "v1.ChargeBillPayByHouseholdReply": {
  8548. "type": "object",
  8549. "properties": {
  8550. "code_url": {
  8551. "description": "二维码,native 支付时有值",
  8552. "type": "string"
  8553. },
  8554. "order_id": {
  8555. "type": "string"
  8556. },
  8557. "prepay_info": {
  8558. "description": "三方预支付信息",
  8559. "type": "string"
  8560. }
  8561. }
  8562. },
  8563. "v1.ChargeBillPayByHouseholdResponse": {
  8564. "type": "object",
  8565. "properties": {
  8566. "code": {
  8567. "description": "返回码",
  8568. "type": "integer",
  8569. "format": "int",
  8570. "default": 0
  8571. },
  8572. "data": {
  8573. "type": "object",
  8574. "$ref": "#/definitions/v1.ChargeBillPayByHouseholdReply"
  8575. },
  8576. "message": {
  8577. "description": "消息",
  8578. "type": "string",
  8579. "default": "success"
  8580. }
  8581. }
  8582. },
  8583. "v1.ChargeBillPayReply": {
  8584. "type": "object",
  8585. "properties": {
  8586. "order_id": {
  8587. "type": "string"
  8588. }
  8589. }
  8590. },
  8591. "v1.ChargeBillPayResponse": {
  8592. "type": "object",
  8593. "properties": {
  8594. "code": {
  8595. "description": "返回码",
  8596. "type": "integer",
  8597. "format": "int",
  8598. "default": 0
  8599. },
  8600. "data": {
  8601. "type": "object",
  8602. "$ref": "#/definitions/v1.ChargeBillPayReply"
  8603. },
  8604. "message": {
  8605. "description": "消息",
  8606. "type": "string",
  8607. "default": "success"
  8608. }
  8609. }
  8610. },
  8611. "v1.ChargeBindBody": {
  8612. "type": "object",
  8613. "properties": {
  8614. "charge_id": {
  8615. "type": "integer"
  8616. },
  8617. "custom_fee": {
  8618. "type": "integer"
  8619. },
  8620. "end": {
  8621. "description": "只有车辆费用有,结束时间",
  8622. "type": "integer"
  8623. },
  8624. "obj_ids": {
  8625. "description": "绑定对象的id",
  8626. "type": "array",
  8627. "items": {
  8628. "type": "integer"
  8629. }
  8630. },
  8631. "start": {
  8632. "description": "开始时间",
  8633. "type": "integer"
  8634. }
  8635. }
  8636. },
  8637. "v1.ChargeBindResponse": {
  8638. "type": "object",
  8639. "properties": {
  8640. "code": {
  8641. "description": "返回码",
  8642. "type": "integer",
  8643. "format": "int",
  8644. "default": 0
  8645. },
  8646. "message": {
  8647. "description": "消息",
  8648. "type": "string",
  8649. "default": "success"
  8650. }
  8651. }
  8652. },
  8653. "v1.ChargeConfAddBody": {
  8654. "type": "object",
  8655. "properties": {
  8656. "bill_period": {
  8657. "description": "账单生成周期 1 按月 2 按季度 3 半年 4 年",
  8658. "type": "integer"
  8659. },
  8660. "bill_period_type": {
  8661. "description": "账单周期计算方式 1自然周期 2 费用生效时间",
  8662. "type": "integer"
  8663. },
  8664. "charge_basis": {
  8665. "description": "1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义",
  8666. "type": "integer"
  8667. },
  8668. "charge_effective_time": {
  8669. "description": "费用生效时间",
  8670. "type": "integer"
  8671. },
  8672. "charge_name": {
  8673. "description": "费用名称",
  8674. "type": "string"
  8675. },
  8676. "charge_time_type": {
  8677. "description": "缴费时间类型 1 周期性缴 2 一次性",
  8678. "type": "integer"
  8679. },
  8680. "charge_type": {
  8681. "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  8682. "type": "integer"
  8683. },
  8684. "fix_amount": {
  8685. "description": "固定费用",
  8686. "type": "integer"
  8687. },
  8688. "fix_amount_name": {
  8689. "description": "固定费用别名",
  8690. "type": "string"
  8691. },
  8692. "lateFeePercent": {
  8693. "description": "滞纳金比例 1代表万分之1",
  8694. "type": "integer"
  8695. },
  8696. "late_fee_day": {
  8697. "description": "账单生成后xx天开始算滞纳金",
  8698. "type": "integer"
  8699. },
  8700. "late_fee_enable": {
  8701. "description": "滞纳金开启关闭",
  8702. "type": "boolean"
  8703. },
  8704. "late_fee_max_days": {
  8705. "description": "滞纳金封顶天数",
  8706. "type": "integer"
  8707. },
  8708. "unit_price": {
  8709. "description": "单价",
  8710. "type": "integer"
  8711. }
  8712. }
  8713. },
  8714. "v1.ChargeConfAddReply": {
  8715. "type": "object",
  8716. "properties": {
  8717. "id": {
  8718. "type": "integer"
  8719. }
  8720. }
  8721. },
  8722. "v1.ChargeConfAddResponse": {
  8723. "type": "object",
  8724. "properties": {
  8725. "code": {
  8726. "description": "返回码",
  8727. "type": "integer",
  8728. "format": "int",
  8729. "default": 0
  8730. },
  8731. "data": {
  8732. "type": "object",
  8733. "$ref": "#/definitions/v1.ChargeConfAddReply"
  8734. },
  8735. "message": {
  8736. "description": "消息",
  8737. "type": "string",
  8738. "default": "success"
  8739. }
  8740. }
  8741. },
  8742. "v1.ChargeConfDelResponse": {
  8743. "type": "object",
  8744. "properties": {
  8745. "code": {
  8746. "description": "返回码",
  8747. "type": "integer",
  8748. "format": "int",
  8749. "default": 0
  8750. },
  8751. "message": {
  8752. "description": "消息",
  8753. "type": "string",
  8754. "default": "success"
  8755. }
  8756. }
  8757. },
  8758. "v1.ChargeConfItem": {
  8759. "type": "object",
  8760. "properties": {
  8761. "bill_period": {
  8762. "description": "账单生成周期 1 按月 2 按季度 3 半年 4 年",
  8763. "type": "integer"
  8764. },
  8765. "bill_period_type": {
  8766. "description": "账单周期计算方式 1自然周期 2 费用生效时间",
  8767. "type": "integer"
  8768. },
  8769. "charge_basis": {
  8770. "description": "1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义",
  8771. "type": "integer"
  8772. },
  8773. "charge_effective_time": {
  8774. "description": "费用生效时间",
  8775. "type": "integer"
  8776. },
  8777. "charge_name": {
  8778. "description": "费用名称",
  8779. "type": "string"
  8780. },
  8781. "charge_time_type": {
  8782. "description": "缴费时间类型 1 周期性缴 2 一次性",
  8783. "type": "integer"
  8784. },
  8785. "charge_type": {
  8786. "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  8787. "type": "integer"
  8788. },
  8789. "fix_amount": {
  8790. "description": "固定费用",
  8791. "type": "integer"
  8792. },
  8793. "fix_amount_name": {
  8794. "description": "固定费用别名",
  8795. "type": "string"
  8796. },
  8797. "garden_id": {
  8798. "type": "integer"
  8799. },
  8800. "id": {
  8801. "type": "integer"
  8802. },
  8803. "late_fee_day": {
  8804. "description": "账单生成后xx天开始算滞纳金",
  8805. "type": "integer"
  8806. },
  8807. "late_fee_enable": {
  8808. "description": "滞纳金开启关闭",
  8809. "type": "boolean"
  8810. },
  8811. "late_fee_max_days": {
  8812. "description": "滞纳金封顶天数",
  8813. "type": "integer"
  8814. },
  8815. "late_fee_percent": {
  8816. "description": "滞纳金比例 1代表万分之1",
  8817. "type": "integer"
  8818. },
  8819. "unit_price": {
  8820. "description": "单价",
  8821. "type": "integer"
  8822. }
  8823. }
  8824. },
  8825. "v1.ChargeConfListReply": {
  8826. "type": "object",
  8827. "properties": {
  8828. "list": {
  8829. "type": "array",
  8830. "items": {
  8831. "$ref": "#/definitions/v1.ChargeConfItem"
  8832. }
  8833. },
  8834. "page": {
  8835. "type": "integer"
  8836. },
  8837. "total": {
  8838. "type": "integer"
  8839. }
  8840. }
  8841. },
  8842. "v1.ChargeConfListResponse": {
  8843. "type": "object",
  8844. "properties": {
  8845. "code": {
  8846. "description": "返回码",
  8847. "type": "integer",
  8848. "format": "int",
  8849. "default": 0
  8850. },
  8851. "data": {
  8852. "type": "object",
  8853. "$ref": "#/definitions/v1.ChargeConfListReply"
  8854. },
  8855. "message": {
  8856. "description": "消息",
  8857. "type": "string",
  8858. "default": "success"
  8859. }
  8860. }
  8861. },
  8862. "v1.ChargeConfUpdateBody": {
  8863. "type": "object",
  8864. "properties": {
  8865. "bill_period": {
  8866. "description": "账单生成周期 1 按月 2 按季度 3 半年 4 年",
  8867. "type": "integer"
  8868. },
  8869. "bill_period_type": {
  8870. "description": "账单周期计算方式 1自然周期 2 费用生效时间",
  8871. "type": "integer"
  8872. },
  8873. "charge_basis": {
  8874. "description": "1 按房屋面积 2 按使用面积 3 按车位面积 4 按使用量 5 固定费用 6 自定义",
  8875. "type": "integer"
  8876. },
  8877. "charge_effective_time": {
  8878. "description": "费用生效时间",
  8879. "type": "integer"
  8880. },
  8881. "charge_name": {
  8882. "description": "费用名称",
  8883. "type": "string"
  8884. },
  8885. "charge_time_type": {
  8886. "description": "缴费时间类型 1 周期性缴 2 一次性",
  8887. "type": "integer"
  8888. },
  8889. "charge_type": {
  8890. "description": "费用类型1 物业费 2 水费 3 电费 4 气费 5 车位管理费 6 月租停车费 99 其他",
  8891. "type": "integer"
  8892. },
  8893. "fix_amount": {
  8894. "description": "固定费用",
  8895. "type": "integer"
  8896. },
  8897. "fix_amount_name": {
  8898. "description": "固定费用别名",
  8899. "type": "string"
  8900. },
  8901. "id": {
  8902. "type": "integer"
  8903. },
  8904. "lateFeePercent": {
  8905. "description": "滞纳金比例 1代表万分之1",
  8906. "type": "integer"
  8907. },
  8908. "late_fee_day": {
  8909. "description": "账单生成后xx天开始算滞纳金",
  8910. "type": "integer"
  8911. },
  8912. "late_fee_enable": {
  8913. "description": "滞纳金开启关闭",
  8914. "type": "boolean"
  8915. },
  8916. "late_fee_max_days": {
  8917. "description": "滞纳金封顶天数",
  8918. "type": "integer"
  8919. },
  8920. "unit_price": {
  8921. "description": "单价",
  8922. "type": "integer"
  8923. }
  8924. }
  8925. },
  8926. "v1.ChargeConfUpdateResponse": {
  8927. "type": "object",
  8928. "properties": {
  8929. "code": {
  8930. "description": "返回码",
  8931. "type": "integer",
  8932. "format": "int",
  8933. "default": 0
  8934. },
  8935. "message": {
  8936. "description": "消息",
  8937. "type": "string",
  8938. "default": "success"
  8939. }
  8940. }
  8941. },
  8942. "v1.ChargeDelBillBody": {
  8943. "type": "object",
  8944. "properties": {
  8945. "bill_id": {
  8946. "type": "integer"
  8947. },
  8948. "del_reason": {
  8949. "type": "string"
  8950. }
  8951. }
  8952. },
  8953. "v1.ChargeDelBillItem": {
  8954. "type": "object",
  8955. "properties": {
  8956. "amount": {
  8957. "type": "integer"
  8958. },
  8959. "bill_id": {
  8960. "type": "integer"
  8961. },
  8962. "charge_desc": {
  8963. "type": "string"
  8964. },
  8965. "charge_name": {
  8966. "type": "string"
  8967. },
  8968. "charge_type": {
  8969. "type": "integer"
  8970. },
  8971. "current_used": {
  8972. "type": "number"
  8973. },
  8974. "del_at": {
  8975. "type": "string"
  8976. },
  8977. "del_reason": {
  8978. "type": "string"
  8979. },
  8980. "end": {
  8981. "type": "string"
  8982. },
  8983. "household_name": {
  8984. "type": "string"
  8985. },
  8986. "household_phone": {
  8987. "type": "string"
  8988. },
  8989. "last_used": {
  8990. "type": "number"
  8991. },
  8992. "late_fee": {
  8993. "type": "integer"
  8994. },
  8995. "obj_name": {
  8996. "type": "string"
  8997. },
  8998. "obj_type": {
  8999. "type": "integer"
  9000. },
  9001. "pay_time": {
  9002. "type": "string"
  9003. },
  9004. "pay_type": {
  9005. "type": "integer"
  9006. },
  9007. "start": {
  9008. "type": "string"
  9009. }
  9010. }
  9011. },
  9012. "v1.ChargeDelBillListReply": {
  9013. "type": "object",
  9014. "properties": {
  9015. "list": {
  9016. "type": "array",
  9017. "items": {
  9018. "$ref": "#/definitions/v1.ChargeDelBillItem"
  9019. }
  9020. },
  9021. "page": {
  9022. "type": "integer"
  9023. },
  9024. "total": {
  9025. "type": "integer"
  9026. }
  9027. }
  9028. },
  9029. "v1.ChargeDelBillListResponse": {
  9030. "type": "object",
  9031. "properties": {
  9032. "code": {
  9033. "description": "返回码",
  9034. "type": "integer",
  9035. "format": "int",
  9036. "default": 0
  9037. },
  9038. "data": {
  9039. "type": "object",
  9040. "$ref": "#/definitions/v1.ChargeDelBillListReply"
  9041. },
  9042. "message": {
  9043. "description": "消息",
  9044. "type": "string",
  9045. "default": "success"
  9046. }
  9047. }
  9048. },
  9049. "v1.ChargeDelBillResponse": {
  9050. "type": "object",
  9051. "properties": {
  9052. "code": {
  9053. "description": "返回码",
  9054. "type": "integer",
  9055. "format": "int",
  9056. "default": 0
  9057. },
  9058. "message": {
  9059. "description": "消息",
  9060. "type": "string",
  9061. "default": "success"
  9062. }
  9063. }
  9064. },
  9065. "v1.ChargeGenerateBillBody": {
  9066. "type": "object",
  9067. "properties": {
  9068. "bind_id": {
  9069. "type": "integer"
  9070. },
  9071. "end": {
  9072. "type": "integer"
  9073. }
  9074. }
  9075. },
  9076. "v1.ChargeGenerateBillResponse": {
  9077. "type": "object",
  9078. "properties": {
  9079. "code": {
  9080. "description": "返回码",
  9081. "type": "integer",
  9082. "format": "int",
  9083. "default": 0
  9084. },
  9085. "message": {
  9086. "description": "消息",
  9087. "type": "string",
  9088. "default": "success"
  9089. }
  9090. }
  9091. },
  9092. "v1.ChargeHouseBindedListReply": {
  9093. "type": "object",
  9094. "properties": {
  9095. "list": {
  9096. "type": "array",
  9097. "items": {
  9098. "$ref": "#/definitions/v1.ChargeHouseData"
  9099. }
  9100. },
  9101. "page": {
  9102. "type": "integer"
  9103. },
  9104. "total": {
  9105. "type": "integer"
  9106. }
  9107. }
  9108. },
  9109. "v1.ChargeHouseBindedListResponse": {
  9110. "type": "object",
  9111. "properties": {
  9112. "code": {
  9113. "description": "返回码",
  9114. "type": "integer",
  9115. "format": "int",
  9116. "default": 0
  9117. },
  9118. "data": {
  9119. "type": "object",
  9120. "$ref": "#/definitions/v1.ChargeHouseBindedListReply"
  9121. },
  9122. "message": {
  9123. "description": "消息",
  9124. "type": "string",
  9125. "default": "success"
  9126. }
  9127. }
  9128. },
  9129. "v1.ChargeHouseData": {
  9130. "type": "object",
  9131. "properties": {
  9132. "house_area": {
  9133. "type": "number"
  9134. },
  9135. "house_id": {
  9136. "type": "integer"
  9137. },
  9138. "house_name": {
  9139. "description": "房屋号",
  9140. "type": "string"
  9141. },
  9142. "house_number": {
  9143. "description": "门牌号",
  9144. "type": "string"
  9145. },
  9146. "house_status": {
  9147. "type": "integer"
  9148. },
  9149. "house_type": {
  9150. "type": "integer"
  9151. },
  9152. "house_used_area": {
  9153. "type": "number"
  9154. },
  9155. "layer": {
  9156. "type": "integer"
  9157. },
  9158. "start": {
  9159. "type": "integer"
  9160. }
  9161. }
  9162. },
  9163. "v1.ChargeHouseGroupItem": {
  9164. "type": "object",
  9165. "properties": {
  9166. "has_unpay_bill": {
  9167. "description": "是否有欠费账单",
  9168. "type": "boolean"
  9169. },
  9170. "house_area": {
  9171. "type": "number"
  9172. },
  9173. "house_id": {
  9174. "type": "integer"
  9175. },
  9176. "house_name": {
  9177. "type": "string"
  9178. },
  9179. "house_property_bind_id": {
  9180. "description": "房屋与物业费的绑定id",
  9181. "type": "integer"
  9182. },
  9183. "house_status": {
  9184. "type": "integer"
  9185. },
  9186. "house_type": {
  9187. "type": "integer"
  9188. },
  9189. "house_used_area": {
  9190. "type": "number"
  9191. },
  9192. "layer": {
  9193. "type": "integer"
  9194. }
  9195. }
  9196. },
  9197. "v1.ChargeHouseGroupReply": {
  9198. "type": "object",
  9199. "properties": {
  9200. "list": {
  9201. "type": "array",
  9202. "items": {
  9203. "$ref": "#/definitions/v1.ChargeHouseGroupItem"
  9204. }
  9205. },
  9206. "page": {
  9207. "type": "integer"
  9208. },
  9209. "total": {
  9210. "type": "integer"
  9211. }
  9212. }
  9213. },
  9214. "v1.ChargeHouseGroupResponse": {
  9215. "type": "object",
  9216. "properties": {
  9217. "code": {
  9218. "description": "返回码",
  9219. "type": "integer",
  9220. "format": "int",
  9221. "default": 0
  9222. },
  9223. "data": {
  9224. "type": "object",
  9225. "$ref": "#/definitions/v1.ChargeHouseGroupReply"
  9226. },
  9227. "message": {
  9228. "description": "消息",
  9229. "type": "string",
  9230. "default": "success"
  9231. }
  9232. }
  9233. },
  9234. "v1.ChargeHouseNotBindListReply": {
  9235. "type": "object",
  9236. "properties": {
  9237. "list": {
  9238. "type": "array",
  9239. "items": {
  9240. "$ref": "#/definitions/v1.ChargeHouseData"
  9241. }
  9242. },
  9243. "page": {
  9244. "type": "integer"
  9245. },
  9246. "total": {
  9247. "type": "integer"
  9248. }
  9249. }
  9250. },
  9251. "v1.ChargeHouseNotBindListResponse": {
  9252. "type": "object",
  9253. "properties": {
  9254. "code": {
  9255. "description": "返回码",
  9256. "type": "integer",
  9257. "format": "int",
  9258. "default": 0
  9259. },
  9260. "data": {
  9261. "type": "object",
  9262. "$ref": "#/definitions/v1.ChargeHouseNotBindListReply"
  9263. },
  9264. "message": {
  9265. "description": "消息",
  9266. "type": "string",
  9267. "default": "success"
  9268. }
  9269. }
  9270. },
  9271. "v1.ChargeItem": {
  9272. "type": "object",
  9273. "properties": {
  9274. "bind_id": {
  9275. "type": "integer"
  9276. },
  9277. "charge_name": {
  9278. "type": "string"
  9279. },
  9280. "charge_time_type": {
  9281. "type": "integer"
  9282. },
  9283. "charge_type": {
  9284. "type": "integer"
  9285. },
  9286. "created_at": {
  9287. "type": "string"
  9288. },
  9289. "desc": {
  9290. "type": "string"
  9291. },
  9292. "end": {
  9293. "type": "string"
  9294. },
  9295. "start": {
  9296. "type": "string"
  9297. },
  9298. "status": {
  9299. "type": "string"
  9300. }
  9301. }
  9302. },
  9303. "v1.ChargeListReply": {
  9304. "type": "object",
  9305. "properties": {
  9306. "list": {
  9307. "type": "array",
  9308. "items": {
  9309. "$ref": "#/definitions/v1.ChargeItem"
  9310. }
  9311. },
  9312. "page": {
  9313. "type": "integer"
  9314. },
  9315. "total": {
  9316. "type": "integer"
  9317. }
  9318. }
  9319. },
  9320. "v1.ChargeListResponse": {
  9321. "type": "object",
  9322. "properties": {
  9323. "code": {
  9324. "description": "返回码",
  9325. "type": "integer",
  9326. "format": "int",
  9327. "default": 0
  9328. },
  9329. "data": {
  9330. "type": "object",
  9331. "$ref": "#/definitions/v1.ChargeListReply"
  9332. },
  9333. "message": {
  9334. "description": "消息",
  9335. "type": "string",
  9336. "default": "success"
  9337. }
  9338. }
  9339. },
  9340. "v1.ChargeObjBillListReply": {
  9341. "type": "object",
  9342. "properties": {
  9343. "list": {
  9344. "type": "array",
  9345. "items": {
  9346. "$ref": "#/definitions/v1.ChargeBillItem"
  9347. }
  9348. },
  9349. "page": {
  9350. "type": "integer"
  9351. },
  9352. "total": {
  9353. "type": "integer"
  9354. }
  9355. }
  9356. },
  9357. "v1.ChargeObjBillListResponse": {
  9358. "type": "object",
  9359. "properties": {
  9360. "code": {
  9361. "description": "返回码",
  9362. "type": "integer",
  9363. "format": "int",
  9364. "default": 0
  9365. },
  9366. "data": {
  9367. "type": "object",
  9368. "$ref": "#/definitions/v1.ChargeObjBillListReply"
  9369. },
  9370. "message": {
  9371. "description": "消息",
  9372. "type": "string",
  9373. "default": "success"
  9374. }
  9375. }
  9376. },
  9377. "v1.ChargeOrderBillItem": {
  9378. "type": "object",
  9379. "properties": {
  9380. "amount": {
  9381. "type": "integer"
  9382. },
  9383. "bill_id": {
  9384. "type": "integer"
  9385. },
  9386. "charge_desc": {
  9387. "type": "string"
  9388. },
  9389. "charge_name": {
  9390. "type": "string"
  9391. },
  9392. "charge_type": {
  9393. "type": "integer"
  9394. },
  9395. "current_used": {
  9396. "type": "number"
  9397. },
  9398. "end": {
  9399. "type": "string"
  9400. },
  9401. "last_used": {
  9402. "type": "number"
  9403. },
  9404. "late_fee": {
  9405. "type": "integer"
  9406. },
  9407. "obj_name": {
  9408. "type": "string"
  9409. },
  9410. "start": {
  9411. "type": "string"
  9412. }
  9413. }
  9414. },
  9415. "v1.ChargeOrderInfoReply": {
  9416. "type": "object",
  9417. "properties": {
  9418. "list": {
  9419. "type": "array",
  9420. "items": {
  9421. "$ref": "#/definitions/v1.ChargeOrderBillItem"
  9422. }
  9423. }
  9424. }
  9425. },
  9426. "v1.ChargeOrderInfoResponse": {
  9427. "type": "object",
  9428. "properties": {
  9429. "code": {
  9430. "description": "返回码",
  9431. "type": "integer",
  9432. "format": "int",
  9433. "default": 0
  9434. },
  9435. "data": {
  9436. "type": "object",
  9437. "$ref": "#/definitions/v1.ChargeOrderInfoReply"
  9438. },
  9439. "message": {
  9440. "description": "消息",
  9441. "type": "string",
  9442. "default": "success"
  9443. }
  9444. }
  9445. },
  9446. "v1.ChargeOrderItem": {
  9447. "type": "object",
  9448. "properties": {
  9449. "comment": {
  9450. "type": "string"
  9451. },
  9452. "obj_name": {
  9453. "type": "string"
  9454. },
  9455. "order_id": {
  9456. "type": "string"
  9457. },
  9458. "pay_amount": {
  9459. "type": "integer"
  9460. },
  9461. "pay_time": {
  9462. "type": "string"
  9463. },
  9464. "pay_type": {
  9465. "type": "integer"
  9466. },
  9467. "paying_desc": {
  9468. "type": "string"
  9469. },
  9470. "should_pay_amount": {
  9471. "type": "integer"
  9472. },
  9473. "status": {
  9474. "description": "1 代缴 2 支付中 3 已支付",
  9475. "type": "integer"
  9476. },
  9477. "transaction_id": {
  9478. "type": "string"
  9479. }
  9480. }
  9481. },
  9482. "v1.ChargeOrderListReply": {
  9483. "type": "object",
  9484. "properties": {
  9485. "list": {
  9486. "type": "array",
  9487. "items": {
  9488. "$ref": "#/definitions/v1.ChargeOrderItem"
  9489. }
  9490. },
  9491. "page": {
  9492. "type": "integer"
  9493. },
  9494. "total": {
  9495. "type": "integer"
  9496. }
  9497. }
  9498. },
  9499. "v1.ChargeOrderListResponse": {
  9500. "type": "object",
  9501. "properties": {
  9502. "code": {
  9503. "description": "返回码",
  9504. "type": "integer",
  9505. "format": "int",
  9506. "default": 0
  9507. },
  9508. "data": {
  9509. "type": "object",
  9510. "$ref": "#/definitions/v1.ChargeOrderListReply"
  9511. },
  9512. "message": {
  9513. "description": "消息",
  9514. "type": "string",
  9515. "default": "success"
  9516. }
  9517. }
  9518. },
  9519. "v1.ChargeOrderPayBody": {
  9520. "type": "object",
  9521. "properties": {
  9522. "order_id": {
  9523. "type": "string"
  9524. }
  9525. }
  9526. },
  9527. "v1.ChargeOrderPayResponse": {
  9528. "type": "object",
  9529. "properties": {
  9530. "code": {
  9531. "description": "返回码",
  9532. "type": "integer",
  9533. "format": "int",
  9534. "default": 0
  9535. },
  9536. "message": {
  9537. "description": "消息",
  9538. "type": "string",
  9539. "default": "success"
  9540. }
  9541. }
  9542. },
  9543. "v1.ChargeOrderTicketItem": {
  9544. "type": "object",
  9545. "properties": {
  9546. "amount": {
  9547. "description": "金额 不包含滞纳金",
  9548. "type": "integer"
  9549. },
  9550. "area_used": {
  9551. "description": "面积/用量",
  9552. "type": "number"
  9553. },
  9554. "charge_name": {
  9555. "description": "费用名称",
  9556. "type": "string"
  9557. },
  9558. "charge_type": {
  9559. "description": "费用类型",
  9560. "type": "integer"
  9561. },
  9562. "custom_fee": {
  9563. "description": "自定义费用",
  9564. "type": "integer"
  9565. },
  9566. "end": {
  9567. "type": "string"
  9568. },
  9569. "fix_amount": {
  9570. "description": "固定费用",
  9571. "type": "integer"
  9572. },
  9573. "late_fee": {
  9574. "description": "滞纳金",
  9575. "type": "integer"
  9576. },
  9577. "obj_name": {
  9578. "description": "房屋/车位/车辆",
  9579. "type": "string"
  9580. },
  9581. "obj_type": {
  9582. "description": "1 房屋 2 车位 3 车辆",
  9583. "type": "integer"
  9584. },
  9585. "pay_time": {
  9586. "description": "支付时间",
  9587. "type": "string"
  9588. },
  9589. "start": {
  9590. "description": "收费范围",
  9591. "type": "string"
  9592. },
  9593. "unit_price": {
  9594. "description": "单价",
  9595. "type": "integer"
  9596. }
  9597. }
  9598. },
  9599. "v1.ChargeOrderTicketReply": {
  9600. "type": "object",
  9601. "properties": {
  9602. "comment": {
  9603. "description": "备注",
  9604. "type": "string"
  9605. },
  9606. "list": {
  9607. "description": "账单小票条目",
  9608. "type": "array",
  9609. "items": {
  9610. "$ref": "#/definitions/v1.ChargeOrderTicketItem"
  9611. }
  9612. },
  9613. "should_pay_amount": {
  9614. "description": "应付总金额 包含滞纳金",
  9615. "type": "integer"
  9616. }
  9617. }
  9618. },
  9619. "v1.ChargeOrderTicketResponse": {
  9620. "type": "object",
  9621. "properties": {
  9622. "code": {
  9623. "description": "返回码",
  9624. "type": "integer",
  9625. "format": "int",
  9626. "default": 0
  9627. },
  9628. "data": {
  9629. "type": "object",
  9630. "$ref": "#/definitions/v1.ChargeOrderTicketReply"
  9631. },
  9632. "message": {
  9633. "description": "消息",
  9634. "type": "string",
  9635. "default": "success"
  9636. }
  9637. }
  9638. },
  9639. "v1.ChargePayedBillItem": {
  9640. "type": "object",
  9641. "properties": {
  9642. "amount": {
  9643. "type": "integer"
  9644. },
  9645. "bill_id": {
  9646. "type": "integer"
  9647. },
  9648. "charge_desc": {
  9649. "type": "string"
  9650. },
  9651. "charge_name": {
  9652. "type": "string"
  9653. },
  9654. "charge_type": {
  9655. "type": "integer"
  9656. },
  9657. "current_used": {
  9658. "type": "number"
  9659. },
  9660. "end": {
  9661. "type": "string"
  9662. },
  9663. "last_used": {
  9664. "type": "number"
  9665. },
  9666. "late_fee": {
  9667. "type": "integer"
  9668. },
  9669. "obj_name": {
  9670. "type": "string"
  9671. },
  9672. "obj_type": {
  9673. "type": "integer"
  9674. },
  9675. "pay_time": {
  9676. "type": "string"
  9677. },
  9678. "pay_type": {
  9679. "type": "integer"
  9680. },
  9681. "start": {
  9682. "type": "string"
  9683. }
  9684. }
  9685. },
  9686. "v1.ChargePayedBillListReply": {
  9687. "type": "object",
  9688. "properties": {
  9689. "list": {
  9690. "type": "array",
  9691. "items": {
  9692. "$ref": "#/definitions/v1.ChargePayedBillItem"
  9693. }
  9694. },
  9695. "page": {
  9696. "type": "integer"
  9697. },
  9698. "total": {
  9699. "type": "integer"
  9700. }
  9701. }
  9702. },
  9703. "v1.ChargePayedBillListResponse": {
  9704. "type": "object",
  9705. "properties": {
  9706. "code": {
  9707. "description": "返回码",
  9708. "type": "integer",
  9709. "format": "int",
  9710. "default": 0
  9711. },
  9712. "data": {
  9713. "type": "object",
  9714. "$ref": "#/definitions/v1.ChargePayedBillListReply"
  9715. },
  9716. "message": {
  9717. "description": "消息",
  9718. "type": "string",
  9719. "default": "success"
  9720. }
  9721. }
  9722. },
  9723. "v1.ChargePowerTemplateData": {
  9724. "type": "object",
  9725. "properties": {
  9726. "url": {
  9727. "type": "string"
  9728. }
  9729. }
  9730. },
  9731. "v1.ChargePowerTemplateResponse": {
  9732. "type": "object",
  9733. "properties": {
  9734. "code": {
  9735. "description": "返回码",
  9736. "type": "integer",
  9737. "format": "int",
  9738. "default": 0
  9739. },
  9740. "data": {
  9741. "type": "object",
  9742. "$ref": "#/definitions/v1.ChargePowerTemplateData"
  9743. },
  9744. "message": {
  9745. "description": "消息",
  9746. "type": "string",
  9747. "default": "success"
  9748. }
  9749. }
  9750. },
  9751. "v1.ChargePrePayBody": {
  9752. "type": "object",
  9753. "properties": {
  9754. "bind_id": {
  9755. "type": "integer"
  9756. },
  9757. "comment": {
  9758. "description": "备注",
  9759. "type": "string"
  9760. },
  9761. "months": {
  9762. "type": "integer"
  9763. },
  9764. "pay_amount": {
  9765. "description": "实缴金额",
  9766. "type": "integer"
  9767. },
  9768. "pay_type": {
  9769. "description": "1 现金 2 微信 3 支付宝 4 pos 5 转账",
  9770. "type": "integer"
  9771. },
  9772. "should_pay_amount": {
  9773. "description": "应缴金额",
  9774. "type": "integer"
  9775. }
  9776. }
  9777. },
  9778. "v1.ChargePrePayInfoReply": {
  9779. "type": "object",
  9780. "properties": {
  9781. "charge_desc": {
  9782. "type": "string"
  9783. },
  9784. "charge_name": {
  9785. "type": "string"
  9786. },
  9787. "charge_type": {
  9788. "type": "integer"
  9789. },
  9790. "should_pay_amount": {
  9791. "type": "integer"
  9792. }
  9793. }
  9794. },
  9795. "v1.ChargePrePayInfoResponse": {
  9796. "type": "object",
  9797. "properties": {
  9798. "code": {
  9799. "description": "返回码",
  9800. "type": "integer",
  9801. "format": "int",
  9802. "default": 0
  9803. },
  9804. "data": {
  9805. "type": "object",
  9806. "$ref": "#/definitions/v1.ChargePrePayInfoReply"
  9807. },
  9808. "message": {
  9809. "description": "消息",
  9810. "type": "string",
  9811. "default": "success"
  9812. }
  9813. }
  9814. },
  9815. "v1.ChargePrePayReply": {
  9816. "type": "object",
  9817. "properties": {
  9818. "order_id": {
  9819. "type": "string"
  9820. }
  9821. }
  9822. },
  9823. "v1.ChargePrePayResponse": {
  9824. "type": "object",
  9825. "properties": {
  9826. "code": {
  9827. "description": "返回码",
  9828. "type": "integer",
  9829. "format": "int",
  9830. "default": 0
  9831. },
  9832. "data": {
  9833. "type": "object",
  9834. "$ref": "#/definitions/v1.ChargePrePayReply"
  9835. },
  9836. "message": {
  9837. "description": "消息",
  9838. "type": "string",
  9839. "default": "success"
  9840. }
  9841. }
  9842. },
  9843. "v1.ChargeRecoverBillBody": {
  9844. "type": "object",
  9845. "properties": {
  9846. "bill_id": {
  9847. "type": "integer"
  9848. }
  9849. }
  9850. },
  9851. "v1.ChargeRecoverBillResponse": {
  9852. "type": "object",
  9853. "properties": {
  9854. "code": {
  9855. "description": "返回码",
  9856. "type": "integer",
  9857. "format": "int",
  9858. "default": 0
  9859. },
  9860. "message": {
  9861. "description": "消息",
  9862. "type": "string",
  9863. "default": "success"
  9864. }
  9865. }
  9866. },
  9867. "v1.ChargeSpaceBindedListReply": {
  9868. "type": "object",
  9869. "properties": {
  9870. "list": {
  9871. "type": "array",
  9872. "items": {
  9873. "$ref": "#/definitions/v1.ChargeSpaceData"
  9874. }
  9875. },
  9876. "page": {
  9877. "type": "integer"
  9878. },
  9879. "total": {
  9880. "type": "integer"
  9881. }
  9882. }
  9883. },
  9884. "v1.ChargeSpaceBindedListResponse": {
  9885. "type": "object",
  9886. "properties": {
  9887. "code": {
  9888. "description": "返回码",
  9889. "type": "integer",
  9890. "format": "int",
  9891. "default": 0
  9892. },
  9893. "data": {
  9894. "type": "object",
  9895. "$ref": "#/definitions/v1.ChargeSpaceBindedListReply"
  9896. },
  9897. "message": {
  9898. "description": "消息",
  9899. "type": "string",
  9900. "default": "success"
  9901. }
  9902. }
  9903. },
  9904. "v1.ChargeSpaceData": {
  9905. "type": "object",
  9906. "properties": {
  9907. "park_name": {
  9908. "type": "string"
  9909. },
  9910. "park_number": {
  9911. "type": "string"
  9912. },
  9913. "space_area": {
  9914. "type": "number"
  9915. },
  9916. "space_id": {
  9917. "type": "integer"
  9918. },
  9919. "space_number": {
  9920. "type": "string"
  9921. },
  9922. "space_status": {
  9923. "type": "integer"
  9924. },
  9925. "space_type": {
  9926. "type": "integer"
  9927. },
  9928. "start": {
  9929. "type": "integer"
  9930. }
  9931. }
  9932. },
  9933. "v1.ChargeSpaceGroupItem": {
  9934. "type": "object",
  9935. "properties": {
  9936. "has_unpay_bill": {
  9937. "description": "是否有欠费账单",
  9938. "type": "boolean"
  9939. },
  9940. "park_name": {
  9941. "type": "string"
  9942. },
  9943. "park_number": {
  9944. "type": "string"
  9945. },
  9946. "space_area": {
  9947. "type": "number"
  9948. },
  9949. "space_bind_id": {
  9950. "description": "车位与费用的绑定id",
  9951. "type": "integer"
  9952. },
  9953. "space_id": {
  9954. "type": "integer"
  9955. },
  9956. "space_number": {
  9957. "type": "string"
  9958. },
  9959. "space_status": {
  9960. "type": "integer"
  9961. },
  9962. "space_type": {
  9963. "type": "integer"
  9964. }
  9965. }
  9966. },
  9967. "v1.ChargeSpaceGroupReply": {
  9968. "type": "object",
  9969. "properties": {
  9970. "list": {
  9971. "type": "array",
  9972. "items": {
  9973. "$ref": "#/definitions/v1.ChargeSpaceGroupItem"
  9974. }
  9975. },
  9976. "page": {
  9977. "type": "integer"
  9978. },
  9979. "total": {
  9980. "type": "integer"
  9981. }
  9982. }
  9983. },
  9984. "v1.ChargeSpaceGroupResponse": {
  9985. "type": "object",
  9986. "properties": {
  9987. "code": {
  9988. "description": "返回码",
  9989. "type": "integer",
  9990. "format": "int",
  9991. "default": 0
  9992. },
  9993. "data": {
  9994. "type": "object",
  9995. "$ref": "#/definitions/v1.ChargeSpaceGroupReply"
  9996. },
  9997. "message": {
  9998. "description": "消息",
  9999. "type": "string",
  10000. "default": "success"
  10001. }
  10002. }
  10003. },
  10004. "v1.ChargeSpaceNotBindListReply": {
  10005. "type": "object",
  10006. "properties": {
  10007. "list": {
  10008. "type": "array",
  10009. "items": {
  10010. "$ref": "#/definitions/v1.ChargeSpaceData"
  10011. }
  10012. },
  10013. "page": {
  10014. "type": "integer"
  10015. },
  10016. "total": {
  10017. "type": "integer"
  10018. }
  10019. }
  10020. },
  10021. "v1.ChargeSpaceNotBindListResponse": {
  10022. "type": "object",
  10023. "properties": {
  10024. "code": {
  10025. "description": "返回码",
  10026. "type": "integer",
  10027. "format": "int",
  10028. "default": 0
  10029. },
  10030. "data": {
  10031. "type": "object",
  10032. "$ref": "#/definitions/v1.ChargeSpaceNotBindListReply"
  10033. },
  10034. "message": {
  10035. "description": "消息",
  10036. "type": "string",
  10037. "default": "success"
  10038. }
  10039. }
  10040. },
  10041. "v1.ChargeTimeSetBody": {
  10042. "type": "object",
  10043. "properties": {
  10044. "bind_id": {
  10045. "type": "integer"
  10046. },
  10047. "end": {
  10048. "description": "仅车辆费用可以设结束时间",
  10049. "type": "integer"
  10050. },
  10051. "start": {
  10052. "type": "integer"
  10053. }
  10054. }
  10055. },
  10056. "v1.ChargeTimeSetResponse": {
  10057. "type": "object",
  10058. "properties": {
  10059. "code": {
  10060. "description": "返回码",
  10061. "type": "integer",
  10062. "format": "int",
  10063. "default": 0
  10064. },
  10065. "message": {
  10066. "description": "消息",
  10067. "type": "string",
  10068. "default": "success"
  10069. }
  10070. }
  10071. },
  10072. "v1.ChargeUnbindBody": {
  10073. "type": "object",
  10074. "properties": {
  10075. "charge_id": {
  10076. "type": "integer"
  10077. },
  10078. "obj_id": {
  10079. "type": "integer"
  10080. }
  10081. }
  10082. },
  10083. "v1.ChargeUnbindResponse": {
  10084. "type": "object",
  10085. "properties": {
  10086. "code": {
  10087. "description": "返回码",
  10088. "type": "integer",
  10089. "format": "int",
  10090. "default": 0
  10091. },
  10092. "message": {
  10093. "description": "消息",
  10094. "type": "string",
  10095. "default": "success"
  10096. }
  10097. }
  10098. },
  10099. "v1.ChargeUnpayItem": {
  10100. "type": "object",
  10101. "properties": {
  10102. "bill_count": {
  10103. "type": "integer"
  10104. },
  10105. "bind_id": {
  10106. "type": "integer"
  10107. },
  10108. "charge_name": {
  10109. "type": "string"
  10110. },
  10111. "charge_time_type": {
  10112. "type": "integer"
  10113. },
  10114. "charge_type": {
  10115. "type": "integer"
  10116. },
  10117. "unpay_amount": {
  10118. "type": "integer"
  10119. }
  10120. }
  10121. },
  10122. "v1.ChargeUnpayListReply": {
  10123. "type": "object",
  10124. "properties": {
  10125. "list": {
  10126. "type": "array",
  10127. "items": {
  10128. "$ref": "#/definitions/v1.ChargeUnpayItem"
  10129. }
  10130. },
  10131. "page": {
  10132. "type": "integer"
  10133. },
  10134. "total": {
  10135. "type": "integer"
  10136. }
  10137. }
  10138. },
  10139. "v1.ChargeUnpayListResponse": {
  10140. "type": "object",
  10141. "properties": {
  10142. "code": {
  10143. "description": "返回码",
  10144. "type": "integer",
  10145. "format": "int",
  10146. "default": 0
  10147. },
  10148. "data": {
  10149. "type": "object",
  10150. "$ref": "#/definitions/v1.ChargeUnpayListReply"
  10151. },
  10152. "message": {
  10153. "description": "消息",
  10154. "type": "string",
  10155. "default": "success"
  10156. }
  10157. }
  10158. },
  10159. "v1.ChargeUrgeBody": {
  10160. "type": "object",
  10161. "properties": {
  10162. "obj_id": {
  10163. "type": "integer"
  10164. },
  10165. "obj_type": {
  10166. "type": "integer"
  10167. }
  10168. }
  10169. },
  10170. "v1.ChargeUrgeInfoReply": {
  10171. "type": "object",
  10172. "properties": {
  10173. "id": {
  10174. "type": "integer"
  10175. },
  10176. "urge_day": {
  10177. "type": "integer"
  10178. },
  10179. "urge_msg_type": {
  10180. "type": "integer"
  10181. },
  10182. "urge_target": {
  10183. "type": "integer"
  10184. }
  10185. }
  10186. },
  10187. "v1.ChargeUrgeInfoResponse": {
  10188. "type": "object",
  10189. "properties": {
  10190. "code": {
  10191. "description": "返回码",
  10192. "type": "integer",
  10193. "format": "int",
  10194. "default": 0
  10195. },
  10196. "data": {
  10197. "type": "object",
  10198. "$ref": "#/definitions/v1.ChargeUrgeInfoReply"
  10199. },
  10200. "message": {
  10201. "description": "消息",
  10202. "type": "string",
  10203. "default": "success"
  10204. }
  10205. }
  10206. },
  10207. "v1.ChargeUrgeResponse": {
  10208. "type": "object",
  10209. "properties": {
  10210. "code": {
  10211. "description": "返回码",
  10212. "type": "integer",
  10213. "format": "int",
  10214. "default": 0
  10215. },
  10216. "message": {
  10217. "description": "消息",
  10218. "type": "string",
  10219. "default": "success"
  10220. }
  10221. }
  10222. },
  10223. "v1.ChargeUrgeSetBody": {
  10224. "type": "object",
  10225. "properties": {
  10226. "id": {
  10227. "description": "催缴信息返回的id为0时填0",
  10228. "type": "integer"
  10229. },
  10230. "urge_day": {
  10231. "type": "integer"
  10232. },
  10233. "urge_msg_type": {
  10234. "description": "1 仅短信 2 仅微信 3 短信和微信",
  10235. "type": "integer"
  10236. },
  10237. "urge_target": {
  10238. "description": "1 仅业主 2 业主和家人 3 业主家人租客",
  10239. "type": "integer"
  10240. }
  10241. }
  10242. },
  10243. "v1.ChargeUrgeSetResponse": {
  10244. "type": "object",
  10245. "properties": {
  10246. "code": {
  10247. "description": "返回码",
  10248. "type": "integer",
  10249. "format": "int",
  10250. "default": 0
  10251. },
  10252. "message": {
  10253. "description": "消息",
  10254. "type": "string",
  10255. "default": "success"
  10256. }
  10257. }
  10258. },
  10259. "v1.ChargeVehicleBindedListReply": {
  10260. "type": "object",
  10261. "properties": {
  10262. "list": {
  10263. "type": "array",
  10264. "items": {
  10265. "$ref": "#/definitions/v1.ChargeVehicleData"
  10266. }
  10267. },
  10268. "page": {
  10269. "type": "integer"
  10270. },
  10271. "total": {
  10272. "type": "integer"
  10273. }
  10274. }
  10275. },
  10276. "v1.ChargeVehicleBindedListResponse": {
  10277. "type": "object",
  10278. "properties": {
  10279. "code": {
  10280. "description": "返回码",
  10281. "type": "integer",
  10282. "format": "int",
  10283. "default": 0
  10284. },
  10285. "data": {
  10286. "type": "object",
  10287. "$ref": "#/definitions/v1.ChargeVehicleBindedListReply"
  10288. },
  10289. "message": {
  10290. "description": "消息",
  10291. "type": "string",
  10292. "default": "success"
  10293. }
  10294. }
  10295. },
  10296. "v1.ChargeVehicleData": {
  10297. "type": "object",
  10298. "properties": {
  10299. "brand": {
  10300. "type": "string"
  10301. },
  10302. "displacement": {
  10303. "type": "string"
  10304. },
  10305. "end": {
  10306. "type": "integer"
  10307. },
  10308. "plate_no": {
  10309. "type": "string"
  10310. },
  10311. "seat": {
  10312. "type": "integer"
  10313. },
  10314. "start": {
  10315. "type": "integer"
  10316. },
  10317. "vehicle_id": {
  10318. "type": "integer"
  10319. },
  10320. "vehicle_type": {
  10321. "type": "integer"
  10322. }
  10323. }
  10324. },
  10325. "v1.ChargeVehicleGroupItem": {
  10326. "type": "object",
  10327. "properties": {
  10328. "brand": {
  10329. "type": "string"
  10330. },
  10331. "displacement": {
  10332. "type": "string"
  10333. },
  10334. "plate_no": {
  10335. "type": "string"
  10336. },
  10337. "seat": {
  10338. "type": "integer"
  10339. },
  10340. "vehicle_id": {
  10341. "type": "integer"
  10342. },
  10343. "vehicle_type": {
  10344. "type": "integer"
  10345. }
  10346. }
  10347. },
  10348. "v1.ChargeVehicleGroupReply": {
  10349. "type": "object",
  10350. "properties": {
  10351. "list": {
  10352. "type": "array",
  10353. "items": {
  10354. "$ref": "#/definitions/v1.ChargeVehicleGroupItem"
  10355. }
  10356. },
  10357. "page": {
  10358. "type": "integer"
  10359. },
  10360. "total": {
  10361. "type": "integer"
  10362. }
  10363. }
  10364. },
  10365. "v1.ChargeVehicleGroupResponse": {
  10366. "type": "object",
  10367. "properties": {
  10368. "code": {
  10369. "description": "返回码",
  10370. "type": "integer",
  10371. "format": "int",
  10372. "default": 0
  10373. },
  10374. "data": {
  10375. "type": "object",
  10376. "$ref": "#/definitions/v1.ChargeVehicleGroupReply"
  10377. },
  10378. "message": {
  10379. "description": "消息",
  10380. "type": "string",
  10381. "default": "success"
  10382. }
  10383. }
  10384. },
  10385. "v1.ChargeVehicleNotBindListReply": {
  10386. "type": "object",
  10387. "properties": {
  10388. "list": {
  10389. "type": "array",
  10390. "items": {
  10391. "$ref": "#/definitions/v1.ChargeVehicleData"
  10392. }
  10393. },
  10394. "page": {
  10395. "type": "integer"
  10396. },
  10397. "total": {
  10398. "type": "integer"
  10399. }
  10400. }
  10401. },
  10402. "v1.ChargeVehicleNotBindListResponse": {
  10403. "type": "object",
  10404. "properties": {
  10405. "code": {
  10406. "description": "返回码",
  10407. "type": "integer",
  10408. "format": "int",
  10409. "default": 0
  10410. },
  10411. "data": {
  10412. "type": "object",
  10413. "$ref": "#/definitions/v1.ChargeVehicleNotBindListReply"
  10414. },
  10415. "message": {
  10416. "description": "消息",
  10417. "type": "string",
  10418. "default": "success"
  10419. }
  10420. }
  10421. },
  10422. "v1.ChooseUserResponse": {
  10423. "type": "object",
  10424. "properties": {
  10425. "code": {
  10426. "description": "返回码",
  10427. "type": "integer",
  10428. "format": "int",
  10429. "default": 0
  10430. },
  10431. "data": {
  10432. "type": "object",
  10433. "$ref": "#/definitions/v1.LoginData"
  10434. },
  10435. "message": {
  10436. "description": "消息",
  10437. "type": "string",
  10438. "default": "success"
  10439. }
  10440. }
  10441. },
  10442. "v1.DepartmentAddBody": {
  10443. "type": "object",
  10444. "properties": {
  10445. "department_name": {
  10446. "type": "string"
  10447. },
  10448. "desc": {
  10449. "type": "string"
  10450. }
  10451. }
  10452. },
  10453. "v1.DepartmentAddReply": {
  10454. "type": "object",
  10455. "properties": {
  10456. "id": {
  10457. "type": "integer"
  10458. }
  10459. }
  10460. },
  10461. "v1.DepartmentAddResponse": {
  10462. "type": "object",
  10463. "properties": {
  10464. "code": {
  10465. "description": "返回码",
  10466. "type": "integer",
  10467. "format": "int",
  10468. "default": 0
  10469. },
  10470. "data": {
  10471. "type": "object",
  10472. "$ref": "#/definitions/v1.DepartmentAddReply"
  10473. },
  10474. "message": {
  10475. "description": "消息",
  10476. "type": "string",
  10477. "default": "success"
  10478. }
  10479. }
  10480. },
  10481. "v1.DepartmentDelResponse": {
  10482. "type": "object",
  10483. "properties": {
  10484. "code": {
  10485. "description": "返回码",
  10486. "type": "integer",
  10487. "format": "int",
  10488. "default": 0
  10489. },
  10490. "message": {
  10491. "description": "消息",
  10492. "type": "string",
  10493. "default": "success"
  10494. }
  10495. }
  10496. },
  10497. "v1.DepartmentItem": {
  10498. "type": "object",
  10499. "properties": {
  10500. "created_at": {
  10501. "type": "string"
  10502. },
  10503. "department_name": {
  10504. "type": "string"
  10505. },
  10506. "desc": {
  10507. "type": "string"
  10508. },
  10509. "id": {
  10510. "type": "integer"
  10511. }
  10512. }
  10513. },
  10514. "v1.DepartmentListReply": {
  10515. "type": "object",
  10516. "properties": {
  10517. "list": {
  10518. "type": "array",
  10519. "items": {
  10520. "$ref": "#/definitions/v1.DepartmentItem"
  10521. }
  10522. },
  10523. "page": {
  10524. "type": "integer"
  10525. },
  10526. "total": {
  10527. "type": "integer"
  10528. }
  10529. }
  10530. },
  10531. "v1.DepartmentListResponse": {
  10532. "type": "object",
  10533. "properties": {
  10534. "code": {
  10535. "description": "返回码",
  10536. "type": "integer",
  10537. "format": "int",
  10538. "default": 0
  10539. },
  10540. "data": {
  10541. "type": "object",
  10542. "$ref": "#/definitions/v1.DepartmentListReply"
  10543. },
  10544. "message": {
  10545. "description": "消息",
  10546. "type": "string",
  10547. "default": "success"
  10548. }
  10549. }
  10550. },
  10551. "v1.DepartmentUpdateBody": {
  10552. "type": "object",
  10553. "properties": {
  10554. "department_name": {
  10555. "type": "string"
  10556. },
  10557. "desc": {
  10558. "type": "string"
  10559. },
  10560. "id": {
  10561. "type": "integer"
  10562. }
  10563. }
  10564. },
  10565. "v1.DepartmentUpdateResponse": {
  10566. "type": "object",
  10567. "properties": {
  10568. "code": {
  10569. "description": "返回码",
  10570. "type": "integer",
  10571. "format": "int",
  10572. "default": 0
  10573. },
  10574. "message": {
  10575. "description": "消息",
  10576. "type": "string",
  10577. "default": "success"
  10578. }
  10579. }
  10580. },
  10581. "v1.EventAddBody": {
  10582. "type": "object",
  10583. "properties": {
  10584. "addr": {
  10585. "description": "活动地址",
  10586. "type": "string"
  10587. },
  10588. "content": {
  10589. "description": "内容",
  10590. "type": "string"
  10591. },
  10592. "end": {
  10593. "description": "活动结束时间",
  10594. "type": "integer"
  10595. },
  10596. "fee": {
  10597. "description": "报名费用",
  10598. "type": "integer"
  10599. },
  10600. "people_limit": {
  10601. "description": "人数限制",
  10602. "type": "integer"
  10603. },
  10604. "pic": {
  10605. "description": "图片",
  10606. "type": "array",
  10607. "items": {
  10608. "type": "string"
  10609. }
  10610. },
  10611. "sign_up_end": {
  10612. "description": "报名截止时间",
  10613. "type": "integer"
  10614. },
  10615. "start": {
  10616. "description": "活动开始时间",
  10617. "type": "integer"
  10618. },
  10619. "title": {
  10620. "type": "string"
  10621. }
  10622. }
  10623. },
  10624. "v1.EventAddReply": {
  10625. "type": "object",
  10626. "properties": {
  10627. "id": {
  10628. "type": "integer"
  10629. }
  10630. }
  10631. },
  10632. "v1.EventAddResponse": {
  10633. "type": "object",
  10634. "properties": {
  10635. "code": {
  10636. "description": "返回码",
  10637. "type": "integer",
  10638. "format": "int",
  10639. "default": 0
  10640. },
  10641. "data": {
  10642. "type": "object",
  10643. "$ref": "#/definitions/v1.EventAddReply"
  10644. },
  10645. "message": {
  10646. "description": "消息",
  10647. "type": "string",
  10648. "default": "success"
  10649. }
  10650. }
  10651. },
  10652. "v1.EventDelResponse": {
  10653. "type": "object",
  10654. "properties": {
  10655. "code": {
  10656. "description": "返回码",
  10657. "type": "integer",
  10658. "format": "int",
  10659. "default": 0
  10660. },
  10661. "message": {
  10662. "description": "消息",
  10663. "type": "string",
  10664. "default": "success"
  10665. }
  10666. }
  10667. },
  10668. "v1.EventItem": {
  10669. "type": "object",
  10670. "properties": {
  10671. "addr": {
  10672. "description": "活动地址",
  10673. "type": "string"
  10674. },
  10675. "content": {
  10676. "description": "内容",
  10677. "type": "string"
  10678. },
  10679. "created_at": {
  10680. "type": "string"
  10681. },
  10682. "end": {
  10683. "description": "活动结束时间",
  10684. "type": "integer"
  10685. },
  10686. "fee": {
  10687. "description": "报名费用",
  10688. "type": "integer"
  10689. },
  10690. "id": {
  10691. "type": "integer"
  10692. },
  10693. "people_count": {
  10694. "description": "已报名人数",
  10695. "type": "integer"
  10696. },
  10697. "people_limit": {
  10698. "description": "人数限制",
  10699. "type": "integer"
  10700. },
  10701. "pic": {
  10702. "description": "图片",
  10703. "type": "array",
  10704. "items": {
  10705. "type": "string"
  10706. }
  10707. },
  10708. "sign": {
  10709. "description": "物业端不管该字段,小程序查询时该字段有效 是否报名",
  10710. "type": "boolean"
  10711. },
  10712. "sign_up_end": {
  10713. "description": "报名截止时间",
  10714. "type": "integer"
  10715. },
  10716. "start": {
  10717. "description": "活动开始时间",
  10718. "type": "integer"
  10719. },
  10720. "status": {
  10721. "description": "1 报名进行中 2 报名已截止",
  10722. "type": "integer"
  10723. },
  10724. "title": {
  10725. "description": "标题",
  10726. "type": "string"
  10727. }
  10728. }
  10729. },
  10730. "v1.EventListReply": {
  10731. "type": "object",
  10732. "properties": {
  10733. "list": {
  10734. "type": "array",
  10735. "items": {
  10736. "$ref": "#/definitions/v1.EventItem"
  10737. }
  10738. },
  10739. "page": {
  10740. "type": "integer"
  10741. },
  10742. "total": {
  10743. "type": "integer"
  10744. }
  10745. }
  10746. },
  10747. "v1.EventListResponse": {
  10748. "type": "object",
  10749. "properties": {
  10750. "code": {
  10751. "description": "返回码",
  10752. "type": "integer",
  10753. "format": "int",
  10754. "default": 0
  10755. },
  10756. "data": {
  10757. "type": "object",
  10758. "$ref": "#/definitions/v1.EventListReply"
  10759. },
  10760. "message": {
  10761. "description": "消息",
  10762. "type": "string",
  10763. "default": "success"
  10764. }
  10765. }
  10766. },
  10767. "v1.EventSignDelResponse": {
  10768. "type": "object",
  10769. "properties": {
  10770. "code": {
  10771. "description": "返回码",
  10772. "type": "integer",
  10773. "format": "int",
  10774. "default": 0
  10775. },
  10776. "message": {
  10777. "description": "消息",
  10778. "type": "string",
  10779. "default": "success"
  10780. }
  10781. }
  10782. },
  10783. "v1.EventSignItem": {
  10784. "type": "object",
  10785. "properties": {
  10786. "comment": {
  10787. "type": "string"
  10788. },
  10789. "count": {
  10790. "description": "人数",
  10791. "type": "integer"
  10792. },
  10793. "event_id": {
  10794. "type": "integer"
  10795. },
  10796. "id": {
  10797. "type": "integer"
  10798. },
  10799. "name": {
  10800. "type": "string"
  10801. },
  10802. "phone": {
  10803. "type": "string"
  10804. },
  10805. "sign_time": {
  10806. "type": "string"
  10807. }
  10808. }
  10809. },
  10810. "v1.EventSignListReply": {
  10811. "type": "object",
  10812. "properties": {
  10813. "list": {
  10814. "type": "array",
  10815. "items": {
  10816. "$ref": "#/definitions/v1.EventSignItem"
  10817. }
  10818. },
  10819. "page": {
  10820. "type": "integer"
  10821. },
  10822. "total": {
  10823. "type": "integer"
  10824. }
  10825. }
  10826. },
  10827. "v1.EventSignListResponse": {
  10828. "type": "object",
  10829. "properties": {
  10830. "code": {
  10831. "description": "返回码",
  10832. "type": "integer",
  10833. "format": "int",
  10834. "default": 0
  10835. },
  10836. "data": {
  10837. "type": "object",
  10838. "$ref": "#/definitions/v1.EventSignListReply"
  10839. },
  10840. "message": {
  10841. "description": "消息",
  10842. "type": "string",
  10843. "default": "success"
  10844. }
  10845. }
  10846. },
  10847. "v1.EventUpdateBody": {
  10848. "type": "object",
  10849. "properties": {
  10850. "addr": {
  10851. "description": "活动地址",
  10852. "type": "string"
  10853. },
  10854. "content": {
  10855. "description": "内容",
  10856. "type": "string"
  10857. },
  10858. "end": {
  10859. "description": "活动结束时间",
  10860. "type": "integer"
  10861. },
  10862. "fee": {
  10863. "description": "报名费用",
  10864. "type": "integer"
  10865. },
  10866. "id": {
  10867. "type": "integer"
  10868. },
  10869. "people_limit": {
  10870. "description": "人数限制",
  10871. "type": "integer"
  10872. },
  10873. "pic": {
  10874. "description": "图片",
  10875. "type": "array",
  10876. "items": {
  10877. "type": "string"
  10878. }
  10879. },
  10880. "sign_up_end": {
  10881. "description": "报名截止时间",
  10882. "type": "integer"
  10883. },
  10884. "start": {
  10885. "description": "活动开始时间",
  10886. "type": "integer"
  10887. },
  10888. "title": {
  10889. "type": "string"
  10890. }
  10891. }
  10892. },
  10893. "v1.EventUpdateResponse": {
  10894. "type": "object",
  10895. "properties": {
  10896. "code": {
  10897. "description": "返回码",
  10898. "type": "integer",
  10899. "format": "int",
  10900. "default": 0
  10901. },
  10902. "message": {
  10903. "description": "消息",
  10904. "type": "string",
  10905. "default": "success"
  10906. }
  10907. }
  10908. },
  10909. "v1.GardenHouseRentListReply": {
  10910. "type": "object",
  10911. "properties": {
  10912. "list": {
  10913. "type": "array",
  10914. "items": {
  10915. "$ref": "#/definitions/v1.HouseRentItem"
  10916. }
  10917. },
  10918. "page": {
  10919. "type": "integer"
  10920. },
  10921. "total": {
  10922. "type": "integer"
  10923. }
  10924. }
  10925. },
  10926. "v1.GardenInfoResponse": {
  10927. "type": "object",
  10928. "properties": {
  10929. "code": {
  10930. "description": "返回码",
  10931. "type": "integer",
  10932. "format": "int",
  10933. "default": 0
  10934. },
  10935. "data": {
  10936. "type": "object",
  10937. "$ref": "#/definitions/v1.GardenItem"
  10938. },
  10939. "message": {
  10940. "description": "消息",
  10941. "type": "string",
  10942. "default": "success"
  10943. }
  10944. }
  10945. },
  10946. "v1.GardenItem": {
  10947. "type": "object",
  10948. "properties": {
  10949. "appendix": {
  10950. "type": "array",
  10951. "items": {
  10952. "type": "string"
  10953. }
  10954. },
  10955. "area": {
  10956. "description": "区",
  10957. "type": "string"
  10958. },
  10959. "area_code": {
  10960. "type": "string"
  10961. },
  10962. "cid": {
  10963. "description": "物业公司id",
  10964. "type": "integer"
  10965. },
  10966. "city": {
  10967. "description": "市",
  10968. "type": "string"
  10969. },
  10970. "city_code": {
  10971. "type": "string"
  10972. },
  10973. "committee": {
  10974. "description": "社区",
  10975. "type": "string"
  10976. },
  10977. "committee_code": {
  10978. "type": "string"
  10979. },
  10980. "feedback": {
  10981. "type": "string"
  10982. },
  10983. "garden_addr": {
  10984. "description": "小区地址",
  10985. "type": "string"
  10986. },
  10987. "garden_desc": {
  10988. "type": "string"
  10989. },
  10990. "garden_name": {
  10991. "description": "小区名字",
  10992. "type": "string"
  10993. },
  10994. "garden_pic": {
  10995. "type": "string"
  10996. },
  10997. "id": {
  10998. "type": "integer"
  10999. },
  11000. "in_use": {
  11001. "type": "boolean"
  11002. },
  11003. "lat": {
  11004. "description": "纬度",
  11005. "type": "number"
  11006. },
  11007. "lnt": {
  11008. "description": "经度",
  11009. "type": "number"
  11010. },
  11011. "property_person": {
  11012. "description": "物业联系人",
  11013. "type": "string"
  11014. },
  11015. "property_phone": {
  11016. "description": "物业联系人手机号",
  11017. "type": "string"
  11018. },
  11019. "province": {
  11020. "description": "省",
  11021. "type": "string"
  11022. },
  11023. "province_code": {
  11024. "type": "string"
  11025. },
  11026. "status": {
  11027. "type": "integer"
  11028. },
  11029. "street": {
  11030. "description": "街道",
  11031. "type": "string"
  11032. },
  11033. "street_code": {
  11034. "type": "string"
  11035. }
  11036. }
  11037. },
  11038. "v1.GardenKeyInfoChangeBody": {
  11039. "type": "object",
  11040. "properties": {
  11041. "area": {
  11042. "description": "区",
  11043. "type": "string"
  11044. },
  11045. "area_code": {
  11046. "type": "string"
  11047. },
  11048. "city": {
  11049. "description": "市",
  11050. "type": "string"
  11051. },
  11052. "city_code": {
  11053. "type": "string"
  11054. },
  11055. "committee": {
  11056. "description": "社区",
  11057. "type": "string"
  11058. },
  11059. "committee_code": {
  11060. "type": "string"
  11061. },
  11062. "garden_name": {
  11063. "description": "小区名字",
  11064. "type": "string"
  11065. },
  11066. "province": {
  11067. "description": "省",
  11068. "type": "string"
  11069. },
  11070. "province_code": {
  11071. "type": "string"
  11072. },
  11073. "street": {
  11074. "description": "街道",
  11075. "type": "string"
  11076. },
  11077. "street_code": {
  11078. "type": "string"
  11079. }
  11080. }
  11081. },
  11082. "v1.GardenKeyInfoChangeListReply": {
  11083. "type": "object",
  11084. "properties": {
  11085. "list": {
  11086. "type": "array",
  11087. "items": {
  11088. "$ref": "#/definitions/v1.GardenKeyInfoData"
  11089. }
  11090. },
  11091. "page": {
  11092. "type": "integer"
  11093. },
  11094. "total": {
  11095. "type": "integer"
  11096. }
  11097. }
  11098. },
  11099. "v1.GardenKeyInfoChangeListResponse": {
  11100. "type": "object",
  11101. "properties": {
  11102. "code": {
  11103. "description": "返回码",
  11104. "type": "integer",
  11105. "format": "int",
  11106. "default": 0
  11107. },
  11108. "data": {
  11109. "type": "object",
  11110. "$ref": "#/definitions/v1.GardenKeyInfoChangeListReply"
  11111. },
  11112. "message": {
  11113. "description": "消息",
  11114. "type": "string",
  11115. "default": "success"
  11116. }
  11117. }
  11118. },
  11119. "v1.GardenKeyInfoChangeResponse": {
  11120. "type": "object",
  11121. "properties": {
  11122. "code": {
  11123. "description": "返回码",
  11124. "type": "integer",
  11125. "format": "int",
  11126. "default": 0
  11127. },
  11128. "message": {
  11129. "description": "消息",
  11130. "type": "string",
  11131. "default": "success"
  11132. }
  11133. }
  11134. },
  11135. "v1.GardenKeyInfoData": {
  11136. "type": "object",
  11137. "properties": {
  11138. "cid": {
  11139. "type": "integer"
  11140. },
  11141. "feedback": {
  11142. "type": "string"
  11143. },
  11144. "garden_detail": {
  11145. "type": "string"
  11146. },
  11147. "garden_id": {
  11148. "type": "integer"
  11149. },
  11150. "garden_name": {
  11151. "type": "string"
  11152. },
  11153. "id": {
  11154. "type": "integer"
  11155. },
  11156. "list": {
  11157. "type": "array",
  11158. "items": {
  11159. "$ref": "#/definitions/v1.GardenKeyInfoItem"
  11160. }
  11161. },
  11162. "status": {
  11163. "type": "integer"
  11164. }
  11165. }
  11166. },
  11167. "v1.GardenKeyInfoItem": {
  11168. "type": "object",
  11169. "properties": {
  11170. "field_name": {
  11171. "type": "string"
  11172. },
  11173. "field_value_dst": {
  11174. "type": "string"
  11175. },
  11176. "field_value_src": {
  11177. "type": "string"
  11178. }
  11179. }
  11180. },
  11181. "v1.GardenUpdateBody": {
  11182. "type": "object",
  11183. "properties": {
  11184. "garden_addr": {
  11185. "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小区地址",
  11186. "type": "string"
  11187. },
  11188. "garden_desc": {
  11189. "description": "小区描述",
  11190. "type": "string"
  11191. },
  11192. "garden_pic": {
  11193. "description": "小区形象图片",
  11194. "type": "string"
  11195. },
  11196. "lat": {
  11197. "description": "纬度",
  11198. "type": "number"
  11199. },
  11200. "lnt": {
  11201. "description": "经度",
  11202. "type": "number"
  11203. },
  11204. "property_person": {
  11205. "description": "物业联系人",
  11206. "type": "string"
  11207. },
  11208. "property_phone": {
  11209. "description": "物业联系人手机号",
  11210. "type": "string"
  11211. }
  11212. }
  11213. },
  11214. "v1.GardenUpdateResponse": {
  11215. "type": "object",
  11216. "properties": {
  11217. "code": {
  11218. "description": "返回码",
  11219. "type": "integer",
  11220. "format": "int",
  11221. "default": 0
  11222. },
  11223. "message": {
  11224. "description": "消息",
  11225. "type": "string",
  11226. "default": "success"
  11227. }
  11228. }
  11229. },
  11230. "v1.GateCardInfo": {
  11231. "type": "object",
  11232. "properties": {
  11233. "card_number": {
  11234. "type": "string"
  11235. },
  11236. "card_owner": {
  11237. "type": "string"
  11238. }
  11239. }
  11240. },
  11241. "v1.GateCommandItem": {
  11242. "type": "object",
  11243. "properties": {
  11244. "created_at": {
  11245. "type": "integer"
  11246. },
  11247. "desc": {
  11248. "type": "string"
  11249. },
  11250. "device_id": {
  11251. "type": "string"
  11252. },
  11253. "id": {
  11254. "type": "integer"
  11255. },
  11256. "result_status": {
  11257. "description": "1 成功 2 失败",
  11258. "type": "integer"
  11259. },
  11260. "result_status_desc": {
  11261. "description": "结果描述",
  11262. "type": "string"
  11263. },
  11264. "status": {
  11265. "description": "1 待执行 2 执行中 3 执行完成",
  11266. "type": "integer"
  11267. }
  11268. }
  11269. },
  11270. "v1.GateCommandListReply": {
  11271. "type": "object",
  11272. "properties": {
  11273. "list": {
  11274. "type": "array",
  11275. "items": {
  11276. "$ref": "#/definitions/v1.GateCommandItem"
  11277. }
  11278. },
  11279. "page": {
  11280. "type": "integer"
  11281. },
  11282. "total": {
  11283. "type": "integer"
  11284. }
  11285. }
  11286. },
  11287. "v1.GateCommandListResponse": {
  11288. "type": "object",
  11289. "properties": {
  11290. "code": {
  11291. "description": "返回码",
  11292. "type": "integer",
  11293. "format": "int",
  11294. "default": 0
  11295. },
  11296. "data": {
  11297. "type": "object",
  11298. "$ref": "#/definitions/v1.GateCommandListReply"
  11299. },
  11300. "message": {
  11301. "description": "消息",
  11302. "type": "string",
  11303. "default": "success"
  11304. }
  11305. }
  11306. },
  11307. "v1.GateEnableBody": {
  11308. "type": "object",
  11309. "properties": {
  11310. "device_id": {
  11311. "type": "string"
  11312. },
  11313. "enable": {
  11314. "description": "true 启用 false 停用",
  11315. "type": "boolean"
  11316. }
  11317. }
  11318. },
  11319. "v1.GateEnableResponse": {
  11320. "type": "object",
  11321. "properties": {
  11322. "code": {
  11323. "description": "返回码",
  11324. "type": "integer",
  11325. "format": "int",
  11326. "default": 0
  11327. },
  11328. "message": {
  11329. "description": "消息",
  11330. "type": "string",
  11331. "default": "success"
  11332. }
  11333. }
  11334. },
  11335. "v1.GateItem": {
  11336. "type": "object",
  11337. "properties": {
  11338. "auth_key": {
  11339. "description": "授权key",
  11340. "type": "string"
  11341. },
  11342. "device_id": {
  11343. "description": "设备id",
  11344. "type": "string"
  11345. },
  11346. "device_name": {
  11347. "description": "设备名",
  11348. "type": "string"
  11349. },
  11350. "direction": {
  11351. "description": "1 进场 2 出场 3 进出场",
  11352. "type": "integer"
  11353. },
  11354. "enable": {
  11355. "description": "true 已启用 false 已禁用",
  11356. "type": "boolean"
  11357. },
  11358. "garden_id": {
  11359. "description": "小区id",
  11360. "type": "integer"
  11361. },
  11362. "garden_name": {
  11363. "description": "小区名",
  11364. "type": "string"
  11365. },
  11366. "gate_type": {
  11367. "description": "1 二维码门禁 2 人脸识别门禁",
  11368. "type": "integer"
  11369. },
  11370. "location": {
  11371. "type": "string"
  11372. },
  11373. "manufactor": {
  11374. "description": "厂商",
  11375. "type": "string"
  11376. },
  11377. "out_time": {
  11378. "description": "出库时间",
  11379. "type": "integer"
  11380. },
  11381. "out_user": {
  11382. "description": "出库人",
  11383. "type": "string"
  11384. },
  11385. "protocol": {
  11386. "description": "协议",
  11387. "type": "string"
  11388. },
  11389. "sn": {
  11390. "description": "序列号",
  11391. "type": "string"
  11392. },
  11393. "status": {
  11394. "description": "1 在线 2 离线",
  11395. "type": "integer"
  11396. }
  11397. }
  11398. },
  11399. "v1.GateListReply": {
  11400. "type": "object",
  11401. "properties": {
  11402. "list": {
  11403. "type": "array",
  11404. "items": {
  11405. "$ref": "#/definitions/v1.GateItem"
  11406. }
  11407. },
  11408. "page": {
  11409. "type": "integer"
  11410. },
  11411. "total": {
  11412. "type": "integer"
  11413. }
  11414. }
  11415. },
  11416. "v1.GateListResponse": {
  11417. "type": "object",
  11418. "properties": {
  11419. "code": {
  11420. "description": "返回码",
  11421. "type": "integer",
  11422. "format": "int",
  11423. "default": 0
  11424. },
  11425. "data": {
  11426. "type": "object",
  11427. "$ref": "#/definitions/v1.GateListReply"
  11428. },
  11429. "message": {
  11430. "description": "消息",
  11431. "type": "string",
  11432. "default": "success"
  11433. }
  11434. }
  11435. },
  11436. "v1.GateOpenBody": {
  11437. "type": "object",
  11438. "properties": {
  11439. "device_id": {
  11440. "type": "string"
  11441. }
  11442. }
  11443. },
  11444. "v1.GateOpenResponse": {
  11445. "type": "object",
  11446. "properties": {
  11447. "code": {
  11448. "description": "返回码",
  11449. "type": "integer",
  11450. "format": "int",
  11451. "default": 0
  11452. },
  11453. "message": {
  11454. "description": "消息",
  11455. "type": "string",
  11456. "default": "success"
  11457. }
  11458. }
  11459. },
  11460. "v1.GateRestartBody": {
  11461. "type": "object",
  11462. "properties": {
  11463. "device_id": {
  11464. "type": "string"
  11465. }
  11466. }
  11467. },
  11468. "v1.GateRestartResponse": {
  11469. "type": "object",
  11470. "properties": {
  11471. "code": {
  11472. "description": "返回码",
  11473. "type": "integer",
  11474. "format": "int",
  11475. "default": 0
  11476. },
  11477. "message": {
  11478. "description": "消息",
  11479. "type": "string",
  11480. "default": "success"
  11481. }
  11482. }
  11483. },
  11484. "v1.GateSetBody": {
  11485. "type": "object",
  11486. "properties": {
  11487. "device_id": {
  11488. "type": "string"
  11489. },
  11490. "direction": {
  11491. "description": "1 进场 2 出场 3 进出场",
  11492. "type": "integer"
  11493. },
  11494. "location": {
  11495. "description": "位置",
  11496. "type": "string"
  11497. }
  11498. }
  11499. },
  11500. "v1.GateSetResponse": {
  11501. "type": "object",
  11502. "properties": {
  11503. "code": {
  11504. "description": "返回码",
  11505. "type": "integer",
  11506. "format": "int",
  11507. "default": 0
  11508. },
  11509. "message": {
  11510. "description": "消息",
  11511. "type": "string",
  11512. "default": "success"
  11513. }
  11514. }
  11515. },
  11516. "v1.GateWhiteAddBody": {
  11517. "type": "object",
  11518. "properties": {
  11519. "card_info": {
  11520. "type": "array",
  11521. "items": {
  11522. "$ref": "#/definitions/v1.GateCardInfo"
  11523. }
  11524. },
  11525. "device_id": {
  11526. "type": "string"
  11527. },
  11528. "household_uids": {
  11529. "description": "业主uid和ic卡二选一",
  11530. "type": "array",
  11531. "items": {
  11532. "type": "integer"
  11533. }
  11534. }
  11535. }
  11536. },
  11537. "v1.GateWhiteAddResponse": {
  11538. "type": "object",
  11539. "properties": {
  11540. "code": {
  11541. "description": "返回码",
  11542. "type": "integer",
  11543. "format": "int",
  11544. "default": 0
  11545. },
  11546. "message": {
  11547. "description": "消息",
  11548. "type": "string",
  11549. "default": "success"
  11550. }
  11551. }
  11552. },
  11553. "v1.GateWhiteCardItem": {
  11554. "type": "object",
  11555. "properties": {
  11556. "card_number": {
  11557. "type": "string"
  11558. },
  11559. "card_ower": {
  11560. "type": "string"
  11561. },
  11562. "id": {
  11563. "type": "integer"
  11564. },
  11565. "status": {
  11566. "description": "1.待同步 2 同步中 3 已同步 4 删除中",
  11567. "type": "integer"
  11568. }
  11569. }
  11570. },
  11571. "v1.GateWhiteCardListReply": {
  11572. "type": "object",
  11573. "properties": {
  11574. "list": {
  11575. "type": "array",
  11576. "items": {
  11577. "$ref": "#/definitions/v1.GateWhiteCardItem"
  11578. }
  11579. },
  11580. "page": {
  11581. "type": "integer"
  11582. },
  11583. "total": {
  11584. "type": "integer"
  11585. }
  11586. }
  11587. },
  11588. "v1.GateWhiteCardListResponse": {
  11589. "type": "object",
  11590. "properties": {
  11591. "code": {
  11592. "description": "返回码",
  11593. "type": "integer",
  11594. "format": "int",
  11595. "default": 0
  11596. },
  11597. "data": {
  11598. "type": "object",
  11599. "$ref": "#/definitions/v1.GateWhiteCardListReply"
  11600. },
  11601. "message": {
  11602. "description": "消息",
  11603. "type": "string",
  11604. "default": "success"
  11605. }
  11606. }
  11607. },
  11608. "v1.GateWhiteDelResponse": {
  11609. "type": "object",
  11610. "properties": {
  11611. "code": {
  11612. "description": "返回码",
  11613. "type": "integer",
  11614. "format": "int",
  11615. "default": 0
  11616. },
  11617. "message": {
  11618. "description": "消息",
  11619. "type": "string",
  11620. "default": "success"
  11621. }
  11622. }
  11623. },
  11624. "v1.GateWhiteHouseholdItem": {
  11625. "type": "object",
  11626. "properties": {
  11627. "house_name": {
  11628. "type": "string"
  11629. },
  11630. "household_name": {
  11631. "type": "string"
  11632. },
  11633. "household_uid": {
  11634. "type": "integer"
  11635. },
  11636. "id": {
  11637. "type": "integer"
  11638. },
  11639. "id_number": {
  11640. "type": "string"
  11641. },
  11642. "status": {
  11643. "description": "1.待同步 2 同步中 3 已同步 4 删除中",
  11644. "type": "integer"
  11645. }
  11646. }
  11647. },
  11648. "v1.GateWhiteHouseholdListReply": {
  11649. "type": "object",
  11650. "properties": {
  11651. "list": {
  11652. "type": "array",
  11653. "items": {
  11654. "$ref": "#/definitions/v1.GateWhiteHouseholdItem"
  11655. }
  11656. },
  11657. "page": {
  11658. "type": "integer"
  11659. },
  11660. "total": {
  11661. "type": "integer"
  11662. }
  11663. }
  11664. },
  11665. "v1.GateWhiteHouseholdListResponse": {
  11666. "type": "object",
  11667. "properties": {
  11668. "code": {
  11669. "description": "返回码",
  11670. "type": "integer",
  11671. "format": "int",
  11672. "default": 0
  11673. },
  11674. "data": {
  11675. "type": "object",
  11676. "$ref": "#/definitions/v1.GateWhiteHouseholdListReply"
  11677. },
  11678. "message": {
  11679. "description": "消息",
  11680. "type": "string",
  11681. "default": "success"
  11682. }
  11683. }
  11684. },
  11685. "v1.GateWhiteSyncBody": {
  11686. "type": "object",
  11687. "properties": {
  11688. "device_id": {
  11689. "type": "string"
  11690. }
  11691. }
  11692. },
  11693. "v1.GateWhiteSyncResponse": {
  11694. "type": "object",
  11695. "properties": {
  11696. "code": {
  11697. "description": "返回码",
  11698. "type": "integer",
  11699. "format": "int",
  11700. "default": 0
  11701. },
  11702. "message": {
  11703. "description": "消息",
  11704. "type": "string",
  11705. "default": "success"
  11706. }
  11707. }
  11708. },
  11709. "v1.GetVcodeReply": {
  11710. "type": "object",
  11711. "properties": {
  11712. "vcode": {
  11713. "type": "integer"
  11714. }
  11715. }
  11716. },
  11717. "v1.GetVcodeResponse": {
  11718. "type": "object",
  11719. "properties": {
  11720. "code": {
  11721. "description": "返回码",
  11722. "type": "integer",
  11723. "format": "int",
  11724. "default": 0
  11725. },
  11726. "data": {
  11727. "type": "object",
  11728. "$ref": "#/definitions/v1.GetVcodeReply"
  11729. },
  11730. "message": {
  11731. "description": "消息",
  11732. "type": "string",
  11733. "default": "success"
  11734. }
  11735. }
  11736. },
  11737. "v1.HouseAddBody": {
  11738. "type": "object",
  11739. "properties": {
  11740. "hall_count": {
  11741. "description": "几厅",
  11742. "type": "integer"
  11743. },
  11744. "house_area": {
  11745. "description": "房屋建筑面积",
  11746. "type": "number"
  11747. },
  11748. "house_number": {
  11749. "description": "门牌号",
  11750. "type": "string"
  11751. },
  11752. "house_type": {
  11753. "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅",
  11754. "type": "integer"
  11755. },
  11756. "house_used_area": {
  11757. "description": "房屋使用面积",
  11758. "type": "number"
  11759. },
  11760. "layer": {
  11761. "description": "楼层",
  11762. "type": "integer"
  11763. },
  11764. "room_count": {
  11765. "description": "几室",
  11766. "type": "integer"
  11767. },
  11768. "unit_id": {
  11769. "description": "单元id",
  11770. "type": "integer"
  11771. }
  11772. }
  11773. },
  11774. "v1.HouseAddReply": {
  11775. "type": "object",
  11776. "properties": {
  11777. "id": {
  11778. "type": "integer"
  11779. }
  11780. }
  11781. },
  11782. "v1.HouseAddResponse": {
  11783. "type": "object",
  11784. "properties": {
  11785. "code": {
  11786. "description": "返回码",
  11787. "type": "integer",
  11788. "format": "int",
  11789. "default": 0
  11790. },
  11791. "data": {
  11792. "type": "object",
  11793. "$ref": "#/definitions/v1.HouseAddReply"
  11794. },
  11795. "message": {
  11796. "description": "消息",
  11797. "type": "string",
  11798. "default": "success"
  11799. }
  11800. }
  11801. },
  11802. "v1.HouseDelResponse": {
  11803. "type": "object",
  11804. "properties": {
  11805. "code": {
  11806. "description": "返回码",
  11807. "type": "integer",
  11808. "format": "int",
  11809. "default": 0
  11810. },
  11811. "message": {
  11812. "description": "消息",
  11813. "type": "string",
  11814. "default": "success"
  11815. }
  11816. }
  11817. },
  11818. "v1.HouseItem": {
  11819. "type": "object",
  11820. "properties": {
  11821. "building_id": {
  11822. "type": "integer"
  11823. },
  11824. "hall_count": {
  11825. "description": "几厅",
  11826. "type": "integer"
  11827. },
  11828. "has_lift": {
  11829. "type": "boolean"
  11830. },
  11831. "house_area": {
  11832. "description": "房屋建筑面积",
  11833. "type": "number"
  11834. },
  11835. "house_name": {
  11836. "type": "string"
  11837. },
  11838. "house_number": {
  11839. "description": "门牌号",
  11840. "type": "string"
  11841. },
  11842. "house_type": {
  11843. "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅",
  11844. "type": "integer"
  11845. },
  11846. "house_used_area": {
  11847. "description": "房屋使用面积",
  11848. "type": "number"
  11849. },
  11850. "id": {
  11851. "type": "integer"
  11852. },
  11853. "layer": {
  11854. "description": "楼层",
  11855. "type": "integer"
  11856. },
  11857. "room_count": {
  11858. "description": "几室",
  11859. "type": "integer"
  11860. },
  11861. "status": {
  11862. "description": "房屋状态 1 未入住 2 已入住 3 已出租",
  11863. "type": "integer"
  11864. },
  11865. "unit_id": {
  11866. "description": "单元id",
  11867. "type": "integer"
  11868. }
  11869. }
  11870. },
  11871. "v1.HouseListReply": {
  11872. "type": "object",
  11873. "properties": {
  11874. "list": {
  11875. "type": "array",
  11876. "items": {
  11877. "$ref": "#/definitions/v1.HouseItem"
  11878. }
  11879. },
  11880. "page": {
  11881. "type": "integer"
  11882. },
  11883. "total": {
  11884. "type": "integer"
  11885. }
  11886. }
  11887. },
  11888. "v1.HouseListResponse": {
  11889. "type": "object",
  11890. "properties": {
  11891. "code": {
  11892. "description": "返回码",
  11893. "type": "integer",
  11894. "format": "int",
  11895. "default": 0
  11896. },
  11897. "data": {
  11898. "type": "object",
  11899. "$ref": "#/definitions/v1.HouseListReply"
  11900. },
  11901. "message": {
  11902. "description": "消息",
  11903. "type": "string",
  11904. "default": "success"
  11905. }
  11906. }
  11907. },
  11908. "v1.HouseRentAddManagerBody": {
  11909. "type": "object",
  11910. "properties": {
  11911. "manager_uid": {
  11912. "type": "integer"
  11913. },
  11914. "rent_id": {
  11915. "type": "integer"
  11916. }
  11917. }
  11918. },
  11919. "v1.HouseRentAddManagerReply": {
  11920. "type": "object",
  11921. "properties": {
  11922. "id": {
  11923. "type": "integer"
  11924. }
  11925. }
  11926. },
  11927. "v1.HouseRentAddManagerResponse": {
  11928. "type": "object",
  11929. "properties": {
  11930. "code": {
  11931. "description": "返回码",
  11932. "type": "integer",
  11933. "format": "int",
  11934. "default": 0
  11935. },
  11936. "data": {
  11937. "type": "object",
  11938. "$ref": "#/definitions/v1.HouseRentAddManagerReply"
  11939. },
  11940. "message": {
  11941. "description": "消息",
  11942. "type": "string",
  11943. "default": "success"
  11944. }
  11945. }
  11946. },
  11947. "v1.HouseRentApplyBody": {
  11948. "type": "object",
  11949. "properties": {
  11950. "base_conf": {
  11951. "description": "基础设施 从低到高分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机",
  11952. "type": "integer"
  11953. },
  11954. "cert_pic": {
  11955. "description": "房屋证件图片",
  11956. "type": "array",
  11957. "items": {
  11958. "type": "string"
  11959. }
  11960. },
  11961. "contact_phone": {
  11962. "description": "联系人电话",
  11963. "type": "string"
  11964. },
  11965. "contacter": {
  11966. "description": "联系人",
  11967. "type": "string"
  11968. },
  11969. "decorating": {
  11970. "description": "1 精装 2 简装 3 清水",
  11971. "type": "integer"
  11972. },
  11973. "desc": {
  11974. "description": "简介",
  11975. "type": "string"
  11976. },
  11977. "desposit": {
  11978. "description": "押金",
  11979. "type": "integer"
  11980. },
  11981. "direction": {
  11982. "description": "朝向",
  11983. "type": "integer"
  11984. },
  11985. "house_id": {
  11986. "description": "房屋id",
  11987. "type": "integer"
  11988. },
  11989. "house_pic": {
  11990. "description": "房屋图片",
  11991. "type": "array",
  11992. "items": {
  11993. "type": "string"
  11994. }
  11995. },
  11996. "in_time": {
  11997. "description": "可入住时间",
  11998. "type": "integer"
  11999. },
  12000. "intermediary_price": {
  12001. "description": "中介费",
  12002. "type": "integer"
  12003. },
  12004. "pay_time_type": {
  12005. "description": "1 月付 2 季付 3 半年付 4 年付",
  12006. "type": "integer"
  12007. },
  12008. "rent_price": {
  12009. "description": "月租",
  12010. "type": "integer"
  12011. },
  12012. "rent_type": {
  12013. "description": "1 整租 2 合租 3 转租",
  12014. "type": "integer"
  12015. },
  12016. "room_area": {
  12017. "description": "房间面积",
  12018. "type": "number"
  12019. },
  12020. "room_type": {
  12021. "description": "1 全部 2 主卧 3 次卧",
  12022. "type": "integer"
  12023. },
  12024. "service_price": {
  12025. "description": "服务费",
  12026. "type": "integer"
  12027. },
  12028. "special_conf": {
  12029. "description": "特色配置 从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租",
  12030. "type": "integer"
  12031. },
  12032. "wc_count": {
  12033. "description": "几卫",
  12034. "type": "integer"
  12035. }
  12036. }
  12037. },
  12038. "v1.HouseRentApplyReply": {
  12039. "type": "object",
  12040. "properties": {
  12041. "id": {
  12042. "type": "integer"
  12043. }
  12044. }
  12045. },
  12046. "v1.HouseRentApplyResponse": {
  12047. "type": "object",
  12048. "properties": {
  12049. "code": {
  12050. "description": "返回码",
  12051. "type": "integer",
  12052. "format": "int",
  12053. "default": 0
  12054. },
  12055. "data": {
  12056. "type": "object",
  12057. "$ref": "#/definitions/v1.HouseRentApplyReply"
  12058. },
  12059. "message": {
  12060. "description": "消息",
  12061. "type": "string",
  12062. "default": "success"
  12063. }
  12064. }
  12065. },
  12066. "v1.HouseRentAppointmentDelResponse": {
  12067. "type": "object",
  12068. "properties": {
  12069. "code": {
  12070. "description": "返回码",
  12071. "type": "integer",
  12072. "format": "int",
  12073. "default": 0
  12074. },
  12075. "message": {
  12076. "description": "消息",
  12077. "type": "string",
  12078. "default": "success"
  12079. }
  12080. }
  12081. },
  12082. "v1.HouseRentAppointmentItem": {
  12083. "type": "object",
  12084. "properties": {
  12085. "appointment_time": {
  12086. "type": "integer"
  12087. },
  12088. "gender": {
  12089. "type": "integer"
  12090. },
  12091. "house_name": {
  12092. "type": "string"
  12093. },
  12094. "id": {
  12095. "type": "integer"
  12096. },
  12097. "name": {
  12098. "type": "string"
  12099. },
  12100. "phone": {
  12101. "type": "string"
  12102. },
  12103. "rent_id": {
  12104. "type": "integer"
  12105. },
  12106. "uid": {
  12107. "type": "integer"
  12108. }
  12109. }
  12110. },
  12111. "v1.HouseRentAppointmentListReply": {
  12112. "type": "object",
  12113. "properties": {
  12114. "list": {
  12115. "type": "array",
  12116. "items": {
  12117. "$ref": "#/definitions/v1.HouseRentAppointmentItem"
  12118. }
  12119. },
  12120. "page": {
  12121. "type": "integer"
  12122. },
  12123. "total": {
  12124. "type": "integer"
  12125. }
  12126. }
  12127. },
  12128. "v1.HouseRentAppointmentListResponse": {
  12129. "type": "object",
  12130. "properties": {
  12131. "code": {
  12132. "description": "返回码",
  12133. "type": "integer",
  12134. "format": "int",
  12135. "default": 0
  12136. },
  12137. "data": {
  12138. "type": "object",
  12139. "$ref": "#/definitions/v1.HouseRentAppointmentListReply"
  12140. },
  12141. "message": {
  12142. "description": "消息",
  12143. "type": "string",
  12144. "default": "success"
  12145. }
  12146. }
  12147. },
  12148. "v1.HouseRentApproveBody": {
  12149. "type": "object",
  12150. "properties": {
  12151. "feedback": {
  12152. "type": "string"
  12153. },
  12154. "id": {
  12155. "type": "integer"
  12156. },
  12157. "status": {
  12158. "type": "boolean"
  12159. }
  12160. }
  12161. },
  12162. "v1.HouseRentApproveResponse": {
  12163. "type": "object",
  12164. "properties": {
  12165. "code": {
  12166. "description": "返回码",
  12167. "type": "integer",
  12168. "format": "int",
  12169. "default": 0
  12170. },
  12171. "message": {
  12172. "description": "消息",
  12173. "type": "string",
  12174. "default": "success"
  12175. }
  12176. }
  12177. },
  12178. "v1.HouseRentDelManagerResponse": {
  12179. "type": "object",
  12180. "properties": {
  12181. "code": {
  12182. "description": "返回码",
  12183. "type": "integer",
  12184. "format": "int",
  12185. "default": 0
  12186. },
  12187. "message": {
  12188. "description": "消息",
  12189. "type": "string",
  12190. "default": "success"
  12191. }
  12192. }
  12193. },
  12194. "v1.HouseRentDownBody": {
  12195. "type": "object",
  12196. "properties": {
  12197. "id": {
  12198. "type": "integer"
  12199. }
  12200. }
  12201. },
  12202. "v1.HouseRentDownResponse": {
  12203. "type": "object",
  12204. "properties": {
  12205. "code": {
  12206. "description": "返回码",
  12207. "type": "integer",
  12208. "format": "int",
  12209. "default": 0
  12210. },
  12211. "message": {
  12212. "description": "消息",
  12213. "type": "string",
  12214. "default": "success"
  12215. }
  12216. }
  12217. },
  12218. "v1.HouseRentItem": {
  12219. "type": "object",
  12220. "properties": {
  12221. "addr": {
  12222. "type": "string"
  12223. },
  12224. "approve_status": {
  12225. "description": "审核状态 1 待审 2 通过 3 未通过",
  12226. "type": "integer"
  12227. },
  12228. "area": {
  12229. "description": "区域",
  12230. "type": "string"
  12231. },
  12232. "base_conf": {
  12233. "description": "基础设施",
  12234. "type": "integer"
  12235. },
  12236. "cert_pic": {
  12237. "description": "房屋证件图片",
  12238. "type": "array",
  12239. "items": {
  12240. "type": "string"
  12241. }
  12242. },
  12243. "city": {
  12244. "description": "城市",
  12245. "type": "string"
  12246. },
  12247. "contact_phone": {
  12248. "description": "联系人电话",
  12249. "type": "string"
  12250. },
  12251. "contacter": {
  12252. "description": "联系人",
  12253. "type": "string"
  12254. },
  12255. "decorating": {
  12256. "description": "1 精装 2 简装 3 清水",
  12257. "type": "integer"
  12258. },
  12259. "desc": {
  12260. "description": "简介",
  12261. "type": "string"
  12262. },
  12263. "desposit": {
  12264. "description": "押金",
  12265. "type": "integer"
  12266. },
  12267. "direction": {
  12268. "description": "朝向",
  12269. "type": "integer"
  12270. },
  12271. "garden_id": {
  12272. "description": "小区id",
  12273. "type": "integer"
  12274. },
  12275. "garden_name": {
  12276. "description": "小区名称",
  12277. "type": "string"
  12278. },
  12279. "hall_count": {
  12280. "description": "几厅",
  12281. "type": "integer"
  12282. },
  12283. "has_lift": {
  12284. "description": "是否有电梯",
  12285. "type": "boolean"
  12286. },
  12287. "house_area": {
  12288. "description": "房屋建筑面积",
  12289. "type": "number"
  12290. },
  12291. "house_id": {
  12292. "type": "integer"
  12293. },
  12294. "house_name": {
  12295. "description": "房屋号",
  12296. "type": "string"
  12297. },
  12298. "house_pic": {
  12299. "description": "房屋图片",
  12300. "type": "array",
  12301. "items": {
  12302. "type": "string"
  12303. }
  12304. },
  12305. "id": {
  12306. "description": "租房id",
  12307. "type": "integer"
  12308. },
  12309. "in_time": {
  12310. "description": "可入住时间",
  12311. "type": "integer"
  12312. },
  12313. "intermediary_price": {
  12314. "description": "中介费",
  12315. "type": "integer"
  12316. },
  12317. "lat": {
  12318. "description": "纬度",
  12319. "type": "number"
  12320. },
  12321. "layer": {
  12322. "description": "楼层",
  12323. "type": "integer"
  12324. },
  12325. "lnt": {
  12326. "description": "经度",
  12327. "type": "number"
  12328. },
  12329. "pay_time_type": {
  12330. "description": "1 月付 2 季付 3 半年付 4 年付",
  12331. "type": "integer"
  12332. },
  12333. "province": {
  12334. "description": "省份",
  12335. "type": "string"
  12336. },
  12337. "rent_price": {
  12338. "description": "月租",
  12339. "type": "integer"
  12340. },
  12341. "rent_type": {
  12342. "description": "1 整租 2 合租 3 转租",
  12343. "type": "integer"
  12344. },
  12345. "room_area": {
  12346. "description": "房间面积",
  12347. "type": "number"
  12348. },
  12349. "room_count": {
  12350. "description": "几室",
  12351. "type": "integer"
  12352. },
  12353. "room_type": {
  12354. "description": "1 全部 2 主卧 3 次卧",
  12355. "type": "integer"
  12356. },
  12357. "service_price": {
  12358. "description": "服务费",
  12359. "type": "integer"
  12360. },
  12361. "special_conf": {
  12362. "description": "特色配置",
  12363. "type": "integer"
  12364. },
  12365. "street": {
  12366. "description": "街道",
  12367. "type": "string"
  12368. },
  12369. "wc_count": {
  12370. "description": "几卫",
  12371. "type": "integer"
  12372. }
  12373. }
  12374. },
  12375. "v1.HouseRentListResponse": {
  12376. "type": "object",
  12377. "properties": {
  12378. "code": {
  12379. "description": "返回码",
  12380. "type": "integer",
  12381. "format": "int",
  12382. "default": 0
  12383. },
  12384. "data": {
  12385. "type": "object",
  12386. "$ref": "#/definitions/v1.GardenHouseRentListReply"
  12387. },
  12388. "message": {
  12389. "description": "消息",
  12390. "type": "string",
  12391. "default": "success"
  12392. }
  12393. }
  12394. },
  12395. "v1.HouseRentManagerItem": {
  12396. "type": "object",
  12397. "properties": {
  12398. "id": {
  12399. "type": "integer"
  12400. },
  12401. "manager_uid": {
  12402. "type": "integer"
  12403. },
  12404. "name": {
  12405. "description": "姓名",
  12406. "type": "string"
  12407. },
  12408. "phone": {
  12409. "type": "string"
  12410. },
  12411. "user_name": {
  12412. "description": "账号",
  12413. "type": "string"
  12414. }
  12415. }
  12416. },
  12417. "v1.HouseRentManagerListReply": {
  12418. "type": "object",
  12419. "properties": {
  12420. "list": {
  12421. "type": "array",
  12422. "items": {
  12423. "$ref": "#/definitions/v1.HouseRentManagerItem"
  12424. }
  12425. }
  12426. }
  12427. },
  12428. "v1.HouseRentManagerListResponse": {
  12429. "type": "object",
  12430. "properties": {
  12431. "code": {
  12432. "description": "返回码",
  12433. "type": "integer",
  12434. "format": "int",
  12435. "default": 0
  12436. },
  12437. "data": {
  12438. "type": "object",
  12439. "$ref": "#/definitions/v1.HouseRentManagerListReply"
  12440. },
  12441. "message": {
  12442. "description": "消息",
  12443. "type": "string",
  12444. "default": "success"
  12445. }
  12446. }
  12447. },
  12448. "v1.HouseRentUpdateBody": {
  12449. "type": "object",
  12450. "properties": {
  12451. "base_conf": {
  12452. "description": "基础设施 从低到高分别表示床 天然气 暖气 宽带 冰箱 衣柜 沙发 空调 电视机 热水器 洗衣机",
  12453. "type": "integer"
  12454. },
  12455. "cert_pic": {
  12456. "description": "房屋证件图片",
  12457. "type": "array",
  12458. "items": {
  12459. "type": "string"
  12460. }
  12461. },
  12462. "contact_phone": {
  12463. "description": "联系人电话",
  12464. "type": "string"
  12465. },
  12466. "contacter": {
  12467. "description": "联系人",
  12468. "type": "string"
  12469. },
  12470. "decorating": {
  12471. "description": "1 精装 2 简装 3 清水",
  12472. "type": "integer"
  12473. },
  12474. "desc": {
  12475. "description": "简介",
  12476. "type": "string"
  12477. },
  12478. "desposit": {
  12479. "description": "押金",
  12480. "type": "integer"
  12481. },
  12482. "direction": {
  12483. "description": "朝向",
  12484. "type": "integer"
  12485. },
  12486. "house_id": {
  12487. "description": "房屋id",
  12488. "type": "integer"
  12489. },
  12490. "house_pic": {
  12491. "description": "房屋图片",
  12492. "type": "array",
  12493. "items": {
  12494. "type": "string"
  12495. }
  12496. },
  12497. "id": {
  12498. "type": "integer"
  12499. },
  12500. "in_time": {
  12501. "description": "可入住时间",
  12502. "type": "integer"
  12503. },
  12504. "intermediary_price": {
  12505. "description": "中介费",
  12506. "type": "integer"
  12507. },
  12508. "pay_time_type": {
  12509. "description": "1 月付 2 季付 3 半年付 4 年付",
  12510. "type": "integer"
  12511. },
  12512. "rent_price": {
  12513. "description": "月租",
  12514. "type": "integer"
  12515. },
  12516. "rent_type": {
  12517. "description": "1 整租 2 合租 3 转租",
  12518. "type": "integer"
  12519. },
  12520. "room_area": {
  12521. "description": "房间面积",
  12522. "type": "number"
  12523. },
  12524. "room_type": {
  12525. "description": "1 全部 2 主卧 3 次卧",
  12526. "type": "integer"
  12527. },
  12528. "service_price": {
  12529. "description": "服务费",
  12530. "type": "integer"
  12531. },
  12532. "special_conf": {
  12533. "description": "特色配置 从低到高分别表示 智能门锁 wifi 近地铁 停车位 独卫 私人阳台 首次出租",
  12534. "type": "integer"
  12535. },
  12536. "wc_count": {
  12537. "type": "integer"
  12538. }
  12539. }
  12540. },
  12541. "v1.HouseRentUpdateResponse": {
  12542. "type": "object",
  12543. "properties": {
  12544. "code": {
  12545. "description": "返回码",
  12546. "type": "integer",
  12547. "format": "int",
  12548. "default": 0
  12549. },
  12550. "message": {
  12551. "description": "消息",
  12552. "type": "string",
  12553. "default": "success"
  12554. }
  12555. }
  12556. },
  12557. "v1.HouseUpdateBody": {
  12558. "type": "object",
  12559. "properties": {
  12560. "hall_count": {
  12561. "description": "几厅",
  12562. "type": "integer"
  12563. },
  12564. "house_area": {
  12565. "description": "房屋建筑面积",
  12566. "type": "number"
  12567. },
  12568. "house_number": {
  12569. "description": "门牌号",
  12570. "type": "string"
  12571. },
  12572. "house_type": {
  12573. "description": "房屋类型 1 住宅 2 公寓 3 商业 4 洋房 5 别墅",
  12574. "type": "integer"
  12575. },
  12576. "house_used_area": {
  12577. "description": "房屋使用面积",
  12578. "type": "number"
  12579. },
  12580. "id": {
  12581. "type": "integer"
  12582. },
  12583. "layer": {
  12584. "description": "楼层",
  12585. "type": "integer"
  12586. },
  12587. "room_count": {
  12588. "description": "几室",
  12589. "type": "integer"
  12590. },
  12591. "unit_id": {
  12592. "description": "单元id",
  12593. "type": "integer"
  12594. }
  12595. }
  12596. },
  12597. "v1.HouseUpdateResponse": {
  12598. "type": "object",
  12599. "properties": {
  12600. "code": {
  12601. "description": "返回码",
  12602. "type": "integer",
  12603. "format": "int",
  12604. "default": 0
  12605. },
  12606. "message": {
  12607. "description": "消息",
  12608. "type": "string",
  12609. "default": "success"
  12610. }
  12611. }
  12612. },
  12613. "v1.HouseholdApproveBody": {
  12614. "type": "object",
  12615. "properties": {
  12616. "feedback": {
  12617. "type": "string"
  12618. },
  12619. "id": {
  12620. "type": "integer"
  12621. },
  12622. "status": {
  12623. "type": "boolean"
  12624. }
  12625. }
  12626. },
  12627. "v1.HouseholdApproveResponse": {
  12628. "type": "object",
  12629. "properties": {
  12630. "code": {
  12631. "description": "返回码",
  12632. "type": "integer",
  12633. "format": "int",
  12634. "default": 0
  12635. },
  12636. "message": {
  12637. "description": "消息",
  12638. "type": "string",
  12639. "default": "success"
  12640. }
  12641. }
  12642. },
  12643. "v1.HouseholdItem": {
  12644. "type": "object",
  12645. "properties": {
  12646. "appendix": {
  12647. "type": "array",
  12648. "items": {
  12649. "type": "string"
  12650. }
  12651. },
  12652. "approve_status": {
  12653. "type": "integer"
  12654. },
  12655. "garden_name": {
  12656. "type": "string"
  12657. },
  12658. "house_name": {
  12659. "description": "房号",
  12660. "type": "string"
  12661. },
  12662. "id": {
  12663. "type": "integer"
  12664. },
  12665. "id_number": {
  12666. "description": "证件号",
  12667. "type": "string"
  12668. },
  12669. "id_type": {
  12670. "description": "1 身份证 2 护照",
  12671. "type": "integer"
  12672. },
  12673. "name": {
  12674. "type": "string"
  12675. },
  12676. "phone": {
  12677. "type": "string"
  12678. },
  12679. "user_type": {
  12680. "description": "1业主 2家人 3租客",
  12681. "type": "integer"
  12682. }
  12683. }
  12684. },
  12685. "v1.HouseholdListReply": {
  12686. "type": "object",
  12687. "properties": {
  12688. "list": {
  12689. "type": "array",
  12690. "items": {
  12691. "$ref": "#/definitions/v1.HouseholdItem"
  12692. }
  12693. },
  12694. "page": {
  12695. "type": "integer"
  12696. },
  12697. "total": {
  12698. "type": "integer"
  12699. }
  12700. }
  12701. },
  12702. "v1.HouseholdListResponse": {
  12703. "type": "object",
  12704. "properties": {
  12705. "code": {
  12706. "description": "返回码",
  12707. "type": "integer",
  12708. "format": "int",
  12709. "default": 0
  12710. },
  12711. "data": {
  12712. "type": "object",
  12713. "$ref": "#/definitions/v1.HouseholdListReply"
  12714. },
  12715. "message": {
  12716. "description": "消息",
  12717. "type": "string",
  12718. "default": "success"
  12719. }
  12720. }
  12721. },
  12722. "v1.LoginBody": {
  12723. "type": "object",
  12724. "properties": {
  12725. "password": {
  12726. "type": "string"
  12727. },
  12728. "user": {
  12729. "type": "string"
  12730. }
  12731. }
  12732. },
  12733. "v1.LoginByPhoneBody": {
  12734. "type": "object",
  12735. "properties": {
  12736. "phone": {
  12737. "type": "string"
  12738. },
  12739. "vcode": {
  12740. "description": "短信验证码",
  12741. "type": "integer"
  12742. }
  12743. }
  12744. },
  12745. "v1.LoginByPhoneData": {
  12746. "type": "object",
  12747. "properties": {
  12748. "list": {
  12749. "type": "array",
  12750. "items": {
  12751. "$ref": "#/definitions/v1.LoginByPhoneItem"
  12752. }
  12753. },
  12754. "token": {
  12755. "type": "string"
  12756. }
  12757. }
  12758. },
  12759. "v1.LoginByPhoneItem": {
  12760. "type": "object",
  12761. "properties": {
  12762. "garden_id": {
  12763. "type": "integer"
  12764. },
  12765. "garden_name": {
  12766. "type": "string"
  12767. },
  12768. "is_super": {
  12769. "type": "boolean"
  12770. },
  12771. "permissions": {
  12772. "type": "array",
  12773. "items": {
  12774. "$ref": "#/definitions/v1.SystemGroupPermissionData"
  12775. }
  12776. },
  12777. "uid": {
  12778. "type": "integer"
  12779. },
  12780. "user": {
  12781. "type": "string"
  12782. }
  12783. }
  12784. },
  12785. "v1.LoginByPhoneResponse": {
  12786. "type": "object",
  12787. "properties": {
  12788. "code": {
  12789. "description": "返回码",
  12790. "type": "integer",
  12791. "format": "int",
  12792. "default": 0
  12793. },
  12794. "data": {
  12795. "type": "object",
  12796. "$ref": "#/definitions/v1.LoginByPhoneData"
  12797. },
  12798. "message": {
  12799. "description": "消息",
  12800. "type": "string",
  12801. "default": "success"
  12802. }
  12803. }
  12804. },
  12805. "v1.LoginData": {
  12806. "type": "object",
  12807. "properties": {
  12808. "is_super": {
  12809. "type": "boolean"
  12810. },
  12811. "permissions": {
  12812. "type": "array",
  12813. "items": {
  12814. "$ref": "#/definitions/v1.SystemGroupPermissionData"
  12815. }
  12816. },
  12817. "token": {
  12818. "type": "string"
  12819. },
  12820. "uid": {
  12821. "type": "integer"
  12822. },
  12823. "user": {
  12824. "type": "string"
  12825. }
  12826. }
  12827. },
  12828. "v1.LoginResponse": {
  12829. "type": "object",
  12830. "properties": {
  12831. "code": {
  12832. "description": "返回码",
  12833. "type": "integer",
  12834. "format": "int",
  12835. "default": 0
  12836. },
  12837. "data": {
  12838. "type": "object",
  12839. "$ref": "#/definitions/v1.LoginData"
  12840. },
  12841. "message": {
  12842. "description": "消息",
  12843. "type": "string",
  12844. "default": "success"
  12845. },
  12846. "phone_data": {
  12847. "description": "当账号存在多个小区时使用phone_data",
  12848. "type": "object",
  12849. "$ref": "#/definitions/v1.LoginByPhoneData"
  12850. }
  12851. }
  12852. },
  12853. "v1.NeighborArticleDelResponse": {
  12854. "type": "object",
  12855. "properties": {
  12856. "code": {
  12857. "description": "返回码",
  12858. "type": "integer",
  12859. "format": "int",
  12860. "default": 0
  12861. },
  12862. "message": {
  12863. "description": "消息",
  12864. "type": "string",
  12865. "default": "success"
  12866. }
  12867. }
  12868. },
  12869. "v1.NeighborArticleItem": {
  12870. "type": "object",
  12871. "properties": {
  12872. "class_id": {
  12873. "description": "分类id",
  12874. "type": "integer"
  12875. },
  12876. "comment_count": {
  12877. "description": "评论总数",
  12878. "type": "integer"
  12879. },
  12880. "content": {
  12881. "type": "string"
  12882. },
  12883. "created_at": {
  12884. "type": "string"
  12885. },
  12886. "id": {
  12887. "type": "integer"
  12888. },
  12889. "like": {
  12890. "description": "true 本人已点赞 false 本人未点赞",
  12891. "type": "boolean"
  12892. },
  12893. "likes": {
  12894. "description": "文章点赞数",
  12895. "type": "integer"
  12896. },
  12897. "owner": {
  12898. "description": "是否是本人发布的文章",
  12899. "type": "boolean"
  12900. },
  12901. "pics": {
  12902. "type": "array",
  12903. "items": {
  12904. "type": "string"
  12905. }
  12906. },
  12907. "title": {
  12908. "type": "string"
  12909. },
  12910. "uid": {
  12911. "type": "integer"
  12912. },
  12913. "updated_at": {
  12914. "type": "string"
  12915. },
  12916. "user_icon": {
  12917. "description": "用户头像",
  12918. "type": "string"
  12919. },
  12920. "user_name": {
  12921. "type": "string"
  12922. },
  12923. "user_phone": {
  12924. "type": "string"
  12925. }
  12926. }
  12927. },
  12928. "v1.NeighborArticleListReply": {
  12929. "type": "object",
  12930. "properties": {
  12931. "list": {
  12932. "type": "array",
  12933. "items": {
  12934. "$ref": "#/definitions/v1.NeighborArticleItem"
  12935. }
  12936. },
  12937. "page": {
  12938. "type": "integer"
  12939. },
  12940. "total": {
  12941. "type": "integer"
  12942. }
  12943. }
  12944. },
  12945. "v1.NeighborArticleListResponse": {
  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.NeighborArticleListReply"
  12957. },
  12958. "message": {
  12959. "description": "消息",
  12960. "type": "string",
  12961. "default": "success"
  12962. }
  12963. }
  12964. },
  12965. "v1.NeighborClassAddBody": {
  12966. "type": "object",
  12967. "properties": {
  12968. "class_name": {
  12969. "type": "string"
  12970. },
  12971. "class_pic": {
  12972. "description": "分类图标",
  12973. "type": "string"
  12974. },
  12975. "enable": {
  12976. "description": "true 开启 false 禁用",
  12977. "type": "boolean"
  12978. }
  12979. }
  12980. },
  12981. "v1.NeighborClassAddResponse": {
  12982. "type": "object",
  12983. "properties": {
  12984. "code": {
  12985. "description": "返回码",
  12986. "type": "integer",
  12987. "format": "int",
  12988. "default": 0
  12989. },
  12990. "message": {
  12991. "description": "消息",
  12992. "type": "string",
  12993. "default": "success"
  12994. }
  12995. }
  12996. },
  12997. "v1.NeighborClassDelResponse": {
  12998. "type": "object",
  12999. "properties": {
  13000. "code": {
  13001. "description": "返回码",
  13002. "type": "integer",
  13003. "format": "int",
  13004. "default": 0
  13005. },
  13006. "message": {
  13007. "description": "消息",
  13008. "type": "string",
  13009. "default": "success"
  13010. }
  13011. }
  13012. },
  13013. "v1.NeighborClassItem": {
  13014. "type": "object",
  13015. "properties": {
  13016. "article_count": {
  13017. "description": "分类下的文章总数",
  13018. "type": "integer"
  13019. },
  13020. "class_name": {
  13021. "type": "string"
  13022. },
  13023. "class_pic": {
  13024. "type": "string"
  13025. },
  13026. "created_at": {
  13027. "description": "分类创建时间",
  13028. "type": "string"
  13029. },
  13030. "enable": {
  13031. "type": "boolean"
  13032. },
  13033. "id": {
  13034. "type": "integer"
  13035. },
  13036. "updated_at": {
  13037. "description": "分类结束时间",
  13038. "type": "string"
  13039. }
  13040. }
  13041. },
  13042. "v1.NeighborClassListReply": {
  13043. "type": "object",
  13044. "properties": {
  13045. "list": {
  13046. "type": "array",
  13047. "items": {
  13048. "$ref": "#/definitions/v1.NeighborClassItem"
  13049. }
  13050. },
  13051. "page": {
  13052. "type": "integer"
  13053. },
  13054. "total": {
  13055. "type": "integer"
  13056. }
  13057. }
  13058. },
  13059. "v1.NeighborClassListResponse": {
  13060. "type": "object",
  13061. "properties": {
  13062. "code": {
  13063. "description": "返回码",
  13064. "type": "integer",
  13065. "format": "int",
  13066. "default": 0
  13067. },
  13068. "data": {
  13069. "type": "object",
  13070. "$ref": "#/definitions/v1.NeighborClassListReply"
  13071. },
  13072. "message": {
  13073. "description": "消息",
  13074. "type": "string",
  13075. "default": "success"
  13076. }
  13077. }
  13078. },
  13079. "v1.NeighborClassUpdateBody": {
  13080. "type": "object",
  13081. "properties": {
  13082. "class_name": {
  13083. "type": "string"
  13084. },
  13085. "class_pic": {
  13086. "description": "分类图标",
  13087. "type": "string"
  13088. },
  13089. "enable": {
  13090. "description": "true 开启 false 禁用",
  13091. "type": "boolean"
  13092. },
  13093. "id": {
  13094. "type": "integer"
  13095. }
  13096. }
  13097. },
  13098. "v1.NeighborClassUpdateResponse": {
  13099. "type": "object",
  13100. "properties": {
  13101. "code": {
  13102. "description": "返回码",
  13103. "type": "integer",
  13104. "format": "int",
  13105. "default": 0
  13106. },
  13107. "message": {
  13108. "description": "消息",
  13109. "type": "string",
  13110. "default": "success"
  13111. }
  13112. }
  13113. },
  13114. "v1.NeighborCommentDelResponse": {
  13115. "type": "object",
  13116. "properties": {
  13117. "code": {
  13118. "description": "返回码",
  13119. "type": "integer",
  13120. "format": "int",
  13121. "default": 0
  13122. },
  13123. "message": {
  13124. "description": "消息",
  13125. "type": "string",
  13126. "default": "success"
  13127. }
  13128. }
  13129. },
  13130. "v1.NeighborCommentItem": {
  13131. "type": "object",
  13132. "properties": {
  13133. "content": {
  13134. "type": "string"
  13135. },
  13136. "created_at": {
  13137. "type": "string"
  13138. },
  13139. "id": {
  13140. "type": "integer"
  13141. },
  13142. "like": {
  13143. "description": "本人是否点赞",
  13144. "type": "boolean"
  13145. },
  13146. "likes": {
  13147. "description": "点赞数",
  13148. "type": "integer"
  13149. },
  13150. "owner": {
  13151. "description": "是否是本人发布的文章",
  13152. "type": "boolean"
  13153. },
  13154. "pics": {
  13155. "type": "array",
  13156. "items": {
  13157. "type": "string"
  13158. }
  13159. },
  13160. "sub_comment_count": {
  13161. "description": "子评论数",
  13162. "type": "integer"
  13163. },
  13164. "uid": {
  13165. "type": "integer"
  13166. },
  13167. "updated_at": {
  13168. "type": "string"
  13169. },
  13170. "user_icon": {
  13171. "description": "用户头像",
  13172. "type": "string"
  13173. },
  13174. "user_name": {
  13175. "type": "string"
  13176. },
  13177. "user_phone": {
  13178. "type": "string"
  13179. }
  13180. }
  13181. },
  13182. "v1.NeighborCommentListReply": {
  13183. "type": "object",
  13184. "properties": {
  13185. "list": {
  13186. "type": "array",
  13187. "items": {
  13188. "$ref": "#/definitions/v1.NeighborCommentItem"
  13189. }
  13190. },
  13191. "page": {
  13192. "type": "integer"
  13193. },
  13194. "total": {
  13195. "type": "integer"
  13196. }
  13197. }
  13198. },
  13199. "v1.NeighborCommentListResponse": {
  13200. "type": "object",
  13201. "properties": {
  13202. "code": {
  13203. "description": "返回码",
  13204. "type": "integer",
  13205. "format": "int",
  13206. "default": 0
  13207. },
  13208. "data": {
  13209. "type": "object",
  13210. "$ref": "#/definitions/v1.NeighborCommentListReply"
  13211. },
  13212. "message": {
  13213. "description": "消息",
  13214. "type": "string",
  13215. "default": "success"
  13216. }
  13217. }
  13218. },
  13219. "v1.PowerRecordAddBody": {
  13220. "type": "object",
  13221. "properties": {
  13222. "charge_type": {
  13223. "description": "费用类型",
  13224. "type": "integer"
  13225. },
  13226. "comment": {
  13227. "description": "备注",
  13228. "type": "string"
  13229. },
  13230. "current_amount": {
  13231. "description": "本期抄表数",
  13232. "type": "number"
  13233. },
  13234. "end": {
  13235. "description": "结束时间戳",
  13236. "type": "integer"
  13237. },
  13238. "house_id": {
  13239. "description": "房屋id",
  13240. "type": "integer"
  13241. },
  13242. "last_amount": {
  13243. "description": "上期抄表数",
  13244. "type": "number"
  13245. },
  13246. "start": {
  13247. "description": "开始时间戳",
  13248. "type": "integer"
  13249. }
  13250. }
  13251. },
  13252. "v1.PowerRecordAddReply": {
  13253. "type": "object"
  13254. },
  13255. "v1.PowerRecordAddResponse": {
  13256. "type": "object",
  13257. "properties": {
  13258. "code": {
  13259. "description": "返回码",
  13260. "type": "integer",
  13261. "format": "int",
  13262. "default": 0
  13263. },
  13264. "data": {
  13265. "type": "object",
  13266. "$ref": "#/definitions/v1.PowerRecordAddReply"
  13267. },
  13268. "message": {
  13269. "description": "消息",
  13270. "type": "string",
  13271. "default": "success"
  13272. }
  13273. }
  13274. },
  13275. "v1.PowerRecordBatchAddResponse": {
  13276. "type": "object",
  13277. "properties": {
  13278. "code": {
  13279. "description": "返回码",
  13280. "type": "integer",
  13281. "format": "int",
  13282. "default": 0
  13283. },
  13284. "message": {
  13285. "description": "消息",
  13286. "type": "string",
  13287. "default": "success"
  13288. }
  13289. }
  13290. },
  13291. "v1.PowerRecordDelResponse": {
  13292. "type": "object",
  13293. "properties": {
  13294. "code": {
  13295. "description": "返回码",
  13296. "type": "integer",
  13297. "format": "int",
  13298. "default": 0
  13299. },
  13300. "message": {
  13301. "description": "消息",
  13302. "type": "string",
  13303. "default": "success"
  13304. }
  13305. }
  13306. },
  13307. "v1.PowerRecordItem": {
  13308. "type": "object",
  13309. "properties": {
  13310. "charge_type": {
  13311. "type": "integer"
  13312. },
  13313. "comment": {
  13314. "type": "string"
  13315. },
  13316. "current_amount": {
  13317. "type": "number"
  13318. },
  13319. "end": {
  13320. "type": "integer"
  13321. },
  13322. "house_id": {
  13323. "type": "integer"
  13324. },
  13325. "house_name": {
  13326. "type": "string"
  13327. },
  13328. "id": {
  13329. "type": "integer"
  13330. },
  13331. "last_amount": {
  13332. "type": "number"
  13333. },
  13334. "read_at": {
  13335. "type": "integer"
  13336. },
  13337. "start": {
  13338. "type": "integer"
  13339. }
  13340. }
  13341. },
  13342. "v1.PowerRecordListReply": {
  13343. "type": "object",
  13344. "properties": {
  13345. "list": {
  13346. "type": "array",
  13347. "items": {
  13348. "$ref": "#/definitions/v1.PowerRecordItem"
  13349. }
  13350. },
  13351. "page": {
  13352. "type": "integer"
  13353. },
  13354. "total": {
  13355. "type": "integer"
  13356. }
  13357. }
  13358. },
  13359. "v1.PowerRecordListResponse": {
  13360. "type": "object",
  13361. "properties": {
  13362. "code": {
  13363. "description": "返回码",
  13364. "type": "integer",
  13365. "format": "int",
  13366. "default": 0
  13367. },
  13368. "data": {
  13369. "type": "object",
  13370. "$ref": "#/definitions/v1.PowerRecordListReply"
  13371. },
  13372. "message": {
  13373. "description": "消息",
  13374. "type": "string",
  13375. "default": "success"
  13376. }
  13377. }
  13378. },
  13379. "v1.PropertyPackageAddBody": {
  13380. "type": "object",
  13381. "properties": {
  13382. "enable": {
  13383. "type": "boolean"
  13384. },
  13385. "give_content": {
  13386. "description": "增送文本",
  13387. "type": "string"
  13388. },
  13389. "give_months": {
  13390. "description": "赠送月数",
  13391. "type": "integer"
  13392. },
  13393. "package_type": {
  13394. "description": "1 按月 2 按文本",
  13395. "type": "integer"
  13396. },
  13397. "pay_months": {
  13398. "description": "购买月数",
  13399. "type": "integer"
  13400. }
  13401. }
  13402. },
  13403. "v1.PropertyPackageAddReply": {
  13404. "type": "object",
  13405. "properties": {
  13406. "id": {
  13407. "type": "integer"
  13408. }
  13409. }
  13410. },
  13411. "v1.PropertyPackageAddResponse": {
  13412. "type": "object",
  13413. "properties": {
  13414. "code": {
  13415. "description": "返回码",
  13416. "type": "integer",
  13417. "format": "int",
  13418. "default": 0
  13419. },
  13420. "data": {
  13421. "type": "object",
  13422. "$ref": "#/definitions/v1.PropertyPackageAddReply"
  13423. },
  13424. "message": {
  13425. "description": "消息",
  13426. "type": "string",
  13427. "default": "success"
  13428. }
  13429. }
  13430. },
  13431. "v1.PropertyPackageDelResponse": {
  13432. "type": "object",
  13433. "properties": {
  13434. "code": {
  13435. "description": "返回码",
  13436. "type": "integer",
  13437. "format": "int",
  13438. "default": 0
  13439. },
  13440. "message": {
  13441. "description": "消息",
  13442. "type": "string",
  13443. "default": "success"
  13444. }
  13445. }
  13446. },
  13447. "v1.PropertyPackageItem": {
  13448. "type": "object",
  13449. "properties": {
  13450. "enable": {
  13451. "type": "boolean"
  13452. },
  13453. "give_content": {
  13454. "description": "增送文本",
  13455. "type": "string"
  13456. },
  13457. "give_months": {
  13458. "description": "赠送月数",
  13459. "type": "integer"
  13460. },
  13461. "id": {
  13462. "type": "integer"
  13463. },
  13464. "package_type": {
  13465. "description": "1 按月 2 按文本",
  13466. "type": "integer"
  13467. },
  13468. "pay_months": {
  13469. "description": "购买月数",
  13470. "type": "integer"
  13471. }
  13472. }
  13473. },
  13474. "v1.PropertyPackageListReply": {
  13475. "type": "object",
  13476. "properties": {
  13477. "list": {
  13478. "type": "array",
  13479. "items": {
  13480. "$ref": "#/definitions/v1.PropertyPackageItem"
  13481. }
  13482. },
  13483. "page": {
  13484. "type": "integer"
  13485. },
  13486. "total": {
  13487. "type": "integer"
  13488. }
  13489. }
  13490. },
  13491. "v1.PropertyPackageListResponse": {
  13492. "type": "object",
  13493. "properties": {
  13494. "code": {
  13495. "description": "返回码",
  13496. "type": "integer",
  13497. "format": "int",
  13498. "default": 0
  13499. },
  13500. "data": {
  13501. "type": "object",
  13502. "$ref": "#/definitions/v1.PropertyPackageListReply"
  13503. },
  13504. "message": {
  13505. "description": "消息",
  13506. "type": "string",
  13507. "default": "success"
  13508. }
  13509. }
  13510. },
  13511. "v1.PropertyPackageUpdateBody": {
  13512. "type": "object",
  13513. "properties": {
  13514. "enable": {
  13515. "type": "boolean"
  13516. },
  13517. "give_content": {
  13518. "description": "增送文本",
  13519. "type": "string"
  13520. },
  13521. "give_months": {
  13522. "description": "赠送月数",
  13523. "type": "integer"
  13524. },
  13525. "id": {
  13526. "type": "integer"
  13527. },
  13528. "package_type": {
  13529. "description": "1 按月 2 按文本",
  13530. "type": "integer"
  13531. },
  13532. "pay_months": {
  13533. "description": "购买月数",
  13534. "type": "integer"
  13535. }
  13536. }
  13537. },
  13538. "v1.PropertyPackageUpdateResponse": {
  13539. "type": "object",
  13540. "properties": {
  13541. "code": {
  13542. "description": "返回码",
  13543. "type": "integer",
  13544. "format": "int",
  13545. "default": 0
  13546. },
  13547. "message": {
  13548. "description": "消息",
  13549. "type": "string",
  13550. "default": "success"
  13551. }
  13552. }
  13553. },
  13554. "v1.RepairClassAddBody": {
  13555. "type": "object",
  13556. "properties": {
  13557. "area": {
  13558. "description": "1 公共区域 2 室内",
  13559. "type": "integer"
  13560. },
  13561. "enable": {
  13562. "type": "boolean"
  13563. },
  13564. "name": {
  13565. "type": "string"
  13566. }
  13567. }
  13568. },
  13569. "v1.RepairClassAddReply": {
  13570. "type": "object",
  13571. "properties": {
  13572. "id": {
  13573. "type": "integer"
  13574. }
  13575. }
  13576. },
  13577. "v1.RepairClassAddResponse": {
  13578. "type": "object",
  13579. "properties": {
  13580. "code": {
  13581. "description": "返回码",
  13582. "type": "integer",
  13583. "format": "int",
  13584. "default": 0
  13585. },
  13586. "data": {
  13587. "type": "object",
  13588. "$ref": "#/definitions/v1.RepairClassAddReply"
  13589. },
  13590. "message": {
  13591. "description": "消息",
  13592. "type": "string",
  13593. "default": "success"
  13594. }
  13595. }
  13596. },
  13597. "v1.RepairClassDelResponse": {
  13598. "type": "object",
  13599. "properties": {
  13600. "code": {
  13601. "description": "返回码",
  13602. "type": "integer",
  13603. "format": "int",
  13604. "default": 0
  13605. },
  13606. "message": {
  13607. "description": "消息",
  13608. "type": "string",
  13609. "default": "success"
  13610. }
  13611. }
  13612. },
  13613. "v1.RepairClassItem": {
  13614. "type": "object",
  13615. "properties": {
  13616. "area": {
  13617. "type": "integer"
  13618. },
  13619. "enable": {
  13620. "type": "boolean"
  13621. },
  13622. "id": {
  13623. "type": "integer"
  13624. },
  13625. "name": {
  13626. "type": "string"
  13627. }
  13628. }
  13629. },
  13630. "v1.RepairClassListReply": {
  13631. "type": "object",
  13632. "properties": {
  13633. "list": {
  13634. "type": "array",
  13635. "items": {
  13636. "$ref": "#/definitions/v1.RepairClassItem"
  13637. }
  13638. },
  13639. "page": {
  13640. "type": "integer"
  13641. },
  13642. "total": {
  13643. "type": "integer"
  13644. }
  13645. }
  13646. },
  13647. "v1.RepairClassListResponse": {
  13648. "type": "object",
  13649. "properties": {
  13650. "code": {
  13651. "description": "返回码",
  13652. "type": "integer",
  13653. "format": "int",
  13654. "default": 0
  13655. },
  13656. "data": {
  13657. "type": "object",
  13658. "$ref": "#/definitions/v1.RepairClassListReply"
  13659. },
  13660. "message": {
  13661. "description": "消息",
  13662. "type": "string",
  13663. "default": "success"
  13664. }
  13665. }
  13666. },
  13667. "v1.RepairClassUpdateBody": {
  13668. "type": "object",
  13669. "properties": {
  13670. "area": {
  13671. "type": "integer"
  13672. },
  13673. "enable": {
  13674. "type": "boolean"
  13675. },
  13676. "id": {
  13677. "type": "integer"
  13678. },
  13679. "name": {
  13680. "type": "string"
  13681. }
  13682. }
  13683. },
  13684. "v1.RepairClassUpdateResponse": {
  13685. "type": "object",
  13686. "properties": {
  13687. "code": {
  13688. "description": "返回码",
  13689. "type": "integer",
  13690. "format": "int",
  13691. "default": 0
  13692. },
  13693. "message": {
  13694. "description": "消息",
  13695. "type": "string",
  13696. "default": "success"
  13697. }
  13698. }
  13699. },
  13700. "v1.RepairOrderAddBody": {
  13701. "type": "object",
  13702. "properties": {
  13703. "apply_content": {
  13704. "description": "报修内容",
  13705. "type": "string"
  13706. },
  13707. "apply_people": {
  13708. "description": "报修人",
  13709. "type": "string"
  13710. },
  13711. "apply_people_phone": {
  13712. "description": "报修人电话",
  13713. "type": "string"
  13714. },
  13715. "apply_pic": {
  13716. "description": "报修图片",
  13717. "type": "array",
  13718. "items": {
  13719. "type": "string"
  13720. }
  13721. },
  13722. "appointment": {
  13723. "description": "预约时间",
  13724. "type": "integer"
  13725. },
  13726. "class_id": {
  13727. "description": "分类id",
  13728. "type": "integer"
  13729. },
  13730. "house_id": {
  13731. "description": "房屋id",
  13732. "type": "integer"
  13733. }
  13734. }
  13735. },
  13736. "v1.RepairOrderAddReply": {
  13737. "type": "object",
  13738. "properties": {
  13739. "id": {
  13740. "type": "integer"
  13741. }
  13742. }
  13743. },
  13744. "v1.RepairOrderAddResponse": {
  13745. "type": "object",
  13746. "properties": {
  13747. "code": {
  13748. "description": "返回码",
  13749. "type": "integer",
  13750. "format": "int",
  13751. "default": 0
  13752. },
  13753. "data": {
  13754. "type": "object",
  13755. "$ref": "#/definitions/v1.RepairOrderAddReply"
  13756. },
  13757. "message": {
  13758. "description": "消息",
  13759. "type": "string",
  13760. "default": "success"
  13761. }
  13762. }
  13763. },
  13764. "v1.RepairOrderBackBody": {
  13765. "type": "object",
  13766. "properties": {
  13767. "feedback": {
  13768. "description": "意见",
  13769. "type": "string"
  13770. },
  13771. "id": {
  13772. "description": "工单id",
  13773. "type": "integer"
  13774. }
  13775. }
  13776. },
  13777. "v1.RepairOrderBackResponse": {
  13778. "type": "object",
  13779. "properties": {
  13780. "code": {
  13781. "description": "返回码",
  13782. "type": "integer",
  13783. "format": "int",
  13784. "default": 0
  13785. },
  13786. "message": {
  13787. "description": "消息",
  13788. "type": "string",
  13789. "default": "success"
  13790. }
  13791. }
  13792. },
  13793. "v1.RepairOrderDelResponse": {
  13794. "type": "object",
  13795. "properties": {
  13796. "code": {
  13797. "description": "返回码",
  13798. "type": "integer",
  13799. "format": "int",
  13800. "default": 0
  13801. },
  13802. "message": {
  13803. "description": "消息",
  13804. "type": "string",
  13805. "default": "success"
  13806. }
  13807. }
  13808. },
  13809. "v1.RepairOrderFinishBody": {
  13810. "type": "object",
  13811. "properties": {
  13812. "feedback": {
  13813. "description": "意见",
  13814. "type": "string"
  13815. },
  13816. "id": {
  13817. "description": "工单id",
  13818. "type": "integer"
  13819. },
  13820. "repair_pic": {
  13821. "description": "处理图片",
  13822. "type": "array",
  13823. "items": {
  13824. "type": "string"
  13825. }
  13826. }
  13827. }
  13828. },
  13829. "v1.RepairOrderFinishResponse": {
  13830. "type": "object",
  13831. "properties": {
  13832. "code": {
  13833. "description": "返回码",
  13834. "type": "integer",
  13835. "format": "int",
  13836. "default": 0
  13837. },
  13838. "message": {
  13839. "description": "消息",
  13840. "type": "string",
  13841. "default": "success"
  13842. }
  13843. }
  13844. },
  13845. "v1.RepairOrderInfoReply": {
  13846. "type": "object",
  13847. "properties": {
  13848. "base_info": {
  13849. "description": "基本信息",
  13850. "type": "object",
  13851. "$ref": "#/definitions/v1.RepairOrderItem"
  13852. },
  13853. "list": {
  13854. "description": "工单流水线",
  13855. "type": "array",
  13856. "items": {
  13857. "$ref": "#/definitions/v1.RepairOrderPipelineData"
  13858. }
  13859. }
  13860. }
  13861. },
  13862. "v1.RepairOrderInfoResponse": {
  13863. "type": "object",
  13864. "properties": {
  13865. "code": {
  13866. "description": "返回码",
  13867. "type": "integer",
  13868. "format": "int",
  13869. "default": 0
  13870. },
  13871. "data": {
  13872. "type": "object",
  13873. "$ref": "#/definitions/v1.RepairOrderInfoReply"
  13874. },
  13875. "message": {
  13876. "description": "消息",
  13877. "type": "string",
  13878. "default": "success"
  13879. }
  13880. }
  13881. },
  13882. "v1.RepairOrderItem": {
  13883. "type": "object",
  13884. "properties": {
  13885. "apply_content": {
  13886. "description": "报修内容",
  13887. "type": "string"
  13888. },
  13889. "apply_people": {
  13890. "description": "报修人",
  13891. "type": "string"
  13892. },
  13893. "apply_people_phone": {
  13894. "description": "报修人电话",
  13895. "type": "string"
  13896. },
  13897. "apply_pic": {
  13898. "description": "报修图片",
  13899. "type": "array",
  13900. "items": {
  13901. "type": "string"
  13902. }
  13903. },
  13904. "appointment": {
  13905. "description": "预约时间",
  13906. "type": "string"
  13907. },
  13908. "area": {
  13909. "type": "integer"
  13910. },
  13911. "building_id": {
  13912. "description": "楼栋id",
  13913. "type": "integer"
  13914. },
  13915. "class_id": {
  13916. "description": "分类id",
  13917. "type": "integer"
  13918. },
  13919. "class_name": {
  13920. "description": "分类名称",
  13921. "type": "string"
  13922. },
  13923. "created_at": {
  13924. "description": "报修时间",
  13925. "type": "string"
  13926. },
  13927. "current_user": {
  13928. "description": "当前状态处理人",
  13929. "type": "string"
  13930. },
  13931. "house_id": {
  13932. "description": "房屋id",
  13933. "type": "integer"
  13934. },
  13935. "house_name": {
  13936. "description": "房屋全称",
  13937. "type": "string"
  13938. },
  13939. "id": {
  13940. "type": "integer"
  13941. },
  13942. "last_user": {
  13943. "description": "上级处理人",
  13944. "type": "string"
  13945. },
  13946. "repair_time": {
  13947. "description": "维修时间",
  13948. "type": "string"
  13949. },
  13950. "return_visit_content": {
  13951. "description": "回访内容",
  13952. "type": "string"
  13953. },
  13954. "return_visit_level": {
  13955. "description": "回访满意度",
  13956. "type": "integer"
  13957. },
  13958. "status": {
  13959. "type": "integer"
  13960. },
  13961. "unit_id": {
  13962. "description": "单元id",
  13963. "type": "integer"
  13964. }
  13965. }
  13966. },
  13967. "v1.RepairOrderListReply": {
  13968. "type": "object",
  13969. "properties": {
  13970. "list": {
  13971. "type": "array",
  13972. "items": {
  13973. "$ref": "#/definitions/v1.RepairOrderItem"
  13974. }
  13975. },
  13976. "page": {
  13977. "type": "integer"
  13978. },
  13979. "total": {
  13980. "type": "integer"
  13981. }
  13982. }
  13983. },
  13984. "v1.RepairOrderListResponse": {
  13985. "type": "object",
  13986. "properties": {
  13987. "code": {
  13988. "description": "返回码",
  13989. "type": "integer",
  13990. "format": "int",
  13991. "default": 0
  13992. },
  13993. "data": {
  13994. "type": "object",
  13995. "$ref": "#/definitions/v1.RepairOrderListReply"
  13996. },
  13997. "message": {
  13998. "description": "消息",
  13999. "type": "string",
  14000. "default": "success"
  14001. }
  14002. }
  14003. },
  14004. "v1.RepairOrderPipelineData": {
  14005. "type": "object",
  14006. "properties": {
  14007. "feedback": {
  14008. "description": "处理意见",
  14009. "type": "string"
  14010. },
  14011. "handle_time": {
  14012. "description": "处理时间",
  14013. "type": "string"
  14014. },
  14015. "phone": {
  14016. "type": "string"
  14017. },
  14018. "status": {
  14019. "type": "string"
  14020. },
  14021. "user": {
  14022. "description": "处理人",
  14023. "type": "string"
  14024. }
  14025. }
  14026. },
  14027. "v1.RepairOrderReturnVisitBody": {
  14028. "type": "object",
  14029. "properties": {
  14030. "id": {
  14031. "type": "integer"
  14032. },
  14033. "return_visit_content": {
  14034. "description": "回访内容",
  14035. "type": "string"
  14036. },
  14037. "return_visit_level": {
  14038. "description": "1 满意 2 不满意",
  14039. "type": "integer"
  14040. }
  14041. }
  14042. },
  14043. "v1.RepairOrderReturnVisitResponse": {
  14044. "type": "object",
  14045. "properties": {
  14046. "code": {
  14047. "description": "返回码",
  14048. "type": "integer",
  14049. "format": "int",
  14050. "default": 0
  14051. },
  14052. "message": {
  14053. "description": "消息",
  14054. "type": "string",
  14055. "default": "success"
  14056. }
  14057. }
  14058. },
  14059. "v1.RepairOrderSendBody": {
  14060. "type": "object",
  14061. "properties": {
  14062. "current_uid": {
  14063. "description": "指派给谁",
  14064. "type": "integer"
  14065. },
  14066. "feedback": {
  14067. "description": "意见",
  14068. "type": "string"
  14069. },
  14070. "id": {
  14071. "description": "工单id",
  14072. "type": "integer"
  14073. }
  14074. }
  14075. },
  14076. "v1.RepairOrderSendResponse": {
  14077. "type": "object",
  14078. "properties": {
  14079. "code": {
  14080. "description": "返回码",
  14081. "type": "integer",
  14082. "format": "int",
  14083. "default": 0
  14084. },
  14085. "message": {
  14086. "description": "消息",
  14087. "type": "string",
  14088. "default": "success"
  14089. }
  14090. }
  14091. },
  14092. "v1.RepairOrderUpdateBody": {
  14093. "type": "object",
  14094. "properties": {
  14095. "apply_content": {
  14096. "description": "报修内容",
  14097. "type": "string"
  14098. },
  14099. "apply_people": {
  14100. "description": "报修人",
  14101. "type": "string"
  14102. },
  14103. "apply_people_phone": {
  14104. "description": "报修人电话",
  14105. "type": "string"
  14106. },
  14107. "apply_pic": {
  14108. "description": "报修图片",
  14109. "type": "array",
  14110. "items": {
  14111. "type": "string"
  14112. }
  14113. },
  14114. "appointment": {
  14115. "description": "预约时间",
  14116. "type": "integer"
  14117. },
  14118. "class_id": {
  14119. "description": "分类id",
  14120. "type": "integer"
  14121. },
  14122. "house_id": {
  14123. "description": "房屋id",
  14124. "type": "integer"
  14125. },
  14126. "id": {
  14127. "type": "integer"
  14128. }
  14129. }
  14130. },
  14131. "v1.RepairOrderUpdateResponse": {
  14132. "type": "object",
  14133. "properties": {
  14134. "code": {
  14135. "description": "返回码",
  14136. "type": "integer",
  14137. "format": "int",
  14138. "default": 0
  14139. },
  14140. "message": {
  14141. "description": "消息",
  14142. "type": "string",
  14143. "default": "success"
  14144. }
  14145. }
  14146. },
  14147. "v1.ResetPasswordBody": {
  14148. "type": "object",
  14149. "properties": {
  14150. "password": {
  14151. "type": "string"
  14152. },
  14153. "phone": {
  14154. "type": "string"
  14155. },
  14156. "uid": {
  14157. "description": "用户id,第一次调用时为空,如果电话对应多个账号,选择账号后第二次调用需填该值",
  14158. "type": "integer"
  14159. },
  14160. "vcode": {
  14161. "description": "短信验证码",
  14162. "type": "integer"
  14163. }
  14164. }
  14165. },
  14166. "v1.ResetPasswordData": {
  14167. "type": "object",
  14168. "properties": {
  14169. "garden_name": {
  14170. "description": "小区名",
  14171. "type": "string"
  14172. },
  14173. "uid": {
  14174. "description": "用户id",
  14175. "type": "integer"
  14176. },
  14177. "username": {
  14178. "description": "用户名",
  14179. "type": "string"
  14180. }
  14181. }
  14182. },
  14183. "v1.ResetPasswordReply": {
  14184. "type": "object",
  14185. "properties": {
  14186. "list": {
  14187. "type": "array",
  14188. "items": {
  14189. "$ref": "#/definitions/v1.ResetPasswordData"
  14190. }
  14191. }
  14192. }
  14193. },
  14194. "v1.ResetPasswordResponse": {
  14195. "type": "object",
  14196. "properties": {
  14197. "code": {
  14198. "description": "返回码",
  14199. "type": "integer",
  14200. "format": "int",
  14201. "default": 0
  14202. },
  14203. "data": {
  14204. "type": "object",
  14205. "$ref": "#/definitions/v1.ResetPasswordReply"
  14206. },
  14207. "message": {
  14208. "description": "消息",
  14209. "type": "string",
  14210. "default": "success"
  14211. }
  14212. }
  14213. },
  14214. "v1.ServicePhoneAddBody": {
  14215. "type": "object",
  14216. "properties": {
  14217. "class_id": {
  14218. "type": "integer"
  14219. },
  14220. "enable": {
  14221. "type": "boolean"
  14222. },
  14223. "name": {
  14224. "type": "string"
  14225. },
  14226. "phone": {
  14227. "type": "string"
  14228. }
  14229. }
  14230. },
  14231. "v1.ServicePhoneAddReply": {
  14232. "type": "object",
  14233. "properties": {
  14234. "id": {
  14235. "type": "integer"
  14236. }
  14237. }
  14238. },
  14239. "v1.ServicePhoneAddResponse": {
  14240. "type": "object",
  14241. "properties": {
  14242. "code": {
  14243. "description": "返回码",
  14244. "type": "integer",
  14245. "format": "int",
  14246. "default": 0
  14247. },
  14248. "data": {
  14249. "type": "object",
  14250. "$ref": "#/definitions/v1.ServicePhoneAddReply"
  14251. },
  14252. "message": {
  14253. "description": "消息",
  14254. "type": "string",
  14255. "default": "success"
  14256. }
  14257. }
  14258. },
  14259. "v1.ServicePhoneClassAddBody": {
  14260. "type": "object",
  14261. "properties": {
  14262. "class_name": {
  14263. "type": "string"
  14264. },
  14265. "enable": {
  14266. "type": "boolean"
  14267. }
  14268. }
  14269. },
  14270. "v1.ServicePhoneClassAddReply": {
  14271. "type": "object",
  14272. "properties": {
  14273. "id": {
  14274. "type": "integer"
  14275. }
  14276. }
  14277. },
  14278. "v1.ServicePhoneClassAddResponse": {
  14279. "type": "object",
  14280. "properties": {
  14281. "code": {
  14282. "description": "返回码",
  14283. "type": "integer",
  14284. "format": "int",
  14285. "default": 0
  14286. },
  14287. "data": {
  14288. "type": "object",
  14289. "$ref": "#/definitions/v1.ServicePhoneClassAddReply"
  14290. },
  14291. "message": {
  14292. "description": "消息",
  14293. "type": "string",
  14294. "default": "success"
  14295. }
  14296. }
  14297. },
  14298. "v1.ServicePhoneClassDelResponse": {
  14299. "type": "object",
  14300. "properties": {
  14301. "code": {
  14302. "description": "返回码",
  14303. "type": "integer",
  14304. "format": "int",
  14305. "default": 0
  14306. },
  14307. "message": {
  14308. "description": "消息",
  14309. "type": "string",
  14310. "default": "success"
  14311. }
  14312. }
  14313. },
  14314. "v1.ServicePhoneClassItem": {
  14315. "type": "object",
  14316. "properties": {
  14317. "class_name": {
  14318. "type": "string"
  14319. },
  14320. "enable": {
  14321. "type": "boolean"
  14322. },
  14323. "id": {
  14324. "type": "integer"
  14325. }
  14326. }
  14327. },
  14328. "v1.ServicePhoneClassListReply": {
  14329. "type": "object",
  14330. "properties": {
  14331. "list": {
  14332. "type": "array",
  14333. "items": {
  14334. "$ref": "#/definitions/v1.ServicePhoneClassItem"
  14335. }
  14336. },
  14337. "page": {
  14338. "type": "integer"
  14339. },
  14340. "total": {
  14341. "type": "integer"
  14342. }
  14343. }
  14344. },
  14345. "v1.ServicePhoneClassListResponse": {
  14346. "type": "object",
  14347. "properties": {
  14348. "code": {
  14349. "description": "返回码",
  14350. "type": "integer",
  14351. "format": "int",
  14352. "default": 0
  14353. },
  14354. "data": {
  14355. "type": "object",
  14356. "$ref": "#/definitions/v1.ServicePhoneClassListReply"
  14357. },
  14358. "message": {
  14359. "description": "消息",
  14360. "type": "string",
  14361. "default": "success"
  14362. }
  14363. }
  14364. },
  14365. "v1.ServicePhoneClassUpdateBody": {
  14366. "type": "object",
  14367. "properties": {
  14368. "class_name": {
  14369. "type": "string"
  14370. },
  14371. "enable": {
  14372. "type": "boolean"
  14373. },
  14374. "id": {
  14375. "type": "integer"
  14376. }
  14377. }
  14378. },
  14379. "v1.ServicePhoneClassUpdateResponse": {
  14380. "type": "object",
  14381. "properties": {
  14382. "code": {
  14383. "description": "返回码",
  14384. "type": "integer",
  14385. "format": "int",
  14386. "default": 0
  14387. },
  14388. "message": {
  14389. "description": "消息",
  14390. "type": "string",
  14391. "default": "success"
  14392. }
  14393. }
  14394. },
  14395. "v1.ServicePhoneDelResponse": {
  14396. "type": "object",
  14397. "properties": {
  14398. "code": {
  14399. "description": "返回码",
  14400. "type": "integer",
  14401. "format": "int",
  14402. "default": 0
  14403. },
  14404. "message": {
  14405. "description": "消息",
  14406. "type": "string",
  14407. "default": "success"
  14408. }
  14409. }
  14410. },
  14411. "v1.ServicePhoneItem": {
  14412. "type": "object",
  14413. "properties": {
  14414. "class_id": {
  14415. "type": "integer"
  14416. },
  14417. "class_name": {
  14418. "type": "string"
  14419. },
  14420. "enable": {
  14421. "type": "boolean"
  14422. },
  14423. "id": {
  14424. "type": "integer"
  14425. },
  14426. "name": {
  14427. "type": "string"
  14428. },
  14429. "phone": {
  14430. "type": "string"
  14431. }
  14432. }
  14433. },
  14434. "v1.ServicePhoneListReply": {
  14435. "type": "object",
  14436. "properties": {
  14437. "list": {
  14438. "type": "array",
  14439. "items": {
  14440. "$ref": "#/definitions/v1.ServicePhoneItem"
  14441. }
  14442. },
  14443. "page": {
  14444. "type": "integer"
  14445. },
  14446. "total": {
  14447. "type": "integer"
  14448. }
  14449. }
  14450. },
  14451. "v1.ServicePhoneListResponse": {
  14452. "type": "object",
  14453. "properties": {
  14454. "code": {
  14455. "description": "返回码",
  14456. "type": "integer",
  14457. "format": "int",
  14458. "default": 0
  14459. },
  14460. "data": {
  14461. "type": "object",
  14462. "$ref": "#/definitions/v1.ServicePhoneListReply"
  14463. },
  14464. "message": {
  14465. "description": "消息",
  14466. "type": "string",
  14467. "default": "success"
  14468. }
  14469. }
  14470. },
  14471. "v1.ServicePhoneUpdateBody": {
  14472. "type": "object",
  14473. "properties": {
  14474. "enable": {
  14475. "type": "boolean"
  14476. },
  14477. "id": {
  14478. "type": "integer"
  14479. },
  14480. "name": {
  14481. "type": "string"
  14482. },
  14483. "phone": {
  14484. "type": "string"
  14485. }
  14486. }
  14487. },
  14488. "v1.ServicePhoneUpdateResponse": {
  14489. "type": "object",
  14490. "properties": {
  14491. "code": {
  14492. "description": "返回码",
  14493. "type": "integer",
  14494. "format": "int",
  14495. "default": 0
  14496. },
  14497. "message": {
  14498. "description": "消息",
  14499. "type": "string",
  14500. "default": "success"
  14501. }
  14502. }
  14503. },
  14504. "v1.SuggestionOrderAddBody": {
  14505. "type": "object",
  14506. "properties": {
  14507. "apply_content": {
  14508. "description": "投诉内容",
  14509. "type": "string"
  14510. },
  14511. "apply_people": {
  14512. "description": "投诉人",
  14513. "type": "string"
  14514. },
  14515. "apply_people_phone": {
  14516. "description": "投诉人电话",
  14517. "type": "string"
  14518. },
  14519. "apply_pic": {
  14520. "description": "投诉图片",
  14521. "type": "array",
  14522. "items": {
  14523. "type": "string"
  14524. }
  14525. },
  14526. "suggestion_type": {
  14527. "description": "投诉类型 1 投诉 2 建议",
  14528. "type": "integer"
  14529. }
  14530. }
  14531. },
  14532. "v1.SuggestionOrderAddReply": {
  14533. "type": "object",
  14534. "properties": {
  14535. "id": {
  14536. "type": "integer"
  14537. }
  14538. }
  14539. },
  14540. "v1.SuggestionOrderAddResponse": {
  14541. "type": "object",
  14542. "properties": {
  14543. "code": {
  14544. "description": "返回码",
  14545. "type": "integer",
  14546. "format": "int",
  14547. "default": 0
  14548. },
  14549. "data": {
  14550. "type": "object",
  14551. "$ref": "#/definitions/v1.SuggestionOrderAddReply"
  14552. },
  14553. "message": {
  14554. "description": "消息",
  14555. "type": "string",
  14556. "default": "success"
  14557. }
  14558. }
  14559. },
  14560. "v1.SuggestionOrderBackBody": {
  14561. "type": "object",
  14562. "properties": {
  14563. "feedback": {
  14564. "description": "意见",
  14565. "type": "string"
  14566. },
  14567. "id": {
  14568. "description": "工单id",
  14569. "type": "integer"
  14570. }
  14571. }
  14572. },
  14573. "v1.SuggestionOrderBackResponse": {
  14574. "type": "object",
  14575. "properties": {
  14576. "code": {
  14577. "description": "返回码",
  14578. "type": "integer",
  14579. "format": "int",
  14580. "default": 0
  14581. },
  14582. "message": {
  14583. "description": "消息",
  14584. "type": "string",
  14585. "default": "success"
  14586. }
  14587. }
  14588. },
  14589. "v1.SuggestionOrderDelResponse": {
  14590. "type": "object",
  14591. "properties": {
  14592. "code": {
  14593. "description": "返回码",
  14594. "type": "integer",
  14595. "format": "int",
  14596. "default": 0
  14597. },
  14598. "message": {
  14599. "description": "消息",
  14600. "type": "string",
  14601. "default": "success"
  14602. }
  14603. }
  14604. },
  14605. "v1.SuggestionOrderFinishBody": {
  14606. "type": "object",
  14607. "properties": {
  14608. "feedback": {
  14609. "description": "意见",
  14610. "type": "string"
  14611. },
  14612. "handle_pic": {
  14613. "description": "处理图片",
  14614. "type": "array",
  14615. "items": {
  14616. "type": "string"
  14617. }
  14618. },
  14619. "id": {
  14620. "description": "工单id",
  14621. "type": "integer"
  14622. }
  14623. }
  14624. },
  14625. "v1.SuggestionOrderFinishResponse": {
  14626. "type": "object",
  14627. "properties": {
  14628. "code": {
  14629. "description": "返回码",
  14630. "type": "integer",
  14631. "format": "int",
  14632. "default": 0
  14633. },
  14634. "message": {
  14635. "description": "消息",
  14636. "type": "string",
  14637. "default": "success"
  14638. }
  14639. }
  14640. },
  14641. "v1.SuggestionOrderInfoReply": {
  14642. "type": "object",
  14643. "properties": {
  14644. "base_info": {
  14645. "description": "基本信息",
  14646. "type": "object",
  14647. "$ref": "#/definitions/v1.SuggestionOrderItem"
  14648. },
  14649. "list": {
  14650. "description": "工单流水线",
  14651. "type": "array",
  14652. "items": {
  14653. "$ref": "#/definitions/v1.SuggestionOrderPipelineData"
  14654. }
  14655. }
  14656. }
  14657. },
  14658. "v1.SuggestionOrderInfoResponse": {
  14659. "type": "object",
  14660. "properties": {
  14661. "code": {
  14662. "description": "返回码",
  14663. "type": "integer",
  14664. "format": "int",
  14665. "default": 0
  14666. },
  14667. "data": {
  14668. "type": "object",
  14669. "$ref": "#/definitions/v1.SuggestionOrderInfoReply"
  14670. },
  14671. "message": {
  14672. "description": "消息",
  14673. "type": "string",
  14674. "default": "success"
  14675. }
  14676. }
  14677. },
  14678. "v1.SuggestionOrderItem": {
  14679. "type": "object",
  14680. "properties": {
  14681. "apply_content": {
  14682. "description": "投诉内容",
  14683. "type": "string"
  14684. },
  14685. "apply_people": {
  14686. "description": "投诉人",
  14687. "type": "string"
  14688. },
  14689. "apply_people_phone": {
  14690. "description": "投诉人电话",
  14691. "type": "string"
  14692. },
  14693. "apply_pic": {
  14694. "description": "投诉图片",
  14695. "type": "array",
  14696. "items": {
  14697. "type": "string"
  14698. }
  14699. },
  14700. "created_at": {
  14701. "description": "投诉时间",
  14702. "type": "string"
  14703. },
  14704. "current_user": {
  14705. "description": "当前状态处理人",
  14706. "type": "string"
  14707. },
  14708. "id": {
  14709. "type": "integer"
  14710. },
  14711. "last_user": {
  14712. "description": "上级处理人",
  14713. "type": "string"
  14714. },
  14715. "return_visit_content": {
  14716. "description": "回访内容",
  14717. "type": "string"
  14718. },
  14719. "return_visit_level": {
  14720. "description": "回访满意度",
  14721. "type": "integer"
  14722. },
  14723. "status": {
  14724. "type": "integer"
  14725. },
  14726. "suggestion_type": {
  14727. "description": "投诉类型 1 投诉 2 建议",
  14728. "type": "integer"
  14729. }
  14730. }
  14731. },
  14732. "v1.SuggestionOrderListReply": {
  14733. "type": "object",
  14734. "properties": {
  14735. "list": {
  14736. "type": "array",
  14737. "items": {
  14738. "$ref": "#/definitions/v1.SuggestionOrderItem"
  14739. }
  14740. },
  14741. "page": {
  14742. "type": "integer"
  14743. },
  14744. "total": {
  14745. "type": "integer"
  14746. }
  14747. }
  14748. },
  14749. "v1.SuggestionOrderListResponse": {
  14750. "type": "object",
  14751. "properties": {
  14752. "code": {
  14753. "description": "返回码",
  14754. "type": "integer",
  14755. "format": "int",
  14756. "default": 0
  14757. },
  14758. "data": {
  14759. "type": "object",
  14760. "$ref": "#/definitions/v1.SuggestionOrderListReply"
  14761. },
  14762. "message": {
  14763. "description": "消息",
  14764. "type": "string",
  14765. "default": "success"
  14766. }
  14767. }
  14768. },
  14769. "v1.SuggestionOrderPipelineData": {
  14770. "type": "object",
  14771. "properties": {
  14772. "feedback": {
  14773. "description": "处理意见",
  14774. "type": "string"
  14775. },
  14776. "handle_time": {
  14777. "description": "处理时间",
  14778. "type": "string"
  14779. },
  14780. "phone": {
  14781. "type": "string"
  14782. },
  14783. "status": {
  14784. "type": "string"
  14785. },
  14786. "user": {
  14787. "description": "处理人",
  14788. "type": "string"
  14789. }
  14790. }
  14791. },
  14792. "v1.SuggestionOrderReturnVisitBody": {
  14793. "type": "object",
  14794. "properties": {
  14795. "id": {
  14796. "type": "integer"
  14797. },
  14798. "return_visit_content": {
  14799. "description": "回访内容",
  14800. "type": "string"
  14801. },
  14802. "return_visit_level": {
  14803. "description": "1 满意 2 不满意",
  14804. "type": "integer"
  14805. }
  14806. }
  14807. },
  14808. "v1.SuggestionOrderReturnVisitResponse": {
  14809. "type": "object",
  14810. "properties": {
  14811. "code": {
  14812. "description": "返回码",
  14813. "type": "integer",
  14814. "format": "int",
  14815. "default": 0
  14816. },
  14817. "message": {
  14818. "description": "消息",
  14819. "type": "string",
  14820. "default": "success"
  14821. }
  14822. }
  14823. },
  14824. "v1.SuggestionOrderSendBody": {
  14825. "type": "object",
  14826. "properties": {
  14827. "current_uid": {
  14828. "description": "指派给谁",
  14829. "type": "integer"
  14830. },
  14831. "feedback": {
  14832. "description": "意见",
  14833. "type": "string"
  14834. },
  14835. "id": {
  14836. "description": "工单id",
  14837. "type": "integer"
  14838. }
  14839. }
  14840. },
  14841. "v1.SuggestionOrderSendResponse": {
  14842. "type": "object",
  14843. "properties": {
  14844. "code": {
  14845. "description": "返回码",
  14846. "type": "integer",
  14847. "format": "int",
  14848. "default": 0
  14849. },
  14850. "message": {
  14851. "description": "消息",
  14852. "type": "string",
  14853. "default": "success"
  14854. }
  14855. }
  14856. },
  14857. "v1.SuggestionOrderUpdateBody": {
  14858. "type": "object",
  14859. "properties": {
  14860. "apply_content": {
  14861. "description": "投诉内容",
  14862. "type": "string"
  14863. },
  14864. "apply_people": {
  14865. "description": "投诉人",
  14866. "type": "string"
  14867. },
  14868. "apply_people_phone": {
  14869. "description": "投诉人电话",
  14870. "type": "string"
  14871. },
  14872. "apply_pic": {
  14873. "description": "投诉图片",
  14874. "type": "array",
  14875. "items": {
  14876. "type": "string"
  14877. }
  14878. },
  14879. "id": {
  14880. "type": "integer"
  14881. },
  14882. "suggestion_type": {
  14883. "description": "投诉类型 1 投诉 2 建议",
  14884. "type": "integer"
  14885. }
  14886. }
  14887. },
  14888. "v1.SuggestionOrderUpdateResponse": {
  14889. "type": "object",
  14890. "properties": {
  14891. "code": {
  14892. "description": "返回码",
  14893. "type": "integer",
  14894. "format": "int",
  14895. "default": 0
  14896. },
  14897. "message": {
  14898. "description": "消息",
  14899. "type": "string",
  14900. "default": "success"
  14901. }
  14902. }
  14903. },
  14904. "v1.SystemGroupPermissionData": {
  14905. "type": "object",
  14906. "properties": {
  14907. "applete_path": {
  14908. "type": "string"
  14909. },
  14910. "code": {
  14911. "type": "string"
  14912. },
  14913. "name": {
  14914. "description": "权限名字",
  14915. "type": "string"
  14916. },
  14917. "path": {
  14918. "description": "组件路径",
  14919. "type": "string"
  14920. },
  14921. "pcode": {
  14922. "description": "父code,若没有则填空",
  14923. "type": "string"
  14924. },
  14925. "router": {
  14926. "description": "路由",
  14927. "type": "string"
  14928. }
  14929. }
  14930. },
  14931. "v1.SystemMsgCountReply": {
  14932. "type": "object",
  14933. "properties": {
  14934. "count": {
  14935. "type": "integer"
  14936. }
  14937. }
  14938. },
  14939. "v1.SystemMsgCountResponse": {
  14940. "type": "object",
  14941. "properties": {
  14942. "code": {
  14943. "description": "返回码",
  14944. "type": "integer",
  14945. "format": "int",
  14946. "default": 0
  14947. },
  14948. "data": {
  14949. "type": "object",
  14950. "$ref": "#/definitions/v1.SystemMsgCountReply"
  14951. },
  14952. "message": {
  14953. "description": "消息",
  14954. "type": "string",
  14955. "default": "success"
  14956. }
  14957. }
  14958. },
  14959. "v1.SystemMsgItem": {
  14960. "type": "object",
  14961. "properties": {
  14962. "code": {
  14963. "type": "string"
  14964. },
  14965. "content": {
  14966. "type": "string"
  14967. },
  14968. "created_at": {
  14969. "type": "string"
  14970. },
  14971. "id": {
  14972. "type": "integer"
  14973. }
  14974. }
  14975. },
  14976. "v1.SystemMsgListReply": {
  14977. "type": "object",
  14978. "properties": {
  14979. "list": {
  14980. "type": "array",
  14981. "items": {
  14982. "$ref": "#/definitions/v1.SystemMsgItem"
  14983. }
  14984. },
  14985. "page": {
  14986. "type": "integer"
  14987. },
  14988. "total": {
  14989. "type": "integer"
  14990. }
  14991. }
  14992. },
  14993. "v1.SystemMsgListResponse": {
  14994. "type": "object",
  14995. "properties": {
  14996. "code": {
  14997. "description": "返回码",
  14998. "type": "integer",
  14999. "format": "int",
  15000. "default": 0
  15001. },
  15002. "data": {
  15003. "type": "object",
  15004. "$ref": "#/definitions/v1.SystemMsgListReply"
  15005. },
  15006. "message": {
  15007. "description": "消息",
  15008. "type": "string",
  15009. "default": "success"
  15010. }
  15011. }
  15012. },
  15013. "v1.SystemMsgReadedBody": {
  15014. "type": "object",
  15015. "properties": {
  15016. "id": {
  15017. "type": "integer"
  15018. }
  15019. }
  15020. },
  15021. "v1.TokenResponse": {
  15022. "type": "object",
  15023. "properties": {
  15024. "code": {
  15025. "description": "返回码",
  15026. "type": "integer",
  15027. "format": "int",
  15028. "default": 0
  15029. },
  15030. "data": {
  15031. "type": "string"
  15032. },
  15033. "message": {
  15034. "description": "消息",
  15035. "type": "string",
  15036. "default": "success"
  15037. },
  15038. "refresh_token": {
  15039. "type": "string"
  15040. }
  15041. }
  15042. },
  15043. "v1.UnitAddBody": {
  15044. "type": "object",
  15045. "properties": {
  15046. "building_id": {
  15047. "type": "integer"
  15048. },
  15049. "has_lift": {
  15050. "description": "是否有电梯",
  15051. "type": "boolean"
  15052. },
  15053. "unit_layers": {
  15054. "description": "楼层数",
  15055. "type": "integer"
  15056. },
  15057. "unit_name": {
  15058. "description": "单元名",
  15059. "type": "string"
  15060. },
  15061. "unit_number": {
  15062. "description": "单元编号",
  15063. "type": "integer"
  15064. }
  15065. }
  15066. },
  15067. "v1.UnitAddReply": {
  15068. "type": "object",
  15069. "properties": {
  15070. "id": {
  15071. "type": "integer"
  15072. }
  15073. }
  15074. },
  15075. "v1.UnitAddResponse": {
  15076. "type": "object",
  15077. "properties": {
  15078. "code": {
  15079. "description": "返回码",
  15080. "type": "integer",
  15081. "format": "int",
  15082. "default": 0
  15083. },
  15084. "data": {
  15085. "type": "object",
  15086. "$ref": "#/definitions/v1.UnitAddReply"
  15087. },
  15088. "message": {
  15089. "description": "消息",
  15090. "type": "string",
  15091. "default": "success"
  15092. }
  15093. }
  15094. },
  15095. "v1.UnitDelResponse": {
  15096. "type": "object",
  15097. "properties": {
  15098. "code": {
  15099. "description": "返回码",
  15100. "type": "integer",
  15101. "format": "int",
  15102. "default": 0
  15103. },
  15104. "message": {
  15105. "description": "消息",
  15106. "type": "string",
  15107. "default": "success"
  15108. }
  15109. }
  15110. },
  15111. "v1.UnitItem": {
  15112. "type": "object",
  15113. "properties": {
  15114. "building_id": {
  15115. "description": "楼栋id",
  15116. "type": "integer"
  15117. },
  15118. "building_name": {
  15119. "type": "string"
  15120. },
  15121. "has_lift": {
  15122. "type": "boolean"
  15123. },
  15124. "id": {
  15125. "type": "integer"
  15126. },
  15127. "unit_layers": {
  15128. "description": "楼层数",
  15129. "type": "integer"
  15130. },
  15131. "unit_name": {
  15132. "description": "单元名",
  15133. "type": "string"
  15134. },
  15135. "unit_number": {
  15136. "description": "单元编号",
  15137. "type": "integer"
  15138. }
  15139. }
  15140. },
  15141. "v1.UnitListReply": {
  15142. "type": "object",
  15143. "properties": {
  15144. "list": {
  15145. "type": "array",
  15146. "items": {
  15147. "$ref": "#/definitions/v1.UnitItem"
  15148. }
  15149. },
  15150. "page": {
  15151. "type": "integer"
  15152. },
  15153. "total": {
  15154. "type": "integer"
  15155. }
  15156. }
  15157. },
  15158. "v1.UnitListResponse": {
  15159. "type": "object",
  15160. "properties": {
  15161. "code": {
  15162. "description": "返回码",
  15163. "type": "integer",
  15164. "format": "int",
  15165. "default": 0
  15166. },
  15167. "data": {
  15168. "type": "object",
  15169. "$ref": "#/definitions/v1.UnitListReply"
  15170. },
  15171. "message": {
  15172. "description": "消息",
  15173. "type": "string",
  15174. "default": "success"
  15175. }
  15176. }
  15177. },
  15178. "v1.UnitUpdateBody": {
  15179. "type": "object",
  15180. "properties": {
  15181. "building_id": {
  15182. "type": "integer"
  15183. },
  15184. "has_lift": {
  15185. "description": "是否有电梯",
  15186. "type": "boolean"
  15187. },
  15188. "id": {
  15189. "type": "integer"
  15190. },
  15191. "unit_layers": {
  15192. "description": "楼层数",
  15193. "type": "integer"
  15194. },
  15195. "unit_name": {
  15196. "description": "单元名",
  15197. "type": "string"
  15198. },
  15199. "unit_number": {
  15200. "description": "单元编号",
  15201. "type": "integer"
  15202. }
  15203. }
  15204. },
  15205. "v1.UnitUpdateResponse": {
  15206. "type": "object",
  15207. "properties": {
  15208. "code": {
  15209. "description": "返回码",
  15210. "type": "integer",
  15211. "format": "int",
  15212. "default": 0
  15213. },
  15214. "message": {
  15215. "description": "消息",
  15216. "type": "string",
  15217. "default": "success"
  15218. }
  15219. }
  15220. },
  15221. "v1.UploadResponse": {
  15222. "type": "object",
  15223. "properties": {
  15224. "code": {
  15225. "description": "返回码",
  15226. "type": "integer",
  15227. "format": "int",
  15228. "default": 0
  15229. },
  15230. "data": {
  15231. "type": "string"
  15232. },
  15233. "message": {
  15234. "description": "消息",
  15235. "type": "string",
  15236. "default": "success"
  15237. }
  15238. }
  15239. },
  15240. "v1.UserItem": {
  15241. "type": "object",
  15242. "properties": {
  15243. "base_permission": {
  15244. "type": "integer"
  15245. },
  15246. "cid": {
  15247. "type": "integer"
  15248. },
  15249. "created_at": {
  15250. "type": "string"
  15251. },
  15252. "department_name": {
  15253. "type": "string"
  15254. },
  15255. "email": {
  15256. "type": "string"
  15257. },
  15258. "enable": {
  15259. "type": "boolean"
  15260. },
  15261. "garden_id": {
  15262. "type": "integer"
  15263. },
  15264. "garden_name": {
  15265. "type": "string"
  15266. },
  15267. "group_id": {
  15268. "type": "integer"
  15269. },
  15270. "group_name": {
  15271. "type": "string"
  15272. },
  15273. "id": {
  15274. "type": "integer"
  15275. },
  15276. "password": {
  15277. "type": "string"
  15278. },
  15279. "phone": {
  15280. "type": "string"
  15281. },
  15282. "real_name": {
  15283. "type": "string"
  15284. },
  15285. "super": {
  15286. "type": "boolean"
  15287. },
  15288. "user_name": {
  15289. "type": "string"
  15290. }
  15291. }
  15292. },
  15293. "v1.UserListReply": {
  15294. "type": "object",
  15295. "properties": {
  15296. "list": {
  15297. "type": "array",
  15298. "items": {
  15299. "$ref": "#/definitions/v1.UserItem"
  15300. }
  15301. },
  15302. "page": {
  15303. "type": "integer"
  15304. },
  15305. "total": {
  15306. "type": "integer"
  15307. }
  15308. }
  15309. },
  15310. "v1.UserListResponse": {
  15311. "type": "object",
  15312. "properties": {
  15313. "code": {
  15314. "description": "返回码",
  15315. "type": "integer",
  15316. "format": "int",
  15317. "default": 0
  15318. },
  15319. "data": {
  15320. "type": "object",
  15321. "$ref": "#/definitions/v1.UserListReply"
  15322. },
  15323. "message": {
  15324. "description": "消息",
  15325. "type": "string",
  15326. "default": "success"
  15327. }
  15328. }
  15329. },
  15330. "v1.VehicleAddReply": {
  15331. "type": "object",
  15332. "properties": {
  15333. "id": {
  15334. "type": "integer"
  15335. }
  15336. }
  15337. },
  15338. "v1.VehicleAddResponse": {
  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.VehicleAddReply"
  15350. },
  15351. "message": {
  15352. "description": "消息",
  15353. "type": "string",
  15354. "default": "success"
  15355. }
  15356. }
  15357. },
  15358. "v1.VoteAddBody": {
  15359. "type": "object",
  15360. "properties": {
  15361. "end": {
  15362. "description": "投票结束时间",
  15363. "type": "integer"
  15364. },
  15365. "pics": {
  15366. "description": "图片",
  15367. "type": "array",
  15368. "items": {
  15369. "type": "string"
  15370. }
  15371. },
  15372. "start": {
  15373. "description": "投票开始时间",
  15374. "type": "integer"
  15375. },
  15376. "title": {
  15377. "description": "投票标题",
  15378. "type": "string"
  15379. },
  15380. "topics": {
  15381. "description": "投票题目列表",
  15382. "type": "array",
  15383. "items": {
  15384. "$ref": "#/definitions/v1.VoteTopic"
  15385. }
  15386. }
  15387. }
  15388. },
  15389. "v1.VoteAddResponse": {
  15390. "type": "object",
  15391. "properties": {
  15392. "code": {
  15393. "description": "返回码",
  15394. "type": "integer",
  15395. "format": "int",
  15396. "default": 0
  15397. },
  15398. "message": {
  15399. "description": "消息",
  15400. "type": "string",
  15401. "default": "success"
  15402. }
  15403. }
  15404. },
  15405. "v1.VoteDelResponse": {
  15406. "type": "object",
  15407. "properties": {
  15408. "code": {
  15409. "description": "返回码",
  15410. "type": "integer",
  15411. "format": "int",
  15412. "default": 0
  15413. },
  15414. "message": {
  15415. "description": "消息",
  15416. "type": "string",
  15417. "default": "success"
  15418. }
  15419. }
  15420. },
  15421. "v1.VoteItem": {
  15422. "type": "object",
  15423. "properties": {
  15424. "created_at": {
  15425. "type": "integer"
  15426. },
  15427. "end": {
  15428. "type": "integer"
  15429. },
  15430. "id": {
  15431. "type": "integer"
  15432. },
  15433. "pics": {
  15434. "type": "array",
  15435. "items": {
  15436. "type": "string"
  15437. }
  15438. },
  15439. "start": {
  15440. "type": "integer"
  15441. },
  15442. "title": {
  15443. "type": "string"
  15444. },
  15445. "topics": {
  15446. "type": "array",
  15447. "items": {
  15448. "$ref": "#/definitions/v1.VoteTopic"
  15449. }
  15450. },
  15451. "user_count": {
  15452. "type": "integer"
  15453. }
  15454. }
  15455. },
  15456. "v1.VoteListReply": {
  15457. "type": "object",
  15458. "properties": {
  15459. "list": {
  15460. "type": "array",
  15461. "items": {
  15462. "$ref": "#/definitions/v1.VoteItem"
  15463. }
  15464. },
  15465. "page": {
  15466. "type": "integer"
  15467. },
  15468. "total": {
  15469. "type": "integer"
  15470. }
  15471. }
  15472. },
  15473. "v1.VoteListResponse": {
  15474. "type": "object",
  15475. "properties": {
  15476. "code": {
  15477. "description": "返回码",
  15478. "type": "integer",
  15479. "format": "int",
  15480. "default": 0
  15481. },
  15482. "data": {
  15483. "type": "object",
  15484. "$ref": "#/definitions/v1.VoteListReply"
  15485. },
  15486. "message": {
  15487. "description": "消息",
  15488. "type": "string",
  15489. "default": "success"
  15490. }
  15491. }
  15492. },
  15493. "v1.VoteResultData": {
  15494. "type": "object",
  15495. "properties": {
  15496. "choice_answers": {
  15497. "description": "选择题回答,当题目类型为选择题时有效",
  15498. "type": "array",
  15499. "items": {
  15500. "type": "string"
  15501. }
  15502. },
  15503. "choice_items": {
  15504. "description": "选择题的选项",
  15505. "type": "array",
  15506. "items": {
  15507. "$ref": "#/definitions/v1.VoteTopicChoiceItem"
  15508. }
  15509. },
  15510. "completion_answers": {
  15511. "description": "问答题回答,当题目类型为问答题时有效",
  15512. "type": "array",
  15513. "items": {
  15514. "type": "string"
  15515. }
  15516. },
  15517. "must": {
  15518. "description": "是否必选",
  15519. "type": "boolean"
  15520. },
  15521. "number": {
  15522. "description": "题目编号",
  15523. "type": "integer"
  15524. },
  15525. "star": {
  15526. "description": "总星数,当为评分题时有效",
  15527. "type": "integer"
  15528. },
  15529. "star_answers": {
  15530. "description": "评分题回答,当题目类型为评分题时有效",
  15531. "type": "integer"
  15532. },
  15533. "topic_name": {
  15534. "type": "string"
  15535. },
  15536. "topic_type": {
  15537. "description": "题目类型 1 填空题 2 单选题 3 多选题 4 评分题",
  15538. "type": "integer"
  15539. }
  15540. }
  15541. },
  15542. "v1.VoteResultListReply": {
  15543. "type": "object",
  15544. "properties": {
  15545. "list": {
  15546. "type": "array",
  15547. "items": {
  15548. "$ref": "#/definitions/v1.VoteResultUserAnswerItem"
  15549. }
  15550. },
  15551. "page": {
  15552. "type": "integer"
  15553. },
  15554. "total": {
  15555. "type": "integer"
  15556. }
  15557. }
  15558. },
  15559. "v1.VoteResultListResponse": {
  15560. "type": "object",
  15561. "properties": {
  15562. "code": {
  15563. "description": "返回码",
  15564. "type": "integer",
  15565. "format": "int",
  15566. "default": 0
  15567. },
  15568. "data": {
  15569. "type": "object",
  15570. "$ref": "#/definitions/v1.VoteResultListReply"
  15571. },
  15572. "message": {
  15573. "description": "消息",
  15574. "type": "string",
  15575. "default": "success"
  15576. }
  15577. }
  15578. },
  15579. "v1.VoteResultStatisticChoice": {
  15580. "type": "object",
  15581. "properties": {
  15582. "count": {
  15583. "description": "该选项被选的用户",
  15584. "type": "integer"
  15585. },
  15586. "flag": {
  15587. "description": "选择选项标识",
  15588. "type": "string"
  15589. }
  15590. }
  15591. },
  15592. "v1.VoteResultStatisticItem": {
  15593. "type": "object",
  15594. "properties": {
  15595. "choice_items": {
  15596. "description": "选择题的选项内容",
  15597. "type": "array",
  15598. "items": {
  15599. "$ref": "#/definitions/v1.VoteTopicChoiceItem"
  15600. }
  15601. },
  15602. "choice_statistic": {
  15603. "description": "选择题的选项回答统计,当题目类型为选择题时有效",
  15604. "type": "array",
  15605. "items": {
  15606. "$ref": "#/definitions/v1.VoteResultStatisticChoice"
  15607. }
  15608. },
  15609. "must": {
  15610. "description": "是否必选",
  15611. "type": "boolean"
  15612. },
  15613. "number": {
  15614. "description": "题目编号",
  15615. "type": "integer"
  15616. },
  15617. "star": {
  15618. "description": "总星数,当为评分题时有效",
  15619. "type": "integer"
  15620. },
  15621. "star_avg": {
  15622. "description": "平均分, 当题目类型为评分题时有效",
  15623. "type": "integer"
  15624. },
  15625. "star_statistic": {
  15626. "description": "评分题的分数回答统计,当题目类型为评分题时有效",
  15627. "type": "array",
  15628. "items": {
  15629. "$ref": "#/definitions/v1.VoteResultStatisticStar"
  15630. }
  15631. },
  15632. "topic_name": {
  15633. "type": "string"
  15634. },
  15635. "topic_type": {
  15636. "description": "题目类型 1 填空题 2 单选题 3 多选题 4 评分题",
  15637. "type": "integer"
  15638. }
  15639. }
  15640. },
  15641. "v1.VoteResultStatisticReply": {
  15642. "type": "object",
  15643. "properties": {
  15644. "list": {
  15645. "description": "题目统计",
  15646. "type": "array",
  15647. "items": {
  15648. "$ref": "#/definitions/v1.VoteResultStatisticItem"
  15649. }
  15650. }
  15651. }
  15652. },
  15653. "v1.VoteResultStatisticResponse": {
  15654. "type": "object",
  15655. "properties": {
  15656. "code": {
  15657. "description": "返回码",
  15658. "type": "integer",
  15659. "format": "int",
  15660. "default": 0
  15661. },
  15662. "data": {
  15663. "type": "object",
  15664. "$ref": "#/definitions/v1.VoteResultStatisticReply"
  15665. },
  15666. "message": {
  15667. "description": "消息",
  15668. "type": "string",
  15669. "default": "success"
  15670. }
  15671. }
  15672. },
  15673. "v1.VoteResultStatisticStar": {
  15674. "type": "object",
  15675. "properties": {
  15676. "count": {
  15677. "description": "评该星数的用户数量",
  15678. "type": "integer"
  15679. },
  15680. "star": {
  15681. "description": "评分星数",
  15682. "type": "integer"
  15683. }
  15684. }
  15685. },
  15686. "v1.VoteResultUserAnswerItem": {
  15687. "type": "object",
  15688. "properties": {
  15689. "answers": {
  15690. "type": "array",
  15691. "items": {
  15692. "$ref": "#/definitions/v1.VoteResultData"
  15693. }
  15694. },
  15695. "uid": {
  15696. "description": "用户uid",
  15697. "type": "integer"
  15698. }
  15699. }
  15700. },
  15701. "v1.VoteTopic": {
  15702. "type": "object",
  15703. "properties": {
  15704. "choice_items": {
  15705. "description": "选择题的选项",
  15706. "type": "array",
  15707. "items": {
  15708. "$ref": "#/definitions/v1.VoteTopicChoiceItem"
  15709. }
  15710. },
  15711. "must": {
  15712. "description": "是否必选",
  15713. "type": "boolean"
  15714. },
  15715. "number": {
  15716. "description": "题目编号",
  15717. "type": "integer"
  15718. },
  15719. "star": {
  15720. "description": "总星数,当为评分题时有效",
  15721. "type": "integer"
  15722. },
  15723. "topic_name": {
  15724. "type": "string"
  15725. },
  15726. "topic_type": {
  15727. "description": "题目类型 1 填空题 2 单选题 3 多选题 4 评分题",
  15728. "type": "integer"
  15729. }
  15730. }
  15731. },
  15732. "v1.VoteTopicChoiceItem": {
  15733. "type": "object",
  15734. "properties": {
  15735. "flag": {
  15736. "type": "string"
  15737. },
  15738. "text": {
  15739. "type": "string"
  15740. }
  15741. }
  15742. },
  15743. "v1.VoteUpdateBody": {
  15744. "type": "object",
  15745. "properties": {
  15746. "end": {
  15747. "description": "投票结束时间",
  15748. "type": "integer"
  15749. },
  15750. "id": {
  15751. "description": "投票id",
  15752. "type": "integer"
  15753. },
  15754. "pics": {
  15755. "description": "图片",
  15756. "type": "array",
  15757. "items": {
  15758. "type": "string"
  15759. }
  15760. },
  15761. "start": {
  15762. "description": "投票开始时间",
  15763. "type": "integer"
  15764. },
  15765. "title": {
  15766. "description": "投票标题",
  15767. "type": "string"
  15768. },
  15769. "topics": {
  15770. "description": "投票题目列表",
  15771. "type": "array",
  15772. "items": {
  15773. "$ref": "#/definitions/v1.VoteTopic"
  15774. }
  15775. }
  15776. }
  15777. },
  15778. "v1.VoteUpdateResponse": {
  15779. "type": "object",
  15780. "properties": {
  15781. "code": {
  15782. "description": "返回码",
  15783. "type": "integer",
  15784. "format": "int",
  15785. "default": 0
  15786. },
  15787. "message": {
  15788. "description": "消息",
  15789. "type": "string",
  15790. "default": "success"
  15791. }
  15792. }
  15793. }
  15794. }
  15795. }