swagger.json 366 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "title": "utimes API docs",
  5. "description": "This is utimes API docs,iOS、Android、Server developers can test every API in this page.",
  6. "version": "1.0.0",
  7. "contact": {},
  8. "license": {
  9. "name": "Apache 2.0",
  10. "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
  11. }
  12. },
  13. "basePath": "/api/v1",
  14. "paths": {
  15. "/access_log/access_log": {
  16. "get": {
  17. "tags": [
  18. "access_log"
  19. ],
  20. "description": "访问日志",
  21. "operationId": "BaseAccessLogController.访问日志",
  22. "parameters": [
  23. {
  24. "in": "header",
  25. "name": "token",
  26. "description": "token",
  27. "required": true,
  28. "type": "string"
  29. },
  30. {
  31. "in": "header",
  32. "name": "uid",
  33. "description": "admin id",
  34. "required": true,
  35. "type": "integer",
  36. "format": "int64"
  37. },
  38. {
  39. "in": "query",
  40. "name": "state",
  41. "description": "接口调用返回状态",
  42. "type": "integer",
  43. "format": "int64"
  44. },
  45. {
  46. "in": "query",
  47. "name": "code",
  48. "description": "接口调用返回状态",
  49. "type": "string"
  50. },
  51. {
  52. "in": "query",
  53. "name": "request_param",
  54. "description": "请求参数",
  55. "type": "string"
  56. },
  57. {
  58. "in": "query",
  59. "name": "search",
  60. "description": "关键字",
  61. "type": "string"
  62. },
  63. {
  64. "in": "query",
  65. "name": "merchant_id",
  66. "description": "商户id",
  67. "type": "integer",
  68. "format": "int64"
  69. },
  70. {
  71. "in": "query",
  72. "name": "api_id",
  73. "description": "基础api id",
  74. "type": "integer",
  75. "format": "int64"
  76. },
  77. {
  78. "in": "query",
  79. "name": "start_timestamp",
  80. "description": "开始时间",
  81. "type": "integer",
  82. "format": "int64"
  83. },
  84. {
  85. "in": "query",
  86. "name": "end_timestamp",
  87. "description": "结束时间",
  88. "type": "integer",
  89. "format": "int64"
  90. },
  91. {
  92. "in": "query",
  93. "name": "page_size",
  94. "description": "页大小",
  95. "type": "integer",
  96. "format": "int64"
  97. },
  98. {
  99. "in": "query",
  100. "name": "page_number",
  101. "description": "页号",
  102. "type": "integer",
  103. "format": "int64"
  104. },
  105. {
  106. "in": "query",
  107. "name": "min",
  108. "description": "最小耗时",
  109. "type": "number",
  110. "format": "double"
  111. },
  112. {
  113. "in": "query",
  114. "name": "max",
  115. "description": "最大耗时",
  116. "type": "number",
  117. "format": "double"
  118. }
  119. ],
  120. "responses": {
  121. "200": {
  122. "description": "\"响应信息\"",
  123. "schema": {
  124. "$ref": "#/definitions/.LogQueryAccessLogResp"
  125. }
  126. },
  127. "500": {
  128. "description": "服务器错误"
  129. }
  130. }
  131. }
  132. },
  133. "/access_log/access_log_count": {
  134. "get": {
  135. "tags": [
  136. "access_log"
  137. ],
  138. "description": "访问日志统计",
  139. "operationId": "BaseAccessLogController.访问日志统计",
  140. "parameters": [
  141. {
  142. "in": "header",
  143. "name": "token",
  144. "description": "token",
  145. "required": true,
  146. "type": "string"
  147. },
  148. {
  149. "in": "header",
  150. "name": "uid",
  151. "description": "admin id",
  152. "required": true,
  153. "type": "integer",
  154. "format": "int64"
  155. },
  156. {
  157. "in": "query",
  158. "name": "merchant_id",
  159. "description": "商户id",
  160. "type": "integer",
  161. "format": "int64"
  162. },
  163. {
  164. "in": "query",
  165. "name": "api_id",
  166. "description": "基础api id",
  167. "type": "integer",
  168. "format": "int64"
  169. },
  170. {
  171. "in": "query",
  172. "name": "start_timestamp",
  173. "description": "开始时间",
  174. "type": "integer",
  175. "format": "int64"
  176. },
  177. {
  178. "in": "query",
  179. "name": "end_timestamp",
  180. "description": "结束时间",
  181. "type": "integer",
  182. "format": "int64"
  183. },
  184. {
  185. "in": "query",
  186. "name": "page_size",
  187. "description": "页大小",
  188. "type": "integer",
  189. "format": "int64"
  190. },
  191. {
  192. "in": "query",
  193. "name": "page_number",
  194. "description": "页号",
  195. "type": "integer",
  196. "format": "int64"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "\"响应信息\"",
  202. "schema": {
  203. "$ref": "#/definitions/.LogQueryAccessLogCountResp"
  204. }
  205. },
  206. "500": {
  207. "description": "服务器错误"
  208. }
  209. }
  210. }
  211. },
  212. "/access_log/access_log_export": {
  213. "post": {
  214. "tags": [
  215. "access_log"
  216. ],
  217. "description": "平台日志导出",
  218. "operationId": "BaseAccessLogController.平台日志导出",
  219. "parameters": [
  220. {
  221. "in": "header",
  222. "name": "token",
  223. "description": "token",
  224. "required": true,
  225. "type": "string"
  226. },
  227. {
  228. "in": "header",
  229. "name": "uid",
  230. "description": "admin id",
  231. "required": true,
  232. "type": "integer",
  233. "format": "int64"
  234. },
  235. {
  236. "in": "body",
  237. "name": "export",
  238. "description": "导出任务信息",
  239. "required": true,
  240. "schema": {
  241. "$ref": "#/definitions/.LogExportInfo"
  242. }
  243. }
  244. ],
  245. "responses": {
  246. "200": {
  247. "description": "\"响应信息\"",
  248. "schema": {
  249. "$ref": "#/definitions/.LogQueryUserAccessCountExportResp"
  250. }
  251. },
  252. "500": {
  253. "description": "服务器错误"
  254. }
  255. }
  256. }
  257. },
  258. "/access_log/access_log_get_thirdpart_log": {
  259. "get": {
  260. "tags": [
  261. "access_log"
  262. ],
  263. "description": "访问日志关联数据源日志",
  264. "operationId": "BaseAccessLogController.访问日志关联数据源日志",
  265. "parameters": [
  266. {
  267. "in": "header",
  268. "name": "token",
  269. "description": "token",
  270. "required": true,
  271. "type": "string"
  272. },
  273. {
  274. "in": "header",
  275. "name": "uid",
  276. "description": "admin id",
  277. "required": true,
  278. "type": "integer",
  279. "format": "int64"
  280. },
  281. {
  282. "in": "query",
  283. "name": "access_id",
  284. "description": "访问日志id",
  285. "required": true,
  286. "type": "integer",
  287. "format": "int64"
  288. },
  289. {
  290. "in": "query",
  291. "name": "create_time",
  292. "description": "时间",
  293. "required": true,
  294. "type": "string"
  295. }
  296. ],
  297. "responses": {
  298. "200": {
  299. "description": "\"响应信息\"",
  300. "schema": {
  301. "$ref": "#/definitions/.LogQueryAccessLogThirdpartLogResp"
  302. }
  303. },
  304. "500": {
  305. "description": "服务器错误"
  306. }
  307. }
  308. }
  309. },
  310. "/access_log/access_log_interface_analyze": {
  311. "get": {
  312. "tags": [
  313. "access_log"
  314. ],
  315. "description": "访问日志接口异常分析",
  316. "operationId": "BaseAccessLogController.访问日志接口异常分析",
  317. "parameters": [
  318. {
  319. "in": "header",
  320. "name": "token",
  321. "description": "token",
  322. "required": true,
  323. "type": "string"
  324. },
  325. {
  326. "in": "header",
  327. "name": "uid",
  328. "description": "admin id",
  329. "required": true,
  330. "type": "integer",
  331. "format": "int64"
  332. },
  333. {
  334. "in": "query",
  335. "name": "merchant_id",
  336. "description": "商户id",
  337. "type": "integer",
  338. "format": "int64"
  339. },
  340. {
  341. "in": "query",
  342. "name": "api_id",
  343. "description": "基础api id",
  344. "type": "integer",
  345. "format": "int64"
  346. },
  347. {
  348. "in": "query",
  349. "name": "start_timestamp",
  350. "description": "开始时间",
  351. "type": "integer",
  352. "format": "int64"
  353. },
  354. {
  355. "in": "query",
  356. "name": "status",
  357. "description": "0 全部 1 成功 2 失败",
  358. "type": "integer",
  359. "format": "int64"
  360. },
  361. {
  362. "in": "query",
  363. "name": "end_timestamp",
  364. "description": "结束时间",
  365. "type": "integer",
  366. "format": "int64"
  367. }
  368. ],
  369. "responses": {
  370. "200": {
  371. "description": "\"响应信息\"",
  372. "schema": {
  373. "$ref": "#/definitions/.LogQueryInterfaceAnalyzeResp"
  374. }
  375. },
  376. "500": {
  377. "description": "服务器错误"
  378. }
  379. }
  380. }
  381. },
  382. "/access_log/access_log_interface_count": {
  383. "get": {
  384. "tags": [
  385. "access_log"
  386. ],
  387. "description": "访问日志接口统计详情",
  388. "operationId": "BaseAccessLogController.访问日志接口统计详情",
  389. "parameters": [
  390. {
  391. "in": "header",
  392. "name": "token",
  393. "description": "token",
  394. "required": true,
  395. "type": "string"
  396. },
  397. {
  398. "in": "header",
  399. "name": "uid",
  400. "description": "admin id",
  401. "required": true,
  402. "type": "integer",
  403. "format": "int64"
  404. },
  405. {
  406. "in": "query",
  407. "name": "merchant_id",
  408. "description": "商户id",
  409. "type": "integer",
  410. "format": "int64"
  411. },
  412. {
  413. "in": "query",
  414. "name": "api_id",
  415. "description": "基础api id",
  416. "type": "integer",
  417. "format": "int64"
  418. },
  419. {
  420. "in": "query",
  421. "name": "start_timestamp",
  422. "description": "开始时间",
  423. "type": "integer",
  424. "format": "int64"
  425. },
  426. {
  427. "in": "query",
  428. "name": "end_timestamp",
  429. "description": "结束时间",
  430. "type": "integer",
  431. "format": "int64"
  432. }
  433. ],
  434. "responses": {
  435. "200": {
  436. "description": "\"响应信息\"",
  437. "schema": {
  438. "$ref": "#/definitions/.LogQueryInterfaceCountResp"
  439. }
  440. },
  441. "500": {
  442. "description": "服务器错误"
  443. }
  444. }
  445. }
  446. },
  447. "/access_log/api_service_consume_info": {
  448. "get": {
  449. "tags": [
  450. "access_log"
  451. ],
  452. "description": "获取消费概况",
  453. "operationId": "BaseAccessLogController.bi consume info",
  454. "parameters": [
  455. {
  456. "in": "header",
  457. "name": "token",
  458. "description": "token",
  459. "required": true,
  460. "type": "string"
  461. },
  462. {
  463. "in": "header",
  464. "name": "uid",
  465. "description": "admin id",
  466. "required": true,
  467. "type": "integer",
  468. "format": "int64"
  469. },
  470. {
  471. "in": "query",
  472. "name": "page_number",
  473. "description": "false",
  474. "type": "integer",
  475. "format": "int64"
  476. },
  477. {
  478. "in": "query",
  479. "name": "page_size",
  480. "description": "false",
  481. "type": "integer",
  482. "format": "int64"
  483. },
  484. {
  485. "in": "query",
  486. "name": "time_type",
  487. "description": "0 今天,1 昨天 2 本周 3 本月",
  488. "type": "integer",
  489. "format": "int64"
  490. },
  491. {
  492. "in": "query",
  493. "name": "today_end_timestamp",
  494. "description": "false",
  495. "type": "integer",
  496. "format": "int64"
  497. }
  498. ],
  499. "responses": {
  500. "200": {
  501. "description": "\"响应信息\"",
  502. "schema": {
  503. "$ref": "#/definitions/.BiGetApiServiceConsumeInfoResp"
  504. }
  505. },
  506. "500": {
  507. "description": "服务器错误"
  508. }
  509. }
  510. }
  511. },
  512. "/access_log/api_service_data_info": {
  513. "get": {
  514. "tags": [
  515. "access_log"
  516. ],
  517. "description": "获取数据概况",
  518. "operationId": "BaseAccessLogController.bi data info",
  519. "parameters": [
  520. {
  521. "in": "header",
  522. "name": "token",
  523. "description": "token",
  524. "required": true,
  525. "type": "string"
  526. },
  527. {
  528. "in": "header",
  529. "name": "uid",
  530. "description": "admin id",
  531. "required": true,
  532. "type": "integer",
  533. "format": "int64"
  534. },
  535. {
  536. "in": "query",
  537. "name": "api_id",
  538. "description": "true",
  539. "type": "integer",
  540. "format": "int64"
  541. },
  542. {
  543. "in": "query",
  544. "name": "today_end_timestamp",
  545. "description": "false",
  546. "type": "integer",
  547. "format": "int64"
  548. }
  549. ],
  550. "responses": {
  551. "200": {
  552. "description": "\"响应信息\"",
  553. "schema": {
  554. "$ref": "#/definitions/.BiGetApiServiceDataInfoResp"
  555. }
  556. },
  557. "500": {
  558. "description": "服务器错误"
  559. }
  560. }
  561. }
  562. },
  563. "/access_log/api_service_fail_info": {
  564. "get": {
  565. "tags": [
  566. "access_log"
  567. ],
  568. "description": "获取异常概况",
  569. "operationId": "BaseAccessLogController.bi fail info",
  570. "parameters": [
  571. {
  572. "in": "header",
  573. "name": "token",
  574. "description": "token",
  575. "required": true,
  576. "type": "string"
  577. },
  578. {
  579. "in": "header",
  580. "name": "uid",
  581. "description": "admin id",
  582. "required": true,
  583. "type": "integer",
  584. "format": "int64"
  585. },
  586. {
  587. "in": "query",
  588. "name": "page_number",
  589. "description": "false",
  590. "type": "integer",
  591. "format": "int64"
  592. },
  593. {
  594. "in": "query",
  595. "name": "page_size",
  596. "description": "false",
  597. "type": "integer",
  598. "format": "int64"
  599. },
  600. {
  601. "in": "query",
  602. "name": "time_type",
  603. "description": "0 今天,1 昨天 2 本周 3 本月",
  604. "type": "integer",
  605. "format": "int64"
  606. },
  607. {
  608. "in": "query",
  609. "name": "today_end_timestamp",
  610. "description": "false",
  611. "type": "integer",
  612. "format": "int64"
  613. }
  614. ],
  615. "responses": {
  616. "200": {
  617. "description": "\"响应信息\"",
  618. "schema": {
  619. "$ref": "#/definitions/.BiGetApiServiceConsumeInfoResp"
  620. }
  621. },
  622. "500": {
  623. "description": "服务器错误"
  624. }
  625. }
  626. }
  627. },
  628. "/access_log/api_service_income_info": {
  629. "get": {
  630. "tags": [
  631. "access_log"
  632. ],
  633. "description": "获取营利概况",
  634. "operationId": "BaseAccessLogController.bi income info",
  635. "parameters": [
  636. {
  637. "in": "header",
  638. "name": "token",
  639. "description": "token",
  640. "required": true,
  641. "type": "string"
  642. },
  643. {
  644. "in": "header",
  645. "name": "uid",
  646. "description": "admin id",
  647. "required": true,
  648. "type": "integer",
  649. "format": "int64"
  650. },
  651. {
  652. "in": "query",
  653. "name": "page_number",
  654. "description": "false",
  655. "type": "integer",
  656. "format": "int64"
  657. },
  658. {
  659. "in": "query",
  660. "name": "page_size",
  661. "description": "false",
  662. "type": "integer",
  663. "format": "int64"
  664. },
  665. {
  666. "in": "query",
  667. "name": "time_type",
  668. "description": "0 今天,1 昨天 2 本周 3 本月",
  669. "type": "integer",
  670. "format": "int64"
  671. },
  672. {
  673. "in": "query",
  674. "name": "today_end_timestamp",
  675. "description": "false",
  676. "type": "integer",
  677. "format": "int64"
  678. }
  679. ],
  680. "responses": {
  681. "200": {
  682. "description": "\"响应信息\"",
  683. "schema": {
  684. "$ref": "#/definitions/.BiGetApiServiceIncomeInfoResp"
  685. }
  686. },
  687. "500": {
  688. "description": "服务器错误"
  689. }
  690. }
  691. }
  692. },
  693. "/access_log/bi_api_distribution": {
  694. "get": {
  695. "tags": [
  696. "access_log"
  697. ],
  698. "description": "获取api 错误码分布",
  699. "operationId": "BaseAccessLogController.bi api distribution",
  700. "parameters": [
  701. {
  702. "in": "header",
  703. "name": "token",
  704. "description": "token",
  705. "required": true,
  706. "type": "string"
  707. },
  708. {
  709. "in": "header",
  710. "name": "uid",
  711. "description": "admin id",
  712. "required": true,
  713. "type": "integer",
  714. "format": "int64"
  715. },
  716. {
  717. "in": "query",
  718. "name": "api_id",
  719. "description": "true",
  720. "type": "string"
  721. },
  722. {
  723. "in": "query",
  724. "name": "merchant_id",
  725. "description": "false",
  726. "type": "integer",
  727. "format": "int64"
  728. },
  729. {
  730. "in": "query",
  731. "name": "start_timestamp",
  732. "description": "true",
  733. "type": "integer",
  734. "format": "int64"
  735. },
  736. {
  737. "in": "query",
  738. "name": "end_timestamp",
  739. "description": "true",
  740. "type": "integer",
  741. "format": "int64"
  742. },
  743. {
  744. "in": "query",
  745. "name": "today_end_timestamp",
  746. "description": "false",
  747. "type": "integer",
  748. "format": "int64"
  749. }
  750. ],
  751. "responses": {
  752. "200": {
  753. "description": "\"响应信息\"",
  754. "schema": {
  755. "$ref": "#/definitions/.BiGetDistributionResp"
  756. }
  757. },
  758. "500": {
  759. "description": "服务器错误"
  760. }
  761. }
  762. }
  763. },
  764. "/access_log/bi_api_report": {
  765. "get": {
  766. "tags": [
  767. "access_log"
  768. ],
  769. "description": "获取api 报表",
  770. "operationId": "BaseAccessLogController.bi api report",
  771. "parameters": [
  772. {
  773. "in": "header",
  774. "name": "token",
  775. "description": "token",
  776. "required": true,
  777. "type": "string"
  778. },
  779. {
  780. "in": "header",
  781. "name": "uid",
  782. "description": "admin id",
  783. "required": true,
  784. "type": "integer",
  785. "format": "int64"
  786. },
  787. {
  788. "in": "query",
  789. "name": "api_id",
  790. "description": "false",
  791. "type": "string"
  792. },
  793. {
  794. "in": "query",
  795. "name": "merchant_id",
  796. "description": "false",
  797. "type": "integer",
  798. "format": "int64"
  799. },
  800. {
  801. "in": "query",
  802. "name": "start_timestamp",
  803. "description": "true",
  804. "type": "integer",
  805. "format": "int64"
  806. },
  807. {
  808. "in": "query",
  809. "name": "end_timestamp",
  810. "description": "true",
  811. "type": "integer",
  812. "format": "int64"
  813. },
  814. {
  815. "in": "query",
  816. "name": "today_end_timestamp",
  817. "description": "false",
  818. "type": "integer",
  819. "format": "int64"
  820. },
  821. {
  822. "in": "query",
  823. "name": "page_size",
  824. "description": "false",
  825. "type": "integer",
  826. "format": "int64"
  827. },
  828. {
  829. "in": "query",
  830. "name": "page_number",
  831. "description": "false",
  832. "type": "integer",
  833. "format": "int64"
  834. }
  835. ],
  836. "responses": {
  837. "200": {
  838. "description": "\"响应信息\"",
  839. "schema": {
  840. "$ref": "#/definitions/.BiGetReportResp"
  841. }
  842. },
  843. "500": {
  844. "description": "服务器错误"
  845. }
  846. }
  847. }
  848. },
  849. "/access_log/bi_api_status": {
  850. "get": {
  851. "tags": [
  852. "access_log"
  853. ],
  854. "description": "获取api 服务性能",
  855. "operationId": "BaseAccessLogController.bi api status",
  856. "parameters": [
  857. {
  858. "in": "header",
  859. "name": "token",
  860. "description": "token",
  861. "required": true,
  862. "type": "string"
  863. },
  864. {
  865. "in": "header",
  866. "name": "uid",
  867. "description": "admin id",
  868. "required": true,
  869. "type": "integer",
  870. "format": "int64"
  871. },
  872. {
  873. "in": "query",
  874. "name": "api_id",
  875. "description": "true",
  876. "type": "string"
  877. },
  878. {
  879. "in": "query",
  880. "name": "merchant_id",
  881. "description": "false",
  882. "type": "integer",
  883. "format": "int64"
  884. },
  885. {
  886. "in": "query",
  887. "name": "start_timestamp",
  888. "description": "true",
  889. "type": "integer",
  890. "format": "int64"
  891. },
  892. {
  893. "in": "query",
  894. "name": "end_timestamp",
  895. "description": "true",
  896. "type": "integer",
  897. "format": "int64"
  898. },
  899. {
  900. "in": "query",
  901. "name": "time_type",
  902. "description": "false",
  903. "type": "integer",
  904. "format": "int64"
  905. },
  906. {
  907. "in": "query",
  908. "name": "today_end_timestamp",
  909. "description": "false",
  910. "type": "integer",
  911. "format": "int64"
  912. }
  913. ],
  914. "responses": {
  915. "200": {
  916. "description": "\"响应信息\"",
  917. "schema": {
  918. "$ref": "#/definitions/.BiGetServiceStatusResp"
  919. }
  920. },
  921. "500": {
  922. "description": "服务器错误"
  923. }
  924. }
  925. }
  926. },
  927. "/access_log/bi_api_trend": {
  928. "get": {
  929. "tags": [
  930. "access_log"
  931. ],
  932. "description": "获取api 走势",
  933. "operationId": "BaseAccessLogController.bi api trend",
  934. "parameters": [
  935. {
  936. "in": "header",
  937. "name": "token",
  938. "description": "token",
  939. "required": true,
  940. "type": "string"
  941. },
  942. {
  943. "in": "header",
  944. "name": "uid",
  945. "description": "admin id",
  946. "required": true,
  947. "type": "integer",
  948. "format": "int64"
  949. },
  950. {
  951. "in": "query",
  952. "name": "api_id",
  953. "description": "true",
  954. "type": "string"
  955. },
  956. {
  957. "in": "query",
  958. "name": "merchant_id",
  959. "description": "false",
  960. "type": "integer",
  961. "format": "int64"
  962. },
  963. {
  964. "in": "query",
  965. "name": "start_timestamp",
  966. "description": "true",
  967. "type": "integer",
  968. "format": "int64"
  969. },
  970. {
  971. "in": "query",
  972. "name": "end_timestamp",
  973. "description": "true",
  974. "type": "integer",
  975. "format": "int64"
  976. },
  977. {
  978. "in": "query",
  979. "name": "time_type",
  980. "description": "false",
  981. "type": "integer",
  982. "format": "int64"
  983. },
  984. {
  985. "in": "query",
  986. "name": "today_end_timestamp",
  987. "description": "false",
  988. "type": "integer",
  989. "format": "int64"
  990. }
  991. ],
  992. "responses": {
  993. "200": {
  994. "description": "\"响应信息\"",
  995. "schema": {
  996. "$ref": "#/definitions/.BiGetTrendResp"
  997. }
  998. },
  999. "500": {
  1000. "description": "服务器错误"
  1001. }
  1002. }
  1003. }
  1004. },
  1005. "/access_log/bi_dashboard": {
  1006. "get": {
  1007. "tags": [
  1008. "access_log"
  1009. ],
  1010. "description": "获取bi dashboard",
  1011. "operationId": "BaseAccessLogController.bi dashbord",
  1012. "parameters": [
  1013. {
  1014. "in": "header",
  1015. "name": "token",
  1016. "description": "token",
  1017. "required": true,
  1018. "type": "string"
  1019. },
  1020. {
  1021. "in": "header",
  1022. "name": "uid",
  1023. "description": "admin id",
  1024. "required": true,
  1025. "type": "integer",
  1026. "format": "int64"
  1027. }
  1028. ],
  1029. "responses": {
  1030. "200": {
  1031. "description": "\"响应信息\"",
  1032. "schema": {
  1033. "$ref": "#/definitions/.BiGetDashResp"
  1034. }
  1035. },
  1036. "500": {
  1037. "description": "服务器错误"
  1038. }
  1039. }
  1040. }
  1041. },
  1042. "/access_log/bi_pay_distribution": {
  1043. "get": {
  1044. "tags": [
  1045. "access_log"
  1046. ],
  1047. "description": "获取api 成本分布",
  1048. "operationId": "BaseAccessLogController.bi api pay distribution",
  1049. "parameters": [
  1050. {
  1051. "in": "header",
  1052. "name": "token",
  1053. "description": "token",
  1054. "required": true,
  1055. "type": "string"
  1056. },
  1057. {
  1058. "in": "header",
  1059. "name": "uid",
  1060. "description": "admin id",
  1061. "required": true,
  1062. "type": "integer",
  1063. "format": "int64"
  1064. },
  1065. {
  1066. "in": "query",
  1067. "name": "api_id",
  1068. "description": "true",
  1069. "type": "string"
  1070. },
  1071. {
  1072. "in": "query",
  1073. "name": "merchant_id",
  1074. "description": "false",
  1075. "type": "integer",
  1076. "format": "int64"
  1077. },
  1078. {
  1079. "in": "query",
  1080. "name": "start_timestamp",
  1081. "description": "true",
  1082. "type": "integer",
  1083. "format": "int64"
  1084. },
  1085. {
  1086. "in": "query",
  1087. "name": "end_timestamp",
  1088. "description": "true",
  1089. "type": "integer",
  1090. "format": "int64"
  1091. },
  1092. {
  1093. "in": "query",
  1094. "name": "today_end_timestamp",
  1095. "description": "false",
  1096. "type": "integer",
  1097. "format": "int64"
  1098. }
  1099. ],
  1100. "responses": {
  1101. "200": {
  1102. "description": "\"响应信息\"",
  1103. "schema": {
  1104. "$ref": "#/definitions/.BiGetPayDistributionResp"
  1105. }
  1106. },
  1107. "500": {
  1108. "description": "服务器错误"
  1109. }
  1110. }
  1111. }
  1112. },
  1113. "/access_log/bi_provider_distribution": {
  1114. "get": {
  1115. "tags": [
  1116. "access_log"
  1117. ],
  1118. "description": "获取数据源错误码分布",
  1119. "operationId": "BaseAccessLogController.bi provider distribution",
  1120. "parameters": [
  1121. {
  1122. "in": "header",
  1123. "name": "token",
  1124. "description": "token",
  1125. "required": true,
  1126. "type": "string"
  1127. },
  1128. {
  1129. "in": "header",
  1130. "name": "uid",
  1131. "description": "admin id",
  1132. "required": true,
  1133. "type": "integer",
  1134. "format": "int64"
  1135. },
  1136. {
  1137. "in": "query",
  1138. "name": "provider_api_id",
  1139. "description": "true",
  1140. "type": "string"
  1141. },
  1142. {
  1143. "in": "query",
  1144. "name": "start_timestamp",
  1145. "description": "true",
  1146. "type": "integer",
  1147. "format": "int64"
  1148. },
  1149. {
  1150. "in": "query",
  1151. "name": "end_timestamp",
  1152. "description": "true",
  1153. "type": "integer",
  1154. "format": "int64"
  1155. },
  1156. {
  1157. "in": "query",
  1158. "name": "today_end_timestamp",
  1159. "description": "false",
  1160. "type": "integer",
  1161. "format": "int64"
  1162. }
  1163. ],
  1164. "responses": {
  1165. "200": {
  1166. "description": "\"响应信息\"",
  1167. "schema": {
  1168. "$ref": "#/definitions/.BiGetProviderDistributionResp"
  1169. }
  1170. },
  1171. "500": {
  1172. "description": "服务器错误"
  1173. }
  1174. }
  1175. }
  1176. },
  1177. "/access_log/bi_provider_report": {
  1178. "get": {
  1179. "tags": [
  1180. "access_log"
  1181. ],
  1182. "description": "获取数据源 报表",
  1183. "operationId": "BaseAccessLogController.bi provider report",
  1184. "parameters": [
  1185. {
  1186. "in": "header",
  1187. "name": "token",
  1188. "description": "token",
  1189. "required": true,
  1190. "type": "string"
  1191. },
  1192. {
  1193. "in": "header",
  1194. "name": "uid",
  1195. "description": "admin id",
  1196. "required": true,
  1197. "type": "integer",
  1198. "format": "int64"
  1199. },
  1200. {
  1201. "in": "query",
  1202. "name": "provider_api_id",
  1203. "description": "true",
  1204. "type": "string"
  1205. },
  1206. {
  1207. "in": "query",
  1208. "name": "page_number",
  1209. "description": "false",
  1210. "type": "integer",
  1211. "format": "int64"
  1212. },
  1213. {
  1214. "in": "query",
  1215. "name": "start_timestamp",
  1216. "description": "true",
  1217. "type": "integer",
  1218. "format": "int64"
  1219. },
  1220. {
  1221. "in": "query",
  1222. "name": "end_timestamp",
  1223. "description": "true",
  1224. "type": "integer",
  1225. "format": "int64"
  1226. },
  1227. {
  1228. "in": "query",
  1229. "name": "today_end_timestamp",
  1230. "description": "false",
  1231. "type": "integer",
  1232. "format": "int64"
  1233. },
  1234. {
  1235. "in": "query",
  1236. "name": "page_size",
  1237. "description": "false",
  1238. "type": "integer",
  1239. "format": "int64"
  1240. }
  1241. ],
  1242. "responses": {
  1243. "200": {
  1244. "description": "\"响应信息\"",
  1245. "schema": {
  1246. "$ref": "#/definitions/.BiGetProviderReportResp"
  1247. }
  1248. },
  1249. "500": {
  1250. "description": "服务器错误"
  1251. }
  1252. }
  1253. }
  1254. },
  1255. "/access_log/bi_provider_status": {
  1256. "get": {
  1257. "tags": [
  1258. "access_log"
  1259. ],
  1260. "description": "获取 数据源api 服务性能",
  1261. "operationId": "BaseAccessLogController.bi provider status",
  1262. "parameters": [
  1263. {
  1264. "in": "header",
  1265. "name": "token",
  1266. "description": "token",
  1267. "required": true,
  1268. "type": "string"
  1269. },
  1270. {
  1271. "in": "header",
  1272. "name": "uid",
  1273. "description": "admin id",
  1274. "required": true,
  1275. "type": "integer",
  1276. "format": "int64"
  1277. },
  1278. {
  1279. "in": "query",
  1280. "name": "provider_api_id",
  1281. "description": "true",
  1282. "type": "string"
  1283. },
  1284. {
  1285. "in": "query",
  1286. "name": "start_timestamp",
  1287. "description": "true",
  1288. "type": "integer",
  1289. "format": "int64"
  1290. },
  1291. {
  1292. "in": "query",
  1293. "name": "end_timestamp",
  1294. "description": "true",
  1295. "type": "integer",
  1296. "format": "int64"
  1297. },
  1298. {
  1299. "in": "query",
  1300. "name": "time_type",
  1301. "description": "false",
  1302. "type": "integer",
  1303. "format": "int64"
  1304. },
  1305. {
  1306. "in": "query",
  1307. "name": "today_end_timestamp",
  1308. "description": "false",
  1309. "type": "integer",
  1310. "format": "int64"
  1311. }
  1312. ],
  1313. "responses": {
  1314. "200": {
  1315. "description": "\"响应信息\"",
  1316. "schema": {
  1317. "$ref": "#/definitions/.BiGetProviderServiceStatusResp"
  1318. }
  1319. },
  1320. "500": {
  1321. "description": "服务器错误"
  1322. }
  1323. }
  1324. }
  1325. },
  1326. "/access_log/bi_provider_trend": {
  1327. "get": {
  1328. "tags": [
  1329. "access_log"
  1330. ],
  1331. "description": "获取数据源走势",
  1332. "operationId": "BaseAccessLogController.bi provider trend",
  1333. "parameters": [
  1334. {
  1335. "in": "header",
  1336. "name": "token",
  1337. "description": "token",
  1338. "required": true,
  1339. "type": "string"
  1340. },
  1341. {
  1342. "in": "header",
  1343. "name": "uid",
  1344. "description": "admin id",
  1345. "required": true,
  1346. "type": "integer",
  1347. "format": "int64"
  1348. },
  1349. {
  1350. "in": "query",
  1351. "name": "provider_api_id",
  1352. "description": "true",
  1353. "type": "string"
  1354. },
  1355. {
  1356. "in": "query",
  1357. "name": "start_timestamp",
  1358. "description": "true",
  1359. "type": "integer",
  1360. "format": "int64"
  1361. },
  1362. {
  1363. "in": "query",
  1364. "name": "end_timestamp",
  1365. "description": "true",
  1366. "type": "integer",
  1367. "format": "int64"
  1368. },
  1369. {
  1370. "in": "query",
  1371. "name": "time_type",
  1372. "description": "false",
  1373. "type": "integer",
  1374. "format": "int64"
  1375. },
  1376. {
  1377. "in": "query",
  1378. "name": "today_end_timestamp",
  1379. "description": "false",
  1380. "type": "integer",
  1381. "format": "int64"
  1382. }
  1383. ],
  1384. "responses": {
  1385. "200": {
  1386. "description": "\"响应信息\"",
  1387. "schema": {
  1388. "$ref": "#/definitions/.BiGetProviderTrendResp"
  1389. }
  1390. },
  1391. "500": {
  1392. "description": "服务器错误"
  1393. }
  1394. }
  1395. }
  1396. },
  1397. "/access_log/export": {
  1398. "delete": {
  1399. "tags": [
  1400. "access_log"
  1401. ],
  1402. "description": "删除导出报表",
  1403. "operationId": "BaseAccessLogController.删除导出报表",
  1404. "parameters": [
  1405. {
  1406. "in": "header",
  1407. "name": "token",
  1408. "description": "token",
  1409. "required": true,
  1410. "type": "string"
  1411. },
  1412. {
  1413. "in": "header",
  1414. "name": "uid",
  1415. "description": "admin id",
  1416. "required": true,
  1417. "type": "integer",
  1418. "format": "int64"
  1419. },
  1420. {
  1421. "in": "query",
  1422. "name": "id",
  1423. "description": "导出报告id",
  1424. "type": "integer",
  1425. "format": "int64"
  1426. }
  1427. ],
  1428. "responses": {
  1429. "200": {
  1430. "description": "\"响应信息\"",
  1431. "schema": {
  1432. "$ref": "#/definitions/.LogExportDeleteResp"
  1433. }
  1434. },
  1435. "500": {
  1436. "description": "服务器错误"
  1437. }
  1438. }
  1439. }
  1440. },
  1441. "/access_log/exports": {
  1442. "get": {
  1443. "tags": [
  1444. "access_log"
  1445. ],
  1446. "description": "获取导出列表",
  1447. "operationId": "BaseAccessLogController.获取导出列表",
  1448. "parameters": [
  1449. {
  1450. "in": "header",
  1451. "name": "token",
  1452. "description": "token",
  1453. "required": true,
  1454. "type": "string"
  1455. },
  1456. {
  1457. "in": "header",
  1458. "name": "uid",
  1459. "description": "admin id",
  1460. "required": true,
  1461. "type": "integer",
  1462. "format": "int64"
  1463. },
  1464. {
  1465. "in": "query",
  1466. "name": "page_number",
  1467. "description": "当前页",
  1468. "type": "integer",
  1469. "format": "int64"
  1470. },
  1471. {
  1472. "in": "query",
  1473. "name": "is_all",
  1474. "description": "是否返回所有",
  1475. "type": "boolean"
  1476. },
  1477. {
  1478. "in": "query",
  1479. "name": "export_type",
  1480. "description": "api报表或数据源列表",
  1481. "type": "integer",
  1482. "format": "int64"
  1483. }
  1484. ],
  1485. "responses": {
  1486. "200": {
  1487. "description": "\"响应信息\"",
  1488. "schema": {
  1489. "$ref": "#/definitions/.LogExportListResp"
  1490. }
  1491. },
  1492. "500": {
  1493. "description": "服务器错误"
  1494. }
  1495. }
  1496. }
  1497. },
  1498. "/access_log/provider_count_export": {
  1499. "post": {
  1500. "tags": [
  1501. "access_log"
  1502. ],
  1503. "description": "数据源日志用户统计报表导出",
  1504. "operationId": "BaseAccessLogController.数据源日志用户统计报表导出",
  1505. "parameters": [
  1506. {
  1507. "in": "header",
  1508. "name": "token",
  1509. "description": "token",
  1510. "required": true,
  1511. "type": "string"
  1512. },
  1513. {
  1514. "in": "header",
  1515. "name": "uid",
  1516. "description": "admin id",
  1517. "required": true,
  1518. "type": "integer",
  1519. "format": "int64"
  1520. },
  1521. {
  1522. "in": "body",
  1523. "name": "export",
  1524. "description": "true",
  1525. "schema": {
  1526. "$ref": "#/definitions/.LogQueryProviderCountExportReq"
  1527. }
  1528. }
  1529. ],
  1530. "responses": {
  1531. "200": {
  1532. "description": "\"响应信息\"",
  1533. "schema": {
  1534. "$ref": "#/definitions/.LogQueryProviderCountExportResp"
  1535. }
  1536. },
  1537. "500": {
  1538. "description": "服务器错误"
  1539. }
  1540. }
  1541. }
  1542. },
  1543. "/access_log/provider_service_data_info": {
  1544. "get": {
  1545. "tags": [
  1546. "access_log"
  1547. ],
  1548. "description": "获取数据源数据概况",
  1549. "operationId": "BaseAccessLogController.bi provider data info",
  1550. "parameters": [
  1551. {
  1552. "in": "header",
  1553. "name": "token",
  1554. "description": "token",
  1555. "required": true,
  1556. "type": "string"
  1557. },
  1558. {
  1559. "in": "header",
  1560. "name": "uid",
  1561. "description": "admin id",
  1562. "required": true,
  1563. "type": "integer",
  1564. "format": "int64"
  1565. },
  1566. {
  1567. "in": "query",
  1568. "name": "provider_api_id",
  1569. "description": "true",
  1570. "type": "integer",
  1571. "format": "int64"
  1572. },
  1573. {
  1574. "in": "query",
  1575. "name": "today_end_timestamp",
  1576. "description": "false",
  1577. "type": "integer",
  1578. "format": "int64"
  1579. }
  1580. ],
  1581. "responses": {
  1582. "200": {
  1583. "description": "\"响应信息\"",
  1584. "schema": {
  1585. "$ref": "#/definitions/.BiGetProviderServiceDataInfoResp"
  1586. }
  1587. },
  1588. "500": {
  1589. "description": "服务器错误"
  1590. }
  1591. }
  1592. }
  1593. },
  1594. "/access_log/provider_service_fail_info": {
  1595. "get": {
  1596. "tags": [
  1597. "access_log"
  1598. ],
  1599. "description": "获取异常概况",
  1600. "operationId": "BaseAccessLogController.bi provider fail info",
  1601. "parameters": [
  1602. {
  1603. "in": "header",
  1604. "name": "token",
  1605. "description": "token",
  1606. "required": true,
  1607. "type": "string"
  1608. },
  1609. {
  1610. "in": "header",
  1611. "name": "uid",
  1612. "description": "admin id",
  1613. "required": true,
  1614. "type": "integer",
  1615. "format": "int64"
  1616. },
  1617. {
  1618. "in": "query",
  1619. "name": "page_number",
  1620. "description": "false",
  1621. "type": "integer",
  1622. "format": "int64"
  1623. },
  1624. {
  1625. "in": "query",
  1626. "name": "page_size",
  1627. "description": "false",
  1628. "type": "integer",
  1629. "format": "int64"
  1630. },
  1631. {
  1632. "in": "query",
  1633. "name": "time_type",
  1634. "description": "0 今天,1 昨天 2 本周 3 本月",
  1635. "type": "integer",
  1636. "format": "int64"
  1637. },
  1638. {
  1639. "in": "query",
  1640. "name": "today_end_timestamp",
  1641. "description": "false",
  1642. "type": "integer",
  1643. "format": "int64"
  1644. }
  1645. ],
  1646. "responses": {
  1647. "200": {
  1648. "description": "\"响应信息\"",
  1649. "schema": {
  1650. "$ref": "#/definitions/.BiGetProviderServiceFailInfoResp"
  1651. }
  1652. },
  1653. "500": {
  1654. "description": "服务器错误"
  1655. }
  1656. }
  1657. }
  1658. },
  1659. "/access_log/provider_service_pay_info": {
  1660. "get": {
  1661. "tags": [
  1662. "access_log"
  1663. ],
  1664. "description": "获取数据源成本概况",
  1665. "operationId": "BaseAccessLogController.bi provider pay info",
  1666. "parameters": [
  1667. {
  1668. "in": "header",
  1669. "name": "token",
  1670. "description": "token",
  1671. "required": true,
  1672. "type": "string"
  1673. },
  1674. {
  1675. "in": "header",
  1676. "name": "uid",
  1677. "description": "admin id",
  1678. "required": true,
  1679. "type": "integer",
  1680. "format": "int64"
  1681. },
  1682. {
  1683. "in": "query",
  1684. "name": "page_number",
  1685. "description": "false",
  1686. "type": "integer",
  1687. "format": "int64"
  1688. },
  1689. {
  1690. "in": "query",
  1691. "name": "page_size",
  1692. "description": "false",
  1693. "type": "integer",
  1694. "format": "int64"
  1695. },
  1696. {
  1697. "in": "query",
  1698. "name": "time_type",
  1699. "description": "0 今天,1 昨天 2 本周 3 本月",
  1700. "type": "integer",
  1701. "format": "int64"
  1702. },
  1703. {
  1704. "in": "query",
  1705. "name": "today_end_timestamp",
  1706. "description": "false",
  1707. "type": "integer",
  1708. "format": "int64"
  1709. }
  1710. ],
  1711. "responses": {
  1712. "200": {
  1713. "description": "\"响应信息\"",
  1714. "schema": {
  1715. "$ref": "#/definitions/.BiGetProviderServicePayInfoResp"
  1716. }
  1717. },
  1718. "500": {
  1719. "description": "服务器错误"
  1720. }
  1721. }
  1722. }
  1723. },
  1724. "/access_log/third_party_analyze": {
  1725. "get": {
  1726. "tags": [
  1727. "access_log"
  1728. ],
  1729. "description": "访问日志接口数据源分析",
  1730. "operationId": "BaseAccessLogController.访问日志接口数据源分析",
  1731. "parameters": [
  1732. {
  1733. "in": "header",
  1734. "name": "token",
  1735. "description": "token",
  1736. "required": true,
  1737. "type": "string"
  1738. },
  1739. {
  1740. "in": "header",
  1741. "name": "uid",
  1742. "description": "admin id",
  1743. "required": true,
  1744. "type": "integer",
  1745. "format": "int64"
  1746. },
  1747. {
  1748. "in": "query",
  1749. "name": "merchant_id",
  1750. "description": "商户id",
  1751. "type": "integer",
  1752. "format": "int64"
  1753. },
  1754. {
  1755. "in": "query",
  1756. "name": "api_id",
  1757. "description": "基础api id",
  1758. "type": "integer",
  1759. "format": "int64"
  1760. },
  1761. {
  1762. "in": "query",
  1763. "name": "start_timestamp",
  1764. "description": "开始时间",
  1765. "type": "integer",
  1766. "format": "int64"
  1767. },
  1768. {
  1769. "in": "query",
  1770. "name": "end_timestamp",
  1771. "description": "结束时间",
  1772. "type": "integer",
  1773. "format": "int64"
  1774. }
  1775. ],
  1776. "responses": {
  1777. "200": {
  1778. "description": "\"响应信息\"",
  1779. "schema": {
  1780. "$ref": "#/definitions/.LogQueryInterfaceAnalyzeResp"
  1781. }
  1782. },
  1783. "500": {
  1784. "description": "服务器错误"
  1785. }
  1786. }
  1787. }
  1788. },
  1789. "/access_log/third_party_err_analyze": {
  1790. "get": {
  1791. "tags": [
  1792. "access_log"
  1793. ],
  1794. "description": "数据源异常分析",
  1795. "operationId": "BaseAccessLogController.数据源异常分析",
  1796. "parameters": [
  1797. {
  1798. "in": "header",
  1799. "name": "token",
  1800. "description": "token",
  1801. "required": true,
  1802. "type": "string"
  1803. },
  1804. {
  1805. "in": "header",
  1806. "name": "uid",
  1807. "description": "admin id",
  1808. "required": true,
  1809. "type": "integer",
  1810. "format": "int64"
  1811. },
  1812. {
  1813. "in": "query",
  1814. "name": "provider_api_id",
  1815. "description": "基础api id",
  1816. "type": "integer",
  1817. "format": "int64"
  1818. },
  1819. {
  1820. "in": "query",
  1821. "name": "status",
  1822. "description": "0 全部 1 成功 2 异常",
  1823. "type": "integer",
  1824. "format": "int64"
  1825. },
  1826. {
  1827. "in": "query",
  1828. "name": "start_timestamp",
  1829. "description": "开始时间",
  1830. "type": "integer",
  1831. "format": "int64"
  1832. },
  1833. {
  1834. "in": "query",
  1835. "name": "end_timestamp",
  1836. "description": "结束时间",
  1837. "type": "integer",
  1838. "format": "int64"
  1839. }
  1840. ],
  1841. "responses": {
  1842. "200": {
  1843. "description": "\"响应信息\"",
  1844. "schema": {
  1845. "$ref": "#/definitions/.ThirdPartyInterfaceErrorAnalyzeResp"
  1846. }
  1847. },
  1848. "500": {
  1849. "description": "服务器错误"
  1850. }
  1851. }
  1852. }
  1853. },
  1854. "/access_log/thirdpart_access_count": {
  1855. "get": {
  1856. "tags": [
  1857. "access_log"
  1858. ],
  1859. "description": "数据源接口用量统计",
  1860. "operationId": "BaseAccessLogController.数据源接口用量统计",
  1861. "parameters": [
  1862. {
  1863. "in": "header",
  1864. "name": "token",
  1865. "description": "token",
  1866. "required": true,
  1867. "type": "string"
  1868. },
  1869. {
  1870. "in": "header",
  1871. "name": "uid",
  1872. "description": "admin id",
  1873. "required": true,
  1874. "type": "integer",
  1875. "format": "int64"
  1876. },
  1877. {
  1878. "in": "query",
  1879. "name": "provider_api_id",
  1880. "description": "数据源api id",
  1881. "type": "integer",
  1882. "format": "int64"
  1883. },
  1884. {
  1885. "in": "query",
  1886. "name": "time",
  1887. "description": "时间",
  1888. "type": "integer",
  1889. "format": "int64"
  1890. },
  1891. {
  1892. "in": "query",
  1893. "name": "start_timestamp",
  1894. "description": "开始时间",
  1895. "type": "integer",
  1896. "format": "int64"
  1897. },
  1898. {
  1899. "in": "query",
  1900. "name": "end_timestamp",
  1901. "description": "结束时间",
  1902. "type": "integer",
  1903. "format": "int64"
  1904. }
  1905. ],
  1906. "responses": {
  1907. "200": {
  1908. "description": "\"响应信息\"",
  1909. "schema": {
  1910. "$ref": "#/definitions/.LogQueryThirdpartAccessCountResp"
  1911. }
  1912. },
  1913. "500": {
  1914. "description": "服务器错误"
  1915. }
  1916. }
  1917. }
  1918. },
  1919. "/access_log/thirdpart_access_interface_count": {
  1920. "get": {
  1921. "tags": [
  1922. "access_log"
  1923. ],
  1924. "description": "数据源接口统计报表",
  1925. "operationId": "BaseAccessLogController.数据源接口统计报表",
  1926. "parameters": [
  1927. {
  1928. "in": "header",
  1929. "name": "token",
  1930. "description": "token",
  1931. "required": true,
  1932. "type": "string"
  1933. },
  1934. {
  1935. "in": "header",
  1936. "name": "uid",
  1937. "description": "admin id",
  1938. "required": true,
  1939. "type": "integer",
  1940. "format": "int64"
  1941. },
  1942. {
  1943. "in": "query",
  1944. "name": "provider_api_id",
  1945. "description": "数据源api id",
  1946. "type": "integer",
  1947. "format": "int64"
  1948. },
  1949. {
  1950. "in": "query",
  1951. "name": "start_timestamp",
  1952. "description": "开始时间",
  1953. "type": "integer",
  1954. "format": "int64"
  1955. },
  1956. {
  1957. "in": "query",
  1958. "name": "end_timestamp",
  1959. "description": "结束时间",
  1960. "type": "integer",
  1961. "format": "int64"
  1962. },
  1963. {
  1964. "in": "query",
  1965. "name": "page_size",
  1966. "description": "页大小",
  1967. "type": "integer",
  1968. "format": "int64"
  1969. },
  1970. {
  1971. "in": "query",
  1972. "name": "page_number",
  1973. "description": "页号",
  1974. "type": "integer",
  1975. "format": "int64"
  1976. }
  1977. ],
  1978. "responses": {
  1979. "200": {
  1980. "description": "\"响应信息\"",
  1981. "schema": {
  1982. "$ref": "#/definitions/.LogQueryThirdpartInterfaceCountResp"
  1983. }
  1984. },
  1985. "500": {
  1986. "description": "服务器错误"
  1987. }
  1988. }
  1989. }
  1990. },
  1991. "/access_log/thirdpart_access_log": {
  1992. "get": {
  1993. "tags": [
  1994. "access_log"
  1995. ],
  1996. "description": "数据源日志",
  1997. "operationId": "BaseAccessLogController.数据源日志",
  1998. "parameters": [
  1999. {
  2000. "in": "header",
  2001. "name": "token",
  2002. "description": "token",
  2003. "required": true,
  2004. "type": "string"
  2005. },
  2006. {
  2007. "in": "header",
  2008. "name": "uid",
  2009. "description": "admin id",
  2010. "required": true,
  2011. "type": "integer",
  2012. "format": "int64"
  2013. },
  2014. {
  2015. "in": "query",
  2016. "name": "state",
  2017. "description": "接口调用返回状态",
  2018. "type": "integer",
  2019. "format": "int64"
  2020. },
  2021. {
  2022. "in": "query",
  2023. "name": "search",
  2024. "description": "关键字",
  2025. "type": "string"
  2026. },
  2027. {
  2028. "in": "query",
  2029. "name": "request_param",
  2030. "description": "请求参数",
  2031. "type": "string"
  2032. },
  2033. {
  2034. "in": "query",
  2035. "name": "provider_id",
  2036. "description": "三方平台id",
  2037. "type": "integer",
  2038. "format": "int64"
  2039. },
  2040. {
  2041. "in": "query",
  2042. "name": "provider_api_id",
  2043. "description": "三方api id",
  2044. "type": "integer",
  2045. "format": "int64"
  2046. },
  2047. {
  2048. "in": "query",
  2049. "name": "start_timestamp",
  2050. "description": "开始时间",
  2051. "type": "integer",
  2052. "format": "int64"
  2053. },
  2054. {
  2055. "in": "query",
  2056. "name": "end_timestamp",
  2057. "description": "结束时间",
  2058. "type": "integer",
  2059. "format": "int64"
  2060. },
  2061. {
  2062. "in": "query",
  2063. "name": "page_size",
  2064. "description": "页大小",
  2065. "type": "integer",
  2066. "format": "int64"
  2067. },
  2068. {
  2069. "in": "query",
  2070. "name": "page_number",
  2071. "description": "页号",
  2072. "type": "integer",
  2073. "format": "int64"
  2074. },
  2075. {
  2076. "in": "query",
  2077. "name": "min",
  2078. "description": "最小耗时",
  2079. "type": "number",
  2080. "format": "double"
  2081. },
  2082. {
  2083. "in": "query",
  2084. "name": "max",
  2085. "description": "最大耗时",
  2086. "type": "number",
  2087. "format": "double"
  2088. },
  2089. {
  2090. "in": "query",
  2091. "name": "raw_code",
  2092. "description": "原始错误码",
  2093. "type": "string"
  2094. }
  2095. ],
  2096. "responses": {
  2097. "200": {
  2098. "description": "\"响应信息\"",
  2099. "schema": {
  2100. "$ref": "#/definitions/.LogQueryThirdpartAccessLogResp"
  2101. }
  2102. },
  2103. "500": {
  2104. "description": "服务器错误"
  2105. }
  2106. }
  2107. }
  2108. },
  2109. "/access_log/thirdpart_accesslog_count": {
  2110. "get": {
  2111. "tags": [
  2112. "access_log"
  2113. ],
  2114. "description": "数据源查询统",
  2115. "operationId": "BaseAccessLogController.数据源查询统计",
  2116. "parameters": [
  2117. {
  2118. "in": "header",
  2119. "name": "token",
  2120. "description": "token",
  2121. "required": true,
  2122. "type": "string"
  2123. },
  2124. {
  2125. "in": "header",
  2126. "name": "uid",
  2127. "description": "admin id",
  2128. "required": true,
  2129. "type": "integer",
  2130. "format": "int64"
  2131. },
  2132. {
  2133. "in": "query",
  2134. "name": "provider_id",
  2135. "description": "三方平台id",
  2136. "type": "integer",
  2137. "format": "int64"
  2138. },
  2139. {
  2140. "in": "query",
  2141. "name": "provider_api_id",
  2142. "description": "三方api id",
  2143. "type": "integer",
  2144. "format": "int64"
  2145. },
  2146. {
  2147. "in": "query",
  2148. "name": "start_timestamp",
  2149. "description": "开始时间",
  2150. "type": "integer",
  2151. "format": "int64"
  2152. },
  2153. {
  2154. "in": "query",
  2155. "name": "end_timestamp",
  2156. "description": "结束时间",
  2157. "type": "integer",
  2158. "format": "int64"
  2159. },
  2160. {
  2161. "in": "query",
  2162. "name": "page_size",
  2163. "description": "页大小",
  2164. "type": "integer",
  2165. "format": "int64"
  2166. },
  2167. {
  2168. "in": "query",
  2169. "name": "page_number",
  2170. "description": "页号",
  2171. "type": "integer",
  2172. "format": "int64"
  2173. }
  2174. ],
  2175. "responses": {
  2176. "200": {
  2177. "description": "\"响应信息\"",
  2178. "schema": {
  2179. "$ref": "#/definitions/.LogQueryThirdpartAccessLogCountResp"
  2180. }
  2181. },
  2182. "500": {
  2183. "description": "服务器错误"
  2184. }
  2185. }
  2186. }
  2187. },
  2188. "/access_log/thirdpart_log_export": {
  2189. "post": {
  2190. "tags": [
  2191. "access_log"
  2192. ],
  2193. "description": "数据源日志导出",
  2194. "operationId": "BaseAccessLogController.数据源日志导出",
  2195. "parameters": [
  2196. {
  2197. "in": "header",
  2198. "name": "token",
  2199. "description": "token",
  2200. "required": true,
  2201. "type": "string"
  2202. },
  2203. {
  2204. "in": "header",
  2205. "name": "uid",
  2206. "description": "admin id",
  2207. "required": true,
  2208. "type": "integer",
  2209. "format": "int64"
  2210. },
  2211. {
  2212. "in": "body",
  2213. "name": "export",
  2214. "description": "导出任务信息",
  2215. "required": true,
  2216. "schema": {
  2217. "$ref": "#/definitions/.ThirdpartLogExportInfo"
  2218. }
  2219. }
  2220. ],
  2221. "responses": {
  2222. "200": {
  2223. "description": "\"响应信息\"",
  2224. "schema": {
  2225. "$ref": "#/definitions/.LogQueryUserAccessCountExportResp"
  2226. }
  2227. },
  2228. "500": {
  2229. "description": "服务器错误"
  2230. }
  2231. }
  2232. }
  2233. },
  2234. "/access_log/user_access_count": {
  2235. "get": {
  2236. "tags": [
  2237. "access_log"
  2238. ],
  2239. "description": "访问日志用户统计报表",
  2240. "operationId": "BaseAccessLogController.访问日志用户统计报表",
  2241. "parameters": [
  2242. {
  2243. "in": "header",
  2244. "name": "token",
  2245. "description": "token",
  2246. "required": true,
  2247. "type": "string"
  2248. },
  2249. {
  2250. "in": "header",
  2251. "name": "uid",
  2252. "description": "admin id",
  2253. "required": true,
  2254. "type": "integer",
  2255. "format": "int64"
  2256. },
  2257. {
  2258. "in": "query",
  2259. "name": "merchant_id",
  2260. "description": "商户id",
  2261. "type": "integer",
  2262. "format": "int64"
  2263. },
  2264. {
  2265. "in": "query",
  2266. "name": "api_id",
  2267. "description": "基础api id",
  2268. "type": "integer",
  2269. "format": "int64"
  2270. },
  2271. {
  2272. "in": "query",
  2273. "name": "start_timestamp",
  2274. "description": "开始时间",
  2275. "type": "integer",
  2276. "format": "int64"
  2277. },
  2278. {
  2279. "in": "query",
  2280. "name": "end_timestamp",
  2281. "description": "结束时间",
  2282. "type": "integer",
  2283. "format": "int64"
  2284. },
  2285. {
  2286. "in": "query",
  2287. "name": "page_size",
  2288. "description": "页大小",
  2289. "type": "integer",
  2290. "format": "int64"
  2291. },
  2292. {
  2293. "in": "query",
  2294. "name": "page_number",
  2295. "description": "页号",
  2296. "type": "integer",
  2297. "format": "int64"
  2298. }
  2299. ],
  2300. "responses": {
  2301. "200": {
  2302. "description": "\"响应信息\"",
  2303. "schema": {
  2304. "$ref": "#/definitions/.LogQueryUserAccessCountResp"
  2305. }
  2306. },
  2307. "500": {
  2308. "description": "服务器错误"
  2309. }
  2310. }
  2311. }
  2312. },
  2313. "/access_log/user_access_count_export": {
  2314. "post": {
  2315. "tags": [
  2316. "access_log"
  2317. ],
  2318. "description": "访问日志用户统计报表导出",
  2319. "operationId": "BaseAccessLogController.访问日志用户统计报表导出",
  2320. "parameters": [
  2321. {
  2322. "in": "header",
  2323. "name": "token",
  2324. "description": "token",
  2325. "required": true,
  2326. "type": "string"
  2327. },
  2328. {
  2329. "in": "header",
  2330. "name": "uid",
  2331. "description": "admin id",
  2332. "required": true,
  2333. "type": "integer",
  2334. "format": "int64"
  2335. },
  2336. {
  2337. "in": "body",
  2338. "name": "export",
  2339. "description": "数据源",
  2340. "required": true,
  2341. "schema": {
  2342. "$ref": "#/definitions/.LogQueryUserAccessCountExportReq"
  2343. }
  2344. }
  2345. ],
  2346. "responses": {
  2347. "200": {
  2348. "description": "\"响应信息\"",
  2349. "schema": {
  2350. "$ref": "#/definitions/.LogQueryUserAccessCountResp"
  2351. }
  2352. },
  2353. "500": {
  2354. "description": "服务器错误"
  2355. }
  2356. }
  2357. }
  2358. },
  2359. "/accounting/bill_detail": {
  2360. "put": {
  2361. "tags": [
  2362. "accounting"
  2363. ],
  2364. "description": "更新账单详情(设置计费量)",
  2365. "operationId": "AccountingController.更新账单详情(设置计费量)",
  2366. "parameters": [
  2367. {
  2368. "in": "header",
  2369. "name": "token",
  2370. "description": "token",
  2371. "required": true,
  2372. "type": "string"
  2373. },
  2374. {
  2375. "in": "header",
  2376. "name": "uid",
  2377. "description": "admin id",
  2378. "required": true,
  2379. "type": "integer",
  2380. "format": "int64"
  2381. },
  2382. {
  2383. "in": "body",
  2384. "name": "body",
  2385. "description": "参数",
  2386. "required": true,
  2387. "schema": {
  2388. "$ref": "#/definitions/.UpdateBillDetailReq"
  2389. }
  2390. }
  2391. ],
  2392. "responses": {
  2393. "200": {
  2394. "description": "\"响应信息\"",
  2395. "schema": {
  2396. "$ref": "#/definitions/.UpdateBillDetailResp"
  2397. }
  2398. },
  2399. "500": {
  2400. "description": "服务器错误"
  2401. }
  2402. }
  2403. }
  2404. },
  2405. "/accounting/bill_detail_list": {
  2406. "get": {
  2407. "tags": [
  2408. "accounting"
  2409. ],
  2410. "description": "商户价格()列表",
  2411. "operationId": "AccountingController.账单详情列表",
  2412. "parameters": [
  2413. {
  2414. "in": "header",
  2415. "name": "token",
  2416. "description": "token",
  2417. "required": true,
  2418. "type": "string"
  2419. },
  2420. {
  2421. "in": "header",
  2422. "name": "uid",
  2423. "description": "admin id",
  2424. "required": true,
  2425. "type": "integer",
  2426. "format": "int64"
  2427. },
  2428. {
  2429. "in": "query",
  2430. "name": "merchant_id",
  2431. "description": "商户id",
  2432. "required": true,
  2433. "type": "integer",
  2434. "format": "int64"
  2435. },
  2436. {
  2437. "in": "query",
  2438. "name": "bill_id",
  2439. "description": "账单id",
  2440. "required": true,
  2441. "type": "integer",
  2442. "format": "int64"
  2443. },
  2444. {
  2445. "in": "query",
  2446. "name": "month",
  2447. "description": "月份(2022-02)",
  2448. "required": true,
  2449. "type": "string"
  2450. }
  2451. ],
  2452. "responses": {
  2453. "200": {
  2454. "description": "\"响应信息\"",
  2455. "schema": {
  2456. "$ref": "#/definitions/.BillDetailListResp"
  2457. }
  2458. },
  2459. "500": {
  2460. "description": "服务器错误"
  2461. }
  2462. }
  2463. }
  2464. },
  2465. "/accounting/bill_export_excel": {
  2466. "get": {
  2467. "tags": [
  2468. "accounting"
  2469. ],
  2470. "description": "账单导出Excel",
  2471. "operationId": "AccountingController.账单导出Excel",
  2472. "parameters": [
  2473. {
  2474. "in": "header",
  2475. "name": "token",
  2476. "description": "token",
  2477. "required": true,
  2478. "type": "string"
  2479. },
  2480. {
  2481. "in": "header",
  2482. "name": "uid",
  2483. "description": "admin id",
  2484. "required": true,
  2485. "type": "integer",
  2486. "format": "int64"
  2487. },
  2488. {
  2489. "in": "query",
  2490. "name": "merchant_id",
  2491. "description": "商户id",
  2492. "required": true,
  2493. "type": "integer",
  2494. "format": "int64"
  2495. },
  2496. {
  2497. "in": "query",
  2498. "name": "bill_id",
  2499. "description": "账单id",
  2500. "required": true,
  2501. "type": "integer",
  2502. "format": "int64"
  2503. },
  2504. {
  2505. "in": "query",
  2506. "name": "month",
  2507. "description": "月份(2022-02)",
  2508. "required": true,
  2509. "type": "string"
  2510. }
  2511. ],
  2512. "responses": {
  2513. "200": {
  2514. "description": "\"响应信息\"",
  2515. "schema": {
  2516. "$ref": "#/definitions/.BillExportExcelResp"
  2517. }
  2518. },
  2519. "500": {
  2520. "description": "服务器错误"
  2521. }
  2522. }
  2523. }
  2524. },
  2525. "/accounting/bill_list": {
  2526. "get": {
  2527. "tags": [
  2528. "accounting"
  2529. ],
  2530. "description": "获取账单列表",
  2531. "operationId": "AccountingController.获取账单列表",
  2532. "parameters": [
  2533. {
  2534. "in": "header",
  2535. "name": "token",
  2536. "description": "token",
  2537. "required": true,
  2538. "type": "string"
  2539. },
  2540. {
  2541. "in": "header",
  2542. "name": "uid",
  2543. "description": "admin id",
  2544. "required": true,
  2545. "type": "integer",
  2546. "format": "int64"
  2547. },
  2548. {
  2549. "in": "query",
  2550. "name": "page_number",
  2551. "description": "页号",
  2552. "type": "integer",
  2553. "format": "int64"
  2554. },
  2555. {
  2556. "in": "query",
  2557. "name": "merchant_id",
  2558. "description": "商户id",
  2559. "type": "integer",
  2560. "format": "int64"
  2561. },
  2562. {
  2563. "in": "query",
  2564. "name": "start_time",
  2565. "description": "开始时间",
  2566. "type": "string"
  2567. },
  2568. {
  2569. "in": "query",
  2570. "name": "end_time",
  2571. "description": "结束时间",
  2572. "type": "string"
  2573. }
  2574. ],
  2575. "responses": {
  2576. "200": {
  2577. "description": "\"响应信息\"",
  2578. "schema": {
  2579. "$ref": "#/definitions/.BillListResp"
  2580. }
  2581. },
  2582. "500": {
  2583. "description": "服务器错误"
  2584. }
  2585. }
  2586. }
  2587. },
  2588. "/accounting/bill_remark": {
  2589. "put": {
  2590. "tags": [
  2591. "accounting"
  2592. ],
  2593. "description": "添加账单备注",
  2594. "operationId": "AccountingController.添加账单备注",
  2595. "parameters": [
  2596. {
  2597. "in": "header",
  2598. "name": "token",
  2599. "description": "token",
  2600. "required": true,
  2601. "type": "string"
  2602. },
  2603. {
  2604. "in": "header",
  2605. "name": "uid",
  2606. "description": "admin id",
  2607. "required": true,
  2608. "type": "integer",
  2609. "format": "int64"
  2610. },
  2611. {
  2612. "in": "body",
  2613. "name": "body",
  2614. "description": "参数",
  2615. "required": true,
  2616. "schema": {
  2617. "$ref": "#/definitions/.BillRemarkReq"
  2618. }
  2619. }
  2620. ],
  2621. "responses": {
  2622. "200": {
  2623. "description": "\"响应信息\"",
  2624. "schema": {
  2625. "$ref": "#/definitions/.BillRemarkResp"
  2626. }
  2627. },
  2628. "500": {
  2629. "description": "服务器错误"
  2630. }
  2631. }
  2632. }
  2633. },
  2634. "/accounting/charge_list": {
  2635. "get": {
  2636. "tags": [
  2637. "accounting"
  2638. ],
  2639. "description": "获取充值列表",
  2640. "operationId": "AccountingController.获取充值列表",
  2641. "parameters": [
  2642. {
  2643. "in": "header",
  2644. "name": "token",
  2645. "description": "token",
  2646. "required": true,
  2647. "type": "string"
  2648. },
  2649. {
  2650. "in": "header",
  2651. "name": "uid",
  2652. "description": "admin id",
  2653. "required": true,
  2654. "type": "integer",
  2655. "format": "int64"
  2656. },
  2657. {
  2658. "in": "query",
  2659. "name": "page_number",
  2660. "description": "页号",
  2661. "type": "integer",
  2662. "format": "int64"
  2663. },
  2664. {
  2665. "in": "query",
  2666. "name": "merchant_id",
  2667. "description": "商户id",
  2668. "type": "integer",
  2669. "format": "int64"
  2670. },
  2671. {
  2672. "in": "query",
  2673. "name": "start_time",
  2674. "description": "开始时间",
  2675. "type": "string"
  2676. },
  2677. {
  2678. "in": "query",
  2679. "name": "end_time",
  2680. "description": "结束时间",
  2681. "type": "string"
  2682. }
  2683. ],
  2684. "responses": {
  2685. "200": {
  2686. "description": "\"响应信息\"",
  2687. "schema": {
  2688. "$ref": "#/definitions/.ChargeListResp"
  2689. }
  2690. },
  2691. "500": {
  2692. "description": "服务器错误"
  2693. }
  2694. }
  2695. }
  2696. },
  2697. "/accounting/consume_list": {
  2698. "get": {
  2699. "tags": [
  2700. "accounting"
  2701. ],
  2702. "description": "获取消费列表",
  2703. "operationId": "AccountingController.获取消费列表",
  2704. "parameters": [
  2705. {
  2706. "in": "header",
  2707. "name": "token",
  2708. "description": "token",
  2709. "required": true,
  2710. "type": "string"
  2711. },
  2712. {
  2713. "in": "header",
  2714. "name": "uid",
  2715. "description": "admin id",
  2716. "required": true,
  2717. "type": "integer",
  2718. "format": "int64"
  2719. },
  2720. {
  2721. "in": "query",
  2722. "name": "page_number",
  2723. "description": "页号",
  2724. "type": "integer",
  2725. "format": "int64"
  2726. },
  2727. {
  2728. "in": "query",
  2729. "name": "merchant_id",
  2730. "description": "商户id",
  2731. "type": "integer",
  2732. "format": "int64"
  2733. },
  2734. {
  2735. "in": "query",
  2736. "name": "data_api_id",
  2737. "description": "数据api id",
  2738. "type": "integer",
  2739. "format": "int64"
  2740. },
  2741. {
  2742. "in": "query",
  2743. "name": "start_time",
  2744. "description": "开始时间",
  2745. "type": "string"
  2746. },
  2747. {
  2748. "in": "query",
  2749. "name": "end_time",
  2750. "description": "结束时间",
  2751. "type": "string"
  2752. },
  2753. {
  2754. "in": "query",
  2755. "name": "consume_order",
  2756. "description": "消费排序",
  2757. "type": "integer",
  2758. "format": "int64"
  2759. }
  2760. ],
  2761. "responses": {
  2762. "200": {
  2763. "description": "\"响应信息\"",
  2764. "schema": {
  2765. "$ref": "#/definitions/.ConsumeListResp"
  2766. }
  2767. },
  2768. "500": {
  2769. "description": "服务器错误"
  2770. }
  2771. }
  2772. }
  2773. },
  2774. "/accounting/consume_trend_list": {
  2775. "get": {
  2776. "tags": [
  2777. "accounting"
  2778. ],
  2779. "description": "消费趋势",
  2780. "operationId": "AccountingController.消费趋势",
  2781. "parameters": [
  2782. {
  2783. "in": "header",
  2784. "name": "token",
  2785. "description": "token",
  2786. "required": true,
  2787. "type": "string"
  2788. },
  2789. {
  2790. "in": "header",
  2791. "name": "uid",
  2792. "description": "admin id",
  2793. "required": true,
  2794. "type": "integer",
  2795. "format": "int64"
  2796. },
  2797. {
  2798. "in": "query",
  2799. "name": "merchant_id",
  2800. "description": "商户id",
  2801. "type": "integer",
  2802. "format": "int64"
  2803. },
  2804. {
  2805. "in": "query",
  2806. "name": "data_api_id",
  2807. "description": "数据api id",
  2808. "type": "integer",
  2809. "format": "int64"
  2810. },
  2811. {
  2812. "in": "query",
  2813. "name": "start_time",
  2814. "description": "开始时间",
  2815. "type": "string"
  2816. },
  2817. {
  2818. "in": "query",
  2819. "name": "end_time",
  2820. "description": "结束时间",
  2821. "type": "string"
  2822. }
  2823. ],
  2824. "responses": {
  2825. "200": {
  2826. "description": "\"响应信息\"",
  2827. "schema": {
  2828. "$ref": "#/definitions/.ConsumeTrendListResp"
  2829. }
  2830. },
  2831. "500": {
  2832. "description": "服务器错误"
  2833. }
  2834. }
  2835. }
  2836. },
  2837. "/accounting/generate_bill": {
  2838. "get": {
  2839. "tags": [
  2840. "accounting"
  2841. ],
  2842. "description": "生成账单",
  2843. "operationId": "AccountingController.生成账单",
  2844. "parameters": [
  2845. {
  2846. "in": "header",
  2847. "name": "token",
  2848. "description": "token",
  2849. "required": true,
  2850. "type": "string"
  2851. },
  2852. {
  2853. "in": "header",
  2854. "name": "uid",
  2855. "description": "admin id",
  2856. "required": true,
  2857. "type": "integer",
  2858. "format": "int64"
  2859. },
  2860. {
  2861. "in": "query",
  2862. "name": "month",
  2863. "description": "页号",
  2864. "type": "integer",
  2865. "format": "int64"
  2866. }
  2867. ],
  2868. "responses": {
  2869. "200": {
  2870. "description": "\"响应信息\"",
  2871. "schema": {
  2872. "$ref": "#/definitions/.BillListResp"
  2873. }
  2874. },
  2875. "500": {
  2876. "description": "服务器错误"
  2877. }
  2878. }
  2879. }
  2880. },
  2881. "/accounting/merchant_charge": {
  2882. "post": {
  2883. "tags": [
  2884. "accounting"
  2885. ],
  2886. "description": "商户充值",
  2887. "operationId": "AccountingController.商户充值",
  2888. "parameters": [
  2889. {
  2890. "in": "header",
  2891. "name": "token",
  2892. "description": "token",
  2893. "required": true,
  2894. "type": "string"
  2895. },
  2896. {
  2897. "in": "header",
  2898. "name": "uid",
  2899. "description": "admin id",
  2900. "required": true,
  2901. "type": "integer",
  2902. "format": "int64"
  2903. },
  2904. {
  2905. "in": "body",
  2906. "name": "body",
  2907. "description": "参数",
  2908. "required": true,
  2909. "schema": {
  2910. "$ref": "#/definitions/.MerchantChargeReq"
  2911. }
  2912. }
  2913. ],
  2914. "responses": {
  2915. "200": {
  2916. "description": "\"响应信息\"",
  2917. "schema": {
  2918. "$ref": "#/definitions/.MerchantChargeResp"
  2919. }
  2920. },
  2921. "500": {
  2922. "description": "服务器错误"
  2923. }
  2924. }
  2925. }
  2926. },
  2927. "/accounting/merchant_data_api_price": {
  2928. "put": {
  2929. "tags": [
  2930. "accounting"
  2931. ],
  2932. "description": "设置商户数据api单价",
  2933. "operationId": "AccountingController.设置商户数据api单价",
  2934. "parameters": [
  2935. {
  2936. "in": "header",
  2937. "name": "token",
  2938. "description": "token",
  2939. "required": true,
  2940. "type": "string"
  2941. },
  2942. {
  2943. "in": "header",
  2944. "name": "uid",
  2945. "description": "admin id",
  2946. "required": true,
  2947. "type": "integer",
  2948. "format": "int64"
  2949. },
  2950. {
  2951. "in": "body",
  2952. "name": "body",
  2953. "description": "参数",
  2954. "required": true,
  2955. "schema": {
  2956. "$ref": "#/definitions/.SetMerchantDataApiPriceReqReq"
  2957. }
  2958. }
  2959. ],
  2960. "responses": {
  2961. "200": {
  2962. "description": "\"响应信息\"",
  2963. "schema": {
  2964. "$ref": "#/definitions/.SetMerchantDataApiPriceReqResp"
  2965. }
  2966. },
  2967. "500": {
  2968. "description": "服务器错误"
  2969. }
  2970. }
  2971. }
  2972. },
  2973. "/accounting/merchant_data_api_price_list": {
  2974. "get": {
  2975. "tags": [
  2976. "accounting"
  2977. ],
  2978. "description": "商户数据api价格列表",
  2979. "operationId": "AccountingController.商户数据api价格列表",
  2980. "parameters": [
  2981. {
  2982. "in": "header",
  2983. "name": "token",
  2984. "description": "token",
  2985. "required": true,
  2986. "type": "string"
  2987. },
  2988. {
  2989. "in": "header",
  2990. "name": "uid",
  2991. "description": "admin id",
  2992. "required": true,
  2993. "type": "integer",
  2994. "format": "int64"
  2995. },
  2996. {
  2997. "in": "query",
  2998. "name": "merchant_id",
  2999. "description": "商户id",
  3000. "type": "integer",
  3001. "format": "int64"
  3002. }
  3003. ],
  3004. "responses": {
  3005. "200": {
  3006. "description": "\"响应信息\"",
  3007. "schema": {
  3008. "$ref": "#/definitions/.MerchantDataApiPriceListResp"
  3009. }
  3010. },
  3011. "500": {
  3012. "description": "服务器错误"
  3013. }
  3014. }
  3015. }
  3016. },
  3017. "/accounting/merchant_price_list": {
  3018. "get": {
  3019. "tags": [
  3020. "accounting"
  3021. ],
  3022. "description": "商户价格()列表",
  3023. "operationId": "AccountingController.商户价格列表",
  3024. "parameters": [
  3025. {
  3026. "in": "header",
  3027. "name": "token",
  3028. "description": "token",
  3029. "required": true,
  3030. "type": "string"
  3031. },
  3032. {
  3033. "in": "header",
  3034. "name": "uid",
  3035. "description": "admin id",
  3036. "required": true,
  3037. "type": "integer",
  3038. "format": "int64"
  3039. },
  3040. {
  3041. "in": "query",
  3042. "name": "merchant_id",
  3043. "description": "商户id",
  3044. "type": "integer",
  3045. "format": "int64"
  3046. },
  3047. {
  3048. "in": "query",
  3049. "name": "merchant_type_list",
  3050. "description": "商户类型列表",
  3051. "type": "string"
  3052. },
  3053. {
  3054. "in": "query",
  3055. "name": "arrearage_order",
  3056. "description": "可欠费金额排序",
  3057. "type": "integer",
  3058. "format": "int64"
  3059. },
  3060. {
  3061. "in": "query",
  3062. "name": "page_number",
  3063. "description": "页号",
  3064. "type": "integer",
  3065. "format": "int64"
  3066. }
  3067. ],
  3068. "responses": {
  3069. "200": {
  3070. "description": "\"响应信息\"",
  3071. "schema": {
  3072. "$ref": "#/definitions/.MerchantPriceListResp"
  3073. }
  3074. },
  3075. "500": {
  3076. "description": "服务器错误"
  3077. }
  3078. }
  3079. }
  3080. },
  3081. "/accounting/merchant_type": {
  3082. "put": {
  3083. "tags": [
  3084. "accounting"
  3085. ],
  3086. "description": "设置商户类型",
  3087. "operationId": "AccountingController.设置商户类型",
  3088. "parameters": [
  3089. {
  3090. "in": "header",
  3091. "name": "token",
  3092. "description": "token",
  3093. "required": true,
  3094. "type": "string"
  3095. },
  3096. {
  3097. "in": "header",
  3098. "name": "uid",
  3099. "description": "admin id",
  3100. "required": true,
  3101. "type": "integer",
  3102. "format": "int64"
  3103. },
  3104. {
  3105. "in": "body",
  3106. "name": "body",
  3107. "description": "参数",
  3108. "required": true,
  3109. "schema": {
  3110. "$ref": "#/definitions/.SetMerchantTypeReq"
  3111. }
  3112. }
  3113. ],
  3114. "responses": {
  3115. "200": {
  3116. "description": "\"响应信息\"",
  3117. "schema": {
  3118. "$ref": "#/definitions/.SetMerchantTypeResp"
  3119. }
  3120. },
  3121. "500": {
  3122. "description": "服务器错误"
  3123. }
  3124. }
  3125. }
  3126. },
  3127. "/action_log/": {
  3128. "get": {
  3129. "tags": [
  3130. "action_log"
  3131. ],
  3132. "description": "添加基础api",
  3133. "operationId": "ActionLogController.add base api",
  3134. "parameters": [
  3135. {
  3136. "in": "header",
  3137. "name": "token",
  3138. "description": "token",
  3139. "required": true,
  3140. "type": "string"
  3141. },
  3142. {
  3143. "in": "header",
  3144. "name": "uid",
  3145. "description": "uid",
  3146. "required": true,
  3147. "type": "string"
  3148. },
  3149. {
  3150. "in": "query",
  3151. "name": "search",
  3152. "description": "搜索",
  3153. "type": "string"
  3154. },
  3155. {
  3156. "in": "query",
  3157. "name": "page_num",
  3158. "description": "页码",
  3159. "type": "integer",
  3160. "format": "int64"
  3161. },
  3162. {
  3163. "in": "query",
  3164. "name": "page_size",
  3165. "description": "每页条数",
  3166. "type": "integer",
  3167. "format": "int64"
  3168. }
  3169. ],
  3170. "responses": {
  3171. "200": {
  3172. "description": "\"响应信息\"",
  3173. "schema": {
  3174. "$ref": "#/definitions/.GetActionLogResp"
  3175. }
  3176. },
  3177. "500": {
  3178. "description": "服务器错误"
  3179. }
  3180. }
  3181. }
  3182. },
  3183. "/admin/access": {
  3184. "get": {
  3185. "tags": [
  3186. "admin"
  3187. ],
  3188. "description": "获取用户权限",
  3189. "operationId": "BaseAdminController.获取用户权限",
  3190. "parameters": [
  3191. {
  3192. "in": "header",
  3193. "name": "token",
  3194. "description": "token",
  3195. "required": true,
  3196. "type": "string"
  3197. },
  3198. {
  3199. "in": "header",
  3200. "name": "uid",
  3201. "description": "admin id",
  3202. "required": true,
  3203. "type": "integer",
  3204. "format": "int64"
  3205. }
  3206. ],
  3207. "responses": {
  3208. "200": {
  3209. "description": "\"响应信息\"",
  3210. "schema": {
  3211. "$ref": "#/definitions/.GetAccessResp"
  3212. }
  3213. },
  3214. "500": {
  3215. "description": "服务器错误"
  3216. }
  3217. }
  3218. }
  3219. },
  3220. "/admin/admin": {
  3221. "put": {
  3222. "tags": [
  3223. "admin"
  3224. ],
  3225. "description": "管理用户信息修改",
  3226. "operationId": "BaseAdminController.管理用户信息修改",
  3227. "parameters": [
  3228. {
  3229. "in": "header",
  3230. "name": "token",
  3231. "description": "token",
  3232. "required": true,
  3233. "type": "string"
  3234. },
  3235. {
  3236. "in": "header",
  3237. "name": "uid",
  3238. "description": "admin id",
  3239. "required": true,
  3240. "type": "integer",
  3241. "format": "int64"
  3242. },
  3243. {
  3244. "in": "body",
  3245. "name": "body",
  3246. "description": "true",
  3247. "schema": {
  3248. "$ref": "#/definitions/.AdminModifyBody"
  3249. }
  3250. }
  3251. ],
  3252. "responses": {
  3253. "200": {
  3254. "description": "\"响应信息\"",
  3255. "schema": {
  3256. "$ref": "#/definitions/.AdminModifyResp"
  3257. }
  3258. },
  3259. "500": {
  3260. "description": "服务器错误"
  3261. }
  3262. }
  3263. },
  3264. "post": {
  3265. "tags": [
  3266. "admin"
  3267. ],
  3268. "description": "管理用户添加",
  3269. "operationId": "BaseAdminController.管理用户添加",
  3270. "parameters": [
  3271. {
  3272. "in": "header",
  3273. "name": "token",
  3274. "description": "token",
  3275. "required": true,
  3276. "type": "string"
  3277. },
  3278. {
  3279. "in": "header",
  3280. "name": "uid",
  3281. "description": "admin id",
  3282. "required": true,
  3283. "type": "integer",
  3284. "format": "int64"
  3285. },
  3286. {
  3287. "in": "body",
  3288. "name": "body",
  3289. "description": "true",
  3290. "schema": {
  3291. "$ref": "#/definitions/.AddAdminBody"
  3292. }
  3293. }
  3294. ],
  3295. "responses": {
  3296. "200": {
  3297. "description": "\"响应信息\"",
  3298. "schema": {
  3299. "$ref": "#/definitions/.AdminRegisterResp"
  3300. }
  3301. },
  3302. "500": {
  3303. "description": "服务器错误"
  3304. }
  3305. }
  3306. },
  3307. "delete": {
  3308. "tags": [
  3309. "admin"
  3310. ],
  3311. "description": "管理用户删除",
  3312. "operationId": "BaseAdminController.管理用户删除",
  3313. "parameters": [
  3314. {
  3315. "in": "header",
  3316. "name": "token",
  3317. "description": "token",
  3318. "required": true,
  3319. "type": "string"
  3320. },
  3321. {
  3322. "in": "header",
  3323. "name": "uid",
  3324. "description": "admin id",
  3325. "required": true,
  3326. "type": "integer",
  3327. "format": "int64"
  3328. },
  3329. {
  3330. "in": "query",
  3331. "name": "admin_id",
  3332. "description": "要删除的admin id",
  3333. "required": true,
  3334. "type": "integer",
  3335. "format": "int64"
  3336. }
  3337. ],
  3338. "responses": {
  3339. "200": {
  3340. "description": "\"响应信息\"",
  3341. "schema": {
  3342. "$ref": "#/definitions/.AdminDeleteResp"
  3343. }
  3344. },
  3345. "500": {
  3346. "description": "服务器错误"
  3347. }
  3348. }
  3349. }
  3350. },
  3351. "/admin/info": {
  3352. "get": {
  3353. "tags": [
  3354. "admin"
  3355. ],
  3356. "description": "管理用户状态",
  3357. "operationId": "BaseAdminController.管理用户状态",
  3358. "parameters": [
  3359. {
  3360. "in": "header",
  3361. "name": "token",
  3362. "description": "token",
  3363. "required": true,
  3364. "type": "string"
  3365. },
  3366. {
  3367. "in": "header",
  3368. "name": "uid",
  3369. "description": "admin id",
  3370. "required": true,
  3371. "type": "integer",
  3372. "format": "int64"
  3373. }
  3374. ],
  3375. "responses": {
  3376. "200": {
  3377. "description": "\"响应信息\"",
  3378. "schema": {
  3379. "$ref": "#/definitions/.GetInfoResp"
  3380. }
  3381. },
  3382. "500": {
  3383. "description": "服务器错误"
  3384. }
  3385. }
  3386. }
  3387. },
  3388. "/admin/list": {
  3389. "get": {
  3390. "tags": [
  3391. "admin"
  3392. ],
  3393. "description": "管理用户列表",
  3394. "operationId": "BaseAdminController.管理用户列表",
  3395. "parameters": [
  3396. {
  3397. "in": "header",
  3398. "name": "token",
  3399. "description": "token",
  3400. "required": true,
  3401. "type": "string"
  3402. },
  3403. {
  3404. "in": "header",
  3405. "name": "uid",
  3406. "description": "admin id",
  3407. "required": true,
  3408. "type": "integer",
  3409. "format": "int64"
  3410. },
  3411. {
  3412. "in": "query",
  3413. "name": "page_size",
  3414. "description": "页大小",
  3415. "type": "string"
  3416. },
  3417. {
  3418. "in": "query",
  3419. "name": "page_number",
  3420. "description": "页号",
  3421. "type": "integer",
  3422. "format": "int64"
  3423. },
  3424. {
  3425. "in": "query",
  3426. "name": "search",
  3427. "description": "搜索",
  3428. "type": "string"
  3429. }
  3430. ],
  3431. "responses": {
  3432. "200": {
  3433. "description": "\"响应信息\"",
  3434. "schema": {
  3435. "$ref": "#/definitions/.AdminGetAllResp"
  3436. }
  3437. },
  3438. "500": {
  3439. "description": "服务器错误"
  3440. }
  3441. }
  3442. }
  3443. },
  3444. "/admin/login": {
  3445. "put": {
  3446. "tags": [
  3447. "admin"
  3448. ],
  3449. "description": "管理用户登录",
  3450. "operationId": "BaseAdminController.管理用户登录",
  3451. "parameters": [
  3452. {
  3453. "in": "body",
  3454. "name": "body",
  3455. "description": "true",
  3456. "schema": {
  3457. "$ref": "#/definitions/.AdminLoginBody"
  3458. }
  3459. }
  3460. ],
  3461. "responses": {
  3462. "200": {
  3463. "description": "{string} json \"{}\" \"响应信息\""
  3464. },
  3465. "500": {
  3466. "description": "服务器错误"
  3467. }
  3468. }
  3469. }
  3470. },
  3471. "/admin/node_list": {
  3472. "get": {
  3473. "tags": [
  3474. "admin"
  3475. ],
  3476. "description": "获取所有的节点列表",
  3477. "operationId": "BaseAdminController.获取所有的节点列表",
  3478. "parameters": [
  3479. {
  3480. "in": "header",
  3481. "name": "token",
  3482. "description": "token",
  3483. "required": true,
  3484. "type": "string"
  3485. },
  3486. {
  3487. "in": "header",
  3488. "name": "uid",
  3489. "description": "admin id",
  3490. "required": true,
  3491. "type": "integer",
  3492. "format": "int64"
  3493. }
  3494. ],
  3495. "responses": {
  3496. "200": {
  3497. "description": "\"响应信息\"",
  3498. "schema": {
  3499. "$ref": "#/definitions/.GetNodeListResp"
  3500. }
  3501. },
  3502. "500": {
  3503. "description": "服务器错误"
  3504. }
  3505. }
  3506. }
  3507. },
  3508. "/admin/rbac_group": {
  3509. "put": {
  3510. "tags": [
  3511. "admin"
  3512. ],
  3513. "description": "更新权限分组",
  3514. "operationId": "BaseAdminController.更新权限分组",
  3515. "parameters": [
  3516. {
  3517. "in": "header",
  3518. "name": "token",
  3519. "description": "token",
  3520. "required": true,
  3521. "type": "string"
  3522. },
  3523. {
  3524. "in": "header",
  3525. "name": "uid",
  3526. "description": "admin id",
  3527. "required": true,
  3528. "type": "integer",
  3529. "format": "int64"
  3530. },
  3531. {
  3532. "in": "body",
  3533. "name": "body",
  3534. "description": "body",
  3535. "required": true,
  3536. "schema": {
  3537. "$ref": "#/definitions/.UpdateRbacGroup"
  3538. }
  3539. }
  3540. ],
  3541. "responses": {
  3542. "200": {
  3543. "description": "\"响应信息\"",
  3544. "schema": {
  3545. "$ref": "#/definitions/.UpdateRbacGroupResp"
  3546. }
  3547. },
  3548. "500": {
  3549. "description": "服务器错误"
  3550. }
  3551. }
  3552. },
  3553. "post": {
  3554. "tags": [
  3555. "admin"
  3556. ],
  3557. "description": "添加权限分组",
  3558. "operationId": "BaseAdminController.添加权限分组",
  3559. "parameters": [
  3560. {
  3561. "in": "header",
  3562. "name": "token",
  3563. "description": "token",
  3564. "required": true,
  3565. "type": "string"
  3566. },
  3567. {
  3568. "in": "header",
  3569. "name": "uid",
  3570. "description": "admin id",
  3571. "required": true,
  3572. "type": "integer",
  3573. "format": "int64"
  3574. },
  3575. {
  3576. "in": "body",
  3577. "name": "body",
  3578. "description": "body",
  3579. "required": true,
  3580. "schema": {
  3581. "$ref": "#/definitions/.UpdateRbacGroup"
  3582. }
  3583. }
  3584. ],
  3585. "responses": {
  3586. "200": {
  3587. "description": "\"响应信息\"",
  3588. "schema": {
  3589. "$ref": "#/definitions/.AddRbacGroupResp"
  3590. }
  3591. },
  3592. "500": {
  3593. "description": "服务器错误"
  3594. }
  3595. }
  3596. },
  3597. "delete": {
  3598. "tags": [
  3599. "admin"
  3600. ],
  3601. "description": "删除权限分组",
  3602. "operationId": "BaseAdminController.删除权限分组",
  3603. "parameters": [
  3604. {
  3605. "in": "header",
  3606. "name": "token",
  3607. "description": "token",
  3608. "required": true,
  3609. "type": "string"
  3610. },
  3611. {
  3612. "in": "header",
  3613. "name": "uid",
  3614. "description": "admin id",
  3615. "required": true,
  3616. "type": "integer",
  3617. "format": "int64"
  3618. },
  3619. {
  3620. "in": "query",
  3621. "name": "id",
  3622. "description": "id",
  3623. "required": true,
  3624. "type": "integer",
  3625. "format": "int64"
  3626. }
  3627. ],
  3628. "responses": {
  3629. "200": {
  3630. "description": "\"响应信息\"",
  3631. "schema": {
  3632. "$ref": "#/definitions/.DeleteRbacGroupResp"
  3633. }
  3634. },
  3635. "500": {
  3636. "description": "服务器错误"
  3637. }
  3638. }
  3639. }
  3640. },
  3641. "/admin/rbac_group_list": {
  3642. "get": {
  3643. "tags": [
  3644. "admin"
  3645. ],
  3646. "description": "获取权限分组信息",
  3647. "operationId": "BaseAdminController.获取权限分组信息",
  3648. "parameters": [
  3649. {
  3650. "in": "header",
  3651. "name": "token",
  3652. "description": "token",
  3653. "required": true,
  3654. "type": "string"
  3655. },
  3656. {
  3657. "in": "header",
  3658. "name": "uid",
  3659. "description": "admin id",
  3660. "required": true,
  3661. "type": "integer",
  3662. "format": "int64"
  3663. }
  3664. ],
  3665. "responses": {
  3666. "200": {
  3667. "description": "\"响应信息\"",
  3668. "schema": {
  3669. "$ref": "#/definitions/.GetRbacGroupListResp"
  3670. }
  3671. },
  3672. "500": {
  3673. "description": "服务器错误"
  3674. }
  3675. }
  3676. }
  3677. },
  3678. "/admin/status": {
  3679. "put": {
  3680. "tags": [
  3681. "admin"
  3682. ],
  3683. "description": "修改管理用户状态",
  3684. "operationId": "BaseAdminController.修改管理用户状态",
  3685. "parameters": [
  3686. {
  3687. "in": "header",
  3688. "name": "token",
  3689. "description": "token",
  3690. "required": true,
  3691. "type": "string"
  3692. },
  3693. {
  3694. "in": "header",
  3695. "name": "uid",
  3696. "description": "admin id",
  3697. "required": true,
  3698. "type": "integer",
  3699. "format": "int64"
  3700. },
  3701. {
  3702. "in": "body",
  3703. "name": "body",
  3704. "description": "true",
  3705. "schema": {
  3706. "$ref": "#/definitions/.UpdateStatusBody"
  3707. }
  3708. }
  3709. ],
  3710. "responses": {
  3711. "200": {
  3712. "description": "\"响应信息\"",
  3713. "schema": {
  3714. "$ref": "#/definitions/.UpdateStatusResp"
  3715. }
  3716. },
  3717. "500": {
  3718. "description": "服务器错误"
  3719. }
  3720. }
  3721. }
  3722. },
  3723. "/admin/token_verify": {
  3724. "get": {
  3725. "tags": [
  3726. "admin"
  3727. ],
  3728. "description": "token验证",
  3729. "operationId": "BaseAdminController.token check",
  3730. "parameters": [
  3731. {
  3732. "in": "header",
  3733. "name": "token",
  3734. "description": "token",
  3735. "required": true,
  3736. "type": "string"
  3737. },
  3738. {
  3739. "in": "header",
  3740. "name": "uid",
  3741. "description": "admin id",
  3742. "required": true,
  3743. "type": "integer",
  3744. "format": "int64"
  3745. }
  3746. ],
  3747. "responses": {
  3748. "200": {
  3749. "description": "\"响应信息\"",
  3750. "schema": {
  3751. "$ref": "#/definitions/.AdminTokenVerifyResp"
  3752. }
  3753. },
  3754. "500": {
  3755. "description": "服务器错误"
  3756. }
  3757. }
  3758. }
  3759. },
  3760. "/auth/oss": {
  3761. "get": {
  3762. "tags": [
  3763. "auth"
  3764. ],
  3765. "description": "oss sts 授权",
  3766. "operationId": "AuthController.oss sts 授权",
  3767. "parameters": [
  3768. {
  3769. "in": "header",
  3770. "name": "token",
  3771. "description": "token",
  3772. "required": true,
  3773. "type": "string"
  3774. },
  3775. {
  3776. "in": "header",
  3777. "name": "uid",
  3778. "description": "admin id",
  3779. "required": true,
  3780. "type": "integer",
  3781. "format": "int64"
  3782. }
  3783. ],
  3784. "responses": {
  3785. "200": {
  3786. "description": "\"响应信息\"",
  3787. "schema": {
  3788. "$ref": "#/definitions/.AuthGetOSSInfoResp"
  3789. }
  3790. },
  3791. "500": {
  3792. "description": "服务器错误"
  3793. }
  3794. }
  3795. }
  3796. },
  3797. "/base_api/base_api": {
  3798. "post": {
  3799. "tags": [
  3800. "base_api"
  3801. ],
  3802. "description": "添加基础api",
  3803. "operationId": "BaseApiController.add base api",
  3804. "parameters": [
  3805. {
  3806. "in": "header",
  3807. "name": "token",
  3808. "description": "token",
  3809. "required": true,
  3810. "type": "string"
  3811. },
  3812. {
  3813. "in": "header",
  3814. "name": "uid",
  3815. "description": "uid",
  3816. "required": true,
  3817. "type": "string"
  3818. },
  3819. {
  3820. "in": "body",
  3821. "name": "base_api_info",
  3822. "description": "api信息",
  3823. "required": true,
  3824. "schema": {
  3825. "$ref": "#/definitions/.ManagementBaseApiInfo"
  3826. }
  3827. }
  3828. ],
  3829. "responses": {
  3830. "200": {
  3831. "description": "\"响应信息\"",
  3832. "schema": {
  3833. "$ref": "#/definitions/.ManagementAddBaseApiResp"
  3834. }
  3835. },
  3836. "500": {
  3837. "description": "服务器错误"
  3838. }
  3839. }
  3840. },
  3841. "delete": {
  3842. "tags": [
  3843. "base_api"
  3844. ],
  3845. "description": "删除基础api",
  3846. "operationId": "BaseApiController.del base api",
  3847. "parameters": [
  3848. {
  3849. "in": "header",
  3850. "name": "token",
  3851. "description": "token",
  3852. "required": true,
  3853. "type": "string"
  3854. },
  3855. {
  3856. "in": "header",
  3857. "name": "uid",
  3858. "description": "uid",
  3859. "required": true,
  3860. "type": "string"
  3861. },
  3862. {
  3863. "in": "query",
  3864. "name": "api_id",
  3865. "description": "api id",
  3866. "required": true,
  3867. "type": "integer",
  3868. "format": "int64"
  3869. }
  3870. ],
  3871. "responses": {
  3872. "200": {
  3873. "description": "\"响应信息\"",
  3874. "schema": {
  3875. "$ref": "#/definitions/.ManagementDelBaseApiResp"
  3876. }
  3877. },
  3878. "500": {
  3879. "description": "服务器错误"
  3880. }
  3881. }
  3882. }
  3883. },
  3884. "/base_api/base_api/{api_id}": {
  3885. "put": {
  3886. "tags": [
  3887. "base_api"
  3888. ],
  3889. "description": "修改基础api",
  3890. "operationId": "BaseApiController.update base api",
  3891. "parameters": [
  3892. {
  3893. "in": "header",
  3894. "name": "token",
  3895. "description": "token",
  3896. "required": true,
  3897. "type": "string"
  3898. },
  3899. {
  3900. "in": "header",
  3901. "name": "uid",
  3902. "description": "uid",
  3903. "required": true,
  3904. "type": "string"
  3905. },
  3906. {
  3907. "in": "path",
  3908. "name": "api_id",
  3909. "description": "api id",
  3910. "required": true,
  3911. "type": "integer",
  3912. "format": "int64"
  3913. },
  3914. {
  3915. "in": "body",
  3916. "name": "base_api_info",
  3917. "description": "api信息",
  3918. "required": true,
  3919. "schema": {
  3920. "$ref": "#/definitions/.ManagementBaseApiInfo"
  3921. }
  3922. }
  3923. ],
  3924. "responses": {
  3925. "200": {
  3926. "description": "\"响应信息\"",
  3927. "schema": {
  3928. "$ref": "#/definitions/.ManagementUpdateBaseApiResp"
  3929. }
  3930. },
  3931. "500": {
  3932. "description": "服务器错误"
  3933. }
  3934. }
  3935. }
  3936. },
  3937. "/base_api/base_api_info": {
  3938. "get": {
  3939. "tags": [
  3940. "base_api"
  3941. ],
  3942. "description": "获取api信息",
  3943. "operationId": "BaseApiController.get base api info",
  3944. "parameters": [
  3945. {
  3946. "in": "header",
  3947. "name": "token",
  3948. "description": "token",
  3949. "required": true,
  3950. "type": "string"
  3951. },
  3952. {
  3953. "in": "header",
  3954. "name": "uid",
  3955. "description": "uid",
  3956. "required": true,
  3957. "type": "string"
  3958. },
  3959. {
  3960. "in": "query",
  3961. "name": "api_id",
  3962. "description": "api id",
  3963. "required": true,
  3964. "type": "integer",
  3965. "format": "int64"
  3966. }
  3967. ],
  3968. "responses": {
  3969. "200": {
  3970. "description": "\"响应信息\"",
  3971. "schema": {
  3972. "$ref": "#/definitions/.ManagementGetBaseApiInfoResp"
  3973. }
  3974. },
  3975. "500": {
  3976. "description": "服务器错误"
  3977. }
  3978. }
  3979. }
  3980. },
  3981. "/base_api/base_api_list": {
  3982. "get": {
  3983. "tags": [
  3984. "base_api"
  3985. ],
  3986. "description": "获取api列表",
  3987. "operationId": "BaseApiController.get base api list",
  3988. "parameters": [
  3989. {
  3990. "in": "header",
  3991. "name": "token",
  3992. "description": "token",
  3993. "required": true,
  3994. "type": "string"
  3995. },
  3996. {
  3997. "in": "header",
  3998. "name": "uid",
  3999. "description": "uid",
  4000. "required": true,
  4001. "type": "string"
  4002. },
  4003. {
  4004. "in": "query",
  4005. "name": "api_type",
  4006. "description": "api类型",
  4007. "type": "integer",
  4008. "format": "int64"
  4009. },
  4010. {
  4011. "in": "query",
  4012. "name": "page_number",
  4013. "description": "当前页",
  4014. "type": "integer",
  4015. "format": "int64"
  4016. },
  4017. {
  4018. "in": "query",
  4019. "name": "is_all",
  4020. "description": "是否全部返回",
  4021. "type": "boolean"
  4022. },
  4023. {
  4024. "in": "query",
  4025. "name": "search",
  4026. "description": "搜索字符串",
  4027. "type": "string"
  4028. },
  4029. {
  4030. "in": "query",
  4031. "name": "merchant_id",
  4032. "description": "false",
  4033. "type": "integer",
  4034. "format": "int64"
  4035. }
  4036. ],
  4037. "responses": {
  4038. "200": {
  4039. "description": "\"响应信息\"",
  4040. "schema": {
  4041. "$ref": "#/definitions/.ManagementGetBaseApiListResp"
  4042. }
  4043. },
  4044. "500": {
  4045. "description": "服务器错误"
  4046. }
  4047. }
  4048. }
  4049. },
  4050. "/base_api/base_api_provider": {
  4051. "post": {
  4052. "tags": [
  4053. "base_api"
  4054. ],
  4055. "description": "添加基础api数据源接口",
  4056. "operationId": "BaseApiController.add base api provider",
  4057. "parameters": [
  4058. {
  4059. "in": "header",
  4060. "name": "token",
  4061. "description": "token",
  4062. "required": true,
  4063. "type": "string"
  4064. },
  4065. {
  4066. "in": "header",
  4067. "name": "uid",
  4068. "description": "管理用户id",
  4069. "required": true,
  4070. "type": "string"
  4071. },
  4072. {
  4073. "in": "body",
  4074. "name": "providers",
  4075. "description": "数据源",
  4076. "required": true,
  4077. "schema": {
  4078. "$ref": "#/definitions/.ManagementAddBaseApiProviderReq"
  4079. }
  4080. }
  4081. ],
  4082. "responses": {
  4083. "200": {
  4084. "description": "\"响应信息\"",
  4085. "schema": {
  4086. "$ref": "#/definitions/.ManagementAddBaseApiProviderResp"
  4087. }
  4088. },
  4089. "500": {
  4090. "description": "服务器错误"
  4091. }
  4092. }
  4093. }
  4094. },
  4095. "/base_api/base_api_provider_list": {
  4096. "get": {
  4097. "tags": [
  4098. "base_api"
  4099. ],
  4100. "description": "获取基础api数据源接口列表",
  4101. "operationId": "BaseApiController.get base api provider list",
  4102. "parameters": [
  4103. {
  4104. "in": "header",
  4105. "name": "token",
  4106. "description": "token",
  4107. "required": true,
  4108. "type": "string"
  4109. },
  4110. {
  4111. "in": "header",
  4112. "name": "uid",
  4113. "description": "管理用户id",
  4114. "required": true,
  4115. "type": "string"
  4116. },
  4117. {
  4118. "in": "query",
  4119. "name": "api_id",
  4120. "description": "true",
  4121. "type": "integer",
  4122. "format": "int64"
  4123. }
  4124. ],
  4125. "responses": {
  4126. "200": {
  4127. "description": "\"响应信息\"",
  4128. "schema": {
  4129. "$ref": "#/definitions/.ManagementGetBaseApiProviderListResp"
  4130. }
  4131. },
  4132. "500": {
  4133. "description": "服务器错误"
  4134. }
  4135. }
  4136. }
  4137. },
  4138. "/base_api/base_api_show_info/{api_id}": {
  4139. "put": {
  4140. "tags": [
  4141. "base_api"
  4142. ],
  4143. "description": "报表是否展示该api",
  4144. "operationId": "BaseApiController.is show in report",
  4145. "parameters": [
  4146. {
  4147. "in": "header",
  4148. "name": "token",
  4149. "description": "token",
  4150. "required": true,
  4151. "type": "string"
  4152. },
  4153. {
  4154. "in": "header",
  4155. "name": "uid",
  4156. "description": "uid",
  4157. "required": true,
  4158. "type": "string"
  4159. },
  4160. {
  4161. "in": "path",
  4162. "name": "api_id",
  4163. "description": "api id",
  4164. "required": true,
  4165. "type": "integer",
  4166. "format": "int64"
  4167. },
  4168. {
  4169. "in": "body",
  4170. "name": "show_info",
  4171. "description": "api信息",
  4172. "required": true,
  4173. "schema": {
  4174. "$ref": "#/definitions/.ManagementBaseApiShowInfo"
  4175. }
  4176. }
  4177. ],
  4178. "responses": {
  4179. "200": {
  4180. "description": "\"响应信息\"",
  4181. "schema": {
  4182. "$ref": "#/definitions/.ManagementSetBaseApiShowInfoResp"
  4183. }
  4184. },
  4185. "500": {
  4186. "description": "服务器错误"
  4187. }
  4188. }
  4189. }
  4190. },
  4191. "/base_api/base_api_state/{api_id}": {
  4192. "put": {
  4193. "tags": [
  4194. "base_api"
  4195. ],
  4196. "description": "停启用api",
  4197. "operationId": "BaseApiController.set base api state",
  4198. "parameters": [
  4199. {
  4200. "in": "header",
  4201. "name": "token",
  4202. "description": "token",
  4203. "required": true,
  4204. "type": "string"
  4205. },
  4206. {
  4207. "in": "header",
  4208. "name": "uid",
  4209. "description": "uid",
  4210. "required": true,
  4211. "type": "string"
  4212. },
  4213. {
  4214. "in": "path",
  4215. "name": "api_id",
  4216. "description": "api id",
  4217. "required": true,
  4218. "type": "integer",
  4219. "format": "int64"
  4220. },
  4221. {
  4222. "in": "body",
  4223. "name": "body",
  4224. "description": "true",
  4225. "schema": {
  4226. "$ref": "#/definitions/.ManagementSetBaseApiStateBody"
  4227. }
  4228. }
  4229. ],
  4230. "responses": {
  4231. "200": {
  4232. "description": "\"响应信息\"",
  4233. "schema": {
  4234. "$ref": "#/definitions/.ManagementSetBaseApiStateResp"
  4235. }
  4236. },
  4237. "500": {
  4238. "description": "服务器错误"
  4239. }
  4240. }
  4241. }
  4242. },
  4243. "/base_api/base_api_threshold/{api_id}": {
  4244. "put": {
  4245. "tags": [
  4246. "base_api"
  4247. ],
  4248. "description": "设置api告警阀值",
  4249. "operationId": "BaseApiController.set base api waring threshold",
  4250. "parameters": [
  4251. {
  4252. "in": "header",
  4253. "name": "token",
  4254. "description": "token",
  4255. "required": true,
  4256. "type": "string"
  4257. },
  4258. {
  4259. "in": "header",
  4260. "name": "uid",
  4261. "description": "uid",
  4262. "required": true,
  4263. "type": "string"
  4264. },
  4265. {
  4266. "in": "path",
  4267. "name": "api_id",
  4268. "description": "true",
  4269. "type": "integer",
  4270. "format": "int64"
  4271. },
  4272. {
  4273. "in": "body",
  4274. "name": "body",
  4275. "description": "true",
  4276. "schema": {
  4277. "$ref": "#/definitions/param_v1_0.ManagementSetBaseApiThresholdBody"
  4278. }
  4279. }
  4280. ],
  4281. "responses": {
  4282. "200": {
  4283. "description": "\"响应信息\"",
  4284. "schema": {
  4285. "$ref": "#/definitions/.ManagementSetBaseApiThresholdResp"
  4286. }
  4287. },
  4288. "500": {
  4289. "description": "服务器错误"
  4290. }
  4291. }
  4292. }
  4293. },
  4294. "/base_api/param_type_list": {
  4295. "get": {
  4296. "tags": [
  4297. "base_api"
  4298. ],
  4299. "description": "获取参数类型列表",
  4300. "operationId": "BaseApiController.get param type list",
  4301. "parameters": [
  4302. {
  4303. "in": "header",
  4304. "name": "token",
  4305. "description": "token",
  4306. "required": true,
  4307. "type": "string"
  4308. },
  4309. {
  4310. "in": "header",
  4311. "name": "uid",
  4312. "description": "uid",
  4313. "required": true,
  4314. "type": "string"
  4315. }
  4316. ],
  4317. "responses": {
  4318. "200": {
  4319. "description": "\"响应信息\"",
  4320. "schema": {
  4321. "$ref": "#/definitions/.ManagementGetBaseApiParamTypeListResp"
  4322. }
  4323. },
  4324. "500": {
  4325. "description": "服务器错误"
  4326. }
  4327. }
  4328. }
  4329. },
  4330. "/base_api/try": {
  4331. "post": {
  4332. "tags": [
  4333. "base_api"
  4334. ],
  4335. "description": "测试api调用",
  4336. "operationId": "BaseApiController.try api",
  4337. "parameters": [
  4338. {
  4339. "in": "header",
  4340. "name": "token",
  4341. "description": "token",
  4342. "required": true,
  4343. "type": "string"
  4344. },
  4345. {
  4346. "in": "header",
  4347. "name": "uid",
  4348. "description": "uid",
  4349. "required": true,
  4350. "type": "string"
  4351. },
  4352. {
  4353. "in": "body",
  4354. "name": "api_info",
  4355. "description": "api信息",
  4356. "required": true,
  4357. "schema": {
  4358. "$ref": "#/definitions/.ManagementTryBaseApiReq"
  4359. }
  4360. }
  4361. ],
  4362. "responses": {
  4363. "200": {
  4364. "description": "\"响应信息\"",
  4365. "schema": {
  4366. "$ref": "#/definitions/.ManagementTryBaseApiResp"
  4367. }
  4368. },
  4369. "500": {
  4370. "description": "服务器错误"
  4371. }
  4372. }
  4373. }
  4374. },
  4375. "/base_api/try_api_excel_template": {
  4376. "get": {
  4377. "tags": [
  4378. "base_api"
  4379. ],
  4380. "description": "跑批数据 excel 模板",
  4381. "operationId": "BaseApiController.excel template",
  4382. "parameters": [
  4383. {
  4384. "in": "header",
  4385. "name": "token",
  4386. "description": "token",
  4387. "required": true,
  4388. "type": "string"
  4389. },
  4390. {
  4391. "in": "header",
  4392. "name": "uid",
  4393. "description": "uid",
  4394. "required": true,
  4395. "type": "string"
  4396. }
  4397. ],
  4398. "responses": {
  4399. "200": {
  4400. "description": "\"响应信息\"",
  4401. "schema": {
  4402. "$ref": "#/definitions/.ManagementTryApiExcelResp"
  4403. }
  4404. },
  4405. "500": {
  4406. "description": "服务器错误"
  4407. }
  4408. }
  4409. }
  4410. },
  4411. "/base_api/try_api_task": {
  4412. "put": {
  4413. "tags": [
  4414. "base_api"
  4415. ],
  4416. "description": "测试api调用",
  4417. "operationId": "BaseApiController.create api task",
  4418. "parameters": [
  4419. {
  4420. "in": "header",
  4421. "name": "token",
  4422. "description": "token",
  4423. "required": true,
  4424. "type": "string"
  4425. },
  4426. {
  4427. "in": "header",
  4428. "name": "uid",
  4429. "description": "uid",
  4430. "required": true,
  4431. "type": "string"
  4432. },
  4433. {
  4434. "in": "body",
  4435. "name": "data",
  4436. "description": "true",
  4437. "schema": {
  4438. "$ref": "#/definitions/.ManagementChangeApiTaskBody"
  4439. }
  4440. }
  4441. ],
  4442. "responses": {
  4443. "200": {
  4444. "description": "\"响应信息\"",
  4445. "schema": {
  4446. "$ref": "#/definitions/.ManagementTryBaseApiResp"
  4447. }
  4448. },
  4449. "500": {
  4450. "description": "服务器错误"
  4451. }
  4452. }
  4453. },
  4454. "post": {
  4455. "tags": [
  4456. "base_api"
  4457. ],
  4458. "description": "测试api调用",
  4459. "operationId": "BaseApiController.create api task",
  4460. "parameters": [
  4461. {
  4462. "in": "header",
  4463. "name": "token",
  4464. "description": "token",
  4465. "required": true,
  4466. "type": "string"
  4467. },
  4468. {
  4469. "in": "header",
  4470. "name": "uid",
  4471. "description": "uid",
  4472. "required": true,
  4473. "type": "string"
  4474. },
  4475. {
  4476. "in": "query",
  4477. "name": "api_name",
  4478. "description": "true",
  4479. "type": "string"
  4480. },
  4481. {
  4482. "in": "query",
  4483. "name": "router",
  4484. "description": "true",
  4485. "type": "string"
  4486. },
  4487. {
  4488. "in": "query",
  4489. "name": "method",
  4490. "description": "true",
  4491. "type": "string"
  4492. },
  4493. {
  4494. "in": "query",
  4495. "name": "app_key",
  4496. "description": "true",
  4497. "type": "string"
  4498. },
  4499. {
  4500. "in": "query",
  4501. "name": "app_secret",
  4502. "description": "true",
  4503. "type": "string"
  4504. },
  4505. {
  4506. "in": "query",
  4507. "name": "is_crypto",
  4508. "description": "true",
  4509. "type": "boolean"
  4510. },
  4511. {
  4512. "in": "query",
  4513. "name": "merchant_account",
  4514. "description": "true",
  4515. "type": "boolean"
  4516. },
  4517. {
  4518. "in": "query",
  4519. "name": "multi_number",
  4520. "description": "false",
  4521. "type": "integer",
  4522. "format": "int64"
  4523. },
  4524. {
  4525. "in": "query",
  4526. "name": "task_name",
  4527. "description": "false",
  4528. "type": "string"
  4529. },
  4530. {
  4531. "in": "query",
  4532. "name": "chinese_header",
  4533. "description": "false",
  4534. "type": "boolean"
  4535. },
  4536. {
  4537. "in": "query",
  4538. "name": "encrypto_type",
  4539. "description": "false",
  4540. "type": "integer",
  4541. "format": "int64"
  4542. }
  4543. ],
  4544. "responses": {
  4545. "200": {
  4546. "description": "\"响应信息\"",
  4547. "schema": {
  4548. "$ref": "#/definitions/.ManagementTryBaseApiResp"
  4549. }
  4550. },
  4551. "500": {
  4552. "description": "服务器错误"
  4553. }
  4554. }
  4555. },
  4556. "delete": {
  4557. "tags": [
  4558. "base_api"
  4559. ],
  4560. "description": "删除api跑批任务",
  4561. "operationId": "BaseApiController.del api task",
  4562. "parameters": [
  4563. {
  4564. "in": "header",
  4565. "name": "token",
  4566. "description": "token",
  4567. "required": true,
  4568. "type": "string"
  4569. },
  4570. {
  4571. "in": "header",
  4572. "name": "uid",
  4573. "description": "uid",
  4574. "required": true,
  4575. "type": "string"
  4576. },
  4577. {
  4578. "in": "query",
  4579. "name": "task_id",
  4580. "description": "true",
  4581. "type": "integer",
  4582. "format": "int64"
  4583. }
  4584. ],
  4585. "responses": {
  4586. "200": {
  4587. "description": "\"响应信息\"",
  4588. "schema": {
  4589. "$ref": "#/definitions/.ManagementDeleteTryApiTaskResp"
  4590. }
  4591. },
  4592. "500": {
  4593. "description": "服务器错误"
  4594. }
  4595. }
  4596. }
  4597. },
  4598. "/base_api/try_api_task_list": {
  4599. "get": {
  4600. "tags": [
  4601. "base_api"
  4602. ],
  4603. "description": "api跑批任务列表",
  4604. "operationId": "BaseApiController.get api task list",
  4605. "parameters": [
  4606. {
  4607. "in": "header",
  4608. "name": "token",
  4609. "description": "token",
  4610. "required": true,
  4611. "type": "string"
  4612. },
  4613. {
  4614. "in": "header",
  4615. "name": "uid",
  4616. "description": "uid",
  4617. "required": true,
  4618. "type": "string"
  4619. },
  4620. {
  4621. "in": "query",
  4622. "name": "is_all",
  4623. "description": "true",
  4624. "type": "boolean"
  4625. },
  4626. {
  4627. "in": "query",
  4628. "name": "page_number",
  4629. "description": "true",
  4630. "type": "integer",
  4631. "format": "int64"
  4632. },
  4633. {
  4634. "in": "query",
  4635. "name": "page_size",
  4636. "description": "false",
  4637. "type": "integer",
  4638. "format": "int64"
  4639. },
  4640. {
  4641. "in": "query",
  4642. "name": "api_name",
  4643. "description": "false",
  4644. "type": "string"
  4645. },
  4646. {
  4647. "in": "query",
  4648. "name": "type",
  4649. "description": "类型:1、平台接口,2、数据源",
  4650. "type": "integer",
  4651. "format": "int64"
  4652. }
  4653. ],
  4654. "responses": {
  4655. "200": {
  4656. "description": "\"响应信息\"",
  4657. "schema": {
  4658. "$ref": "#/definitions/.ManagementGetTryApiTaskListResp"
  4659. }
  4660. },
  4661. "500": {
  4662. "description": "服务器错误"
  4663. }
  4664. }
  4665. }
  4666. },
  4667. "/crontab/report": {
  4668. "get": {
  4669. "tags": [
  4670. "crontab"
  4671. ],
  4672. "description": "手动生成日报",
  4673. "operationId": "CrontabController.手动生成日报",
  4674. "parameters": [
  4675. {
  4676. "in": "header",
  4677. "name": "token",
  4678. "description": "token",
  4679. "required": true,
  4680. "type": "string"
  4681. },
  4682. {
  4683. "in": "header",
  4684. "name": "uid",
  4685. "description": "admin id",
  4686. "required": true,
  4687. "type": "integer",
  4688. "format": "int64"
  4689. },
  4690. {
  4691. "in": "query",
  4692. "name": "merchant_id",
  4693. "description": "商户id",
  4694. "type": "integer",
  4695. "format": "int64"
  4696. },
  4697. {
  4698. "in": "query",
  4699. "name": "api_id",
  4700. "description": "基础api id",
  4701. "type": "integer",
  4702. "format": "int64"
  4703. },
  4704. {
  4705. "in": "query",
  4706. "name": "provider_api_id",
  4707. "description": "数据源api id",
  4708. "type": "integer",
  4709. "format": "int64"
  4710. },
  4711. {
  4712. "in": "query",
  4713. "name": "dates",
  4714. "description": "导出日期以分号分隔,默认为前一天",
  4715. "type": "string"
  4716. },
  4717. {
  4718. "in": "query",
  4719. "name": "api_report",
  4720. "description": "是否统计商户日报",
  4721. "type": "boolean"
  4722. },
  4723. {
  4724. "in": "query",
  4725. "name": "provider_report",
  4726. "description": "是否统计数据源日报",
  4727. "type": "boolean"
  4728. },
  4729. {
  4730. "in": "query",
  4731. "name": "business_report",
  4732. "description": "是否统计商务日报",
  4733. "type": "boolean"
  4734. },
  4735. {
  4736. "in": "query",
  4737. "name": "is_insert",
  4738. "description": "统计的数据是否插入日报表中",
  4739. "type": "boolean"
  4740. },
  4741. {
  4742. "in": "query",
  4743. "name": "only_mail",
  4744. "description": "是否仅发送邮件,不统计",
  4745. "type": "boolean"
  4746. },
  4747. {
  4748. "in": "query",
  4749. "name": "only_report",
  4750. "description": "是否仅统计, 不发送邮件",
  4751. "type": "boolean"
  4752. },
  4753. {
  4754. "in": "query",
  4755. "name": "file_name",
  4756. "description": "指定文件名",
  4757. "type": "string"
  4758. }
  4759. ],
  4760. "responses": {
  4761. "200": {
  4762. "description": "\"响应信息\"",
  4763. "schema": {
  4764. "$ref": "#/definitions/.LogGenerateReportResp"
  4765. }
  4766. },
  4767. "500": {
  4768. "description": "服务器错误"
  4769. }
  4770. }
  4771. }
  4772. },
  4773. "/data_api/base_api": {
  4774. "get": {
  4775. "tags": [
  4776. "data_api"
  4777. ],
  4778. "description": "数据api获取基础api",
  4779. "operationId": "BaseDataApiController.数据api获取基础api",
  4780. "parameters": [
  4781. {
  4782. "in": "header",
  4783. "name": "token",
  4784. "description": "token",
  4785. "required": true,
  4786. "type": "string"
  4787. },
  4788. {
  4789. "in": "header",
  4790. "name": "uid",
  4791. "description": "admin id",
  4792. "required": true,
  4793. "type": "integer",
  4794. "format": "int64"
  4795. },
  4796. {
  4797. "in": "query",
  4798. "name": "data_api_base_api_id",
  4799. "description": "数据api中基础api id",
  4800. "type": "integer",
  4801. "format": "int64"
  4802. }
  4803. ],
  4804. "responses": {
  4805. "200": {
  4806. "description": "\"响应信息\"",
  4807. "schema": {
  4808. "$ref": "#/definitions/.ManagementDataApiGetBaseApiResp"
  4809. }
  4810. },
  4811. "500": {
  4812. "description": "服务器错误"
  4813. }
  4814. }
  4815. },
  4816. "put": {
  4817. "tags": [
  4818. "data_api"
  4819. ],
  4820. "description": "数据api修改基础api信息",
  4821. "operationId": "BaseDataApiController.数据api修改基础api信息",
  4822. "parameters": [
  4823. {
  4824. "in": "header",
  4825. "name": "token",
  4826. "description": "token",
  4827. "required": true,
  4828. "type": "string"
  4829. },
  4830. {
  4831. "in": "header",
  4832. "name": "uid",
  4833. "description": "admin id",
  4834. "required": true,
  4835. "type": "integer",
  4836. "format": "int64"
  4837. },
  4838. {
  4839. "in": "body",
  4840. "name": "body",
  4841. "description": "参数",
  4842. "required": true,
  4843. "schema": {
  4844. "$ref": "#/definitions/.ManagementDataApiModifyBaseApiReq"
  4845. }
  4846. }
  4847. ],
  4848. "responses": {
  4849. "200": {
  4850. "description": "\"响应信息\"",
  4851. "schema": {
  4852. "$ref": "#/definitions/.ManagementDataApiModifyBaseApiResp"
  4853. }
  4854. },
  4855. "500": {
  4856. "description": "服务器错误"
  4857. }
  4858. }
  4859. },
  4860. "post": {
  4861. "tags": [
  4862. "data_api"
  4863. ],
  4864. "description": "数据api添加基础api",
  4865. "operationId": "BaseDataApiController.数据api添加基础api",
  4866. "parameters": [
  4867. {
  4868. "in": "header",
  4869. "name": "token",
  4870. "description": "token",
  4871. "required": true,
  4872. "type": "string"
  4873. },
  4874. {
  4875. "in": "header",
  4876. "name": "uid",
  4877. "description": "admin id",
  4878. "required": true,
  4879. "type": "integer",
  4880. "format": "int64"
  4881. },
  4882. {
  4883. "in": "body",
  4884. "name": "body",
  4885. "description": "参数",
  4886. "required": true,
  4887. "schema": {
  4888. "$ref": "#/definitions/.ManagementDataApiAddBaseApiReq"
  4889. }
  4890. }
  4891. ],
  4892. "responses": {
  4893. "200": {
  4894. "description": "\"响应信息\"",
  4895. "schema": {
  4896. "$ref": "#/definitions/.ManagementDataApiAddBaseApiResp"
  4897. }
  4898. },
  4899. "500": {
  4900. "description": "服务器错误"
  4901. }
  4902. }
  4903. },
  4904. "delete": {
  4905. "tags": [
  4906. "data_api"
  4907. ],
  4908. "description": "数据api删除基础api",
  4909. "operationId": "BaseDataApiController.数据api删除基础api",
  4910. "parameters": [
  4911. {
  4912. "in": "header",
  4913. "name": "token",
  4914. "description": "token",
  4915. "required": true,
  4916. "type": "string"
  4917. },
  4918. {
  4919. "in": "header",
  4920. "name": "uid",
  4921. "description": "admin id",
  4922. "required": true,
  4923. "type": "integer",
  4924. "format": "int64"
  4925. },
  4926. {
  4927. "in": "query",
  4928. "name": "data_api_base_api_id",
  4929. "description": "数据api中基础api id",
  4930. "required": true,
  4931. "type": "integer",
  4932. "format": "int64"
  4933. }
  4934. ],
  4935. "responses": {
  4936. "200": {
  4937. "description": "\"响应信息\"",
  4938. "schema": {
  4939. "$ref": "#/definitions/.ManagementDataApiRemoveBaseApiResp"
  4940. }
  4941. },
  4942. "500": {
  4943. "description": "服务器错误"
  4944. }
  4945. }
  4946. }
  4947. },
  4948. "/data_api/combo_list": {
  4949. "get": {
  4950. "tags": [
  4951. "data_api"
  4952. ],
  4953. "description": "数据api套餐列表",
  4954. "operationId": "BaseDataApiController.数据api套餐列表",
  4955. "parameters": [
  4956. {
  4957. "in": "header",
  4958. "name": "token",
  4959. "description": "token",
  4960. "required": true,
  4961. "type": "string"
  4962. },
  4963. {
  4964. "in": "header",
  4965. "name": "uid",
  4966. "description": "admin id",
  4967. "required": true,
  4968. "type": "integer",
  4969. "format": "int64"
  4970. },
  4971. {
  4972. "in": "query",
  4973. "name": "query_type_id",
  4974. "description": "数据api id",
  4975. "required": true,
  4976. "type": "integer",
  4977. "format": "int64"
  4978. }
  4979. ],
  4980. "responses": {
  4981. "200": {
  4982. "description": "\"响应信息\"",
  4983. "schema": {
  4984. "$ref": "#/definitions/.ManagementDataApiComboListResp"
  4985. }
  4986. },
  4987. "500": {
  4988. "description": "服务器错误"
  4989. }
  4990. }
  4991. }
  4992. },
  4993. "/data_api/data_api": {
  4994. "get": {
  4995. "tags": [
  4996. "data_api"
  4997. ],
  4998. "description": "获取数据api列表",
  4999. "operationId": "BaseDataApiController.获取数据api列表",
  5000. "parameters": [
  5001. {
  5002. "in": "header",
  5003. "name": "token",
  5004. "description": "token",
  5005. "required": true,
  5006. "type": "string"
  5007. },
  5008. {
  5009. "in": "header",
  5010. "name": "uid",
  5011. "description": "admin id",
  5012. "required": true,
  5013. "type": "integer",
  5014. "format": "int64"
  5015. },
  5016. {
  5017. "in": "query",
  5018. "name": "page_size",
  5019. "description": "页大小",
  5020. "type": "integer",
  5021. "format": "int64"
  5022. },
  5023. {
  5024. "in": "query",
  5025. "name": "page_number",
  5026. "description": "页号",
  5027. "type": "integer",
  5028. "format": "int64"
  5029. },
  5030. {
  5031. "in": "query",
  5032. "name": "is_all",
  5033. "description": "是否获取全部数据",
  5034. "type": "boolean"
  5035. },
  5036. {
  5037. "in": "query",
  5038. "name": "search",
  5039. "description": "搜索字符串",
  5040. "type": "string"
  5041. },
  5042. {
  5043. "in": "query",
  5044. "name": "data_api_type",
  5045. "description": "false",
  5046. "type": "string"
  5047. },
  5048. {
  5049. "in": "query",
  5050. "name": "merchant_id",
  5051. "description": "false",
  5052. "type": "integer",
  5053. "format": "int64"
  5054. }
  5055. ],
  5056. "responses": {
  5057. "200": {
  5058. "description": "\"响应信息\"",
  5059. "schema": {
  5060. "$ref": "#/definitions/.ManagementDataApiGetAllResp"
  5061. }
  5062. },
  5063. "500": {
  5064. "description": "服务器错误"
  5065. }
  5066. }
  5067. },
  5068. "put": {
  5069. "tags": [
  5070. "data_api"
  5071. ],
  5072. "description": "修改数据api",
  5073. "operationId": "BaseDataApiController.修改数据api",
  5074. "parameters": [
  5075. {
  5076. "in": "header",
  5077. "name": "token",
  5078. "description": "token",
  5079. "required": true,
  5080. "type": "string"
  5081. },
  5082. {
  5083. "in": "header",
  5084. "name": "uid",
  5085. "description": "admin id",
  5086. "required": true,
  5087. "type": "integer",
  5088. "format": "int64"
  5089. },
  5090. {
  5091. "in": "body",
  5092. "name": "body",
  5093. "description": "参数",
  5094. "required": true,
  5095. "schema": {
  5096. "$ref": "#/definitions/.ManagementDataApiModifyApiReq"
  5097. }
  5098. }
  5099. ],
  5100. "responses": {
  5101. "200": {
  5102. "description": "\"响应信息\"",
  5103. "schema": {
  5104. "$ref": "#/definitions/.ManagementDataApiModifyApiResp"
  5105. }
  5106. },
  5107. "500": {
  5108. "description": "服务器错误"
  5109. }
  5110. }
  5111. },
  5112. "post": {
  5113. "tags": [
  5114. "data_api"
  5115. ],
  5116. "description": "添加数据api",
  5117. "operationId": "BaseDataApiController.添加数据api",
  5118. "parameters": [
  5119. {
  5120. "in": "header",
  5121. "name": "token",
  5122. "description": "token",
  5123. "required": true,
  5124. "type": "string"
  5125. },
  5126. {
  5127. "in": "header",
  5128. "name": "uid",
  5129. "description": "admin id",
  5130. "required": true,
  5131. "type": "integer",
  5132. "format": "int64"
  5133. },
  5134. {
  5135. "in": "body",
  5136. "name": "body",
  5137. "description": "参数",
  5138. "required": true,
  5139. "schema": {
  5140. "$ref": "#/definitions/.ManagementDataApiAddApiReq"
  5141. }
  5142. }
  5143. ],
  5144. "responses": {
  5145. "200": {
  5146. "description": "\"响应信息\"",
  5147. "schema": {
  5148. "$ref": "#/definitions/.ManagementDataApiAddApiResp"
  5149. }
  5150. },
  5151. "500": {
  5152. "description": "服务器错误"
  5153. }
  5154. }
  5155. },
  5156. "delete": {
  5157. "tags": [
  5158. "data_api"
  5159. ],
  5160. "description": "删除数据api",
  5161. "operationId": "BaseDataApiController.删除数据api",
  5162. "parameters": [
  5163. {
  5164. "in": "header",
  5165. "name": "token",
  5166. "description": "token",
  5167. "required": true,
  5168. "type": "string"
  5169. },
  5170. {
  5171. "in": "header",
  5172. "name": "uid",
  5173. "description": "admin id",
  5174. "required": true,
  5175. "type": "integer",
  5176. "format": "int64"
  5177. },
  5178. {
  5179. "in": "query",
  5180. "name": "data_api_id",
  5181. "description": "数据api id",
  5182. "required": true,
  5183. "type": "integer",
  5184. "format": "int64"
  5185. }
  5186. ],
  5187. "responses": {
  5188. "200": {
  5189. "description": "\"响应信息\"",
  5190. "schema": {
  5191. "$ref": "#/definitions/.ManagementDataApiDeleteApiResp"
  5192. }
  5193. },
  5194. "500": {
  5195. "description": "服务器错误"
  5196. }
  5197. }
  5198. }
  5199. },
  5200. "/data_api/data_api_info": {
  5201. "get": {
  5202. "tags": [
  5203. "data_api"
  5204. ],
  5205. "description": "获取数据api详情",
  5206. "operationId": "BaseDataApiController.获取数据api详情",
  5207. "parameters": [
  5208. {
  5209. "in": "header",
  5210. "name": "token",
  5211. "description": "token",
  5212. "required": true,
  5213. "type": "string"
  5214. },
  5215. {
  5216. "in": "header",
  5217. "name": "uid",
  5218. "description": "admin id",
  5219. "required": true,
  5220. "type": "integer",
  5221. "format": "int64"
  5222. },
  5223. {
  5224. "in": "query",
  5225. "name": "data_api_id",
  5226. "description": "数据api id",
  5227. "required": true,
  5228. "type": "integer",
  5229. "format": "int64"
  5230. }
  5231. ],
  5232. "responses": {
  5233. "200": {
  5234. "description": "\"响应信息\"",
  5235. "schema": {
  5236. "$ref": "#/definitions/.ManagementDataApiGetApiInfoResp"
  5237. }
  5238. },
  5239. "500": {
  5240. "description": "服务器错误"
  5241. }
  5242. }
  5243. }
  5244. },
  5245. "/data_api/data_api_release/{data_api_id}": {
  5246. "put": {
  5247. "tags": [
  5248. "data_api"
  5249. ],
  5250. "description": "发布数据api",
  5251. "operationId": "BaseDataApiController.发布数据api",
  5252. "parameters": [
  5253. {
  5254. "in": "header",
  5255. "name": "token",
  5256. "description": "token",
  5257. "required": true,
  5258. "type": "string"
  5259. },
  5260. {
  5261. "in": "header",
  5262. "name": "uid",
  5263. "description": "admin id",
  5264. "required": true,
  5265. "type": "integer",
  5266. "format": "int64"
  5267. },
  5268. {
  5269. "in": "path",
  5270. "name": "data_api_id",
  5271. "description": "数据api id",
  5272. "required": true,
  5273. "type": "integer",
  5274. "format": "int64"
  5275. },
  5276. {
  5277. "in": "body",
  5278. "name": "data",
  5279. "description": "true",
  5280. "schema": {
  5281. "$ref": "#/definitions/.DataApiReleaseBody"
  5282. }
  5283. }
  5284. ],
  5285. "responses": {
  5286. "200": {
  5287. "description": "\"响应信息\"",
  5288. "schema": {
  5289. "$ref": "#/definitions/.ManagementDataApiReleaseApiResp"
  5290. }
  5291. },
  5292. "500": {
  5293. "description": "服务器错误"
  5294. }
  5295. }
  5296. }
  5297. },
  5298. "/data_api/data_combo": {
  5299. "post": {
  5300. "tags": [
  5301. "data_api"
  5302. ],
  5303. "description": "数据api添加数据套餐",
  5304. "operationId": "BaseDataApiController.数据api添加数据套餐",
  5305. "parameters": [
  5306. {
  5307. "in": "header",
  5308. "name": "token",
  5309. "description": "token",
  5310. "required": true,
  5311. "type": "string"
  5312. },
  5313. {
  5314. "in": "header",
  5315. "name": "uid",
  5316. "description": "admin id",
  5317. "required": true,
  5318. "type": "integer",
  5319. "format": "int64"
  5320. },
  5321. {
  5322. "in": "body",
  5323. "name": "body",
  5324. "description": "参数",
  5325. "required": true,
  5326. "schema": {
  5327. "$ref": "#/definitions/.ManagementDataApiAddDataComboReq"
  5328. }
  5329. }
  5330. ],
  5331. "responses": {
  5332. "200": {
  5333. "description": "\"响应信息\"",
  5334. "schema": {
  5335. "$ref": "#/definitions/.ManagementDataApiAddDataComboResp"
  5336. }
  5337. },
  5338. "500": {
  5339. "description": "服务器错误"
  5340. }
  5341. }
  5342. },
  5343. "delete": {
  5344. "tags": [
  5345. "data_api"
  5346. ],
  5347. "description": "数据api删除数据套餐",
  5348. "operationId": "BaseDataApiController.数据api删除数据套餐",
  5349. "parameters": [
  5350. {
  5351. "in": "header",
  5352. "name": "token",
  5353. "description": "token",
  5354. "required": true,
  5355. "type": "string"
  5356. },
  5357. {
  5358. "in": "header",
  5359. "name": "uid",
  5360. "description": "admin id",
  5361. "required": true,
  5362. "type": "integer",
  5363. "format": "int64"
  5364. },
  5365. {
  5366. "in": "query",
  5367. "name": "combo_id",
  5368. "description": "数据api套餐id",
  5369. "required": true,
  5370. "type": "integer",
  5371. "format": "int64"
  5372. },
  5373. {
  5374. "in": "query",
  5375. "name": "query_type_id",
  5376. "description": "数据apiid",
  5377. "required": true,
  5378. "type": "integer",
  5379. "format": "int64"
  5380. }
  5381. ],
  5382. "responses": {
  5383. "200": {
  5384. "description": "\"响应信息\"",
  5385. "schema": {
  5386. "$ref": "#/definitions/.ManagementDataApiRemoveDataComboResp"
  5387. }
  5388. },
  5389. "500": {
  5390. "description": "服务器错误"
  5391. }
  5392. }
  5393. }
  5394. },
  5395. "/data_api/param_filter_rules": {
  5396. "get": {
  5397. "tags": [
  5398. "data_api"
  5399. ],
  5400. "description": "获取参数过滤规则列表",
  5401. "operationId": "BaseDataApiController.get filter rules",
  5402. "parameters": [
  5403. {
  5404. "in": "header",
  5405. "name": "token",
  5406. "description": "token",
  5407. "required": true,
  5408. "type": "string"
  5409. },
  5410. {
  5411. "in": "header",
  5412. "name": "uid",
  5413. "description": "uid",
  5414. "required": true,
  5415. "type": "string"
  5416. }
  5417. ],
  5418. "responses": {
  5419. "200": {
  5420. "description": "\"响应信息\"",
  5421. "schema": {
  5422. "$ref": "#/definitions/.ManagementGetFilterRuleResp"
  5423. }
  5424. },
  5425. "500": {
  5426. "description": "服务器错误"
  5427. }
  5428. }
  5429. }
  5430. },
  5431. "/data_api/query_type": {
  5432. "get": {
  5433. "tags": [
  5434. "data_api"
  5435. ],
  5436. "description": "获取数据api查询方式信息",
  5437. "operationId": "BaseDataApiController.获取数据api查询方式信息",
  5438. "parameters": [
  5439. {
  5440. "in": "header",
  5441. "name": "token",
  5442. "description": "token",
  5443. "required": true,
  5444. "type": "string"
  5445. },
  5446. {
  5447. "in": "header",
  5448. "name": "uid",
  5449. "description": "admin id",
  5450. "required": true,
  5451. "type": "integer",
  5452. "format": "int64"
  5453. },
  5454. {
  5455. "in": "query",
  5456. "name": "query_type_id",
  5457. "description": "数据api查询方式id",
  5458. "required": true,
  5459. "type": "integer",
  5460. "format": "int64"
  5461. }
  5462. ],
  5463. "responses": {
  5464. "200": {
  5465. "description": "\"响应信息\"",
  5466. "schema": {
  5467. "$ref": "#/definitions/.ManagementDataApiGetQueryTypeResp"
  5468. }
  5469. },
  5470. "500": {
  5471. "description": "服务器错误"
  5472. }
  5473. }
  5474. },
  5475. "put": {
  5476. "tags": [
  5477. "data_api"
  5478. ],
  5479. "description": "修改数据api查询方式",
  5480. "operationId": "BaseDataApiController.修改数据api查询方式",
  5481. "parameters": [
  5482. {
  5483. "in": "header",
  5484. "name": "token",
  5485. "description": "token",
  5486. "required": true,
  5487. "type": "string"
  5488. },
  5489. {
  5490. "in": "header",
  5491. "name": "uid",
  5492. "description": "admin id",
  5493. "required": true,
  5494. "type": "integer",
  5495. "format": "int64"
  5496. },
  5497. {
  5498. "in": "body",
  5499. "name": "body",
  5500. "description": "参数",
  5501. "required": true,
  5502. "schema": {
  5503. "$ref": "#/definitions/.ManagementDataApiModifyQueryTypeReq"
  5504. }
  5505. }
  5506. ],
  5507. "responses": {
  5508. "200": {
  5509. "description": "\"响应信息\"",
  5510. "schema": {
  5511. "$ref": "#/definitions/.ManagementDataApiModifyQueryTypeResp"
  5512. }
  5513. },
  5514. "500": {
  5515. "description": "服务器错误"
  5516. }
  5517. }
  5518. },
  5519. "post": {
  5520. "tags": [
  5521. "data_api"
  5522. ],
  5523. "description": "填加数据api查询方式",
  5524. "operationId": "BaseDataApiController.填加数据api查询方式",
  5525. "parameters": [
  5526. {
  5527. "in": "header",
  5528. "name": "token",
  5529. "description": "token",
  5530. "required": true,
  5531. "type": "string"
  5532. },
  5533. {
  5534. "in": "header",
  5535. "name": "uid",
  5536. "description": "admin id",
  5537. "required": true,
  5538. "type": "integer",
  5539. "format": "int64"
  5540. },
  5541. {
  5542. "in": "body",
  5543. "name": "body",
  5544. "description": "参数",
  5545. "required": true,
  5546. "schema": {
  5547. "$ref": "#/definitions/.ManagementDataApiAddQueryTypeReq"
  5548. }
  5549. }
  5550. ],
  5551. "responses": {
  5552. "200": {
  5553. "description": "\"响应信息\"",
  5554. "schema": {
  5555. "$ref": "#/definitions/.ManagementDataApiAddQueryTypeResp"
  5556. }
  5557. },
  5558. "500": {
  5559. "description": "服务器错误"
  5560. }
  5561. }
  5562. },
  5563. "delete": {
  5564. "tags": [
  5565. "data_api"
  5566. ],
  5567. "description": "删除数据api查询方式",
  5568. "operationId": "BaseDataApiController.删除数据api查询方式",
  5569. "parameters": [
  5570. {
  5571. "in": "header",
  5572. "name": "token",
  5573. "description": "token",
  5574. "required": true,
  5575. "type": "string"
  5576. },
  5577. {
  5578. "in": "header",
  5579. "name": "uid",
  5580. "description": "admin id",
  5581. "required": true,
  5582. "type": "integer",
  5583. "format": "int64"
  5584. },
  5585. {
  5586. "in": "query",
  5587. "name": "query_type_id",
  5588. "description": "数据api查询方式id",
  5589. "required": true,
  5590. "type": "integer",
  5591. "format": "int64"
  5592. }
  5593. ],
  5594. "responses": {
  5595. "200": {
  5596. "description": "\"响应信息\"",
  5597. "schema": {
  5598. "$ref": "#/definitions/.ManagementDataApiRemoveQueryTypeResp"
  5599. }
  5600. },
  5601. "500": {
  5602. "description": "服务器错误"
  5603. }
  5604. }
  5605. }
  5606. },
  5607. "/data_api/query_type_list": {
  5608. "get": {
  5609. "tags": [
  5610. "data_api"
  5611. ],
  5612. "description": "数据api获取插叙方式列表",
  5613. "operationId": "BaseDataApiController.数据api获取查询方式列表",
  5614. "parameters": [
  5615. {
  5616. "in": "header",
  5617. "name": "token",
  5618. "description": "token",
  5619. "required": true,
  5620. "type": "string"
  5621. },
  5622. {
  5623. "in": "header",
  5624. "name": "uid",
  5625. "description": "admin id",
  5626. "required": true,
  5627. "type": "integer",
  5628. "format": "int64"
  5629. },
  5630. {
  5631. "in": "query",
  5632. "name": "data_api_id",
  5633. "description": "数据api id",
  5634. "required": true,
  5635. "type": "integer",
  5636. "format": "int64"
  5637. }
  5638. ],
  5639. "responses": {
  5640. "200": {
  5641. "description": "\"响应信息\"",
  5642. "schema": {
  5643. "$ref": "#/definitions/.ManagementDataApiGetQueryTypeListResp"
  5644. }
  5645. },
  5646. "500": {
  5647. "description": "服务器错误"
  5648. }
  5649. }
  5650. }
  5651. },
  5652. "/data_api/set_free_combo": {
  5653. "put": {
  5654. "tags": [
  5655. "data_api"
  5656. ],
  5657. "description": "数据api设置查询方式是否免费",
  5658. "operationId": "BaseDataApiController.数据api设置查询方式是否免费",
  5659. "parameters": [
  5660. {
  5661. "in": "header",
  5662. "name": "token",
  5663. "description": "token",
  5664. "required": true,
  5665. "type": "string"
  5666. },
  5667. {
  5668. "in": "header",
  5669. "name": "uid",
  5670. "description": "admin id",
  5671. "required": true,
  5672. "type": "integer",
  5673. "format": "int64"
  5674. },
  5675. {
  5676. "in": "body",
  5677. "name": "body",
  5678. "description": "参数",
  5679. "required": true,
  5680. "schema": {
  5681. "$ref": "#/definitions/.ManagementDataApiSetFreeDataComboReq"
  5682. }
  5683. }
  5684. ],
  5685. "responses": {
  5686. "200": {
  5687. "description": "\"响应信息\"",
  5688. "schema": {
  5689. "$ref": "#/definitions/.ManagementDataApiSetFreeDataComboResp"
  5690. }
  5691. },
  5692. "500": {
  5693. "description": "服务器错误"
  5694. }
  5695. }
  5696. }
  5697. },
  5698. "/data_editor/data": {
  5699. "put": {
  5700. "tags": [
  5701. "data_editor"
  5702. ],
  5703. "description": "数据补充获取标题",
  5704. "operationId": "DataSupplementController.数据补充获取标题",
  5705. "parameters": [
  5706. {
  5707. "in": "header",
  5708. "name": "token",
  5709. "description": "token",
  5710. "required": true,
  5711. "type": "string"
  5712. },
  5713. {
  5714. "in": "header",
  5715. "name": "uid",
  5716. "description": "admin id",
  5717. "required": true,
  5718. "type": "integer",
  5719. "format": "int64"
  5720. },
  5721. {
  5722. "in": "body",
  5723. "name": "body",
  5724. "description": "参数",
  5725. "required": true,
  5726. "schema": {
  5727. "$ref": "#/definitions/.ManagementGetDataSupplementReq"
  5728. }
  5729. }
  5730. ],
  5731. "responses": {
  5732. "200": {
  5733. "description": "\"响应信息\"",
  5734. "schema": {
  5735. "$ref": "#/definitions/.ManagementGetDataSupplementResp"
  5736. }
  5737. },
  5738. "500": {
  5739. "description": "服务器错误"
  5740. }
  5741. }
  5742. },
  5743. "post": {
  5744. "tags": [
  5745. "data_editor"
  5746. ],
  5747. "description": "数据补充获取标题",
  5748. "operationId": "DataSupplementController.数据补充获取标题",
  5749. "parameters": [
  5750. {
  5751. "in": "header",
  5752. "name": "token",
  5753. "description": "token",
  5754. "required": true,
  5755. "type": "string"
  5756. },
  5757. {
  5758. "in": "header",
  5759. "name": "uid",
  5760. "description": "admin id",
  5761. "required": true,
  5762. "type": "integer",
  5763. "format": "int64"
  5764. },
  5765. {
  5766. "in": "body",
  5767. "name": "body",
  5768. "description": "参数",
  5769. "required": true,
  5770. "schema": {
  5771. "$ref": "#/definitions/.ManagementUpdateDataSupplementReq"
  5772. }
  5773. }
  5774. ],
  5775. "responses": {
  5776. "200": {
  5777. "description": "\"响应信息\"",
  5778. "schema": {
  5779. "$ref": "#/definitions/.ManagementUpdateDataSupplementResp"
  5780. }
  5781. },
  5782. "500": {
  5783. "description": "服务器错误"
  5784. }
  5785. }
  5786. }
  5787. },
  5788. "/data_editor/db": {
  5789. "get": {
  5790. "tags": [
  5791. "data_editor"
  5792. ],
  5793. "description": "获取补充数据库",
  5794. "operationId": "DataSupplementController.获取补充数据库",
  5795. "parameters": [
  5796. {
  5797. "in": "header",
  5798. "name": "token",
  5799. "description": "token",
  5800. "required": true,
  5801. "type": "string"
  5802. },
  5803. {
  5804. "in": "header",
  5805. "name": "uid",
  5806. "description": "admin id",
  5807. "required": true,
  5808. "type": "integer",
  5809. "format": "int64"
  5810. }
  5811. ],
  5812. "responses": {
  5813. "200": {
  5814. "description": "\"响应信息\"",
  5815. "schema": {
  5816. "$ref": "#/definitions/.ManagementGetSupplementDbResp"
  5817. }
  5818. },
  5819. "500": {
  5820. "description": "服务器错误"
  5821. }
  5822. }
  5823. }
  5824. },
  5825. "/data_editor/title": {
  5826. "get": {
  5827. "tags": [
  5828. "data_editor"
  5829. ],
  5830. "description": "数据补充获取标题",
  5831. "operationId": "DataSupplementController.数据补充获取标题",
  5832. "parameters": [
  5833. {
  5834. "in": "header",
  5835. "name": "token",
  5836. "description": "token",
  5837. "required": true,
  5838. "type": "string"
  5839. },
  5840. {
  5841. "in": "header",
  5842. "name": "uid",
  5843. "description": "admin id",
  5844. "required": true,
  5845. "type": "integer",
  5846. "format": "int64"
  5847. },
  5848. {
  5849. "in": "query",
  5850. "name": "db_code",
  5851. "description": "数据类型",
  5852. "type": "string"
  5853. }
  5854. ],
  5855. "responses": {
  5856. "200": {
  5857. "description": "\"响应信息\"",
  5858. "schema": {
  5859. "$ref": "#/definitions/.ManagementGetSuplementTitleResp"
  5860. }
  5861. },
  5862. "500": {
  5863. "description": "服务器错误"
  5864. }
  5865. }
  5866. }
  5867. },
  5868. "/error_code/error_code": {
  5869. "put": {
  5870. "tags": [
  5871. "error_code"
  5872. ],
  5873. "description": "修改错误码",
  5874. "operationId": "ErrorController.update error code",
  5875. "parameters": [
  5876. {
  5877. "in": "header",
  5878. "name": "token",
  5879. "description": "token",
  5880. "required": true,
  5881. "type": "string"
  5882. },
  5883. {
  5884. "in": "header",
  5885. "name": "uid",
  5886. "description": "管理员id",
  5887. "required": true,
  5888. "type": "string"
  5889. },
  5890. {
  5891. "in": "query",
  5892. "name": "id",
  5893. "description": "错误码id",
  5894. "required": true,
  5895. "type": "integer",
  5896. "format": "int64"
  5897. },
  5898. {
  5899. "in": "query",
  5900. "name": "code",
  5901. "description": "错误码",
  5902. "required": true,
  5903. "type": "string"
  5904. },
  5905. {
  5906. "in": "query",
  5907. "name": "msg",
  5908. "description": "错误消息",
  5909. "required": true,
  5910. "type": "string"
  5911. }
  5912. ],
  5913. "responses": {
  5914. "200": {
  5915. "description": "\"响应信息\"",
  5916. "schema": {
  5917. "$ref": "#/definitions/.ManagementUpdateErrorResp"
  5918. }
  5919. },
  5920. "500": {
  5921. "description": "服务器错误"
  5922. }
  5923. }
  5924. },
  5925. "post": {
  5926. "tags": [
  5927. "error_code"
  5928. ],
  5929. "description": "添加错误码",
  5930. "operationId": "ErrorController.add error code",
  5931. "parameters": [
  5932. {
  5933. "in": "header",
  5934. "name": "token",
  5935. "description": "token",
  5936. "required": true,
  5937. "type": "string"
  5938. },
  5939. {
  5940. "in": "header",
  5941. "name": "uid",
  5942. "description": "管理员id",
  5943. "required": true,
  5944. "type": "string"
  5945. },
  5946. {
  5947. "in": "query",
  5948. "name": "code",
  5949. "description": "错误码",
  5950. "required": true,
  5951. "type": "string"
  5952. },
  5953. {
  5954. "in": "query",
  5955. "name": "msg",
  5956. "description": "错误消息",
  5957. "required": true,
  5958. "type": "string"
  5959. }
  5960. ],
  5961. "responses": {
  5962. "200": {
  5963. "description": "\"响应信息\"",
  5964. "schema": {
  5965. "$ref": "#/definitions/.ManagementAddErrorResp"
  5966. }
  5967. },
  5968. "500": {
  5969. "description": "服务器错误"
  5970. }
  5971. }
  5972. },
  5973. "delete": {
  5974. "tags": [
  5975. "error_code"
  5976. ],
  5977. "description": "删除错误码",
  5978. "operationId": "ErrorController.del error code",
  5979. "parameters": [
  5980. {
  5981. "in": "header",
  5982. "name": "token",
  5983. "description": "token",
  5984. "required": true,
  5985. "type": "string"
  5986. },
  5987. {
  5988. "in": "header",
  5989. "name": "uid",
  5990. "description": "管理员id",
  5991. "required": true,
  5992. "type": "string"
  5993. },
  5994. {
  5995. "in": "query",
  5996. "name": "id",
  5997. "description": "错误码id",
  5998. "required": true,
  5999. "type": "integer",
  6000. "format": "int64"
  6001. }
  6002. ],
  6003. "responses": {
  6004. "200": {
  6005. "description": "\"响应信息\"",
  6006. "schema": {
  6007. "$ref": "#/definitions/.ManagementDelErrorResp"
  6008. }
  6009. },
  6010. "500": {
  6011. "description": "服务器错误"
  6012. }
  6013. }
  6014. }
  6015. },
  6016. "/error_code/error_code_list": {
  6017. "get": {
  6018. "tags": [
  6019. "error_code"
  6020. ],
  6021. "description": "获取错误码列表",
  6022. "operationId": "ErrorController.get error code list",
  6023. "parameters": [
  6024. {
  6025. "in": "header",
  6026. "name": "token",
  6027. "description": "token",
  6028. "required": true,
  6029. "type": "string"
  6030. },
  6031. {
  6032. "in": "header",
  6033. "name": "uid",
  6034. "description": "管理员id",
  6035. "required": true,
  6036. "type": "string"
  6037. },
  6038. {
  6039. "in": "query",
  6040. "name": "page_number",
  6041. "description": "当前页",
  6042. "required": true,
  6043. "type": "integer",
  6044. "format": "int64"
  6045. },
  6046. {
  6047. "in": "query",
  6048. "name": "is_all",
  6049. "description": "是否全量返回",
  6050. "type": "boolean"
  6051. }
  6052. ],
  6053. "responses": {
  6054. "200": {
  6055. "description": "\"响应信息\"",
  6056. "schema": {
  6057. "$ref": "#/definitions/.ManagementGetErrorListResp"
  6058. }
  6059. },
  6060. "500": {
  6061. "description": "服务器错误"
  6062. }
  6063. }
  6064. }
  6065. },
  6066. "/h5/h5_api": {
  6067. "put": {
  6068. "tags": [
  6069. "h5"
  6070. ],
  6071. "description": "更新h5 api",
  6072. "operationId": "H5ApiController.update h5 api",
  6073. "parameters": [
  6074. {
  6075. "in": "header",
  6076. "name": "token",
  6077. "description": "token",
  6078. "required": true,
  6079. "type": "string"
  6080. },
  6081. {
  6082. "in": "header",
  6083. "name": "uid",
  6084. "description": "uid",
  6085. "required": true,
  6086. "type": "string"
  6087. },
  6088. {
  6089. "in": "query",
  6090. "name": "h5_api_id",
  6091. "description": "h5_api_id",
  6092. "required": true,
  6093. "type": "integer",
  6094. "format": "int64"
  6095. },
  6096. {
  6097. "in": "query",
  6098. "name": "h5_api_name",
  6099. "description": "h5_api_name",
  6100. "required": true,
  6101. "type": "string"
  6102. },
  6103. {
  6104. "in": "query",
  6105. "name": "h5_api_router",
  6106. "description": "h5_api_router",
  6107. "required": true,
  6108. "type": "string"
  6109. },
  6110. {
  6111. "in": "query",
  6112. "name": "h5_api_host",
  6113. "description": "h5_api_host",
  6114. "required": true,
  6115. "type": "string"
  6116. }
  6117. ],
  6118. "responses": {
  6119. "200": {
  6120. "description": "\"响应信息\"",
  6121. "schema": {
  6122. "$ref": "#/definitions/.ManagementUpdateH5ApiResp"
  6123. }
  6124. },
  6125. "500": {
  6126. "description": "服务器错误"
  6127. }
  6128. }
  6129. },
  6130. "post": {
  6131. "tags": [
  6132. "h5"
  6133. ],
  6134. "description": "添加 h5 api",
  6135. "operationId": "H5ApiController.add h5 api",
  6136. "parameters": [
  6137. {
  6138. "in": "header",
  6139. "name": "token",
  6140. "description": "token",
  6141. "required": true,
  6142. "type": "string"
  6143. },
  6144. {
  6145. "in": "header",
  6146. "name": "uid",
  6147. "description": "uid",
  6148. "required": true,
  6149. "type": "string"
  6150. },
  6151. {
  6152. "in": "query",
  6153. "name": "h5_api_name",
  6154. "description": "h5_api_name",
  6155. "required": true,
  6156. "type": "string"
  6157. },
  6158. {
  6159. "in": "query",
  6160. "name": "h5_api_router",
  6161. "description": "h5_api_router",
  6162. "required": true,
  6163. "type": "string"
  6164. },
  6165. {
  6166. "in": "query",
  6167. "name": "h5_api_host",
  6168. "description": "h5_api_host",
  6169. "required": true,
  6170. "type": "string"
  6171. }
  6172. ],
  6173. "responses": {
  6174. "200": {
  6175. "description": "\"响应信息\"",
  6176. "schema": {
  6177. "$ref": "#/definitions/.ManagementAddH5ApiResp"
  6178. }
  6179. },
  6180. "500": {
  6181. "description": "服务器错误"
  6182. }
  6183. }
  6184. },
  6185. "delete": {
  6186. "tags": [
  6187. "h5"
  6188. ],
  6189. "description": "删除h5 api",
  6190. "operationId": "H5ApiController.del h5 api",
  6191. "parameters": [
  6192. {
  6193. "in": "header",
  6194. "name": "token",
  6195. "description": "token",
  6196. "required": true,
  6197. "type": "string"
  6198. },
  6199. {
  6200. "in": "header",
  6201. "name": "uid",
  6202. "description": "uid",
  6203. "required": true,
  6204. "type": "string"
  6205. },
  6206. {
  6207. "in": "query",
  6208. "name": "h5_api_id",
  6209. "description": "h5_api_id",
  6210. "required": true,
  6211. "type": "integer",
  6212. "format": "int64"
  6213. }
  6214. ],
  6215. "responses": {
  6216. "200": {
  6217. "description": "\"响应信息\"",
  6218. "schema": {
  6219. "$ref": "#/definitions/.ManagementDelH5ApiResp"
  6220. }
  6221. },
  6222. "500": {
  6223. "description": "服务器错误"
  6224. }
  6225. }
  6226. }
  6227. },
  6228. "/h5/h5_api_base_api": {
  6229. "post": {
  6230. "tags": [
  6231. "h5"
  6232. ],
  6233. "description": "h5 api 添加基础api",
  6234. "operationId": "H5ApiController.h5 api add base api",
  6235. "parameters": [
  6236. {
  6237. "in": "header",
  6238. "name": "token",
  6239. "description": "token",
  6240. "required": true,
  6241. "type": "string"
  6242. },
  6243. {
  6244. "in": "header",
  6245. "name": "uid",
  6246. "description": "uid",
  6247. "required": true,
  6248. "type": "string"
  6249. },
  6250. {
  6251. "in": "body",
  6252. "name": "data",
  6253. "description": "data",
  6254. "required": true,
  6255. "schema": {
  6256. "$ref": "#/definitions/.H5ApiAddBaseApiData"
  6257. }
  6258. }
  6259. ],
  6260. "responses": {
  6261. "200": {
  6262. "description": "\"响应信息\"",
  6263. "schema": {
  6264. "$ref": "#/definitions/.ManagementH5ApiAddBaseApiResp"
  6265. }
  6266. },
  6267. "500": {
  6268. "description": "服务器错误"
  6269. }
  6270. }
  6271. }
  6272. },
  6273. "/h5/h5_api_base_api_list": {
  6274. "get": {
  6275. "tags": [
  6276. "h5"
  6277. ],
  6278. "description": "h5 api 获取基础api 列表",
  6279. "operationId": "H5ApiController.h5 api get base api",
  6280. "parameters": [
  6281. {
  6282. "in": "header",
  6283. "name": "token",
  6284. "description": "token",
  6285. "required": true,
  6286. "type": "string"
  6287. },
  6288. {
  6289. "in": "header",
  6290. "name": "uid",
  6291. "description": "uid",
  6292. "required": true,
  6293. "type": "string"
  6294. },
  6295. {
  6296. "in": "query",
  6297. "name": "h5_api_id",
  6298. "description": "h5 api id",
  6299. "required": true,
  6300. "type": "integer",
  6301. "format": "int64"
  6302. }
  6303. ],
  6304. "responses": {
  6305. "200": {
  6306. "description": "\"响应信息\"",
  6307. "schema": {
  6308. "$ref": "#/definitions/.ManagementH5ApiGetBaseApiListResp"
  6309. }
  6310. },
  6311. "500": {
  6312. "description": "服务器错误"
  6313. }
  6314. }
  6315. }
  6316. },
  6317. "/h5/h5_api_list": {
  6318. "get": {
  6319. "tags": [
  6320. "h5"
  6321. ],
  6322. "description": "获取h5 api列表",
  6323. "operationId": "H5ApiController.get h5 api list",
  6324. "parameters": [
  6325. {
  6326. "in": "header",
  6327. "name": "token",
  6328. "description": "token",
  6329. "required": true,
  6330. "type": "string"
  6331. },
  6332. {
  6333. "in": "header",
  6334. "name": "uid",
  6335. "description": "uid",
  6336. "required": true,
  6337. "type": "string"
  6338. },
  6339. {
  6340. "in": "query",
  6341. "name": "is_all",
  6342. "description": "is_all",
  6343. "required": true,
  6344. "type": "boolean"
  6345. },
  6346. {
  6347. "in": "query",
  6348. "name": "page_number",
  6349. "description": "page_number",
  6350. "required": true,
  6351. "type": "integer",
  6352. "format": "int64"
  6353. }
  6354. ],
  6355. "responses": {
  6356. "200": {
  6357. "description": "\"响应信息\"",
  6358. "schema": {
  6359. "$ref": "#/definitions/.ManagementGetH5ApiListResp"
  6360. }
  6361. },
  6362. "500": {
  6363. "description": "服务器错误"
  6364. }
  6365. }
  6366. }
  6367. },
  6368. "/h5/h5_api_state": {
  6369. "put": {
  6370. "tags": [
  6371. "h5"
  6372. ],
  6373. "description": "禁用启用h5 api",
  6374. "operationId": "H5ApiController.set h5 api state",
  6375. "parameters": [
  6376. {
  6377. "in": "header",
  6378. "name": "token",
  6379. "description": "token",
  6380. "required": true,
  6381. "type": "string"
  6382. },
  6383. {
  6384. "in": "header",
  6385. "name": "uid",
  6386. "description": "uid",
  6387. "required": true,
  6388. "type": "string"
  6389. },
  6390. {
  6391. "in": "query",
  6392. "name": "h5_api_id",
  6393. "description": "h5_api_id",
  6394. "required": true,
  6395. "type": "integer",
  6396. "format": "int64"
  6397. },
  6398. {
  6399. "in": "query",
  6400. "name": "is_enable",
  6401. "description": "is_enable",
  6402. "required": true,
  6403. "type": "boolean"
  6404. }
  6405. ],
  6406. "responses": {
  6407. "200": {
  6408. "description": "\"响应信息\"",
  6409. "schema": {
  6410. "$ref": "#/definitions/.ManagementSetH5ApiStateResp"
  6411. }
  6412. },
  6413. "500": {
  6414. "description": "服务器错误"
  6415. }
  6416. }
  6417. }
  6418. },
  6419. "/h5/h5_service": {
  6420. "put": {
  6421. "tags": [
  6422. "h5"
  6423. ],
  6424. "description": "更新 h5 服务",
  6425. "operationId": "H5ServiceController.update h5 service",
  6426. "parameters": [
  6427. {
  6428. "in": "header",
  6429. "name": "token",
  6430. "description": "token",
  6431. "required": true,
  6432. "type": "string"
  6433. },
  6434. {
  6435. "in": "header",
  6436. "name": "uid",
  6437. "description": "uid",
  6438. "required": true,
  6439. "type": "string"
  6440. },
  6441. {
  6442. "in": "query",
  6443. "name": "h5_service_id",
  6444. "description": "h5_service_id",
  6445. "required": true,
  6446. "type": "integer",
  6447. "format": "int64"
  6448. },
  6449. {
  6450. "in": "query",
  6451. "name": "service_name",
  6452. "description": "service_name",
  6453. "required": true,
  6454. "type": "string"
  6455. },
  6456. {
  6457. "in": "query",
  6458. "name": "version",
  6459. "description": "版本",
  6460. "type": "string"
  6461. },
  6462. {
  6463. "in": "query",
  6464. "name": "type",
  6465. "description": "类别",
  6466. "type": "string"
  6467. }
  6468. ],
  6469. "responses": {
  6470. "200": {
  6471. "description": "\"响应信息\"",
  6472. "schema": {
  6473. "$ref": "#/definitions/.ManagementUpdateH5ServiceResp"
  6474. }
  6475. },
  6476. "500": {
  6477. "description": "服务器错误"
  6478. }
  6479. }
  6480. },
  6481. "post": {
  6482. "tags": [
  6483. "h5"
  6484. ],
  6485. "description": "添加 h5 服务",
  6486. "operationId": "H5ServiceController.add h5 service",
  6487. "parameters": [
  6488. {
  6489. "in": "header",
  6490. "name": "token",
  6491. "description": "token",
  6492. "required": true,
  6493. "type": "string"
  6494. },
  6495. {
  6496. "in": "header",
  6497. "name": "uid",
  6498. "description": "uid",
  6499. "required": true,
  6500. "type": "string"
  6501. },
  6502. {
  6503. "in": "query",
  6504. "name": "service_name",
  6505. "description": "服务名称",
  6506. "required": true,
  6507. "type": "string"
  6508. },
  6509. {
  6510. "in": "query",
  6511. "name": "version",
  6512. "description": "版本",
  6513. "required": true,
  6514. "type": "string"
  6515. },
  6516. {
  6517. "in": "query",
  6518. "name": "type",
  6519. "description": "类别",
  6520. "required": true,
  6521. "type": "string"
  6522. }
  6523. ],
  6524. "responses": {
  6525. "200": {
  6526. "description": "\"响应信息\"",
  6527. "schema": {
  6528. "$ref": "#/definitions/.ManagementAddH5ServiceResp"
  6529. }
  6530. },
  6531. "500": {
  6532. "description": "服务器错误"
  6533. }
  6534. }
  6535. },
  6536. "delete": {
  6537. "tags": [
  6538. "h5"
  6539. ],
  6540. "description": "删除 h5 服务",
  6541. "operationId": "H5ServiceController.del h5 service",
  6542. "parameters": [
  6543. {
  6544. "in": "header",
  6545. "name": "token",
  6546. "description": "token",
  6547. "required": true,
  6548. "type": "string"
  6549. },
  6550. {
  6551. "in": "header",
  6552. "name": "uid",
  6553. "description": "uid",
  6554. "required": true,
  6555. "type": "string"
  6556. },
  6557. {
  6558. "in": "query",
  6559. "name": "h5_service_id",
  6560. "description": "h5_service_id",
  6561. "required": true,
  6562. "type": "integer",
  6563. "format": "int64"
  6564. }
  6565. ],
  6566. "responses": {
  6567. "200": {
  6568. "description": "\"响应信息\"",
  6569. "schema": {
  6570. "$ref": "#/definitions/.ManagementDelH5ServiceResp"
  6571. }
  6572. },
  6573. "500": {
  6574. "description": "服务器错误"
  6575. }
  6576. }
  6577. }
  6578. },
  6579. "/h5/h5_service_combo": {
  6580. "put": {
  6581. "tags": [
  6582. "h5"
  6583. ],
  6584. "description": "h5 服务更新套餐",
  6585. "operationId": "H5ServiceController.h5 service update combo",
  6586. "parameters": [
  6587. {
  6588. "in": "header",
  6589. "name": "token",
  6590. "description": "token",
  6591. "required": true,
  6592. "type": "string"
  6593. },
  6594. {
  6595. "in": "header",
  6596. "name": "uid",
  6597. "description": "uid",
  6598. "required": true,
  6599. "type": "string"
  6600. },
  6601. {
  6602. "in": "query",
  6603. "name": "h5_combo_id",
  6604. "description": "h5_combo_id",
  6605. "required": true,
  6606. "type": "integer",
  6607. "format": "int64"
  6608. },
  6609. {
  6610. "in": "query",
  6611. "name": "h5_combo_count",
  6612. "description": "h5_combo_count query",
  6613. "required": true,
  6614. "type": "integer",
  6615. "format": "int64"
  6616. },
  6617. {
  6618. "in": "query",
  6619. "name": "h5_combo_total_day",
  6620. "description": "h5_combo_total_day",
  6621. "required": true,
  6622. "type": "integer",
  6623. "format": "int64"
  6624. },
  6625. {
  6626. "in": "query",
  6627. "name": "h5_combo_price",
  6628. "description": "h5_combo_price",
  6629. "required": true,
  6630. "type": "number",
  6631. "format": "double"
  6632. }
  6633. ],
  6634. "responses": {
  6635. "200": {
  6636. "description": "\"响应信息\"",
  6637. "schema": {
  6638. "$ref": "#/definitions/.ManagementH5ServiceUpdateComboResp"
  6639. }
  6640. },
  6641. "500": {
  6642. "description": "服务器错误"
  6643. }
  6644. }
  6645. },
  6646. "post": {
  6647. "tags": [
  6648. "h5"
  6649. ],
  6650. "description": "h5 服务添加套餐",
  6651. "operationId": "H5ServiceController.h5 service add combo",
  6652. "parameters": [
  6653. {
  6654. "in": "header",
  6655. "name": "token",
  6656. "description": "token",
  6657. "required": true,
  6658. "type": "string"
  6659. },
  6660. {
  6661. "in": "header",
  6662. "name": "uid",
  6663. "description": "uid",
  6664. "required": true,
  6665. "type": "string"
  6666. },
  6667. {
  6668. "in": "body",
  6669. "name": "h5_combo_data",
  6670. "description": "h5_combo_data",
  6671. "required": true,
  6672. "schema": {
  6673. "$ref": "#/definitions/.ManagementH5ServiceAddComboReq"
  6674. }
  6675. }
  6676. ],
  6677. "responses": {
  6678. "200": {
  6679. "description": "\"响应信息\"",
  6680. "schema": {
  6681. "$ref": "#/definitions/.ManagementH5ServiceAddComboResp"
  6682. }
  6683. },
  6684. "500": {
  6685. "description": "服务器错误"
  6686. }
  6687. }
  6688. },
  6689. "delete": {
  6690. "tags": [
  6691. "h5"
  6692. ],
  6693. "description": "h5 服务删除套餐",
  6694. "operationId": "H5ServiceController.h5 service del combo",
  6695. "parameters": [
  6696. {
  6697. "in": "header",
  6698. "name": "token",
  6699. "description": "token",
  6700. "required": true,
  6701. "type": "string"
  6702. },
  6703. {
  6704. "in": "header",
  6705. "name": "uid",
  6706. "description": "uid",
  6707. "required": true,
  6708. "type": "string"
  6709. },
  6710. {
  6711. "in": "query",
  6712. "name": "h5_combo_id",
  6713. "description": "h5_combo_id",
  6714. "required": true,
  6715. "type": "integer",
  6716. "format": "int64"
  6717. }
  6718. ],
  6719. "responses": {
  6720. "200": {
  6721. "description": "\"响应信息\"",
  6722. "schema": {
  6723. "$ref": "#/definitions/.ManagementH5ServiceDelComboResp"
  6724. }
  6725. },
  6726. "500": {
  6727. "description": "服务器错误"
  6728. }
  6729. }
  6730. }
  6731. },
  6732. "/h5/h5_service_combo_list": {
  6733. "get": {
  6734. "tags": [
  6735. "h5"
  6736. ],
  6737. "description": "h5 服务获取套餐列表",
  6738. "operationId": "H5ServiceController.h5 service get combo list",
  6739. "parameters": [
  6740. {
  6741. "in": "header",
  6742. "name": "token",
  6743. "description": "token",
  6744. "required": true,
  6745. "type": "string"
  6746. },
  6747. {
  6748. "in": "header",
  6749. "name": "uid",
  6750. "description": "uid",
  6751. "required": true,
  6752. "type": "string"
  6753. },
  6754. {
  6755. "in": "query",
  6756. "name": "h5_service_id",
  6757. "description": "h5_service_id",
  6758. "required": true,
  6759. "type": "integer",
  6760. "format": "int64"
  6761. }
  6762. ],
  6763. "responses": {
  6764. "200": {
  6765. "description": "\"响应信息\"",
  6766. "schema": {
  6767. "$ref": "#/definitions/.ManagementH5ServiceGetComboListResp"
  6768. }
  6769. },
  6770. "500": {
  6771. "description": "服务器错误"
  6772. }
  6773. }
  6774. }
  6775. },
  6776. "/h5/h5_service_h5_api": {
  6777. "post": {
  6778. "tags": [
  6779. "h5"
  6780. ],
  6781. "description": "h5 服务添加h5 api",
  6782. "operationId": "H5ServiceController.h5 service add h5 api",
  6783. "parameters": [
  6784. {
  6785. "in": "header",
  6786. "name": "token",
  6787. "description": "token",
  6788. "required": true,
  6789. "type": "string"
  6790. },
  6791. {
  6792. "in": "header",
  6793. "name": "uid",
  6794. "description": "uid",
  6795. "required": true,
  6796. "type": "string"
  6797. },
  6798. {
  6799. "in": "body",
  6800. "name": "data",
  6801. "description": "data",
  6802. "required": true,
  6803. "schema": {
  6804. "$ref": "#/definitions/.H5ServiceAddH5ApiData"
  6805. }
  6806. }
  6807. ],
  6808. "responses": {
  6809. "200": {
  6810. "description": "\"响应信息\"",
  6811. "schema": {
  6812. "$ref": "#/definitions/.ManagementH5ServiceAddH5ApiResp"
  6813. }
  6814. },
  6815. "500": {
  6816. "description": "服务器错误"
  6817. }
  6818. }
  6819. }
  6820. },
  6821. "/h5/h5_service_h5_api_list": {
  6822. "get": {
  6823. "tags": [
  6824. "h5"
  6825. ],
  6826. "description": "获取h5 服务中的h5 api 列表",
  6827. "operationId": "H5ServiceController.h5 service get h5 api list",
  6828. "parameters": [
  6829. {
  6830. "in": "header",
  6831. "name": "token",
  6832. "description": "token",
  6833. "required": true,
  6834. "type": "string"
  6835. },
  6836. {
  6837. "in": "header",
  6838. "name": "uid",
  6839. "description": "uid",
  6840. "required": true,
  6841. "type": "string"
  6842. },
  6843. {
  6844. "in": "query",
  6845. "name": "h5_service_id",
  6846. "description": "h5_service_id",
  6847. "required": true,
  6848. "type": "integer",
  6849. "format": "int64"
  6850. }
  6851. ],
  6852. "responses": {
  6853. "200": {
  6854. "description": "\"响应信息\"",
  6855. "schema": {
  6856. "$ref": "#/definitions/.ManagementH5ServiceGetH5ApiListResp"
  6857. }
  6858. },
  6859. "500": {
  6860. "description": "服务器错误"
  6861. }
  6862. }
  6863. }
  6864. },
  6865. "/h5/h5_service_list": {
  6866. "get": {
  6867. "tags": [
  6868. "h5"
  6869. ],
  6870. "description": "获取 h5 服务列表",
  6871. "operationId": "H5ServiceController.get h5 service list",
  6872. "parameters": [
  6873. {
  6874. "in": "header",
  6875. "name": "token",
  6876. "description": "token",
  6877. "required": true,
  6878. "type": "string"
  6879. },
  6880. {
  6881. "in": "header",
  6882. "name": "uid",
  6883. "description": "uid",
  6884. "required": true,
  6885. "type": "string"
  6886. },
  6887. {
  6888. "in": "query",
  6889. "name": "page_number",
  6890. "description": "page_number",
  6891. "required": true,
  6892. "type": "integer",
  6893. "format": "int64"
  6894. },
  6895. {
  6896. "in": "query",
  6897. "name": "is_all",
  6898. "description": "is_all",
  6899. "required": true,
  6900. "type": "boolean"
  6901. }
  6902. ],
  6903. "responses": {
  6904. "200": {
  6905. "description": "\"响应信息\"",
  6906. "schema": {
  6907. "$ref": "#/definitions/.ManagementGetH5ServiceListResp"
  6908. }
  6909. },
  6910. "500": {
  6911. "description": "服务器错误"
  6912. }
  6913. }
  6914. }
  6915. },
  6916. "/h5/h5_service_release": {
  6917. "put": {
  6918. "tags": [
  6919. "h5"
  6920. ],
  6921. "description": "发布 h5 服务",
  6922. "operationId": "H5ServiceController.release h5 service",
  6923. "parameters": [
  6924. {
  6925. "in": "header",
  6926. "name": "token",
  6927. "description": "token",
  6928. "required": true,
  6929. "type": "string"
  6930. },
  6931. {
  6932. "in": "header",
  6933. "name": "uid",
  6934. "description": "uid",
  6935. "required": true,
  6936. "type": "string"
  6937. },
  6938. {
  6939. "in": "query",
  6940. "name": "h5_service_id",
  6941. "description": "h5_service_id",
  6942. "required": true,
  6943. "type": "integer",
  6944. "format": "int64"
  6945. }
  6946. ],
  6947. "responses": {
  6948. "200": {
  6949. "description": "\"响应信息\"",
  6950. "schema": {
  6951. "$ref": "#/definitions/.ManagementReleaseH5ServiceResp"
  6952. }
  6953. },
  6954. "500": {
  6955. "description": "服务器错误"
  6956. }
  6957. }
  6958. }
  6959. },
  6960. "/h5/h5_service_set_combo_free": {
  6961. "put": {
  6962. "tags": [
  6963. "h5"
  6964. ],
  6965. "description": "h5 服务设置免费套餐",
  6966. "operationId": "H5ServiceController.h5 service set free combo",
  6967. "parameters": [
  6968. {
  6969. "in": "header",
  6970. "name": "token",
  6971. "description": "token",
  6972. "required": true,
  6973. "type": "string"
  6974. },
  6975. {
  6976. "in": "header",
  6977. "name": "uid",
  6978. "description": "uid",
  6979. "required": true,
  6980. "type": "string"
  6981. },
  6982. {
  6983. "in": "query",
  6984. "name": "h5_service_id",
  6985. "description": "h5_service_id",
  6986. "required": true,
  6987. "type": "integer",
  6988. "format": "int64"
  6989. },
  6990. {
  6991. "in": "query",
  6992. "name": "h5_service_is_free",
  6993. "description": "true",
  6994. "type": "boolean"
  6995. },
  6996. {
  6997. "in": "query",
  6998. "name": "count",
  6999. "description": "count",
  7000. "required": true,
  7001. "type": "integer",
  7002. "format": "int64"
  7003. }
  7004. ],
  7005. "responses": {
  7006. "200": {
  7007. "description": "\"响应信息\"",
  7008. "schema": {
  7009. "$ref": "#/definitions/.ManagementH5ServiceSetComboFreeResp"
  7010. }
  7011. },
  7012. "500": {
  7013. "description": "服务器错误"
  7014. }
  7015. }
  7016. }
  7017. },
  7018. "/h5/theme_color": {
  7019. "get": {
  7020. "tags": [
  7021. "h5"
  7022. ],
  7023. "description": "h5 获取主题颜色列表",
  7024. "operationId": "H5ServiceController.h5 get theme color list",
  7025. "parameters": [
  7026. {
  7027. "in": "header",
  7028. "name": "token",
  7029. "description": "token",
  7030. "required": true,
  7031. "type": "string"
  7032. },
  7033. {
  7034. "in": "header",
  7035. "name": "uid",
  7036. "description": "uid",
  7037. "required": true,
  7038. "type": "string"
  7039. }
  7040. ],
  7041. "responses": {
  7042. "200": {
  7043. "description": "\"响应信息\"",
  7044. "schema": {
  7045. "$ref": "#/definitions/.ManagementGetH5ThemeColorListResp"
  7046. }
  7047. },
  7048. "500": {
  7049. "description": "服务器错误"
  7050. }
  7051. }
  7052. },
  7053. "put": {
  7054. "tags": [
  7055. "h5"
  7056. ],
  7057. "description": "h5 更新主题颜色",
  7058. "operationId": "H5ServiceController.h5 update theme color",
  7059. "parameters": [
  7060. {
  7061. "in": "header",
  7062. "name": "token",
  7063. "description": "token",
  7064. "required": true,
  7065. "type": "string"
  7066. },
  7067. {
  7068. "in": "header",
  7069. "name": "uid",
  7070. "description": "uid",
  7071. "required": true,
  7072. "type": "string"
  7073. },
  7074. {
  7075. "in": "query",
  7076. "name": "theme_color_id",
  7077. "description": "theme_color_id",
  7078. "required": true,
  7079. "type": "integer",
  7080. "format": "int64"
  7081. },
  7082. {
  7083. "in": "query",
  7084. "name": "theme_color",
  7085. "description": "theme_color",
  7086. "required": true,
  7087. "type": "string"
  7088. }
  7089. ],
  7090. "responses": {
  7091. "200": {
  7092. "description": "\"响应信息\"",
  7093. "schema": {
  7094. "$ref": "#/definitions/.ManagementUpdateH5ThemeColorResp"
  7095. }
  7096. },
  7097. "500": {
  7098. "description": "服务器错误"
  7099. }
  7100. }
  7101. },
  7102. "post": {
  7103. "tags": [
  7104. "h5"
  7105. ],
  7106. "description": "h5 添加主题颜色",
  7107. "operationId": "H5ServiceController.h5 add theme color",
  7108. "parameters": [
  7109. {
  7110. "in": "header",
  7111. "name": "token",
  7112. "description": "token",
  7113. "required": true,
  7114. "type": "string"
  7115. },
  7116. {
  7117. "in": "header",
  7118. "name": "uid",
  7119. "description": "uid",
  7120. "required": true,
  7121. "type": "string"
  7122. },
  7123. {
  7124. "in": "query",
  7125. "name": "theme_color",
  7126. "description": "theme_color",
  7127. "required": true,
  7128. "type": "string"
  7129. }
  7130. ],
  7131. "responses": {
  7132. "200": {
  7133. "description": "\"响应信息\"",
  7134. "schema": {
  7135. "$ref": "#/definitions/.ManagementAddH5ThemeColorResp"
  7136. }
  7137. },
  7138. "500": {
  7139. "description": "服务器错误"
  7140. }
  7141. }
  7142. },
  7143. "delete": {
  7144. "tags": [
  7145. "h5"
  7146. ],
  7147. "description": "h5 删除主题颜色",
  7148. "operationId": "H5ServiceController.h5 del theme color",
  7149. "parameters": [
  7150. {
  7151. "in": "header",
  7152. "name": "token",
  7153. "description": "token",
  7154. "required": true,
  7155. "type": "string"
  7156. },
  7157. {
  7158. "in": "header",
  7159. "name": "uid",
  7160. "description": "uid",
  7161. "required": true,
  7162. "type": "string"
  7163. },
  7164. {
  7165. "in": "query",
  7166. "name": "theme_color_id",
  7167. "description": "theme_color_id",
  7168. "required": true,
  7169. "type": "integer",
  7170. "format": "int64"
  7171. }
  7172. ],
  7173. "responses": {
  7174. "200": {
  7175. "description": "\"响应信息\"",
  7176. "schema": {
  7177. "$ref": "#/definitions/.ManagementDelH5ThemeColorResp"
  7178. }
  7179. },
  7180. "500": {
  7181. "description": "服务器错误"
  7182. }
  7183. }
  7184. }
  7185. },
  7186. "/merchant_api/alias": {
  7187. "put": {
  7188. "tags": [
  7189. "merchant_api"
  7190. ],
  7191. "description": "修改商户数据api别名",
  7192. "operationId": "MerchantApiController.修改商户数据api别名",
  7193. "parameters": [
  7194. {
  7195. "in": "header",
  7196. "name": "token",
  7197. "description": "token",
  7198. "required": true,
  7199. "type": "string"
  7200. },
  7201. {
  7202. "in": "header",
  7203. "name": "uid",
  7204. "description": "管理员id",
  7205. "required": true,
  7206. "type": "string"
  7207. },
  7208. {
  7209. "in": "body",
  7210. "name": "body",
  7211. "description": "true",
  7212. "schema": {
  7213. "$ref": "#/definitions/.UpdateMerchantDataApiAliasBody"
  7214. }
  7215. }
  7216. ],
  7217. "responses": {
  7218. "200": {
  7219. "description": "\"响应信息\"",
  7220. "schema": {
  7221. "$ref": "#/definitions/.UpdateManagementSetMerchantDataApiResp"
  7222. }
  7223. },
  7224. "500": {
  7225. "description": "服务器错误"
  7226. }
  7227. }
  7228. }
  7229. },
  7230. "/merchant_api/data_api/{merchant_data_api_id}": {
  7231. "delete": {
  7232. "tags": [
  7233. "merchant_api"
  7234. ],
  7235. "description": "删除商户数据api",
  7236. "operationId": "MerchantApiController.del merchant data api",
  7237. "parameters": [
  7238. {
  7239. "in": "header",
  7240. "name": "token",
  7241. "description": "token",
  7242. "required": true,
  7243. "type": "string"
  7244. },
  7245. {
  7246. "in": "header",
  7247. "name": "uid",
  7248. "description": "管理员id",
  7249. "required": true,
  7250. "type": "string"
  7251. },
  7252. {
  7253. "in": "path",
  7254. "name": "merchant_data_api_id",
  7255. "description": "商户数据api id",
  7256. "required": true,
  7257. "type": "integer",
  7258. "format": "int64"
  7259. }
  7260. ],
  7261. "responses": {
  7262. "200": {
  7263. "description": "\"响应信息\"",
  7264. "schema": {
  7265. "$ref": "#/definitions/.ManagementDelMerchantDataApiResp"
  7266. }
  7267. },
  7268. "500": {
  7269. "description": "服务器错误"
  7270. }
  7271. }
  7272. }
  7273. },
  7274. "/merchant_api/day_count_limit/{merchant_id}": {
  7275. "put": {
  7276. "tags": [
  7277. "merchant_api"
  7278. ],
  7279. "description": "设置总次数套餐每天调用上限",
  7280. "operationId": "MerchantApiController.set user merchant day count limit",
  7281. "parameters": [
  7282. {
  7283. "in": "header",
  7284. "name": "token",
  7285. "description": "token",
  7286. "required": true,
  7287. "type": "string"
  7288. },
  7289. {
  7290. "in": "header",
  7291. "name": "uid",
  7292. "description": "管理员id",
  7293. "required": true,
  7294. "type": "string"
  7295. },
  7296. {
  7297. "in": "path",
  7298. "name": "merchant_id",
  7299. "description": "商户id",
  7300. "required": true,
  7301. "type": "integer",
  7302. "format": "int64"
  7303. },
  7304. {
  7305. "in": "body",
  7306. "name": "body",
  7307. "description": "true",
  7308. "schema": {
  7309. "$ref": "#/definitions/.ManagementSetDayCountLimitBody"
  7310. }
  7311. }
  7312. ],
  7313. "responses": {
  7314. "200": {
  7315. "description": "\"响应信息\"",
  7316. "schema": {
  7317. "$ref": "#/definitions/.ManagementSetDayCountLimitResp"
  7318. }
  7319. },
  7320. "500": {
  7321. "description": "服务器错误"
  7322. }
  7323. }
  7324. }
  7325. },
  7326. "/merchant_api/merchant_api_file": {
  7327. "get": {
  7328. "tags": [
  7329. "merchant_api"
  7330. ],
  7331. "description": "商户添加基础api",
  7332. "operationId": "MerchantApiController.export merchant base api file",
  7333. "parameters": [
  7334. {
  7335. "in": "header",
  7336. "name": "token",
  7337. "description": "token",
  7338. "required": true,
  7339. "type": "string"
  7340. },
  7341. {
  7342. "in": "header",
  7343. "name": "uid",
  7344. "description": "管理员id",
  7345. "required": true,
  7346. "type": "string"
  7347. },
  7348. {
  7349. "in": "query",
  7350. "name": "merchant_data_api_id",
  7351. "description": "true",
  7352. "type": "integer",
  7353. "format": "int64"
  7354. },
  7355. {
  7356. "in": "query",
  7357. "name": "file_type",
  7358. "description": "false",
  7359. "type": "integer",
  7360. "format": "int64"
  7361. }
  7362. ],
  7363. "responses": {
  7364. "200": {
  7365. "description": "\"响应信息\"",
  7366. "schema": {
  7367. "$ref": "#/definitions/.ManagementExportMerchantBaseApiFileResp"
  7368. }
  7369. },
  7370. "500": {
  7371. "description": "服务器错误"
  7372. }
  7373. }
  7374. }
  7375. },
  7376. "/merchant_api/merchant_base_api": {
  7377. "post": {
  7378. "tags": [
  7379. "merchant_api"
  7380. ],
  7381. "description": "商户添加基础api",
  7382. "operationId": "MerchantApiController.add merchant base api",
  7383. "parameters": [
  7384. {
  7385. "in": "header",
  7386. "name": "token",
  7387. "description": "token",
  7388. "required": true,
  7389. "type": "string"
  7390. },
  7391. {
  7392. "in": "header",
  7393. "name": "uid",
  7394. "description": "管理员id",
  7395. "required": true,
  7396. "type": "string"
  7397. },
  7398. {
  7399. "in": "body",
  7400. "name": "data",
  7401. "description": "true",
  7402. "schema": {
  7403. "$ref": "#/definitions/.MerchantAddBaseApiReq"
  7404. }
  7405. }
  7406. ],
  7407. "responses": {
  7408. "200": {
  7409. "description": "\"响应信息\"",
  7410. "schema": {
  7411. "$ref": "#/definitions/.ManagementAddMerchantBaseApiResp"
  7412. }
  7413. },
  7414. "500": {
  7415. "description": "服务器错误"
  7416. }
  7417. }
  7418. }
  7419. },
  7420. "/merchant_api/merchant_base_api/{merchant_id}": {
  7421. "put": {
  7422. "tags": [
  7423. "merchant_api"
  7424. ],
  7425. "description": "商户修改基础api",
  7426. "operationId": "MerchantApiController.update merchant base api",
  7427. "parameters": [
  7428. {
  7429. "in": "header",
  7430. "name": "token",
  7431. "description": "token",
  7432. "required": true,
  7433. "type": "string"
  7434. },
  7435. {
  7436. "in": "header",
  7437. "name": "uid",
  7438. "description": "管理员id",
  7439. "required": true,
  7440. "type": "string"
  7441. },
  7442. {
  7443. "in": "path",
  7444. "name": "merchant_id",
  7445. "description": "商户id",
  7446. "required": true,
  7447. "type": "integer",
  7448. "format": "int64"
  7449. },
  7450. {
  7451. "in": "body",
  7452. "name": "update_info",
  7453. "description": "更新信息",
  7454. "required": true,
  7455. "schema": {
  7456. "$ref": "#/definitions/.ManagementUpdateMerchantBaseApiReq"
  7457. }
  7458. }
  7459. ],
  7460. "responses": {
  7461. "200": {
  7462. "description": "\"响应信息\"",
  7463. "schema": {
  7464. "$ref": "#/definitions/.ManagementUpdateMerchantBaseApiResp"
  7465. }
  7466. },
  7467. "500": {
  7468. "description": "服务器错误"
  7469. }
  7470. }
  7471. }
  7472. },
  7473. "/merchant_api/merchant_base_api_info": {
  7474. "get": {
  7475. "tags": [
  7476. "merchant_api"
  7477. ],
  7478. "description": "获取商户基础api信息",
  7479. "operationId": "MerchantApiController.get merchant base api info",
  7480. "parameters": [
  7481. {
  7482. "in": "header",
  7483. "name": "token",
  7484. "description": "token",
  7485. "required": true,
  7486. "type": "string"
  7487. },
  7488. {
  7489. "in": "header",
  7490. "name": "uid",
  7491. "description": "管理员id",
  7492. "required": true,
  7493. "type": "string"
  7494. },
  7495. {
  7496. "in": "query",
  7497. "name": "merchant_child_api_id",
  7498. "description": "商户基础api id",
  7499. "required": true,
  7500. "type": "integer",
  7501. "format": "int64"
  7502. }
  7503. ],
  7504. "responses": {
  7505. "200": {
  7506. "description": "\"响应信息\"",
  7507. "schema": {
  7508. "$ref": "#/definitions/.ManagementGetMerchantBaseApiInfoResp"
  7509. }
  7510. },
  7511. "500": {
  7512. "description": "服务器错误"
  7513. }
  7514. }
  7515. }
  7516. },
  7517. "/merchant_api/merchant_base_api_list": {
  7518. "get": {
  7519. "tags": [
  7520. "merchant_api"
  7521. ],
  7522. "description": "获取商户基础api列表",
  7523. "operationId": "MerchantApiController.get merchant base api list",
  7524. "parameters": [
  7525. {
  7526. "in": "header",
  7527. "name": "token",
  7528. "description": "token",
  7529. "required": true,
  7530. "type": "string"
  7531. },
  7532. {
  7533. "in": "header",
  7534. "name": "uid",
  7535. "description": "管理员id",
  7536. "required": true,
  7537. "type": "string"
  7538. },
  7539. {
  7540. "in": "query",
  7541. "name": "merchant_data_api_id",
  7542. "description": "商户id",
  7543. "required": true,
  7544. "type": "integer",
  7545. "format": "int64"
  7546. }
  7547. ],
  7548. "responses": {
  7549. "200": {
  7550. "description": "\"响应信息\"",
  7551. "schema": {
  7552. "$ref": "#/definitions/.ManagementGetMerchantBaseApiListResp"
  7553. }
  7554. },
  7555. "500": {
  7556. "description": "服务器错误"
  7557. }
  7558. }
  7559. }
  7560. },
  7561. "/merchant_api/merchant_base_api_list_all": {
  7562. "get": {
  7563. "tags": [
  7564. "merchant_api"
  7565. ],
  7566. "description": "获取商户所有基础api列表",
  7567. "operationId": "MerchantApiController.get merchant base api list all",
  7568. "parameters": [
  7569. {
  7570. "in": "header",
  7571. "name": "token",
  7572. "description": "token",
  7573. "required": true,
  7574. "type": "string"
  7575. },
  7576. {
  7577. "in": "header",
  7578. "name": "uid",
  7579. "description": "管理员id",
  7580. "required": true,
  7581. "type": "string"
  7582. },
  7583. {
  7584. "in": "query",
  7585. "name": "merchant_id",
  7586. "description": "商户id",
  7587. "required": true,
  7588. "type": "integer",
  7589. "format": "int64"
  7590. },
  7591. {
  7592. "in": "query",
  7593. "name": "only_base_api",
  7594. "description": "是否只返基础api",
  7595. "type": "boolean"
  7596. }
  7597. ],
  7598. "responses": {
  7599. "200": {
  7600. "description": "\"响应信息\"",
  7601. "schema": {
  7602. "$ref": "#/definitions/.ManagementGetMerchantBaseApiListAllResp"
  7603. }
  7604. },
  7605. "500": {
  7606. "description": "服务器错误"
  7607. }
  7608. }
  7609. }
  7610. },
  7611. "/merchant_api/merchant_data_api": {
  7612. "post": {
  7613. "tags": [
  7614. "merchant_api"
  7615. ],
  7616. "description": "后台管理对商户添加数据api",
  7617. "operationId": "MerchantApiController.add merchant data api",
  7618. "parameters": [
  7619. {
  7620. "in": "header",
  7621. "name": "token",
  7622. "description": "token",
  7623. "required": true,
  7624. "type": "string"
  7625. },
  7626. {
  7627. "in": "header",
  7628. "name": "uid",
  7629. "description": "管理员id",
  7630. "required": true,
  7631. "type": "string"
  7632. },
  7633. {
  7634. "in": "body",
  7635. "name": "body",
  7636. "description": "true",
  7637. "schema": {
  7638. "$ref": "#/definitions/.ManagementAddMerchantDataApiBody"
  7639. }
  7640. }
  7641. ],
  7642. "responses": {
  7643. "200": {
  7644. "description": "\"响应信息\"",
  7645. "schema": {
  7646. "$ref": "#/definitions/.ManagementAddMerchantDataApiResp"
  7647. }
  7648. },
  7649. "500": {
  7650. "description": "服务器错误"
  7651. }
  7652. }
  7653. }
  7654. },
  7655. "/merchant_api/merchant_data_api_list": {
  7656. "get": {
  7657. "tags": [
  7658. "merchant_api"
  7659. ],
  7660. "description": "获取商户用户数据api列表",
  7661. "operationId": "MerchantApiController.get merchant data api",
  7662. "parameters": [
  7663. {
  7664. "in": "header",
  7665. "name": "token",
  7666. "description": "token",
  7667. "required": true,
  7668. "type": "string"
  7669. },
  7670. {
  7671. "in": "header",
  7672. "name": "uid",
  7673. "description": "管理员id",
  7674. "required": true,
  7675. "type": "string"
  7676. },
  7677. {
  7678. "in": "query",
  7679. "name": "merchant_id",
  7680. "description": "商户id",
  7681. "required": true,
  7682. "type": "integer",
  7683. "format": "int64"
  7684. },
  7685. {
  7686. "in": "query",
  7687. "name": "page_number",
  7688. "description": "当前页",
  7689. "required": true,
  7690. "type": "integer",
  7691. "format": "int64"
  7692. },
  7693. {
  7694. "in": "query",
  7695. "name": "is_all",
  7696. "description": "是否返回merchant_data_api_quota所有数据",
  7697. "required": true,
  7698. "type": "boolean"
  7699. }
  7700. ],
  7701. "responses": {
  7702. "200": {
  7703. "description": "\"响应信息\"",
  7704. "schema": {
  7705. "$ref": "#/definitions/.ManagementGetMerchantDataApiListResp"
  7706. }
  7707. },
  7708. "500": {
  7709. "description": "服务器错误"
  7710. }
  7711. }
  7712. }
  7713. },
  7714. "/merchant_api/merchant_data_api_list_by_day": {
  7715. "get": {
  7716. "tags": [
  7717. "merchant_api"
  7718. ],
  7719. "description": "获取商户用户数据api列表",
  7720. "operationId": "MerchantApiController.get merchant data api",
  7721. "parameters": [
  7722. {
  7723. "in": "header",
  7724. "name": "token",
  7725. "description": "token",
  7726. "required": true,
  7727. "type": "string"
  7728. },
  7729. {
  7730. "in": "header",
  7731. "name": "uid",
  7732. "description": "管理员id",
  7733. "required": true,
  7734. "type": "string"
  7735. },
  7736. {
  7737. "in": "query",
  7738. "name": "merchant_id",
  7739. "description": "商户id",
  7740. "required": true,
  7741. "type": "integer",
  7742. "format": "int64"
  7743. },
  7744. {
  7745. "in": "query",
  7746. "name": "page_number",
  7747. "description": "当前页",
  7748. "required": true,
  7749. "type": "integer",
  7750. "format": "int64"
  7751. },
  7752. {
  7753. "in": "query",
  7754. "name": "page_size",
  7755. "description": "当前页",
  7756. "type": "integer",
  7757. "format": "int64"
  7758. },
  7759. {
  7760. "in": "query",
  7761. "name": "is_all",
  7762. "description": "是否返回所有数据",
  7763. "required": true,
  7764. "type": "boolean"
  7765. },
  7766. {
  7767. "in": "query",
  7768. "name": "data_api_name",
  7769. "description": "false",
  7770. "type": "string"
  7771. }
  7772. ],
  7773. "responses": {
  7774. "200": {
  7775. "description": "\"响应信息\"",
  7776. "schema": {
  7777. "$ref": "#/definitions/.ManagementGetMerchantDataApiListByDayResp"
  7778. }
  7779. },
  7780. "500": {
  7781. "description": "服务器错误"
  7782. }
  7783. }
  7784. }
  7785. },
  7786. "/merchant_api/merchant_data_api_list_by_total": {
  7787. "get": {
  7788. "tags": [
  7789. "merchant_api"
  7790. ],
  7791. "description": "获取商户用户数据api总天数列表",
  7792. "operationId": "MerchantApiController.get merchant data api by total",
  7793. "parameters": [
  7794. {
  7795. "in": "header",
  7796. "name": "token",
  7797. "description": "token",
  7798. "required": true,
  7799. "type": "string"
  7800. },
  7801. {
  7802. "in": "header",
  7803. "name": "uid",
  7804. "description": "管理员id",
  7805. "required": true,
  7806. "type": "string"
  7807. },
  7808. {
  7809. "in": "query",
  7810. "name": "merchant_id",
  7811. "description": "商户id",
  7812. "required": true,
  7813. "type": "integer",
  7814. "format": "int64"
  7815. },
  7816. {
  7817. "in": "query",
  7818. "name": "page_number",
  7819. "description": "当前页",
  7820. "required": true,
  7821. "type": "integer",
  7822. "format": "int64"
  7823. },
  7824. {
  7825. "in": "query",
  7826. "name": "page_size",
  7827. "description": "当前页",
  7828. "type": "integer",
  7829. "format": "int64"
  7830. },
  7831. {
  7832. "in": "query",
  7833. "name": "is_all",
  7834. "description": "是否返回所有数据",
  7835. "required": true,
  7836. "type": "boolean"
  7837. },
  7838. {
  7839. "in": "query",
  7840. "name": "data_api_name",
  7841. "description": "false",
  7842. "type": "string"
  7843. }
  7844. ],
  7845. "responses": {
  7846. "200": {
  7847. "description": "\"响应信息\"",
  7848. "schema": {
  7849. "$ref": "#/definitions/.ManagementGetMerchantDataApiListByTotalResp"
  7850. }
  7851. },
  7852. "500": {
  7853. "description": "服务器错误"
  7854. }
  7855. }
  7856. }
  7857. },
  7858. "/merchant_api/merchant_data_api_quota": {
  7859. "get": {
  7860. "tags": [
  7861. "merchant_api"
  7862. ],
  7863. "description": "获取商户数据api配额",
  7864. "operationId": "MerchantApiController.get merchant data api quota",
  7865. "parameters": [
  7866. {
  7867. "in": "header",
  7868. "name": "token",
  7869. "description": "token",
  7870. "required": true,
  7871. "type": "string"
  7872. },
  7873. {
  7874. "in": "header",
  7875. "name": "uid",
  7876. "description": "管理员id",
  7877. "required": true,
  7878. "type": "string"
  7879. },
  7880. {
  7881. "in": "query",
  7882. "name": "merchant_data_api_id",
  7883. "description": "商户id",
  7884. "required": true,
  7885. "type": "integer",
  7886. "format": "int64"
  7887. }
  7888. ],
  7889. "responses": {
  7890. "200": {
  7891. "description": "\"响应信息\"",
  7892. "schema": {
  7893. "$ref": "#/definitions/.ManagementGetMerchantDataApiQuotaResp"
  7894. }
  7895. },
  7896. "500": {
  7897. "description": "服务器错误"
  7898. }
  7899. }
  7900. }
  7901. },
  7902. "/merchant_api/merchant_data_api_quota/{merchant_id}": {
  7903. "put": {
  7904. "tags": [
  7905. "merchant_api"
  7906. ],
  7907. "description": "修改商户数据api配额",
  7908. "operationId": "MerchantApiController.set merchant data api quota",
  7909. "parameters": [
  7910. {
  7911. "in": "header",
  7912. "name": "token",
  7913. "description": "token",
  7914. "required": true,
  7915. "type": "string"
  7916. },
  7917. {
  7918. "in": "header",
  7919. "name": "uid",
  7920. "description": "管理员id",
  7921. "required": true,
  7922. "type": "string"
  7923. },
  7924. {
  7925. "in": "path",
  7926. "name": "merchant_id",
  7927. "description": "商户id",
  7928. "required": true,
  7929. "type": "integer",
  7930. "format": "int64"
  7931. },
  7932. {
  7933. "in": "body",
  7934. "name": "body",
  7935. "description": "true",
  7936. "schema": {
  7937. "$ref": "#/definitions/.ManagementSetMerchantDataApiQuotaBody"
  7938. }
  7939. }
  7940. ],
  7941. "responses": {
  7942. "200": {
  7943. "description": "\"响应信息\"",
  7944. "schema": {
  7945. "$ref": "#/definitions/.ManagementSetMerchantDataApiQuotaResp"
  7946. }
  7947. },
  7948. "500": {
  7949. "description": "服务器错误"
  7950. }
  7951. }
  7952. }
  7953. },
  7954. "/merchant_api/quota/{merchant_id}": {
  7955. "put": {
  7956. "tags": [
  7957. "merchant_api"
  7958. ],
  7959. "description": "修改商户数据api配额-新接口",
  7960. "operationId": "MerchantApiController.修改商户数据api配额-新接口",
  7961. "parameters": [
  7962. {
  7963. "in": "header",
  7964. "name": "token",
  7965. "description": "token",
  7966. "required": true,
  7967. "type": "string"
  7968. },
  7969. {
  7970. "in": "header",
  7971. "name": "uid",
  7972. "description": "管理员id",
  7973. "required": true,
  7974. "type": "string"
  7975. },
  7976. {
  7977. "in": "path",
  7978. "name": "merchant_id",
  7979. "description": "商户id",
  7980. "required": true,
  7981. "type": "integer",
  7982. "format": "int64"
  7983. },
  7984. {
  7985. "in": "body",
  7986. "name": "body",
  7987. "description": "true",
  7988. "schema": {
  7989. "$ref": "#/definitions/.UpdateManagementSetMerchantDataApiBody"
  7990. }
  7991. }
  7992. ],
  7993. "responses": {
  7994. "200": {
  7995. "description": "\"响应信息\"",
  7996. "schema": {
  7997. "$ref": "#/definitions/.UpdateManagementSetMerchantDataApiResp"
  7998. }
  7999. },
  8000. "500": {
  8001. "description": "服务器错误"
  8002. }
  8003. }
  8004. }
  8005. },
  8006. "/merchant_h5/merchant_h5_service": {
  8007. "post": {
  8008. "tags": [
  8009. "merchant_h5"
  8010. ],
  8011. "description": "商户添加h5 服务",
  8012. "operationId": "MerchantH5Controller.merchant add h5 service",
  8013. "parameters": [
  8014. {
  8015. "in": "header",
  8016. "name": "token",
  8017. "description": "token",
  8018. "required": true,
  8019. "type": "string"
  8020. },
  8021. {
  8022. "in": "header",
  8023. "name": "uid",
  8024. "description": "管理员id",
  8025. "required": true,
  8026. "type": "string"
  8027. },
  8028. {
  8029. "in": "query",
  8030. "name": "merchant_id",
  8031. "description": "商户id",
  8032. "required": true,
  8033. "type": "integer",
  8034. "format": "int64"
  8035. },
  8036. {
  8037. "in": "query",
  8038. "name": "combo_id",
  8039. "description": "套餐id",
  8040. "required": true,
  8041. "type": "integer",
  8042. "format": "int64"
  8043. },
  8044. {
  8045. "in": "query",
  8046. "name": "theme_color",
  8047. "description": "主题颜色",
  8048. "required": true,
  8049. "type": "string"
  8050. }
  8051. ],
  8052. "responses": {
  8053. "200": {
  8054. "description": "\"响应信息\"",
  8055. "schema": {
  8056. "$ref": "#/definitions/.ManagementAddMerchantH5ServiceResp"
  8057. }
  8058. },
  8059. "500": {
  8060. "description": "服务器错误"
  8061. }
  8062. }
  8063. }
  8064. },
  8065. "/merchant_h5/merchant_h5_service_combo": {
  8066. "get": {
  8067. "tags": [
  8068. "merchant_h5"
  8069. ],
  8070. "description": "商户获取h5 套餐信息",
  8071. "operationId": "MerchantH5Controller.merchant get h5 combo",
  8072. "parameters": [
  8073. {
  8074. "in": "header",
  8075. "name": "token",
  8076. "description": "token",
  8077. "required": true,
  8078. "type": "string"
  8079. },
  8080. {
  8081. "in": "header",
  8082. "name": "uid",
  8083. "description": "管理员id",
  8084. "required": true,
  8085. "type": "string"
  8086. },
  8087. {
  8088. "in": "query",
  8089. "name": "merchant_h5_service_id",
  8090. "description": "商户h5服务id",
  8091. "required": true,
  8092. "type": "integer",
  8093. "format": "int64"
  8094. }
  8095. ],
  8096. "responses": {
  8097. "200": {
  8098. "description": "\"响应信息\"",
  8099. "schema": {
  8100. "$ref": "#/definitions/.ManagementGetMerchantH5ComboResp"
  8101. }
  8102. },
  8103. "500": {
  8104. "description": "服务器错误"
  8105. }
  8106. }
  8107. },
  8108. "put": {
  8109. "tags": [
  8110. "merchant_h5"
  8111. ],
  8112. "description": "商户设置h5 套餐信息",
  8113. "operationId": "MerchantH5Controller.merchant set h5 combo",
  8114. "parameters": [
  8115. {
  8116. "in": "header",
  8117. "name": "token",
  8118. "description": "token",
  8119. "required": true,
  8120. "type": "string"
  8121. },
  8122. {
  8123. "in": "header",
  8124. "name": "uid",
  8125. "description": "管理员id",
  8126. "required": true,
  8127. "type": "string"
  8128. },
  8129. {
  8130. "in": "query",
  8131. "name": "merchant_h5_service_id",
  8132. "description": "商户h5服务id",
  8133. "required": true,
  8134. "type": "integer",
  8135. "format": "int64"
  8136. },
  8137. {
  8138. "in": "query",
  8139. "name": "day_count",
  8140. "description": "单天次数",
  8141. "required": true,
  8142. "type": "integer",
  8143. "format": "int64"
  8144. },
  8145. {
  8146. "in": "query",
  8147. "name": "count",
  8148. "description": "总调用次数",
  8149. "required": true,
  8150. "type": "integer",
  8151. "format": "int64"
  8152. },
  8153. {
  8154. "in": "query",
  8155. "name": "day_number",
  8156. "description": "有效天数",
  8157. "required": true,
  8158. "type": "integer",
  8159. "format": "int64"
  8160. }
  8161. ],
  8162. "responses": {
  8163. "200": {
  8164. "description": "\"响应信息\"",
  8165. "schema": {
  8166. "$ref": "#/definitions/.ManagementSetMerchantH5ComboResp"
  8167. }
  8168. },
  8169. "500": {
  8170. "description": "服务器错误"
  8171. }
  8172. }
  8173. }
  8174. },
  8175. "/merchant_h5/merchant_h5_service_list": {
  8176. "get": {
  8177. "tags": [
  8178. "merchant_h5"
  8179. ],
  8180. "description": "商户获取h5 服务列表",
  8181. "operationId": "MerchantH5Controller.merchant get h5 service list",
  8182. "parameters": [
  8183. {
  8184. "in": "header",
  8185. "name": "token",
  8186. "description": "token",
  8187. "required": true,
  8188. "type": "string"
  8189. },
  8190. {
  8191. "in": "header",
  8192. "name": "uid",
  8193. "description": "管理员id",
  8194. "required": true,
  8195. "type": "string"
  8196. },
  8197. {
  8198. "in": "query",
  8199. "name": "merchant_id",
  8200. "description": "商户id",
  8201. "required": true,
  8202. "type": "integer",
  8203. "format": "int64"
  8204. },
  8205. {
  8206. "in": "query",
  8207. "name": "page_number",
  8208. "description": "当前页",
  8209. "required": true,
  8210. "type": "integer",
  8211. "format": "int64"
  8212. },
  8213. {
  8214. "in": "query",
  8215. "name": "is_all",
  8216. "description": "是否返回所有",
  8217. "required": true,
  8218. "type": "string"
  8219. }
  8220. ],
  8221. "responses": {
  8222. "200": {
  8223. "description": "\"响应信息\"",
  8224. "schema": {
  8225. "$ref": "#/definitions/.ManagementGetMerchantH5ServiceResp"
  8226. }
  8227. },
  8228. "500": {
  8229. "description": "服务器错误"
  8230. }
  8231. }
  8232. }
  8233. },
  8234. "/merchant_order/merchant_order": {
  8235. "post": {
  8236. "tags": [
  8237. "merchant_order"
  8238. ],
  8239. "description": "添加订单",
  8240. "operationId": "MerchantOrderController.add data api order",
  8241. "parameters": [
  8242. {
  8243. "in": "header",
  8244. "name": "token",
  8245. "description": "token",
  8246. "required": true,
  8247. "type": "string"
  8248. },
  8249. {
  8250. "in": "header",
  8251. "name": "uid",
  8252. "description": "管理员id",
  8253. "required": true,
  8254. "type": "string"
  8255. },
  8256. {
  8257. "in": "query",
  8258. "name": "merchant_id",
  8259. "description": "商户id",
  8260. "required": true,
  8261. "type": "integer",
  8262. "format": "int64"
  8263. },
  8264. {
  8265. "in": "query",
  8266. "name": "combo_id",
  8267. "description": "套餐id",
  8268. "required": true,
  8269. "type": "integer",
  8270. "format": "int64"
  8271. }
  8272. ],
  8273. "responses": {
  8274. "200": {
  8275. "description": "\"响应信息\"",
  8276. "schema": {
  8277. "$ref": "#/definitions/.ManagementAddOrderResp"
  8278. }
  8279. },
  8280. "500": {
  8281. "description": "服务器错误"
  8282. }
  8283. }
  8284. }
  8285. },
  8286. "/merchant_order/merchant_order_list": {
  8287. "get": {
  8288. "tags": [
  8289. "merchant_order"
  8290. ],
  8291. "description": "获取商户订单列表",
  8292. "operationId": "MerchantOrderController.get merchant order list",
  8293. "parameters": [
  8294. {
  8295. "in": "header",
  8296. "name": "token",
  8297. "description": "token",
  8298. "required": true,
  8299. "type": "string"
  8300. },
  8301. {
  8302. "in": "header",
  8303. "name": "uid",
  8304. "description": "管理员id",
  8305. "required": true,
  8306. "type": "string"
  8307. },
  8308. {
  8309. "in": "query",
  8310. "name": "merchant_id",
  8311. "description": "商户id",
  8312. "required": true,
  8313. "type": "integer",
  8314. "format": "int64"
  8315. },
  8316. {
  8317. "in": "query",
  8318. "name": "page_number",
  8319. "description": "当前页",
  8320. "required": true,
  8321. "type": "integer",
  8322. "format": "int64"
  8323. },
  8324. {
  8325. "in": "query",
  8326. "name": "data_api_name",
  8327. "description": "数据api名",
  8328. "type": "string"
  8329. },
  8330. {
  8331. "in": "query",
  8332. "name": "status_code",
  8333. "description": "状态码",
  8334. "type": "integer",
  8335. "format": "int64"
  8336. },
  8337. {
  8338. "in": "query",
  8339. "name": "start_time",
  8340. "description": "开始时间格式(2022-08-04 10:40:00)",
  8341. "type": "string"
  8342. },
  8343. {
  8344. "in": "query",
  8345. "name": "end_time",
  8346. "description": "结束时间格式(2022-08-04 10:40:00)",
  8347. "type": "string"
  8348. }
  8349. ],
  8350. "responses": {
  8351. "200": {
  8352. "description": "{obj} params.param_v1_0.ManagementGetMerchantOrderListResp \"响应信息\""
  8353. },
  8354. "500": {
  8355. "description": "服务器错误"
  8356. }
  8357. }
  8358. }
  8359. },
  8360. "/merchant_order/merchant_order_pay": {
  8361. "post": {
  8362. "tags": [
  8363. "merchant_order"
  8364. ],
  8365. "description": "支付订单(未实际支付,仅添加数据库记录)",
  8366. "operationId": "MerchantOrderController.pay order",
  8367. "parameters": [
  8368. {
  8369. "in": "header",
  8370. "name": "token",
  8371. "description": "token",
  8372. "required": true,
  8373. "type": "string"
  8374. },
  8375. {
  8376. "in": "header",
  8377. "name": "uid",
  8378. "description": "管理员id",
  8379. "required": true,
  8380. "type": "string"
  8381. },
  8382. {
  8383. "in": "query",
  8384. "name": "order_no",
  8385. "description": "订单号",
  8386. "required": true,
  8387. "type": "string"
  8388. },
  8389. {
  8390. "in": "query",
  8391. "name": "is_pass",
  8392. "description": "是否通过 1 通过 2 不通过",
  8393. "required": true,
  8394. "type": "integer",
  8395. "format": "int64"
  8396. }
  8397. ],
  8398. "responses": {
  8399. "200": {
  8400. "description": "\"响应信息\"",
  8401. "schema": {
  8402. "$ref": "#/definitions/.ManagementPayOrderResp"
  8403. }
  8404. },
  8405. "500": {
  8406. "description": "服务器错误"
  8407. }
  8408. }
  8409. }
  8410. },
  8411. "/merchant_order/merchant_order_price": {
  8412. "put": {
  8413. "tags": [
  8414. "merchant_order"
  8415. ],
  8416. "description": "修改订单价格",
  8417. "operationId": "MerchantOrderController.set merchant order list",
  8418. "parameters": [
  8419. {
  8420. "in": "header",
  8421. "name": "token",
  8422. "description": "token",
  8423. "required": true,
  8424. "type": "string"
  8425. },
  8426. {
  8427. "in": "header",
  8428. "name": "uid",
  8429. "description": "管理员id",
  8430. "required": true,
  8431. "type": "string"
  8432. },
  8433. {
  8434. "in": "query",
  8435. "name": "order_no",
  8436. "description": "订单号",
  8437. "required": true,
  8438. "type": "string"
  8439. },
  8440. {
  8441. "in": "query",
  8442. "name": "price",
  8443. "description": "订单价格",
  8444. "required": true,
  8445. "type": "number",
  8446. "format": "double"
  8447. }
  8448. ],
  8449. "responses": {
  8450. "200": {
  8451. "description": "\"响应信息\"",
  8452. "schema": {
  8453. "$ref": "#/definitions/.ManagementSetMerchantOrderPriceResp"
  8454. }
  8455. },
  8456. "500": {
  8457. "description": "服务器错误"
  8458. }
  8459. }
  8460. }
  8461. },
  8462. "/provider/provider_all_platform_api": {
  8463. "get": {
  8464. "tags": [
  8465. "provider"
  8466. ],
  8467. "description": "获取所有三方平台API",
  8468. "operationId": "BaseProviderController.获取所有三方平台API",
  8469. "parameters": [
  8470. {
  8471. "in": "header",
  8472. "name": "token",
  8473. "description": "token",
  8474. "required": true,
  8475. "type": "string"
  8476. },
  8477. {
  8478. "in": "header",
  8479. "name": "uid",
  8480. "description": "admin id",
  8481. "required": true,
  8482. "type": "integer",
  8483. "format": "int64"
  8484. },
  8485. {
  8486. "in": "query",
  8487. "name": "provider_id",
  8488. "description": "provider id",
  8489. "type": "integer",
  8490. "format": "int64"
  8491. }
  8492. ],
  8493. "responses": {
  8494. "200": {
  8495. "description": "\"响应信息\"",
  8496. "schema": {
  8497. "$ref": "#/definitions/.ManagementGetAllProviderApiResp"
  8498. }
  8499. },
  8500. "500": {
  8501. "description": "服务器错误"
  8502. }
  8503. }
  8504. }
  8505. },
  8506. "/provider/provider_api_hystrix": {
  8507. "get": {
  8508. "tags": [
  8509. "provider"
  8510. ],
  8511. "description": "数据源熔断信息",
  8512. "operationId": "BaseProviderController.get provider api hystrix",
  8513. "parameters": [
  8514. {
  8515. "in": "header",
  8516. "name": "token",
  8517. "description": "token",
  8518. "required": true,
  8519. "type": "string"
  8520. },
  8521. {
  8522. "in": "header",
  8523. "name": "uid",
  8524. "description": "admin id",
  8525. "required": true,
  8526. "type": "integer",
  8527. "format": "int64"
  8528. },
  8529. {
  8530. "in": "query",
  8531. "name": "provider_api_code",
  8532. "description": "平台code",
  8533. "required": true,
  8534. "type": "string"
  8535. }
  8536. ],
  8537. "responses": {
  8538. "200": {
  8539. "description": "\"响应信息\"",
  8540. "schema": {
  8541. "$ref": "#/definitions/.GetProviderApiHystrixResp"
  8542. }
  8543. },
  8544. "500": {
  8545. "description": "服务器错误"
  8546. }
  8547. }
  8548. },
  8549. "put": {
  8550. "tags": [
  8551. "provider"
  8552. ],
  8553. "description": "数据源熔断信息",
  8554. "operationId": "BaseProviderController.get provider api hystrix",
  8555. "parameters": [
  8556. {
  8557. "in": "header",
  8558. "name": "token",
  8559. "description": "token",
  8560. "required": true,
  8561. "type": "string"
  8562. },
  8563. {
  8564. "in": "header",
  8565. "name": "uid",
  8566. "description": "admin id",
  8567. "required": true,
  8568. "type": "integer",
  8569. "format": "int64"
  8570. },
  8571. {
  8572. "in": "body",
  8573. "name": "body",
  8574. "description": "参数",
  8575. "required": true,
  8576. "schema": {
  8577. "$ref": "#/definitions/.UpdateProviderApiHystrixBody"
  8578. }
  8579. }
  8580. ],
  8581. "responses": {
  8582. "200": {
  8583. "description": "\"响应信息\"",
  8584. "schema": {
  8585. "$ref": "#/definitions/.UpdateProviderApiHystrixResp"
  8586. }
  8587. },
  8588. "500": {
  8589. "description": "服务器错误"
  8590. }
  8591. }
  8592. }
  8593. },
  8594. "/provider/provider_merchant_api": {
  8595. "get": {
  8596. "tags": [
  8597. "provider"
  8598. ],
  8599. "description": "数据源关联的商户api列表",
  8600. "operationId": "BaseProviderController.get provider merchant api list",
  8601. "parameters": [
  8602. {
  8603. "in": "header",
  8604. "name": "token",
  8605. "description": "token",
  8606. "required": true,
  8607. "type": "string"
  8608. },
  8609. {
  8610. "in": "header",
  8611. "name": "uid",
  8612. "description": "admin id",
  8613. "required": true,
  8614. "type": "integer",
  8615. "format": "int64"
  8616. },
  8617. {
  8618. "in": "query",
  8619. "name": "provider_api_id",
  8620. "description": "平台id",
  8621. "required": true,
  8622. "type": "integer",
  8623. "format": "int64"
  8624. }
  8625. ],
  8626. "responses": {
  8627. "200": {
  8628. "description": "\"响应信息\"",
  8629. "schema": {
  8630. "$ref": "#/definitions/.ManagementGetProviderMerchantApiListResp"
  8631. }
  8632. },
  8633. "500": {
  8634. "description": "服务器错误"
  8635. }
  8636. }
  8637. }
  8638. },
  8639. "/provider/provider_platform": {
  8640. "get": {
  8641. "tags": [
  8642. "provider"
  8643. ],
  8644. "description": "三方平台列表获取",
  8645. "operationId": "BaseProviderController.三方平台列表获取",
  8646. "parameters": [
  8647. {
  8648. "in": "header",
  8649. "name": "token",
  8650. "description": "token",
  8651. "required": true,
  8652. "type": "string"
  8653. },
  8654. {
  8655. "in": "header",
  8656. "name": "uid",
  8657. "description": "admin id",
  8658. "required": true,
  8659. "type": "integer",
  8660. "format": "int64"
  8661. },
  8662. {
  8663. "in": "query",
  8664. "name": "page_size",
  8665. "description": "页大小",
  8666. "type": "integer",
  8667. "format": "int64"
  8668. },
  8669. {
  8670. "in": "query",
  8671. "name": "page_number",
  8672. "description": "页数",
  8673. "type": "integer",
  8674. "format": "int64"
  8675. },
  8676. {
  8677. "in": "query",
  8678. "name": "search",
  8679. "description": "搜索字符串",
  8680. "type": "string"
  8681. },
  8682. {
  8683. "in": "query",
  8684. "name": "is_all",
  8685. "description": "是否全量返回",
  8686. "type": "boolean"
  8687. },
  8688. {
  8689. "in": "query",
  8690. "name": "provider_api_id",
  8691. "description": "false",
  8692. "type": "integer",
  8693. "format": "int64"
  8694. }
  8695. ],
  8696. "responses": {
  8697. "200": {
  8698. "description": "\"响应信息\"",
  8699. "schema": {
  8700. "$ref": "#/definitions/.ManagementGetProviderPlatformListResp"
  8701. }
  8702. },
  8703. "500": {
  8704. "description": "服务器错误"
  8705. }
  8706. }
  8707. },
  8708. "put": {
  8709. "tags": [
  8710. "provider"
  8711. ],
  8712. "description": "三方平台修改",
  8713. "operationId": "BaseProviderController.三方平台修改",
  8714. "parameters": [
  8715. {
  8716. "in": "header",
  8717. "name": "token",
  8718. "description": "token",
  8719. "required": true,
  8720. "type": "string"
  8721. },
  8722. {
  8723. "in": "header",
  8724. "name": "uid",
  8725. "description": "admin id",
  8726. "required": true,
  8727. "type": "integer",
  8728. "format": "int64"
  8729. },
  8730. {
  8731. "in": "body",
  8732. "name": "body",
  8733. "description": "参数",
  8734. "required": true,
  8735. "schema": {
  8736. "$ref": "#/definitions/.ManagementUpdateProviderPlatformReq"
  8737. }
  8738. }
  8739. ],
  8740. "responses": {
  8741. "200": {
  8742. "description": "\"响应信息\"",
  8743. "schema": {
  8744. "$ref": "#/definitions/.ManagementUpdateProviderPlatformResp"
  8745. }
  8746. },
  8747. "500": {
  8748. "description": "服务器错误"
  8749. }
  8750. }
  8751. },
  8752. "post": {
  8753. "tags": [
  8754. "provider"
  8755. ],
  8756. "description": "三方平台添加",
  8757. "operationId": "BaseProviderController.三方平台添加",
  8758. "parameters": [
  8759. {
  8760. "in": "header",
  8761. "name": "token",
  8762. "description": "token",
  8763. "required": true,
  8764. "type": "string"
  8765. },
  8766. {
  8767. "in": "header",
  8768. "name": "uid",
  8769. "description": "admin id",
  8770. "required": true,
  8771. "type": "integer",
  8772. "format": "int64"
  8773. },
  8774. {
  8775. "in": "body",
  8776. "name": "body",
  8777. "description": "参数",
  8778. "required": true,
  8779. "schema": {
  8780. "$ref": "#/definitions/.ManagementAddProviderPlatformReq"
  8781. }
  8782. }
  8783. ],
  8784. "responses": {
  8785. "200": {
  8786. "description": "\"响应信息\"",
  8787. "schema": {
  8788. "$ref": "#/definitions/.ManagementAddProviderPlatformResp"
  8789. }
  8790. },
  8791. "500": {
  8792. "description": "服务器错误"
  8793. }
  8794. }
  8795. },
  8796. "delete": {
  8797. "tags": [
  8798. "provider"
  8799. ],
  8800. "description": "三方平台删除",
  8801. "operationId": "BaseProviderController.三方平台删除",
  8802. "parameters": [
  8803. {
  8804. "in": "header",
  8805. "name": "token",
  8806. "description": "token",
  8807. "required": true,
  8808. "type": "string"
  8809. },
  8810. {
  8811. "in": "header",
  8812. "name": "uid",
  8813. "description": "admin id",
  8814. "required": true,
  8815. "type": "integer",
  8816. "format": "int64"
  8817. },
  8818. {
  8819. "in": "query",
  8820. "name": "provider_id",
  8821. "description": "三方平台id",
  8822. "required": true,
  8823. "type": "integer",
  8824. "format": "int64"
  8825. }
  8826. ],
  8827. "responses": {
  8828. "200": {
  8829. "description": "\"响应信息\"",
  8830. "schema": {
  8831. "$ref": "#/definitions/.ManagementDelProviderPlatformResp"
  8832. }
  8833. },
  8834. "500": {
  8835. "description": "服务器错误"
  8836. }
  8837. }
  8838. }
  8839. },
  8840. "/provider/provider_platform_api": {
  8841. "get": {
  8842. "tags": [
  8843. "provider"
  8844. ],
  8845. "description": "三方平台API列表",
  8846. "operationId": "BaseProviderController.三方平台API列表",
  8847. "parameters": [
  8848. {
  8849. "in": "header",
  8850. "name": "token",
  8851. "description": "token",
  8852. "required": true,
  8853. "type": "string"
  8854. },
  8855. {
  8856. "in": "header",
  8857. "name": "uid",
  8858. "description": "admin id",
  8859. "required": true,
  8860. "type": "integer",
  8861. "format": "int64"
  8862. },
  8863. {
  8864. "in": "query",
  8865. "name": "page_size",
  8866. "description": "页大小",
  8867. "type": "integer",
  8868. "format": "int64"
  8869. },
  8870. {
  8871. "in": "query",
  8872. "name": "is_all",
  8873. "description": "false",
  8874. "type": "boolean"
  8875. },
  8876. {
  8877. "in": "query",
  8878. "name": "page_number",
  8879. "description": "页数",
  8880. "type": "integer",
  8881. "format": "int64"
  8882. },
  8883. {
  8884. "in": "query",
  8885. "name": "provider_id",
  8886. "description": "平台id",
  8887. "required": true,
  8888. "type": "integer",
  8889. "format": "int64"
  8890. }
  8891. ],
  8892. "responses": {
  8893. "200": {
  8894. "description": "\"响应信息\"",
  8895. "schema": {
  8896. "$ref": "#/definitions/.ManagementGetProviderApiListResp"
  8897. }
  8898. },
  8899. "500": {
  8900. "description": "服务器错误"
  8901. }
  8902. }
  8903. },
  8904. "put": {
  8905. "tags": [
  8906. "provider"
  8907. ],
  8908. "description": "三方平台API更新",
  8909. "operationId": "BaseProviderController.三方平台API更新",
  8910. "parameters": [
  8911. {
  8912. "in": "header",
  8913. "name": "token",
  8914. "description": "token",
  8915. "required": true,
  8916. "type": "string"
  8917. },
  8918. {
  8919. "in": "header",
  8920. "name": "uid",
  8921. "description": "admin id",
  8922. "required": true,
  8923. "type": "integer",
  8924. "format": "int64"
  8925. },
  8926. {
  8927. "in": "body",
  8928. "name": "body",
  8929. "description": "参数",
  8930. "required": true,
  8931. "schema": {
  8932. "$ref": "#/definitions/.ManagementUpdateProviderApiReq"
  8933. }
  8934. }
  8935. ],
  8936. "responses": {
  8937. "200": {
  8938. "description": "\"响应信息\"",
  8939. "schema": {
  8940. "$ref": "#/definitions/.ManagementUpdateProviderApiResp"
  8941. }
  8942. },
  8943. "500": {
  8944. "description": "服务器错误"
  8945. }
  8946. }
  8947. },
  8948. "post": {
  8949. "tags": [
  8950. "provider"
  8951. ],
  8952. "description": "三方平台api添加",
  8953. "operationId": "BaseProviderController.三方平台api添加",
  8954. "parameters": [
  8955. {
  8956. "in": "header",
  8957. "name": "token",
  8958. "description": "token",
  8959. "required": true,
  8960. "type": "string"
  8961. },
  8962. {
  8963. "in": "header",
  8964. "name": "uid",
  8965. "description": "admin id",
  8966. "required": true,
  8967. "type": "integer",
  8968. "format": "int64"
  8969. },
  8970. {
  8971. "in": "body",
  8972. "name": "body",
  8973. "description": "参数",
  8974. "required": true,
  8975. "schema": {
  8976. "$ref": "#/definitions/.ManagementAddProviderApiReq"
  8977. }
  8978. }
  8979. ],
  8980. "responses": {
  8981. "200": {
  8982. "description": "\"响应信息\"",
  8983. "schema": {
  8984. "$ref": "#/definitions/.ManagementAddProviderApiResp"
  8985. }
  8986. },
  8987. "500": {
  8988. "description": "服务器错误"
  8989. }
  8990. }
  8991. },
  8992. "delete": {
  8993. "tags": [
  8994. "provider"
  8995. ],
  8996. "description": "三方平台API删除",
  8997. "operationId": "BaseProviderController.三方平台API删除",
  8998. "parameters": [
  8999. {
  9000. "in": "header",
  9001. "name": "token",
  9002. "description": "token",
  9003. "required": true,
  9004. "type": "string"
  9005. },
  9006. {
  9007. "in": "header",
  9008. "name": "uid",
  9009. "description": "admin id",
  9010. "required": true,
  9011. "type": "integer",
  9012. "format": "int64"
  9013. },
  9014. {
  9015. "in": "query",
  9016. "name": "provider_api_id",
  9017. "description": "三方api id",
  9018. "required": true,
  9019. "type": "integer",
  9020. "format": "int64"
  9021. }
  9022. ],
  9023. "responses": {
  9024. "200": {
  9025. "description": "\"响应信息\"",
  9026. "schema": {
  9027. "$ref": "#/definitions/.ManagementDelProviderApiResp"
  9028. }
  9029. },
  9030. "500": {
  9031. "description": "服务器错误"
  9032. }
  9033. }
  9034. }
  9035. },
  9036. "/provider/provider_threshold/{provider_api_id}": {
  9037. "put": {
  9038. "tags": [
  9039. "provider"
  9040. ],
  9041. "description": "设置数据源告警阀值",
  9042. "operationId": "BaseProviderController.set base api waring threshold",
  9043. "parameters": [
  9044. {
  9045. "in": "header",
  9046. "name": "token",
  9047. "description": "token",
  9048. "required": true,
  9049. "type": "string"
  9050. },
  9051. {
  9052. "in": "header",
  9053. "name": "uid",
  9054. "description": "uid",
  9055. "required": true,
  9056. "type": "string"
  9057. },
  9058. {
  9059. "in": "path",
  9060. "name": "provider_api_id",
  9061. "description": "true",
  9062. "type": "integer",
  9063. "format": "int64"
  9064. },
  9065. {
  9066. "in": "body",
  9067. "name": "body",
  9068. "description": "true",
  9069. "schema": {
  9070. "$ref": "#/definitions/param_v1_0.ManagementSetProviderThresholdBody"
  9071. }
  9072. }
  9073. ],
  9074. "responses": {
  9075. "200": {
  9076. "description": "\"响应信息\"",
  9077. "schema": {
  9078. "$ref": "#/definitions/.ManagementSetProviderThresholdResp"
  9079. }
  9080. },
  9081. "500": {
  9082. "description": "服务器错误"
  9083. }
  9084. }
  9085. }
  9086. },
  9087. "/provider/try": {
  9088. "post": {
  9089. "tags": [
  9090. "provider"
  9091. ],
  9092. "description": "数据源调用",
  9093. "operationId": "BaseProviderController.数据源调用",
  9094. "parameters": [
  9095. {
  9096. "in": "header",
  9097. "name": "token",
  9098. "description": "token",
  9099. "required": true,
  9100. "type": "string"
  9101. },
  9102. {
  9103. "in": "header",
  9104. "name": "uid",
  9105. "description": "admin id",
  9106. "required": true,
  9107. "type": "integer",
  9108. "format": "int64"
  9109. },
  9110. {
  9111. "in": "formData",
  9112. "name": "api_name",
  9113. "description": "接口名称",
  9114. "required": true,
  9115. "type": "string"
  9116. },
  9117. {
  9118. "in": "formData",
  9119. "name": "provider_api_id",
  9120. "description": "接口id",
  9121. "required": true,
  9122. "type": "integer",
  9123. "format": "int64"
  9124. },
  9125. {
  9126. "in": "formData",
  9127. "name": "thirdparty_host",
  9128. "description": "请求地址",
  9129. "required": true,
  9130. "type": "string"
  9131. },
  9132. {
  9133. "in": "formData",
  9134. "name": "thirdparty_router",
  9135. "description": "请求路由",
  9136. "required": true,
  9137. "type": "string"
  9138. },
  9139. {
  9140. "in": "formData",
  9141. "name": "platform_code",
  9142. "description": "平台码",
  9143. "required": true,
  9144. "type": "string"
  9145. }
  9146. ],
  9147. "responses": {
  9148. "200": {
  9149. "description": "\"响应信息\"",
  9150. "schema": {
  9151. "$ref": "#/definitions/.ManagementTryProviderApiResp"
  9152. }
  9153. },
  9154. "500": {
  9155. "description": "服务器错误"
  9156. }
  9157. }
  9158. }
  9159. },
  9160. "/provider/try_api_task": {
  9161. "get": {
  9162. "tags": [
  9163. "provider"
  9164. ],
  9165. "description": "获取数据查询任务信息列表",
  9166. "operationId": "BaseProviderController.获取数据查询任务信息列表",
  9167. "parameters": [
  9168. {
  9169. "in": "header",
  9170. "name": "token",
  9171. "description": "token",
  9172. "required": true,
  9173. "type": "string"
  9174. },
  9175. {
  9176. "in": "header",
  9177. "name": "uid",
  9178. "description": "admin id",
  9179. "required": true,
  9180. "type": "integer",
  9181. "format": "int64"
  9182. },
  9183. {
  9184. "in": "query",
  9185. "name": "type",
  9186. "description": "类型",
  9187. "required": true,
  9188. "type": "integer",
  9189. "format": "int64"
  9190. },
  9191. {
  9192. "in": "query",
  9193. "name": "page_size",
  9194. "description": "页大小",
  9195. "type": "integer",
  9196. "format": "int64"
  9197. },
  9198. {
  9199. "in": "query",
  9200. "name": "page_number",
  9201. "description": "页号",
  9202. "type": "integer",
  9203. "format": "int64"
  9204. }
  9205. ],
  9206. "responses": {
  9207. "200": {
  9208. "description": "\"响应信息\"",
  9209. "schema": {
  9210. "$ref": "#/definitions/.TryApiTaskListResp"
  9211. }
  9212. },
  9213. "500": {
  9214. "description": "服务器错误"
  9215. }
  9216. }
  9217. }
  9218. },
  9219. "/service_order/service_order_list": {
  9220. "get": {
  9221. "tags": [
  9222. "service_order"
  9223. ],
  9224. "description": "获取服务订单",
  9225. "operationId": "ServiceOrderController.get service order list",
  9226. "parameters": [
  9227. {
  9228. "in": "header",
  9229. "name": "token",
  9230. "description": "token",
  9231. "required": true,
  9232. "type": "string"
  9233. },
  9234. {
  9235. "in": "header",
  9236. "name": "uid",
  9237. "description": "uid",
  9238. "required": true,
  9239. "type": "string"
  9240. },
  9241. {
  9242. "in": "query",
  9243. "name": "page_number",
  9244. "description": "false",
  9245. "type": "string"
  9246. },
  9247. {
  9248. "in": "query",
  9249. "name": "order_status",
  9250. "description": "0 获取所有状态订单 1 待支付,2 进行中 3已完成 4 已取消",
  9251. "type": "integer",
  9252. "format": "int64"
  9253. },
  9254. {
  9255. "in": "query",
  9256. "name": "order_type",
  9257. "description": "0 所有服务类型 311上线年审,312 免检年审,314免检年审在线办理, 315 上线年审自行预约",
  9258. "type": "integer",
  9259. "format": "int64"
  9260. },
  9261. {
  9262. "in": "query",
  9263. "name": "start_time",
  9264. "description": "uid",
  9265. "type": "string"
  9266. },
  9267. {
  9268. "in": "query",
  9269. "name": "end_time",
  9270. "description": "uid",
  9271. "type": "string"
  9272. }
  9273. ],
  9274. "responses": {
  9275. "200": {
  9276. "description": "\"响应信息\"",
  9277. "schema": {
  9278. "$ref": "#/definitions/.ServiceManagementOrderListResp"
  9279. }
  9280. },
  9281. "500": {
  9282. "description": "服务器错误"
  9283. }
  9284. }
  9285. }
  9286. },
  9287. "/user_merchant/user_merchant": {
  9288. "put": {
  9289. "tags": [
  9290. "user_merchant"
  9291. ],
  9292. "description": "修改用户商户",
  9293. "operationId": "UserMerchantController.update user merchant",
  9294. "parameters": [
  9295. {
  9296. "in": "header",
  9297. "name": "token",
  9298. "description": "token",
  9299. "required": true,
  9300. "type": "string"
  9301. },
  9302. {
  9303. "in": "header",
  9304. "name": "uid",
  9305. "description": "管理员id",
  9306. "required": true,
  9307. "type": "string"
  9308. },
  9309. {
  9310. "in": "query",
  9311. "name": "merchant_id",
  9312. "description": "商户id",
  9313. "required": true,
  9314. "type": "string"
  9315. },
  9316. {
  9317. "in": "body",
  9318. "name": "user_merchant",
  9319. "description": "用户商户信息",
  9320. "required": true,
  9321. "schema": {
  9322. "$ref": "#/definitions/.UserMerchantInfo"
  9323. }
  9324. }
  9325. ],
  9326. "responses": {
  9327. "200": {
  9328. "description": "\"响应信息\"",
  9329. "schema": {
  9330. "$ref": "#/definitions/.ManagementUpdateUserMerchantResp"
  9331. }
  9332. },
  9333. "500": {
  9334. "description": "服务器错误"
  9335. }
  9336. }
  9337. },
  9338. "post": {
  9339. "tags": [
  9340. "user_merchant"
  9341. ],
  9342. "description": "添加用户商户",
  9343. "operationId": "UserMerchantController.add user merchant",
  9344. "parameters": [
  9345. {
  9346. "in": "header",
  9347. "name": "token",
  9348. "description": "token",
  9349. "required": true,
  9350. "type": "string"
  9351. },
  9352. {
  9353. "in": "header",
  9354. "name": "uid",
  9355. "description": "管理员id",
  9356. "required": true,
  9357. "type": "string"
  9358. },
  9359. {
  9360. "in": "body",
  9361. "name": "user_merchant",
  9362. "description": "用户商户信息",
  9363. "required": true,
  9364. "schema": {
  9365. "$ref": "#/definitions/.UserMerchantInfo"
  9366. }
  9367. }
  9368. ],
  9369. "responses": {
  9370. "200": {
  9371. "description": "\"响应信息\"",
  9372. "schema": {
  9373. "$ref": "#/definitions/.ManagementAddUserMerchantResp"
  9374. }
  9375. },
  9376. "500": {
  9377. "description": "服务器错误"
  9378. }
  9379. }
  9380. }
  9381. },
  9382. "/user_merchant/user_merchant_auth_list": {
  9383. "get": {
  9384. "tags": [
  9385. "user_merchant"
  9386. ],
  9387. "description": "获取待授权商户列表",
  9388. "operationId": "UserMerchantController.获取待授权商户列表",
  9389. "parameters": [
  9390. {
  9391. "in": "header",
  9392. "name": "token",
  9393. "description": "token",
  9394. "required": true,
  9395. "type": "string"
  9396. },
  9397. {
  9398. "in": "header",
  9399. "name": "uid",
  9400. "description": "管理员id",
  9401. "required": true,
  9402. "type": "string"
  9403. },
  9404. {
  9405. "in": "query",
  9406. "name": "page_number",
  9407. "description": "当前页",
  9408. "type": "integer",
  9409. "format": "int64"
  9410. },
  9411. {
  9412. "in": "query",
  9413. "name": "phone",
  9414. "description": "手机号",
  9415. "type": "string"
  9416. },
  9417. {
  9418. "in": "query",
  9419. "name": "merchant_name",
  9420. "description": "商户名",
  9421. "type": "string"
  9422. },
  9423. {
  9424. "in": "query",
  9425. "name": "merchant_id",
  9426. "description": "商户id",
  9427. "type": "integer",
  9428. "format": "int64"
  9429. },
  9430. {
  9431. "in": "query",
  9432. "name": "start_time",
  9433. "description": "开始时间",
  9434. "type": "string"
  9435. },
  9436. {
  9437. "in": "query",
  9438. "name": "end_time",
  9439. "description": "结束时间",
  9440. "type": "string"
  9441. }
  9442. ],
  9443. "responses": {
  9444. "200": {
  9445. "description": "\"响应信息\"",
  9446. "schema": {
  9447. "$ref": "#/definitions/.ManagementGetUserMerchantAuthListResp"
  9448. }
  9449. },
  9450. "500": {
  9451. "description": "服务器错误"
  9452. }
  9453. }
  9454. }
  9455. },
  9456. "/user_merchant/user_merchant_auth_state": {
  9457. "put": {
  9458. "tags": [
  9459. "user_merchant"
  9460. ],
  9461. "description": "设置认证状态",
  9462. "operationId": "UserMerchantController.set user merchant auth state",
  9463. "parameters": [
  9464. {
  9465. "in": "header",
  9466. "name": "token",
  9467. "description": "token",
  9468. "required": true,
  9469. "type": "string"
  9470. },
  9471. {
  9472. "in": "header",
  9473. "name": "uid",
  9474. "description": "管理员id",
  9475. "required": true,
  9476. "type": "string"
  9477. },
  9478. {
  9479. "in": "body",
  9480. "name": "body",
  9481. "description": "true",
  9482. "schema": {
  9483. "$ref": "#/definitions/.ManagementSetUserMerchantAuthStateBody"
  9484. }
  9485. }
  9486. ],
  9487. "responses": {
  9488. "200": {
  9489. "description": "\"响应信息\"",
  9490. "schema": {
  9491. "$ref": "#/definitions/.ManagementSetUserMerchantAuthStateResp"
  9492. }
  9493. },
  9494. "500": {
  9495. "description": "服务器错误"
  9496. }
  9497. }
  9498. }
  9499. },
  9500. "/user_merchant/user_merchant_list": {
  9501. "get": {
  9502. "tags": [
  9503. "user_merchant"
  9504. ],
  9505. "description": "获取用户商户列表",
  9506. "operationId": "UserMerchantController.get user merchant list",
  9507. "parameters": [
  9508. {
  9509. "in": "header",
  9510. "name": "token",
  9511. "description": "token",
  9512. "required": true,
  9513. "type": "string"
  9514. },
  9515. {
  9516. "in": "header",
  9517. "name": "uid",
  9518. "description": "管理员id",
  9519. "required": true,
  9520. "type": "string"
  9521. },
  9522. {
  9523. "in": "query",
  9524. "name": "page_number",
  9525. "description": "当前页",
  9526. "type": "integer",
  9527. "format": "int64"
  9528. },
  9529. {
  9530. "in": "query",
  9531. "name": "is_all",
  9532. "description": "当前页",
  9533. "type": "boolean"
  9534. },
  9535. {
  9536. "in": "query",
  9537. "name": "api_ids",
  9538. "description": "base api ids",
  9539. "type": "string"
  9540. },
  9541. {
  9542. "in": "query",
  9543. "name": "data_api_id",
  9544. "description": "data api id",
  9545. "type": "integer",
  9546. "format": "int64"
  9547. }
  9548. ],
  9549. "responses": {
  9550. "200": {
  9551. "description": "\"响应信息\"",
  9552. "schema": {
  9553. "$ref": "#/definitions/.ManagementGetUserMerchantListResp"
  9554. }
  9555. },
  9556. "500": {
  9557. "description": "服务器错误"
  9558. }
  9559. }
  9560. }
  9561. },
  9562. "/user_merchant/user_merchant_list_new": {
  9563. "get": {
  9564. "tags": [
  9565. "user_merchant"
  9566. ],
  9567. "description": "获取用户商户列表(新)",
  9568. "operationId": "UserMerchantController.get user merchant list new interface",
  9569. "parameters": [
  9570. {
  9571. "in": "header",
  9572. "name": "token",
  9573. "description": "token",
  9574. "required": true,
  9575. "type": "string"
  9576. },
  9577. {
  9578. "in": "header",
  9579. "name": "uid",
  9580. "description": "管理员id",
  9581. "required": true,
  9582. "type": "string"
  9583. },
  9584. {
  9585. "in": "query",
  9586. "name": "page_number",
  9587. "description": "当前页",
  9588. "type": "integer",
  9589. "format": "int64"
  9590. },
  9591. {
  9592. "in": "query",
  9593. "name": "is_all",
  9594. "description": "是否获取全部",
  9595. "type": "boolean"
  9596. },
  9597. {
  9598. "in": "query",
  9599. "name": "search",
  9600. "description": "搜索字符串",
  9601. "type": "string"
  9602. },
  9603. {
  9604. "in": "query",
  9605. "name": "merchant_id",
  9606. "description": "商户id",
  9607. "type": "integer",
  9608. "format": "int64"
  9609. },
  9610. {
  9611. "in": "query",
  9612. "name": "data_api_id",
  9613. "description": "搜索产品",
  9614. "type": "string"
  9615. },
  9616. {
  9617. "in": "query",
  9618. "name": "status_code",
  9619. "description": "产品状态",
  9620. "type": "integer",
  9621. "format": "int64"
  9622. },
  9623. {
  9624. "in": "query",
  9625. "name": "merchant_type",
  9626. "description": "商户类型",
  9627. "type": "integer",
  9628. "format": "int64"
  9629. }
  9630. ],
  9631. "responses": {
  9632. "200": {
  9633. "description": "\"响应信息\"",
  9634. "schema": {
  9635. "$ref": "#/definitions/.ManagementGetUserMerchantListNewResp"
  9636. }
  9637. },
  9638. "500": {
  9639. "description": "服务器错误"
  9640. }
  9641. }
  9642. }
  9643. }
  9644. },
  9645. "definitions": {
  9646. ".AddAdminBody": {
  9647. "type": "object"
  9648. },
  9649. ".AddRbacGroupResp": {
  9650. "type": "object"
  9651. },
  9652. ".AdminDeleteResp": {
  9653. "type": "object"
  9654. },
  9655. ".AdminGetAllResp": {
  9656. "type": "object"
  9657. },
  9658. ".AdminLoginBody": {
  9659. "type": "object"
  9660. },
  9661. ".AdminModifyBody": {
  9662. "type": "object"
  9663. },
  9664. ".AdminModifyResp": {
  9665. "type": "object"
  9666. },
  9667. ".AdminRegisterResp": {
  9668. "type": "object"
  9669. },
  9670. ".AdminTokenVerifyResp": {
  9671. "type": "object"
  9672. },
  9673. ".AuthGetOSSInfoResp": {
  9674. "type": "object"
  9675. },
  9676. ".BiGetApiServiceConsumeInfoResp": {
  9677. "type": "object"
  9678. },
  9679. ".BiGetApiServiceDataInfoResp": {
  9680. "type": "object"
  9681. },
  9682. ".BiGetApiServiceIncomeInfoResp": {
  9683. "type": "object"
  9684. },
  9685. ".BiGetDashResp": {
  9686. "type": "object"
  9687. },
  9688. ".BiGetDistributionResp": {
  9689. "type": "object"
  9690. },
  9691. ".BiGetPayDistributionResp": {
  9692. "type": "object"
  9693. },
  9694. ".BiGetProviderDistributionResp": {
  9695. "type": "object"
  9696. },
  9697. ".BiGetProviderReportResp": {
  9698. "type": "object"
  9699. },
  9700. ".BiGetProviderServiceDataInfoResp": {
  9701. "type": "object"
  9702. },
  9703. ".BiGetProviderServiceFailInfoResp": {
  9704. "type": "object"
  9705. },
  9706. ".BiGetProviderServicePayInfoResp": {
  9707. "type": "object"
  9708. },
  9709. ".BiGetProviderServiceStatusResp": {
  9710. "type": "object"
  9711. },
  9712. ".BiGetProviderTrendResp": {
  9713. "type": "object"
  9714. },
  9715. ".BiGetReportResp": {
  9716. "type": "object"
  9717. },
  9718. ".BiGetServiceStatusResp": {
  9719. "type": "object"
  9720. },
  9721. ".BiGetTrendResp": {
  9722. "type": "object"
  9723. },
  9724. ".BillDetailListResp": {
  9725. "type": "object"
  9726. },
  9727. ".BillExportExcelResp": {
  9728. "type": "object"
  9729. },
  9730. ".BillListResp": {
  9731. "type": "object"
  9732. },
  9733. ".BillRemarkReq": {
  9734. "type": "object"
  9735. },
  9736. ".BillRemarkResp": {
  9737. "type": "object"
  9738. },
  9739. ".ChargeListResp": {
  9740. "type": "object"
  9741. },
  9742. ".ConsumeListResp": {
  9743. "type": "object"
  9744. },
  9745. ".ConsumeTrendListResp": {
  9746. "type": "object"
  9747. },
  9748. ".DataApiReleaseBody": {
  9749. "type": "object"
  9750. },
  9751. ".DeleteRbacGroupResp": {
  9752. "type": "object"
  9753. },
  9754. ".GetAccessResp": {
  9755. "type": "object"
  9756. },
  9757. ".GetActionLogResp": {
  9758. "type": "object"
  9759. },
  9760. ".GetInfoResp": {
  9761. "type": "object"
  9762. },
  9763. ".GetNodeListResp": {
  9764. "type": "object"
  9765. },
  9766. ".GetProviderApiHystrixResp": {
  9767. "type": "object"
  9768. },
  9769. ".GetRbacGroupListResp": {
  9770. "type": "object"
  9771. },
  9772. ".H5ApiAddBaseApiData": {
  9773. "type": "object"
  9774. },
  9775. ".H5ServiceAddH5ApiData": {
  9776. "type": "object"
  9777. },
  9778. ".LogExportDeleteResp": {
  9779. "type": "object"
  9780. },
  9781. ".LogExportInfo": {
  9782. "type": "object"
  9783. },
  9784. ".LogExportListResp": {
  9785. "type": "object"
  9786. },
  9787. ".LogGenerateReportResp": {
  9788. "type": "object"
  9789. },
  9790. ".LogQueryAccessLogCountResp": {
  9791. "type": "object"
  9792. },
  9793. ".LogQueryAccessLogResp": {
  9794. "type": "object"
  9795. },
  9796. ".LogQueryAccessLogThirdpartLogResp": {
  9797. "type": "object"
  9798. },
  9799. ".LogQueryInterfaceAnalyzeResp": {
  9800. "type": "object"
  9801. },
  9802. ".LogQueryInterfaceCountResp": {
  9803. "type": "object"
  9804. },
  9805. ".LogQueryProviderCountExportReq": {
  9806. "type": "object"
  9807. },
  9808. ".LogQueryProviderCountExportResp": {
  9809. "type": "object"
  9810. },
  9811. ".LogQueryThirdpartAccessCountResp": {
  9812. "type": "object"
  9813. },
  9814. ".LogQueryThirdpartAccessLogCountResp": {
  9815. "type": "object"
  9816. },
  9817. ".LogQueryThirdpartAccessLogResp": {
  9818. "type": "object"
  9819. },
  9820. ".LogQueryThirdpartInterfaceCountResp": {
  9821. "type": "object"
  9822. },
  9823. ".LogQueryUserAccessCountExportReq": {
  9824. "type": "object"
  9825. },
  9826. ".LogQueryUserAccessCountExportResp": {
  9827. "type": "object"
  9828. },
  9829. ".LogQueryUserAccessCountResp": {
  9830. "type": "object"
  9831. },
  9832. ".ManagementAddBaseApiProviderReq": {
  9833. "type": "object"
  9834. },
  9835. ".ManagementAddBaseApiProviderResp": {
  9836. "type": "object"
  9837. },
  9838. ".ManagementAddBaseApiResp": {
  9839. "type": "object"
  9840. },
  9841. ".ManagementAddErrorResp": {
  9842. "type": "object"
  9843. },
  9844. ".ManagementAddH5ApiResp": {
  9845. "type": "object"
  9846. },
  9847. ".ManagementAddH5ServiceResp": {
  9848. "type": "object"
  9849. },
  9850. ".ManagementAddH5ThemeColorResp": {
  9851. "type": "object"
  9852. },
  9853. ".ManagementAddMerchantBaseApiResp": {
  9854. "type": "object"
  9855. },
  9856. ".ManagementAddMerchantDataApiBody": {
  9857. "type": "object"
  9858. },
  9859. ".ManagementAddMerchantDataApiResp": {
  9860. "type": "object"
  9861. },
  9862. ".ManagementAddMerchantH5ServiceResp": {
  9863. "type": "object"
  9864. },
  9865. ".ManagementAddOrderResp": {
  9866. "type": "object"
  9867. },
  9868. ".ManagementAddProviderApiReq": {
  9869. "type": "object"
  9870. },
  9871. ".ManagementAddProviderApiResp": {
  9872. "type": "object"
  9873. },
  9874. ".ManagementAddProviderPlatformReq": {
  9875. "type": "object"
  9876. },
  9877. ".ManagementAddProviderPlatformResp": {
  9878. "type": "object"
  9879. },
  9880. ".ManagementAddUserMerchantResp": {
  9881. "type": "object"
  9882. },
  9883. ".ManagementBaseApiInfo": {
  9884. "type": "object"
  9885. },
  9886. ".ManagementBaseApiShowInfo": {
  9887. "type": "object"
  9888. },
  9889. ".ManagementChangeApiTaskBody": {
  9890. "type": "object"
  9891. },
  9892. ".ManagementDataApiAddApiReq": {
  9893. "type": "object"
  9894. },
  9895. ".ManagementDataApiAddApiResp": {
  9896. "type": "object"
  9897. },
  9898. ".ManagementDataApiAddBaseApiReq": {
  9899. "type": "object"
  9900. },
  9901. ".ManagementDataApiAddBaseApiResp": {
  9902. "type": "object"
  9903. },
  9904. ".ManagementDataApiAddDataComboReq": {
  9905. "type": "object"
  9906. },
  9907. ".ManagementDataApiAddDataComboResp": {
  9908. "type": "object"
  9909. },
  9910. ".ManagementDataApiAddQueryTypeReq": {
  9911. "type": "object"
  9912. },
  9913. ".ManagementDataApiAddQueryTypeResp": {
  9914. "type": "object"
  9915. },
  9916. ".ManagementDataApiComboListResp": {
  9917. "type": "object"
  9918. },
  9919. ".ManagementDataApiDeleteApiResp": {
  9920. "type": "object"
  9921. },
  9922. ".ManagementDataApiGetAllResp": {
  9923. "type": "object"
  9924. },
  9925. ".ManagementDataApiGetApiInfoResp": {
  9926. "type": "object"
  9927. },
  9928. ".ManagementDataApiGetBaseApiResp": {
  9929. "type": "object"
  9930. },
  9931. ".ManagementDataApiGetQueryTypeListResp": {
  9932. "type": "object"
  9933. },
  9934. ".ManagementDataApiGetQueryTypeResp": {
  9935. "type": "object"
  9936. },
  9937. ".ManagementDataApiModifyApiReq": {
  9938. "type": "object"
  9939. },
  9940. ".ManagementDataApiModifyApiResp": {
  9941. "type": "object"
  9942. },
  9943. ".ManagementDataApiModifyBaseApiReq": {
  9944. "type": "object"
  9945. },
  9946. ".ManagementDataApiModifyBaseApiResp": {
  9947. "type": "object"
  9948. },
  9949. ".ManagementDataApiModifyQueryTypeReq": {
  9950. "type": "object"
  9951. },
  9952. ".ManagementDataApiModifyQueryTypeResp": {
  9953. "type": "object"
  9954. },
  9955. ".ManagementDataApiReleaseApiResp": {
  9956. "type": "object"
  9957. },
  9958. ".ManagementDataApiRemoveBaseApiResp": {
  9959. "type": "object"
  9960. },
  9961. ".ManagementDataApiRemoveDataComboResp": {
  9962. "type": "object"
  9963. },
  9964. ".ManagementDataApiRemoveQueryTypeResp": {
  9965. "type": "object"
  9966. },
  9967. ".ManagementDataApiSetFreeDataComboReq": {
  9968. "type": "object"
  9969. },
  9970. ".ManagementDataApiSetFreeDataComboResp": {
  9971. "type": "object"
  9972. },
  9973. ".ManagementDelBaseApiResp": {
  9974. "type": "object"
  9975. },
  9976. ".ManagementDelErrorResp": {
  9977. "type": "object"
  9978. },
  9979. ".ManagementDelH5ApiResp": {
  9980. "type": "object"
  9981. },
  9982. ".ManagementDelH5ServiceResp": {
  9983. "type": "object"
  9984. },
  9985. ".ManagementDelH5ThemeColorResp": {
  9986. "type": "object"
  9987. },
  9988. ".ManagementDelMerchantDataApiResp": {
  9989. "type": "object"
  9990. },
  9991. ".ManagementDelProviderApiResp": {
  9992. "type": "object"
  9993. },
  9994. ".ManagementDelProviderPlatformResp": {
  9995. "type": "object"
  9996. },
  9997. ".ManagementDeleteTryApiTaskResp": {
  9998. "type": "object"
  9999. },
  10000. ".ManagementExportMerchantBaseApiFileResp": {
  10001. "type": "object"
  10002. },
  10003. ".ManagementGetAllProviderApiResp": {
  10004. "type": "object"
  10005. },
  10006. ".ManagementGetBaseApiInfoResp": {
  10007. "type": "object"
  10008. },
  10009. ".ManagementGetBaseApiListResp": {
  10010. "type": "object"
  10011. },
  10012. ".ManagementGetBaseApiParamTypeListResp": {
  10013. "type": "object"
  10014. },
  10015. ".ManagementGetBaseApiProviderListResp": {
  10016. "type": "object"
  10017. },
  10018. ".ManagementGetDataSupplementReq": {
  10019. "type": "object"
  10020. },
  10021. ".ManagementGetDataSupplementResp": {
  10022. "type": "object"
  10023. },
  10024. ".ManagementGetErrorListResp": {
  10025. "type": "object"
  10026. },
  10027. ".ManagementGetFilterRuleResp": {
  10028. "type": "object"
  10029. },
  10030. ".ManagementGetH5ApiListResp": {
  10031. "type": "object"
  10032. },
  10033. ".ManagementGetH5ServiceListResp": {
  10034. "type": "object"
  10035. },
  10036. ".ManagementGetH5ThemeColorListResp": {
  10037. "type": "object"
  10038. },
  10039. ".ManagementGetMerchantBaseApiInfoResp": {
  10040. "type": "object"
  10041. },
  10042. ".ManagementGetMerchantBaseApiListAllResp": {
  10043. "type": "object"
  10044. },
  10045. ".ManagementGetMerchantBaseApiListResp": {
  10046. "type": "object"
  10047. },
  10048. ".ManagementGetMerchantDataApiListByDayResp": {
  10049. "type": "object"
  10050. },
  10051. ".ManagementGetMerchantDataApiListByTotalResp": {
  10052. "type": "object"
  10053. },
  10054. ".ManagementGetMerchantDataApiListResp": {
  10055. "type": "object"
  10056. },
  10057. ".ManagementGetMerchantDataApiQuotaResp": {
  10058. "type": "object"
  10059. },
  10060. ".ManagementGetMerchantH5ComboResp": {
  10061. "type": "object"
  10062. },
  10063. ".ManagementGetMerchantH5ServiceResp": {
  10064. "type": "object"
  10065. },
  10066. ".ManagementGetProviderApiListResp": {
  10067. "type": "object"
  10068. },
  10069. ".ManagementGetProviderMerchantApiListResp": {
  10070. "type": "object"
  10071. },
  10072. ".ManagementGetProviderPlatformListResp": {
  10073. "type": "object"
  10074. },
  10075. ".ManagementGetSuplementTitleResp": {
  10076. "type": "object"
  10077. },
  10078. ".ManagementGetSupplementDbResp": {
  10079. "type": "object"
  10080. },
  10081. ".ManagementGetTryApiTaskListResp": {
  10082. "type": "object"
  10083. },
  10084. ".ManagementGetUserMerchantAuthListResp": {
  10085. "type": "object"
  10086. },
  10087. ".ManagementGetUserMerchantListNewResp": {
  10088. "type": "object"
  10089. },
  10090. ".ManagementGetUserMerchantListResp": {
  10091. "type": "object"
  10092. },
  10093. ".ManagementH5ApiAddBaseApiResp": {
  10094. "type": "object"
  10095. },
  10096. ".ManagementH5ApiGetBaseApiListResp": {
  10097. "type": "object"
  10098. },
  10099. ".ManagementH5ServiceAddComboReq": {
  10100. "type": "object"
  10101. },
  10102. ".ManagementH5ServiceAddComboResp": {
  10103. "type": "object"
  10104. },
  10105. ".ManagementH5ServiceAddH5ApiResp": {
  10106. "type": "object"
  10107. },
  10108. ".ManagementH5ServiceDelComboResp": {
  10109. "type": "object"
  10110. },
  10111. ".ManagementH5ServiceGetComboListResp": {
  10112. "type": "object"
  10113. },
  10114. ".ManagementH5ServiceGetH5ApiListResp": {
  10115. "type": "object"
  10116. },
  10117. ".ManagementH5ServiceSetComboFreeResp": {
  10118. "type": "object"
  10119. },
  10120. ".ManagementH5ServiceUpdateComboResp": {
  10121. "type": "object"
  10122. },
  10123. ".ManagementPayOrderResp": {
  10124. "type": "object"
  10125. },
  10126. ".ManagementReleaseH5ServiceResp": {
  10127. "type": "object"
  10128. },
  10129. ".ManagementSetBaseApiShowInfoResp": {
  10130. "type": "object"
  10131. },
  10132. ".ManagementSetBaseApiStateBody": {
  10133. "type": "object"
  10134. },
  10135. ".ManagementSetBaseApiStateResp": {
  10136. "type": "object"
  10137. },
  10138. ".ManagementSetBaseApiThresholdResp": {
  10139. "type": "object"
  10140. },
  10141. ".ManagementSetDayCountLimitBody": {
  10142. "type": "object"
  10143. },
  10144. ".ManagementSetDayCountLimitResp": {
  10145. "type": "object"
  10146. },
  10147. ".ManagementSetH5ApiStateResp": {
  10148. "type": "object"
  10149. },
  10150. ".ManagementSetMerchantDataApiQuotaBody": {
  10151. "type": "object"
  10152. },
  10153. ".ManagementSetMerchantDataApiQuotaResp": {
  10154. "type": "object"
  10155. },
  10156. ".ManagementSetMerchantH5ComboResp": {
  10157. "type": "object"
  10158. },
  10159. ".ManagementSetMerchantOrderPriceResp": {
  10160. "type": "object"
  10161. },
  10162. ".ManagementSetProviderThresholdResp": {
  10163. "type": "object"
  10164. },
  10165. ".ManagementSetUserMerchantAuthStateBody": {
  10166. "type": "object"
  10167. },
  10168. ".ManagementSetUserMerchantAuthStateResp": {
  10169. "type": "object"
  10170. },
  10171. ".ManagementTryApiExcelResp": {
  10172. "type": "object"
  10173. },
  10174. ".ManagementTryBaseApiReq": {
  10175. "type": "object"
  10176. },
  10177. ".ManagementTryBaseApiResp": {
  10178. "type": "object"
  10179. },
  10180. ".ManagementTryProviderApiResp": {
  10181. "type": "object"
  10182. },
  10183. ".ManagementUpdateBaseApiResp": {
  10184. "type": "object"
  10185. },
  10186. ".ManagementUpdateDataSupplementReq": {
  10187. "type": "object"
  10188. },
  10189. ".ManagementUpdateDataSupplementResp": {
  10190. "type": "object"
  10191. },
  10192. ".ManagementUpdateErrorResp": {
  10193. "type": "object"
  10194. },
  10195. ".ManagementUpdateH5ApiResp": {
  10196. "type": "object"
  10197. },
  10198. ".ManagementUpdateH5ServiceResp": {
  10199. "type": "object"
  10200. },
  10201. ".ManagementUpdateH5ThemeColorResp": {
  10202. "type": "object"
  10203. },
  10204. ".ManagementUpdateMerchantBaseApiReq": {
  10205. "type": "object"
  10206. },
  10207. ".ManagementUpdateMerchantBaseApiResp": {
  10208. "type": "object"
  10209. },
  10210. ".ManagementUpdateProviderApiReq": {
  10211. "type": "object"
  10212. },
  10213. ".ManagementUpdateProviderApiResp": {
  10214. "type": "object"
  10215. },
  10216. ".ManagementUpdateProviderPlatformReq": {
  10217. "type": "object"
  10218. },
  10219. ".ManagementUpdateProviderPlatformResp": {
  10220. "type": "object"
  10221. },
  10222. ".ManagementUpdateUserMerchantResp": {
  10223. "type": "object"
  10224. },
  10225. ".MerchantAddBaseApiReq": {
  10226. "type": "object"
  10227. },
  10228. ".MerchantChargeReq": {
  10229. "type": "object"
  10230. },
  10231. ".MerchantChargeResp": {
  10232. "type": "object"
  10233. },
  10234. ".MerchantDataApiPriceListResp": {
  10235. "type": "object"
  10236. },
  10237. ".MerchantPriceListResp": {
  10238. "type": "object"
  10239. },
  10240. ".ServiceManagementOrderListResp": {
  10241. "type": "object"
  10242. },
  10243. ".SetMerchantDataApiPriceReqReq": {
  10244. "type": "object"
  10245. },
  10246. ".SetMerchantDataApiPriceReqResp": {
  10247. "type": "object"
  10248. },
  10249. ".SetMerchantTypeReq": {
  10250. "type": "object"
  10251. },
  10252. ".SetMerchantTypeResp": {
  10253. "type": "object"
  10254. },
  10255. ".ThirdPartyInterfaceErrorAnalyzeResp": {
  10256. "type": "object"
  10257. },
  10258. ".ThirdpartLogExportInfo": {
  10259. "type": "object"
  10260. },
  10261. ".TryApiTaskListResp": {
  10262. "type": "object"
  10263. },
  10264. ".UpdateBillDetailReq": {
  10265. "type": "object"
  10266. },
  10267. ".UpdateBillDetailResp": {
  10268. "type": "object"
  10269. },
  10270. ".UpdateManagementSetMerchantDataApiBody": {
  10271. "type": "object"
  10272. },
  10273. ".UpdateManagementSetMerchantDataApiResp": {
  10274. "type": "object"
  10275. },
  10276. ".UpdateMerchantDataApiAliasBody": {
  10277. "type": "object"
  10278. },
  10279. ".UpdateProviderApiHystrixBody": {
  10280. "type": "object"
  10281. },
  10282. ".UpdateProviderApiHystrixResp": {
  10283. "type": "object"
  10284. },
  10285. ".UpdateRbacGroup": {
  10286. "type": "object"
  10287. },
  10288. ".UpdateRbacGroupResp": {
  10289. "type": "object"
  10290. },
  10291. ".UpdateStatusBody": {
  10292. "type": "object"
  10293. },
  10294. ".UpdateStatusResp": {
  10295. "type": "object"
  10296. },
  10297. ".UserMerchantInfo": {
  10298. "type": "object"
  10299. },
  10300. "param_v1_0.ManagementSetBaseApiThresholdBody": {
  10301. "title": "ManagementSetBaseApiThresholdBody",
  10302. "type": "object",
  10303. "properties": {
  10304. "rate_limit": {
  10305. "description": "并发限制",
  10306. "type": "integer",
  10307. "format": "int64"
  10308. },
  10309. "threshold_fail_rate": {
  10310. "type": "number",
  10311. "format": "double"
  10312. },
  10313. "threshold_norecord_rate": {
  10314. "type": "number",
  10315. "format": "double"
  10316. },
  10317. "threshold_timeout": {
  10318. "type": "integer",
  10319. "format": "int64"
  10320. },
  10321. "warning_enable": {
  10322. "type": "boolean"
  10323. }
  10324. }
  10325. },
  10326. "param_v1_0.ManagementSetProviderThresholdBody": {
  10327. "title": "ManagementSetProviderThresholdBody",
  10328. "type": "object",
  10329. "properties": {
  10330. "threshold_fail_rate": {
  10331. "type": "number",
  10332. "format": "double"
  10333. },
  10334. "threshold_norecord_rate": {
  10335. "type": "number",
  10336. "format": "double"
  10337. },
  10338. "threshold_timeout": {
  10339. "type": "integer",
  10340. "format": "int64"
  10341. },
  10342. "warning_enable": {
  10343. "type": "boolean"
  10344. }
  10345. }
  10346. }
  10347. },
  10348. "tags": [
  10349. {
  10350. "name": "base_api",
  10351. "description": "Operations about base api\n"
  10352. },
  10353. {
  10354. "name": "user_merchant",
  10355. "description": "Operations about merchant user\n"
  10356. },
  10357. {
  10358. "name": "merchant_api",
  10359. "description": "Operations about merchant api\n"
  10360. },
  10361. {
  10362. "name": "merchant_order",
  10363. "description": "Operations about merchant order\n"
  10364. },
  10365. {
  10366. "name": "merchant_h5",
  10367. "description": "Operations about merchant api\n"
  10368. },
  10369. {
  10370. "name": "admin",
  10371. "description": "Operations about admin api\n"
  10372. },
  10373. {
  10374. "name": "data_api",
  10375. "description": "Operations about data api\n"
  10376. },
  10377. {
  10378. "name": "provider",
  10379. "description": "Operations about provider\n"
  10380. },
  10381. {
  10382. "name": "access_log",
  10383. "description": "Operations about access log api\n"
  10384. },
  10385. {
  10386. "name": "error_code",
  10387. "description": "Operations about error code\n"
  10388. },
  10389. {
  10390. "name": "h5",
  10391. "description": "Operations about base api\n"
  10392. },
  10393. {
  10394. "name": "h5",
  10395. "description": "Operations about base api\n"
  10396. },
  10397. {
  10398. "name": "service_order",
  10399. "description": "Operations about base api\n"
  10400. },
  10401. {
  10402. "name": "action_log",
  10403. "description": "用户行为日志\n"
  10404. },
  10405. {
  10406. "name": "auth",
  10407. "description": "Operations about auth api\n"
  10408. },
  10409. {
  10410. "name": "crontab",
  10411. "description": "Operations about access log api\n"
  10412. },
  10413. {
  10414. "name": "data_editor",
  10415. "description": "Operations about provider\n"
  10416. },
  10417. {
  10418. "name": "accounting",
  10419. "description": "Operations about data api\n"
  10420. }
  10421. ]
  10422. }