swagger.yaml 106 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827
  1. definitions:
  2. base.HTTPError:
  3. properties:
  4. code:
  5. example: 500
  6. format: int
  7. type: integer
  8. message:
  9. example: status bad request
  10. type: string
  11. type: object
  12. v1.APIList:
  13. properties:
  14. api_id:
  15. type: integer
  16. api_no:
  17. type: string
  18. created_at:
  19. type: integer
  20. desc:
  21. type: string
  22. type: object
  23. v1.APIListReply:
  24. properties:
  25. current_page:
  26. type: integer
  27. first_page:
  28. type: integer
  29. host:
  30. type: string
  31. last_page:
  32. type: integer
  33. list:
  34. items:
  35. $ref: '#/definitions/v1.APIList'
  36. type: array
  37. next_page:
  38. type: integer
  39. per_page:
  40. type: integer
  41. prev_page:
  42. type: integer
  43. total:
  44. type: integer
  45. type: object
  46. v1.AddTemplateDetailBody:
  47. properties:
  48. date_cycle:
  49. type: integer
  50. item_id:
  51. type: integer
  52. mile_cycle:
  53. type: integer
  54. name:
  55. type: string
  56. start_date:
  57. type: integer
  58. start_mile:
  59. type: integer
  60. tid:
  61. type: integer
  62. type: object
  63. v1.AllAPIReply:
  64. properties:
  65. host:
  66. type: string
  67. list:
  68. items:
  69. type: string
  70. type: array
  71. type: object
  72. v1.AllAPIResponse:
  73. properties:
  74. code:
  75. default: 0
  76. description: 返回码
  77. format: int
  78. type: integer
  79. data:
  80. $ref: '#/definitions/v1.AllAPIReply'
  81. message:
  82. default: success
  83. description: 消息
  84. type: string
  85. type: object
  86. v1.AllKeyResponse:
  87. properties:
  88. code:
  89. default: 0
  90. description: 返回码
  91. format: int
  92. type: integer
  93. data:
  94. items:
  95. type: string
  96. type: array
  97. message:
  98. default: success
  99. description: 消息
  100. type: string
  101. type: object
  102. v1.AllSourceResponse:
  103. properties:
  104. code:
  105. default: 0
  106. description: 返回码
  107. format: int
  108. type: integer
  109. data:
  110. items:
  111. type: string
  112. type: array
  113. message:
  114. default: success
  115. description: 消息
  116. type: string
  117. type: object
  118. v1.AnnouncementList:
  119. properties:
  120. brand_name:
  121. type: string
  122. id:
  123. type: integer
  124. model_no:
  125. type: string
  126. vehicle_batch:
  127. type: string
  128. vehicle_type_detail:
  129. type: string
  130. vin_rules:
  131. type: string
  132. type: object
  133. v1.AnnouncementReply:
  134. properties:
  135. current_page:
  136. type: integer
  137. first_page:
  138. type: integer
  139. last_page:
  140. type: integer
  141. list:
  142. items:
  143. $ref: '#/definitions/v1.AnnouncementList'
  144. type: array
  145. next_page:
  146. type: integer
  147. per_page:
  148. type: integer
  149. prev_page:
  150. type: integer
  151. total:
  152. type: integer
  153. type: object
  154. v1.BrandList:
  155. properties:
  156. brand_id:
  157. type: string
  158. brand_name:
  159. type: string
  160. has_img:
  161. type: integer
  162. id:
  163. type: integer
  164. image:
  165. type: string
  166. initial:
  167. type: string
  168. old_brand_name:
  169. type: string
  170. status:
  171. type: integer
  172. weight:
  173. type: integer
  174. type: object
  175. v1.BrandListReply:
  176. properties:
  177. current_page:
  178. type: integer
  179. first_page:
  180. type: integer
  181. last_page:
  182. type: integer
  183. list:
  184. items:
  185. $ref: '#/definitions/v1.BrandList'
  186. type: array
  187. next_page:
  188. type: integer
  189. per_page:
  190. type: integer
  191. prev_page:
  192. type: integer
  193. total:
  194. type: integer
  195. type: object
  196. v1.CheckAPI:
  197. properties:
  198. desc:
  199. type: string
  200. key:
  201. type: string
  202. value:
  203. type: string
  204. type: object
  205. v1.CheckAPIReply:
  206. properties:
  207. api_no:
  208. type: string
  209. desc:
  210. type: string
  211. list:
  212. items:
  213. $ref: '#/definitions/v1.RelatedTables'
  214. type: array
  215. request:
  216. type: string
  217. response:
  218. type: string
  219. type: object
  220. v1.ChooseTemplateDetailBody:
  221. properties:
  222. style_id:
  223. type: string
  224. tid:
  225. type: integer
  226. type: object
  227. v1.CreateBody:
  228. properties:
  229. source:
  230. type: string
  231. sql:
  232. type: string
  233. task_ids:
  234. items:
  235. type: string
  236. type: array
  237. task_name:
  238. type: string
  239. type:
  240. type: integer
  241. type: object
  242. v1.CreateKeyBody:
  243. properties:
  244. desc:
  245. type: string
  246. type: object
  247. v1.CreateKeyResponse:
  248. properties:
  249. code:
  250. default: 0
  251. description: 返回码
  252. format: int
  253. type: integer
  254. message:
  255. default: success
  256. description: 消息
  257. type: string
  258. type: object
  259. v1.CreateResponse:
  260. properties:
  261. code:
  262. default: 0
  263. description: 返回码
  264. format: int
  265. type: integer
  266. message:
  267. default: success
  268. description: 消息
  269. type: string
  270. type: object
  271. v1.CreateTemplateBody:
  272. properties:
  273. request:
  274. items:
  275. type: string
  276. type: array
  277. task_name:
  278. items:
  279. type: string
  280. type: array
  281. template_name:
  282. type: string
  283. type: object
  284. v1.CreateTemplateResponse:
  285. properties:
  286. code:
  287. default: 0
  288. description: 返回码
  289. format: int
  290. type: integer
  291. message:
  292. default: success
  293. description: 消息
  294. type: string
  295. type: object
  296. v1.DataImport:
  297. properties:
  298. request:
  299. type: string
  300. value:
  301. type: string
  302. type: object
  303. v1.DataImportBody:
  304. properties:
  305. id:
  306. type: integer
  307. request_list:
  308. items:
  309. $ref: '#/definitions/v1.DataImport'
  310. type: array
  311. type: object
  312. v1.DataImportResponse:
  313. properties:
  314. code:
  315. default: 0
  316. description: 返回码
  317. format: int
  318. type: integer
  319. message:
  320. default: success
  321. description: 消息
  322. type: string
  323. type: object
  324. v1.DataImportTemplateList:
  325. properties:
  326. id:
  327. type: integer
  328. request:
  329. items:
  330. $ref: '#/definitions/v1.RequestList'
  331. type: array
  332. task_desc:
  333. items:
  334. type: string
  335. type: array
  336. task_name:
  337. items:
  338. type: string
  339. type: array
  340. template_name:
  341. type: string
  342. type: object
  343. v1.DataImportTemplateReply:
  344. properties:
  345. current_page:
  346. type: integer
  347. first_page:
  348. type: integer
  349. last_page:
  350. type: integer
  351. list:
  352. items:
  353. $ref: '#/definitions/v1.DataImportTemplateList'
  354. type: array
  355. next_page:
  356. type: integer
  357. per_page:
  358. type: integer
  359. prev_page:
  360. type: integer
  361. total:
  362. type: integer
  363. type: object
  364. v1.DataImportTemplateResponse:
  365. properties:
  366. code:
  367. default: 0
  368. description: 返回码
  369. format: int
  370. type: integer
  371. data:
  372. $ref: '#/definitions/v1.DataImportTemplateReply'
  373. message:
  374. default: success
  375. description: 消息
  376. type: string
  377. type: object
  378. v1.DataList:
  379. properties:
  380. db:
  381. type: string
  382. desc:
  383. type: string
  384. level:
  385. type: string
  386. source_code:
  387. type: string
  388. table_id:
  389. type: integer
  390. table_name:
  391. type: string
  392. type: object
  393. v1.DataListReply:
  394. properties:
  395. current_page:
  396. type: integer
  397. first_page:
  398. type: integer
  399. last_page:
  400. type: integer
  401. list:
  402. items:
  403. $ref: '#/definitions/v1.DataList'
  404. type: array
  405. next_page:
  406. type: integer
  407. per_page:
  408. type: integer
  409. prev_page:
  410. type: integer
  411. total:
  412. type: integer
  413. type: object
  414. v1.DataSourceRelationReply:
  415. properties:
  416. node:
  417. $ref: '#/definitions/v1.DataSourceRelationReply_Node'
  418. type: object
  419. v1.DataSourceRelationReply_Node:
  420. properties:
  421. desc:
  422. type: string
  423. entry:
  424. items:
  425. $ref: '#/definitions/v1.DataSourceRelationReply_Node'
  426. type: array
  427. is_task:
  428. type: boolean
  429. node_name:
  430. type: string
  431. output:
  432. items:
  433. $ref: '#/definitions/v1.DataSourceRelationReply_Node'
  434. type: array
  435. rely:
  436. items:
  437. $ref: '#/definitions/v1.Rely'
  438. type: array
  439. type: object
  440. v1.DeleteKeyResponse:
  441. properties:
  442. code:
  443. default: 0
  444. description: 返回码
  445. format: int
  446. type: integer
  447. message:
  448. default: success
  449. description: 消息
  450. type: string
  451. type: object
  452. v1.DeleteTemplateResponse:
  453. properties:
  454. code:
  455. default: 0
  456. description: 返回码
  457. format: int
  458. type: integer
  459. message:
  460. default: success
  461. description: 消息
  462. type: string
  463. type: object
  464. v1.Dependency:
  465. properties:
  466. desc:
  467. type: string
  468. table_name:
  469. type: string
  470. type: object
  471. v1.DependencyReply:
  472. properties:
  473. list:
  474. items:
  475. $ref: '#/definitions/v1.Dependency'
  476. type: array
  477. type: object
  478. v1.EditList:
  479. properties:
  480. desc:
  481. type: string
  482. key:
  483. type: string
  484. value:
  485. type: string
  486. type: object
  487. v1.EditMapBody:
  488. properties:
  489. style_id:
  490. type: string
  491. third_style_id:
  492. type: string
  493. type: object
  494. v1.EditMapReply:
  495. properties:
  496. code:
  497. type: integer
  498. type: object
  499. v1.EditMapResponse:
  500. properties:
  501. code:
  502. default: 0
  503. description: 返回码
  504. format: int
  505. type: integer
  506. data:
  507. $ref: '#/definitions/v1.EditMapReply'
  508. message:
  509. default: success
  510. description: 消息
  511. type: string
  512. type: object
  513. v1.EditReply:
  514. properties:
  515. List:
  516. items:
  517. $ref: '#/definitions/v1.EditList'
  518. type: array
  519. type: object
  520. v1.EditTemplateBody:
  521. properties:
  522. id:
  523. type: integer
  524. request:
  525. items:
  526. type: string
  527. type: array
  528. task_name:
  529. items:
  530. type: string
  531. type: array
  532. template_name:
  533. type: string
  534. type: object
  535. v1.EditTemplateResponse:
  536. properties:
  537. code:
  538. default: 0
  539. description: 返回码
  540. format: int
  541. type: integer
  542. message:
  543. default: success
  544. description: 消息
  545. type: string
  546. type: object
  547. v1.ExcelReply:
  548. properties:
  549. url:
  550. type: string
  551. type: object
  552. v1.ExcelResponse:
  553. properties:
  554. code:
  555. default: 0
  556. description: 返回码
  557. format: int
  558. type: integer
  559. data:
  560. $ref: '#/definitions/v1.ExcelReply'
  561. message:
  562. default: success
  563. description: 消息
  564. type: string
  565. type: object
  566. v1.ExportStyleTaskList:
  567. properties:
  568. created_at:
  569. type: string
  570. id:
  571. type: integer
  572. path:
  573. type: string
  574. task_name:
  575. type: string
  576. type: object
  577. v1.ExportStyleTaskListReply:
  578. properties:
  579. list:
  580. items:
  581. $ref: '#/definitions/v1.ExportStyleTaskList'
  582. type: array
  583. type: object
  584. v1.ExportStyleTaskListResponse:
  585. properties:
  586. code:
  587. default: 0
  588. description: 返回码
  589. format: int
  590. type: integer
  591. data:
  592. $ref: '#/definitions/v1.ExportStyleTaskListReply'
  593. message:
  594. default: success
  595. description: 消息
  596. type: string
  597. type: object
  598. v1.Field:
  599. properties:
  600. desc:
  601. type: string
  602. field:
  603. type: string
  604. type:
  605. type: string
  606. type: object
  607. v1.FieldReply:
  608. properties:
  609. current_page:
  610. type: integer
  611. first_page:
  612. type: integer
  613. last_page:
  614. type: integer
  615. list:
  616. items:
  617. $ref: '#/definitions/v1.Field'
  618. type: array
  619. next_page:
  620. type: integer
  621. per_page:
  622. type: integer
  623. prev_page:
  624. type: integer
  625. total:
  626. type: integer
  627. type: object
  628. v1.GetAPIListResponse:
  629. properties:
  630. code:
  631. default: 0
  632. description: 返回码
  633. format: int
  634. type: integer
  635. data:
  636. $ref: '#/definitions/v1.APIListReply'
  637. message:
  638. default: success
  639. description: 消息
  640. type: string
  641. type: object
  642. v1.GetAnnouncementResponse:
  643. properties:
  644. code:
  645. default: 0
  646. description: 返回码
  647. format: int
  648. type: integer
  649. data:
  650. $ref: '#/definitions/v1.AnnouncementReply'
  651. message:
  652. default: success
  653. description: 消息
  654. type: string
  655. type: object
  656. v1.GetBrandListResponse:
  657. properties:
  658. code:
  659. default: 0
  660. description: 返回码
  661. format: int
  662. type: integer
  663. data:
  664. $ref: '#/definitions/v1.BrandListReply'
  665. message:
  666. default: success
  667. description: 消息
  668. type: string
  669. type: object
  670. v1.GetCheckAPIResponse:
  671. properties:
  672. code:
  673. default: 0
  674. description: 返回码
  675. format: int
  676. type: integer
  677. data:
  678. $ref: '#/definitions/v1.CheckAPIReply'
  679. message:
  680. default: success
  681. description: 消息
  682. type: string
  683. type: object
  684. v1.GetDataListResponse:
  685. properties:
  686. code:
  687. default: 0
  688. description: 返回码
  689. format: int
  690. type: integer
  691. dataList:
  692. $ref: '#/definitions/v1.DataListReply'
  693. message:
  694. default: success
  695. description: 消息
  696. type: string
  697. type: object
  698. v1.GetDataSourceRelationResponse:
  699. properties:
  700. code:
  701. default: 0
  702. description: 返回码
  703. format: int
  704. type: integer
  705. data:
  706. $ref: '#/definitions/v1.DataSourceRelationReply'
  707. message:
  708. default: success
  709. description: 消息
  710. type: string
  711. type: object
  712. v1.GetDeleteAPIResponse:
  713. properties:
  714. code:
  715. default: 0
  716. description: 返回码
  717. format: int
  718. type: integer
  719. message:
  720. default: success
  721. description: 消息
  722. type: string
  723. type: object
  724. v1.GetDependencyResponse:
  725. properties:
  726. code:
  727. default: 0
  728. description: 返回码
  729. format: int
  730. type: integer
  731. dependencyData:
  732. $ref: '#/definitions/v1.DependencyReply'
  733. message:
  734. default: success
  735. description: 消息
  736. type: string
  737. type: object
  738. v1.GetEditResponse:
  739. properties:
  740. code:
  741. default: 0
  742. description: 返回码
  743. format: int
  744. type: integer
  745. data:
  746. $ref: '#/definitions/v1.EditReply'
  747. message:
  748. default: success
  749. description: 消息
  750. type: string
  751. type: object
  752. v1.GetFieldListResponse:
  753. properties:
  754. code:
  755. default: 0
  756. description: 返回码
  757. format: int
  758. type: integer
  759. data:
  760. $ref: '#/definitions/v1.FieldReply'
  761. message:
  762. default: success
  763. description: 消息
  764. type: string
  765. type: object
  766. v1.GetItemListResponse:
  767. properties:
  768. code:
  769. default: 0
  770. description: 返回码
  771. format: int
  772. type: integer
  773. data:
  774. $ref: '#/definitions/v1.ItemListReply'
  775. message:
  776. default: success
  777. description: 消息
  778. type: string
  779. type: object
  780. v1.GetKeyListResponse:
  781. properties:
  782. code:
  783. default: 0
  784. description: 返回码
  785. format: int
  786. type: integer
  787. data:
  788. $ref: '#/definitions/v1.KeyListReply'
  789. message:
  790. default: success
  791. description: 消息
  792. type: string
  793. type: object
  794. v1.GetMaintainaceManualInfoResponse:
  795. properties:
  796. code:
  797. default: 0
  798. description: 返回码
  799. format: int
  800. type: integer
  801. data:
  802. $ref: '#/definitions/v1.MaintainManualInfoReply'
  803. message:
  804. default: success
  805. description: 消息
  806. type: string
  807. type: object
  808. v1.GetMaintainaceManualResponse:
  809. properties:
  810. code:
  811. default: 0
  812. description: 返回码
  813. format: int
  814. type: integer
  815. data:
  816. $ref: '#/definitions/v1.MaintainManualReply'
  817. message:
  818. default: success
  819. description: 消息
  820. type: string
  821. type: object
  822. v1.GetMakerResponse:
  823. properties:
  824. code:
  825. default: 0
  826. description: 返回码
  827. format: int
  828. type: integer
  829. data:
  830. items:
  831. $ref: '#/definitions/v1.MakerList'
  832. type: array
  833. message:
  834. default: success
  835. description: 消息
  836. type: string
  837. type: object
  838. v1.GetManualTaskResponse:
  839. properties:
  840. code:
  841. default: 0
  842. description: 返回码
  843. format: int
  844. type: integer
  845. manualTaskData:
  846. $ref: '#/definitions/v1.ManualTaskReply'
  847. message:
  848. default: success
  849. description: 消息
  850. type: string
  851. type: object
  852. v1.GetRelationResponse:
  853. properties:
  854. code:
  855. default: 0
  856. description: 返回码
  857. format: int
  858. type: integer
  859. message:
  860. default: success
  861. description: 消息
  862. type: string
  863. relationData:
  864. $ref: '#/definitions/v1.RelationReply'
  865. type: object
  866. v1.GetSeriesListResponse:
  867. properties:
  868. code:
  869. default: 0
  870. description: 返回码
  871. format: int
  872. type: integer
  873. data:
  874. $ref: '#/definitions/v1.SeriesListReply'
  875. message:
  876. default: success
  877. description: 消息
  878. type: string
  879. type: object
  880. v1.GetStyleInfoResponse:
  881. properties:
  882. code:
  883. default: 0
  884. description: 返回码
  885. format: int
  886. type: integer
  887. data:
  888. $ref: '#/definitions/v1.StyleInfoReply'
  889. message:
  890. default: success
  891. description: 消息
  892. type: string
  893. type: object
  894. v1.GetStyleListResponse:
  895. properties:
  896. code:
  897. default: 0
  898. description: 返回码
  899. format: int
  900. type: integer
  901. data:
  902. $ref: '#/definitions/v1.StyleListReply'
  903. message:
  904. default: success
  905. description: 消息
  906. type: string
  907. type: object
  908. v1.GetSwitchBody:
  909. properties:
  910. is_on:
  911. type: boolean
  912. task_id:
  913. type: integer
  914. type: object
  915. v1.GetSwitchResponse:
  916. properties:
  917. code:
  918. default: 0
  919. description: 返回码
  920. format: int
  921. type: integer
  922. message:
  923. default: success
  924. description: 消息
  925. type: string
  926. type: object
  927. v1.GetTaskListResponse:
  928. properties:
  929. code:
  930. default: 0
  931. description: 返回码
  932. format: int
  933. type: integer
  934. message:
  935. default: success
  936. description: 消息
  937. type: string
  938. taskList:
  939. $ref: '#/definitions/v1.TaskListReply'
  940. type: object
  941. v1.ItemListReply:
  942. properties:
  943. list:
  944. items:
  945. $ref: '#/definitions/v1.ItemListReply_Item'
  946. type: array
  947. type: object
  948. v1.ItemListReply_Item:
  949. properties:
  950. item_id:
  951. type: integer
  952. item_name:
  953. type: string
  954. type: object
  955. v1.KeyList:
  956. properties:
  957. created_at:
  958. type: integer
  959. desc:
  960. type: string
  961. key:
  962. type: string
  963. type: object
  964. v1.KeyListReply:
  965. properties:
  966. current_page:
  967. type: integer
  968. first_page:
  969. type: integer
  970. last_page:
  971. type: integer
  972. list:
  973. items:
  974. $ref: '#/definitions/v1.KeyList'
  975. type: array
  976. next_page:
  977. type: integer
  978. per_page:
  979. type: integer
  980. prev_page:
  981. type: integer
  982. total:
  983. type: integer
  984. type: object
  985. v1.LoginBody:
  986. properties:
  987. password:
  988. type: string
  989. user_name:
  990. type: string
  991. required:
  992. - password
  993. - user_name
  994. type: object
  995. v1.LoginData:
  996. properties:
  997. token:
  998. type: string
  999. type: object
  1000. v1.LoginResponse:
  1001. properties:
  1002. code:
  1003. default: 0
  1004. description: 返回码
  1005. format: int
  1006. type: integer
  1007. data:
  1008. $ref: '#/definitions/v1.LoginData'
  1009. message:
  1010. default: success
  1011. description: 消息
  1012. type: string
  1013. type: object
  1014. v1.MaintainItem:
  1015. properties:
  1016. date_cycle:
  1017. type: integer
  1018. id:
  1019. type: integer
  1020. item:
  1021. type: string
  1022. item_id:
  1023. type: integer
  1024. mile_cycle:
  1025. type: integer
  1026. start_date:
  1027. type: integer
  1028. start_mile:
  1029. type: integer
  1030. style_id:
  1031. type: string
  1032. type: object
  1033. v1.MaintainManualInfoReply:
  1034. properties:
  1035. cycle:
  1036. $ref: '#/definitions/v1.MaintainManualInfoReply_Cycle'
  1037. maintain:
  1038. items:
  1039. $ref: '#/definitions/v1.MaintainManualInfoReply_Maintain'
  1040. type: array
  1041. maintain_item:
  1042. items:
  1043. $ref: '#/definitions/v1.MaintainManualInfoReply_MaintainItem'
  1044. type: array
  1045. repair:
  1046. items:
  1047. $ref: '#/definitions/v1.MaintainManualInfoReply_Repair'
  1048. type: array
  1049. wash:
  1050. items:
  1051. $ref: '#/definitions/v1.MaintainManualInfoReply_Wash'
  1052. type: array
  1053. type: object
  1054. v1.MaintainManualInfoReply_Cycle:
  1055. properties:
  1056. date_cycle:
  1057. type: integer
  1058. mile_cycle:
  1059. type: integer
  1060. start_date:
  1061. type: integer
  1062. start_mile:
  1063. type: integer
  1064. type: object
  1065. v1.MaintainManualInfoReply_Items:
  1066. properties:
  1067. item_id:
  1068. type: integer
  1069. item_name:
  1070. type: string
  1071. level:
  1072. type: integer
  1073. type: object
  1074. v1.MaintainManualInfoReply_Maintain:
  1075. properties:
  1076. age:
  1077. type: integer
  1078. items:
  1079. items:
  1080. $ref: '#/definitions/v1.MaintainManualInfoReply_Items'
  1081. type: array
  1082. mile:
  1083. type: integer
  1084. type: object
  1085. v1.MaintainManualInfoReply_MaintainItem:
  1086. properties:
  1087. date_cycle:
  1088. type: integer
  1089. item_id:
  1090. type: integer
  1091. item_name:
  1092. type: string
  1093. mile_cycle:
  1094. type: integer
  1095. start_date:
  1096. type: integer
  1097. start_mile:
  1098. type: integer
  1099. style_id:
  1100. type: string
  1101. type: object
  1102. v1.MaintainManualInfoReply_Repair:
  1103. properties:
  1104. cycle:
  1105. type: integer
  1106. date_cycle:
  1107. type: integer
  1108. item_id:
  1109. type: integer
  1110. item_name:
  1111. type: string
  1112. mile_cycle:
  1113. type: integer
  1114. start_date:
  1115. type: integer
  1116. start_mile:
  1117. type: integer
  1118. style_id:
  1119. type: string
  1120. type: object
  1121. v1.MaintainManualInfoReply_Wash:
  1122. properties:
  1123. cycle:
  1124. type: integer
  1125. date_cycle:
  1126. type: integer
  1127. item_id:
  1128. type: integer
  1129. item_name:
  1130. type: string
  1131. mile_cycle:
  1132. type: integer
  1133. start_date:
  1134. type: integer
  1135. start_mile:
  1136. type: integer
  1137. style_id:
  1138. type: string
  1139. type: object
  1140. v1.MaintainManualReply:
  1141. properties:
  1142. maintainance:
  1143. description: 保养
  1144. items:
  1145. $ref: '#/definitions/v1.MaintainItem'
  1146. type: array
  1147. repair:
  1148. description: 维修
  1149. items:
  1150. $ref: '#/definitions/v1.MaintainItem'
  1151. type: array
  1152. wash:
  1153. description: 清洗
  1154. items:
  1155. $ref: '#/definitions/v1.MaintainItem'
  1156. type: array
  1157. type: object
  1158. v1.MakerList:
  1159. properties:
  1160. brand_id:
  1161. type: string
  1162. maker:
  1163. type: string
  1164. maker_id:
  1165. type: string
  1166. type: object
  1167. v1.ManualTask:
  1168. properties:
  1169. created_at:
  1170. type: string
  1171. finish_count:
  1172. type: integer
  1173. is_finish:
  1174. type: integer
  1175. manual_task_name:
  1176. type: string
  1177. progress:
  1178. type: integer
  1179. source:
  1180. type: string
  1181. sql:
  1182. type: string
  1183. task_ids:
  1184. items:
  1185. type: string
  1186. type: array
  1187. total:
  1188. type: integer
  1189. type:
  1190. type: integer
  1191. type: object
  1192. v1.ManualTaskReply:
  1193. properties:
  1194. current_page:
  1195. type: integer
  1196. first_page:
  1197. type: integer
  1198. last_page:
  1199. type: integer
  1200. list:
  1201. items:
  1202. $ref: '#/definitions/v1.ManualTask'
  1203. type: array
  1204. next_page:
  1205. type: integer
  1206. per_page:
  1207. type: integer
  1208. prev_page:
  1209. type: integer
  1210. total:
  1211. type: integer
  1212. type: object
  1213. v1.RelatedTables:
  1214. properties:
  1215. desc:
  1216. type: string
  1217. tableName:
  1218. type: string
  1219. type: object
  1220. v1.Relation:
  1221. properties:
  1222. desc:
  1223. type: string
  1224. id:
  1225. type: integer
  1226. is_on:
  1227. type: integer
  1228. task_id:
  1229. type: integer
  1230. task_name:
  1231. type: string
  1232. type: object
  1233. v1.RelationReply:
  1234. properties:
  1235. list:
  1236. items:
  1237. $ref: '#/definitions/v1.Relation'
  1238. type: array
  1239. type: object
  1240. v1.Rely:
  1241. properties:
  1242. desc:
  1243. type: string
  1244. table_name:
  1245. type: string
  1246. type: object
  1247. v1.RequestList:
  1248. properties:
  1249. desc:
  1250. type: string
  1251. request:
  1252. type: string
  1253. type: object
  1254. v1.SearchData:
  1255. properties:
  1256. desc:
  1257. type: string
  1258. tableName:
  1259. type: string
  1260. type: object
  1261. v1.SearchDataReply:
  1262. properties:
  1263. list:
  1264. items:
  1265. $ref: '#/definitions/v1.SearchData'
  1266. type: array
  1267. type: object
  1268. v1.SearchDataResponse:
  1269. properties:
  1270. code:
  1271. default: 0
  1272. description: 返回码
  1273. format: int
  1274. type: integer
  1275. data:
  1276. $ref: '#/definitions/v1.SearchDataReply'
  1277. message:
  1278. default: success
  1279. description: 消息
  1280. type: string
  1281. type: object
  1282. v1.SearchLevelResponse:
  1283. properties:
  1284. code:
  1285. default: 0
  1286. description: 返回码
  1287. format: int
  1288. type: integer
  1289. data:
  1290. items:
  1291. type: string
  1292. type: array
  1293. message:
  1294. default: success
  1295. description: 消息
  1296. type: string
  1297. type: object
  1298. v1.SearchList:
  1299. properties:
  1300. id:
  1301. type: string
  1302. name:
  1303. type: string
  1304. type: object
  1305. v1.SearchReply:
  1306. properties:
  1307. list:
  1308. items:
  1309. $ref: '#/definitions/v1.SearchList'
  1310. type: array
  1311. type: object
  1312. v1.SearchResponse:
  1313. properties:
  1314. code:
  1315. default: 0
  1316. description: 返回码
  1317. format: int
  1318. type: integer
  1319. data:
  1320. $ref: '#/definitions/v1.SearchReply'
  1321. message:
  1322. default: success
  1323. description: 消息
  1324. type: string
  1325. type: object
  1326. v1.SearchTask:
  1327. properties:
  1328. desc:
  1329. type: string
  1330. taskName:
  1331. type: string
  1332. type: object
  1333. v1.SearchTaskReply:
  1334. properties:
  1335. list:
  1336. items:
  1337. $ref: '#/definitions/v1.SearchTask'
  1338. type: array
  1339. type: object
  1340. v1.SearchTaskResponse:
  1341. properties:
  1342. code:
  1343. default: 0
  1344. description: 返回码
  1345. format: int
  1346. type: integer
  1347. data:
  1348. $ref: '#/definitions/v1.SearchTaskReply'
  1349. message:
  1350. default: success
  1351. description: 消息
  1352. type: string
  1353. type: object
  1354. v1.SeriesList:
  1355. properties:
  1356. brand_id:
  1357. type: string
  1358. brand_name:
  1359. type: string
  1360. id:
  1361. type: integer
  1362. image:
  1363. type: string
  1364. maker:
  1365. type: string
  1366. old_series_name:
  1367. type: string
  1368. series_id:
  1369. type: string
  1370. series_name:
  1371. type: string
  1372. status:
  1373. type: integer
  1374. type: object
  1375. v1.SeriesListReply:
  1376. properties:
  1377. current_page:
  1378. type: integer
  1379. first_page:
  1380. type: integer
  1381. last_page:
  1382. type: integer
  1383. list:
  1384. items:
  1385. $ref: '#/definitions/v1.SeriesList'
  1386. type: array
  1387. next_page:
  1388. type: integer
  1389. per_page:
  1390. type: integer
  1391. prev_page:
  1392. type: integer
  1393. total:
  1394. type: integer
  1395. type: object
  1396. v1.Source:
  1397. properties:
  1398. desc:
  1399. type: string
  1400. tableName:
  1401. type: string
  1402. type: object
  1403. v1.SourceReply:
  1404. properties:
  1405. list:
  1406. items:
  1407. $ref: '#/definitions/v1.Source'
  1408. type: array
  1409. type: object
  1410. v1.SourceResponse:
  1411. properties:
  1412. code:
  1413. default: 0
  1414. description: 返回码
  1415. format: int
  1416. type: integer
  1417. data:
  1418. $ref: '#/definitions/v1.SourceReply'
  1419. message:
  1420. default: success
  1421. description: 消息
  1422. type: string
  1423. type: object
  1424. v1.StyleInfoReply:
  1425. properties:
  1426. aircondition:
  1427. $ref: '#/definitions/v1.StyleInfoReply_Aircondition'
  1428. basic:
  1429. $ref: '#/definitions/v1.StyleInfoReply_Basic'
  1430. body:
  1431. $ref: '#/definitions/v1.StyleInfoReply_Body'
  1432. chassis:
  1433. $ref: '#/definitions/v1.StyleInfoReply_Chassis'
  1434. control:
  1435. $ref: '#/definitions/v1.StyleInfoReply_Control'
  1436. electric:
  1437. $ref: '#/definitions/v1.StyleInfoReply_Electric'
  1438. engine:
  1439. $ref: '#/definitions/v1.StyleInfoReply_Engine'
  1440. external:
  1441. $ref: '#/definitions/v1.StyleInfoReply_External'
  1442. gearbox:
  1443. $ref: '#/definitions/v1.StyleInfoReply_Gearbox'
  1444. intelligent:
  1445. $ref: '#/definitions/v1.StyleInfoReply_Intelligent'
  1446. internal:
  1447. $ref: '#/definitions/v1.StyleInfoReply_Internal'
  1448. light:
  1449. $ref: '#/definitions/v1.StyleInfoReply_Light'
  1450. media:
  1451. $ref: '#/definitions/v1.StyleInfoReply_Media'
  1452. optional:
  1453. $ref: '#/definitions/v1.StyleInfoReply_Optional'
  1454. rearview:
  1455. $ref: '#/definitions/v1.StyleInfoReply_Rearview'
  1456. safety:
  1457. $ref: '#/definitions/v1.StyleInfoReply_Safety'
  1458. seat:
  1459. $ref: '#/definitions/v1.StyleInfoReply_Seat'
  1460. wheelbrake:
  1461. $ref: '#/definitions/v1.StyleInfoReply_Wheelbrake'
  1462. type: object
  1463. v1.StyleInfoReply_Aircondition:
  1464. properties:
  1465. aircondition_control_type:
  1466. type: string
  1467. car_air_purifier:
  1468. type: string
  1469. fragrance_system:
  1470. type: string
  1471. negative_ion_generator:
  1472. type: string
  1473. pm25_device:
  1474. type: string
  1475. rear_independent_air_conditioner:
  1476. type: string
  1477. rear_seat_air_outlet:
  1478. type: string
  1479. refrigerator:
  1480. type: string
  1481. temperature_zone_control:
  1482. type: string
  1483. type: object
  1484. v1.StyleInfoReply_Basic:
  1485. properties:
  1486. alternator:
  1487. type: string
  1488. braking_distance_measure:
  1489. type: string
  1490. brand_id:
  1491. type: string
  1492. brand_name:
  1493. type: string
  1494. emission_standard:
  1495. type: string
  1496. engine:
  1497. type: string
  1498. fast_charge_amount:
  1499. type: string
  1500. fast_charging_time:
  1501. type: string
  1502. fuel_type_detail:
  1503. type: string
  1504. gearbox_desc:
  1505. type: string
  1506. hundred_accelerate:
  1507. type: string
  1508. hundred_accelerate_measure:
  1509. type: string
  1510. level:
  1511. type: string
  1512. lwh:
  1513. type: string
  1514. maker:
  1515. type: string
  1516. maximum_power:
  1517. type: string
  1518. maximum_simulation_milage:
  1519. type: string
  1520. maximum_simulation_milage_measure:
  1521. type: string
  1522. maximum_speed:
  1523. type: string
  1524. maximum_torque:
  1525. type: string
  1526. model_year:
  1527. type: string
  1528. oil_wear_comrehensive:
  1529. type: string
  1530. oil_wear_measure:
  1531. type: string
  1532. price:
  1533. type: string
  1534. price_yuan:
  1535. type: string
  1536. series_id:
  1537. type: string
  1538. series_img:
  1539. type: string
  1540. series_name:
  1541. type: string
  1542. slow_charging_time:
  1543. type: string
  1544. style_id:
  1545. type: string
  1546. style_name:
  1547. type: string
  1548. sub_level:
  1549. type: string
  1550. vehicle_structure:
  1551. type: string
  1552. vehicle_warranty:
  1553. type: string
  1554. type: object
  1555. v1.StyleInfoReply_Body:
  1556. properties:
  1557. back_wheel_distance:
  1558. type: string
  1559. door_number:
  1560. type: string
  1561. front_wheel_distance:
  1562. type: string
  1563. high:
  1564. type: string
  1565. long:
  1566. type: string
  1567. minimum_ground_clearance:
  1568. type: string
  1569. oilbox_volume:
  1570. type: string
  1571. seat_number:
  1572. type: string
  1573. trunk_volume:
  1574. type: string
  1575. unladen_mass:
  1576. type: string
  1577. wheelbase:
  1578. type: string
  1579. wide:
  1580. type: string
  1581. type: object
  1582. v1.StyleInfoReply_Chassis:
  1583. properties:
  1584. assist_type:
  1585. type: string
  1586. back_suspention_type:
  1587. type: string
  1588. body_structure:
  1589. type: string
  1590. drive_type:
  1591. type: string
  1592. front_suspention_type:
  1593. type: string
  1594. type: object
  1595. v1.StyleInfoReply_Control:
  1596. properties:
  1597. air_suspension:
  1598. type: string
  1599. ascent_assist:
  1600. type: string
  1601. auto_hold:
  1602. type: string
  1603. automatic_driving_assistance:
  1604. type: string
  1605. automatic_parking:
  1606. type: string
  1607. back_parking_rador:
  1608. type: string
  1609. central_diff_lock:
  1610. type: string
  1611. cruise_system:
  1612. type: string
  1613. driving_mode_selection:
  1614. type: string
  1615. e_induction_suspension:
  1616. type: string
  1617. edl:
  1618. type: string
  1619. engine_start_stop_technology:
  1620. type: string
  1621. front_parking_rador:
  1622. type: string
  1623. hdc:
  1624. type: string
  1625. overall_active_steering_system:
  1626. type: string
  1627. reverse_vehicle_side_warning_system:
  1628. type: string
  1629. variable_steering_ratio:
  1630. type: string
  1631. variable_suspension:
  1632. type: string
  1633. wade_sensing_system:
  1634. type: string
  1635. type: object
  1636. v1.StyleInfoReply_Electric:
  1637. properties:
  1638. back_electric_maximum_power:
  1639. type: string
  1640. back_electric_torque:
  1641. type: string
  1642. battery_energy:
  1643. type: string
  1644. battery_pack_warranty:
  1645. type: string
  1646. battery_type:
  1647. type: string
  1648. front_electric_maximum_power:
  1649. type: string
  1650. front_electric_torque:
  1651. type: string
  1652. hundred_electricity_consumption:
  1653. type: string
  1654. maximum_simulation_milage:
  1655. type: string
  1656. motor_layout:
  1657. type: string
  1658. motor_number:
  1659. type: string
  1660. motor_type:
  1661. type: string
  1662. system_integrated_power:
  1663. type: string
  1664. system_integrated_torque:
  1665. type: string
  1666. total_motor_power:
  1667. type: string
  1668. total_motor_torque:
  1669. type: string
  1670. type: object
  1671. v1.StyleInfoReply_Engine:
  1672. properties:
  1673. air_intak_form:
  1674. type: string
  1675. cylinder_arrangement:
  1676. type: string
  1677. cylinder_diameter:
  1678. type: string
  1679. cylinder_head_material:
  1680. type: string
  1681. cylinder_material:
  1682. type: string
  1683. cylinder_number:
  1684. type: string
  1685. cylinder_valve_number:
  1686. type: string
  1687. displacement:
  1688. type: string
  1689. displacement_l:
  1690. type: string
  1691. engine_technology:
  1692. type: string
  1693. engine_type:
  1694. type: string
  1695. fuel_lable:
  1696. type: string
  1697. fuel_type_detail:
  1698. type: string
  1699. maximum_horsepower:
  1700. type: string
  1701. maximum_power_rpm:
  1702. type: string
  1703. oil_supply_mode:
  1704. type: string
  1705. piston_stroke:
  1706. type: string
  1707. reduction_ratio:
  1708. type: string
  1709. rpm:
  1710. type: string
  1711. valve_mechanism:
  1712. type: string
  1713. type: object
  1714. v1.StyleInfoReply_External:
  1715. properties:
  1716. active_intake_grille:
  1717. type: string
  1718. battery_pre_heating:
  1719. type: string
  1720. central_control_lock:
  1721. type: string
  1722. electric_trunk:
  1723. type: string
  1724. electronic_anti_theft:
  1725. type: string
  1726. eosd:
  1727. type: string
  1728. frameless_design_door:
  1729. type: string
  1730. hide_electric_door_handle:
  1731. type: string
  1732. inductive_trunk:
  1733. type: string
  1734. key_type:
  1735. type: string
  1736. keyless_entry_system:
  1737. type: string
  1738. keyless_start_system:
  1739. type: string
  1740. outside_pedal:
  1741. type: string
  1742. rear_compartment_position_memory:
  1743. type: string
  1744. remote_start:
  1745. type: string
  1746. rim_material:
  1747. type: string
  1748. roof_luggage_rack:
  1749. type: string
  1750. side_sliding_door:
  1751. type: string
  1752. skylight_type:
  1753. type: string
  1754. sports_appearance_kit:
  1755. type: string
  1756. tail:
  1757. type: string
  1758. the_tailgate_glass_opens_independently:
  1759. type: string
  1760. type: object
  1761. v1.StyleInfoReply_Gearbox:
  1762. properties:
  1763. gear_number:
  1764. type: string
  1765. gearbox_desc:
  1766. type: string
  1767. gearbox_type:
  1768. type: string
  1769. type: object
  1770. v1.StyleInfoReply_Intelligent:
  1771. properties:
  1772. auxiliary_driving_chip:
  1773. type: string
  1774. chip_computing_power:
  1775. type: string
  1776. number_of_cameras:
  1777. type: string
  1778. number_of_lidars:
  1779. type: string
  1780. number_of_millimeter_wave_radars:
  1781. type: string
  1782. number_of_ultrasonic_radars:
  1783. type: string
  1784. type: object
  1785. v1.StyleInfoReply_Internal:
  1786. properties:
  1787. active_noise_reduction:
  1788. type: string
  1789. car_driving_recorder:
  1790. type: string
  1791. driving_computer_display:
  1792. type: string
  1793. electrically_adjustable_pedal:
  1794. type: string
  1795. full_lcd_dashboard:
  1796. type: string
  1797. full_lcd_dashboard_size:
  1798. type: string
  1799. hud_rising_number_display:
  1800. type: string
  1801. mobile_phone_wireless_charging:
  1802. type: string
  1803. multi_functional_steering_wheel:
  1804. type: string
  1805. steering_wheel_adjustment:
  1806. type: string
  1807. steering_wheel_heating:
  1808. type: string
  1809. steering_wheel_material:
  1810. type: string
  1811. steering_wheel_remember:
  1812. type: string
  1813. steering_wheel_shift:
  1814. type: string
  1815. type: object
  1816. v1.StyleInfoReply_Light:
  1817. properties:
  1818. adaptive_far_near:
  1819. type: string
  1820. atmosphere:
  1821. type: string
  1822. auto_head:
  1823. type: string
  1824. clean:
  1825. type: string
  1826. daytime:
  1827. type: string
  1828. far:
  1829. type: string
  1830. fog:
  1831. type: string
  1832. headlamp_delay_off:
  1833. type: string
  1834. headlamp_rain_fog_mode:
  1835. type: string
  1836. height_adjustable:
  1837. type: string
  1838. lighting_features:
  1839. type: string
  1840. near:
  1841. type: string
  1842. side_turn:
  1843. type: string
  1844. steering_assist_lamp:
  1845. type: string
  1846. touch_reading_lamp:
  1847. type: string
  1848. type: object
  1849. v1.StyleInfoReply_Media:
  1850. properties:
  1851. back_lcd:
  1852. type: string
  1853. car_internet:
  1854. type: string
  1855. car_phone:
  1856. type: string
  1857. car_tv:
  1858. type: string
  1859. cd_dvd:
  1860. type: string
  1861. center_console_large_screen_size:
  1862. type: string
  1863. central_colour_screen:
  1864. type: string
  1865. central_lcd_split_screen:
  1866. type: string
  1867. charging_interface:
  1868. type: string
  1869. face_recognition:
  1870. type: string
  1871. gesture_control:
  1872. type: string
  1873. gps:
  1874. type: string
  1875. interface_of12v:
  1876. type: string
  1877. mobile_internet:
  1878. type: string
  1879. navigation_traffic_information_display:
  1880. type: string
  1881. number_of_interfaces:
  1882. type: string
  1883. ota:
  1884. type: string
  1885. power_of220v:
  1886. type: string
  1887. rear_control_multimedia:
  1888. type: string
  1889. road_rescue_call:
  1890. type: string
  1891. speaker_brand:
  1892. type: string
  1893. speaker_number:
  1894. type: string
  1895. voice_control:
  1896. type: string
  1897. type: object
  1898. v1.StyleInfoReply_Optional:
  1899. properties:
  1900. body_colour:
  1901. type: string
  1902. interior_color:
  1903. type: string
  1904. type: object
  1905. v1.StyleInfoReply_Rearview:
  1906. properties:
  1907. anti_pinch_hand:
  1908. type: string
  1909. back_electric_window:
  1910. type: string
  1911. back_side_privacy:
  1912. type: string
  1913. back_side_sunshade:
  1914. type: string
  1915. back_sunshade:
  1916. type: string
  1917. back_wiper:
  1918. type: string
  1919. cosmetic:
  1920. type: string
  1921. exterior_rearview_mirror_function:
  1922. type: string
  1923. front_electric_window:
  1924. type: string
  1925. front_wiper:
  1926. type: string
  1927. heatable_spray_nozzle:
  1928. type: string
  1929. interior_rearview_mirror_function:
  1930. type: string
  1931. multilayer_sound_insulation_glass:
  1932. type: string
  1933. window_one_key:
  1934. type: string
  1935. type: object
  1936. v1.StyleInfoReply_Safety:
  1937. properties:
  1938. abs:
  1939. type: string
  1940. active_brake:
  1941. type: string
  1942. asr_tcs_trc:
  1943. type: string
  1944. auxiliary_seat_airbag:
  1945. type: string
  1946. back_belt_airbag:
  1947. type: string
  1948. back_head_airbag:
  1949. type: string
  1950. back_side_airbag:
  1951. type: string
  1952. eba_bas_ba:
  1953. type: string
  1954. ebd_cbc:
  1955. type: string
  1956. esp:
  1957. type: string
  1958. fatigue_driving_warning:
  1959. type: string
  1960. font_head_airbag:
  1961. type: string
  1962. front_middle_airbag:
  1963. type: string
  1964. front_side_airbag:
  1965. type: string
  1966. iso_fix:
  1967. type: string
  1968. knee_airbag:
  1969. type: string
  1970. lane_departure_warning_system:
  1971. type: string
  1972. lane_keeping:
  1973. type: string
  1974. main_seat_airbag:
  1975. type: string
  1976. night_vision:
  1977. type: string
  1978. parallel_auxiliary:
  1979. type: string
  1980. passenger_seat_cushion_airbag:
  1981. type: string
  1982. passive_pedestrian_protection:
  1983. type: string
  1984. rear_central_airbag:
  1985. type: string
  1986. rear_seat_anti_slide_airbag:
  1987. type: string
  1988. road_traffic_sign_recognition:
  1989. type: string
  1990. run_flat_tire:
  1991. type: string
  1992. seat_belt_warning:
  1993. type: string
  1994. tire_presure_monitor:
  1995. type: string
  1996. type: object
  1997. v1.StyleInfoReply_Seat:
  1998. properties:
  1999. auxiliary_adjustable_button:
  2000. type: string
  2001. auxiliary_electric_adust:
  2002. type: string
  2003. auxiliary_seat_adjustment_mode:
  2004. type: string
  2005. back_cup_holder:
  2006. type: string
  2007. back_down_type:
  2008. type: string
  2009. back_fold_table:
  2010. type: string
  2011. back_handrail:
  2012. type: string
  2013. electric_seat_remeber:
  2014. type: string
  2015. front_handrail:
  2016. type: string
  2017. front_seat_function:
  2018. type: string
  2019. heating_cooling_cup_holder:
  2020. type: string
  2021. main_electric_adust:
  2022. type: string
  2023. main_seat_adjustment_mode:
  2024. type: string
  2025. rear_seat_electric_adjustment:
  2026. type: string
  2027. rear_seat_function:
  2028. type: string
  2029. rear_seat_power_down:
  2030. type: string
  2031. seat_layout_form:
  2032. type: string
  2033. seat_material:
  2034. type: string
  2035. second_independent:
  2036. type: string
  2037. second_row_seat_adjustment:
  2038. type: string
  2039. sport_seat:
  2040. type: string
  2041. type: object
  2042. v1.StyleInfoReply_Wheelbrake:
  2043. properties:
  2044. back_brake_type:
  2045. type: string
  2046. back_wheel_specification:
  2047. type: string
  2048. front_brake_type:
  2049. type: string
  2050. front_wheel_specification:
  2051. type: string
  2052. parking_brake_type:
  2053. type: string
  2054. spare_wheel_specification:
  2055. type: string
  2056. type: object
  2057. v1.StyleList:
  2058. properties:
  2059. brand_id:
  2060. type: string
  2061. brand_name:
  2062. type: string
  2063. id:
  2064. type: integer
  2065. maintain_id:
  2066. type: integer
  2067. maker:
  2068. type: string
  2069. series_id:
  2070. type: string
  2071. series_name:
  2072. type: string
  2073. status:
  2074. type: integer
  2075. style_id:
  2076. type: string
  2077. style_name:
  2078. type: string
  2079. type: object
  2080. v1.StyleListReply:
  2081. properties:
  2082. current_page:
  2083. type: integer
  2084. first_page:
  2085. type: integer
  2086. last_page:
  2087. type: integer
  2088. list:
  2089. items:
  2090. $ref: '#/definitions/v1.StyleList'
  2091. type: array
  2092. next_page:
  2093. type: integer
  2094. per_page:
  2095. type: integer
  2096. prev_page:
  2097. type: integer
  2098. total:
  2099. type: integer
  2100. type: object
  2101. v1.StyleMap:
  2102. properties:
  2103. source:
  2104. type: string
  2105. style_id:
  2106. type: string
  2107. style_name:
  2108. type: string
  2109. third_brand_name:
  2110. type: string
  2111. third_series_name:
  2112. type: string
  2113. third_style_id:
  2114. type: string
  2115. third_style_name:
  2116. type: string
  2117. type: object
  2118. v1.StyleMapReply:
  2119. properties:
  2120. current_page:
  2121. type: integer
  2122. first_page:
  2123. type: integer
  2124. last_page:
  2125. type: integer
  2126. list:
  2127. items:
  2128. $ref: '#/definitions/v1.StyleMap'
  2129. type: array
  2130. next_page:
  2131. type: integer
  2132. per_page:
  2133. type: integer
  2134. prev_page:
  2135. type: integer
  2136. total:
  2137. type: integer
  2138. type: object
  2139. v1.StyleMapResponse:
  2140. properties:
  2141. code:
  2142. default: 0
  2143. description: 返回码
  2144. format: int
  2145. type: integer
  2146. data:
  2147. $ref: '#/definitions/v1.StyleMapReply'
  2148. message:
  2149. default: success
  2150. description: 消息
  2151. type: string
  2152. type: object
  2153. v1.TableStruct:
  2154. properties:
  2155. desc:
  2156. type: string
  2157. field_name:
  2158. type: string
  2159. type: object
  2160. v1.TableStructReply:
  2161. properties:
  2162. list:
  2163. items:
  2164. $ref: '#/definitions/v1.TableStruct'
  2165. type: array
  2166. type: object
  2167. v1.TableStructResponse:
  2168. properties:
  2169. code:
  2170. default: 0
  2171. description: 返回码
  2172. format: int
  2173. type: integer
  2174. data:
  2175. $ref: '#/definitions/v1.TableStructReply'
  2176. message:
  2177. default: success
  2178. description: 消息
  2179. type: string
  2180. type: object
  2181. v1.Task:
  2182. properties:
  2183. desc:
  2184. type: string
  2185. taskName:
  2186. type: string
  2187. type: object
  2188. v1.TaskList:
  2189. properties:
  2190. desc:
  2191. type: string
  2192. target_table:
  2193. type: string
  2194. task_id:
  2195. type: integer
  2196. task_name:
  2197. type: string
  2198. type: object
  2199. v1.TaskListReply:
  2200. properties:
  2201. current_page:
  2202. type: integer
  2203. first_page:
  2204. type: integer
  2205. last_page:
  2206. type: integer
  2207. list:
  2208. items:
  2209. $ref: '#/definitions/v1.TaskList'
  2210. type: array
  2211. next_page:
  2212. type: integer
  2213. per_page:
  2214. type: integer
  2215. prev_page:
  2216. type: integer
  2217. total:
  2218. type: integer
  2219. type: object
  2220. v1.TaskReply:
  2221. properties:
  2222. list:
  2223. items:
  2224. $ref: '#/definitions/v1.Task'
  2225. type: array
  2226. type: object
  2227. v1.TaskResponse:
  2228. properties:
  2229. code:
  2230. default: 0
  2231. description: 返回码
  2232. format: int
  2233. type: integer
  2234. data:
  2235. $ref: '#/definitions/v1.TaskReply'
  2236. message:
  2237. default: success
  2238. description: 消息
  2239. type: string
  2240. type: object
  2241. v1.Template:
  2242. properties:
  2243. id:
  2244. type: integer
  2245. name:
  2246. type: string
  2247. type: object
  2248. v1.TemplateListReply:
  2249. properties:
  2250. list:
  2251. items:
  2252. $ref: '#/definitions/v1.Template'
  2253. type: array
  2254. type: object
  2255. v1.TemplateListResponse:
  2256. properties:
  2257. code:
  2258. default: 0
  2259. description: 返回码
  2260. format: int
  2261. type: integer
  2262. data:
  2263. $ref: '#/definitions/v1.TemplateListReply'
  2264. message:
  2265. default: success
  2266. description: 消息
  2267. type: string
  2268. type: object
  2269. v1.UpdateAPIBody:
  2270. properties:
  2271. api:
  2272. type: string
  2273. data:
  2274. type: string
  2275. param:
  2276. type: string
  2277. type: object
  2278. v1.UpdateAPIResponse:
  2279. properties:
  2280. code:
  2281. default: 0
  2282. description: 返回码
  2283. format: int
  2284. type: integer
  2285. message:
  2286. default: success
  2287. description: 消息
  2288. type: string
  2289. type: object
  2290. v1.UpdateBrandBody:
  2291. properties:
  2292. brand_name:
  2293. type: string
  2294. has_img:
  2295. type: integer
  2296. id:
  2297. type: integer
  2298. initial:
  2299. type: string
  2300. old_brand_name:
  2301. type: string
  2302. status:
  2303. type: integer
  2304. weight:
  2305. type: integer
  2306. type: object
  2307. v1.UpdateMaintainManualBody:
  2308. properties:
  2309. date_cycle:
  2310. type: integer
  2311. id:
  2312. type: integer
  2313. item_id:
  2314. type: integer
  2315. mile_cycle:
  2316. type: integer
  2317. name:
  2318. type: string
  2319. start_date:
  2320. type: integer
  2321. start_mile:
  2322. type: integer
  2323. style_id:
  2324. type: string
  2325. tid:
  2326. type: integer
  2327. type: object
  2328. v1.UpdateMaintainManualResponse:
  2329. properties:
  2330. code:
  2331. default: 0
  2332. description: 返回码
  2333. format: int
  2334. type: integer
  2335. message:
  2336. default: success
  2337. description: 消息
  2338. type: string
  2339. type: object
  2340. v1.UpdateMakerBody:
  2341. properties:
  2342. maker:
  2343. type: string
  2344. maker_id:
  2345. type: string
  2346. type: object
  2347. v1.UpdateSeriesBody:
  2348. properties:
  2349. has_img:
  2350. type: integer
  2351. id:
  2352. type: integer
  2353. maker:
  2354. type: string
  2355. old_series_name:
  2356. type: string
  2357. series_name:
  2358. type: string
  2359. status:
  2360. type: integer
  2361. type: object
  2362. v1.UpdateStyleBody:
  2363. properties:
  2364. id:
  2365. type: integer
  2366. status:
  2367. type: integer
  2368. style_name:
  2369. type: string
  2370. type: object
  2371. v1.UpdateStyleConfigBody:
  2372. properties:
  2373. data:
  2374. type: string
  2375. id:
  2376. type: integer
  2377. type: object
  2378. v1.UpdateStyleItem:
  2379. properties:
  2380. attribute_rule:
  2381. type: string
  2382. c2_id:
  2383. type: integer
  2384. detail:
  2385. type: string
  2386. id:
  2387. type: integer
  2388. style_id:
  2389. type: string
  2390. useage:
  2391. type: string
  2392. type: object
  2393. v1.UpdateStyleItemBody:
  2394. properties:
  2395. list:
  2396. items:
  2397. $ref: '#/definitions/v1.UpdateStyleItem'
  2398. type: array
  2399. type: object
  2400. v1.UseAPIReply:
  2401. properties:
  2402. request:
  2403. items:
  2404. $ref: '#/definitions/v1.CheckAPI'
  2405. type: array
  2406. type: object
  2407. v1.UseAPIResponse:
  2408. properties:
  2409. code:
  2410. default: 0
  2411. description: 返回码
  2412. format: int
  2413. type: integer
  2414. data:
  2415. $ref: '#/definitions/v1.UseAPIReply'
  2416. message:
  2417. default: success
  2418. description: 消息
  2419. type: string
  2420. type: object
  2421. info:
  2422. contact: {}
  2423. description: This is a gateway server. On the page, you can go to do testing for
  2424. every API.
  2425. title: Project adm-gateway's APIs
  2426. version: "1.1"
  2427. paths:
  2428. /api/v1.0/announcement:
  2429. get:
  2430. consumes:
  2431. - application/json
  2432. description: 信息公告
  2433. parameters:
  2434. - description: jwt token
  2435. in: header
  2436. name: token
  2437. required: true
  2438. type: string
  2439. - description: vin
  2440. in: query
  2441. name: vin_rule
  2442. type: string
  2443. - description: 品牌
  2444. in: query
  2445. name: brand_name
  2446. type: string
  2447. - description: 车辆型号
  2448. in: query
  2449. name: model_no
  2450. type: string
  2451. - description: 页码
  2452. in: query
  2453. name: page
  2454. type: integer
  2455. - description: 每页数量,默认10
  2456. in: query
  2457. name: page_size
  2458. type: integer
  2459. produces:
  2460. - application/json
  2461. responses:
  2462. "200":
  2463. description: OK
  2464. schema:
  2465. $ref: '#/definitions/v1.GetAnnouncementResponse'
  2466. "500":
  2467. description: Internal Server Error
  2468. schema:
  2469. $ref: '#/definitions/base.HTTPError'
  2470. summary: 信息公告
  2471. tags:
  2472. - announcement
  2473. - v1.0
  2474. /api/v1.0/announcement/edit:
  2475. get:
  2476. consumes:
  2477. - application/json
  2478. description: 编辑
  2479. parameters:
  2480. - description: jwt token
  2481. in: header
  2482. name: token
  2483. required: true
  2484. type: string
  2485. - description: vehicle_batch
  2486. in: query
  2487. name: vehicle_batch
  2488. type: string
  2489. - description: model_no
  2490. in: query
  2491. name: model_no
  2492. type: string
  2493. produces:
  2494. - application/json
  2495. responses:
  2496. "200":
  2497. description: OK
  2498. schema:
  2499. $ref: '#/definitions/v1.GetEditResponse'
  2500. "500":
  2501. description: Internal Server Error
  2502. schema:
  2503. $ref: '#/definitions/base.HTTPError'
  2504. summary: 编辑
  2505. tags:
  2506. - announcement
  2507. - v1.0
  2508. /api/v1.0/api:
  2509. get:
  2510. consumes:
  2511. - application/json
  2512. description: API管理
  2513. parameters:
  2514. - description: jwt token
  2515. in: header
  2516. name: token
  2517. required: true
  2518. type: string
  2519. - description: API编号
  2520. in: query
  2521. name: api_no
  2522. type: string
  2523. - description: 描述
  2524. in: query
  2525. name: desc
  2526. type: string
  2527. - description: 页码
  2528. in: query
  2529. name: page
  2530. type: integer
  2531. - description: 每页数量,默认10
  2532. in: query
  2533. name: page_size
  2534. type: integer
  2535. produces:
  2536. - application/json
  2537. responses:
  2538. "200":
  2539. description: OK
  2540. schema:
  2541. $ref: '#/definitions/v1.GetAPIListResponse'
  2542. "500":
  2543. description: Internal Server Error
  2544. schema:
  2545. $ref: '#/definitions/base.HTTPError'
  2546. summary: API管理
  2547. tags:
  2548. - api_management
  2549. - v1.0
  2550. /api/v1.0/api/check:
  2551. get:
  2552. consumes:
  2553. - application/json
  2554. description: 查看API
  2555. parameters:
  2556. - description: jwt token
  2557. in: header
  2558. name: token
  2559. required: true
  2560. type: string
  2561. - description: API id
  2562. in: query
  2563. name: api_id
  2564. required: true
  2565. type: integer
  2566. produces:
  2567. - application/json
  2568. responses:
  2569. "200":
  2570. description: OK
  2571. schema:
  2572. $ref: '#/definitions/v1.GetCheckAPIResponse'
  2573. "500":
  2574. description: Internal Server Error
  2575. schema:
  2576. $ref: '#/definitions/base.HTTPError'
  2577. summary: 查看API
  2578. tags:
  2579. - api_management
  2580. - v1.0
  2581. /api/v1.0/api/delete/{api_id}:
  2582. delete:
  2583. consumes:
  2584. - application/json
  2585. description: 删除API
  2586. parameters:
  2587. - description: jwt token
  2588. in: header
  2589. name: token
  2590. required: true
  2591. type: string
  2592. - description: API id
  2593. in: path
  2594. name: api_id
  2595. required: true
  2596. type: integer
  2597. produces:
  2598. - application/json
  2599. responses:
  2600. "200":
  2601. description: OK
  2602. schema:
  2603. $ref: '#/definitions/v1.GetDeleteAPIResponse'
  2604. "500":
  2605. description: Internal Server Error
  2606. schema:
  2607. $ref: '#/definitions/base.HTTPError'
  2608. summary: 删除API
  2609. tags:
  2610. - api_management
  2611. - v1.0
  2612. /api/v1.0/api/delete/key/{key}:
  2613. delete:
  2614. consumes:
  2615. - application/json
  2616. description: 删除key
  2617. parameters:
  2618. - description: jwt token
  2619. in: header
  2620. name: token
  2621. required: true
  2622. type: string
  2623. - description: 密钥
  2624. in: path
  2625. name: key
  2626. required: true
  2627. type: string
  2628. produces:
  2629. - application/json
  2630. responses:
  2631. "200":
  2632. description: OK
  2633. schema:
  2634. $ref: '#/definitions/v1.DeleteKeyResponse'
  2635. "500":
  2636. description: Internal Server Error
  2637. schema:
  2638. $ref: '#/definitions/base.HTTPError'
  2639. summary: 删除key
  2640. tags:
  2641. - api_management
  2642. - v1.0
  2643. /api/v1.0/api/key:
  2644. get:
  2645. consumes:
  2646. - application/json
  2647. description: 密钥管理
  2648. parameters:
  2649. - description: jwt token
  2650. in: header
  2651. name: token
  2652. required: true
  2653. type: string
  2654. - description: 密钥
  2655. in: query
  2656. name: key
  2657. type: string
  2658. - description: 描述
  2659. in: query
  2660. name: desc
  2661. type: string
  2662. - description: 页码
  2663. in: query
  2664. name: page
  2665. type: integer
  2666. - description: 每页数量,默认10
  2667. in: query
  2668. name: page_size
  2669. type: integer
  2670. produces:
  2671. - application/json
  2672. responses:
  2673. "200":
  2674. description: OK
  2675. schema:
  2676. $ref: '#/definitions/v1.GetKeyListResponse'
  2677. "500":
  2678. description: Internal Server Error
  2679. schema:
  2680. $ref: '#/definitions/base.HTTPError'
  2681. summary: 密钥管理
  2682. tags:
  2683. - api_management
  2684. - v1.0
  2685. /api/v1.0/api/key/create:
  2686. post:
  2687. consumes:
  2688. - application/json
  2689. description: 新增密钥
  2690. parameters:
  2691. - description: jwt token
  2692. in: header
  2693. name: token
  2694. required: true
  2695. type: string
  2696. - description: body
  2697. in: body
  2698. name: body
  2699. required: true
  2700. schema:
  2701. $ref: '#/definitions/v1.CreateKeyBody'
  2702. produces:
  2703. - application/json
  2704. responses:
  2705. "200":
  2706. description: OK
  2707. schema:
  2708. $ref: '#/definitions/v1.CreateKeyResponse'
  2709. "500":
  2710. description: Internal Server Error
  2711. schema:
  2712. $ref: '#/definitions/base.HTTPError'
  2713. summary: 新增密钥
  2714. tags:
  2715. - api_management
  2716. - v1.0
  2717. /api/v1.0/api/search/all_api:
  2718. get:
  2719. consumes:
  2720. - application/json
  2721. description: API列表
  2722. parameters:
  2723. - description: jwt token
  2724. in: header
  2725. name: token
  2726. required: true
  2727. type: string
  2728. - description: API
  2729. in: query
  2730. name: all_api
  2731. type: string
  2732. produces:
  2733. - application/json
  2734. responses:
  2735. "200":
  2736. description: OK
  2737. schema:
  2738. $ref: '#/definitions/v1.AllAPIResponse'
  2739. "500":
  2740. description: Internal Server Error
  2741. schema:
  2742. $ref: '#/definitions/base.HTTPError'
  2743. summary: API列表
  2744. tags:
  2745. - api_management
  2746. - v1.0
  2747. /api/v1.0/api/search/all_key:
  2748. get:
  2749. consumes:
  2750. - application/json
  2751. description: 密钥列表
  2752. parameters:
  2753. - description: jwt token
  2754. in: header
  2755. name: token
  2756. required: true
  2757. type: string
  2758. - description: 密钥
  2759. in: query
  2760. name: all_key
  2761. type: string
  2762. produces:
  2763. - application/json
  2764. responses:
  2765. "200":
  2766. description: OK
  2767. schema:
  2768. $ref: '#/definitions/v1.AllKeyResponse'
  2769. "500":
  2770. description: Internal Server Error
  2771. schema:
  2772. $ref: '#/definitions/base.HTTPError'
  2773. summary: 密钥列表
  2774. tags:
  2775. - api_management
  2776. - v1.0
  2777. /api/v1.0/api/update_api:
  2778. put:
  2779. consumes:
  2780. - application/json
  2781. description: 更新API信息
  2782. parameters:
  2783. - description: jwt token
  2784. in: header
  2785. name: token
  2786. required: true
  2787. type: string
  2788. - description: body
  2789. in: body
  2790. name: body
  2791. required: true
  2792. schema:
  2793. $ref: '#/definitions/v1.UpdateAPIBody'
  2794. produces:
  2795. - application/json
  2796. responses:
  2797. "200":
  2798. description: OK
  2799. schema:
  2800. $ref: '#/definitions/v1.UpdateAPIResponse'
  2801. "500":
  2802. description: Internal Server Error
  2803. schema:
  2804. $ref: '#/definitions/base.HTTPError'
  2805. summary: 更新API信息
  2806. tags:
  2807. - api_management
  2808. - v1.0
  2809. /api/v1.0/api/use_key:
  2810. get:
  2811. consumes:
  2812. - application/json
  2813. description: API查询
  2814. parameters:
  2815. - description: jwt token
  2816. in: header
  2817. name: token
  2818. required: true
  2819. type: string
  2820. - description: API id
  2821. in: query
  2822. name: api_id
  2823. type: integer
  2824. produces:
  2825. - application/json
  2826. responses:
  2827. "200":
  2828. description: OK
  2829. schema:
  2830. $ref: '#/definitions/v1.UseAPIResponse'
  2831. "500":
  2832. description: Internal Server Error
  2833. schema:
  2834. $ref: '#/definitions/base.HTTPError'
  2835. summary: API查询
  2836. tags:
  2837. - api_management
  2838. - v1.0
  2839. /api/v1.0/brand:
  2840. get:
  2841. consumes:
  2842. - application/json
  2843. description: 品牌列表
  2844. parameters:
  2845. - description: jwt token
  2846. in: header
  2847. name: token
  2848. required: true
  2849. type: string
  2850. - description: 品牌名称
  2851. in: query
  2852. name: brand_name
  2853. type: string
  2854. - description: 品牌id
  2855. in: query
  2856. name: brand_id
  2857. type: string
  2858. - description: 首字母
  2859. in: query
  2860. name: initial
  2861. type: string
  2862. - description: -1:无图片, 1:有图片
  2863. in: query
  2864. name: has_img
  2865. type: integer
  2866. - description: -1:下线 1:上线
  2867. in: query
  2868. name: status
  2869. type: integer
  2870. - description: 页码
  2871. in: query
  2872. name: page
  2873. type: integer
  2874. - description: 每页数量,默认10
  2875. in: query
  2876. name: page_size
  2877. type: integer
  2878. produces:
  2879. - application/json
  2880. responses:
  2881. "200":
  2882. description: OK
  2883. schema:
  2884. $ref: '#/definitions/v1.GetBrandListResponse'
  2885. "500":
  2886. description: Internal Server Error
  2887. schema:
  2888. $ref: '#/definitions/base.HTTPError'
  2889. summary: 品牌列表
  2890. tags:
  2891. - brand
  2892. - v1.0
  2893. /api/v1.0/brand/:
  2894. put:
  2895. consumes:
  2896. - application/json
  2897. description: 更新车辆品牌信息
  2898. parameters:
  2899. - description: jwt token
  2900. in: header
  2901. name: token
  2902. required: true
  2903. type: string
  2904. - description: body
  2905. in: body
  2906. name: body
  2907. required: true
  2908. schema:
  2909. $ref: '#/definitions/v1.UpdateBrandBody'
  2910. produces:
  2911. - application/json
  2912. responses:
  2913. "200":
  2914. description: OK
  2915. schema:
  2916. $ref: '#/definitions/v1.SearchResponse'
  2917. "500":
  2918. description: Internal Server Error
  2919. schema:
  2920. $ref: '#/definitions/base.HTTPError'
  2921. summary: 更新车辆品牌信息
  2922. tags:
  2923. - brand
  2924. - v1.0
  2925. /api/v1.0/brand/maker:
  2926. get:
  2927. consumes:
  2928. - application/json
  2929. description: 厂商列表
  2930. parameters:
  2931. - description: jwt token
  2932. in: header
  2933. name: token
  2934. required: true
  2935. type: string
  2936. - description: 品牌id
  2937. in: query
  2938. name: brand_id
  2939. required: true
  2940. type: string
  2941. produces:
  2942. - application/json
  2943. responses:
  2944. "200":
  2945. description: OK
  2946. schema:
  2947. $ref: '#/definitions/v1.GetMakerResponse'
  2948. "500":
  2949. description: Internal Server Error
  2950. schema:
  2951. $ref: '#/definitions/base.HTTPError'
  2952. summary: 厂商列表
  2953. tags:
  2954. - brand
  2955. - v1.0
  2956. put:
  2957. consumes:
  2958. - application/json
  2959. description: 更新厂商信息
  2960. parameters:
  2961. - description: jwt token
  2962. in: header
  2963. name: token
  2964. required: true
  2965. type: string
  2966. - description: body
  2967. in: body
  2968. name: body
  2969. required: true
  2970. schema:
  2971. $ref: '#/definitions/v1.UpdateMakerBody'
  2972. produces:
  2973. - application/json
  2974. responses:
  2975. "200":
  2976. description: OK
  2977. schema:
  2978. $ref: '#/definitions/v1.SearchResponse'
  2979. "500":
  2980. description: Internal Server Error
  2981. schema:
  2982. $ref: '#/definitions/base.HTTPError'
  2983. summary: 更新厂商信息
  2984. tags:
  2985. - brand
  2986. - v1.0
  2987. /api/v1.0/brand/search:
  2988. get:
  2989. consumes:
  2990. - application/json
  2991. description: 模糊搜索
  2992. parameters:
  2993. - description: jwt token
  2994. in: header
  2995. name: token
  2996. required: true
  2997. type: string
  2998. - description: 1:品牌 2:厂商 3:车系 4:车型
  2999. in: query
  3000. name: type
  3001. required: true
  3002. type: integer
  3003. - description: 关键字
  3004. in: query
  3005. name: search
  3006. type: string
  3007. - description: brand_id
  3008. in: query
  3009. name: brand_id
  3010. type: string
  3011. - description: maker_id
  3012. in: query
  3013. name: maker_id
  3014. type: string
  3015. - description: series_id
  3016. in: query
  3017. name: series_id
  3018. type: string
  3019. produces:
  3020. - application/json
  3021. responses:
  3022. "200":
  3023. description: OK
  3024. schema:
  3025. $ref: '#/definitions/v1.SearchResponse'
  3026. "500":
  3027. description: Internal Server Error
  3028. schema:
  3029. $ref: '#/definitions/base.HTTPError'
  3030. summary: 模糊搜索
  3031. tags:
  3032. - brand
  3033. - v1.0
  3034. /api/v1.0/data_import/create_template:
  3035. post:
  3036. consumes:
  3037. - application/json
  3038. description: 新建模板
  3039. parameters:
  3040. - description: jwt token
  3041. in: header
  3042. name: token
  3043. required: true
  3044. type: string
  3045. - description: body
  3046. in: body
  3047. name: body
  3048. required: true
  3049. schema:
  3050. $ref: '#/definitions/v1.CreateTemplateBody'
  3051. produces:
  3052. - application/json
  3053. responses:
  3054. "200":
  3055. description: OK
  3056. schema:
  3057. $ref: '#/definitions/v1.CreateTemplateResponse'
  3058. "500":
  3059. description: Internal Server Error
  3060. schema:
  3061. $ref: '#/definitions/base.HTTPError'
  3062. summary: 新建模板
  3063. tags:
  3064. - data_import
  3065. - v1.0
  3066. /api/v1.0/data_import/data_import:
  3067. post:
  3068. consumes:
  3069. - application/json
  3070. description: 数据导入
  3071. parameters:
  3072. - description: jwt token
  3073. in: header
  3074. name: token
  3075. required: true
  3076. type: string
  3077. - description: body
  3078. in: body
  3079. name: body
  3080. required: true
  3081. schema:
  3082. $ref: '#/definitions/v1.DataImportBody'
  3083. produces:
  3084. - application/json
  3085. responses:
  3086. "200":
  3087. description: OK
  3088. schema:
  3089. $ref: '#/definitions/v1.DataImportResponse'
  3090. "500":
  3091. description: Internal Server Error
  3092. schema:
  3093. $ref: '#/definitions/base.HTTPError'
  3094. summary: 数据导入
  3095. tags:
  3096. - data_import
  3097. - v1.0
  3098. /api/v1.0/data_import/data_import_template:
  3099. get:
  3100. consumes:
  3101. - application/json
  3102. description: 数据导入模板
  3103. parameters:
  3104. - description: jwt token
  3105. in: header
  3106. name: token
  3107. required: true
  3108. type: string
  3109. - description: 模板名
  3110. in: query
  3111. name: template_name
  3112. type: string
  3113. - description: 页码
  3114. in: query
  3115. name: page
  3116. type: integer
  3117. - description: 每页数量,默认10
  3118. in: query
  3119. name: page_size
  3120. type: integer
  3121. produces:
  3122. - application/json
  3123. responses:
  3124. "200":
  3125. description: OK
  3126. schema:
  3127. $ref: '#/definitions/v1.DataImportTemplateResponse'
  3128. "500":
  3129. description: Internal Server Error
  3130. schema:
  3131. $ref: '#/definitions/base.HTTPError'
  3132. summary: 数据导入模板
  3133. tags:
  3134. - data_import
  3135. - v1.0
  3136. /api/v1.0/data_import/delete_template/{id}:
  3137. delete:
  3138. consumes:
  3139. - application/json
  3140. description: 删除模板
  3141. parameters:
  3142. - description: jwt token
  3143. in: header
  3144. name: token
  3145. required: true
  3146. type: string
  3147. - description: id
  3148. in: path
  3149. name: id
  3150. required: true
  3151. type: integer
  3152. produces:
  3153. - application/json
  3154. responses:
  3155. "200":
  3156. description: OK
  3157. schema:
  3158. $ref: '#/definitions/v1.DeleteTemplateResponse'
  3159. "500":
  3160. description: Internal Server Error
  3161. schema:
  3162. $ref: '#/definitions/base.HTTPError'
  3163. summary: 删除模板
  3164. tags:
  3165. - data_import
  3166. - v1.0
  3167. /api/v1.0/data_import/edit_template:
  3168. put:
  3169. consumes:
  3170. - application/json
  3171. description: 修改模板
  3172. parameters:
  3173. - description: jwt token
  3174. in: header
  3175. name: token
  3176. required: true
  3177. type: string
  3178. - description: body
  3179. in: body
  3180. name: body
  3181. required: true
  3182. schema:
  3183. $ref: '#/definitions/v1.EditTemplateBody'
  3184. produces:
  3185. - application/json
  3186. responses:
  3187. "200":
  3188. description: OK
  3189. schema:
  3190. $ref: '#/definitions/v1.EditTemplateResponse'
  3191. "500":
  3192. description: Internal Server Error
  3193. schema:
  3194. $ref: '#/definitions/base.HTTPError'
  3195. summary: 修改模板
  3196. tags:
  3197. - data_import
  3198. - v1.0
  3199. /api/v1.0/data_management:
  3200. get:
  3201. consumes:
  3202. - application/json
  3203. description: 数据管理
  3204. parameters:
  3205. - description: jwt token
  3206. in: header
  3207. name: token
  3208. required: true
  3209. type: string
  3210. - description: 表名
  3211. in: query
  3212. name: table_name
  3213. type: string
  3214. - description: 描述
  3215. in: query
  3216. name: desc
  3217. type: string
  3218. - description: 所属层
  3219. in: query
  3220. name: level
  3221. type: string
  3222. - description: 页码
  3223. in: query
  3224. name: page
  3225. type: integer
  3226. - description: 每页数量,默认10
  3227. in: query
  3228. name: page_size
  3229. type: integer
  3230. produces:
  3231. - application/json
  3232. responses:
  3233. "200":
  3234. description: OK
  3235. schema:
  3236. $ref: '#/definitions/v1.GetDataListResponse'
  3237. "500":
  3238. description: Internal Server Error
  3239. schema:
  3240. $ref: '#/definitions/base.HTTPError'
  3241. summary: 数据管理
  3242. tags:
  3243. - data_management
  3244. - v1.0
  3245. /api/v1.0/data_management/relation:
  3246. get:
  3247. consumes:
  3248. - application/json
  3249. description: 任务关系
  3250. parameters:
  3251. - description: jwt token
  3252. in: header
  3253. name: token
  3254. required: true
  3255. type: string
  3256. - description: 数据源
  3257. in: query
  3258. name: source_code
  3259. type: string
  3260. produces:
  3261. - application/json
  3262. responses:
  3263. "200":
  3264. description: OK
  3265. schema:
  3266. $ref: '#/definitions/v1.GetRelationResponse'
  3267. "500":
  3268. description: Internal Server Error
  3269. schema:
  3270. $ref: '#/definitions/base.HTTPError'
  3271. summary: 任务关系
  3272. tags:
  3273. - data_management
  3274. - v1.0
  3275. /api/v1.0/data_management/relation/:
  3276. put:
  3277. consumes:
  3278. - application/json
  3279. description: 任务开关
  3280. parameters:
  3281. - description: jwt token
  3282. in: header
  3283. name: token
  3284. required: true
  3285. type: string
  3286. - description: body
  3287. in: body
  3288. name: body
  3289. required: true
  3290. schema:
  3291. $ref: '#/definitions/v1.GetSwitchBody'
  3292. produces:
  3293. - application/json
  3294. responses:
  3295. "200":
  3296. description: OK
  3297. schema:
  3298. $ref: '#/definitions/v1.GetSwitchResponse'
  3299. "500":
  3300. description: Internal Server Error
  3301. schema:
  3302. $ref: '#/definitions/base.HTTPError'
  3303. summary: 任务开关
  3304. tags:
  3305. - data_management
  3306. - v1.0
  3307. /api/v1.0/data_management/search:
  3308. get:
  3309. consumes:
  3310. - application/json
  3311. description: 模糊搜索
  3312. parameters:
  3313. - description: jwt token
  3314. in: header
  3315. name: token
  3316. required: true
  3317. type: string
  3318. - description: 表名
  3319. in: query
  3320. name: table_name
  3321. type: string
  3322. produces:
  3323. - application/json
  3324. responses:
  3325. "200":
  3326. description: OK
  3327. schema:
  3328. $ref: '#/definitions/v1.SearchDataResponse'
  3329. "500":
  3330. description: Internal Server Error
  3331. schema:
  3332. $ref: '#/definitions/base.HTTPError'
  3333. summary: 模糊搜索
  3334. tags:
  3335. - data_management
  3336. - v1.0
  3337. /api/v1.0/data_management/search_level:
  3338. get:
  3339. consumes:
  3340. - application/json
  3341. description: 所属层搜索
  3342. parameters:
  3343. - description: jwt token
  3344. in: header
  3345. name: token
  3346. required: true
  3347. type: string
  3348. - description: 所属层
  3349. in: query
  3350. name: level
  3351. type: string
  3352. produces:
  3353. - application/json
  3354. responses:
  3355. "200":
  3356. description: OK
  3357. schema:
  3358. $ref: '#/definitions/v1.SearchLevelResponse'
  3359. "500":
  3360. description: Internal Server Error
  3361. schema:
  3362. $ref: '#/definitions/base.HTTPError'
  3363. summary: 所属层搜索
  3364. tags:
  3365. - data_management
  3366. - v1.0
  3367. /api/v1.0/data_management/table_struct:
  3368. get:
  3369. consumes:
  3370. - application/json
  3371. description: 查看表结构
  3372. parameters:
  3373. - description: jwt token
  3374. in: header
  3375. name: token
  3376. required: true
  3377. type: string
  3378. - description: 表名
  3379. in: query
  3380. name: table_name
  3381. type: string
  3382. produces:
  3383. - application/json
  3384. responses:
  3385. "200":
  3386. description: OK
  3387. schema:
  3388. $ref: '#/definitions/v1.TableStructResponse'
  3389. "500":
  3390. description: Internal Server Error
  3391. schema:
  3392. $ref: '#/definitions/base.HTTPError'
  3393. summary: 查看表结构
  3394. tags:
  3395. - data_management
  3396. - v1.0
  3397. /api/v1.0/field:
  3398. get:
  3399. consumes:
  3400. - application/json
  3401. description: 字段管理
  3402. parameters:
  3403. - description: jwt token
  3404. in: header
  3405. name: token
  3406. required: true
  3407. type: string
  3408. - description: 字段名
  3409. in: query
  3410. name: field
  3411. type: string
  3412. - description: 描述
  3413. in: query
  3414. name: desc
  3415. type: string
  3416. - description: 页码
  3417. in: query
  3418. name: page
  3419. type: integer
  3420. - description: 每页数量,默认10
  3421. in: query
  3422. name: page_size
  3423. type: integer
  3424. produces:
  3425. - application/json
  3426. responses:
  3427. "200":
  3428. description: OK
  3429. schema:
  3430. $ref: '#/definitions/v1.GetFieldListResponse'
  3431. "500":
  3432. description: Internal Server Error
  3433. schema:
  3434. $ref: '#/definitions/base.HTTPError'
  3435. summary: 字段管理
  3436. tags:
  3437. - field_management
  3438. - v1.0
  3439. /api/v1.0/field/excel:
  3440. get:
  3441. consumes:
  3442. - application/json
  3443. description: 导出EXCEL
  3444. parameters:
  3445. - description: jwt token
  3446. in: header
  3447. name: token
  3448. required: true
  3449. type: string
  3450. produces:
  3451. - application/json
  3452. responses:
  3453. "200":
  3454. description: OK
  3455. schema:
  3456. $ref: '#/definitions/v1.ExcelResponse'
  3457. "500":
  3458. description: Internal Server Error
  3459. schema:
  3460. $ref: '#/definitions/base.HTTPError'
  3461. summary: 导出EXCEL
  3462. tags:
  3463. - field_management
  3464. - v1.0
  3465. /api/v1.0/login:
  3466. post:
  3467. consumes:
  3468. - application/json
  3469. description: 登陆
  3470. parameters:
  3471. - description: body
  3472. in: body
  3473. name: body
  3474. required: true
  3475. schema:
  3476. $ref: '#/definitions/v1.LoginBody'
  3477. produces:
  3478. - application/json
  3479. responses:
  3480. "200":
  3481. description: OK
  3482. schema:
  3483. $ref: '#/definitions/v1.LoginResponse'
  3484. "500":
  3485. description: Internal Server Error
  3486. schema:
  3487. $ref: '#/definitions/base.HTTPError'
  3488. summary: 登陆
  3489. tags:
  3490. - login
  3491. - v1.0
  3492. /api/v1.0/maintainace/c2/list:
  3493. get:
  3494. consumes:
  3495. - application/json
  3496. description: C2List
  3497. parameters:
  3498. - description: jwt token
  3499. in: header
  3500. name: token
  3501. required: true
  3502. type: string
  3503. - description: style_id
  3504. in: query
  3505. name: style_id
  3506. type: string
  3507. produces:
  3508. - application/json
  3509. responses:
  3510. "200":
  3511. description: OK
  3512. schema:
  3513. $ref: '#/definitions/v1.GetMaintainaceManualInfoResponse'
  3514. "500":
  3515. description: Internal Server Error
  3516. schema:
  3517. $ref: '#/definitions/base.HTTPError'
  3518. summary: C2List
  3519. tags:
  3520. - maintainace
  3521. - v1.0
  3522. /api/v1.0/maintainace/info:
  3523. get:
  3524. consumes:
  3525. - application/json
  3526. description: 维保手册详情
  3527. parameters:
  3528. - description: jwt token
  3529. in: header
  3530. name: token
  3531. required: true
  3532. type: string
  3533. - description: style_id
  3534. in: query
  3535. name: style_id
  3536. type: string
  3537. produces:
  3538. - application/json
  3539. responses:
  3540. "200":
  3541. description: OK
  3542. schema:
  3543. $ref: '#/definitions/v1.GetMaintainaceManualInfoResponse'
  3544. "500":
  3545. description: Internal Server Error
  3546. schema:
  3547. $ref: '#/definitions/base.HTTPError'
  3548. summary: 维保手册详情
  3549. tags:
  3550. - maintainace
  3551. - v1.0
  3552. /api/v1.0/maintainace/item_list:
  3553. get:
  3554. consumes:
  3555. - application/json
  3556. description: 维保项目
  3557. parameters:
  3558. - description: jwt token
  3559. in: header
  3560. name: token
  3561. required: true
  3562. type: string
  3563. - description: item_type
  3564. in: query
  3565. name: item_type
  3566. required: true
  3567. type: integer
  3568. - description: style_id
  3569. in: query
  3570. name: style_id
  3571. required: true
  3572. type: string
  3573. produces:
  3574. - application/json
  3575. responses:
  3576. "200":
  3577. description: OK
  3578. schema:
  3579. $ref: '#/definitions/v1.GetItemListResponse'
  3580. "500":
  3581. description: Internal Server Error
  3582. schema:
  3583. $ref: '#/definitions/base.HTTPError'
  3584. summary: 维保项目
  3585. tags:
  3586. - maintainace
  3587. - v1.0
  3588. /api/v1.0/maintainace/manual:
  3589. get:
  3590. consumes:
  3591. - application/json
  3592. description: 维保手册
  3593. parameters:
  3594. - description: jwt token
  3595. in: header
  3596. name: token
  3597. required: true
  3598. type: string
  3599. - description: style_id
  3600. in: query
  3601. name: style_id
  3602. type: string
  3603. produces:
  3604. - application/json
  3605. responses:
  3606. "200":
  3607. description: OK
  3608. schema:
  3609. $ref: '#/definitions/v1.GetMaintainaceManualResponse'
  3610. "500":
  3611. description: Internal Server Error
  3612. schema:
  3613. $ref: '#/definitions/base.HTTPError'
  3614. summary: 维保手册
  3615. tags:
  3616. - maintainace
  3617. - v1.0
  3618. put:
  3619. consumes:
  3620. - application/json
  3621. description: 更新维保手册
  3622. parameters:
  3623. - description: jwt token
  3624. in: header
  3625. name: token
  3626. required: true
  3627. type: string
  3628. - description: body
  3629. in: body
  3630. name: body
  3631. required: true
  3632. schema:
  3633. $ref: '#/definitions/v1.UpdateMaintainManualBody'
  3634. produces:
  3635. - application/json
  3636. responses:
  3637. "200":
  3638. description: OK
  3639. schema:
  3640. $ref: '#/definitions/v1.UpdateMaintainManualResponse'
  3641. "500":
  3642. description: Internal Server Error
  3643. schema:
  3644. $ref: '#/definitions/base.HTTPError'
  3645. summary: 更新维保手册
  3646. tags:
  3647. - maintainace
  3648. - v1.0
  3649. /api/v1.0/maintainace/manual/{id}:
  3650. delete:
  3651. consumes:
  3652. - application/json
  3653. description: 删除维保信息
  3654. parameters:
  3655. - description: jwt token
  3656. in: header
  3657. name: token
  3658. required: true
  3659. type: string
  3660. - description: style:id
  3661. in: path
  3662. name: id
  3663. required: true
  3664. type: integer
  3665. produces:
  3666. - application/json
  3667. responses:
  3668. "200":
  3669. description: OK
  3670. schema:
  3671. $ref: '#/definitions/v1.GetStyleInfoResponse'
  3672. "500":
  3673. description: Internal Server Error
  3674. schema:
  3675. $ref: '#/definitions/base.HTTPError'
  3676. summary: 删除维保信息
  3677. tags:
  3678. - maintainace
  3679. - v1.0
  3680. /api/v1.0/maintainace/style_item:
  3681. get:
  3682. consumes:
  3683. - application/json
  3684. description: 配件列表
  3685. parameters:
  3686. - description: jwt token
  3687. in: header
  3688. name: token
  3689. required: true
  3690. type: string
  3691. - description: style_id
  3692. in: query
  3693. name: style_id
  3694. type: string
  3695. produces:
  3696. - application/json
  3697. responses:
  3698. "200":
  3699. description: OK
  3700. schema:
  3701. $ref: '#/definitions/v1.GetMaintainaceManualInfoResponse'
  3702. "500":
  3703. description: Internal Server Error
  3704. schema:
  3705. $ref: '#/definitions/base.HTTPError'
  3706. summary: 配件列表
  3707. tags:
  3708. - maintainace
  3709. - v1.0
  3710. put:
  3711. consumes:
  3712. - application/json
  3713. description: 更新配件信息
  3714. parameters:
  3715. - description: jwt token
  3716. in: header
  3717. name: token
  3718. required: true
  3719. type: string
  3720. - description: body
  3721. in: body
  3722. name: body
  3723. required: true
  3724. schema:
  3725. $ref: '#/definitions/v1.UpdateStyleItemBody'
  3726. produces:
  3727. - application/json
  3728. responses:
  3729. "200":
  3730. description: OK
  3731. schema:
  3732. $ref: '#/definitions/v1.UpdateMaintainManualResponse'
  3733. "500":
  3734. description: Internal Server Error
  3735. schema:
  3736. $ref: '#/definitions/base.HTTPError'
  3737. summary: 更新配件信息
  3738. tags:
  3739. - maintainace
  3740. - v1.0
  3741. /api/v1.0/maintainace/style_item/{id}:
  3742. delete:
  3743. consumes:
  3744. - application/json
  3745. description: 删除配件信息
  3746. parameters:
  3747. - description: jwt token
  3748. in: header
  3749. name: token
  3750. required: true
  3751. type: string
  3752. - description: style_item:id
  3753. in: path
  3754. name: id
  3755. required: true
  3756. type: integer
  3757. produces:
  3758. - application/json
  3759. responses:
  3760. "200":
  3761. description: OK
  3762. schema:
  3763. $ref: '#/definitions/v1.GetStyleInfoResponse'
  3764. "500":
  3765. description: Internal Server Error
  3766. schema:
  3767. $ref: '#/definitions/base.HTTPError'
  3768. summary: 删除配件信息
  3769. tags:
  3770. - maintainace
  3771. - v1.0
  3772. /api/v1.0/manual_task:
  3773. get:
  3774. consumes:
  3775. - application/json
  3776. description: 手动任务
  3777. parameters:
  3778. - description: jwt token
  3779. in: header
  3780. name: token
  3781. required: true
  3782. type: string
  3783. - description: 源表
  3784. in: query
  3785. name: source
  3786. type: string
  3787. - description: 任务
  3788. in: query
  3789. name: task_name
  3790. type: string
  3791. - description: 手动任务名
  3792. in: query
  3793. name: manual_task_name
  3794. type: string
  3795. - description: 时间1
  3796. in: query
  3797. name: time1
  3798. type: integer
  3799. - description: 时间2
  3800. in: query
  3801. name: time2
  3802. type: integer
  3803. - description: 页码
  3804. in: query
  3805. name: page
  3806. type: integer
  3807. - description: 每页数量,默认10
  3808. in: query
  3809. name: page_size
  3810. type: integer
  3811. produces:
  3812. - application/json
  3813. responses:
  3814. "200":
  3815. description: OK
  3816. schema:
  3817. $ref: '#/definitions/v1.GetManualTaskResponse'
  3818. "500":
  3819. description: Internal Server Error
  3820. schema:
  3821. $ref: '#/definitions/base.HTTPError'
  3822. summary: 手动任务
  3823. tags:
  3824. - manualTask
  3825. - v1.0
  3826. /api/v1.0/manual_task/create:
  3827. post:
  3828. consumes:
  3829. - application/json
  3830. description: 创建手动任务
  3831. parameters:
  3832. - description: jwt token
  3833. in: header
  3834. name: token
  3835. required: true
  3836. type: string
  3837. - description: body
  3838. in: body
  3839. name: body
  3840. required: true
  3841. schema:
  3842. $ref: '#/definitions/v1.CreateBody'
  3843. produces:
  3844. - application/json
  3845. responses:
  3846. "200":
  3847. description: OK
  3848. schema:
  3849. $ref: '#/definitions/v1.CreateResponse'
  3850. "500":
  3851. description: Internal Server Error
  3852. schema:
  3853. $ref: '#/definitions/base.HTTPError'
  3854. summary: 创建手动任务
  3855. tags:
  3856. - manualTask
  3857. - v1.0
  3858. /api/v1.0/manual_task/create/upload:
  3859. post:
  3860. consumes:
  3861. - application/json
  3862. description: 上传文件创建
  3863. parameters:
  3864. - description: jwt token
  3865. in: header
  3866. name: token
  3867. required: true
  3868. type: string
  3869. - description: 上传文件
  3870. in: formData
  3871. name: file
  3872. required: true
  3873. type: file
  3874. - description: 手动任务
  3875. in: formData
  3876. name: task_name
  3877. required: true
  3878. type: string
  3879. produces:
  3880. - application/json
  3881. responses:
  3882. "200":
  3883. description: OK
  3884. schema:
  3885. type: string
  3886. "500":
  3887. description: Internal Server Error
  3888. schema:
  3889. $ref: '#/definitions/base.HTTPError'
  3890. summary: 上传文件创建
  3891. tags:
  3892. - manualTask
  3893. - v1.0
  3894. /api/v1.0/manual_task/source:
  3895. get:
  3896. consumes:
  3897. - application/json
  3898. description: 源表搜索
  3899. parameters:
  3900. - description: jwt token
  3901. in: header
  3902. name: token
  3903. required: true
  3904. type: string
  3905. - description: 源表
  3906. in: query
  3907. name: source_name
  3908. type: string
  3909. produces:
  3910. - application/json
  3911. responses:
  3912. "200":
  3913. description: OK
  3914. schema:
  3915. $ref: '#/definitions/v1.SourceResponse'
  3916. "500":
  3917. description: Internal Server Error
  3918. schema:
  3919. $ref: '#/definitions/base.HTTPError'
  3920. summary: 源表搜索
  3921. tags:
  3922. - manualTask
  3923. - v1.0
  3924. /api/v1.0/manual_task/task:
  3925. get:
  3926. consumes:
  3927. - application/json
  3928. description: 任务列表
  3929. parameters:
  3930. - description: jwt token
  3931. in: header
  3932. name: token
  3933. required: true
  3934. type: string
  3935. - description: 源表名
  3936. in: query
  3937. name: source_request
  3938. type: string
  3939. produces:
  3940. - application/json
  3941. responses:
  3942. "200":
  3943. description: OK
  3944. schema:
  3945. $ref: '#/definitions/v1.TaskResponse'
  3946. "500":
  3947. description: Internal Server Error
  3948. schema:
  3949. $ref: '#/definitions/base.HTTPError'
  3950. summary: 任务列表
  3951. tags:
  3952. - manualTask
  3953. - v1.0
  3954. /api/v1.0/series/:
  3955. get:
  3956. consumes:
  3957. - application/json
  3958. description: 车系列表
  3959. parameters:
  3960. - description: jwt token
  3961. in: header
  3962. name: token
  3963. required: true
  3964. type: string
  3965. - description: 品牌名称
  3966. in: query
  3967. name: brand_name
  3968. type: string
  3969. - description: 品牌id
  3970. in: query
  3971. name: brand_id
  3972. type: string
  3973. - description: 车系名称
  3974. in: query
  3975. name: series_name
  3976. type: string
  3977. - description: 车系id
  3978. in: query
  3979. name: series_id
  3980. type: string
  3981. - description: -1:无图片, 1:有图片
  3982. in: query
  3983. name: has_img
  3984. type: integer
  3985. - description: -1:下线 1:上线
  3986. in: query
  3987. name: status
  3988. type: integer
  3989. - description: 页码
  3990. in: query
  3991. name: page
  3992. type: integer
  3993. - description: 每页数量,默认10
  3994. in: query
  3995. name: page_size
  3996. type: integer
  3997. produces:
  3998. - application/json
  3999. responses:
  4000. "200":
  4001. description: OK
  4002. schema:
  4003. $ref: '#/definitions/v1.GetSeriesListResponse'
  4004. "500":
  4005. description: Internal Server Error
  4006. schema:
  4007. $ref: '#/definitions/base.HTTPError'
  4008. summary: 车系列表
  4009. tags:
  4010. - series
  4011. - v1.0
  4012. put:
  4013. consumes:
  4014. - application/json
  4015. description: 更新车系信息
  4016. parameters:
  4017. - description: jwt token
  4018. in: header
  4019. name: token
  4020. required: true
  4021. type: string
  4022. - description: body
  4023. in: body
  4024. name: body
  4025. required: true
  4026. schema:
  4027. $ref: '#/definitions/v1.UpdateSeriesBody'
  4028. - description: 图片
  4029. in: formData
  4030. name: file
  4031. type: file
  4032. produces:
  4033. - application/json
  4034. responses:
  4035. "200":
  4036. description: OK
  4037. schema:
  4038. $ref: '#/definitions/v1.SearchResponse'
  4039. "500":
  4040. description: Internal Server Error
  4041. schema:
  4042. $ref: '#/definitions/base.HTTPError'
  4043. summary: 更新车系信息
  4044. tags:
  4045. - series
  4046. - v1.0
  4047. /api/v1.0/style/:
  4048. get:
  4049. consumes:
  4050. - application/json
  4051. description: 车型列表
  4052. parameters:
  4053. - description: jwt token
  4054. in: header
  4055. name: token
  4056. required: true
  4057. type: string
  4058. - description: 品牌名称
  4059. in: query
  4060. name: brand_name
  4061. type: string
  4062. - description: 车型名称
  4063. in: query
  4064. name: style_name
  4065. type: string
  4066. - description: 车系名称
  4067. in: query
  4068. name: series_name
  4069. type: string
  4070. - description: 品牌id
  4071. in: query
  4072. name: brand_id
  4073. type: string
  4074. - description: 车系id
  4075. in: query
  4076. name: series_id
  4077. type: string
  4078. - description: 车型id
  4079. in: query
  4080. name: style_id
  4081. type: string
  4082. - description: -1:无手册, 1:有手册
  4083. in: query
  4084. name: has_manual
  4085. type: integer
  4086. - description: -1:下线 1:上线
  4087. in: query
  4088. name: status
  4089. type: integer
  4090. - description: 年款
  4091. in: query
  4092. name: model_year
  4093. type: integer
  4094. - description: 厂商
  4095. in: query
  4096. name: maker
  4097. type: string
  4098. - description: 页码
  4099. in: query
  4100. name: page
  4101. type: integer
  4102. - description: 每页数量,默认10
  4103. in: query
  4104. name: page_size
  4105. type: integer
  4106. produces:
  4107. - application/json
  4108. responses:
  4109. "200":
  4110. description: OK
  4111. schema:
  4112. $ref: '#/definitions/v1.GetStyleListResponse'
  4113. "500":
  4114. description: Internal Server Error
  4115. schema:
  4116. $ref: '#/definitions/base.HTTPError'
  4117. summary: 车型列表
  4118. tags:
  4119. - style
  4120. - v1.0
  4121. put:
  4122. consumes:
  4123. - application/json
  4124. description: 更新车型信息
  4125. parameters:
  4126. - description: jwt token
  4127. in: header
  4128. name: token
  4129. required: true
  4130. type: string
  4131. - description: body
  4132. in: body
  4133. name: body
  4134. required: true
  4135. schema:
  4136. $ref: '#/definitions/v1.UpdateStyleBody'
  4137. produces:
  4138. - application/json
  4139. responses:
  4140. "200":
  4141. description: OK
  4142. schema:
  4143. $ref: '#/definitions/v1.SearchResponse'
  4144. "500":
  4145. description: Internal Server Error
  4146. schema:
  4147. $ref: '#/definitions/base.HTTPError'
  4148. summary: 更新车型信息
  4149. tags:
  4150. - style
  4151. - v1.0
  4152. /api/v1.0/style/config:
  4153. put:
  4154. consumes:
  4155. - application/json
  4156. description: 更新车辆配置信息
  4157. parameters:
  4158. - description: jwt token
  4159. in: header
  4160. name: token
  4161. required: true
  4162. type: string
  4163. - description: body
  4164. in: body
  4165. name: body
  4166. required: true
  4167. schema:
  4168. $ref: '#/definitions/v1.UpdateStyleConfigBody'
  4169. produces:
  4170. - application/json
  4171. responses:
  4172. "200":
  4173. description: OK
  4174. schema:
  4175. $ref: '#/definitions/v1.SearchResponse'
  4176. "500":
  4177. description: Internal Server Error
  4178. schema:
  4179. $ref: '#/definitions/base.HTTPError'
  4180. summary: 更新车辆配置信息
  4181. tags:
  4182. - style
  4183. - v1.0
  4184. /api/v1.0/style/config/{id}:
  4185. get:
  4186. consumes:
  4187. - application/json
  4188. description: 获取车辆配置信息
  4189. parameters:
  4190. - description: jwt token
  4191. in: header
  4192. name: token
  4193. required: true
  4194. type: string
  4195. - description: manual:id
  4196. in: path
  4197. name: id
  4198. required: true
  4199. type: integer
  4200. produces:
  4201. - application/json
  4202. responses:
  4203. "200":
  4204. description: OK
  4205. schema:
  4206. $ref: '#/definitions/v1.GetStyleInfoResponse'
  4207. "500":
  4208. description: Internal Server Error
  4209. schema:
  4210. $ref: '#/definitions/base.HTTPError'
  4211. summary: 获取车辆配置信息
  4212. tags:
  4213. - style
  4214. - v1.0
  4215. /api/v1.0/style/export:
  4216. get:
  4217. consumes:
  4218. - application/json
  4219. description: 导出车型列表
  4220. parameters:
  4221. - description: jwt token
  4222. in: header
  4223. name: token
  4224. required: true
  4225. type: string
  4226. - description: 任务名称
  4227. in: query
  4228. name: task_name
  4229. type: string
  4230. - description: 字段用,分割
  4231. in: query
  4232. name: fields
  4233. type: string
  4234. produces:
  4235. - application/json
  4236. responses:
  4237. "200":
  4238. description: OK
  4239. schema:
  4240. $ref: '#/definitions/v1.GetStyleListResponse'
  4241. "500":
  4242. description: Internal Server Error
  4243. schema:
  4244. $ref: '#/definitions/base.HTTPError'
  4245. summary: 导出车型列表
  4246. tags:
  4247. - style
  4248. - v1.0
  4249. /api/v1.0/style/export_task:
  4250. get:
  4251. consumes:
  4252. - application/json
  4253. description: 导出车型任务列表
  4254. parameters:
  4255. - description: jwt token
  4256. in: header
  4257. name: token
  4258. required: true
  4259. type: string
  4260. produces:
  4261. - application/json
  4262. responses:
  4263. "200":
  4264. description: OK
  4265. schema:
  4266. $ref: '#/definitions/v1.ExportStyleTaskListResponse'
  4267. "500":
  4268. description: Internal Server Error
  4269. schema:
  4270. $ref: '#/definitions/base.HTTPError'
  4271. summary: 导出车型任务列表
  4272. tags:
  4273. - style
  4274. - v1.0
  4275. /api/v1.0/style/export_task/{id}:
  4276. delete:
  4277. consumes:
  4278. - application/json
  4279. description: 删除导出车型任务
  4280. parameters:
  4281. - description: jwt token
  4282. in: header
  4283. name: token
  4284. required: true
  4285. type: string
  4286. - description: id
  4287. in: path
  4288. name: id
  4289. required: true
  4290. type: integer
  4291. produces:
  4292. - application/json
  4293. responses:
  4294. "200":
  4295. description: OK
  4296. schema:
  4297. $ref: '#/definitions/v1.GetStyleInfoResponse'
  4298. "500":
  4299. description: Internal Server Error
  4300. schema:
  4301. $ref: '#/definitions/base.HTTPError'
  4302. summary: 删除导出车型任务
  4303. tags:
  4304. - style
  4305. - v1.0
  4306. /api/v1.0/style_map_management:
  4307. get:
  4308. consumes:
  4309. - application/json
  4310. description: 车型映射管理
  4311. parameters:
  4312. - description: jwt token
  4313. in: header
  4314. name: token
  4315. required: true
  4316. type: string
  4317. - description: 映射源
  4318. in: query
  4319. name: source
  4320. type: string
  4321. - description: 映射状态
  4322. in: query
  4323. name: state
  4324. type: string
  4325. - description: 映射源车型id
  4326. in: query
  4327. name: third_style_id
  4328. type: string
  4329. - description: 车型id
  4330. in: query
  4331. name: style_id
  4332. type: string
  4333. - description: 页码
  4334. in: query
  4335. name: page
  4336. type: integer
  4337. - description: 每页数量,默认10
  4338. in: query
  4339. name: page_size
  4340. type: integer
  4341. produces:
  4342. - application/json
  4343. responses:
  4344. "200":
  4345. description: OK
  4346. schema:
  4347. $ref: '#/definitions/v1.StyleMapResponse'
  4348. "500":
  4349. description: Internal Server Error
  4350. schema:
  4351. $ref: '#/definitions/base.HTTPError'
  4352. summary: 车型映射管理
  4353. tags:
  4354. - style_map_management
  4355. - v1.0
  4356. /api/v1.0/style_map_management/:
  4357. put:
  4358. consumes:
  4359. - application/json
  4360. description: 编辑
  4361. parameters:
  4362. - description: jwt token
  4363. in: header
  4364. name: token
  4365. required: true
  4366. type: string
  4367. - description: body
  4368. in: body
  4369. name: body
  4370. required: true
  4371. schema:
  4372. $ref: '#/definitions/v1.EditMapBody'
  4373. produces:
  4374. - application/json
  4375. responses:
  4376. "200":
  4377. description: OK
  4378. schema:
  4379. $ref: '#/definitions/v1.EditMapResponse'
  4380. "500":
  4381. description: Internal Server Error
  4382. schema:
  4383. $ref: '#/definitions/base.HTTPError'
  4384. summary: 编辑
  4385. tags:
  4386. - style_map_management
  4387. - v1.0
  4388. /api/v1.0/style_map_management/all_source:
  4389. get:
  4390. consumes:
  4391. - application/json
  4392. description: 映射源列表
  4393. parameters:
  4394. - description: jwt token
  4395. in: header
  4396. name: token
  4397. required: true
  4398. type: string
  4399. - description: 映射源
  4400. in: query
  4401. name: all_source
  4402. type: string
  4403. produces:
  4404. - application/json
  4405. responses:
  4406. "200":
  4407. description: OK
  4408. schema:
  4409. $ref: '#/definitions/v1.AllSourceResponse'
  4410. "500":
  4411. description: Internal Server Error
  4412. schema:
  4413. $ref: '#/definitions/base.HTTPError'
  4414. summary: 映射源列表
  4415. tags:
  4416. - style_map_management
  4417. - v1.0
  4418. /api/v1.0/task_management:
  4419. get:
  4420. consumes:
  4421. - application/json
  4422. description: 任务管理
  4423. parameters:
  4424. - description: jwt token
  4425. in: header
  4426. name: token
  4427. required: true
  4428. type: string
  4429. - description: 任务名
  4430. in: query
  4431. name: task_name
  4432. type: string
  4433. - description: 描述
  4434. in: query
  4435. name: desc
  4436. type: string
  4437. - description: 页码
  4438. in: query
  4439. name: page
  4440. type: integer
  4441. - description: 每页数量,默认10
  4442. in: query
  4443. name: page_size
  4444. type: integer
  4445. produces:
  4446. - application/json
  4447. responses:
  4448. "200":
  4449. description: OK
  4450. schema:
  4451. $ref: '#/definitions/v1.GetTaskListResponse'
  4452. "500":
  4453. description: Internal Server Error
  4454. schema:
  4455. $ref: '#/definitions/base.HTTPError'
  4456. summary: 任务管理
  4457. tags:
  4458. - task_management
  4459. - v1.0
  4460. /api/v1.0/task_management/dependency:
  4461. get:
  4462. consumes:
  4463. - application/json
  4464. description: 依赖表
  4465. parameters:
  4466. - description: jwt token
  4467. in: header
  4468. name: token
  4469. required: true
  4470. type: string
  4471. - description: 任务id
  4472. in: query
  4473. name: task_id
  4474. type: integer
  4475. - description: 源表或依赖表
  4476. in: query
  4477. name: type
  4478. required: true
  4479. type: integer
  4480. produces:
  4481. - application/json
  4482. responses:
  4483. "200":
  4484. description: OK
  4485. schema:
  4486. $ref: '#/definitions/v1.GetDependencyResponse'
  4487. "500":
  4488. description: Internal Server Error
  4489. schema:
  4490. $ref: '#/definitions/base.HTTPError'
  4491. summary: 依赖表
  4492. tags:
  4493. - task_management
  4494. - v1.0
  4495. /api/v1.0/task_management/relation:
  4496. get:
  4497. consumes:
  4498. - application/json
  4499. description: 血缘关系
  4500. parameters:
  4501. - description: jwt token
  4502. in: header
  4503. name: token
  4504. required: true
  4505. type: string
  4506. - description: 任务id
  4507. in: query
  4508. name: task_id
  4509. type: integer
  4510. - description: source code
  4511. in: query
  4512. name: source_code
  4513. type: string
  4514. produces:
  4515. - application/json
  4516. responses:
  4517. "200":
  4518. description: OK
  4519. schema:
  4520. $ref: '#/definitions/v1.GetDataSourceRelationResponse'
  4521. "500":
  4522. description: Internal Server Error
  4523. schema:
  4524. $ref: '#/definitions/base.HTTPError'
  4525. summary: 血缘关系
  4526. tags:
  4527. - task_management
  4528. - v1.0
  4529. /api/v1.0/task_management/search:
  4530. get:
  4531. consumes:
  4532. - application/json
  4533. description: 模糊搜索
  4534. parameters:
  4535. - description: jwt token
  4536. in: header
  4537. name: token
  4538. required: true
  4539. type: string
  4540. - description: 任务名
  4541. in: query
  4542. name: task_name
  4543. type: string
  4544. produces:
  4545. - application/json
  4546. responses:
  4547. "200":
  4548. description: OK
  4549. schema:
  4550. $ref: '#/definitions/v1.SearchTaskResponse'
  4551. "500":
  4552. description: Internal Server Error
  4553. schema:
  4554. $ref: '#/definitions/base.HTTPError'
  4555. summary: 模糊搜索
  4556. tags:
  4557. - task_management
  4558. - v1.0
  4559. /api/v1.0/template/detail:
  4560. get:
  4561. consumes:
  4562. - application/json
  4563. description: 模板详情
  4564. parameters:
  4565. - description: jwt token
  4566. in: header
  4567. name: token
  4568. required: true
  4569. type: string
  4570. - description: tid
  4571. in: query
  4572. name: tid
  4573. type: integer
  4574. produces:
  4575. - application/json
  4576. responses:
  4577. "200":
  4578. description: OK
  4579. schema:
  4580. $ref: '#/definitions/v1.TemplateListResponse'
  4581. "500":
  4582. description: Internal Server Error
  4583. schema:
  4584. $ref: '#/definitions/base.HTTPError'
  4585. summary: 模板详情
  4586. tags:
  4587. - template_list
  4588. - v1.0
  4589. post:
  4590. consumes:
  4591. - application/json
  4592. description: 新增模板
  4593. parameters:
  4594. - description: jwt token
  4595. in: header
  4596. name: token
  4597. required: true
  4598. type: string
  4599. - description: body
  4600. in: body
  4601. name: body
  4602. required: true
  4603. schema:
  4604. $ref: '#/definitions/v1.AddTemplateDetailBody'
  4605. produces:
  4606. - application/json
  4607. responses:
  4608. "200":
  4609. description: OK
  4610. schema:
  4611. $ref: '#/definitions/v1.TemplateListResponse'
  4612. "500":
  4613. description: Internal Server Error
  4614. schema:
  4615. $ref: '#/definitions/base.HTTPError'
  4616. summary: 新增模板
  4617. tags:
  4618. - template_list
  4619. - v1.0
  4620. put:
  4621. consumes:
  4622. - application/json
  4623. description: 更新维保模板
  4624. parameters:
  4625. - description: jwt token
  4626. in: header
  4627. name: token
  4628. required: true
  4629. type: string
  4630. - description: body
  4631. in: body
  4632. name: body
  4633. required: true
  4634. schema:
  4635. $ref: '#/definitions/v1.UpdateMaintainManualBody'
  4636. produces:
  4637. - application/json
  4638. responses:
  4639. "200":
  4640. description: OK
  4641. schema:
  4642. $ref: '#/definitions/v1.UpdateMaintainManualResponse'
  4643. "500":
  4644. description: Internal Server Error
  4645. schema:
  4646. $ref: '#/definitions/base.HTTPError'
  4647. summary: 更新维保模板
  4648. tags:
  4649. - template_list
  4650. - v1.0
  4651. /api/v1.0/template/detail/choose:
  4652. post:
  4653. consumes:
  4654. - application/json
  4655. description: 选择维保模板更新到车型维保手册
  4656. parameters:
  4657. - description: jwt token
  4658. in: header
  4659. name: token
  4660. required: true
  4661. type: string
  4662. - description: body
  4663. in: body
  4664. name: body
  4665. required: true
  4666. schema:
  4667. $ref: '#/definitions/v1.ChooseTemplateDetailBody'
  4668. produces:
  4669. - application/json
  4670. responses:
  4671. "200":
  4672. description: OK
  4673. schema:
  4674. $ref: '#/definitions/v1.UpdateMaintainManualResponse'
  4675. "500":
  4676. description: Internal Server Error
  4677. schema:
  4678. $ref: '#/definitions/base.HTTPError'
  4679. summary: 选择维保模板更新到车型维保手册
  4680. tags:
  4681. - template_list
  4682. - v1.0
  4683. /api/v1.0/template/detail/list:
  4684. get:
  4685. consumes:
  4686. - application/json
  4687. description: 模板列表
  4688. parameters:
  4689. - description: jwt token
  4690. in: header
  4691. name: token
  4692. required: true
  4693. type: string
  4694. - description: tid
  4695. in: query
  4696. name: tid
  4697. type: integer
  4698. - description: 页码
  4699. in: query
  4700. name: page
  4701. type: integer
  4702. - description: 每页数量,默认10
  4703. in: query
  4704. name: page_size
  4705. type: integer
  4706. produces:
  4707. - application/json
  4708. responses:
  4709. "200":
  4710. description: OK
  4711. schema:
  4712. $ref: '#/definitions/v1.TemplateListResponse'
  4713. "500":
  4714. description: Internal Server Error
  4715. schema:
  4716. $ref: '#/definitions/base.HTTPError'
  4717. summary: 模板列表
  4718. tags:
  4719. - template_list
  4720. - v1.0
  4721. /api/v1.0/template/item_list:
  4722. get:
  4723. consumes:
  4724. - application/json
  4725. description: 维保项目
  4726. parameters:
  4727. - description: jwt token
  4728. in: header
  4729. name: token
  4730. required: true
  4731. type: string
  4732. - description: item_type
  4733. in: query
  4734. name: item_type
  4735. required: true
  4736. type: integer
  4737. - description: template_id
  4738. in: query
  4739. name: tid
  4740. type: integer
  4741. produces:
  4742. - application/json
  4743. responses:
  4744. "200":
  4745. description: OK
  4746. schema:
  4747. $ref: '#/definitions/v1.GetItemListResponse'
  4748. "500":
  4749. description: Internal Server Error
  4750. schema:
  4751. $ref: '#/definitions/base.HTTPError'
  4752. summary: 维保项目
  4753. tags:
  4754. - template_list
  4755. - v1.0
  4756. /api/v1.0/template/list:
  4757. get:
  4758. consumes:
  4759. - application/json
  4760. description: 模板名称列表
  4761. parameters:
  4762. - description: jwt token
  4763. in: header
  4764. name: token
  4765. required: true
  4766. type: string
  4767. - description: 名称
  4768. in: query
  4769. name: name
  4770. type: string
  4771. produces:
  4772. - application/json
  4773. responses:
  4774. "200":
  4775. description: OK
  4776. schema:
  4777. $ref: '#/definitions/v1.TemplateListResponse'
  4778. "500":
  4779. description: Internal Server Error
  4780. schema:
  4781. $ref: '#/definitions/base.HTTPError'
  4782. summary: 模板名称列表
  4783. tags:
  4784. - template_list
  4785. - v1.0
  4786. /api/v1.0/upload/:
  4787. post:
  4788. consumes:
  4789. - application/json
  4790. description: 上传图片
  4791. parameters:
  4792. - description: jwt token
  4793. in: header
  4794. name: token
  4795. required: true
  4796. type: string
  4797. - description: 图片
  4798. in: formData
  4799. name: file
  4800. required: true
  4801. type: file
  4802. - description: brand_id/series_id
  4803. in: formData
  4804. name: id
  4805. required: true
  4806. type: string
  4807. - description: 类型 1:brand 2:series
  4808. in: formData
  4809. name: type
  4810. required: true
  4811. type: integer
  4812. produces:
  4813. - application/json
  4814. responses:
  4815. "200":
  4816. description: '{}'
  4817. schema:
  4818. type: string
  4819. "500":
  4820. description: Internal Server Error
  4821. schema:
  4822. $ref: '#/definitions/base.HTTPError'
  4823. summary: 上传图片
  4824. tags:
  4825. - upload
  4826. - v1.0
  4827. swagger: "2.0"