swagger.yml 177 KB

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