swagger.json 225 KB

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