swagger.json 210 KB

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