docs.go 226 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206
  1. // Package docs GENERATED BY SWAG; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import "github.com/swaggo/swag"
  5. const docTemplate = `{
  6. "schemes": {{ marshal .Schemes }},
  7. "swagger": "2.0",
  8. "info": {
  9. "description": "{{escape .Description}}",
  10. "title": "{{.Title}}",
  11. "contact": {},
  12. "version": "{{.Version}}"
  13. },
  14. "host": "{{.Host}}",
  15. "basePath": "{{.BasePath}}",
  16. "paths": {
  17. "/api/v1.0/announcement": {
  18. "get": {
  19. "description": "信息公告",
  20. "consumes": [
  21. "application/json"
  22. ],
  23. "produces": [
  24. "application/json"
  25. ],
  26. "tags": [
  27. "announcement",
  28. "v1.0"
  29. ],
  30. "summary": "信息公告",
  31. "parameters": [
  32. {
  33. "type": "string",
  34. "description": "jwt token",
  35. "name": "token",
  36. "in": "header",
  37. "required": true
  38. },
  39. {
  40. "type": "string",
  41. "description": "vin",
  42. "name": "vin_rule",
  43. "in": "query"
  44. },
  45. {
  46. "type": "string",
  47. "description": "品牌",
  48. "name": "brand_name",
  49. "in": "query"
  50. },
  51. {
  52. "type": "string",
  53. "description": "车辆型号",
  54. "name": "model_no",
  55. "in": "query"
  56. },
  57. {
  58. "type": "integer",
  59. "description": "页码",
  60. "name": "page",
  61. "in": "query"
  62. },
  63. {
  64. "type": "integer",
  65. "description": "每页数量,默认10",
  66. "name": "page_size",
  67. "in": "query"
  68. }
  69. ],
  70. "responses": {
  71. "200": {
  72. "description": "OK",
  73. "schema": {
  74. "$ref": "#/definitions/v1.GetAnnouncementResponse"
  75. }
  76. },
  77. "500": {
  78. "description": "Internal Server Error",
  79. "schema": {
  80. "$ref": "#/definitions/base.HTTPError"
  81. }
  82. }
  83. }
  84. }
  85. },
  86. "/api/v1.0/announcement/edit": {
  87. "get": {
  88. "description": "编辑",
  89. "consumes": [
  90. "application/json"
  91. ],
  92. "produces": [
  93. "application/json"
  94. ],
  95. "tags": [
  96. "announcement",
  97. "v1.0"
  98. ],
  99. "summary": "编辑",
  100. "parameters": [
  101. {
  102. "type": "string",
  103. "description": "jwt token",
  104. "name": "token",
  105. "in": "header",
  106. "required": true
  107. },
  108. {
  109. "type": "string",
  110. "description": "vehicle_batch",
  111. "name": "vehicle_batch",
  112. "in": "query"
  113. },
  114. {
  115. "type": "string",
  116. "description": "model_no",
  117. "name": "model_no",
  118. "in": "query"
  119. }
  120. ],
  121. "responses": {
  122. "200": {
  123. "description": "OK",
  124. "schema": {
  125. "$ref": "#/definitions/v1.GetEditResponse"
  126. }
  127. },
  128. "500": {
  129. "description": "Internal Server Error",
  130. "schema": {
  131. "$ref": "#/definitions/base.HTTPError"
  132. }
  133. }
  134. }
  135. }
  136. },
  137. "/api/v1.0/api": {
  138. "get": {
  139. "description": "API管理",
  140. "consumes": [
  141. "application/json"
  142. ],
  143. "produces": [
  144. "application/json"
  145. ],
  146. "tags": [
  147. "api_management",
  148. "v1.0"
  149. ],
  150. "summary": "API管理",
  151. "parameters": [
  152. {
  153. "type": "string",
  154. "description": "jwt token",
  155. "name": "token",
  156. "in": "header",
  157. "required": true
  158. },
  159. {
  160. "type": "string",
  161. "description": "API编号",
  162. "name": "api_no",
  163. "in": "query"
  164. },
  165. {
  166. "type": "string",
  167. "description": "描述",
  168. "name": "desc",
  169. "in": "query"
  170. },
  171. {
  172. "type": "integer",
  173. "description": "页码",
  174. "name": "page",
  175. "in": "query"
  176. },
  177. {
  178. "type": "integer",
  179. "description": "每页数量,默认10",
  180. "name": "page_size",
  181. "in": "query"
  182. }
  183. ],
  184. "responses": {
  185. "200": {
  186. "description": "OK",
  187. "schema": {
  188. "$ref": "#/definitions/v1.GetAPIListResponse"
  189. }
  190. },
  191. "500": {
  192. "description": "Internal Server Error",
  193. "schema": {
  194. "$ref": "#/definitions/base.HTTPError"
  195. }
  196. }
  197. }
  198. }
  199. },
  200. "/api/v1.0/api/check": {
  201. "get": {
  202. "description": "查看API",
  203. "consumes": [
  204. "application/json"
  205. ],
  206. "produces": [
  207. "application/json"
  208. ],
  209. "tags": [
  210. "api_management",
  211. "v1.0"
  212. ],
  213. "summary": "查看API",
  214. "parameters": [
  215. {
  216. "type": "string",
  217. "description": "jwt token",
  218. "name": "token",
  219. "in": "header",
  220. "required": true
  221. },
  222. {
  223. "type": "integer",
  224. "description": "API id",
  225. "name": "api_id",
  226. "in": "query",
  227. "required": true
  228. }
  229. ],
  230. "responses": {
  231. "200": {
  232. "description": "OK",
  233. "schema": {
  234. "$ref": "#/definitions/v1.GetCheckAPIResponse"
  235. }
  236. },
  237. "500": {
  238. "description": "Internal Server Error",
  239. "schema": {
  240. "$ref": "#/definitions/base.HTTPError"
  241. }
  242. }
  243. }
  244. }
  245. },
  246. "/api/v1.0/api/delete/key/{key}": {
  247. "delete": {
  248. "description": "删除key",
  249. "consumes": [
  250. "application/json"
  251. ],
  252. "produces": [
  253. "application/json"
  254. ],
  255. "tags": [
  256. "api_management",
  257. "v1.0"
  258. ],
  259. "summary": "删除key",
  260. "parameters": [
  261. {
  262. "type": "string",
  263. "description": "jwt token",
  264. "name": "token",
  265. "in": "header",
  266. "required": true
  267. },
  268. {
  269. "type": "string",
  270. "description": "密钥",
  271. "name": "key",
  272. "in": "path",
  273. "required": true
  274. }
  275. ],
  276. "responses": {
  277. "200": {
  278. "description": "OK",
  279. "schema": {
  280. "$ref": "#/definitions/v1.DeleteKeyResponse"
  281. }
  282. },
  283. "500": {
  284. "description": "Internal Server Error",
  285. "schema": {
  286. "$ref": "#/definitions/base.HTTPError"
  287. }
  288. }
  289. }
  290. }
  291. },
  292. "/api/v1.0/api/delete/{api_id}": {
  293. "delete": {
  294. "description": "删除API",
  295. "consumes": [
  296. "application/json"
  297. ],
  298. "produces": [
  299. "application/json"
  300. ],
  301. "tags": [
  302. "api_management",
  303. "v1.0"
  304. ],
  305. "summary": "删除API",
  306. "parameters": [
  307. {
  308. "type": "string",
  309. "description": "jwt token",
  310. "name": "token",
  311. "in": "header",
  312. "required": true
  313. },
  314. {
  315. "type": "integer",
  316. "description": "API id",
  317. "name": "api_id",
  318. "in": "path",
  319. "required": true
  320. }
  321. ],
  322. "responses": {
  323. "200": {
  324. "description": "OK",
  325. "schema": {
  326. "$ref": "#/definitions/v1.GetDeleteAPIResponse"
  327. }
  328. },
  329. "500": {
  330. "description": "Internal Server Error",
  331. "schema": {
  332. "$ref": "#/definitions/base.HTTPError"
  333. }
  334. }
  335. }
  336. }
  337. },
  338. "/api/v1.0/api/key": {
  339. "get": {
  340. "description": "密钥管理",
  341. "consumes": [
  342. "application/json"
  343. ],
  344. "produces": [
  345. "application/json"
  346. ],
  347. "tags": [
  348. "api_management",
  349. "v1.0"
  350. ],
  351. "summary": "密钥管理",
  352. "parameters": [
  353. {
  354. "type": "string",
  355. "description": "jwt token",
  356. "name": "token",
  357. "in": "header",
  358. "required": true
  359. },
  360. {
  361. "type": "string",
  362. "description": "密钥",
  363. "name": "key",
  364. "in": "query"
  365. },
  366. {
  367. "type": "string",
  368. "description": "描述",
  369. "name": "desc",
  370. "in": "query"
  371. },
  372. {
  373. "type": "integer",
  374. "description": "页码",
  375. "name": "page",
  376. "in": "query"
  377. },
  378. {
  379. "type": "integer",
  380. "description": "每页数量,默认10",
  381. "name": "page_size",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/v1.GetKeyListResponse"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/base.HTTPError"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/api/v1.0/api/key/create": {
  402. "post": {
  403. "description": "新增密钥",
  404. "consumes": [
  405. "application/json"
  406. ],
  407. "produces": [
  408. "application/json"
  409. ],
  410. "tags": [
  411. "api_management",
  412. "v1.0"
  413. ],
  414. "summary": "新增密钥",
  415. "parameters": [
  416. {
  417. "type": "string",
  418. "description": "jwt token",
  419. "name": "token",
  420. "in": "header",
  421. "required": true
  422. },
  423. {
  424. "description": "body",
  425. "name": "body",
  426. "in": "body",
  427. "required": true,
  428. "schema": {
  429. "$ref": "#/definitions/v1.CreateKeyBody"
  430. }
  431. }
  432. ],
  433. "responses": {
  434. "200": {
  435. "description": "OK",
  436. "schema": {
  437. "$ref": "#/definitions/v1.CreateKeyResponse"
  438. }
  439. },
  440. "500": {
  441. "description": "Internal Server Error",
  442. "schema": {
  443. "$ref": "#/definitions/base.HTTPError"
  444. }
  445. }
  446. }
  447. }
  448. },
  449. "/api/v1.0/api/search/all_api": {
  450. "get": {
  451. "description": "API列表",
  452. "consumes": [
  453. "application/json"
  454. ],
  455. "produces": [
  456. "application/json"
  457. ],
  458. "tags": [
  459. "api_management",
  460. "v1.0"
  461. ],
  462. "summary": "API列表",
  463. "parameters": [
  464. {
  465. "type": "string",
  466. "description": "jwt token",
  467. "name": "token",
  468. "in": "header",
  469. "required": true
  470. },
  471. {
  472. "type": "string",
  473. "description": "API",
  474. "name": "all_api",
  475. "in": "query"
  476. }
  477. ],
  478. "responses": {
  479. "200": {
  480. "description": "OK",
  481. "schema": {
  482. "$ref": "#/definitions/v1.AllAPIResponse"
  483. }
  484. },
  485. "500": {
  486. "description": "Internal Server Error",
  487. "schema": {
  488. "$ref": "#/definitions/base.HTTPError"
  489. }
  490. }
  491. }
  492. }
  493. },
  494. "/api/v1.0/api/search/all_key": {
  495. "get": {
  496. "description": "密钥列表",
  497. "consumes": [
  498. "application/json"
  499. ],
  500. "produces": [
  501. "application/json"
  502. ],
  503. "tags": [
  504. "api_management",
  505. "v1.0"
  506. ],
  507. "summary": "密钥列表",
  508. "parameters": [
  509. {
  510. "type": "string",
  511. "description": "jwt token",
  512. "name": "token",
  513. "in": "header",
  514. "required": true
  515. },
  516. {
  517. "type": "string",
  518. "description": "密钥",
  519. "name": "all_key",
  520. "in": "query"
  521. }
  522. ],
  523. "responses": {
  524. "200": {
  525. "description": "OK",
  526. "schema": {
  527. "$ref": "#/definitions/v1.AllKeyResponse"
  528. }
  529. },
  530. "500": {
  531. "description": "Internal Server Error",
  532. "schema": {
  533. "$ref": "#/definitions/base.HTTPError"
  534. }
  535. }
  536. }
  537. }
  538. },
  539. "/api/v1.0/api/update_api": {
  540. "put": {
  541. "description": "更新API信息",
  542. "consumes": [
  543. "application/json"
  544. ],
  545. "produces": [
  546. "application/json"
  547. ],
  548. "tags": [
  549. "api_management",
  550. "v1.0"
  551. ],
  552. "summary": "更新API信息",
  553. "parameters": [
  554. {
  555. "type": "string",
  556. "description": "jwt token",
  557. "name": "token",
  558. "in": "header",
  559. "required": true
  560. },
  561. {
  562. "description": "body",
  563. "name": "body",
  564. "in": "body",
  565. "required": true,
  566. "schema": {
  567. "$ref": "#/definitions/v1.UpdateAPIBody"
  568. }
  569. }
  570. ],
  571. "responses": {
  572. "200": {
  573. "description": "OK",
  574. "schema": {
  575. "$ref": "#/definitions/v1.UpdateAPIResponse"
  576. }
  577. },
  578. "500": {
  579. "description": "Internal Server Error",
  580. "schema": {
  581. "$ref": "#/definitions/base.HTTPError"
  582. }
  583. }
  584. }
  585. }
  586. },
  587. "/api/v1.0/api/use_key": {
  588. "get": {
  589. "description": "API查询",
  590. "consumes": [
  591. "application/json"
  592. ],
  593. "produces": [
  594. "application/json"
  595. ],
  596. "tags": [
  597. "api_management",
  598. "v1.0"
  599. ],
  600. "summary": "API查询",
  601. "parameters": [
  602. {
  603. "type": "string",
  604. "description": "jwt token",
  605. "name": "token",
  606. "in": "header",
  607. "required": true
  608. },
  609. {
  610. "type": "integer",
  611. "description": "API id",
  612. "name": "api_id",
  613. "in": "query"
  614. }
  615. ],
  616. "responses": {
  617. "200": {
  618. "description": "OK",
  619. "schema": {
  620. "$ref": "#/definitions/v1.UseAPIResponse"
  621. }
  622. },
  623. "500": {
  624. "description": "Internal Server Error",
  625. "schema": {
  626. "$ref": "#/definitions/base.HTTPError"
  627. }
  628. }
  629. }
  630. }
  631. },
  632. "/api/v1.0/brand": {
  633. "get": {
  634. "description": "品牌列表",
  635. "consumes": [
  636. "application/json"
  637. ],
  638. "produces": [
  639. "application/json"
  640. ],
  641. "tags": [
  642. "brand",
  643. "v1.0"
  644. ],
  645. "summary": "品牌列表",
  646. "parameters": [
  647. {
  648. "type": "string",
  649. "description": "jwt token",
  650. "name": "token",
  651. "in": "header",
  652. "required": true
  653. },
  654. {
  655. "type": "string",
  656. "description": "品牌名称",
  657. "name": "brand_name",
  658. "in": "query"
  659. },
  660. {
  661. "type": "string",
  662. "description": "品牌id",
  663. "name": "brand_id",
  664. "in": "query"
  665. },
  666. {
  667. "type": "string",
  668. "description": "首字母",
  669. "name": "initial",
  670. "in": "query"
  671. },
  672. {
  673. "type": "integer",
  674. "description": "-1:无图片, 1:有图片",
  675. "name": "has_img",
  676. "in": "query"
  677. },
  678. {
  679. "type": "integer",
  680. "description": "-1:下线 1:上线",
  681. "name": "status",
  682. "in": "query"
  683. },
  684. {
  685. "type": "integer",
  686. "description": "页码",
  687. "name": "page",
  688. "in": "query"
  689. },
  690. {
  691. "type": "integer",
  692. "description": "每页数量,默认10",
  693. "name": "page_size",
  694. "in": "query"
  695. }
  696. ],
  697. "responses": {
  698. "200": {
  699. "description": "OK",
  700. "schema": {
  701. "$ref": "#/definitions/v1.GetBrandListResponse"
  702. }
  703. },
  704. "500": {
  705. "description": "Internal Server Error",
  706. "schema": {
  707. "$ref": "#/definitions/base.HTTPError"
  708. }
  709. }
  710. }
  711. }
  712. },
  713. "/api/v1.0/brand/": {
  714. "put": {
  715. "description": "更新车辆品牌信息",
  716. "consumes": [
  717. "application/json"
  718. ],
  719. "produces": [
  720. "application/json"
  721. ],
  722. "tags": [
  723. "brand",
  724. "v1.0"
  725. ],
  726. "summary": "更新车辆品牌信息",
  727. "parameters": [
  728. {
  729. "type": "string",
  730. "description": "jwt token",
  731. "name": "token",
  732. "in": "header",
  733. "required": true
  734. },
  735. {
  736. "description": "body",
  737. "name": "body",
  738. "in": "body",
  739. "required": true,
  740. "schema": {
  741. "$ref": "#/definitions/v1.UpdateBrandBody"
  742. }
  743. }
  744. ],
  745. "responses": {
  746. "200": {
  747. "description": "OK",
  748. "schema": {
  749. "$ref": "#/definitions/v1.SearchResponse"
  750. }
  751. },
  752. "500": {
  753. "description": "Internal Server Error",
  754. "schema": {
  755. "$ref": "#/definitions/base.HTTPError"
  756. }
  757. }
  758. }
  759. }
  760. },
  761. "/api/v1.0/brand/maker": {
  762. "get": {
  763. "description": "厂商列表",
  764. "consumes": [
  765. "application/json"
  766. ],
  767. "produces": [
  768. "application/json"
  769. ],
  770. "tags": [
  771. "brand",
  772. "v1.0"
  773. ],
  774. "summary": "厂商列表",
  775. "parameters": [
  776. {
  777. "type": "string",
  778. "description": "jwt token",
  779. "name": "token",
  780. "in": "header",
  781. "required": true
  782. },
  783. {
  784. "type": "string",
  785. "description": "品牌id",
  786. "name": "brand_id",
  787. "in": "query",
  788. "required": true
  789. }
  790. ],
  791. "responses": {
  792. "200": {
  793. "description": "OK",
  794. "schema": {
  795. "$ref": "#/definitions/v1.GetMakerResponse"
  796. }
  797. },
  798. "500": {
  799. "description": "Internal Server Error",
  800. "schema": {
  801. "$ref": "#/definitions/base.HTTPError"
  802. }
  803. }
  804. }
  805. },
  806. "put": {
  807. "description": "更新厂商信息",
  808. "consumes": [
  809. "application/json"
  810. ],
  811. "produces": [
  812. "application/json"
  813. ],
  814. "tags": [
  815. "brand",
  816. "v1.0"
  817. ],
  818. "summary": "更新厂商信息",
  819. "parameters": [
  820. {
  821. "type": "string",
  822. "description": "jwt token",
  823. "name": "token",
  824. "in": "header",
  825. "required": true
  826. },
  827. {
  828. "description": "body",
  829. "name": "body",
  830. "in": "body",
  831. "required": true,
  832. "schema": {
  833. "$ref": "#/definitions/v1.UpdateMakerBody"
  834. }
  835. }
  836. ],
  837. "responses": {
  838. "200": {
  839. "description": "OK",
  840. "schema": {
  841. "$ref": "#/definitions/v1.SearchResponse"
  842. }
  843. },
  844. "500": {
  845. "description": "Internal Server Error",
  846. "schema": {
  847. "$ref": "#/definitions/base.HTTPError"
  848. }
  849. }
  850. }
  851. }
  852. },
  853. "/api/v1.0/brand/search": {
  854. "get": {
  855. "description": "模糊搜索",
  856. "consumes": [
  857. "application/json"
  858. ],
  859. "produces": [
  860. "application/json"
  861. ],
  862. "tags": [
  863. "brand",
  864. "v1.0"
  865. ],
  866. "summary": "模糊搜索",
  867. "parameters": [
  868. {
  869. "type": "string",
  870. "description": "jwt token",
  871. "name": "token",
  872. "in": "header",
  873. "required": true
  874. },
  875. {
  876. "type": "integer",
  877. "description": "1:品牌 2:厂商 3:车系 4:车型",
  878. "name": "type",
  879. "in": "query",
  880. "required": true
  881. },
  882. {
  883. "type": "string",
  884. "description": "关键字",
  885. "name": "search",
  886. "in": "query"
  887. },
  888. {
  889. "type": "string",
  890. "description": "brand_id",
  891. "name": "brand_id",
  892. "in": "query"
  893. },
  894. {
  895. "type": "string",
  896. "description": "maker_id",
  897. "name": "maker_id",
  898. "in": "query"
  899. },
  900. {
  901. "type": "string",
  902. "description": "series_id",
  903. "name": "series_id",
  904. "in": "query"
  905. }
  906. ],
  907. "responses": {
  908. "200": {
  909. "description": "OK",
  910. "schema": {
  911. "$ref": "#/definitions/v1.SearchResponse"
  912. }
  913. },
  914. "500": {
  915. "description": "Internal Server Error",
  916. "schema": {
  917. "$ref": "#/definitions/base.HTTPError"
  918. }
  919. }
  920. }
  921. }
  922. },
  923. "/api/v1.0/data_import/create_template": {
  924. "post": {
  925. "description": "新建模板",
  926. "consumes": [
  927. "application/json"
  928. ],
  929. "produces": [
  930. "application/json"
  931. ],
  932. "tags": [
  933. "data_import",
  934. "v1.0"
  935. ],
  936. "summary": "新建模板",
  937. "parameters": [
  938. {
  939. "type": "string",
  940. "description": "jwt token",
  941. "name": "token",
  942. "in": "header",
  943. "required": true
  944. },
  945. {
  946. "description": "body",
  947. "name": "body",
  948. "in": "body",
  949. "required": true,
  950. "schema": {
  951. "$ref": "#/definitions/v1.CreateTemplateBody"
  952. }
  953. }
  954. ],
  955. "responses": {
  956. "200": {
  957. "description": "OK",
  958. "schema": {
  959. "$ref": "#/definitions/v1.CreateTemplateResponse"
  960. }
  961. },
  962. "500": {
  963. "description": "Internal Server Error",
  964. "schema": {
  965. "$ref": "#/definitions/base.HTTPError"
  966. }
  967. }
  968. }
  969. }
  970. },
  971. "/api/v1.0/data_import/data_import": {
  972. "post": {
  973. "description": "数据导入",
  974. "consumes": [
  975. "application/json"
  976. ],
  977. "produces": [
  978. "application/json"
  979. ],
  980. "tags": [
  981. "data_import",
  982. "v1.0"
  983. ],
  984. "summary": "数据导入",
  985. "parameters": [
  986. {
  987. "type": "string",
  988. "description": "jwt token",
  989. "name": "token",
  990. "in": "header",
  991. "required": true
  992. },
  993. {
  994. "description": "body",
  995. "name": "body",
  996. "in": "body",
  997. "required": true,
  998. "schema": {
  999. "$ref": "#/definitions/v1.DataImportBody"
  1000. }
  1001. }
  1002. ],
  1003. "responses": {
  1004. "200": {
  1005. "description": "OK",
  1006. "schema": {
  1007. "$ref": "#/definitions/v1.DataImportResponse"
  1008. }
  1009. },
  1010. "500": {
  1011. "description": "Internal Server Error",
  1012. "schema": {
  1013. "$ref": "#/definitions/base.HTTPError"
  1014. }
  1015. }
  1016. }
  1017. }
  1018. },
  1019. "/api/v1.0/data_import/data_import_template": {
  1020. "get": {
  1021. "description": "数据导入模板",
  1022. "consumes": [
  1023. "application/json"
  1024. ],
  1025. "produces": [
  1026. "application/json"
  1027. ],
  1028. "tags": [
  1029. "data_import",
  1030. "v1.0"
  1031. ],
  1032. "summary": "数据导入模板",
  1033. "parameters": [
  1034. {
  1035. "type": "string",
  1036. "description": "jwt token",
  1037. "name": "token",
  1038. "in": "header",
  1039. "required": true
  1040. },
  1041. {
  1042. "type": "string",
  1043. "description": "模板名",
  1044. "name": "template_name",
  1045. "in": "query"
  1046. },
  1047. {
  1048. "type": "integer",
  1049. "description": "页码",
  1050. "name": "page",
  1051. "in": "query"
  1052. },
  1053. {
  1054. "type": "integer",
  1055. "description": "每页数量,默认10",
  1056. "name": "page_size",
  1057. "in": "query"
  1058. }
  1059. ],
  1060. "responses": {
  1061. "200": {
  1062. "description": "OK",
  1063. "schema": {
  1064. "$ref": "#/definitions/v1.DataImportTemplateResponse"
  1065. }
  1066. },
  1067. "500": {
  1068. "description": "Internal Server Error",
  1069. "schema": {
  1070. "$ref": "#/definitions/base.HTTPError"
  1071. }
  1072. }
  1073. }
  1074. }
  1075. },
  1076. "/api/v1.0/data_import/delete_template/{id}": {
  1077. "delete": {
  1078. "description": "删除模板",
  1079. "consumes": [
  1080. "application/json"
  1081. ],
  1082. "produces": [
  1083. "application/json"
  1084. ],
  1085. "tags": [
  1086. "data_import",
  1087. "v1.0"
  1088. ],
  1089. "summary": "删除模板",
  1090. "parameters": [
  1091. {
  1092. "type": "string",
  1093. "description": "jwt token",
  1094. "name": "token",
  1095. "in": "header",
  1096. "required": true
  1097. },
  1098. {
  1099. "type": "integer",
  1100. "description": "id",
  1101. "name": "id",
  1102. "in": "path",
  1103. "required": true
  1104. }
  1105. ],
  1106. "responses": {
  1107. "200": {
  1108. "description": "OK",
  1109. "schema": {
  1110. "$ref": "#/definitions/v1.DeleteTemplateResponse"
  1111. }
  1112. },
  1113. "500": {
  1114. "description": "Internal Server Error",
  1115. "schema": {
  1116. "$ref": "#/definitions/base.HTTPError"
  1117. }
  1118. }
  1119. }
  1120. }
  1121. },
  1122. "/api/v1.0/data_import/edit_template": {
  1123. "put": {
  1124. "description": "修改模板",
  1125. "consumes": [
  1126. "application/json"
  1127. ],
  1128. "produces": [
  1129. "application/json"
  1130. ],
  1131. "tags": [
  1132. "data_import",
  1133. "v1.0"
  1134. ],
  1135. "summary": "修改模板",
  1136. "parameters": [
  1137. {
  1138. "type": "string",
  1139. "description": "jwt token",
  1140. "name": "token",
  1141. "in": "header",
  1142. "required": true
  1143. },
  1144. {
  1145. "description": "body",
  1146. "name": "body",
  1147. "in": "body",
  1148. "required": true,
  1149. "schema": {
  1150. "$ref": "#/definitions/v1.EditTemplateBody"
  1151. }
  1152. }
  1153. ],
  1154. "responses": {
  1155. "200": {
  1156. "description": "OK",
  1157. "schema": {
  1158. "$ref": "#/definitions/v1.EditTemplateResponse"
  1159. }
  1160. },
  1161. "500": {
  1162. "description": "Internal Server Error",
  1163. "schema": {
  1164. "$ref": "#/definitions/base.HTTPError"
  1165. }
  1166. }
  1167. }
  1168. }
  1169. },
  1170. "/api/v1.0/data_management": {
  1171. "get": {
  1172. "description": "数据管理",
  1173. "consumes": [
  1174. "application/json"
  1175. ],
  1176. "produces": [
  1177. "application/json"
  1178. ],
  1179. "tags": [
  1180. "data_management",
  1181. "v1.0"
  1182. ],
  1183. "summary": "数据管理",
  1184. "parameters": [
  1185. {
  1186. "type": "string",
  1187. "description": "jwt token",
  1188. "name": "token",
  1189. "in": "header",
  1190. "required": true
  1191. },
  1192. {
  1193. "type": "string",
  1194. "description": "表名",
  1195. "name": "table_name",
  1196. "in": "query"
  1197. },
  1198. {
  1199. "type": "string",
  1200. "description": "描述",
  1201. "name": "desc",
  1202. "in": "query"
  1203. },
  1204. {
  1205. "type": "string",
  1206. "description": "所属层",
  1207. "name": "level",
  1208. "in": "query"
  1209. },
  1210. {
  1211. "type": "integer",
  1212. "description": "页码",
  1213. "name": "page",
  1214. "in": "query"
  1215. },
  1216. {
  1217. "type": "integer",
  1218. "description": "每页数量,默认10",
  1219. "name": "page_size",
  1220. "in": "query"
  1221. }
  1222. ],
  1223. "responses": {
  1224. "200": {
  1225. "description": "OK",
  1226. "schema": {
  1227. "$ref": "#/definitions/v1.GetDataListResponse"
  1228. }
  1229. },
  1230. "500": {
  1231. "description": "Internal Server Error",
  1232. "schema": {
  1233. "$ref": "#/definitions/base.HTTPError"
  1234. }
  1235. }
  1236. }
  1237. }
  1238. },
  1239. "/api/v1.0/data_management/relation": {
  1240. "get": {
  1241. "description": "任务关系",
  1242. "consumes": [
  1243. "application/json"
  1244. ],
  1245. "produces": [
  1246. "application/json"
  1247. ],
  1248. "tags": [
  1249. "data_management",
  1250. "v1.0"
  1251. ],
  1252. "summary": "任务关系",
  1253. "parameters": [
  1254. {
  1255. "type": "string",
  1256. "description": "jwt token",
  1257. "name": "token",
  1258. "in": "header",
  1259. "required": true
  1260. },
  1261. {
  1262. "type": "string",
  1263. "description": "数据源",
  1264. "name": "source_code",
  1265. "in": "query"
  1266. }
  1267. ],
  1268. "responses": {
  1269. "200": {
  1270. "description": "OK",
  1271. "schema": {
  1272. "$ref": "#/definitions/v1.GetRelationResponse"
  1273. }
  1274. },
  1275. "500": {
  1276. "description": "Internal Server Error",
  1277. "schema": {
  1278. "$ref": "#/definitions/base.HTTPError"
  1279. }
  1280. }
  1281. }
  1282. }
  1283. },
  1284. "/api/v1.0/data_management/relation/": {
  1285. "put": {
  1286. "description": "任务开关",
  1287. "consumes": [
  1288. "application/json"
  1289. ],
  1290. "produces": [
  1291. "application/json"
  1292. ],
  1293. "tags": [
  1294. "data_management",
  1295. "v1.0"
  1296. ],
  1297. "summary": "任务开关",
  1298. "parameters": [
  1299. {
  1300. "type": "string",
  1301. "description": "jwt token",
  1302. "name": "token",
  1303. "in": "header",
  1304. "required": true
  1305. },
  1306. {
  1307. "description": "body",
  1308. "name": "body",
  1309. "in": "body",
  1310. "required": true,
  1311. "schema": {
  1312. "$ref": "#/definitions/v1.GetSwitchBody"
  1313. }
  1314. }
  1315. ],
  1316. "responses": {
  1317. "200": {
  1318. "description": "OK",
  1319. "schema": {
  1320. "$ref": "#/definitions/v1.GetSwitchResponse"
  1321. }
  1322. },
  1323. "500": {
  1324. "description": "Internal Server Error",
  1325. "schema": {
  1326. "$ref": "#/definitions/base.HTTPError"
  1327. }
  1328. }
  1329. }
  1330. }
  1331. },
  1332. "/api/v1.0/data_management/search": {
  1333. "get": {
  1334. "description": "模糊搜索",
  1335. "consumes": [
  1336. "application/json"
  1337. ],
  1338. "produces": [
  1339. "application/json"
  1340. ],
  1341. "tags": [
  1342. "data_management",
  1343. "v1.0"
  1344. ],
  1345. "summary": "模糊搜索",
  1346. "parameters": [
  1347. {
  1348. "type": "string",
  1349. "description": "jwt token",
  1350. "name": "token",
  1351. "in": "header",
  1352. "required": true
  1353. },
  1354. {
  1355. "type": "string",
  1356. "description": "表名",
  1357. "name": "table_name",
  1358. "in": "query"
  1359. }
  1360. ],
  1361. "responses": {
  1362. "200": {
  1363. "description": "OK",
  1364. "schema": {
  1365. "$ref": "#/definitions/v1.SearchDataResponse"
  1366. }
  1367. },
  1368. "500": {
  1369. "description": "Internal Server Error",
  1370. "schema": {
  1371. "$ref": "#/definitions/base.HTTPError"
  1372. }
  1373. }
  1374. }
  1375. }
  1376. },
  1377. "/api/v1.0/data_management/search_level": {
  1378. "get": {
  1379. "description": "所属层搜索",
  1380. "consumes": [
  1381. "application/json"
  1382. ],
  1383. "produces": [
  1384. "application/json"
  1385. ],
  1386. "tags": [
  1387. "data_management",
  1388. "v1.0"
  1389. ],
  1390. "summary": "所属层搜索",
  1391. "parameters": [
  1392. {
  1393. "type": "string",
  1394. "description": "jwt token",
  1395. "name": "token",
  1396. "in": "header",
  1397. "required": true
  1398. },
  1399. {
  1400. "type": "string",
  1401. "description": "所属层",
  1402. "name": "level",
  1403. "in": "query"
  1404. }
  1405. ],
  1406. "responses": {
  1407. "200": {
  1408. "description": "OK",
  1409. "schema": {
  1410. "$ref": "#/definitions/v1.SearchLevelResponse"
  1411. }
  1412. },
  1413. "500": {
  1414. "description": "Internal Server Error",
  1415. "schema": {
  1416. "$ref": "#/definitions/base.HTTPError"
  1417. }
  1418. }
  1419. }
  1420. }
  1421. },
  1422. "/api/v1.0/data_management/table_struct": {
  1423. "get": {
  1424. "description": "查看表结构",
  1425. "consumes": [
  1426. "application/json"
  1427. ],
  1428. "produces": [
  1429. "application/json"
  1430. ],
  1431. "tags": [
  1432. "data_management",
  1433. "v1.0"
  1434. ],
  1435. "summary": "查看表结构",
  1436. "parameters": [
  1437. {
  1438. "type": "string",
  1439. "description": "jwt token",
  1440. "name": "token",
  1441. "in": "header",
  1442. "required": true
  1443. },
  1444. {
  1445. "type": "string",
  1446. "description": "表名",
  1447. "name": "table_name",
  1448. "in": "query"
  1449. }
  1450. ],
  1451. "responses": {
  1452. "200": {
  1453. "description": "OK",
  1454. "schema": {
  1455. "$ref": "#/definitions/v1.TableStructResponse"
  1456. }
  1457. },
  1458. "500": {
  1459. "description": "Internal Server Error",
  1460. "schema": {
  1461. "$ref": "#/definitions/base.HTTPError"
  1462. }
  1463. }
  1464. }
  1465. }
  1466. },
  1467. "/api/v1.0/field": {
  1468. "get": {
  1469. "description": "字段管理",
  1470. "consumes": [
  1471. "application/json"
  1472. ],
  1473. "produces": [
  1474. "application/json"
  1475. ],
  1476. "tags": [
  1477. "field_management",
  1478. "v1.0"
  1479. ],
  1480. "summary": "字段管理",
  1481. "parameters": [
  1482. {
  1483. "type": "string",
  1484. "description": "jwt token",
  1485. "name": "token",
  1486. "in": "header",
  1487. "required": true
  1488. },
  1489. {
  1490. "type": "string",
  1491. "description": "字段名",
  1492. "name": "field",
  1493. "in": "query"
  1494. },
  1495. {
  1496. "type": "string",
  1497. "description": "描述",
  1498. "name": "desc",
  1499. "in": "query"
  1500. },
  1501. {
  1502. "type": "integer",
  1503. "description": "页码",
  1504. "name": "page",
  1505. "in": "query"
  1506. },
  1507. {
  1508. "type": "integer",
  1509. "description": "每页数量,默认10",
  1510. "name": "page_size",
  1511. "in": "query"
  1512. }
  1513. ],
  1514. "responses": {
  1515. "200": {
  1516. "description": "OK",
  1517. "schema": {
  1518. "$ref": "#/definitions/v1.GetFieldListResponse"
  1519. }
  1520. },
  1521. "500": {
  1522. "description": "Internal Server Error",
  1523. "schema": {
  1524. "$ref": "#/definitions/base.HTTPError"
  1525. }
  1526. }
  1527. }
  1528. }
  1529. },
  1530. "/api/v1.0/field/excel": {
  1531. "get": {
  1532. "description": "导出EXCEL",
  1533. "consumes": [
  1534. "application/json"
  1535. ],
  1536. "produces": [
  1537. "application/json"
  1538. ],
  1539. "tags": [
  1540. "field_management",
  1541. "v1.0"
  1542. ],
  1543. "summary": "导出EXCEL",
  1544. "parameters": [
  1545. {
  1546. "type": "string",
  1547. "description": "jwt token",
  1548. "name": "token",
  1549. "in": "header",
  1550. "required": true
  1551. }
  1552. ],
  1553. "responses": {
  1554. "200": {
  1555. "description": "OK",
  1556. "schema": {
  1557. "$ref": "#/definitions/v1.ExcelResponse"
  1558. }
  1559. },
  1560. "500": {
  1561. "description": "Internal Server Error",
  1562. "schema": {
  1563. "$ref": "#/definitions/base.HTTPError"
  1564. }
  1565. }
  1566. }
  1567. }
  1568. },
  1569. "/api/v1.0/login": {
  1570. "post": {
  1571. "description": "登陆",
  1572. "consumes": [
  1573. "application/json"
  1574. ],
  1575. "produces": [
  1576. "application/json"
  1577. ],
  1578. "tags": [
  1579. "login",
  1580. "v1.0"
  1581. ],
  1582. "summary": "登陆",
  1583. "parameters": [
  1584. {
  1585. "description": "body",
  1586. "name": "body",
  1587. "in": "body",
  1588. "required": true,
  1589. "schema": {
  1590. "$ref": "#/definitions/v1.LoginBody"
  1591. }
  1592. }
  1593. ],
  1594. "responses": {
  1595. "200": {
  1596. "description": "OK",
  1597. "schema": {
  1598. "$ref": "#/definitions/v1.LoginResponse"
  1599. }
  1600. },
  1601. "500": {
  1602. "description": "Internal Server Error",
  1603. "schema": {
  1604. "$ref": "#/definitions/base.HTTPError"
  1605. }
  1606. }
  1607. }
  1608. }
  1609. },
  1610. "/api/v1.0/maintainace/c2/list": {
  1611. "get": {
  1612. "description": "C2List",
  1613. "consumes": [
  1614. "application/json"
  1615. ],
  1616. "produces": [
  1617. "application/json"
  1618. ],
  1619. "tags": [
  1620. "maintainace",
  1621. "v1.0"
  1622. ],
  1623. "summary": "C2List",
  1624. "parameters": [
  1625. {
  1626. "type": "string",
  1627. "description": "jwt token",
  1628. "name": "token",
  1629. "in": "header",
  1630. "required": true
  1631. },
  1632. {
  1633. "type": "string",
  1634. "description": "style_id",
  1635. "name": "style_id",
  1636. "in": "query"
  1637. }
  1638. ],
  1639. "responses": {
  1640. "200": {
  1641. "description": "OK",
  1642. "schema": {
  1643. "$ref": "#/definitions/v1.GetMaintainaceManualInfoResponse"
  1644. }
  1645. },
  1646. "500": {
  1647. "description": "Internal Server Error",
  1648. "schema": {
  1649. "$ref": "#/definitions/base.HTTPError"
  1650. }
  1651. }
  1652. }
  1653. }
  1654. },
  1655. "/api/v1.0/maintainace/info": {
  1656. "get": {
  1657. "description": "维保手册详情",
  1658. "consumes": [
  1659. "application/json"
  1660. ],
  1661. "produces": [
  1662. "application/json"
  1663. ],
  1664. "tags": [
  1665. "maintainace",
  1666. "v1.0"
  1667. ],
  1668. "summary": "维保手册详情",
  1669. "parameters": [
  1670. {
  1671. "type": "string",
  1672. "description": "jwt token",
  1673. "name": "token",
  1674. "in": "header",
  1675. "required": true
  1676. },
  1677. {
  1678. "type": "string",
  1679. "description": "style_id",
  1680. "name": "style_id",
  1681. "in": "query"
  1682. }
  1683. ],
  1684. "responses": {
  1685. "200": {
  1686. "description": "OK",
  1687. "schema": {
  1688. "$ref": "#/definitions/v1.GetMaintainaceManualInfoResponse"
  1689. }
  1690. },
  1691. "500": {
  1692. "description": "Internal Server Error",
  1693. "schema": {
  1694. "$ref": "#/definitions/base.HTTPError"
  1695. }
  1696. }
  1697. }
  1698. }
  1699. },
  1700. "/api/v1.0/maintainace/item_list": {
  1701. "get": {
  1702. "description": "维保项目",
  1703. "consumes": [
  1704. "application/json"
  1705. ],
  1706. "produces": [
  1707. "application/json"
  1708. ],
  1709. "tags": [
  1710. "maintainace",
  1711. "v1.0"
  1712. ],
  1713. "summary": "维保项目",
  1714. "parameters": [
  1715. {
  1716. "type": "string",
  1717. "description": "jwt token",
  1718. "name": "token",
  1719. "in": "header",
  1720. "required": true
  1721. },
  1722. {
  1723. "type": "integer",
  1724. "description": "item_type",
  1725. "name": "item_type",
  1726. "in": "query",
  1727. "required": true
  1728. },
  1729. {
  1730. "type": "string",
  1731. "description": "style_id",
  1732. "name": "style_id",
  1733. "in": "query",
  1734. "required": true
  1735. }
  1736. ],
  1737. "responses": {
  1738. "200": {
  1739. "description": "OK",
  1740. "schema": {
  1741. "$ref": "#/definitions/v1.GetItemListResponse"
  1742. }
  1743. },
  1744. "500": {
  1745. "description": "Internal Server Error",
  1746. "schema": {
  1747. "$ref": "#/definitions/base.HTTPError"
  1748. }
  1749. }
  1750. }
  1751. }
  1752. },
  1753. "/api/v1.0/maintainace/manual": {
  1754. "get": {
  1755. "description": "维保手册",
  1756. "consumes": [
  1757. "application/json"
  1758. ],
  1759. "produces": [
  1760. "application/json"
  1761. ],
  1762. "tags": [
  1763. "maintainace",
  1764. "v1.0"
  1765. ],
  1766. "summary": "维保手册",
  1767. "parameters": [
  1768. {
  1769. "type": "string",
  1770. "description": "jwt token",
  1771. "name": "token",
  1772. "in": "header",
  1773. "required": true
  1774. },
  1775. {
  1776. "type": "string",
  1777. "description": "style_id",
  1778. "name": "style_id",
  1779. "in": "query"
  1780. }
  1781. ],
  1782. "responses": {
  1783. "200": {
  1784. "description": "OK",
  1785. "schema": {
  1786. "$ref": "#/definitions/v1.GetMaintainaceManualResponse"
  1787. }
  1788. },
  1789. "500": {
  1790. "description": "Internal Server Error",
  1791. "schema": {
  1792. "$ref": "#/definitions/base.HTTPError"
  1793. }
  1794. }
  1795. }
  1796. },
  1797. "put": {
  1798. "description": "更新维保手册",
  1799. "consumes": [
  1800. "application/json"
  1801. ],
  1802. "produces": [
  1803. "application/json"
  1804. ],
  1805. "tags": [
  1806. "maintainace",
  1807. "v1.0"
  1808. ],
  1809. "summary": "更新维保手册",
  1810. "parameters": [
  1811. {
  1812. "type": "string",
  1813. "description": "jwt token",
  1814. "name": "token",
  1815. "in": "header",
  1816. "required": true
  1817. },
  1818. {
  1819. "description": "body",
  1820. "name": "body",
  1821. "in": "body",
  1822. "required": true,
  1823. "schema": {
  1824. "$ref": "#/definitions/v1.UpdateMaintainManualBody"
  1825. }
  1826. }
  1827. ],
  1828. "responses": {
  1829. "200": {
  1830. "description": "OK",
  1831. "schema": {
  1832. "$ref": "#/definitions/v1.UpdateMaintainManualResponse"
  1833. }
  1834. },
  1835. "500": {
  1836. "description": "Internal Server Error",
  1837. "schema": {
  1838. "$ref": "#/definitions/base.HTTPError"
  1839. }
  1840. }
  1841. }
  1842. }
  1843. },
  1844. "/api/v1.0/maintainace/manual/{id}": {
  1845. "delete": {
  1846. "description": "删除维保信息",
  1847. "consumes": [
  1848. "application/json"
  1849. ],
  1850. "produces": [
  1851. "application/json"
  1852. ],
  1853. "tags": [
  1854. "maintainace",
  1855. "v1.0"
  1856. ],
  1857. "summary": "删除维保信息",
  1858. "parameters": [
  1859. {
  1860. "type": "string",
  1861. "description": "jwt token",
  1862. "name": "token",
  1863. "in": "header",
  1864. "required": true
  1865. },
  1866. {
  1867. "type": "integer",
  1868. "description": "style:id",
  1869. "name": "id",
  1870. "in": "path",
  1871. "required": true
  1872. }
  1873. ],
  1874. "responses": {
  1875. "200": {
  1876. "description": "OK",
  1877. "schema": {
  1878. "$ref": "#/definitions/v1.GetStyleInfoResponse"
  1879. }
  1880. },
  1881. "500": {
  1882. "description": "Internal Server Error",
  1883. "schema": {
  1884. "$ref": "#/definitions/base.HTTPError"
  1885. }
  1886. }
  1887. }
  1888. }
  1889. },
  1890. "/api/v1.0/maintainace/style_item": {
  1891. "get": {
  1892. "description": "配件列表",
  1893. "consumes": [
  1894. "application/json"
  1895. ],
  1896. "produces": [
  1897. "application/json"
  1898. ],
  1899. "tags": [
  1900. "maintainace",
  1901. "v1.0"
  1902. ],
  1903. "summary": "配件列表",
  1904. "parameters": [
  1905. {
  1906. "type": "string",
  1907. "description": "jwt token",
  1908. "name": "token",
  1909. "in": "header",
  1910. "required": true
  1911. },
  1912. {
  1913. "type": "string",
  1914. "description": "style_id",
  1915. "name": "style_id",
  1916. "in": "query"
  1917. }
  1918. ],
  1919. "responses": {
  1920. "200": {
  1921. "description": "OK",
  1922. "schema": {
  1923. "$ref": "#/definitions/v1.GetMaintainaceManualInfoResponse"
  1924. }
  1925. },
  1926. "500": {
  1927. "description": "Internal Server Error",
  1928. "schema": {
  1929. "$ref": "#/definitions/base.HTTPError"
  1930. }
  1931. }
  1932. }
  1933. },
  1934. "put": {
  1935. "description": "更新配件信息",
  1936. "consumes": [
  1937. "application/json"
  1938. ],
  1939. "produces": [
  1940. "application/json"
  1941. ],
  1942. "tags": [
  1943. "maintainace",
  1944. "v1.0"
  1945. ],
  1946. "summary": "更新配件信息",
  1947. "parameters": [
  1948. {
  1949. "type": "string",
  1950. "description": "jwt token",
  1951. "name": "token",
  1952. "in": "header",
  1953. "required": true
  1954. },
  1955. {
  1956. "description": "body",
  1957. "name": "body",
  1958. "in": "body",
  1959. "required": true,
  1960. "schema": {
  1961. "$ref": "#/definitions/v1.UpdateStyleItemBody"
  1962. }
  1963. }
  1964. ],
  1965. "responses": {
  1966. "200": {
  1967. "description": "OK",
  1968. "schema": {
  1969. "$ref": "#/definitions/v1.UpdateMaintainManualResponse"
  1970. }
  1971. },
  1972. "500": {
  1973. "description": "Internal Server Error",
  1974. "schema": {
  1975. "$ref": "#/definitions/base.HTTPError"
  1976. }
  1977. }
  1978. }
  1979. }
  1980. },
  1981. "/api/v1.0/maintainace/style_item/{id}": {
  1982. "delete": {
  1983. "description": "删除配件信息",
  1984. "consumes": [
  1985. "application/json"
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "maintainace",
  1992. "v1.0"
  1993. ],
  1994. "summary": "删除配件信息",
  1995. "parameters": [
  1996. {
  1997. "type": "string",
  1998. "description": "jwt token",
  1999. "name": "token",
  2000. "in": "header",
  2001. "required": true
  2002. },
  2003. {
  2004. "type": "integer",
  2005. "description": "style_item:id",
  2006. "name": "id",
  2007. "in": "path",
  2008. "required": true
  2009. }
  2010. ],
  2011. "responses": {
  2012. "200": {
  2013. "description": "OK",
  2014. "schema": {
  2015. "$ref": "#/definitions/v1.GetStyleInfoResponse"
  2016. }
  2017. },
  2018. "500": {
  2019. "description": "Internal Server Error",
  2020. "schema": {
  2021. "$ref": "#/definitions/base.HTTPError"
  2022. }
  2023. }
  2024. }
  2025. }
  2026. },
  2027. "/api/v1.0/manual_task": {
  2028. "get": {
  2029. "description": "手动任务",
  2030. "consumes": [
  2031. "application/json"
  2032. ],
  2033. "produces": [
  2034. "application/json"
  2035. ],
  2036. "tags": [
  2037. "manualTask",
  2038. "v1.0"
  2039. ],
  2040. "summary": "手动任务",
  2041. "parameters": [
  2042. {
  2043. "type": "string",
  2044. "description": "jwt token",
  2045. "name": "token",
  2046. "in": "header",
  2047. "required": true
  2048. },
  2049. {
  2050. "type": "string",
  2051. "description": "源表",
  2052. "name": "source",
  2053. "in": "query"
  2054. },
  2055. {
  2056. "type": "string",
  2057. "description": "任务",
  2058. "name": "task_name",
  2059. "in": "query"
  2060. },
  2061. {
  2062. "type": "string",
  2063. "description": "手动任务名",
  2064. "name": "manual_task_name",
  2065. "in": "query"
  2066. },
  2067. {
  2068. "type": "integer",
  2069. "description": "时间1",
  2070. "name": "time1",
  2071. "in": "query"
  2072. },
  2073. {
  2074. "type": "integer",
  2075. "description": "时间2",
  2076. "name": "time2",
  2077. "in": "query"
  2078. },
  2079. {
  2080. "type": "integer",
  2081. "description": "页码",
  2082. "name": "page",
  2083. "in": "query"
  2084. },
  2085. {
  2086. "type": "integer",
  2087. "description": "每页数量,默认10",
  2088. "name": "page_size",
  2089. "in": "query"
  2090. }
  2091. ],
  2092. "responses": {
  2093. "200": {
  2094. "description": "OK",
  2095. "schema": {
  2096. "$ref": "#/definitions/v1.GetManualTaskResponse"
  2097. }
  2098. },
  2099. "500": {
  2100. "description": "Internal Server Error",
  2101. "schema": {
  2102. "$ref": "#/definitions/base.HTTPError"
  2103. }
  2104. }
  2105. }
  2106. }
  2107. },
  2108. "/api/v1.0/manual_task/create": {
  2109. "post": {
  2110. "description": "创建手动任务",
  2111. "consumes": [
  2112. "application/json"
  2113. ],
  2114. "produces": [
  2115. "application/json"
  2116. ],
  2117. "tags": [
  2118. "manualTask",
  2119. "v1.0"
  2120. ],
  2121. "summary": "创建手动任务",
  2122. "parameters": [
  2123. {
  2124. "type": "string",
  2125. "description": "jwt token",
  2126. "name": "token",
  2127. "in": "header",
  2128. "required": true
  2129. },
  2130. {
  2131. "description": "body",
  2132. "name": "body",
  2133. "in": "body",
  2134. "required": true,
  2135. "schema": {
  2136. "$ref": "#/definitions/v1.CreateBody"
  2137. }
  2138. }
  2139. ],
  2140. "responses": {
  2141. "200": {
  2142. "description": "OK",
  2143. "schema": {
  2144. "$ref": "#/definitions/v1.CreateResponse"
  2145. }
  2146. },
  2147. "500": {
  2148. "description": "Internal Server Error",
  2149. "schema": {
  2150. "$ref": "#/definitions/base.HTTPError"
  2151. }
  2152. }
  2153. }
  2154. }
  2155. },
  2156. "/api/v1.0/manual_task/create/upload": {
  2157. "post": {
  2158. "description": "上传文件创建",
  2159. "consumes": [
  2160. "application/json"
  2161. ],
  2162. "produces": [
  2163. "application/json"
  2164. ],
  2165. "tags": [
  2166. "manualTask",
  2167. "v1.0"
  2168. ],
  2169. "summary": "上传文件创建",
  2170. "parameters": [
  2171. {
  2172. "type": "string",
  2173. "description": "jwt token",
  2174. "name": "token",
  2175. "in": "header",
  2176. "required": true
  2177. },
  2178. {
  2179. "type": "file",
  2180. "description": "上传文件",
  2181. "name": "file",
  2182. "in": "formData",
  2183. "required": true
  2184. },
  2185. {
  2186. "type": "string",
  2187. "description": "手动任务",
  2188. "name": "task_name",
  2189. "in": "formData",
  2190. "required": true
  2191. }
  2192. ],
  2193. "responses": {
  2194. "200": {
  2195. "description": "OK",
  2196. "schema": {
  2197. "type": "string"
  2198. }
  2199. },
  2200. "500": {
  2201. "description": "Internal Server Error",
  2202. "schema": {
  2203. "$ref": "#/definitions/base.HTTPError"
  2204. }
  2205. }
  2206. }
  2207. }
  2208. },
  2209. "/api/v1.0/manual_task/source": {
  2210. "get": {
  2211. "description": "源表搜索",
  2212. "consumes": [
  2213. "application/json"
  2214. ],
  2215. "produces": [
  2216. "application/json"
  2217. ],
  2218. "tags": [
  2219. "manualTask",
  2220. "v1.0"
  2221. ],
  2222. "summary": "源表搜索",
  2223. "parameters": [
  2224. {
  2225. "type": "string",
  2226. "description": "jwt token",
  2227. "name": "token",
  2228. "in": "header",
  2229. "required": true
  2230. },
  2231. {
  2232. "type": "string",
  2233. "description": "源表",
  2234. "name": "source_name",
  2235. "in": "query"
  2236. }
  2237. ],
  2238. "responses": {
  2239. "200": {
  2240. "description": "OK",
  2241. "schema": {
  2242. "$ref": "#/definitions/v1.SourceResponse"
  2243. }
  2244. },
  2245. "500": {
  2246. "description": "Internal Server Error",
  2247. "schema": {
  2248. "$ref": "#/definitions/base.HTTPError"
  2249. }
  2250. }
  2251. }
  2252. }
  2253. },
  2254. "/api/v1.0/manual_task/task": {
  2255. "get": {
  2256. "description": "任务列表",
  2257. "consumes": [
  2258. "application/json"
  2259. ],
  2260. "produces": [
  2261. "application/json"
  2262. ],
  2263. "tags": [
  2264. "manualTask",
  2265. "v1.0"
  2266. ],
  2267. "summary": "任务列表",
  2268. "parameters": [
  2269. {
  2270. "type": "string",
  2271. "description": "jwt token",
  2272. "name": "token",
  2273. "in": "header",
  2274. "required": true
  2275. },
  2276. {
  2277. "type": "string",
  2278. "description": "源表名",
  2279. "name": "source_request",
  2280. "in": "query"
  2281. }
  2282. ],
  2283. "responses": {
  2284. "200": {
  2285. "description": "OK",
  2286. "schema": {
  2287. "$ref": "#/definitions/v1.TaskResponse"
  2288. }
  2289. },
  2290. "500": {
  2291. "description": "Internal Server Error",
  2292. "schema": {
  2293. "$ref": "#/definitions/base.HTTPError"
  2294. }
  2295. }
  2296. }
  2297. }
  2298. },
  2299. "/api/v1.0/series/": {
  2300. "get": {
  2301. "description": "车系列表",
  2302. "consumes": [
  2303. "application/json"
  2304. ],
  2305. "produces": [
  2306. "application/json"
  2307. ],
  2308. "tags": [
  2309. "series",
  2310. "v1.0"
  2311. ],
  2312. "summary": "车系列表",
  2313. "parameters": [
  2314. {
  2315. "type": "string",
  2316. "description": "jwt token",
  2317. "name": "token",
  2318. "in": "header",
  2319. "required": true
  2320. },
  2321. {
  2322. "type": "string",
  2323. "description": "品牌名称",
  2324. "name": "brand_name",
  2325. "in": "query"
  2326. },
  2327. {
  2328. "type": "string",
  2329. "description": "品牌id",
  2330. "name": "brand_id",
  2331. "in": "query"
  2332. },
  2333. {
  2334. "type": "string",
  2335. "description": "车系名称",
  2336. "name": "series_name",
  2337. "in": "query"
  2338. },
  2339. {
  2340. "type": "string",
  2341. "description": "车系id",
  2342. "name": "series_id",
  2343. "in": "query"
  2344. },
  2345. {
  2346. "type": "integer",
  2347. "description": "-1:无图片, 1:有图片",
  2348. "name": "has_img",
  2349. "in": "query"
  2350. },
  2351. {
  2352. "type": "integer",
  2353. "description": "-1:下线 1:上线",
  2354. "name": "status",
  2355. "in": "query"
  2356. },
  2357. {
  2358. "type": "integer",
  2359. "description": "页码",
  2360. "name": "page",
  2361. "in": "query"
  2362. },
  2363. {
  2364. "type": "integer",
  2365. "description": "每页数量,默认10",
  2366. "name": "page_size",
  2367. "in": "query"
  2368. }
  2369. ],
  2370. "responses": {
  2371. "200": {
  2372. "description": "OK",
  2373. "schema": {
  2374. "$ref": "#/definitions/v1.GetSeriesListResponse"
  2375. }
  2376. },
  2377. "500": {
  2378. "description": "Internal Server Error",
  2379. "schema": {
  2380. "$ref": "#/definitions/base.HTTPError"
  2381. }
  2382. }
  2383. }
  2384. },
  2385. "put": {
  2386. "description": "更新车系信息",
  2387. "consumes": [
  2388. "application/json"
  2389. ],
  2390. "produces": [
  2391. "application/json"
  2392. ],
  2393. "tags": [
  2394. "series",
  2395. "v1.0"
  2396. ],
  2397. "summary": "更新车系信息",
  2398. "parameters": [
  2399. {
  2400. "type": "string",
  2401. "description": "jwt token",
  2402. "name": "token",
  2403. "in": "header",
  2404. "required": true
  2405. },
  2406. {
  2407. "description": "body",
  2408. "name": "body",
  2409. "in": "body",
  2410. "required": true,
  2411. "schema": {
  2412. "$ref": "#/definitions/v1.UpdateSeriesBody"
  2413. }
  2414. },
  2415. {
  2416. "type": "file",
  2417. "description": "图片",
  2418. "name": "file",
  2419. "in": "formData"
  2420. }
  2421. ],
  2422. "responses": {
  2423. "200": {
  2424. "description": "OK",
  2425. "schema": {
  2426. "$ref": "#/definitions/v1.SearchResponse"
  2427. }
  2428. },
  2429. "500": {
  2430. "description": "Internal Server Error",
  2431. "schema": {
  2432. "$ref": "#/definitions/base.HTTPError"
  2433. }
  2434. }
  2435. }
  2436. }
  2437. },
  2438. "/api/v1.0/style/": {
  2439. "get": {
  2440. "description": "车型列表",
  2441. "consumes": [
  2442. "application/json"
  2443. ],
  2444. "produces": [
  2445. "application/json"
  2446. ],
  2447. "tags": [
  2448. "style",
  2449. "v1.0"
  2450. ],
  2451. "summary": "车型列表",
  2452. "parameters": [
  2453. {
  2454. "type": "string",
  2455. "description": "jwt token",
  2456. "name": "token",
  2457. "in": "header",
  2458. "required": true
  2459. },
  2460. {
  2461. "type": "string",
  2462. "description": "品牌名称",
  2463. "name": "brand_name",
  2464. "in": "query"
  2465. },
  2466. {
  2467. "type": "string",
  2468. "description": "车型名称",
  2469. "name": "style_name",
  2470. "in": "query"
  2471. },
  2472. {
  2473. "type": "string",
  2474. "description": "车系名称",
  2475. "name": "series_name",
  2476. "in": "query"
  2477. },
  2478. {
  2479. "type": "string",
  2480. "description": "品牌id",
  2481. "name": "brand_id",
  2482. "in": "query"
  2483. },
  2484. {
  2485. "type": "string",
  2486. "description": "车系id",
  2487. "name": "series_id",
  2488. "in": "query"
  2489. },
  2490. {
  2491. "type": "string",
  2492. "description": "车型id",
  2493. "name": "style_id",
  2494. "in": "query"
  2495. },
  2496. {
  2497. "type": "integer",
  2498. "description": "-1:无手册, 1:有手册",
  2499. "name": "has_manual",
  2500. "in": "query"
  2501. },
  2502. {
  2503. "type": "integer",
  2504. "description": "-1:下线 1:上线",
  2505. "name": "status",
  2506. "in": "query"
  2507. },
  2508. {
  2509. "type": "integer",
  2510. "description": "年款",
  2511. "name": "model_year",
  2512. "in": "query"
  2513. },
  2514. {
  2515. "type": "string",
  2516. "description": "厂商",
  2517. "name": "maker",
  2518. "in": "query"
  2519. },
  2520. {
  2521. "type": "integer",
  2522. "description": "页码",
  2523. "name": "page",
  2524. "in": "query"
  2525. },
  2526. {
  2527. "type": "integer",
  2528. "description": "每页数量,默认10",
  2529. "name": "page_size",
  2530. "in": "query"
  2531. }
  2532. ],
  2533. "responses": {
  2534. "200": {
  2535. "description": "OK",
  2536. "schema": {
  2537. "$ref": "#/definitions/v1.GetStyleListResponse"
  2538. }
  2539. },
  2540. "500": {
  2541. "description": "Internal Server Error",
  2542. "schema": {
  2543. "$ref": "#/definitions/base.HTTPError"
  2544. }
  2545. }
  2546. }
  2547. },
  2548. "put": {
  2549. "description": "更新车型信息",
  2550. "consumes": [
  2551. "application/json"
  2552. ],
  2553. "produces": [
  2554. "application/json"
  2555. ],
  2556. "tags": [
  2557. "style",
  2558. "v1.0"
  2559. ],
  2560. "summary": "更新车型信息",
  2561. "parameters": [
  2562. {
  2563. "type": "string",
  2564. "description": "jwt token",
  2565. "name": "token",
  2566. "in": "header",
  2567. "required": true
  2568. },
  2569. {
  2570. "description": "body",
  2571. "name": "body",
  2572. "in": "body",
  2573. "required": true,
  2574. "schema": {
  2575. "$ref": "#/definitions/v1.UpdateStyleBody"
  2576. }
  2577. }
  2578. ],
  2579. "responses": {
  2580. "200": {
  2581. "description": "OK",
  2582. "schema": {
  2583. "$ref": "#/definitions/v1.SearchResponse"
  2584. }
  2585. },
  2586. "500": {
  2587. "description": "Internal Server Error",
  2588. "schema": {
  2589. "$ref": "#/definitions/base.HTTPError"
  2590. }
  2591. }
  2592. }
  2593. }
  2594. },
  2595. "/api/v1.0/style/config": {
  2596. "put": {
  2597. "description": "更新车辆配置信息",
  2598. "consumes": [
  2599. "application/json"
  2600. ],
  2601. "produces": [
  2602. "application/json"
  2603. ],
  2604. "tags": [
  2605. "style",
  2606. "v1.0"
  2607. ],
  2608. "summary": "更新车辆配置信息",
  2609. "parameters": [
  2610. {
  2611. "type": "string",
  2612. "description": "jwt token",
  2613. "name": "token",
  2614. "in": "header",
  2615. "required": true
  2616. },
  2617. {
  2618. "description": "body",
  2619. "name": "body",
  2620. "in": "body",
  2621. "required": true,
  2622. "schema": {
  2623. "$ref": "#/definitions/v1.UpdateStyleConfigBody"
  2624. }
  2625. }
  2626. ],
  2627. "responses": {
  2628. "200": {
  2629. "description": "OK",
  2630. "schema": {
  2631. "$ref": "#/definitions/v1.SearchResponse"
  2632. }
  2633. },
  2634. "500": {
  2635. "description": "Internal Server Error",
  2636. "schema": {
  2637. "$ref": "#/definitions/base.HTTPError"
  2638. }
  2639. }
  2640. }
  2641. }
  2642. },
  2643. "/api/v1.0/style/config/{id}": {
  2644. "get": {
  2645. "description": "获取车辆配置信息",
  2646. "consumes": [
  2647. "application/json"
  2648. ],
  2649. "produces": [
  2650. "application/json"
  2651. ],
  2652. "tags": [
  2653. "style",
  2654. "v1.0"
  2655. ],
  2656. "summary": "获取车辆配置信息",
  2657. "parameters": [
  2658. {
  2659. "type": "string",
  2660. "description": "jwt token",
  2661. "name": "token",
  2662. "in": "header",
  2663. "required": true
  2664. },
  2665. {
  2666. "type": "integer",
  2667. "description": "manual:id",
  2668. "name": "id",
  2669. "in": "path",
  2670. "required": true
  2671. }
  2672. ],
  2673. "responses": {
  2674. "200": {
  2675. "description": "OK",
  2676. "schema": {
  2677. "$ref": "#/definitions/v1.GetStyleInfoResponse"
  2678. }
  2679. },
  2680. "500": {
  2681. "description": "Internal Server Error",
  2682. "schema": {
  2683. "$ref": "#/definitions/base.HTTPError"
  2684. }
  2685. }
  2686. }
  2687. }
  2688. },
  2689. "/api/v1.0/style/export": {
  2690. "get": {
  2691. "description": "导出车型列表",
  2692. "consumes": [
  2693. "application/json"
  2694. ],
  2695. "produces": [
  2696. "application/json"
  2697. ],
  2698. "tags": [
  2699. "style",
  2700. "v1.0"
  2701. ],
  2702. "summary": "导出车型列表",
  2703. "parameters": [
  2704. {
  2705. "type": "string",
  2706. "description": "jwt token",
  2707. "name": "token",
  2708. "in": "header",
  2709. "required": true
  2710. },
  2711. {
  2712. "type": "string",
  2713. "description": "任务名称",
  2714. "name": "task_name",
  2715. "in": "query"
  2716. },
  2717. {
  2718. "type": "string",
  2719. "description": "字段用,分割",
  2720. "name": "fields",
  2721. "in": "query"
  2722. }
  2723. ],
  2724. "responses": {
  2725. "200": {
  2726. "description": "OK",
  2727. "schema": {
  2728. "$ref": "#/definitions/v1.GetStyleListResponse"
  2729. }
  2730. },
  2731. "500": {
  2732. "description": "Internal Server Error",
  2733. "schema": {
  2734. "$ref": "#/definitions/base.HTTPError"
  2735. }
  2736. }
  2737. }
  2738. }
  2739. },
  2740. "/api/v1.0/style/export_task": {
  2741. "get": {
  2742. "description": "导出车型任务列表",
  2743. "consumes": [
  2744. "application/json"
  2745. ],
  2746. "produces": [
  2747. "application/json"
  2748. ],
  2749. "tags": [
  2750. "style",
  2751. "v1.0"
  2752. ],
  2753. "summary": "导出车型任务列表",
  2754. "parameters": [
  2755. {
  2756. "type": "string",
  2757. "description": "jwt token",
  2758. "name": "token",
  2759. "in": "header",
  2760. "required": true
  2761. }
  2762. ],
  2763. "responses": {
  2764. "200": {
  2765. "description": "OK",
  2766. "schema": {
  2767. "$ref": "#/definitions/v1.ExportStyleTaskListResponse"
  2768. }
  2769. },
  2770. "500": {
  2771. "description": "Internal Server Error",
  2772. "schema": {
  2773. "$ref": "#/definitions/base.HTTPError"
  2774. }
  2775. }
  2776. }
  2777. }
  2778. },
  2779. "/api/v1.0/style/export_task/{id}": {
  2780. "delete": {
  2781. "description": "删除导出车型任务",
  2782. "consumes": [
  2783. "application/json"
  2784. ],
  2785. "produces": [
  2786. "application/json"
  2787. ],
  2788. "tags": [
  2789. "style",
  2790. "v1.0"
  2791. ],
  2792. "summary": "删除导出车型任务",
  2793. "parameters": [
  2794. {
  2795. "type": "string",
  2796. "description": "jwt token",
  2797. "name": "token",
  2798. "in": "header",
  2799. "required": true
  2800. },
  2801. {
  2802. "type": "integer",
  2803. "description": "id",
  2804. "name": "id",
  2805. "in": "path",
  2806. "required": true
  2807. }
  2808. ],
  2809. "responses": {
  2810. "200": {
  2811. "description": "OK",
  2812. "schema": {
  2813. "$ref": "#/definitions/v1.GetStyleInfoResponse"
  2814. }
  2815. },
  2816. "500": {
  2817. "description": "Internal Server Error",
  2818. "schema": {
  2819. "$ref": "#/definitions/base.HTTPError"
  2820. }
  2821. }
  2822. }
  2823. }
  2824. },
  2825. "/api/v1.0/style_map_management": {
  2826. "get": {
  2827. "description": "车型映射管理",
  2828. "consumes": [
  2829. "application/json"
  2830. ],
  2831. "produces": [
  2832. "application/json"
  2833. ],
  2834. "tags": [
  2835. "style_map_management",
  2836. "v1.0"
  2837. ],
  2838. "summary": "车型映射管理",
  2839. "parameters": [
  2840. {
  2841. "type": "string",
  2842. "description": "jwt token",
  2843. "name": "token",
  2844. "in": "header",
  2845. "required": true
  2846. },
  2847. {
  2848. "type": "string",
  2849. "description": "映射源",
  2850. "name": "source",
  2851. "in": "query"
  2852. },
  2853. {
  2854. "type": "string",
  2855. "description": "映射状态",
  2856. "name": "state",
  2857. "in": "query"
  2858. },
  2859. {
  2860. "type": "string",
  2861. "description": "映射源车型id",
  2862. "name": "third_style_id",
  2863. "in": "query"
  2864. },
  2865. {
  2866. "type": "string",
  2867. "description": "车型id",
  2868. "name": "style_id",
  2869. "in": "query"
  2870. },
  2871. {
  2872. "type": "integer",
  2873. "description": "页码",
  2874. "name": "page",
  2875. "in": "query"
  2876. },
  2877. {
  2878. "type": "integer",
  2879. "description": "每页数量,默认10",
  2880. "name": "page_size",
  2881. "in": "query"
  2882. }
  2883. ],
  2884. "responses": {
  2885. "200": {
  2886. "description": "OK",
  2887. "schema": {
  2888. "$ref": "#/definitions/v1.StyleMapResponse"
  2889. }
  2890. },
  2891. "500": {
  2892. "description": "Internal Server Error",
  2893. "schema": {
  2894. "$ref": "#/definitions/base.HTTPError"
  2895. }
  2896. }
  2897. }
  2898. }
  2899. },
  2900. "/api/v1.0/style_map_management/": {
  2901. "put": {
  2902. "description": "编辑",
  2903. "consumes": [
  2904. "application/json"
  2905. ],
  2906. "produces": [
  2907. "application/json"
  2908. ],
  2909. "tags": [
  2910. "style_map_management",
  2911. "v1.0"
  2912. ],
  2913. "summary": "编辑",
  2914. "parameters": [
  2915. {
  2916. "type": "string",
  2917. "description": "jwt token",
  2918. "name": "token",
  2919. "in": "header",
  2920. "required": true
  2921. },
  2922. {
  2923. "description": "body",
  2924. "name": "body",
  2925. "in": "body",
  2926. "required": true,
  2927. "schema": {
  2928. "$ref": "#/definitions/v1.EditMapBody"
  2929. }
  2930. }
  2931. ],
  2932. "responses": {
  2933. "200": {
  2934. "description": "OK",
  2935. "schema": {
  2936. "$ref": "#/definitions/v1.EditMapResponse"
  2937. }
  2938. },
  2939. "500": {
  2940. "description": "Internal Server Error",
  2941. "schema": {
  2942. "$ref": "#/definitions/base.HTTPError"
  2943. }
  2944. }
  2945. }
  2946. }
  2947. },
  2948. "/api/v1.0/style_map_management/all_source": {
  2949. "get": {
  2950. "description": "映射源列表",
  2951. "consumes": [
  2952. "application/json"
  2953. ],
  2954. "produces": [
  2955. "application/json"
  2956. ],
  2957. "tags": [
  2958. "style_map_management",
  2959. "v1.0"
  2960. ],
  2961. "summary": "映射源列表",
  2962. "parameters": [
  2963. {
  2964. "type": "string",
  2965. "description": "jwt token",
  2966. "name": "token",
  2967. "in": "header",
  2968. "required": true
  2969. },
  2970. {
  2971. "type": "string",
  2972. "description": "映射源",
  2973. "name": "all_source",
  2974. "in": "query"
  2975. }
  2976. ],
  2977. "responses": {
  2978. "200": {
  2979. "description": "OK",
  2980. "schema": {
  2981. "$ref": "#/definitions/v1.AllSourceResponse"
  2982. }
  2983. },
  2984. "500": {
  2985. "description": "Internal Server Error",
  2986. "schema": {
  2987. "$ref": "#/definitions/base.HTTPError"
  2988. }
  2989. }
  2990. }
  2991. }
  2992. },
  2993. "/api/v1.0/task_management": {
  2994. "get": {
  2995. "description": "任务管理",
  2996. "consumes": [
  2997. "application/json"
  2998. ],
  2999. "produces": [
  3000. "application/json"
  3001. ],
  3002. "tags": [
  3003. "task_management",
  3004. "v1.0"
  3005. ],
  3006. "summary": "任务管理",
  3007. "parameters": [
  3008. {
  3009. "type": "string",
  3010. "description": "jwt token",
  3011. "name": "token",
  3012. "in": "header",
  3013. "required": true
  3014. },
  3015. {
  3016. "type": "string",
  3017. "description": "任务名",
  3018. "name": "task_name",
  3019. "in": "query"
  3020. },
  3021. {
  3022. "type": "string",
  3023. "description": "描述",
  3024. "name": "desc",
  3025. "in": "query"
  3026. },
  3027. {
  3028. "type": "integer",
  3029. "description": "页码",
  3030. "name": "page",
  3031. "in": "query"
  3032. },
  3033. {
  3034. "type": "integer",
  3035. "description": "每页数量,默认10",
  3036. "name": "page_size",
  3037. "in": "query"
  3038. }
  3039. ],
  3040. "responses": {
  3041. "200": {
  3042. "description": "OK",
  3043. "schema": {
  3044. "$ref": "#/definitions/v1.GetTaskListResponse"
  3045. }
  3046. },
  3047. "500": {
  3048. "description": "Internal Server Error",
  3049. "schema": {
  3050. "$ref": "#/definitions/base.HTTPError"
  3051. }
  3052. }
  3053. }
  3054. }
  3055. },
  3056. "/api/v1.0/task_management/dependency": {
  3057. "get": {
  3058. "description": "依赖表",
  3059. "consumes": [
  3060. "application/json"
  3061. ],
  3062. "produces": [
  3063. "application/json"
  3064. ],
  3065. "tags": [
  3066. "task_management",
  3067. "v1.0"
  3068. ],
  3069. "summary": "依赖表",
  3070. "parameters": [
  3071. {
  3072. "type": "string",
  3073. "description": "jwt token",
  3074. "name": "token",
  3075. "in": "header",
  3076. "required": true
  3077. },
  3078. {
  3079. "type": "integer",
  3080. "description": "任务id",
  3081. "name": "task_id",
  3082. "in": "query"
  3083. },
  3084. {
  3085. "type": "integer",
  3086. "description": "源表或依赖表",
  3087. "name": "type",
  3088. "in": "query",
  3089. "required": true
  3090. }
  3091. ],
  3092. "responses": {
  3093. "200": {
  3094. "description": "OK",
  3095. "schema": {
  3096. "$ref": "#/definitions/v1.GetDependencyResponse"
  3097. }
  3098. },
  3099. "500": {
  3100. "description": "Internal Server Error",
  3101. "schema": {
  3102. "$ref": "#/definitions/base.HTTPError"
  3103. }
  3104. }
  3105. }
  3106. }
  3107. },
  3108. "/api/v1.0/task_management/relation": {
  3109. "get": {
  3110. "description": "血缘关系",
  3111. "consumes": [
  3112. "application/json"
  3113. ],
  3114. "produces": [
  3115. "application/json"
  3116. ],
  3117. "tags": [
  3118. "task_management",
  3119. "v1.0"
  3120. ],
  3121. "summary": "血缘关系",
  3122. "parameters": [
  3123. {
  3124. "type": "string",
  3125. "description": "jwt token",
  3126. "name": "token",
  3127. "in": "header",
  3128. "required": true
  3129. },
  3130. {
  3131. "type": "integer",
  3132. "description": "任务id",
  3133. "name": "task_id",
  3134. "in": "query"
  3135. },
  3136. {
  3137. "type": "string",
  3138. "description": "source code",
  3139. "name": "source_code",
  3140. "in": "query"
  3141. }
  3142. ],
  3143. "responses": {
  3144. "200": {
  3145. "description": "OK",
  3146. "schema": {
  3147. "$ref": "#/definitions/v1.GetDataSourceRelationResponse"
  3148. }
  3149. },
  3150. "500": {
  3151. "description": "Internal Server Error",
  3152. "schema": {
  3153. "$ref": "#/definitions/base.HTTPError"
  3154. }
  3155. }
  3156. }
  3157. }
  3158. },
  3159. "/api/v1.0/task_management/search": {
  3160. "get": {
  3161. "description": "模糊搜索",
  3162. "consumes": [
  3163. "application/json"
  3164. ],
  3165. "produces": [
  3166. "application/json"
  3167. ],
  3168. "tags": [
  3169. "task_management",
  3170. "v1.0"
  3171. ],
  3172. "summary": "模糊搜索",
  3173. "parameters": [
  3174. {
  3175. "type": "string",
  3176. "description": "jwt token",
  3177. "name": "token",
  3178. "in": "header",
  3179. "required": true
  3180. },
  3181. {
  3182. "type": "string",
  3183. "description": "任务名",
  3184. "name": "task_name",
  3185. "in": "query"
  3186. }
  3187. ],
  3188. "responses": {
  3189. "200": {
  3190. "description": "OK",
  3191. "schema": {
  3192. "$ref": "#/definitions/v1.SearchTaskResponse"
  3193. }
  3194. },
  3195. "500": {
  3196. "description": "Internal Server Error",
  3197. "schema": {
  3198. "$ref": "#/definitions/base.HTTPError"
  3199. }
  3200. }
  3201. }
  3202. }
  3203. },
  3204. "/api/v1.0/template/detail": {
  3205. "get": {
  3206. "description": "模板详情",
  3207. "consumes": [
  3208. "application/json"
  3209. ],
  3210. "produces": [
  3211. "application/json"
  3212. ],
  3213. "tags": [
  3214. "template_list",
  3215. "v1.0"
  3216. ],
  3217. "summary": "模板详情",
  3218. "parameters": [
  3219. {
  3220. "type": "string",
  3221. "description": "jwt token",
  3222. "name": "token",
  3223. "in": "header",
  3224. "required": true
  3225. },
  3226. {
  3227. "type": "integer",
  3228. "description": "tid",
  3229. "name": "tid",
  3230. "in": "query"
  3231. }
  3232. ],
  3233. "responses": {
  3234. "200": {
  3235. "description": "OK",
  3236. "schema": {
  3237. "$ref": "#/definitions/v1.TemplateListResponse"
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/base.HTTPError"
  3244. }
  3245. }
  3246. }
  3247. },
  3248. "put": {
  3249. "description": "更新维保模板",
  3250. "consumes": [
  3251. "application/json"
  3252. ],
  3253. "produces": [
  3254. "application/json"
  3255. ],
  3256. "tags": [
  3257. "template_list",
  3258. "v1.0"
  3259. ],
  3260. "summary": "更新维保模板",
  3261. "parameters": [
  3262. {
  3263. "type": "string",
  3264. "description": "jwt token",
  3265. "name": "token",
  3266. "in": "header",
  3267. "required": true
  3268. },
  3269. {
  3270. "description": "body",
  3271. "name": "body",
  3272. "in": "body",
  3273. "required": true,
  3274. "schema": {
  3275. "$ref": "#/definitions/v1.UpdateMaintainManualBody"
  3276. }
  3277. }
  3278. ],
  3279. "responses": {
  3280. "200": {
  3281. "description": "OK",
  3282. "schema": {
  3283. "$ref": "#/definitions/v1.UpdateMaintainManualResponse"
  3284. }
  3285. },
  3286. "500": {
  3287. "description": "Internal Server Error",
  3288. "schema": {
  3289. "$ref": "#/definitions/base.HTTPError"
  3290. }
  3291. }
  3292. }
  3293. },
  3294. "post": {
  3295. "description": "新增模板",
  3296. "consumes": [
  3297. "application/json"
  3298. ],
  3299. "produces": [
  3300. "application/json"
  3301. ],
  3302. "tags": [
  3303. "template_list",
  3304. "v1.0"
  3305. ],
  3306. "summary": "新增模板",
  3307. "parameters": [
  3308. {
  3309. "type": "string",
  3310. "description": "jwt token",
  3311. "name": "token",
  3312. "in": "header",
  3313. "required": true
  3314. },
  3315. {
  3316. "description": "body",
  3317. "name": "body",
  3318. "in": "body",
  3319. "required": true,
  3320. "schema": {
  3321. "$ref": "#/definitions/v1.AddTemplateDetailBody"
  3322. }
  3323. }
  3324. ],
  3325. "responses": {
  3326. "200": {
  3327. "description": "OK",
  3328. "schema": {
  3329. "$ref": "#/definitions/v1.TemplateListResponse"
  3330. }
  3331. },
  3332. "500": {
  3333. "description": "Internal Server Error",
  3334. "schema": {
  3335. "$ref": "#/definitions/base.HTTPError"
  3336. }
  3337. }
  3338. }
  3339. }
  3340. },
  3341. "/api/v1.0/template/detail/choose": {
  3342. "post": {
  3343. "description": "选择维保模板更新到车型维保手册",
  3344. "consumes": [
  3345. "application/json"
  3346. ],
  3347. "produces": [
  3348. "application/json"
  3349. ],
  3350. "tags": [
  3351. "template_list",
  3352. "v1.0"
  3353. ],
  3354. "summary": "选择维保模板更新到车型维保手册",
  3355. "parameters": [
  3356. {
  3357. "type": "string",
  3358. "description": "jwt token",
  3359. "name": "token",
  3360. "in": "header",
  3361. "required": true
  3362. },
  3363. {
  3364. "description": "body",
  3365. "name": "body",
  3366. "in": "body",
  3367. "required": true,
  3368. "schema": {
  3369. "$ref": "#/definitions/v1.ChooseTemplateDetailBody"
  3370. }
  3371. }
  3372. ],
  3373. "responses": {
  3374. "200": {
  3375. "description": "OK",
  3376. "schema": {
  3377. "$ref": "#/definitions/v1.UpdateMaintainManualResponse"
  3378. }
  3379. },
  3380. "500": {
  3381. "description": "Internal Server Error",
  3382. "schema": {
  3383. "$ref": "#/definitions/base.HTTPError"
  3384. }
  3385. }
  3386. }
  3387. }
  3388. },
  3389. "/api/v1.0/template/detail/list": {
  3390. "get": {
  3391. "description": "模板列表",
  3392. "consumes": [
  3393. "application/json"
  3394. ],
  3395. "produces": [
  3396. "application/json"
  3397. ],
  3398. "tags": [
  3399. "template_list",
  3400. "v1.0"
  3401. ],
  3402. "summary": "模板列表",
  3403. "parameters": [
  3404. {
  3405. "type": "string",
  3406. "description": "jwt token",
  3407. "name": "token",
  3408. "in": "header",
  3409. "required": true
  3410. },
  3411. {
  3412. "type": "integer",
  3413. "description": "tid",
  3414. "name": "tid",
  3415. "in": "query"
  3416. },
  3417. {
  3418. "type": "integer",
  3419. "description": "页码",
  3420. "name": "page",
  3421. "in": "query"
  3422. },
  3423. {
  3424. "type": "integer",
  3425. "description": "每页数量,默认10",
  3426. "name": "page_size",
  3427. "in": "query"
  3428. }
  3429. ],
  3430. "responses": {
  3431. "200": {
  3432. "description": "OK",
  3433. "schema": {
  3434. "$ref": "#/definitions/v1.TemplateListResponse"
  3435. }
  3436. },
  3437. "500": {
  3438. "description": "Internal Server Error",
  3439. "schema": {
  3440. "$ref": "#/definitions/base.HTTPError"
  3441. }
  3442. }
  3443. }
  3444. }
  3445. },
  3446. "/api/v1.0/template/item_list": {
  3447. "get": {
  3448. "description": "维保项目",
  3449. "consumes": [
  3450. "application/json"
  3451. ],
  3452. "produces": [
  3453. "application/json"
  3454. ],
  3455. "tags": [
  3456. "template_list",
  3457. "v1.0"
  3458. ],
  3459. "summary": "维保项目",
  3460. "parameters": [
  3461. {
  3462. "type": "string",
  3463. "description": "jwt token",
  3464. "name": "token",
  3465. "in": "header",
  3466. "required": true
  3467. },
  3468. {
  3469. "type": "integer",
  3470. "description": "item_type",
  3471. "name": "item_type",
  3472. "in": "query",
  3473. "required": true
  3474. },
  3475. {
  3476. "type": "integer",
  3477. "description": "template_id",
  3478. "name": "tid",
  3479. "in": "query"
  3480. }
  3481. ],
  3482. "responses": {
  3483. "200": {
  3484. "description": "OK",
  3485. "schema": {
  3486. "$ref": "#/definitions/v1.GetItemListResponse"
  3487. }
  3488. },
  3489. "500": {
  3490. "description": "Internal Server Error",
  3491. "schema": {
  3492. "$ref": "#/definitions/base.HTTPError"
  3493. }
  3494. }
  3495. }
  3496. }
  3497. },
  3498. "/api/v1.0/template/list": {
  3499. "get": {
  3500. "description": "模板名称列表",
  3501. "consumes": [
  3502. "application/json"
  3503. ],
  3504. "produces": [
  3505. "application/json"
  3506. ],
  3507. "tags": [
  3508. "template_list",
  3509. "v1.0"
  3510. ],
  3511. "summary": "模板名称列表",
  3512. "parameters": [
  3513. {
  3514. "type": "string",
  3515. "description": "jwt token",
  3516. "name": "token",
  3517. "in": "header",
  3518. "required": true
  3519. },
  3520. {
  3521. "type": "string",
  3522. "description": "名称",
  3523. "name": "name",
  3524. "in": "query"
  3525. }
  3526. ],
  3527. "responses": {
  3528. "200": {
  3529. "description": "OK",
  3530. "schema": {
  3531. "$ref": "#/definitions/v1.TemplateListResponse"
  3532. }
  3533. },
  3534. "500": {
  3535. "description": "Internal Server Error",
  3536. "schema": {
  3537. "$ref": "#/definitions/base.HTTPError"
  3538. }
  3539. }
  3540. }
  3541. }
  3542. },
  3543. "/api/v1.0/upload/": {
  3544. "post": {
  3545. "description": "上传图片",
  3546. "consumes": [
  3547. "application/json"
  3548. ],
  3549. "produces": [
  3550. "application/json"
  3551. ],
  3552. "tags": [
  3553. "upload",
  3554. "v1.0"
  3555. ],
  3556. "summary": "上传图片",
  3557. "parameters": [
  3558. {
  3559. "type": "string",
  3560. "description": "jwt token",
  3561. "name": "token",
  3562. "in": "header",
  3563. "required": true
  3564. },
  3565. {
  3566. "type": "file",
  3567. "description": "图片",
  3568. "name": "file",
  3569. "in": "formData",
  3570. "required": true
  3571. },
  3572. {
  3573. "type": "string",
  3574. "description": "brand_id/series_id",
  3575. "name": "id",
  3576. "in": "formData",
  3577. "required": true
  3578. },
  3579. {
  3580. "type": "integer",
  3581. "description": "类型 1:brand 2:series",
  3582. "name": "type",
  3583. "in": "formData",
  3584. "required": true
  3585. }
  3586. ],
  3587. "responses": {
  3588. "200": {
  3589. "description": "{}",
  3590. "schema": {
  3591. "type": "string"
  3592. }
  3593. },
  3594. "500": {
  3595. "description": "Internal Server Error",
  3596. "schema": {
  3597. "$ref": "#/definitions/base.HTTPError"
  3598. }
  3599. }
  3600. }
  3601. }
  3602. }
  3603. },
  3604. "definitions": {
  3605. "base.HTTPError": {
  3606. "type": "object",
  3607. "properties": {
  3608. "code": {
  3609. "type": "integer",
  3610. "format": "int",
  3611. "example": 500
  3612. },
  3613. "message": {
  3614. "type": "string",
  3615. "example": "status bad request"
  3616. }
  3617. }
  3618. },
  3619. "v1.APIList": {
  3620. "type": "object",
  3621. "properties": {
  3622. "api_id": {
  3623. "type": "integer"
  3624. },
  3625. "api_no": {
  3626. "type": "string"
  3627. },
  3628. "created_at": {
  3629. "type": "integer"
  3630. },
  3631. "desc": {
  3632. "type": "string"
  3633. }
  3634. }
  3635. },
  3636. "v1.APIListReply": {
  3637. "type": "object",
  3638. "properties": {
  3639. "current_page": {
  3640. "type": "integer"
  3641. },
  3642. "first_page": {
  3643. "type": "integer"
  3644. },
  3645. "host": {
  3646. "type": "string"
  3647. },
  3648. "last_page": {
  3649. "type": "integer"
  3650. },
  3651. "list": {
  3652. "type": "array",
  3653. "items": {
  3654. "$ref": "#/definitions/v1.APIList"
  3655. }
  3656. },
  3657. "next_page": {
  3658. "type": "integer"
  3659. },
  3660. "per_page": {
  3661. "type": "integer"
  3662. },
  3663. "prev_page": {
  3664. "type": "integer"
  3665. },
  3666. "total": {
  3667. "type": "integer"
  3668. }
  3669. }
  3670. },
  3671. "v1.AddTemplateDetailBody": {
  3672. "type": "object",
  3673. "properties": {
  3674. "date_cycle": {
  3675. "type": "integer"
  3676. },
  3677. "item_id": {
  3678. "type": "integer"
  3679. },
  3680. "mile_cycle": {
  3681. "type": "integer"
  3682. },
  3683. "name": {
  3684. "type": "string"
  3685. },
  3686. "start_date": {
  3687. "type": "integer"
  3688. },
  3689. "start_mile": {
  3690. "type": "integer"
  3691. },
  3692. "tid": {
  3693. "type": "integer"
  3694. }
  3695. }
  3696. },
  3697. "v1.AllAPIReply": {
  3698. "type": "object",
  3699. "properties": {
  3700. "host": {
  3701. "type": "string"
  3702. },
  3703. "list": {
  3704. "type": "array",
  3705. "items": {
  3706. "type": "string"
  3707. }
  3708. }
  3709. }
  3710. },
  3711. "v1.AllAPIResponse": {
  3712. "type": "object",
  3713. "properties": {
  3714. "code": {
  3715. "description": "返回码",
  3716. "type": "integer",
  3717. "format": "int",
  3718. "default": 0
  3719. },
  3720. "data": {
  3721. "$ref": "#/definitions/v1.AllAPIReply"
  3722. },
  3723. "message": {
  3724. "description": "消息",
  3725. "type": "string",
  3726. "default": "success"
  3727. }
  3728. }
  3729. },
  3730. "v1.AllKeyResponse": {
  3731. "type": "object",
  3732. "properties": {
  3733. "code": {
  3734. "description": "返回码",
  3735. "type": "integer",
  3736. "format": "int",
  3737. "default": 0
  3738. },
  3739. "data": {
  3740. "type": "array",
  3741. "items": {
  3742. "type": "string"
  3743. }
  3744. },
  3745. "message": {
  3746. "description": "消息",
  3747. "type": "string",
  3748. "default": "success"
  3749. }
  3750. }
  3751. },
  3752. "v1.AllSourceResponse": {
  3753. "type": "object",
  3754. "properties": {
  3755. "code": {
  3756. "description": "返回码",
  3757. "type": "integer",
  3758. "format": "int",
  3759. "default": 0
  3760. },
  3761. "data": {
  3762. "type": "array",
  3763. "items": {
  3764. "type": "string"
  3765. }
  3766. },
  3767. "message": {
  3768. "description": "消息",
  3769. "type": "string",
  3770. "default": "success"
  3771. }
  3772. }
  3773. },
  3774. "v1.AnnouncementList": {
  3775. "type": "object",
  3776. "properties": {
  3777. "brand_name": {
  3778. "type": "string"
  3779. },
  3780. "id": {
  3781. "type": "integer"
  3782. },
  3783. "model_no": {
  3784. "type": "string"
  3785. },
  3786. "vehicle_batch": {
  3787. "type": "string"
  3788. },
  3789. "vehicle_type_detail": {
  3790. "type": "string"
  3791. },
  3792. "vin_rules": {
  3793. "type": "string"
  3794. }
  3795. }
  3796. },
  3797. "v1.AnnouncementReply": {
  3798. "type": "object",
  3799. "properties": {
  3800. "current_page": {
  3801. "type": "integer"
  3802. },
  3803. "first_page": {
  3804. "type": "integer"
  3805. },
  3806. "last_page": {
  3807. "type": "integer"
  3808. },
  3809. "list": {
  3810. "type": "array",
  3811. "items": {
  3812. "$ref": "#/definitions/v1.AnnouncementList"
  3813. }
  3814. },
  3815. "next_page": {
  3816. "type": "integer"
  3817. },
  3818. "per_page": {
  3819. "type": "integer"
  3820. },
  3821. "prev_page": {
  3822. "type": "integer"
  3823. },
  3824. "total": {
  3825. "type": "integer"
  3826. }
  3827. }
  3828. },
  3829. "v1.BrandList": {
  3830. "type": "object",
  3831. "properties": {
  3832. "brand_id": {
  3833. "type": "string"
  3834. },
  3835. "brand_name": {
  3836. "type": "string"
  3837. },
  3838. "has_img": {
  3839. "type": "integer"
  3840. },
  3841. "id": {
  3842. "type": "integer"
  3843. },
  3844. "image": {
  3845. "type": "string"
  3846. },
  3847. "initial": {
  3848. "type": "string"
  3849. },
  3850. "old_brand_name": {
  3851. "type": "string"
  3852. },
  3853. "status": {
  3854. "type": "integer"
  3855. },
  3856. "weight": {
  3857. "type": "integer"
  3858. }
  3859. }
  3860. },
  3861. "v1.BrandListReply": {
  3862. "type": "object",
  3863. "properties": {
  3864. "current_page": {
  3865. "type": "integer"
  3866. },
  3867. "first_page": {
  3868. "type": "integer"
  3869. },
  3870. "last_page": {
  3871. "type": "integer"
  3872. },
  3873. "list": {
  3874. "type": "array",
  3875. "items": {
  3876. "$ref": "#/definitions/v1.BrandList"
  3877. }
  3878. },
  3879. "next_page": {
  3880. "type": "integer"
  3881. },
  3882. "per_page": {
  3883. "type": "integer"
  3884. },
  3885. "prev_page": {
  3886. "type": "integer"
  3887. },
  3888. "total": {
  3889. "type": "integer"
  3890. }
  3891. }
  3892. },
  3893. "v1.CheckAPI": {
  3894. "type": "object",
  3895. "properties": {
  3896. "desc": {
  3897. "type": "string"
  3898. },
  3899. "key": {
  3900. "type": "string"
  3901. },
  3902. "value": {
  3903. "type": "string"
  3904. }
  3905. }
  3906. },
  3907. "v1.CheckAPIReply": {
  3908. "type": "object",
  3909. "properties": {
  3910. "api_no": {
  3911. "type": "string"
  3912. },
  3913. "desc": {
  3914. "type": "string"
  3915. },
  3916. "list": {
  3917. "type": "array",
  3918. "items": {
  3919. "$ref": "#/definitions/v1.RelatedTables"
  3920. }
  3921. },
  3922. "request": {
  3923. "type": "string"
  3924. },
  3925. "response": {
  3926. "type": "string"
  3927. }
  3928. }
  3929. },
  3930. "v1.ChooseTemplateDetailBody": {
  3931. "type": "object",
  3932. "properties": {
  3933. "style_id": {
  3934. "type": "string"
  3935. },
  3936. "tid": {
  3937. "type": "integer"
  3938. }
  3939. }
  3940. },
  3941. "v1.CreateBody": {
  3942. "type": "object",
  3943. "properties": {
  3944. "source": {
  3945. "type": "string"
  3946. },
  3947. "sql": {
  3948. "type": "string"
  3949. },
  3950. "task_ids": {
  3951. "type": "array",
  3952. "items": {
  3953. "type": "string"
  3954. }
  3955. },
  3956. "task_name": {
  3957. "type": "string"
  3958. },
  3959. "type": {
  3960. "type": "integer"
  3961. }
  3962. }
  3963. },
  3964. "v1.CreateKeyBody": {
  3965. "type": "object",
  3966. "properties": {
  3967. "desc": {
  3968. "type": "string"
  3969. }
  3970. }
  3971. },
  3972. "v1.CreateKeyResponse": {
  3973. "type": "object",
  3974. "properties": {
  3975. "code": {
  3976. "description": "返回码",
  3977. "type": "integer",
  3978. "format": "int",
  3979. "default": 0
  3980. },
  3981. "message": {
  3982. "description": "消息",
  3983. "type": "string",
  3984. "default": "success"
  3985. }
  3986. }
  3987. },
  3988. "v1.CreateResponse": {
  3989. "type": "object",
  3990. "properties": {
  3991. "code": {
  3992. "description": "返回码",
  3993. "type": "integer",
  3994. "format": "int",
  3995. "default": 0
  3996. },
  3997. "message": {
  3998. "description": "消息",
  3999. "type": "string",
  4000. "default": "success"
  4001. }
  4002. }
  4003. },
  4004. "v1.CreateTemplateBody": {
  4005. "type": "object",
  4006. "properties": {
  4007. "request": {
  4008. "type": "array",
  4009. "items": {
  4010. "type": "string"
  4011. }
  4012. },
  4013. "task_name": {
  4014. "type": "array",
  4015. "items": {
  4016. "type": "string"
  4017. }
  4018. },
  4019. "template_name": {
  4020. "type": "string"
  4021. }
  4022. }
  4023. },
  4024. "v1.CreateTemplateResponse": {
  4025. "type": "object",
  4026. "properties": {
  4027. "code": {
  4028. "description": "返回码",
  4029. "type": "integer",
  4030. "format": "int",
  4031. "default": 0
  4032. },
  4033. "message": {
  4034. "description": "消息",
  4035. "type": "string",
  4036. "default": "success"
  4037. }
  4038. }
  4039. },
  4040. "v1.DataImport": {
  4041. "type": "object",
  4042. "properties": {
  4043. "request": {
  4044. "type": "string"
  4045. },
  4046. "value": {
  4047. "type": "string"
  4048. }
  4049. }
  4050. },
  4051. "v1.DataImportBody": {
  4052. "type": "object",
  4053. "properties": {
  4054. "id": {
  4055. "type": "integer"
  4056. },
  4057. "request_list": {
  4058. "type": "array",
  4059. "items": {
  4060. "$ref": "#/definitions/v1.DataImport"
  4061. }
  4062. }
  4063. }
  4064. },
  4065. "v1.DataImportResponse": {
  4066. "type": "object",
  4067. "properties": {
  4068. "code": {
  4069. "description": "返回码",
  4070. "type": "integer",
  4071. "format": "int",
  4072. "default": 0
  4073. },
  4074. "message": {
  4075. "description": "消息",
  4076. "type": "string",
  4077. "default": "success"
  4078. }
  4079. }
  4080. },
  4081. "v1.DataImportTemplateList": {
  4082. "type": "object",
  4083. "properties": {
  4084. "id": {
  4085. "type": "integer"
  4086. },
  4087. "request": {
  4088. "type": "array",
  4089. "items": {
  4090. "$ref": "#/definitions/v1.RequestList"
  4091. }
  4092. },
  4093. "task_desc": {
  4094. "type": "array",
  4095. "items": {
  4096. "type": "string"
  4097. }
  4098. },
  4099. "task_name": {
  4100. "type": "array",
  4101. "items": {
  4102. "type": "string"
  4103. }
  4104. },
  4105. "template_name": {
  4106. "type": "string"
  4107. }
  4108. }
  4109. },
  4110. "v1.DataImportTemplateReply": {
  4111. "type": "object",
  4112. "properties": {
  4113. "current_page": {
  4114. "type": "integer"
  4115. },
  4116. "first_page": {
  4117. "type": "integer"
  4118. },
  4119. "last_page": {
  4120. "type": "integer"
  4121. },
  4122. "list": {
  4123. "type": "array",
  4124. "items": {
  4125. "$ref": "#/definitions/v1.DataImportTemplateList"
  4126. }
  4127. },
  4128. "next_page": {
  4129. "type": "integer"
  4130. },
  4131. "per_page": {
  4132. "type": "integer"
  4133. },
  4134. "prev_page": {
  4135. "type": "integer"
  4136. },
  4137. "total": {
  4138. "type": "integer"
  4139. }
  4140. }
  4141. },
  4142. "v1.DataImportTemplateResponse": {
  4143. "type": "object",
  4144. "properties": {
  4145. "code": {
  4146. "description": "返回码",
  4147. "type": "integer",
  4148. "format": "int",
  4149. "default": 0
  4150. },
  4151. "data": {
  4152. "$ref": "#/definitions/v1.DataImportTemplateReply"
  4153. },
  4154. "message": {
  4155. "description": "消息",
  4156. "type": "string",
  4157. "default": "success"
  4158. }
  4159. }
  4160. },
  4161. "v1.DataList": {
  4162. "type": "object",
  4163. "properties": {
  4164. "db": {
  4165. "type": "string"
  4166. },
  4167. "desc": {
  4168. "type": "string"
  4169. },
  4170. "level": {
  4171. "type": "string"
  4172. },
  4173. "source_code": {
  4174. "type": "string"
  4175. },
  4176. "table_id": {
  4177. "type": "integer"
  4178. },
  4179. "table_name": {
  4180. "type": "string"
  4181. }
  4182. }
  4183. },
  4184. "v1.DataListReply": {
  4185. "type": "object",
  4186. "properties": {
  4187. "current_page": {
  4188. "type": "integer"
  4189. },
  4190. "first_page": {
  4191. "type": "integer"
  4192. },
  4193. "last_page": {
  4194. "type": "integer"
  4195. },
  4196. "list": {
  4197. "type": "array",
  4198. "items": {
  4199. "$ref": "#/definitions/v1.DataList"
  4200. }
  4201. },
  4202. "next_page": {
  4203. "type": "integer"
  4204. },
  4205. "per_page": {
  4206. "type": "integer"
  4207. },
  4208. "prev_page": {
  4209. "type": "integer"
  4210. },
  4211. "total": {
  4212. "type": "integer"
  4213. }
  4214. }
  4215. },
  4216. "v1.DataSourceRelationReply": {
  4217. "type": "object",
  4218. "properties": {
  4219. "node": {
  4220. "$ref": "#/definitions/v1.DataSourceRelationReply_Node"
  4221. }
  4222. }
  4223. },
  4224. "v1.DataSourceRelationReply_Node": {
  4225. "type": "object",
  4226. "properties": {
  4227. "desc": {
  4228. "type": "string"
  4229. },
  4230. "entry": {
  4231. "type": "array",
  4232. "items": {
  4233. "$ref": "#/definitions/v1.DataSourceRelationReply_Node"
  4234. }
  4235. },
  4236. "is_task": {
  4237. "type": "boolean"
  4238. },
  4239. "node_name": {
  4240. "type": "string"
  4241. },
  4242. "output": {
  4243. "type": "array",
  4244. "items": {
  4245. "$ref": "#/definitions/v1.DataSourceRelationReply_Node"
  4246. }
  4247. },
  4248. "rely": {
  4249. "type": "array",
  4250. "items": {
  4251. "$ref": "#/definitions/v1.Rely"
  4252. }
  4253. }
  4254. }
  4255. },
  4256. "v1.DeleteKeyResponse": {
  4257. "type": "object",
  4258. "properties": {
  4259. "code": {
  4260. "description": "返回码",
  4261. "type": "integer",
  4262. "format": "int",
  4263. "default": 0
  4264. },
  4265. "message": {
  4266. "description": "消息",
  4267. "type": "string",
  4268. "default": "success"
  4269. }
  4270. }
  4271. },
  4272. "v1.DeleteTemplateResponse": {
  4273. "type": "object",
  4274. "properties": {
  4275. "code": {
  4276. "description": "返回码",
  4277. "type": "integer",
  4278. "format": "int",
  4279. "default": 0
  4280. },
  4281. "message": {
  4282. "description": "消息",
  4283. "type": "string",
  4284. "default": "success"
  4285. }
  4286. }
  4287. },
  4288. "v1.Dependency": {
  4289. "type": "object",
  4290. "properties": {
  4291. "desc": {
  4292. "type": "string"
  4293. },
  4294. "table_name": {
  4295. "type": "string"
  4296. }
  4297. }
  4298. },
  4299. "v1.DependencyReply": {
  4300. "type": "object",
  4301. "properties": {
  4302. "list": {
  4303. "type": "array",
  4304. "items": {
  4305. "$ref": "#/definitions/v1.Dependency"
  4306. }
  4307. }
  4308. }
  4309. },
  4310. "v1.EditList": {
  4311. "type": "object",
  4312. "properties": {
  4313. "desc": {
  4314. "type": "string"
  4315. },
  4316. "key": {
  4317. "type": "string"
  4318. },
  4319. "value": {
  4320. "type": "string"
  4321. }
  4322. }
  4323. },
  4324. "v1.EditMapBody": {
  4325. "type": "object",
  4326. "properties": {
  4327. "style_id": {
  4328. "type": "string"
  4329. },
  4330. "third_style_id": {
  4331. "type": "string"
  4332. }
  4333. }
  4334. },
  4335. "v1.EditMapReply": {
  4336. "type": "object",
  4337. "properties": {
  4338. "code": {
  4339. "type": "integer"
  4340. }
  4341. }
  4342. },
  4343. "v1.EditMapResponse": {
  4344. "type": "object",
  4345. "properties": {
  4346. "code": {
  4347. "description": "返回码",
  4348. "type": "integer",
  4349. "format": "int",
  4350. "default": 0
  4351. },
  4352. "data": {
  4353. "$ref": "#/definitions/v1.EditMapReply"
  4354. },
  4355. "message": {
  4356. "description": "消息",
  4357. "type": "string",
  4358. "default": "success"
  4359. }
  4360. }
  4361. },
  4362. "v1.EditReply": {
  4363. "type": "object",
  4364. "properties": {
  4365. "List": {
  4366. "type": "array",
  4367. "items": {
  4368. "$ref": "#/definitions/v1.EditList"
  4369. }
  4370. }
  4371. }
  4372. },
  4373. "v1.EditTemplateBody": {
  4374. "type": "object",
  4375. "properties": {
  4376. "id": {
  4377. "type": "integer"
  4378. },
  4379. "request": {
  4380. "type": "array",
  4381. "items": {
  4382. "type": "string"
  4383. }
  4384. },
  4385. "task_name": {
  4386. "type": "array",
  4387. "items": {
  4388. "type": "string"
  4389. }
  4390. },
  4391. "template_name": {
  4392. "type": "string"
  4393. }
  4394. }
  4395. },
  4396. "v1.EditTemplateResponse": {
  4397. "type": "object",
  4398. "properties": {
  4399. "code": {
  4400. "description": "返回码",
  4401. "type": "integer",
  4402. "format": "int",
  4403. "default": 0
  4404. },
  4405. "message": {
  4406. "description": "消息",
  4407. "type": "string",
  4408. "default": "success"
  4409. }
  4410. }
  4411. },
  4412. "v1.ExcelReply": {
  4413. "type": "object",
  4414. "properties": {
  4415. "url": {
  4416. "type": "string"
  4417. }
  4418. }
  4419. },
  4420. "v1.ExcelResponse": {
  4421. "type": "object",
  4422. "properties": {
  4423. "code": {
  4424. "description": "返回码",
  4425. "type": "integer",
  4426. "format": "int",
  4427. "default": 0
  4428. },
  4429. "data": {
  4430. "$ref": "#/definitions/v1.ExcelReply"
  4431. },
  4432. "message": {
  4433. "description": "消息",
  4434. "type": "string",
  4435. "default": "success"
  4436. }
  4437. }
  4438. },
  4439. "v1.ExportStyleTaskList": {
  4440. "type": "object",
  4441. "properties": {
  4442. "created_at": {
  4443. "type": "string"
  4444. },
  4445. "id": {
  4446. "type": "integer"
  4447. },
  4448. "path": {
  4449. "type": "string"
  4450. },
  4451. "task_name": {
  4452. "type": "string"
  4453. }
  4454. }
  4455. },
  4456. "v1.ExportStyleTaskListReply": {
  4457. "type": "object",
  4458. "properties": {
  4459. "list": {
  4460. "type": "array",
  4461. "items": {
  4462. "$ref": "#/definitions/v1.ExportStyleTaskList"
  4463. }
  4464. }
  4465. }
  4466. },
  4467. "v1.ExportStyleTaskListResponse": {
  4468. "type": "object",
  4469. "properties": {
  4470. "code": {
  4471. "description": "返回码",
  4472. "type": "integer",
  4473. "format": "int",
  4474. "default": 0
  4475. },
  4476. "data": {
  4477. "$ref": "#/definitions/v1.ExportStyleTaskListReply"
  4478. },
  4479. "message": {
  4480. "description": "消息",
  4481. "type": "string",
  4482. "default": "success"
  4483. }
  4484. }
  4485. },
  4486. "v1.Field": {
  4487. "type": "object",
  4488. "properties": {
  4489. "desc": {
  4490. "type": "string"
  4491. },
  4492. "field": {
  4493. "type": "string"
  4494. },
  4495. "type": {
  4496. "type": "string"
  4497. }
  4498. }
  4499. },
  4500. "v1.FieldReply": {
  4501. "type": "object",
  4502. "properties": {
  4503. "current_page": {
  4504. "type": "integer"
  4505. },
  4506. "first_page": {
  4507. "type": "integer"
  4508. },
  4509. "last_page": {
  4510. "type": "integer"
  4511. },
  4512. "list": {
  4513. "type": "array",
  4514. "items": {
  4515. "$ref": "#/definitions/v1.Field"
  4516. }
  4517. },
  4518. "next_page": {
  4519. "type": "integer"
  4520. },
  4521. "per_page": {
  4522. "type": "integer"
  4523. },
  4524. "prev_page": {
  4525. "type": "integer"
  4526. },
  4527. "total": {
  4528. "type": "integer"
  4529. }
  4530. }
  4531. },
  4532. "v1.GetAPIListResponse": {
  4533. "type": "object",
  4534. "properties": {
  4535. "code": {
  4536. "description": "返回码",
  4537. "type": "integer",
  4538. "format": "int",
  4539. "default": 0
  4540. },
  4541. "data": {
  4542. "$ref": "#/definitions/v1.APIListReply"
  4543. },
  4544. "message": {
  4545. "description": "消息",
  4546. "type": "string",
  4547. "default": "success"
  4548. }
  4549. }
  4550. },
  4551. "v1.GetAnnouncementResponse": {
  4552. "type": "object",
  4553. "properties": {
  4554. "code": {
  4555. "description": "返回码",
  4556. "type": "integer",
  4557. "format": "int",
  4558. "default": 0
  4559. },
  4560. "data": {
  4561. "$ref": "#/definitions/v1.AnnouncementReply"
  4562. },
  4563. "message": {
  4564. "description": "消息",
  4565. "type": "string",
  4566. "default": "success"
  4567. }
  4568. }
  4569. },
  4570. "v1.GetBrandListResponse": {
  4571. "type": "object",
  4572. "properties": {
  4573. "code": {
  4574. "description": "返回码",
  4575. "type": "integer",
  4576. "format": "int",
  4577. "default": 0
  4578. },
  4579. "data": {
  4580. "$ref": "#/definitions/v1.BrandListReply"
  4581. },
  4582. "message": {
  4583. "description": "消息",
  4584. "type": "string",
  4585. "default": "success"
  4586. }
  4587. }
  4588. },
  4589. "v1.GetCheckAPIResponse": {
  4590. "type": "object",
  4591. "properties": {
  4592. "code": {
  4593. "description": "返回码",
  4594. "type": "integer",
  4595. "format": "int",
  4596. "default": 0
  4597. },
  4598. "data": {
  4599. "$ref": "#/definitions/v1.CheckAPIReply"
  4600. },
  4601. "message": {
  4602. "description": "消息",
  4603. "type": "string",
  4604. "default": "success"
  4605. }
  4606. }
  4607. },
  4608. "v1.GetDataListResponse": {
  4609. "type": "object",
  4610. "properties": {
  4611. "code": {
  4612. "description": "返回码",
  4613. "type": "integer",
  4614. "format": "int",
  4615. "default": 0
  4616. },
  4617. "dataList": {
  4618. "$ref": "#/definitions/v1.DataListReply"
  4619. },
  4620. "message": {
  4621. "description": "消息",
  4622. "type": "string",
  4623. "default": "success"
  4624. }
  4625. }
  4626. },
  4627. "v1.GetDataSourceRelationResponse": {
  4628. "type": "object",
  4629. "properties": {
  4630. "code": {
  4631. "description": "返回码",
  4632. "type": "integer",
  4633. "format": "int",
  4634. "default": 0
  4635. },
  4636. "data": {
  4637. "$ref": "#/definitions/v1.DataSourceRelationReply"
  4638. },
  4639. "message": {
  4640. "description": "消息",
  4641. "type": "string",
  4642. "default": "success"
  4643. }
  4644. }
  4645. },
  4646. "v1.GetDeleteAPIResponse": {
  4647. "type": "object",
  4648. "properties": {
  4649. "code": {
  4650. "description": "返回码",
  4651. "type": "integer",
  4652. "format": "int",
  4653. "default": 0
  4654. },
  4655. "message": {
  4656. "description": "消息",
  4657. "type": "string",
  4658. "default": "success"
  4659. }
  4660. }
  4661. },
  4662. "v1.GetDependencyResponse": {
  4663. "type": "object",
  4664. "properties": {
  4665. "code": {
  4666. "description": "返回码",
  4667. "type": "integer",
  4668. "format": "int",
  4669. "default": 0
  4670. },
  4671. "dependencyData": {
  4672. "$ref": "#/definitions/v1.DependencyReply"
  4673. },
  4674. "message": {
  4675. "description": "消息",
  4676. "type": "string",
  4677. "default": "success"
  4678. }
  4679. }
  4680. },
  4681. "v1.GetEditResponse": {
  4682. "type": "object",
  4683. "properties": {
  4684. "code": {
  4685. "description": "返回码",
  4686. "type": "integer",
  4687. "format": "int",
  4688. "default": 0
  4689. },
  4690. "data": {
  4691. "$ref": "#/definitions/v1.EditReply"
  4692. },
  4693. "message": {
  4694. "description": "消息",
  4695. "type": "string",
  4696. "default": "success"
  4697. }
  4698. }
  4699. },
  4700. "v1.GetFieldListResponse": {
  4701. "type": "object",
  4702. "properties": {
  4703. "code": {
  4704. "description": "返回码",
  4705. "type": "integer",
  4706. "format": "int",
  4707. "default": 0
  4708. },
  4709. "data": {
  4710. "$ref": "#/definitions/v1.FieldReply"
  4711. },
  4712. "message": {
  4713. "description": "消息",
  4714. "type": "string",
  4715. "default": "success"
  4716. }
  4717. }
  4718. },
  4719. "v1.GetItemListResponse": {
  4720. "type": "object",
  4721. "properties": {
  4722. "code": {
  4723. "description": "返回码",
  4724. "type": "integer",
  4725. "format": "int",
  4726. "default": 0
  4727. },
  4728. "data": {
  4729. "$ref": "#/definitions/v1.ItemListReply"
  4730. },
  4731. "message": {
  4732. "description": "消息",
  4733. "type": "string",
  4734. "default": "success"
  4735. }
  4736. }
  4737. },
  4738. "v1.GetKeyListResponse": {
  4739. "type": "object",
  4740. "properties": {
  4741. "code": {
  4742. "description": "返回码",
  4743. "type": "integer",
  4744. "format": "int",
  4745. "default": 0
  4746. },
  4747. "data": {
  4748. "$ref": "#/definitions/v1.KeyListReply"
  4749. },
  4750. "message": {
  4751. "description": "消息",
  4752. "type": "string",
  4753. "default": "success"
  4754. }
  4755. }
  4756. },
  4757. "v1.GetMaintainaceManualInfoResponse": {
  4758. "type": "object",
  4759. "properties": {
  4760. "code": {
  4761. "description": "返回码",
  4762. "type": "integer",
  4763. "format": "int",
  4764. "default": 0
  4765. },
  4766. "data": {
  4767. "$ref": "#/definitions/v1.MaintainManualInfoReply"
  4768. },
  4769. "message": {
  4770. "description": "消息",
  4771. "type": "string",
  4772. "default": "success"
  4773. }
  4774. }
  4775. },
  4776. "v1.GetMaintainaceManualResponse": {
  4777. "type": "object",
  4778. "properties": {
  4779. "code": {
  4780. "description": "返回码",
  4781. "type": "integer",
  4782. "format": "int",
  4783. "default": 0
  4784. },
  4785. "data": {
  4786. "$ref": "#/definitions/v1.MaintainManualReply"
  4787. },
  4788. "message": {
  4789. "description": "消息",
  4790. "type": "string",
  4791. "default": "success"
  4792. }
  4793. }
  4794. },
  4795. "v1.GetMakerResponse": {
  4796. "type": "object",
  4797. "properties": {
  4798. "code": {
  4799. "description": "返回码",
  4800. "type": "integer",
  4801. "format": "int",
  4802. "default": 0
  4803. },
  4804. "data": {
  4805. "type": "array",
  4806. "items": {
  4807. "$ref": "#/definitions/v1.MakerList"
  4808. }
  4809. },
  4810. "message": {
  4811. "description": "消息",
  4812. "type": "string",
  4813. "default": "success"
  4814. }
  4815. }
  4816. },
  4817. "v1.GetManualTaskResponse": {
  4818. "type": "object",
  4819. "properties": {
  4820. "code": {
  4821. "description": "返回码",
  4822. "type": "integer",
  4823. "format": "int",
  4824. "default": 0
  4825. },
  4826. "manualTaskData": {
  4827. "$ref": "#/definitions/v1.ManualTaskReply"
  4828. },
  4829. "message": {
  4830. "description": "消息",
  4831. "type": "string",
  4832. "default": "success"
  4833. }
  4834. }
  4835. },
  4836. "v1.GetRelationResponse": {
  4837. "type": "object",
  4838. "properties": {
  4839. "code": {
  4840. "description": "返回码",
  4841. "type": "integer",
  4842. "format": "int",
  4843. "default": 0
  4844. },
  4845. "message": {
  4846. "description": "消息",
  4847. "type": "string",
  4848. "default": "success"
  4849. },
  4850. "relationData": {
  4851. "$ref": "#/definitions/v1.RelationReply"
  4852. }
  4853. }
  4854. },
  4855. "v1.GetSeriesListResponse": {
  4856. "type": "object",
  4857. "properties": {
  4858. "code": {
  4859. "description": "返回码",
  4860. "type": "integer",
  4861. "format": "int",
  4862. "default": 0
  4863. },
  4864. "data": {
  4865. "$ref": "#/definitions/v1.SeriesListReply"
  4866. },
  4867. "message": {
  4868. "description": "消息",
  4869. "type": "string",
  4870. "default": "success"
  4871. }
  4872. }
  4873. },
  4874. "v1.GetStyleInfoResponse": {
  4875. "type": "object",
  4876. "properties": {
  4877. "code": {
  4878. "description": "返回码",
  4879. "type": "integer",
  4880. "format": "int",
  4881. "default": 0
  4882. },
  4883. "data": {
  4884. "$ref": "#/definitions/v1.StyleInfoReply"
  4885. },
  4886. "message": {
  4887. "description": "消息",
  4888. "type": "string",
  4889. "default": "success"
  4890. }
  4891. }
  4892. },
  4893. "v1.GetStyleListResponse": {
  4894. "type": "object",
  4895. "properties": {
  4896. "code": {
  4897. "description": "返回码",
  4898. "type": "integer",
  4899. "format": "int",
  4900. "default": 0
  4901. },
  4902. "data": {
  4903. "$ref": "#/definitions/v1.StyleListReply"
  4904. },
  4905. "message": {
  4906. "description": "消息",
  4907. "type": "string",
  4908. "default": "success"
  4909. }
  4910. }
  4911. },
  4912. "v1.GetSwitchBody": {
  4913. "type": "object",
  4914. "properties": {
  4915. "is_on": {
  4916. "type": "boolean"
  4917. },
  4918. "task_id": {
  4919. "type": "integer"
  4920. }
  4921. }
  4922. },
  4923. "v1.GetSwitchResponse": {
  4924. "type": "object",
  4925. "properties": {
  4926. "code": {
  4927. "description": "返回码",
  4928. "type": "integer",
  4929. "format": "int",
  4930. "default": 0
  4931. },
  4932. "message": {
  4933. "description": "消息",
  4934. "type": "string",
  4935. "default": "success"
  4936. }
  4937. }
  4938. },
  4939. "v1.GetTaskListResponse": {
  4940. "type": "object",
  4941. "properties": {
  4942. "code": {
  4943. "description": "返回码",
  4944. "type": "integer",
  4945. "format": "int",
  4946. "default": 0
  4947. },
  4948. "message": {
  4949. "description": "消息",
  4950. "type": "string",
  4951. "default": "success"
  4952. },
  4953. "taskList": {
  4954. "$ref": "#/definitions/v1.TaskListReply"
  4955. }
  4956. }
  4957. },
  4958. "v1.ItemListReply": {
  4959. "type": "object",
  4960. "properties": {
  4961. "list": {
  4962. "type": "array",
  4963. "items": {
  4964. "$ref": "#/definitions/v1.ItemListReply_Item"
  4965. }
  4966. }
  4967. }
  4968. },
  4969. "v1.ItemListReply_Item": {
  4970. "type": "object",
  4971. "properties": {
  4972. "item_id": {
  4973. "type": "integer"
  4974. },
  4975. "item_name": {
  4976. "type": "string"
  4977. }
  4978. }
  4979. },
  4980. "v1.KeyList": {
  4981. "type": "object",
  4982. "properties": {
  4983. "created_at": {
  4984. "type": "integer"
  4985. },
  4986. "desc": {
  4987. "type": "string"
  4988. },
  4989. "key": {
  4990. "type": "string"
  4991. }
  4992. }
  4993. },
  4994. "v1.KeyListReply": {
  4995. "type": "object",
  4996. "properties": {
  4997. "current_page": {
  4998. "type": "integer"
  4999. },
  5000. "first_page": {
  5001. "type": "integer"
  5002. },
  5003. "last_page": {
  5004. "type": "integer"
  5005. },
  5006. "list": {
  5007. "type": "array",
  5008. "items": {
  5009. "$ref": "#/definitions/v1.KeyList"
  5010. }
  5011. },
  5012. "next_page": {
  5013. "type": "integer"
  5014. },
  5015. "per_page": {
  5016. "type": "integer"
  5017. },
  5018. "prev_page": {
  5019. "type": "integer"
  5020. },
  5021. "total": {
  5022. "type": "integer"
  5023. }
  5024. }
  5025. },
  5026. "v1.LoginBody": {
  5027. "type": "object",
  5028. "required": [
  5029. "password",
  5030. "user_name"
  5031. ],
  5032. "properties": {
  5033. "password": {
  5034. "type": "string"
  5035. },
  5036. "user_name": {
  5037. "type": "string"
  5038. }
  5039. }
  5040. },
  5041. "v1.LoginData": {
  5042. "type": "object",
  5043. "properties": {
  5044. "token": {
  5045. "type": "string"
  5046. }
  5047. }
  5048. },
  5049. "v1.LoginResponse": {
  5050. "type": "object",
  5051. "properties": {
  5052. "code": {
  5053. "description": "返回码",
  5054. "type": "integer",
  5055. "format": "int",
  5056. "default": 0
  5057. },
  5058. "data": {
  5059. "$ref": "#/definitions/v1.LoginData"
  5060. },
  5061. "message": {
  5062. "description": "消息",
  5063. "type": "string",
  5064. "default": "success"
  5065. }
  5066. }
  5067. },
  5068. "v1.MaintainItem": {
  5069. "type": "object",
  5070. "properties": {
  5071. "date_cycle": {
  5072. "type": "integer"
  5073. },
  5074. "id": {
  5075. "type": "integer"
  5076. },
  5077. "item": {
  5078. "type": "string"
  5079. },
  5080. "item_id": {
  5081. "type": "integer"
  5082. },
  5083. "mile_cycle": {
  5084. "type": "integer"
  5085. },
  5086. "start_date": {
  5087. "type": "integer"
  5088. },
  5089. "start_mile": {
  5090. "type": "integer"
  5091. },
  5092. "style_id": {
  5093. "type": "string"
  5094. }
  5095. }
  5096. },
  5097. "v1.MaintainManualInfoReply": {
  5098. "type": "object",
  5099. "properties": {
  5100. "cycle": {
  5101. "$ref": "#/definitions/v1.MaintainManualInfoReply_Cycle"
  5102. },
  5103. "maintain": {
  5104. "type": "array",
  5105. "items": {
  5106. "$ref": "#/definitions/v1.MaintainManualInfoReply_Maintain"
  5107. }
  5108. },
  5109. "maintain_item": {
  5110. "type": "array",
  5111. "items": {
  5112. "$ref": "#/definitions/v1.MaintainManualInfoReply_MaintainItem"
  5113. }
  5114. },
  5115. "repair": {
  5116. "type": "array",
  5117. "items": {
  5118. "$ref": "#/definitions/v1.MaintainManualInfoReply_Repair"
  5119. }
  5120. },
  5121. "wash": {
  5122. "type": "array",
  5123. "items": {
  5124. "$ref": "#/definitions/v1.MaintainManualInfoReply_Wash"
  5125. }
  5126. }
  5127. }
  5128. },
  5129. "v1.MaintainManualInfoReply_Cycle": {
  5130. "type": "object",
  5131. "properties": {
  5132. "date_cycle": {
  5133. "type": "integer"
  5134. },
  5135. "mile_cycle": {
  5136. "type": "integer"
  5137. },
  5138. "start_date": {
  5139. "type": "integer"
  5140. },
  5141. "start_mile": {
  5142. "type": "integer"
  5143. }
  5144. }
  5145. },
  5146. "v1.MaintainManualInfoReply_Items": {
  5147. "type": "object",
  5148. "properties": {
  5149. "item_id": {
  5150. "type": "integer"
  5151. },
  5152. "item_name": {
  5153. "type": "string"
  5154. },
  5155. "level": {
  5156. "type": "integer"
  5157. }
  5158. }
  5159. },
  5160. "v1.MaintainManualInfoReply_Maintain": {
  5161. "type": "object",
  5162. "properties": {
  5163. "age": {
  5164. "type": "integer"
  5165. },
  5166. "items": {
  5167. "type": "array",
  5168. "items": {
  5169. "$ref": "#/definitions/v1.MaintainManualInfoReply_Items"
  5170. }
  5171. },
  5172. "mile": {
  5173. "type": "integer"
  5174. }
  5175. }
  5176. },
  5177. "v1.MaintainManualInfoReply_MaintainItem": {
  5178. "type": "object",
  5179. "properties": {
  5180. "date_cycle": {
  5181. "type": "integer"
  5182. },
  5183. "item_id": {
  5184. "type": "integer"
  5185. },
  5186. "item_name": {
  5187. "type": "string"
  5188. },
  5189. "mile_cycle": {
  5190. "type": "integer"
  5191. },
  5192. "start_date": {
  5193. "type": "integer"
  5194. },
  5195. "start_mile": {
  5196. "type": "integer"
  5197. },
  5198. "style_id": {
  5199. "type": "string"
  5200. }
  5201. }
  5202. },
  5203. "v1.MaintainManualInfoReply_Repair": {
  5204. "type": "object",
  5205. "properties": {
  5206. "cycle": {
  5207. "type": "integer"
  5208. },
  5209. "date_cycle": {
  5210. "type": "integer"
  5211. },
  5212. "item_id": {
  5213. "type": "integer"
  5214. },
  5215. "item_name": {
  5216. "type": "string"
  5217. },
  5218. "mile_cycle": {
  5219. "type": "integer"
  5220. },
  5221. "start_date": {
  5222. "type": "integer"
  5223. },
  5224. "start_mile": {
  5225. "type": "integer"
  5226. },
  5227. "style_id": {
  5228. "type": "string"
  5229. }
  5230. }
  5231. },
  5232. "v1.MaintainManualInfoReply_Wash": {
  5233. "type": "object",
  5234. "properties": {
  5235. "cycle": {
  5236. "type": "integer"
  5237. },
  5238. "date_cycle": {
  5239. "type": "integer"
  5240. },
  5241. "item_id": {
  5242. "type": "integer"
  5243. },
  5244. "item_name": {
  5245. "type": "string"
  5246. },
  5247. "mile_cycle": {
  5248. "type": "integer"
  5249. },
  5250. "start_date": {
  5251. "type": "integer"
  5252. },
  5253. "start_mile": {
  5254. "type": "integer"
  5255. },
  5256. "style_id": {
  5257. "type": "string"
  5258. }
  5259. }
  5260. },
  5261. "v1.MaintainManualReply": {
  5262. "type": "object",
  5263. "properties": {
  5264. "maintainance": {
  5265. "description": "保养",
  5266. "type": "array",
  5267. "items": {
  5268. "$ref": "#/definitions/v1.MaintainItem"
  5269. }
  5270. },
  5271. "repair": {
  5272. "description": "维修",
  5273. "type": "array",
  5274. "items": {
  5275. "$ref": "#/definitions/v1.MaintainItem"
  5276. }
  5277. },
  5278. "wash": {
  5279. "description": "清洗",
  5280. "type": "array",
  5281. "items": {
  5282. "$ref": "#/definitions/v1.MaintainItem"
  5283. }
  5284. }
  5285. }
  5286. },
  5287. "v1.MakerList": {
  5288. "type": "object",
  5289. "properties": {
  5290. "brand_id": {
  5291. "type": "string"
  5292. },
  5293. "maker": {
  5294. "type": "string"
  5295. },
  5296. "maker_id": {
  5297. "type": "string"
  5298. }
  5299. }
  5300. },
  5301. "v1.ManualTask": {
  5302. "type": "object",
  5303. "properties": {
  5304. "created_at": {
  5305. "type": "string"
  5306. },
  5307. "finish_count": {
  5308. "type": "integer"
  5309. },
  5310. "is_finish": {
  5311. "type": "integer"
  5312. },
  5313. "manual_task_name": {
  5314. "type": "string"
  5315. },
  5316. "progress": {
  5317. "type": "integer"
  5318. },
  5319. "source": {
  5320. "type": "string"
  5321. },
  5322. "sql": {
  5323. "type": "string"
  5324. },
  5325. "task_ids": {
  5326. "type": "array",
  5327. "items": {
  5328. "type": "string"
  5329. }
  5330. },
  5331. "total": {
  5332. "type": "integer"
  5333. },
  5334. "type": {
  5335. "type": "integer"
  5336. }
  5337. }
  5338. },
  5339. "v1.ManualTaskReply": {
  5340. "type": "object",
  5341. "properties": {
  5342. "current_page": {
  5343. "type": "integer"
  5344. },
  5345. "first_page": {
  5346. "type": "integer"
  5347. },
  5348. "last_page": {
  5349. "type": "integer"
  5350. },
  5351. "list": {
  5352. "type": "array",
  5353. "items": {
  5354. "$ref": "#/definitions/v1.ManualTask"
  5355. }
  5356. },
  5357. "next_page": {
  5358. "type": "integer"
  5359. },
  5360. "per_page": {
  5361. "type": "integer"
  5362. },
  5363. "prev_page": {
  5364. "type": "integer"
  5365. },
  5366. "total": {
  5367. "type": "integer"
  5368. }
  5369. }
  5370. },
  5371. "v1.RelatedTables": {
  5372. "type": "object",
  5373. "properties": {
  5374. "desc": {
  5375. "type": "string"
  5376. },
  5377. "tableName": {
  5378. "type": "string"
  5379. }
  5380. }
  5381. },
  5382. "v1.Relation": {
  5383. "type": "object",
  5384. "properties": {
  5385. "desc": {
  5386. "type": "string"
  5387. },
  5388. "id": {
  5389. "type": "integer"
  5390. },
  5391. "is_on": {
  5392. "type": "integer"
  5393. },
  5394. "task_id": {
  5395. "type": "integer"
  5396. },
  5397. "task_name": {
  5398. "type": "string"
  5399. }
  5400. }
  5401. },
  5402. "v1.RelationReply": {
  5403. "type": "object",
  5404. "properties": {
  5405. "list": {
  5406. "type": "array",
  5407. "items": {
  5408. "$ref": "#/definitions/v1.Relation"
  5409. }
  5410. }
  5411. }
  5412. },
  5413. "v1.Rely": {
  5414. "type": "object",
  5415. "properties": {
  5416. "desc": {
  5417. "type": "string"
  5418. },
  5419. "table_name": {
  5420. "type": "string"
  5421. }
  5422. }
  5423. },
  5424. "v1.RequestList": {
  5425. "type": "object",
  5426. "properties": {
  5427. "desc": {
  5428. "type": "string"
  5429. },
  5430. "request": {
  5431. "type": "string"
  5432. }
  5433. }
  5434. },
  5435. "v1.SearchData": {
  5436. "type": "object",
  5437. "properties": {
  5438. "desc": {
  5439. "type": "string"
  5440. },
  5441. "tableName": {
  5442. "type": "string"
  5443. }
  5444. }
  5445. },
  5446. "v1.SearchDataReply": {
  5447. "type": "object",
  5448. "properties": {
  5449. "list": {
  5450. "type": "array",
  5451. "items": {
  5452. "$ref": "#/definitions/v1.SearchData"
  5453. }
  5454. }
  5455. }
  5456. },
  5457. "v1.SearchDataResponse": {
  5458. "type": "object",
  5459. "properties": {
  5460. "code": {
  5461. "description": "返回码",
  5462. "type": "integer",
  5463. "format": "int",
  5464. "default": 0
  5465. },
  5466. "data": {
  5467. "$ref": "#/definitions/v1.SearchDataReply"
  5468. },
  5469. "message": {
  5470. "description": "消息",
  5471. "type": "string",
  5472. "default": "success"
  5473. }
  5474. }
  5475. },
  5476. "v1.SearchLevelResponse": {
  5477. "type": "object",
  5478. "properties": {
  5479. "code": {
  5480. "description": "返回码",
  5481. "type": "integer",
  5482. "format": "int",
  5483. "default": 0
  5484. },
  5485. "data": {
  5486. "type": "array",
  5487. "items": {
  5488. "type": "string"
  5489. }
  5490. },
  5491. "message": {
  5492. "description": "消息",
  5493. "type": "string",
  5494. "default": "success"
  5495. }
  5496. }
  5497. },
  5498. "v1.SearchList": {
  5499. "type": "object",
  5500. "properties": {
  5501. "id": {
  5502. "type": "string"
  5503. },
  5504. "name": {
  5505. "type": "string"
  5506. }
  5507. }
  5508. },
  5509. "v1.SearchReply": {
  5510. "type": "object",
  5511. "properties": {
  5512. "list": {
  5513. "type": "array",
  5514. "items": {
  5515. "$ref": "#/definitions/v1.SearchList"
  5516. }
  5517. }
  5518. }
  5519. },
  5520. "v1.SearchResponse": {
  5521. "type": "object",
  5522. "properties": {
  5523. "code": {
  5524. "description": "返回码",
  5525. "type": "integer",
  5526. "format": "int",
  5527. "default": 0
  5528. },
  5529. "data": {
  5530. "$ref": "#/definitions/v1.SearchReply"
  5531. },
  5532. "message": {
  5533. "description": "消息",
  5534. "type": "string",
  5535. "default": "success"
  5536. }
  5537. }
  5538. },
  5539. "v1.SearchTask": {
  5540. "type": "object",
  5541. "properties": {
  5542. "desc": {
  5543. "type": "string"
  5544. },
  5545. "taskName": {
  5546. "type": "string"
  5547. }
  5548. }
  5549. },
  5550. "v1.SearchTaskReply": {
  5551. "type": "object",
  5552. "properties": {
  5553. "list": {
  5554. "type": "array",
  5555. "items": {
  5556. "$ref": "#/definitions/v1.SearchTask"
  5557. }
  5558. }
  5559. }
  5560. },
  5561. "v1.SearchTaskResponse": {
  5562. "type": "object",
  5563. "properties": {
  5564. "code": {
  5565. "description": "返回码",
  5566. "type": "integer",
  5567. "format": "int",
  5568. "default": 0
  5569. },
  5570. "data": {
  5571. "$ref": "#/definitions/v1.SearchTaskReply"
  5572. },
  5573. "message": {
  5574. "description": "消息",
  5575. "type": "string",
  5576. "default": "success"
  5577. }
  5578. }
  5579. },
  5580. "v1.SeriesList": {
  5581. "type": "object",
  5582. "properties": {
  5583. "brand_id": {
  5584. "type": "string"
  5585. },
  5586. "brand_name": {
  5587. "type": "string"
  5588. },
  5589. "id": {
  5590. "type": "integer"
  5591. },
  5592. "image": {
  5593. "type": "string"
  5594. },
  5595. "maker": {
  5596. "type": "string"
  5597. },
  5598. "old_series_name": {
  5599. "type": "string"
  5600. },
  5601. "series_id": {
  5602. "type": "string"
  5603. },
  5604. "series_name": {
  5605. "type": "string"
  5606. },
  5607. "status": {
  5608. "type": "integer"
  5609. }
  5610. }
  5611. },
  5612. "v1.SeriesListReply": {
  5613. "type": "object",
  5614. "properties": {
  5615. "current_page": {
  5616. "type": "integer"
  5617. },
  5618. "first_page": {
  5619. "type": "integer"
  5620. },
  5621. "last_page": {
  5622. "type": "integer"
  5623. },
  5624. "list": {
  5625. "type": "array",
  5626. "items": {
  5627. "$ref": "#/definitions/v1.SeriesList"
  5628. }
  5629. },
  5630. "next_page": {
  5631. "type": "integer"
  5632. },
  5633. "per_page": {
  5634. "type": "integer"
  5635. },
  5636. "prev_page": {
  5637. "type": "integer"
  5638. },
  5639. "total": {
  5640. "type": "integer"
  5641. }
  5642. }
  5643. },
  5644. "v1.Source": {
  5645. "type": "object",
  5646. "properties": {
  5647. "desc": {
  5648. "type": "string"
  5649. },
  5650. "tableName": {
  5651. "type": "string"
  5652. }
  5653. }
  5654. },
  5655. "v1.SourceReply": {
  5656. "type": "object",
  5657. "properties": {
  5658. "list": {
  5659. "type": "array",
  5660. "items": {
  5661. "$ref": "#/definitions/v1.Source"
  5662. }
  5663. }
  5664. }
  5665. },
  5666. "v1.SourceResponse": {
  5667. "type": "object",
  5668. "properties": {
  5669. "code": {
  5670. "description": "返回码",
  5671. "type": "integer",
  5672. "format": "int",
  5673. "default": 0
  5674. },
  5675. "data": {
  5676. "$ref": "#/definitions/v1.SourceReply"
  5677. },
  5678. "message": {
  5679. "description": "消息",
  5680. "type": "string",
  5681. "default": "success"
  5682. }
  5683. }
  5684. },
  5685. "v1.StyleInfoReply": {
  5686. "type": "object",
  5687. "properties": {
  5688. "aircondition": {
  5689. "$ref": "#/definitions/v1.StyleInfoReply_Aircondition"
  5690. },
  5691. "basic": {
  5692. "$ref": "#/definitions/v1.StyleInfoReply_Basic"
  5693. },
  5694. "body": {
  5695. "$ref": "#/definitions/v1.StyleInfoReply_Body"
  5696. },
  5697. "chassis": {
  5698. "$ref": "#/definitions/v1.StyleInfoReply_Chassis"
  5699. },
  5700. "control": {
  5701. "$ref": "#/definitions/v1.StyleInfoReply_Control"
  5702. },
  5703. "electric": {
  5704. "$ref": "#/definitions/v1.StyleInfoReply_Electric"
  5705. },
  5706. "engine": {
  5707. "$ref": "#/definitions/v1.StyleInfoReply_Engine"
  5708. },
  5709. "external": {
  5710. "$ref": "#/definitions/v1.StyleInfoReply_External"
  5711. },
  5712. "gearbox": {
  5713. "$ref": "#/definitions/v1.StyleInfoReply_Gearbox"
  5714. },
  5715. "intelligent": {
  5716. "$ref": "#/definitions/v1.StyleInfoReply_Intelligent"
  5717. },
  5718. "internal": {
  5719. "$ref": "#/definitions/v1.StyleInfoReply_Internal"
  5720. },
  5721. "light": {
  5722. "$ref": "#/definitions/v1.StyleInfoReply_Light"
  5723. },
  5724. "media": {
  5725. "$ref": "#/definitions/v1.StyleInfoReply_Media"
  5726. },
  5727. "optional": {
  5728. "$ref": "#/definitions/v1.StyleInfoReply_Optional"
  5729. },
  5730. "rearview": {
  5731. "$ref": "#/definitions/v1.StyleInfoReply_Rearview"
  5732. },
  5733. "safety": {
  5734. "$ref": "#/definitions/v1.StyleInfoReply_Safety"
  5735. },
  5736. "seat": {
  5737. "$ref": "#/definitions/v1.StyleInfoReply_Seat"
  5738. },
  5739. "wheelbrake": {
  5740. "$ref": "#/definitions/v1.StyleInfoReply_Wheelbrake"
  5741. }
  5742. }
  5743. },
  5744. "v1.StyleInfoReply_Aircondition": {
  5745. "type": "object",
  5746. "properties": {
  5747. "aircondition_control_type": {
  5748. "type": "string"
  5749. },
  5750. "car_air_purifier": {
  5751. "type": "string"
  5752. },
  5753. "fragrance_system": {
  5754. "type": "string"
  5755. },
  5756. "negative_ion_generator": {
  5757. "type": "string"
  5758. },
  5759. "pm25_device": {
  5760. "type": "string"
  5761. },
  5762. "rear_independent_air_conditioner": {
  5763. "type": "string"
  5764. },
  5765. "rear_seat_air_outlet": {
  5766. "type": "string"
  5767. },
  5768. "refrigerator": {
  5769. "type": "string"
  5770. },
  5771. "temperature_zone_control": {
  5772. "type": "string"
  5773. }
  5774. }
  5775. },
  5776. "v1.StyleInfoReply_Basic": {
  5777. "type": "object",
  5778. "properties": {
  5779. "alternator": {
  5780. "type": "string"
  5781. },
  5782. "braking_distance_measure": {
  5783. "type": "string"
  5784. },
  5785. "brand_id": {
  5786. "type": "string"
  5787. },
  5788. "brand_name": {
  5789. "type": "string"
  5790. },
  5791. "emission_standard": {
  5792. "type": "string"
  5793. },
  5794. "engine": {
  5795. "type": "string"
  5796. },
  5797. "fast_charge_amount": {
  5798. "type": "string"
  5799. },
  5800. "fast_charging_time": {
  5801. "type": "string"
  5802. },
  5803. "fuel_type_detail": {
  5804. "type": "string"
  5805. },
  5806. "gearbox_desc": {
  5807. "type": "string"
  5808. },
  5809. "hundred_accelerate": {
  5810. "type": "string"
  5811. },
  5812. "hundred_accelerate_measure": {
  5813. "type": "string"
  5814. },
  5815. "level": {
  5816. "type": "string"
  5817. },
  5818. "lwh": {
  5819. "type": "string"
  5820. },
  5821. "maker": {
  5822. "type": "string"
  5823. },
  5824. "maximum_power": {
  5825. "type": "string"
  5826. },
  5827. "maximum_simulation_milage": {
  5828. "type": "string"
  5829. },
  5830. "maximum_simulation_milage_measure": {
  5831. "type": "string"
  5832. },
  5833. "maximum_speed": {
  5834. "type": "string"
  5835. },
  5836. "maximum_torque": {
  5837. "type": "string"
  5838. },
  5839. "model_year": {
  5840. "type": "string"
  5841. },
  5842. "oil_wear_comrehensive": {
  5843. "type": "string"
  5844. },
  5845. "oil_wear_measure": {
  5846. "type": "string"
  5847. },
  5848. "price": {
  5849. "type": "string"
  5850. },
  5851. "price_yuan": {
  5852. "type": "string"
  5853. },
  5854. "series_id": {
  5855. "type": "string"
  5856. },
  5857. "series_img": {
  5858. "type": "string"
  5859. },
  5860. "series_name": {
  5861. "type": "string"
  5862. },
  5863. "slow_charging_time": {
  5864. "type": "string"
  5865. },
  5866. "style_id": {
  5867. "type": "string"
  5868. },
  5869. "style_name": {
  5870. "type": "string"
  5871. },
  5872. "sub_level": {
  5873. "type": "string"
  5874. },
  5875. "vehicle_structure": {
  5876. "type": "string"
  5877. },
  5878. "vehicle_warranty": {
  5879. "type": "string"
  5880. }
  5881. }
  5882. },
  5883. "v1.StyleInfoReply_Body": {
  5884. "type": "object",
  5885. "properties": {
  5886. "back_wheel_distance": {
  5887. "type": "string"
  5888. },
  5889. "door_number": {
  5890. "type": "string"
  5891. },
  5892. "front_wheel_distance": {
  5893. "type": "string"
  5894. },
  5895. "high": {
  5896. "type": "string"
  5897. },
  5898. "long": {
  5899. "type": "string"
  5900. },
  5901. "minimum_ground_clearance": {
  5902. "type": "string"
  5903. },
  5904. "oilbox_volume": {
  5905. "type": "string"
  5906. },
  5907. "seat_number": {
  5908. "type": "string"
  5909. },
  5910. "trunk_volume": {
  5911. "type": "string"
  5912. },
  5913. "unladen_mass": {
  5914. "type": "string"
  5915. },
  5916. "wheelbase": {
  5917. "type": "string"
  5918. },
  5919. "wide": {
  5920. "type": "string"
  5921. }
  5922. }
  5923. },
  5924. "v1.StyleInfoReply_Chassis": {
  5925. "type": "object",
  5926. "properties": {
  5927. "assist_type": {
  5928. "type": "string"
  5929. },
  5930. "back_suspention_type": {
  5931. "type": "string"
  5932. },
  5933. "body_structure": {
  5934. "type": "string"
  5935. },
  5936. "drive_type": {
  5937. "type": "string"
  5938. },
  5939. "front_suspention_type": {
  5940. "type": "string"
  5941. }
  5942. }
  5943. },
  5944. "v1.StyleInfoReply_Control": {
  5945. "type": "object",
  5946. "properties": {
  5947. "air_suspension": {
  5948. "type": "string"
  5949. },
  5950. "ascent_assist": {
  5951. "type": "string"
  5952. },
  5953. "auto_hold": {
  5954. "type": "string"
  5955. },
  5956. "automatic_driving_assistance": {
  5957. "type": "string"
  5958. },
  5959. "automatic_parking": {
  5960. "type": "string"
  5961. },
  5962. "back_parking_rador": {
  5963. "type": "string"
  5964. },
  5965. "central_diff_lock": {
  5966. "type": "string"
  5967. },
  5968. "cruise_system": {
  5969. "type": "string"
  5970. },
  5971. "driving_mode_selection": {
  5972. "type": "string"
  5973. },
  5974. "e_induction_suspension": {
  5975. "type": "string"
  5976. },
  5977. "edl": {
  5978. "type": "string"
  5979. },
  5980. "engine_start_stop_technology": {
  5981. "type": "string"
  5982. },
  5983. "front_parking_rador": {
  5984. "type": "string"
  5985. },
  5986. "hdc": {
  5987. "type": "string"
  5988. },
  5989. "overall_active_steering_system": {
  5990. "type": "string"
  5991. },
  5992. "reverse_vehicle_side_warning_system": {
  5993. "type": "string"
  5994. },
  5995. "variable_steering_ratio": {
  5996. "type": "string"
  5997. },
  5998. "variable_suspension": {
  5999. "type": "string"
  6000. },
  6001. "wade_sensing_system": {
  6002. "type": "string"
  6003. }
  6004. }
  6005. },
  6006. "v1.StyleInfoReply_Electric": {
  6007. "type": "object",
  6008. "properties": {
  6009. "back_electric_maximum_power": {
  6010. "type": "string"
  6011. },
  6012. "back_electric_torque": {
  6013. "type": "string"
  6014. },
  6015. "battery_energy": {
  6016. "type": "string"
  6017. },
  6018. "battery_pack_warranty": {
  6019. "type": "string"
  6020. },
  6021. "battery_type": {
  6022. "type": "string"
  6023. },
  6024. "front_electric_maximum_power": {
  6025. "type": "string"
  6026. },
  6027. "front_electric_torque": {
  6028. "type": "string"
  6029. },
  6030. "hundred_electricity_consumption": {
  6031. "type": "string"
  6032. },
  6033. "maximum_simulation_milage": {
  6034. "type": "string"
  6035. },
  6036. "motor_layout": {
  6037. "type": "string"
  6038. },
  6039. "motor_number": {
  6040. "type": "string"
  6041. },
  6042. "motor_type": {
  6043. "type": "string"
  6044. },
  6045. "system_integrated_power": {
  6046. "type": "string"
  6047. },
  6048. "system_integrated_torque": {
  6049. "type": "string"
  6050. },
  6051. "total_motor_power": {
  6052. "type": "string"
  6053. },
  6054. "total_motor_torque": {
  6055. "type": "string"
  6056. }
  6057. }
  6058. },
  6059. "v1.StyleInfoReply_Engine": {
  6060. "type": "object",
  6061. "properties": {
  6062. "air_intak_form": {
  6063. "type": "string"
  6064. },
  6065. "cylinder_arrangement": {
  6066. "type": "string"
  6067. },
  6068. "cylinder_diameter": {
  6069. "type": "string"
  6070. },
  6071. "cylinder_head_material": {
  6072. "type": "string"
  6073. },
  6074. "cylinder_material": {
  6075. "type": "string"
  6076. },
  6077. "cylinder_number": {
  6078. "type": "string"
  6079. },
  6080. "cylinder_valve_number": {
  6081. "type": "string"
  6082. },
  6083. "displacement": {
  6084. "type": "string"
  6085. },
  6086. "displacement_l": {
  6087. "type": "string"
  6088. },
  6089. "engine_technology": {
  6090. "type": "string"
  6091. },
  6092. "engine_type": {
  6093. "type": "string"
  6094. },
  6095. "fuel_lable": {
  6096. "type": "string"
  6097. },
  6098. "fuel_type_detail": {
  6099. "type": "string"
  6100. },
  6101. "maximum_horsepower": {
  6102. "type": "string"
  6103. },
  6104. "maximum_power_rpm": {
  6105. "type": "string"
  6106. },
  6107. "oil_supply_mode": {
  6108. "type": "string"
  6109. },
  6110. "piston_stroke": {
  6111. "type": "string"
  6112. },
  6113. "reduction_ratio": {
  6114. "type": "string"
  6115. },
  6116. "rpm": {
  6117. "type": "string"
  6118. },
  6119. "valve_mechanism": {
  6120. "type": "string"
  6121. }
  6122. }
  6123. },
  6124. "v1.StyleInfoReply_External": {
  6125. "type": "object",
  6126. "properties": {
  6127. "active_intake_grille": {
  6128. "type": "string"
  6129. },
  6130. "battery_pre_heating": {
  6131. "type": "string"
  6132. },
  6133. "central_control_lock": {
  6134. "type": "string"
  6135. },
  6136. "electric_trunk": {
  6137. "type": "string"
  6138. },
  6139. "electronic_anti_theft": {
  6140. "type": "string"
  6141. },
  6142. "eosd": {
  6143. "type": "string"
  6144. },
  6145. "frameless_design_door": {
  6146. "type": "string"
  6147. },
  6148. "hide_electric_door_handle": {
  6149. "type": "string"
  6150. },
  6151. "inductive_trunk": {
  6152. "type": "string"
  6153. },
  6154. "key_type": {
  6155. "type": "string"
  6156. },
  6157. "keyless_entry_system": {
  6158. "type": "string"
  6159. },
  6160. "keyless_start_system": {
  6161. "type": "string"
  6162. },
  6163. "outside_pedal": {
  6164. "type": "string"
  6165. },
  6166. "rear_compartment_position_memory": {
  6167. "type": "string"
  6168. },
  6169. "remote_start": {
  6170. "type": "string"
  6171. },
  6172. "rim_material": {
  6173. "type": "string"
  6174. },
  6175. "roof_luggage_rack": {
  6176. "type": "string"
  6177. },
  6178. "side_sliding_door": {
  6179. "type": "string"
  6180. },
  6181. "skylight_type": {
  6182. "type": "string"
  6183. },
  6184. "sports_appearance_kit": {
  6185. "type": "string"
  6186. },
  6187. "tail": {
  6188. "type": "string"
  6189. },
  6190. "the_tailgate_glass_opens_independently": {
  6191. "type": "string"
  6192. }
  6193. }
  6194. },
  6195. "v1.StyleInfoReply_Gearbox": {
  6196. "type": "object",
  6197. "properties": {
  6198. "gear_number": {
  6199. "type": "string"
  6200. },
  6201. "gearbox_desc": {
  6202. "type": "string"
  6203. },
  6204. "gearbox_type": {
  6205. "type": "string"
  6206. }
  6207. }
  6208. },
  6209. "v1.StyleInfoReply_Intelligent": {
  6210. "type": "object",
  6211. "properties": {
  6212. "auxiliary_driving_chip": {
  6213. "type": "string"
  6214. },
  6215. "chip_computing_power": {
  6216. "type": "string"
  6217. },
  6218. "number_of_cameras": {
  6219. "type": "string"
  6220. },
  6221. "number_of_lidars": {
  6222. "type": "string"
  6223. },
  6224. "number_of_millimeter_wave_radars": {
  6225. "type": "string"
  6226. },
  6227. "number_of_ultrasonic_radars": {
  6228. "type": "string"
  6229. }
  6230. }
  6231. },
  6232. "v1.StyleInfoReply_Internal": {
  6233. "type": "object",
  6234. "properties": {
  6235. "active_noise_reduction": {
  6236. "type": "string"
  6237. },
  6238. "car_driving_recorder": {
  6239. "type": "string"
  6240. },
  6241. "driving_computer_display": {
  6242. "type": "string"
  6243. },
  6244. "electrically_adjustable_pedal": {
  6245. "type": "string"
  6246. },
  6247. "full_lcd_dashboard": {
  6248. "type": "string"
  6249. },
  6250. "full_lcd_dashboard_size": {
  6251. "type": "string"
  6252. },
  6253. "hud_rising_number_display": {
  6254. "type": "string"
  6255. },
  6256. "mobile_phone_wireless_charging": {
  6257. "type": "string"
  6258. },
  6259. "multi_functional_steering_wheel": {
  6260. "type": "string"
  6261. },
  6262. "steering_wheel_adjustment": {
  6263. "type": "string"
  6264. },
  6265. "steering_wheel_heating": {
  6266. "type": "string"
  6267. },
  6268. "steering_wheel_material": {
  6269. "type": "string"
  6270. },
  6271. "steering_wheel_remember": {
  6272. "type": "string"
  6273. },
  6274. "steering_wheel_shift": {
  6275. "type": "string"
  6276. }
  6277. }
  6278. },
  6279. "v1.StyleInfoReply_Light": {
  6280. "type": "object",
  6281. "properties": {
  6282. "adaptive_far_near": {
  6283. "type": "string"
  6284. },
  6285. "atmosphere": {
  6286. "type": "string"
  6287. },
  6288. "auto_head": {
  6289. "type": "string"
  6290. },
  6291. "clean": {
  6292. "type": "string"
  6293. },
  6294. "daytime": {
  6295. "type": "string"
  6296. },
  6297. "far": {
  6298. "type": "string"
  6299. },
  6300. "fog": {
  6301. "type": "string"
  6302. },
  6303. "headlamp_delay_off": {
  6304. "type": "string"
  6305. },
  6306. "headlamp_rain_fog_mode": {
  6307. "type": "string"
  6308. },
  6309. "height_adjustable": {
  6310. "type": "string"
  6311. },
  6312. "lighting_features": {
  6313. "type": "string"
  6314. },
  6315. "near": {
  6316. "type": "string"
  6317. },
  6318. "side_turn": {
  6319. "type": "string"
  6320. },
  6321. "steering_assist_lamp": {
  6322. "type": "string"
  6323. },
  6324. "touch_reading_lamp": {
  6325. "type": "string"
  6326. }
  6327. }
  6328. },
  6329. "v1.StyleInfoReply_Media": {
  6330. "type": "object",
  6331. "properties": {
  6332. "back_lcd": {
  6333. "type": "string"
  6334. },
  6335. "car_internet": {
  6336. "type": "string"
  6337. },
  6338. "car_phone": {
  6339. "type": "string"
  6340. },
  6341. "car_tv": {
  6342. "type": "string"
  6343. },
  6344. "cd_dvd": {
  6345. "type": "string"
  6346. },
  6347. "center_console_large_screen_size": {
  6348. "type": "string"
  6349. },
  6350. "central_colour_screen": {
  6351. "type": "string"
  6352. },
  6353. "central_lcd_split_screen": {
  6354. "type": "string"
  6355. },
  6356. "charging_interface": {
  6357. "type": "string"
  6358. },
  6359. "face_recognition": {
  6360. "type": "string"
  6361. },
  6362. "gesture_control": {
  6363. "type": "string"
  6364. },
  6365. "gps": {
  6366. "type": "string"
  6367. },
  6368. "interface_of12v": {
  6369. "type": "string"
  6370. },
  6371. "mobile_internet": {
  6372. "type": "string"
  6373. },
  6374. "navigation_traffic_information_display": {
  6375. "type": "string"
  6376. },
  6377. "number_of_interfaces": {
  6378. "type": "string"
  6379. },
  6380. "ota": {
  6381. "type": "string"
  6382. },
  6383. "power_of220v": {
  6384. "type": "string"
  6385. },
  6386. "rear_control_multimedia": {
  6387. "type": "string"
  6388. },
  6389. "road_rescue_call": {
  6390. "type": "string"
  6391. },
  6392. "speaker_brand": {
  6393. "type": "string"
  6394. },
  6395. "speaker_number": {
  6396. "type": "string"
  6397. },
  6398. "voice_control": {
  6399. "type": "string"
  6400. }
  6401. }
  6402. },
  6403. "v1.StyleInfoReply_Optional": {
  6404. "type": "object",
  6405. "properties": {
  6406. "body_colour": {
  6407. "type": "string"
  6408. },
  6409. "interior_color": {
  6410. "type": "string"
  6411. }
  6412. }
  6413. },
  6414. "v1.StyleInfoReply_Rearview": {
  6415. "type": "object",
  6416. "properties": {
  6417. "anti_pinch_hand": {
  6418. "type": "string"
  6419. },
  6420. "back_electric_window": {
  6421. "type": "string"
  6422. },
  6423. "back_side_privacy": {
  6424. "type": "string"
  6425. },
  6426. "back_side_sunshade": {
  6427. "type": "string"
  6428. },
  6429. "back_sunshade": {
  6430. "type": "string"
  6431. },
  6432. "back_wiper": {
  6433. "type": "string"
  6434. },
  6435. "cosmetic": {
  6436. "type": "string"
  6437. },
  6438. "exterior_rearview_mirror_function": {
  6439. "type": "string"
  6440. },
  6441. "front_electric_window": {
  6442. "type": "string"
  6443. },
  6444. "front_wiper": {
  6445. "type": "string"
  6446. },
  6447. "heatable_spray_nozzle": {
  6448. "type": "string"
  6449. },
  6450. "interior_rearview_mirror_function": {
  6451. "type": "string"
  6452. },
  6453. "multilayer_sound_insulation_glass": {
  6454. "type": "string"
  6455. },
  6456. "window_one_key": {
  6457. "type": "string"
  6458. }
  6459. }
  6460. },
  6461. "v1.StyleInfoReply_Safety": {
  6462. "type": "object",
  6463. "properties": {
  6464. "abs": {
  6465. "type": "string"
  6466. },
  6467. "active_brake": {
  6468. "type": "string"
  6469. },
  6470. "asr_tcs_trc": {
  6471. "type": "string"
  6472. },
  6473. "auxiliary_seat_airbag": {
  6474. "type": "string"
  6475. },
  6476. "back_belt_airbag": {
  6477. "type": "string"
  6478. },
  6479. "back_head_airbag": {
  6480. "type": "string"
  6481. },
  6482. "back_side_airbag": {
  6483. "type": "string"
  6484. },
  6485. "eba_bas_ba": {
  6486. "type": "string"
  6487. },
  6488. "ebd_cbc": {
  6489. "type": "string"
  6490. },
  6491. "esp": {
  6492. "type": "string"
  6493. },
  6494. "fatigue_driving_warning": {
  6495. "type": "string"
  6496. },
  6497. "font_head_airbag": {
  6498. "type": "string"
  6499. },
  6500. "front_middle_airbag": {
  6501. "type": "string"
  6502. },
  6503. "front_side_airbag": {
  6504. "type": "string"
  6505. },
  6506. "iso_fix": {
  6507. "type": "string"
  6508. },
  6509. "knee_airbag": {
  6510. "type": "string"
  6511. },
  6512. "lane_departure_warning_system": {
  6513. "type": "string"
  6514. },
  6515. "lane_keeping": {
  6516. "type": "string"
  6517. },
  6518. "main_seat_airbag": {
  6519. "type": "string"
  6520. },
  6521. "night_vision": {
  6522. "type": "string"
  6523. },
  6524. "parallel_auxiliary": {
  6525. "type": "string"
  6526. },
  6527. "passenger_seat_cushion_airbag": {
  6528. "type": "string"
  6529. },
  6530. "passive_pedestrian_protection": {
  6531. "type": "string"
  6532. },
  6533. "rear_central_airbag": {
  6534. "type": "string"
  6535. },
  6536. "rear_seat_anti_slide_airbag": {
  6537. "type": "string"
  6538. },
  6539. "road_traffic_sign_recognition": {
  6540. "type": "string"
  6541. },
  6542. "run_flat_tire": {
  6543. "type": "string"
  6544. },
  6545. "seat_belt_warning": {
  6546. "type": "string"
  6547. },
  6548. "tire_presure_monitor": {
  6549. "type": "string"
  6550. }
  6551. }
  6552. },
  6553. "v1.StyleInfoReply_Seat": {
  6554. "type": "object",
  6555. "properties": {
  6556. "auxiliary_adjustable_button": {
  6557. "type": "string"
  6558. },
  6559. "auxiliary_electric_adust": {
  6560. "type": "string"
  6561. },
  6562. "auxiliary_seat_adjustment_mode": {
  6563. "type": "string"
  6564. },
  6565. "back_cup_holder": {
  6566. "type": "string"
  6567. },
  6568. "back_down_type": {
  6569. "type": "string"
  6570. },
  6571. "back_fold_table": {
  6572. "type": "string"
  6573. },
  6574. "back_handrail": {
  6575. "type": "string"
  6576. },
  6577. "electric_seat_remeber": {
  6578. "type": "string"
  6579. },
  6580. "front_handrail": {
  6581. "type": "string"
  6582. },
  6583. "front_seat_function": {
  6584. "type": "string"
  6585. },
  6586. "heating_cooling_cup_holder": {
  6587. "type": "string"
  6588. },
  6589. "main_electric_adust": {
  6590. "type": "string"
  6591. },
  6592. "main_seat_adjustment_mode": {
  6593. "type": "string"
  6594. },
  6595. "rear_seat_electric_adjustment": {
  6596. "type": "string"
  6597. },
  6598. "rear_seat_function": {
  6599. "type": "string"
  6600. },
  6601. "rear_seat_power_down": {
  6602. "type": "string"
  6603. },
  6604. "seat_layout_form": {
  6605. "type": "string"
  6606. },
  6607. "seat_material": {
  6608. "type": "string"
  6609. },
  6610. "second_independent": {
  6611. "type": "string"
  6612. },
  6613. "second_row_seat_adjustment": {
  6614. "type": "string"
  6615. },
  6616. "sport_seat": {
  6617. "type": "string"
  6618. }
  6619. }
  6620. },
  6621. "v1.StyleInfoReply_Wheelbrake": {
  6622. "type": "object",
  6623. "properties": {
  6624. "back_brake_type": {
  6625. "type": "string"
  6626. },
  6627. "back_wheel_specification": {
  6628. "type": "string"
  6629. },
  6630. "front_brake_type": {
  6631. "type": "string"
  6632. },
  6633. "front_wheel_specification": {
  6634. "type": "string"
  6635. },
  6636. "parking_brake_type": {
  6637. "type": "string"
  6638. },
  6639. "spare_wheel_specification": {
  6640. "type": "string"
  6641. }
  6642. }
  6643. },
  6644. "v1.StyleList": {
  6645. "type": "object",
  6646. "properties": {
  6647. "brand_id": {
  6648. "type": "string"
  6649. },
  6650. "brand_name": {
  6651. "type": "string"
  6652. },
  6653. "id": {
  6654. "type": "integer"
  6655. },
  6656. "maintain_id": {
  6657. "type": "integer"
  6658. },
  6659. "maker": {
  6660. "type": "string"
  6661. },
  6662. "series_id": {
  6663. "type": "string"
  6664. },
  6665. "series_name": {
  6666. "type": "string"
  6667. },
  6668. "status": {
  6669. "type": "integer"
  6670. },
  6671. "style_id": {
  6672. "type": "string"
  6673. },
  6674. "style_name": {
  6675. "type": "string"
  6676. }
  6677. }
  6678. },
  6679. "v1.StyleListReply": {
  6680. "type": "object",
  6681. "properties": {
  6682. "current_page": {
  6683. "type": "integer"
  6684. },
  6685. "first_page": {
  6686. "type": "integer"
  6687. },
  6688. "last_page": {
  6689. "type": "integer"
  6690. },
  6691. "list": {
  6692. "type": "array",
  6693. "items": {
  6694. "$ref": "#/definitions/v1.StyleList"
  6695. }
  6696. },
  6697. "next_page": {
  6698. "type": "integer"
  6699. },
  6700. "per_page": {
  6701. "type": "integer"
  6702. },
  6703. "prev_page": {
  6704. "type": "integer"
  6705. },
  6706. "total": {
  6707. "type": "integer"
  6708. }
  6709. }
  6710. },
  6711. "v1.StyleMap": {
  6712. "type": "object",
  6713. "properties": {
  6714. "source": {
  6715. "type": "string"
  6716. },
  6717. "style_id": {
  6718. "type": "string"
  6719. },
  6720. "style_name": {
  6721. "type": "string"
  6722. },
  6723. "third_brand_name": {
  6724. "type": "string"
  6725. },
  6726. "third_series_name": {
  6727. "type": "string"
  6728. },
  6729. "third_style_id": {
  6730. "type": "string"
  6731. },
  6732. "third_style_name": {
  6733. "type": "string"
  6734. }
  6735. }
  6736. },
  6737. "v1.StyleMapReply": {
  6738. "type": "object",
  6739. "properties": {
  6740. "current_page": {
  6741. "type": "integer"
  6742. },
  6743. "first_page": {
  6744. "type": "integer"
  6745. },
  6746. "last_page": {
  6747. "type": "integer"
  6748. },
  6749. "list": {
  6750. "type": "array",
  6751. "items": {
  6752. "$ref": "#/definitions/v1.StyleMap"
  6753. }
  6754. },
  6755. "next_page": {
  6756. "type": "integer"
  6757. },
  6758. "per_page": {
  6759. "type": "integer"
  6760. },
  6761. "prev_page": {
  6762. "type": "integer"
  6763. },
  6764. "total": {
  6765. "type": "integer"
  6766. }
  6767. }
  6768. },
  6769. "v1.StyleMapResponse": {
  6770. "type": "object",
  6771. "properties": {
  6772. "code": {
  6773. "description": "返回码",
  6774. "type": "integer",
  6775. "format": "int",
  6776. "default": 0
  6777. },
  6778. "data": {
  6779. "$ref": "#/definitions/v1.StyleMapReply"
  6780. },
  6781. "message": {
  6782. "description": "消息",
  6783. "type": "string",
  6784. "default": "success"
  6785. }
  6786. }
  6787. },
  6788. "v1.TableStruct": {
  6789. "type": "object",
  6790. "properties": {
  6791. "desc": {
  6792. "type": "string"
  6793. },
  6794. "field_name": {
  6795. "type": "string"
  6796. }
  6797. }
  6798. },
  6799. "v1.TableStructReply": {
  6800. "type": "object",
  6801. "properties": {
  6802. "list": {
  6803. "type": "array",
  6804. "items": {
  6805. "$ref": "#/definitions/v1.TableStruct"
  6806. }
  6807. }
  6808. }
  6809. },
  6810. "v1.TableStructResponse": {
  6811. "type": "object",
  6812. "properties": {
  6813. "code": {
  6814. "description": "返回码",
  6815. "type": "integer",
  6816. "format": "int",
  6817. "default": 0
  6818. },
  6819. "data": {
  6820. "$ref": "#/definitions/v1.TableStructReply"
  6821. },
  6822. "message": {
  6823. "description": "消息",
  6824. "type": "string",
  6825. "default": "success"
  6826. }
  6827. }
  6828. },
  6829. "v1.Task": {
  6830. "type": "object",
  6831. "properties": {
  6832. "desc": {
  6833. "type": "string"
  6834. },
  6835. "taskName": {
  6836. "type": "string"
  6837. }
  6838. }
  6839. },
  6840. "v1.TaskList": {
  6841. "type": "object",
  6842. "properties": {
  6843. "desc": {
  6844. "type": "string"
  6845. },
  6846. "target_table": {
  6847. "type": "string"
  6848. },
  6849. "task_id": {
  6850. "type": "integer"
  6851. },
  6852. "task_name": {
  6853. "type": "string"
  6854. }
  6855. }
  6856. },
  6857. "v1.TaskListReply": {
  6858. "type": "object",
  6859. "properties": {
  6860. "current_page": {
  6861. "type": "integer"
  6862. },
  6863. "first_page": {
  6864. "type": "integer"
  6865. },
  6866. "last_page": {
  6867. "type": "integer"
  6868. },
  6869. "list": {
  6870. "type": "array",
  6871. "items": {
  6872. "$ref": "#/definitions/v1.TaskList"
  6873. }
  6874. },
  6875. "next_page": {
  6876. "type": "integer"
  6877. },
  6878. "per_page": {
  6879. "type": "integer"
  6880. },
  6881. "prev_page": {
  6882. "type": "integer"
  6883. },
  6884. "total": {
  6885. "type": "integer"
  6886. }
  6887. }
  6888. },
  6889. "v1.TaskReply": {
  6890. "type": "object",
  6891. "properties": {
  6892. "list": {
  6893. "type": "array",
  6894. "items": {
  6895. "$ref": "#/definitions/v1.Task"
  6896. }
  6897. }
  6898. }
  6899. },
  6900. "v1.TaskResponse": {
  6901. "type": "object",
  6902. "properties": {
  6903. "code": {
  6904. "description": "返回码",
  6905. "type": "integer",
  6906. "format": "int",
  6907. "default": 0
  6908. },
  6909. "data": {
  6910. "$ref": "#/definitions/v1.TaskReply"
  6911. },
  6912. "message": {
  6913. "description": "消息",
  6914. "type": "string",
  6915. "default": "success"
  6916. }
  6917. }
  6918. },
  6919. "v1.Template": {
  6920. "type": "object",
  6921. "properties": {
  6922. "id": {
  6923. "type": "integer"
  6924. },
  6925. "name": {
  6926. "type": "string"
  6927. }
  6928. }
  6929. },
  6930. "v1.TemplateListReply": {
  6931. "type": "object",
  6932. "properties": {
  6933. "list": {
  6934. "type": "array",
  6935. "items": {
  6936. "$ref": "#/definitions/v1.Template"
  6937. }
  6938. }
  6939. }
  6940. },
  6941. "v1.TemplateListResponse": {
  6942. "type": "object",
  6943. "properties": {
  6944. "code": {
  6945. "description": "返回码",
  6946. "type": "integer",
  6947. "format": "int",
  6948. "default": 0
  6949. },
  6950. "data": {
  6951. "$ref": "#/definitions/v1.TemplateListReply"
  6952. },
  6953. "message": {
  6954. "description": "消息",
  6955. "type": "string",
  6956. "default": "success"
  6957. }
  6958. }
  6959. },
  6960. "v1.UpdateAPIBody": {
  6961. "type": "object",
  6962. "properties": {
  6963. "api": {
  6964. "type": "string"
  6965. },
  6966. "data": {
  6967. "type": "string"
  6968. },
  6969. "param": {
  6970. "type": "string"
  6971. }
  6972. }
  6973. },
  6974. "v1.UpdateAPIResponse": {
  6975. "type": "object",
  6976. "properties": {
  6977. "code": {
  6978. "description": "返回码",
  6979. "type": "integer",
  6980. "format": "int",
  6981. "default": 0
  6982. },
  6983. "message": {
  6984. "description": "消息",
  6985. "type": "string",
  6986. "default": "success"
  6987. }
  6988. }
  6989. },
  6990. "v1.UpdateBrandBody": {
  6991. "type": "object",
  6992. "properties": {
  6993. "brand_name": {
  6994. "type": "string"
  6995. },
  6996. "has_img": {
  6997. "type": "integer"
  6998. },
  6999. "id": {
  7000. "type": "integer"
  7001. },
  7002. "initial": {
  7003. "type": "string"
  7004. },
  7005. "old_brand_name": {
  7006. "type": "string"
  7007. },
  7008. "status": {
  7009. "type": "integer"
  7010. },
  7011. "weight": {
  7012. "type": "integer"
  7013. }
  7014. }
  7015. },
  7016. "v1.UpdateMaintainManualBody": {
  7017. "type": "object",
  7018. "properties": {
  7019. "date_cycle": {
  7020. "type": "integer"
  7021. },
  7022. "id": {
  7023. "type": "integer"
  7024. },
  7025. "item_id": {
  7026. "type": "integer"
  7027. },
  7028. "mile_cycle": {
  7029. "type": "integer"
  7030. },
  7031. "name": {
  7032. "type": "string"
  7033. },
  7034. "start_date": {
  7035. "type": "integer"
  7036. },
  7037. "start_mile": {
  7038. "type": "integer"
  7039. },
  7040. "style_id": {
  7041. "type": "string"
  7042. },
  7043. "tid": {
  7044. "type": "integer"
  7045. }
  7046. }
  7047. },
  7048. "v1.UpdateMaintainManualResponse": {
  7049. "type": "object",
  7050. "properties": {
  7051. "code": {
  7052. "description": "返回码",
  7053. "type": "integer",
  7054. "format": "int",
  7055. "default": 0
  7056. },
  7057. "message": {
  7058. "description": "消息",
  7059. "type": "string",
  7060. "default": "success"
  7061. }
  7062. }
  7063. },
  7064. "v1.UpdateMakerBody": {
  7065. "type": "object",
  7066. "properties": {
  7067. "maker": {
  7068. "type": "string"
  7069. },
  7070. "maker_id": {
  7071. "type": "string"
  7072. }
  7073. }
  7074. },
  7075. "v1.UpdateSeriesBody": {
  7076. "type": "object",
  7077. "properties": {
  7078. "has_img": {
  7079. "type": "integer"
  7080. },
  7081. "id": {
  7082. "type": "integer"
  7083. },
  7084. "maker": {
  7085. "type": "string"
  7086. },
  7087. "old_series_name": {
  7088. "type": "string"
  7089. },
  7090. "series_name": {
  7091. "type": "string"
  7092. },
  7093. "status": {
  7094. "type": "integer"
  7095. }
  7096. }
  7097. },
  7098. "v1.UpdateStyleBody": {
  7099. "type": "object",
  7100. "properties": {
  7101. "id": {
  7102. "type": "integer"
  7103. },
  7104. "status": {
  7105. "type": "integer"
  7106. },
  7107. "style_name": {
  7108. "type": "string"
  7109. }
  7110. }
  7111. },
  7112. "v1.UpdateStyleConfigBody": {
  7113. "type": "object",
  7114. "properties": {
  7115. "data": {
  7116. "type": "string"
  7117. },
  7118. "id": {
  7119. "type": "integer"
  7120. }
  7121. }
  7122. },
  7123. "v1.UpdateStyleItem": {
  7124. "type": "object",
  7125. "properties": {
  7126. "attribute_rule": {
  7127. "type": "string"
  7128. },
  7129. "c2_id": {
  7130. "type": "integer"
  7131. },
  7132. "detail": {
  7133. "type": "string"
  7134. },
  7135. "id": {
  7136. "type": "integer"
  7137. },
  7138. "style_id": {
  7139. "type": "string"
  7140. },
  7141. "useage": {
  7142. "type": "string"
  7143. }
  7144. }
  7145. },
  7146. "v1.UpdateStyleItemBody": {
  7147. "type": "object",
  7148. "properties": {
  7149. "list": {
  7150. "type": "array",
  7151. "items": {
  7152. "$ref": "#/definitions/v1.UpdateStyleItem"
  7153. }
  7154. }
  7155. }
  7156. },
  7157. "v1.UseAPIReply": {
  7158. "type": "object",
  7159. "properties": {
  7160. "request": {
  7161. "type": "array",
  7162. "items": {
  7163. "$ref": "#/definitions/v1.CheckAPI"
  7164. }
  7165. }
  7166. }
  7167. },
  7168. "v1.UseAPIResponse": {
  7169. "type": "object",
  7170. "properties": {
  7171. "code": {
  7172. "description": "返回码",
  7173. "type": "integer",
  7174. "format": "int",
  7175. "default": 0
  7176. },
  7177. "data": {
  7178. "$ref": "#/definitions/v1.UseAPIReply"
  7179. },
  7180. "message": {
  7181. "description": "消息",
  7182. "type": "string",
  7183. "default": "success"
  7184. }
  7185. }
  7186. }
  7187. }
  7188. }`
  7189. // SwaggerInfo holds exported Swagger Info so clients can modify it
  7190. var SwaggerInfo = &swag.Spec{
  7191. Version: "1.1",
  7192. Host: "",
  7193. BasePath: "",
  7194. Schemes: []string{},
  7195. Title: "Project adm-gateway's APIs",
  7196. Description: "This is a gateway server. On the page, you can go to do testing for every API.",
  7197. InfoInstanceName: "swagger",
  7198. SwaggerTemplate: docTemplate,
  7199. }
  7200. func init() {
  7201. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  7202. }