2
0

swagger.yaml 136 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677
  1. definitions:
  2. common.JSONMap:
  3. additionalProperties: true
  4. type: object
  5. config.AliyunOSS:
  6. properties:
  7. access-key-id:
  8. type: string
  9. access-key-secret:
  10. type: string
  11. base-path:
  12. type: string
  13. bucket-name:
  14. type: string
  15. bucket-url:
  16. type: string
  17. endpoint:
  18. type: string
  19. type: object
  20. config.Autocode:
  21. properties:
  22. ai-path:
  23. type: string
  24. module:
  25. type: string
  26. root:
  27. type: string
  28. server:
  29. type: string
  30. web:
  31. type: string
  32. type: object
  33. config.AwsS3:
  34. properties:
  35. base-url:
  36. type: string
  37. bucket:
  38. type: string
  39. disable-ssl:
  40. type: boolean
  41. endpoint:
  42. type: string
  43. path-prefix:
  44. type: string
  45. region:
  46. type: string
  47. s3-force-path-style:
  48. type: boolean
  49. secret-id:
  50. type: string
  51. secret-key:
  52. type: string
  53. type: object
  54. config.CORS:
  55. properties:
  56. mode:
  57. type: string
  58. whitelist:
  59. items:
  60. $ref: '#/definitions/config.CORSWhitelist'
  61. type: array
  62. type: object
  63. config.CORSWhitelist:
  64. properties:
  65. allow-credentials:
  66. type: boolean
  67. allow-headers:
  68. type: string
  69. allow-methods:
  70. type: string
  71. allow-origin:
  72. type: string
  73. expose-headers:
  74. type: string
  75. type: object
  76. config.Captcha:
  77. properties:
  78. img-height:
  79. description: 验证码高度
  80. type: integer
  81. img-width:
  82. description: 验证码宽度
  83. type: integer
  84. key-long:
  85. description: 验证码长度
  86. type: integer
  87. open-captcha:
  88. description: 防爆破验证码开启此数,0代表每次登录都需要验证码,其他数字代表错误密码此数,如3代表错误三次后出现验证码
  89. type: integer
  90. open-captcha-timeout:
  91. description: 防爆破验证码超时时间,单位:s(秒)
  92. type: integer
  93. type: object
  94. config.CloudflareR2:
  95. properties:
  96. access-key-id:
  97. type: string
  98. account-id:
  99. type: string
  100. base-url:
  101. type: string
  102. bucket:
  103. type: string
  104. path:
  105. type: string
  106. secret-access-key:
  107. type: string
  108. type: object
  109. config.DiskList:
  110. properties:
  111. mount-point:
  112. type: string
  113. type: object
  114. config.Excel:
  115. properties:
  116. dir:
  117. type: string
  118. type: object
  119. config.HuaWeiObs:
  120. properties:
  121. access-key:
  122. type: string
  123. bucket:
  124. type: string
  125. endpoint:
  126. type: string
  127. path:
  128. type: string
  129. secret-key:
  130. type: string
  131. type: object
  132. config.JWT:
  133. properties:
  134. buffer-time:
  135. description: 缓冲时间
  136. type: string
  137. expires-time:
  138. description: 过期时间
  139. type: string
  140. issuer:
  141. description: 签发者
  142. type: string
  143. signing-key:
  144. description: jwt签名
  145. type: string
  146. type: object
  147. config.Local:
  148. properties:
  149. path:
  150. description: 本地文件访问路径
  151. type: string
  152. store-path:
  153. description: 本地文件存储路径
  154. type: string
  155. type: object
  156. config.Minio:
  157. properties:
  158. access-key-id:
  159. type: string
  160. access-key-secret:
  161. type: string
  162. base-path:
  163. type: string
  164. bucket-name:
  165. type: string
  166. bucket-url:
  167. type: string
  168. endpoint:
  169. type: string
  170. use-ssl:
  171. type: boolean
  172. type: object
  173. config.Mongo:
  174. properties:
  175. auth-source:
  176. description: 验证数据库
  177. type: string
  178. coll:
  179. description: collection name
  180. type: string
  181. connect-timeout-ms:
  182. description: 连接超时时间
  183. type: integer
  184. database:
  185. description: database name
  186. type: string
  187. hosts:
  188. description: 主机列表
  189. items:
  190. $ref: '#/definitions/config.MongoHost'
  191. type: array
  192. is-zap:
  193. description: 是否开启zap日志
  194. type: boolean
  195. max-pool-size:
  196. description: 最大连接池
  197. type: integer
  198. min-pool-size:
  199. description: 最小连接池
  200. type: integer
  201. options:
  202. description: mongodb options
  203. type: string
  204. password:
  205. description: 密码
  206. type: string
  207. socket-timeout-ms:
  208. description: socket超时时间
  209. type: integer
  210. username:
  211. description: 用户名
  212. type: string
  213. type: object
  214. config.MongoHost:
  215. properties:
  216. host:
  217. description: ip地址
  218. type: string
  219. port:
  220. description: 端口
  221. type: string
  222. type: object
  223. config.Mssql:
  224. properties:
  225. config:
  226. description: 高级配置
  227. type: string
  228. db-name:
  229. description: 数据库名
  230. type: string
  231. engine:
  232. default: InnoDB
  233. description: 数据库引擎,默认InnoDB
  234. type: string
  235. log-mode:
  236. description: 是否开启Gorm全局日志
  237. type: string
  238. log-zap:
  239. description: 是否通过zap写入日志文件
  240. type: boolean
  241. max-idle-conns:
  242. description: 空闲中的最大连接数
  243. type: integer
  244. max-open-conns:
  245. description: 打开到数据库的最大连接数
  246. type: integer
  247. password:
  248. description: 数据库密码
  249. type: string
  250. path:
  251. description: 数据库地址
  252. type: string
  253. port:
  254. description: 数据库端口
  255. type: string
  256. prefix:
  257. description: 数据库前缀
  258. type: string
  259. singular:
  260. description: 是否开启全局禁用复数,true表示开启
  261. type: boolean
  262. username:
  263. description: 数据库账号
  264. type: string
  265. type: object
  266. config.Mysql:
  267. properties:
  268. config:
  269. description: 高级配置
  270. type: string
  271. db-name:
  272. description: 数据库名
  273. type: string
  274. engine:
  275. default: InnoDB
  276. description: 数据库引擎,默认InnoDB
  277. type: string
  278. log-mode:
  279. description: 是否开启Gorm全局日志
  280. type: string
  281. log-zap:
  282. description: 是否通过zap写入日志文件
  283. type: boolean
  284. max-idle-conns:
  285. description: 空闲中的最大连接数
  286. type: integer
  287. max-open-conns:
  288. description: 打开到数据库的最大连接数
  289. type: integer
  290. password:
  291. description: 数据库密码
  292. type: string
  293. path:
  294. description: 数据库地址
  295. type: string
  296. port:
  297. description: 数据库端口
  298. type: string
  299. prefix:
  300. description: 数据库前缀
  301. type: string
  302. singular:
  303. description: 是否开启全局禁用复数,true表示开启
  304. type: boolean
  305. username:
  306. description: 数据库账号
  307. type: string
  308. type: object
  309. config.Oracle:
  310. properties:
  311. config:
  312. description: 高级配置
  313. type: string
  314. db-name:
  315. description: 数据库名
  316. type: string
  317. engine:
  318. default: InnoDB
  319. description: 数据库引擎,默认InnoDB
  320. type: string
  321. log-mode:
  322. description: 是否开启Gorm全局日志
  323. type: string
  324. log-zap:
  325. description: 是否通过zap写入日志文件
  326. type: boolean
  327. max-idle-conns:
  328. description: 空闲中的最大连接数
  329. type: integer
  330. max-open-conns:
  331. description: 打开到数据库的最大连接数
  332. type: integer
  333. password:
  334. description: 数据库密码
  335. type: string
  336. path:
  337. description: 数据库地址
  338. type: string
  339. port:
  340. description: 数据库端口
  341. type: string
  342. prefix:
  343. description: 数据库前缀
  344. type: string
  345. singular:
  346. description: 是否开启全局禁用复数,true表示开启
  347. type: boolean
  348. username:
  349. description: 数据库账号
  350. type: string
  351. type: object
  352. config.Pgsql:
  353. properties:
  354. config:
  355. description: 高级配置
  356. type: string
  357. db-name:
  358. description: 数据库名
  359. type: string
  360. engine:
  361. default: InnoDB
  362. description: 数据库引擎,默认InnoDB
  363. type: string
  364. log-mode:
  365. description: 是否开启Gorm全局日志
  366. type: string
  367. log-zap:
  368. description: 是否通过zap写入日志文件
  369. type: boolean
  370. max-idle-conns:
  371. description: 空闲中的最大连接数
  372. type: integer
  373. max-open-conns:
  374. description: 打开到数据库的最大连接数
  375. type: integer
  376. password:
  377. description: 数据库密码
  378. type: string
  379. path:
  380. description: 数据库地址
  381. type: string
  382. port:
  383. description: 数据库端口
  384. type: string
  385. prefix:
  386. description: 数据库前缀
  387. type: string
  388. singular:
  389. description: 是否开启全局禁用复数,true表示开启
  390. type: boolean
  391. username:
  392. description: 数据库账号
  393. type: string
  394. type: object
  395. config.Qiniu:
  396. properties:
  397. access-key:
  398. description: 秘钥AK
  399. type: string
  400. bucket:
  401. description: 空间名称
  402. type: string
  403. img-path:
  404. description: CDN加速域名
  405. type: string
  406. secret-key:
  407. description: 秘钥SK
  408. type: string
  409. use-cdn-domains:
  410. description: 上传是否使用CDN上传加速
  411. type: boolean
  412. use-https:
  413. description: 是否使用https
  414. type: boolean
  415. zone:
  416. description: 存储区域
  417. type: string
  418. type: object
  419. config.Redis:
  420. properties:
  421. addr:
  422. description: 服务器地址:端口
  423. type: string
  424. clusterAddrs:
  425. description: 集群模式下的节点地址列表
  426. items:
  427. type: string
  428. type: array
  429. db:
  430. description: 单实例模式下redis的哪个数据库
  431. type: integer
  432. name:
  433. description: 代表当前实例的名字
  434. type: string
  435. password:
  436. description: 密码
  437. type: string
  438. useCluster:
  439. description: 是否使用集群模式
  440. type: boolean
  441. type: object
  442. config.Server:
  443. properties:
  444. aliyun-oss:
  445. $ref: '#/definitions/config.AliyunOSS'
  446. autocode:
  447. allOf:
  448. - $ref: '#/definitions/config.Autocode'
  449. description: auto
  450. aws-s3:
  451. $ref: '#/definitions/config.AwsS3'
  452. captcha:
  453. $ref: '#/definitions/config.Captcha'
  454. cloudflare-r2:
  455. $ref: '#/definitions/config.CloudflareR2'
  456. cors:
  457. allOf:
  458. - $ref: '#/definitions/config.CORS'
  459. description: 跨域配置
  460. db-list:
  461. items:
  462. $ref: '#/definitions/config.SpecializedDB'
  463. type: array
  464. disk-list:
  465. items:
  466. $ref: '#/definitions/config.DiskList'
  467. type: array
  468. email:
  469. $ref: '#/definitions/github_com_flipped-aurora_gin-vue-admin_server_config.Email'
  470. excel:
  471. $ref: '#/definitions/config.Excel'
  472. hua-wei-obs:
  473. $ref: '#/definitions/config.HuaWeiObs'
  474. jwt:
  475. $ref: '#/definitions/config.JWT'
  476. local:
  477. allOf:
  478. - $ref: '#/definitions/config.Local'
  479. description: oss
  480. minio:
  481. $ref: '#/definitions/config.Minio'
  482. mongo:
  483. $ref: '#/definitions/config.Mongo'
  484. mssql:
  485. $ref: '#/definitions/config.Mssql'
  486. mysql:
  487. allOf:
  488. - $ref: '#/definitions/config.Mysql'
  489. description: gorm
  490. oracle:
  491. $ref: '#/definitions/config.Oracle'
  492. pgsql:
  493. $ref: '#/definitions/config.Pgsql'
  494. qiniu:
  495. $ref: '#/definitions/config.Qiniu'
  496. redis:
  497. $ref: '#/definitions/config.Redis'
  498. redis-list:
  499. items:
  500. $ref: '#/definitions/config.Redis'
  501. type: array
  502. sqlite:
  503. $ref: '#/definitions/config.Sqlite'
  504. system:
  505. $ref: '#/definitions/config.System'
  506. tencent-cos:
  507. $ref: '#/definitions/config.TencentCOS'
  508. zap:
  509. $ref: '#/definitions/config.Zap'
  510. type: object
  511. config.SpecializedDB:
  512. properties:
  513. alias-name:
  514. type: string
  515. config:
  516. description: 高级配置
  517. type: string
  518. db-name:
  519. description: 数据库名
  520. type: string
  521. disable:
  522. type: boolean
  523. engine:
  524. default: InnoDB
  525. description: 数据库引擎,默认InnoDB
  526. type: string
  527. log-mode:
  528. description: 是否开启Gorm全局日志
  529. type: string
  530. log-zap:
  531. description: 是否通过zap写入日志文件
  532. type: boolean
  533. max-idle-conns:
  534. description: 空闲中的最大连接数
  535. type: integer
  536. max-open-conns:
  537. description: 打开到数据库的最大连接数
  538. type: integer
  539. password:
  540. description: 数据库密码
  541. type: string
  542. path:
  543. description: 数据库地址
  544. type: string
  545. port:
  546. description: 数据库端口
  547. type: string
  548. prefix:
  549. description: 数据库前缀
  550. type: string
  551. singular:
  552. description: 是否开启全局禁用复数,true表示开启
  553. type: boolean
  554. type:
  555. type: string
  556. username:
  557. description: 数据库账号
  558. type: string
  559. type: object
  560. config.Sqlite:
  561. properties:
  562. config:
  563. description: 高级配置
  564. type: string
  565. db-name:
  566. description: 数据库名
  567. type: string
  568. engine:
  569. default: InnoDB
  570. description: 数据库引擎,默认InnoDB
  571. type: string
  572. log-mode:
  573. description: 是否开启Gorm全局日志
  574. type: string
  575. log-zap:
  576. description: 是否通过zap写入日志文件
  577. type: boolean
  578. max-idle-conns:
  579. description: 空闲中的最大连接数
  580. type: integer
  581. max-open-conns:
  582. description: 打开到数据库的最大连接数
  583. type: integer
  584. password:
  585. description: 数据库密码
  586. type: string
  587. path:
  588. description: 数据库地址
  589. type: string
  590. port:
  591. description: 数据库端口
  592. type: string
  593. prefix:
  594. description: 数据库前缀
  595. type: string
  596. singular:
  597. description: 是否开启全局禁用复数,true表示开启
  598. type: boolean
  599. username:
  600. description: 数据库账号
  601. type: string
  602. type: object
  603. config.System:
  604. properties:
  605. addr:
  606. description: 端口值
  607. type: integer
  608. db-type:
  609. description: 数据库类型:mysql(默认)|sqlite|sqlserver|postgresql
  610. type: string
  611. iplimit-count:
  612. type: integer
  613. iplimit-time:
  614. type: integer
  615. oss-type:
  616. description: Oss类型
  617. type: string
  618. router-prefix:
  619. type: string
  620. use-mongo:
  621. description: 使用mongo
  622. type: boolean
  623. use-multipoint:
  624. description: 多点登录拦截
  625. type: boolean
  626. use-redis:
  627. description: 使用redis
  628. type: boolean
  629. use-strict-auth:
  630. description: 使用树形角色分配模式
  631. type: boolean
  632. type: object
  633. config.TencentCOS:
  634. properties:
  635. base-url:
  636. type: string
  637. bucket:
  638. type: string
  639. path-prefix:
  640. type: string
  641. region:
  642. type: string
  643. secret-id:
  644. type: string
  645. secret-key:
  646. type: string
  647. type: object
  648. config.Zap:
  649. properties:
  650. director:
  651. description: 日志文件夹
  652. type: string
  653. encode-level:
  654. description: 编码级
  655. type: string
  656. format:
  657. description: 输出
  658. type: string
  659. level:
  660. description: 级别
  661. type: string
  662. log-in-console:
  663. description: 输出控制台
  664. type: boolean
  665. prefix:
  666. description: 日志前缀
  667. type: string
  668. retention-day:
  669. description: 日志保留天数
  670. type: integer
  671. show-line:
  672. description: 显示行
  673. type: boolean
  674. stacktrace-key:
  675. description: 栈名
  676. type: string
  677. type: object
  678. example.ExaAttachmentCategory:
  679. properties:
  680. ID:
  681. description: 主键ID
  682. type: integer
  683. children:
  684. items:
  685. $ref: '#/definitions/example.ExaAttachmentCategory'
  686. type: array
  687. createdAt:
  688. description: 创建时间
  689. type: string
  690. name:
  691. type: string
  692. pid:
  693. type: integer
  694. updatedAt:
  695. description: 更新时间
  696. type: string
  697. type: object
  698. example.ExaCustomer:
  699. properties:
  700. ID:
  701. description: 主键ID
  702. type: integer
  703. createdAt:
  704. description: 创建时间
  705. type: string
  706. customerName:
  707. description: 客户名
  708. type: string
  709. customerPhoneData:
  710. description: 客户手机号
  711. type: string
  712. sysUser:
  713. allOf:
  714. - $ref: '#/definitions/system.SysUser'
  715. description: 管理详情
  716. sysUserAuthorityID:
  717. description: 管理角色ID
  718. type: integer
  719. sysUserId:
  720. description: 管理ID
  721. type: integer
  722. updatedAt:
  723. description: 更新时间
  724. type: string
  725. type: object
  726. example.ExaFile:
  727. properties:
  728. ID:
  729. description: 主键ID
  730. type: integer
  731. chunkTotal:
  732. type: integer
  733. createdAt:
  734. description: 创建时间
  735. type: string
  736. exaFileChunk:
  737. items:
  738. $ref: '#/definitions/example.ExaFileChunk'
  739. type: array
  740. fileMd5:
  741. type: string
  742. fileName:
  743. type: string
  744. filePath:
  745. type: string
  746. isFinish:
  747. type: boolean
  748. updatedAt:
  749. description: 更新时间
  750. type: string
  751. type: object
  752. example.ExaFileChunk:
  753. properties:
  754. ID:
  755. description: 主键ID
  756. type: integer
  757. createdAt:
  758. description: 创建时间
  759. type: string
  760. exaFileID:
  761. type: integer
  762. fileChunkNumber:
  763. type: integer
  764. fileChunkPath:
  765. type: string
  766. updatedAt:
  767. description: 更新时间
  768. type: string
  769. type: object
  770. example.ExaFileUploadAndDownload:
  771. properties:
  772. ID:
  773. description: 主键ID
  774. type: integer
  775. classId:
  776. description: 分类id
  777. type: integer
  778. createdAt:
  779. description: 创建时间
  780. type: string
  781. key:
  782. description: 编号
  783. type: string
  784. name:
  785. description: 文件名
  786. type: string
  787. tag:
  788. description: 文件标签
  789. type: string
  790. updatedAt:
  791. description: 更新时间
  792. type: string
  793. url:
  794. description: 文件地址
  795. type: string
  796. type: object
  797. github_com_flipped-aurora_gin-vue-admin_server_config.Email:
  798. properties:
  799. from:
  800. description: 发件人 你自己要发邮件的邮箱
  801. type: string
  802. host:
  803. description: 服务器地址 例如 smtp.qq.com 请前往QQ或者你要发邮件的邮箱查看其smtp协议
  804. type: string
  805. is-ssl:
  806. description: 是否SSL 是否开启SSL
  807. type: boolean
  808. nickname:
  809. description: 昵称 发件人昵称 通常为自己的邮箱
  810. type: string
  811. port:
  812. description: 端口 请前往QQ或者你要发邮件的邮箱查看其smtp协议 大多为 465
  813. type: integer
  814. secret:
  815. description: 密钥 用于登录的密钥 最好不要用邮箱密码 去邮箱smtp申请一个用于登录的密钥
  816. type: string
  817. to:
  818. description: 收件人:多个以英文逗号分隔 例:[email protected] [email protected] 正式开发中请把此项目作为参数使用
  819. type: string
  820. type: object
  821. model.Info:
  822. properties:
  823. ID:
  824. description: 主键ID
  825. type: integer
  826. attachments:
  827. description: 附件
  828. items:
  829. type: object
  830. type: array
  831. content:
  832. description: 内容
  833. type: string
  834. createdAt:
  835. description: 创建时间
  836. type: string
  837. title:
  838. description: 标题
  839. type: string
  840. updatedAt:
  841. description: 更新时间
  842. type: string
  843. userID:
  844. description: 作者
  845. type: integer
  846. type: object
  847. request.AddMenuAuthorityInfo:
  848. properties:
  849. authorityId:
  850. description: 角色ID
  851. type: integer
  852. menus:
  853. items:
  854. $ref: '#/definitions/system.SysBaseMenu'
  855. type: array
  856. type: object
  857. request.AutoCode:
  858. properties:
  859. abbreviation:
  860. description: Struct简称
  861. example: Struct简称
  862. type: string
  863. autoCreateApiToSql:
  864. description: 是否自动创建api
  865. example: false
  866. type: boolean
  867. autoCreateBtnAuth:
  868. description: 是否自动创建按钮权限
  869. example: false
  870. type: boolean
  871. autoCreateMenuToSql:
  872. description: 是否自动创建menu
  873. example: false
  874. type: boolean
  875. autoCreateResource:
  876. description: 是否自动创建资源标识
  877. example: false
  878. type: boolean
  879. autoMigrate:
  880. description: 是否自动迁移表结构
  881. example: false
  882. type: boolean
  883. businessDB:
  884. description: 业务数据库
  885. example: 业务数据库
  886. type: string
  887. description:
  888. description: Struct中文名称
  889. example: Struct中文名称
  890. type: string
  891. fields:
  892. items:
  893. $ref: '#/definitions/request.AutoCodeField'
  894. type: array
  895. generateServer:
  896. description: 是否生成server
  897. example: true
  898. type: boolean
  899. generateWeb:
  900. description: 是否生成web
  901. example: true
  902. type: boolean
  903. gvaModel:
  904. description: 是否使用gva默认Model
  905. example: false
  906. type: boolean
  907. humpPackageName:
  908. description: go文件名称
  909. example: go文件名称
  910. type: string
  911. isAdd:
  912. description: 是否新增
  913. example: false
  914. type: boolean
  915. isTree:
  916. description: 是否树形结构
  917. example: false
  918. type: boolean
  919. onlyTemplate:
  920. description: 是否只生成模板
  921. example: false
  922. type: boolean
  923. package:
  924. type: string
  925. packageName:
  926. description: 文件名称
  927. example: 文件名称
  928. type: string
  929. primaryField:
  930. $ref: '#/definitions/request.AutoCodeField'
  931. structName:
  932. description: Struct名称
  933. example: Struct名称
  934. type: string
  935. tableName:
  936. description: 表名
  937. example: 表名
  938. type: string
  939. treeJson:
  940. description: 展示的树json字段
  941. example: 展示的树json字段
  942. type: string
  943. type: object
  944. request.AutoCodeField:
  945. properties:
  946. checkDataSource:
  947. description: 是否检查数据源
  948. type: boolean
  949. clearable:
  950. description: 是否可清空
  951. type: boolean
  952. columnName:
  953. description: 数据库字段
  954. type: string
  955. comment:
  956. description: 数据库字段描述
  957. type: string
  958. dataSource:
  959. allOf:
  960. - $ref: '#/definitions/request.DataSource'
  961. description: 数据源
  962. dataTypeLong:
  963. description: 数据库字段长度
  964. type: string
  965. defaultValue:
  966. description: 是否必填
  967. type: string
  968. desc:
  969. description: 是否前端详情
  970. type: boolean
  971. dictType:
  972. description: 字典
  973. type: string
  974. errorText:
  975. description: 校验失败文字
  976. type: string
  977. excel:
  978. description: 是否导入/导出
  979. type: boolean
  980. fieldDesc:
  981. description: 中文名
  982. type: string
  983. fieldIndexType:
  984. description: 索引类型
  985. type: string
  986. fieldJson:
  987. description: FieldJson
  988. type: string
  989. fieldName:
  990. description: Field名
  991. type: string
  992. fieldSearchHide:
  993. description: 是否隐藏查询条件
  994. type: boolean
  995. fieldSearchType:
  996. description: 搜索条件
  997. type: string
  998. fieldType:
  999. description: Field数据类型
  1000. type: string
  1001. form:
  1002. description: Front bool `json:"front"` // 是否前端可见
  1003. type: boolean
  1004. primaryKey:
  1005. description: 是否主键
  1006. type: boolean
  1007. require:
  1008. description: 是否必填
  1009. type: boolean
  1010. sort:
  1011. description: 是否增加排序
  1012. type: boolean
  1013. table:
  1014. description: 是否前端表格列
  1015. type: boolean
  1016. type: object
  1017. request.CasbinInReceive:
  1018. properties:
  1019. authorityId:
  1020. description: 权限id
  1021. type: integer
  1022. casbinInfos:
  1023. items:
  1024. $ref: '#/definitions/request.CasbinInfo'
  1025. type: array
  1026. type: object
  1027. request.CasbinInfo:
  1028. properties:
  1029. method:
  1030. description: 方法
  1031. type: string
  1032. path:
  1033. description: 路径
  1034. type: string
  1035. type: object
  1036. request.ChangePasswordReq:
  1037. properties:
  1038. newPassword:
  1039. description: 新密码
  1040. type: string
  1041. password:
  1042. description: 密码
  1043. type: string
  1044. type: object
  1045. request.DataSource:
  1046. properties:
  1047. association:
  1048. description: 关联关系 1 一对一 2 一对多
  1049. type: integer
  1050. dbName:
  1051. type: string
  1052. hasDeletedAt:
  1053. type: boolean
  1054. label:
  1055. type: string
  1056. table:
  1057. type: string
  1058. value:
  1059. type: string
  1060. type: object
  1061. request.Empty:
  1062. type: object
  1063. request.ExaAttachmentCategorySearch:
  1064. properties:
  1065. classId:
  1066. type: integer
  1067. keyword:
  1068. description: 关键字
  1069. type: string
  1070. page:
  1071. description: 页码
  1072. type: integer
  1073. pageSize:
  1074. description: 每页大小
  1075. type: integer
  1076. type: object
  1077. request.GetAuthorityId:
  1078. properties:
  1079. authorityId:
  1080. description: 角色ID
  1081. type: integer
  1082. type: object
  1083. request.GetById:
  1084. properties:
  1085. id:
  1086. description: 主键ID
  1087. type: integer
  1088. type: object
  1089. request.GetUserList:
  1090. properties:
  1091. email:
  1092. type: string
  1093. keyword:
  1094. description: 关键字
  1095. type: string
  1096. nickName:
  1097. type: string
  1098. page:
  1099. description: 页码
  1100. type: integer
  1101. pageSize:
  1102. description: 每页大小
  1103. type: integer
  1104. phone:
  1105. type: string
  1106. username:
  1107. type: string
  1108. type: object
  1109. request.IdsReq:
  1110. properties:
  1111. ids:
  1112. items:
  1113. type: integer
  1114. type: array
  1115. type: object
  1116. request.InitDB:
  1117. properties:
  1118. adminPassword:
  1119. type: string
  1120. dbName:
  1121. description: 数据库名
  1122. type: string
  1123. dbPath:
  1124. description: sqlite数据库文件路径
  1125. type: string
  1126. dbType:
  1127. description: 数据库类型
  1128. type: string
  1129. host:
  1130. description: 服务器地址
  1131. type: string
  1132. password:
  1133. description: 数据库密码
  1134. type: string
  1135. port:
  1136. description: 数据库连接端口
  1137. type: string
  1138. template:
  1139. description: postgresql指定template
  1140. type: string
  1141. userName:
  1142. description: 数据库用户名
  1143. type: string
  1144. required:
  1145. - adminPassword
  1146. - dbName
  1147. type: object
  1148. request.Login:
  1149. properties:
  1150. captcha:
  1151. description: 验证码
  1152. type: string
  1153. captchaId:
  1154. description: 验证码ID
  1155. type: string
  1156. password:
  1157. description: 密码
  1158. type: string
  1159. username:
  1160. description: 用户名
  1161. type: string
  1162. type: object
  1163. request.PageInfo:
  1164. properties:
  1165. keyword:
  1166. description: 关键字
  1167. type: string
  1168. page:
  1169. description: 页码
  1170. type: integer
  1171. pageSize:
  1172. description: 每页大小
  1173. type: integer
  1174. type: object
  1175. request.Register:
  1176. properties:
  1177. authorityId:
  1178. example: int 角色id
  1179. type: string
  1180. authorityIds:
  1181. example: '[]uint 角色id'
  1182. type: string
  1183. email:
  1184. example: 电子邮箱
  1185. type: string
  1186. enable:
  1187. example: int 是否启用
  1188. type: string
  1189. headerImg:
  1190. example: 头像链接
  1191. type: string
  1192. nickName:
  1193. example: 昵称
  1194. type: string
  1195. passWord:
  1196. example: 密码
  1197. type: string
  1198. phone:
  1199. example: 电话号码
  1200. type: string
  1201. userName:
  1202. example: 用户名
  1203. type: string
  1204. type: object
  1205. request.SearchApiParams:
  1206. properties:
  1207. ID:
  1208. description: 主键ID
  1209. type: integer
  1210. apiGroup:
  1211. description: api组
  1212. type: string
  1213. createdAt:
  1214. description: 创建时间
  1215. type: string
  1216. desc:
  1217. description: 排序方式:升序false(默认)|降序true
  1218. type: boolean
  1219. description:
  1220. description: api中文描述
  1221. type: string
  1222. keyword:
  1223. description: 关键字
  1224. type: string
  1225. method:
  1226. description: 方法:创建POST(默认)|查看GET|更新PUT|删除DELETE
  1227. type: string
  1228. orderKey:
  1229. description: 排序
  1230. type: string
  1231. page:
  1232. description: 页码
  1233. type: integer
  1234. pageSize:
  1235. description: 每页大小
  1236. type: integer
  1237. path:
  1238. description: api路径
  1239. type: string
  1240. updatedAt:
  1241. description: 更新时间
  1242. type: string
  1243. type: object
  1244. request.SetUserAuth:
  1245. properties:
  1246. authorityId:
  1247. description: 角色ID
  1248. type: integer
  1249. type: object
  1250. request.SetUserAuthorities:
  1251. properties:
  1252. authorityIds:
  1253. description: 角色ID
  1254. items:
  1255. type: integer
  1256. type: array
  1257. id:
  1258. type: integer
  1259. type: object
  1260. request.SysAuthorityBtnReq:
  1261. properties:
  1262. authorityId:
  1263. type: integer
  1264. menuID:
  1265. type: integer
  1266. selected:
  1267. items:
  1268. type: integer
  1269. type: array
  1270. type: object
  1271. request.SysAutoCodePackageCreate:
  1272. properties:
  1273. desc:
  1274. example: 描述
  1275. type: string
  1276. label:
  1277. example: 展示名
  1278. type: string
  1279. packageName:
  1280. example: 包名
  1281. type: string
  1282. template:
  1283. example: 模版
  1284. type: string
  1285. type: object
  1286. request.SysAutoHistoryRollBack:
  1287. properties:
  1288. deleteApi:
  1289. description: 是否删除接口
  1290. type: boolean
  1291. deleteMenu:
  1292. description: 是否删除菜单
  1293. type: boolean
  1294. deleteTable:
  1295. description: 是否删除表
  1296. type: boolean
  1297. id:
  1298. description: 主键ID
  1299. type: integer
  1300. type: object
  1301. response.Email:
  1302. properties:
  1303. body:
  1304. description: 邮件内容
  1305. type: string
  1306. subject:
  1307. description: 邮件标题
  1308. type: string
  1309. to:
  1310. description: 邮件发送给谁
  1311. type: string
  1312. type: object
  1313. response.ExaCustomerResponse:
  1314. properties:
  1315. customer:
  1316. $ref: '#/definitions/example.ExaCustomer'
  1317. type: object
  1318. response.ExaFileResponse:
  1319. properties:
  1320. file:
  1321. $ref: '#/definitions/example.ExaFileUploadAndDownload'
  1322. type: object
  1323. response.FilePathResponse:
  1324. properties:
  1325. filePath:
  1326. type: string
  1327. type: object
  1328. response.FileResponse:
  1329. properties:
  1330. file:
  1331. $ref: '#/definitions/example.ExaFile'
  1332. type: object
  1333. response.LoginResponse:
  1334. properties:
  1335. expiresAt:
  1336. type: integer
  1337. token:
  1338. type: string
  1339. user:
  1340. $ref: '#/definitions/system.SysUser'
  1341. type: object
  1342. response.PageResult:
  1343. properties:
  1344. list: {}
  1345. page:
  1346. type: integer
  1347. pageSize:
  1348. type: integer
  1349. total:
  1350. type: integer
  1351. type: object
  1352. response.PolicyPathResponse:
  1353. properties:
  1354. paths:
  1355. items:
  1356. $ref: '#/definitions/request.CasbinInfo'
  1357. type: array
  1358. type: object
  1359. response.Response:
  1360. properties:
  1361. code:
  1362. type: integer
  1363. data: {}
  1364. msg:
  1365. type: string
  1366. type: object
  1367. response.SysAPIListResponse:
  1368. properties:
  1369. apis:
  1370. items:
  1371. $ref: '#/definitions/system.SysApi'
  1372. type: array
  1373. type: object
  1374. response.SysAPIResponse:
  1375. properties:
  1376. api:
  1377. $ref: '#/definitions/system.SysApi'
  1378. type: object
  1379. response.SysAuthorityBtnRes:
  1380. properties:
  1381. selected:
  1382. items:
  1383. type: integer
  1384. type: array
  1385. type: object
  1386. response.SysAuthorityCopyResponse:
  1387. properties:
  1388. authority:
  1389. $ref: '#/definitions/system.SysAuthority'
  1390. oldAuthorityId:
  1391. description: 旧角色ID
  1392. type: integer
  1393. type: object
  1394. response.SysAuthorityResponse:
  1395. properties:
  1396. authority:
  1397. $ref: '#/definitions/system.SysAuthority'
  1398. type: object
  1399. response.SysBaseMenuResponse:
  1400. properties:
  1401. menu:
  1402. $ref: '#/definitions/system.SysBaseMenu'
  1403. type: object
  1404. response.SysBaseMenusResponse:
  1405. properties:
  1406. menus:
  1407. items:
  1408. $ref: '#/definitions/system.SysBaseMenu'
  1409. type: array
  1410. type: object
  1411. response.SysCaptchaResponse:
  1412. properties:
  1413. captchaId:
  1414. type: string
  1415. captchaLength:
  1416. type: integer
  1417. openCaptcha:
  1418. type: boolean
  1419. picPath:
  1420. type: string
  1421. type: object
  1422. response.SysConfigResponse:
  1423. properties:
  1424. config:
  1425. $ref: '#/definitions/config.Server'
  1426. type: object
  1427. response.SysMenusResponse:
  1428. properties:
  1429. menus:
  1430. items:
  1431. $ref: '#/definitions/system.SysMenu'
  1432. type: array
  1433. type: object
  1434. response.SysUserResponse:
  1435. properties:
  1436. user:
  1437. $ref: '#/definitions/system.SysUser'
  1438. type: object
  1439. system.Condition:
  1440. properties:
  1441. ID:
  1442. description: 主键ID
  1443. type: integer
  1444. column:
  1445. type: string
  1446. createdAt:
  1447. description: 创建时间
  1448. type: string
  1449. from:
  1450. type: string
  1451. operator:
  1452. type: string
  1453. templateID:
  1454. type: string
  1455. updatedAt:
  1456. description: 更新时间
  1457. type: string
  1458. type: object
  1459. system.JoinTemplate:
  1460. properties:
  1461. ID:
  1462. description: 主键ID
  1463. type: integer
  1464. createdAt:
  1465. description: 创建时间
  1466. type: string
  1467. joins:
  1468. type: string
  1469. "on":
  1470. type: string
  1471. table:
  1472. type: string
  1473. templateID:
  1474. type: string
  1475. updatedAt:
  1476. description: 更新时间
  1477. type: string
  1478. type: object
  1479. system.Meta:
  1480. properties:
  1481. activeName:
  1482. type: string
  1483. closeTab:
  1484. description: 自动关闭tab
  1485. type: boolean
  1486. defaultMenu:
  1487. description: 是否是基础路由(开发中)
  1488. type: boolean
  1489. icon:
  1490. description: 菜单图标
  1491. type: string
  1492. keepAlive:
  1493. description: 是否缓存
  1494. type: boolean
  1495. title:
  1496. description: 菜单名
  1497. type: string
  1498. type: object
  1499. system.SysApi:
  1500. properties:
  1501. ID:
  1502. description: 主键ID
  1503. type: integer
  1504. apiGroup:
  1505. description: api组
  1506. type: string
  1507. createdAt:
  1508. description: 创建时间
  1509. type: string
  1510. description:
  1511. description: api中文描述
  1512. type: string
  1513. method:
  1514. description: 方法:创建POST(默认)|查看GET|更新PUT|删除DELETE
  1515. type: string
  1516. path:
  1517. description: api路径
  1518. type: string
  1519. updatedAt:
  1520. description: 更新时间
  1521. type: string
  1522. type: object
  1523. system.SysAuthority:
  1524. properties:
  1525. authorityId:
  1526. description: 角色ID
  1527. type: integer
  1528. authorityName:
  1529. description: 角色名
  1530. type: string
  1531. children:
  1532. items:
  1533. $ref: '#/definitions/system.SysAuthority'
  1534. type: array
  1535. createdAt:
  1536. description: 创建时间
  1537. type: string
  1538. dataAuthorityId:
  1539. items:
  1540. $ref: '#/definitions/system.SysAuthority'
  1541. type: array
  1542. defaultRouter:
  1543. description: 默认菜单(默认dashboard)
  1544. type: string
  1545. deletedAt:
  1546. type: string
  1547. menus:
  1548. items:
  1549. $ref: '#/definitions/system.SysBaseMenu'
  1550. type: array
  1551. parentId:
  1552. description: 父角色ID
  1553. type: integer
  1554. updatedAt:
  1555. description: 更新时间
  1556. type: string
  1557. type: object
  1558. system.SysBaseMenu:
  1559. properties:
  1560. ID:
  1561. description: 主键ID
  1562. type: integer
  1563. authoritys:
  1564. items:
  1565. $ref: '#/definitions/system.SysAuthority'
  1566. type: array
  1567. children:
  1568. items:
  1569. $ref: '#/definitions/system.SysBaseMenu'
  1570. type: array
  1571. component:
  1572. description: 对应前端文件路径
  1573. type: string
  1574. createdAt:
  1575. description: 创建时间
  1576. type: string
  1577. hidden:
  1578. description: 是否在列表隐藏
  1579. type: boolean
  1580. menuBtn:
  1581. items:
  1582. $ref: '#/definitions/system.SysBaseMenuBtn'
  1583. type: array
  1584. meta:
  1585. allOf:
  1586. - $ref: '#/definitions/system.Meta'
  1587. description: 附加属性
  1588. name:
  1589. description: 路由name
  1590. type: string
  1591. parameters:
  1592. items:
  1593. $ref: '#/definitions/system.SysBaseMenuParameter'
  1594. type: array
  1595. parentId:
  1596. description: 父菜单ID
  1597. type: integer
  1598. path:
  1599. description: 路由path
  1600. type: string
  1601. sort:
  1602. description: 排序标记
  1603. type: integer
  1604. updatedAt:
  1605. description: 更新时间
  1606. type: string
  1607. type: object
  1608. system.SysBaseMenuBtn:
  1609. properties:
  1610. ID:
  1611. description: 主键ID
  1612. type: integer
  1613. createdAt:
  1614. description: 创建时间
  1615. type: string
  1616. desc:
  1617. type: string
  1618. name:
  1619. type: string
  1620. sysBaseMenuID:
  1621. type: integer
  1622. updatedAt:
  1623. description: 更新时间
  1624. type: string
  1625. type: object
  1626. system.SysBaseMenuParameter:
  1627. properties:
  1628. ID:
  1629. description: 主键ID
  1630. type: integer
  1631. createdAt:
  1632. description: 创建时间
  1633. type: string
  1634. key:
  1635. description: 地址栏携带参数的key
  1636. type: string
  1637. sysBaseMenuID:
  1638. type: integer
  1639. type:
  1640. description: 地址栏携带参数为params还是query
  1641. type: string
  1642. updatedAt:
  1643. description: 更新时间
  1644. type: string
  1645. value:
  1646. description: 地址栏携带参数的值
  1647. type: string
  1648. type: object
  1649. system.SysDictionary:
  1650. properties:
  1651. ID:
  1652. description: 主键ID
  1653. type: integer
  1654. createdAt:
  1655. description: 创建时间
  1656. type: string
  1657. desc:
  1658. description: 描述
  1659. type: string
  1660. name:
  1661. description: 字典名(中)
  1662. type: string
  1663. status:
  1664. description: 状态
  1665. type: boolean
  1666. sysDictionaryDetails:
  1667. items:
  1668. $ref: '#/definitions/system.SysDictionaryDetail'
  1669. type: array
  1670. type:
  1671. description: 字典名(英)
  1672. type: string
  1673. updatedAt:
  1674. description: 更新时间
  1675. type: string
  1676. type: object
  1677. system.SysDictionaryDetail:
  1678. properties:
  1679. ID:
  1680. description: 主键ID
  1681. type: integer
  1682. createdAt:
  1683. description: 创建时间
  1684. type: string
  1685. extend:
  1686. description: 扩展值
  1687. type: string
  1688. label:
  1689. description: 展示值
  1690. type: string
  1691. sort:
  1692. description: 排序标记
  1693. type: integer
  1694. status:
  1695. description: 启用状态
  1696. type: boolean
  1697. sysDictionaryID:
  1698. description: 关联标记
  1699. type: integer
  1700. updatedAt:
  1701. description: 更新时间
  1702. type: string
  1703. value:
  1704. description: 字典值
  1705. type: string
  1706. type: object
  1707. system.SysExportTemplate:
  1708. properties:
  1709. ID:
  1710. description: 主键ID
  1711. type: integer
  1712. conditions:
  1713. items:
  1714. $ref: '#/definitions/system.Condition'
  1715. type: array
  1716. createdAt:
  1717. description: 创建时间
  1718. type: string
  1719. dbName:
  1720. description: 数据库名称
  1721. type: string
  1722. joinTemplate:
  1723. items:
  1724. $ref: '#/definitions/system.JoinTemplate'
  1725. type: array
  1726. limit:
  1727. type: integer
  1728. name:
  1729. description: 模板名称
  1730. type: string
  1731. order:
  1732. type: string
  1733. tableName:
  1734. description: 表名称
  1735. type: string
  1736. templateID:
  1737. description: 模板标识
  1738. type: string
  1739. templateInfo:
  1740. description: 模板信息
  1741. type: string
  1742. updatedAt:
  1743. description: 更新时间
  1744. type: string
  1745. type: object
  1746. system.SysMenu:
  1747. properties:
  1748. ID:
  1749. description: 主键ID
  1750. type: integer
  1751. authoritys:
  1752. items:
  1753. $ref: '#/definitions/system.SysAuthority'
  1754. type: array
  1755. btns:
  1756. additionalProperties:
  1757. type: integer
  1758. type: object
  1759. children:
  1760. items:
  1761. $ref: '#/definitions/system.SysMenu'
  1762. type: array
  1763. component:
  1764. description: 对应前端文件路径
  1765. type: string
  1766. createdAt:
  1767. description: 创建时间
  1768. type: string
  1769. hidden:
  1770. description: 是否在列表隐藏
  1771. type: boolean
  1772. menuBtn:
  1773. items:
  1774. $ref: '#/definitions/system.SysBaseMenuBtn'
  1775. type: array
  1776. menuId:
  1777. type: integer
  1778. meta:
  1779. allOf:
  1780. - $ref: '#/definitions/system.Meta'
  1781. description: 附加属性
  1782. name:
  1783. description: 路由name
  1784. type: string
  1785. parameters:
  1786. items:
  1787. $ref: '#/definitions/system.SysBaseMenuParameter'
  1788. type: array
  1789. parentId:
  1790. description: 父菜单ID
  1791. type: integer
  1792. path:
  1793. description: 路由path
  1794. type: string
  1795. sort:
  1796. description: 排序标记
  1797. type: integer
  1798. updatedAt:
  1799. description: 更新时间
  1800. type: string
  1801. type: object
  1802. system.SysOperationRecord:
  1803. properties:
  1804. ID:
  1805. description: 主键ID
  1806. type: integer
  1807. agent:
  1808. description: 代理
  1809. type: string
  1810. body:
  1811. description: 请求Body
  1812. type: string
  1813. createdAt:
  1814. description: 创建时间
  1815. type: string
  1816. error_message:
  1817. description: 错误信息
  1818. type: string
  1819. ip:
  1820. description: 请求ip
  1821. type: string
  1822. latency:
  1823. description: 延迟
  1824. type: string
  1825. method:
  1826. description: 请求方法
  1827. type: string
  1828. path:
  1829. description: 请求路径
  1830. type: string
  1831. resp:
  1832. description: 响应Body
  1833. type: string
  1834. status:
  1835. description: 请求状态
  1836. type: integer
  1837. updatedAt:
  1838. description: 更新时间
  1839. type: string
  1840. user:
  1841. $ref: '#/definitions/system.SysUser'
  1842. user_id:
  1843. description: 用户id
  1844. type: integer
  1845. type: object
  1846. system.SysParams:
  1847. properties:
  1848. ID:
  1849. description: 主键ID
  1850. type: integer
  1851. createdAt:
  1852. description: 创建时间
  1853. type: string
  1854. desc:
  1855. description: 参数说明
  1856. type: string
  1857. key:
  1858. description: 参数键
  1859. type: string
  1860. name:
  1861. description: 参数名称
  1862. type: string
  1863. updatedAt:
  1864. description: 更新时间
  1865. type: string
  1866. value:
  1867. description: 参数值
  1868. type: string
  1869. required:
  1870. - key
  1871. - name
  1872. - value
  1873. type: object
  1874. system.SysUser:
  1875. properties:
  1876. ID:
  1877. description: 主键ID
  1878. type: integer
  1879. authorities:
  1880. description: 多用户角色
  1881. items:
  1882. $ref: '#/definitions/system.SysAuthority'
  1883. type: array
  1884. authority:
  1885. allOf:
  1886. - $ref: '#/definitions/system.SysAuthority'
  1887. description: 用户角色
  1888. authorityId:
  1889. description: 用户角色ID
  1890. type: integer
  1891. createdAt:
  1892. description: 创建时间
  1893. type: string
  1894. email:
  1895. description: 用户邮箱
  1896. type: string
  1897. enable:
  1898. description: 用户是否被冻结 1正常 2冻结
  1899. type: integer
  1900. headerImg:
  1901. description: 用户头像
  1902. type: string
  1903. nickName:
  1904. description: 用户昵称
  1905. type: string
  1906. originSetting:
  1907. allOf:
  1908. - $ref: '#/definitions/common.JSONMap'
  1909. description: 配置
  1910. phone:
  1911. description: 用户手机号
  1912. type: string
  1913. updatedAt:
  1914. description: 更新时间
  1915. type: string
  1916. userName:
  1917. description: 用户登录名
  1918. type: string
  1919. uuid:
  1920. description: 用户UUID
  1921. type: string
  1922. type: object
  1923. system.System:
  1924. properties:
  1925. config:
  1926. $ref: '#/definitions/config.Server'
  1927. type: object
  1928. info:
  1929. contact: {}
  1930. description: 使用gin+vue进行极速开发的全栈开发基础平台
  1931. title: Gin-Vue-Admin Swagger API接口文档
  1932. version: v2.7.9-beta
  1933. paths:
  1934. /api/createApi:
  1935. post:
  1936. consumes:
  1937. - application/json
  1938. parameters:
  1939. - description: api路径, api中文描述, api组, 方法
  1940. in: body
  1941. name: data
  1942. required: true
  1943. schema:
  1944. $ref: '#/definitions/system.SysApi'
  1945. produces:
  1946. - application/json
  1947. responses:
  1948. "200":
  1949. description: 创建基础api
  1950. schema:
  1951. allOf:
  1952. - $ref: '#/definitions/response.Response'
  1953. - properties:
  1954. msg:
  1955. type: string
  1956. type: object
  1957. security:
  1958. - ApiKeyAuth: []
  1959. summary: 创建基础api
  1960. tags:
  1961. - SysApi
  1962. /api/deleteApi:
  1963. post:
  1964. consumes:
  1965. - application/json
  1966. parameters:
  1967. - description: ID
  1968. in: body
  1969. name: data
  1970. required: true
  1971. schema:
  1972. $ref: '#/definitions/system.SysApi'
  1973. produces:
  1974. - application/json
  1975. responses:
  1976. "200":
  1977. description: 删除api
  1978. schema:
  1979. allOf:
  1980. - $ref: '#/definitions/response.Response'
  1981. - properties:
  1982. msg:
  1983. type: string
  1984. type: object
  1985. security:
  1986. - ApiKeyAuth: []
  1987. summary: 删除api
  1988. tags:
  1989. - SysApi
  1990. /api/deleteApisByIds:
  1991. delete:
  1992. consumes:
  1993. - application/json
  1994. parameters:
  1995. - description: ID
  1996. in: body
  1997. name: data
  1998. required: true
  1999. schema:
  2000. $ref: '#/definitions/request.IdsReq'
  2001. produces:
  2002. - application/json
  2003. responses:
  2004. "200":
  2005. description: 删除选中Api
  2006. schema:
  2007. allOf:
  2008. - $ref: '#/definitions/response.Response'
  2009. - properties:
  2010. msg:
  2011. type: string
  2012. type: object
  2013. security:
  2014. - ApiKeyAuth: []
  2015. summary: 删除选中Api
  2016. tags:
  2017. - SysApi
  2018. /api/enterSyncApi:
  2019. post:
  2020. consumes:
  2021. - application/json
  2022. produces:
  2023. - application/json
  2024. responses:
  2025. "200":
  2026. description: 确认同步API
  2027. schema:
  2028. allOf:
  2029. - $ref: '#/definitions/response.Response'
  2030. - properties:
  2031. msg:
  2032. type: string
  2033. type: object
  2034. security:
  2035. - ApiKeyAuth: []
  2036. summary: 确认同步API
  2037. tags:
  2038. - SysApi
  2039. /api/freshCasbin:
  2040. get:
  2041. consumes:
  2042. - application/json
  2043. produces:
  2044. - application/json
  2045. responses:
  2046. "200":
  2047. description: 刷新成功
  2048. schema:
  2049. allOf:
  2050. - $ref: '#/definitions/response.Response'
  2051. - properties:
  2052. msg:
  2053. type: string
  2054. type: object
  2055. summary: 刷新casbin缓存
  2056. tags:
  2057. - SysApi
  2058. /api/getAllApis:
  2059. post:
  2060. consumes:
  2061. - application/json
  2062. produces:
  2063. - application/json
  2064. responses:
  2065. "200":
  2066. description: 获取所有的Api 不分页,返回包括api列表
  2067. schema:
  2068. allOf:
  2069. - $ref: '#/definitions/response.Response'
  2070. - properties:
  2071. data:
  2072. $ref: '#/definitions/response.SysAPIListResponse'
  2073. msg:
  2074. type: string
  2075. type: object
  2076. security:
  2077. - ApiKeyAuth: []
  2078. summary: 获取所有的Api 不分页
  2079. tags:
  2080. - SysApi
  2081. /api/getApiById:
  2082. post:
  2083. consumes:
  2084. - application/json
  2085. parameters:
  2086. - description: 根据id获取api
  2087. in: body
  2088. name: data
  2089. required: true
  2090. schema:
  2091. $ref: '#/definitions/request.GetById'
  2092. produces:
  2093. - application/json
  2094. responses:
  2095. "200":
  2096. description: 根据id获取api,返回包括api详情
  2097. schema:
  2098. allOf:
  2099. - $ref: '#/definitions/response.Response'
  2100. - properties:
  2101. data:
  2102. $ref: '#/definitions/response.SysAPIResponse'
  2103. type: object
  2104. security:
  2105. - ApiKeyAuth: []
  2106. summary: 根据id获取api
  2107. tags:
  2108. - SysApi
  2109. /api/getApiGroups:
  2110. get:
  2111. consumes:
  2112. - application/json
  2113. produces:
  2114. - application/json
  2115. responses:
  2116. "200":
  2117. description: 获取API分组
  2118. schema:
  2119. allOf:
  2120. - $ref: '#/definitions/response.Response'
  2121. - properties:
  2122. msg:
  2123. type: string
  2124. type: object
  2125. security:
  2126. - ApiKeyAuth: []
  2127. summary: 获取API分组
  2128. tags:
  2129. - SysApi
  2130. /api/getApiList:
  2131. post:
  2132. consumes:
  2133. - application/json
  2134. parameters:
  2135. - description: 分页获取API列表
  2136. in: body
  2137. name: data
  2138. required: true
  2139. schema:
  2140. $ref: '#/definitions/request.SearchApiParams'
  2141. produces:
  2142. - application/json
  2143. responses:
  2144. "200":
  2145. description: 分页获取API列表,返回包括列表,总数,页码,每页数量
  2146. schema:
  2147. allOf:
  2148. - $ref: '#/definitions/response.Response'
  2149. - properties:
  2150. data:
  2151. $ref: '#/definitions/response.PageResult'
  2152. msg:
  2153. type: string
  2154. type: object
  2155. security:
  2156. - ApiKeyAuth: []
  2157. summary: 分页获取API列表
  2158. tags:
  2159. - SysApi
  2160. /api/ignoreApi:
  2161. post:
  2162. consumes:
  2163. - application/json
  2164. produces:
  2165. - application/json
  2166. responses:
  2167. "200":
  2168. description: 同步API
  2169. schema:
  2170. allOf:
  2171. - $ref: '#/definitions/response.Response'
  2172. - properties:
  2173. msg:
  2174. type: string
  2175. type: object
  2176. security:
  2177. - ApiKeyAuth: []
  2178. summary: 忽略API
  2179. tags:
  2180. - IgnoreApi
  2181. /api/syncApi:
  2182. get:
  2183. consumes:
  2184. - application/json
  2185. produces:
  2186. - application/json
  2187. responses:
  2188. "200":
  2189. description: 同步API
  2190. schema:
  2191. allOf:
  2192. - $ref: '#/definitions/response.Response'
  2193. - properties:
  2194. msg:
  2195. type: string
  2196. type: object
  2197. security:
  2198. - ApiKeyAuth: []
  2199. summary: 同步API
  2200. tags:
  2201. - SysApi
  2202. /api/updateApi:
  2203. post:
  2204. consumes:
  2205. - application/json
  2206. parameters:
  2207. - description: api路径, api中文描述, api组, 方法
  2208. in: body
  2209. name: data
  2210. required: true
  2211. schema:
  2212. $ref: '#/definitions/system.SysApi'
  2213. produces:
  2214. - application/json
  2215. responses:
  2216. "200":
  2217. description: 修改基础api
  2218. schema:
  2219. allOf:
  2220. - $ref: '#/definitions/response.Response'
  2221. - properties:
  2222. msg:
  2223. type: string
  2224. type: object
  2225. security:
  2226. - ApiKeyAuth: []
  2227. summary: 修改基础api
  2228. tags:
  2229. - SysApi
  2230. /attachmentCategory/addCategory:
  2231. post:
  2232. consumes:
  2233. - application/json
  2234. parameters:
  2235. - description: 媒体库分类数据
  2236. in: body
  2237. name: data
  2238. required: true
  2239. schema:
  2240. $ref: '#/definitions/example.ExaAttachmentCategory'
  2241. produces:
  2242. - application/json
  2243. responses: {}
  2244. security:
  2245. - AttachmentCategory: []
  2246. summary: 添加媒体库分类
  2247. tags:
  2248. - AddCategory
  2249. /attachmentCategory/deleteCategory:
  2250. post:
  2251. consumes:
  2252. - application/json
  2253. parameters:
  2254. - description: 分类id
  2255. in: body
  2256. name: data
  2257. required: true
  2258. schema:
  2259. $ref: '#/definitions/request.GetById'
  2260. produces:
  2261. - application/json
  2262. responses:
  2263. "200":
  2264. description: 删除分类
  2265. schema:
  2266. allOf:
  2267. - $ref: '#/definitions/response.Response'
  2268. - properties:
  2269. msg:
  2270. type: string
  2271. type: object
  2272. security:
  2273. - AttachmentCategory: []
  2274. summary: 删除分类
  2275. tags:
  2276. - DeleteCategory
  2277. /attachmentCategory/getCategoryList:
  2278. get:
  2279. produces:
  2280. - application/json
  2281. responses:
  2282. "200":
  2283. description: 媒体库分类列表
  2284. schema:
  2285. allOf:
  2286. - $ref: '#/definitions/response.Response'
  2287. - properties:
  2288. data:
  2289. $ref: '#/definitions/example.ExaAttachmentCategory'
  2290. msg:
  2291. type: string
  2292. type: object
  2293. security:
  2294. - AttachmentCategory: []
  2295. summary: 媒体库分类列表
  2296. tags:
  2297. - GetCategoryList
  2298. /authority/copyAuthority:
  2299. post:
  2300. consumes:
  2301. - application/json
  2302. parameters:
  2303. - description: 旧角色id, 新权限id, 新权限名, 新父角色id
  2304. in: body
  2305. name: data
  2306. required: true
  2307. schema:
  2308. $ref: '#/definitions/response.SysAuthorityCopyResponse'
  2309. produces:
  2310. - application/json
  2311. responses:
  2312. "200":
  2313. description: 拷贝角色,返回包括系统角色详情
  2314. schema:
  2315. allOf:
  2316. - $ref: '#/definitions/response.Response'
  2317. - properties:
  2318. data:
  2319. $ref: '#/definitions/response.SysAuthorityResponse'
  2320. msg:
  2321. type: string
  2322. type: object
  2323. security:
  2324. - ApiKeyAuth: []
  2325. summary: 拷贝角色
  2326. tags:
  2327. - Authority
  2328. /authority/createAuthority:
  2329. post:
  2330. consumes:
  2331. - application/json
  2332. parameters:
  2333. - description: 权限id, 权限名, 父角色id
  2334. in: body
  2335. name: data
  2336. required: true
  2337. schema:
  2338. $ref: '#/definitions/system.SysAuthority'
  2339. produces:
  2340. - application/json
  2341. responses:
  2342. "200":
  2343. description: 创建角色,返回包括系统角色详情
  2344. schema:
  2345. allOf:
  2346. - $ref: '#/definitions/response.Response'
  2347. - properties:
  2348. data:
  2349. $ref: '#/definitions/response.SysAuthorityResponse'
  2350. msg:
  2351. type: string
  2352. type: object
  2353. security:
  2354. - ApiKeyAuth: []
  2355. summary: 创建角色
  2356. tags:
  2357. - Authority
  2358. /authority/deleteAuthority:
  2359. post:
  2360. consumes:
  2361. - application/json
  2362. parameters:
  2363. - description: 删除角色
  2364. in: body
  2365. name: data
  2366. required: true
  2367. schema:
  2368. $ref: '#/definitions/system.SysAuthority'
  2369. produces:
  2370. - application/json
  2371. responses:
  2372. "200":
  2373. description: 删除角色
  2374. schema:
  2375. allOf:
  2376. - $ref: '#/definitions/response.Response'
  2377. - properties:
  2378. msg:
  2379. type: string
  2380. type: object
  2381. security:
  2382. - ApiKeyAuth: []
  2383. summary: 删除角色
  2384. tags:
  2385. - Authority
  2386. /authority/getAuthorityList:
  2387. post:
  2388. consumes:
  2389. - application/json
  2390. parameters:
  2391. - description: 页码, 每页大小
  2392. in: body
  2393. name: data
  2394. required: true
  2395. schema:
  2396. $ref: '#/definitions/request.PageInfo'
  2397. produces:
  2398. - application/json
  2399. responses:
  2400. "200":
  2401. description: 分页获取角色列表,返回包括列表,总数,页码,每页数量
  2402. schema:
  2403. allOf:
  2404. - $ref: '#/definitions/response.Response'
  2405. - properties:
  2406. data:
  2407. $ref: '#/definitions/response.PageResult'
  2408. msg:
  2409. type: string
  2410. type: object
  2411. security:
  2412. - ApiKeyAuth: []
  2413. summary: 分页获取角色列表
  2414. tags:
  2415. - Authority
  2416. /authority/setDataAuthority:
  2417. post:
  2418. consumes:
  2419. - application/json
  2420. parameters:
  2421. - description: 设置角色资源权限
  2422. in: body
  2423. name: data
  2424. required: true
  2425. schema:
  2426. $ref: '#/definitions/system.SysAuthority'
  2427. produces:
  2428. - application/json
  2429. responses:
  2430. "200":
  2431. description: 设置角色资源权限
  2432. schema:
  2433. allOf:
  2434. - $ref: '#/definitions/response.Response'
  2435. - properties:
  2436. msg:
  2437. type: string
  2438. type: object
  2439. security:
  2440. - ApiKeyAuth: []
  2441. summary: 设置角色资源权限
  2442. tags:
  2443. - Authority
  2444. /authority/updateAuthority:
  2445. put:
  2446. consumes:
  2447. - application/json
  2448. parameters:
  2449. - description: 权限id, 权限名, 父角色id
  2450. in: body
  2451. name: data
  2452. required: true
  2453. schema:
  2454. $ref: '#/definitions/system.SysAuthority'
  2455. produces:
  2456. - application/json
  2457. responses:
  2458. "200":
  2459. description: 更新角色信息,返回包括系统角色详情
  2460. schema:
  2461. allOf:
  2462. - $ref: '#/definitions/response.Response'
  2463. - properties:
  2464. data:
  2465. $ref: '#/definitions/response.SysAuthorityResponse'
  2466. msg:
  2467. type: string
  2468. type: object
  2469. security:
  2470. - ApiKeyAuth: []
  2471. summary: 更新角色信息
  2472. tags:
  2473. - Authority
  2474. /authorityBtn/canRemoveAuthorityBtn:
  2475. post:
  2476. consumes:
  2477. - application/json
  2478. produces:
  2479. - application/json
  2480. responses:
  2481. "200":
  2482. description: 删除成功
  2483. schema:
  2484. allOf:
  2485. - $ref: '#/definitions/response.Response'
  2486. - properties:
  2487. msg:
  2488. type: string
  2489. type: object
  2490. security:
  2491. - ApiKeyAuth: []
  2492. summary: 设置权限按钮
  2493. tags:
  2494. - AuthorityBtn
  2495. /authorityBtn/getAuthorityBtn:
  2496. post:
  2497. consumes:
  2498. - application/json
  2499. parameters:
  2500. - description: 菜单id, 角色id, 选中的按钮id
  2501. in: body
  2502. name: data
  2503. required: true
  2504. schema:
  2505. $ref: '#/definitions/request.SysAuthorityBtnReq'
  2506. produces:
  2507. - application/json
  2508. responses:
  2509. "200":
  2510. description: 返回列表成功
  2511. schema:
  2512. allOf:
  2513. - $ref: '#/definitions/response.Response'
  2514. - properties:
  2515. data:
  2516. $ref: '#/definitions/response.SysAuthorityBtnRes'
  2517. msg:
  2518. type: string
  2519. type: object
  2520. security:
  2521. - ApiKeyAuth: []
  2522. summary: 获取权限按钮
  2523. tags:
  2524. - AuthorityBtn
  2525. /authorityBtn/setAuthorityBtn:
  2526. post:
  2527. consumes:
  2528. - application/json
  2529. parameters:
  2530. - description: 菜单id, 角色id, 选中的按钮id
  2531. in: body
  2532. name: data
  2533. required: true
  2534. schema:
  2535. $ref: '#/definitions/request.SysAuthorityBtnReq'
  2536. produces:
  2537. - application/json
  2538. responses:
  2539. "200":
  2540. description: 返回列表成功
  2541. schema:
  2542. allOf:
  2543. - $ref: '#/definitions/response.Response'
  2544. - properties:
  2545. msg:
  2546. type: string
  2547. type: object
  2548. security:
  2549. - ApiKeyAuth: []
  2550. summary: 设置权限按钮
  2551. tags:
  2552. - AuthorityBtn
  2553. /autoCode/addFunc:
  2554. post:
  2555. consumes:
  2556. - application/json
  2557. parameters:
  2558. - description: 增加方法
  2559. in: body
  2560. name: data
  2561. required: true
  2562. schema:
  2563. $ref: '#/definitions/request.AutoCode'
  2564. produces:
  2565. - application/json
  2566. responses:
  2567. "200":
  2568. description: '{"success":true,"data":{},"msg":"创建成功"}'
  2569. schema:
  2570. type: string
  2571. security:
  2572. - ApiKeyAuth: []
  2573. summary: 增加方法
  2574. tags:
  2575. - AddFunc
  2576. /autoCode/createPackage:
  2577. post:
  2578. consumes:
  2579. - application/json
  2580. parameters:
  2581. - description: 创建package
  2582. in: body
  2583. name: data
  2584. required: true
  2585. schema:
  2586. $ref: '#/definitions/request.SysAutoCodePackageCreate'
  2587. produces:
  2588. - application/json
  2589. responses:
  2590. "200":
  2591. description: 创建package成功
  2592. schema:
  2593. allOf:
  2594. - $ref: '#/definitions/response.Response'
  2595. - properties:
  2596. data:
  2597. additionalProperties: true
  2598. type: object
  2599. msg:
  2600. type: string
  2601. type: object
  2602. security:
  2603. - ApiKeyAuth: []
  2604. summary: 创建package
  2605. tags:
  2606. - AutoCodePackage
  2607. /autoCode/createTemp:
  2608. post:
  2609. consumes:
  2610. - application/json
  2611. parameters:
  2612. - description: 创建自动代码
  2613. in: body
  2614. name: data
  2615. required: true
  2616. schema:
  2617. $ref: '#/definitions/request.AutoCode'
  2618. produces:
  2619. - application/json
  2620. responses:
  2621. "200":
  2622. description: '{"success":true,"data":{},"msg":"创建成功"}'
  2623. schema:
  2624. type: string
  2625. security:
  2626. - ApiKeyAuth: []
  2627. summary: 自动代码模板
  2628. tags:
  2629. - AutoCodeTemplate
  2630. /autoCode/delPackage:
  2631. post:
  2632. consumes:
  2633. - application/json
  2634. parameters:
  2635. - description: 创建package
  2636. in: body
  2637. name: data
  2638. required: true
  2639. schema:
  2640. $ref: '#/definitions/request.GetById'
  2641. produces:
  2642. - application/json
  2643. responses:
  2644. "200":
  2645. description: 删除package成功
  2646. schema:
  2647. allOf:
  2648. - $ref: '#/definitions/response.Response'
  2649. - properties:
  2650. data:
  2651. additionalProperties: true
  2652. type: object
  2653. msg:
  2654. type: string
  2655. type: object
  2656. security:
  2657. - ApiKeyAuth: []
  2658. summary: 删除package
  2659. tags:
  2660. - AutoCode
  2661. /autoCode/delSysHistory:
  2662. post:
  2663. consumes:
  2664. - application/json
  2665. parameters:
  2666. - description: 请求参数
  2667. in: body
  2668. name: data
  2669. required: true
  2670. schema:
  2671. $ref: '#/definitions/request.GetById'
  2672. produces:
  2673. - application/json
  2674. responses:
  2675. "200":
  2676. description: 删除回滚记录
  2677. schema:
  2678. allOf:
  2679. - $ref: '#/definitions/response.Response'
  2680. - properties:
  2681. msg:
  2682. type: string
  2683. type: object
  2684. security:
  2685. - ApiKeyAuth: []
  2686. summary: 删除回滚记录
  2687. tags:
  2688. - AutoCode
  2689. /autoCode/getColumn:
  2690. get:
  2691. consumes:
  2692. - application/json
  2693. produces:
  2694. - application/json
  2695. responses:
  2696. "200":
  2697. description: 获取当前表所有字段
  2698. schema:
  2699. allOf:
  2700. - $ref: '#/definitions/response.Response'
  2701. - properties:
  2702. data:
  2703. additionalProperties: true
  2704. type: object
  2705. msg:
  2706. type: string
  2707. type: object
  2708. security:
  2709. - ApiKeyAuth: []
  2710. summary: 获取当前表所有字段
  2711. tags:
  2712. - AutoCode
  2713. /autoCode/getDB:
  2714. get:
  2715. consumes:
  2716. - application/json
  2717. produces:
  2718. - application/json
  2719. responses:
  2720. "200":
  2721. description: 获取当前所有数据库
  2722. schema:
  2723. allOf:
  2724. - $ref: '#/definitions/response.Response'
  2725. - properties:
  2726. data:
  2727. additionalProperties: true
  2728. type: object
  2729. msg:
  2730. type: string
  2731. type: object
  2732. security:
  2733. - ApiKeyAuth: []
  2734. summary: 获取当前所有数据库
  2735. tags:
  2736. - AutoCode
  2737. /autoCode/getMeta:
  2738. post:
  2739. consumes:
  2740. - application/json
  2741. parameters:
  2742. - description: 请求参数
  2743. in: body
  2744. name: data
  2745. required: true
  2746. schema:
  2747. $ref: '#/definitions/request.GetById'
  2748. produces:
  2749. - application/json
  2750. responses:
  2751. "200":
  2752. description: 获取meta信息
  2753. schema:
  2754. allOf:
  2755. - $ref: '#/definitions/response.Response'
  2756. - properties:
  2757. data:
  2758. additionalProperties: true
  2759. type: object
  2760. msg:
  2761. type: string
  2762. type: object
  2763. security:
  2764. - ApiKeyAuth: []
  2765. summary: 获取meta信息
  2766. tags:
  2767. - AutoCode
  2768. /autoCode/getPackage:
  2769. post:
  2770. consumes:
  2771. - application/json
  2772. produces:
  2773. - application/json
  2774. responses:
  2775. "200":
  2776. description: 创建package成功
  2777. schema:
  2778. allOf:
  2779. - $ref: '#/definitions/response.Response'
  2780. - properties:
  2781. data:
  2782. additionalProperties: true
  2783. type: object
  2784. msg:
  2785. type: string
  2786. type: object
  2787. security:
  2788. - ApiKeyAuth: []
  2789. summary: 获取package
  2790. tags:
  2791. - AutoCodePackage
  2792. /autoCode/getSysHistory:
  2793. post:
  2794. consumes:
  2795. - application/json
  2796. parameters:
  2797. - description: 请求参数
  2798. in: body
  2799. name: data
  2800. required: true
  2801. schema:
  2802. $ref: '#/definitions/request.PageInfo'
  2803. produces:
  2804. - application/json
  2805. responses:
  2806. "200":
  2807. description: 查询回滚记录,返回包括列表,总数,页码,每页数量
  2808. schema:
  2809. allOf:
  2810. - $ref: '#/definitions/response.Response'
  2811. - properties:
  2812. data:
  2813. $ref: '#/definitions/response.PageResult'
  2814. msg:
  2815. type: string
  2816. type: object
  2817. security:
  2818. - ApiKeyAuth: []
  2819. summary: 查询回滚记录
  2820. tags:
  2821. - AutoCode
  2822. /autoCode/getTables:
  2823. get:
  2824. consumes:
  2825. - application/json
  2826. produces:
  2827. - application/json
  2828. responses:
  2829. "200":
  2830. description: 获取当前数据库所有表
  2831. schema:
  2832. allOf:
  2833. - $ref: '#/definitions/response.Response'
  2834. - properties:
  2835. data:
  2836. additionalProperties: true
  2837. type: object
  2838. msg:
  2839. type: string
  2840. type: object
  2841. security:
  2842. - ApiKeyAuth: []
  2843. summary: 获取当前数据库所有表
  2844. tags:
  2845. - AutoCode
  2846. /autoCode/getTemplates:
  2847. get:
  2848. consumes:
  2849. - application/json
  2850. produces:
  2851. - application/json
  2852. responses:
  2853. "200":
  2854. description: 创建package成功
  2855. schema:
  2856. allOf:
  2857. - $ref: '#/definitions/response.Response'
  2858. - properties:
  2859. data:
  2860. additionalProperties: true
  2861. type: object
  2862. msg:
  2863. type: string
  2864. type: object
  2865. security:
  2866. - ApiKeyAuth: []
  2867. summary: 获取package
  2868. tags:
  2869. - AutoCodePackage
  2870. /autoCode/initAPI:
  2871. post:
  2872. consumes:
  2873. - application/json
  2874. produces:
  2875. - application/json
  2876. responses:
  2877. "200":
  2878. description: 打包插件成功
  2879. schema:
  2880. allOf:
  2881. - $ref: '#/definitions/response.Response'
  2882. - properties:
  2883. data:
  2884. additionalProperties: true
  2885. type: object
  2886. msg:
  2887. type: string
  2888. type: object
  2889. security:
  2890. - ApiKeyAuth: []
  2891. summary: 打包插件
  2892. tags:
  2893. - AutoCodePlugin
  2894. /autoCode/initMenu:
  2895. post:
  2896. consumes:
  2897. - application/json
  2898. produces:
  2899. - application/json
  2900. responses:
  2901. "200":
  2902. description: 打包插件成功
  2903. schema:
  2904. allOf:
  2905. - $ref: '#/definitions/response.Response'
  2906. - properties:
  2907. data:
  2908. additionalProperties: true
  2909. type: object
  2910. msg:
  2911. type: string
  2912. type: object
  2913. security:
  2914. - ApiKeyAuth: []
  2915. summary: 打包插件
  2916. tags:
  2917. - AutoCodePlugin
  2918. /autoCode/installPlugin:
  2919. post:
  2920. consumes:
  2921. - multipart/form-data
  2922. parameters:
  2923. - description: this is a test file
  2924. in: formData
  2925. name: plug
  2926. required: true
  2927. type: file
  2928. produces:
  2929. - application/json
  2930. responses:
  2931. "200":
  2932. description: 安装插件成功
  2933. schema:
  2934. allOf:
  2935. - $ref: '#/definitions/response.Response'
  2936. - properties:
  2937. data:
  2938. items:
  2939. type: object
  2940. type: array
  2941. msg:
  2942. type: string
  2943. type: object
  2944. security:
  2945. - ApiKeyAuth: []
  2946. summary: 安装插件
  2947. tags:
  2948. - AutoCodePlugin
  2949. /autoCode/preview:
  2950. post:
  2951. consumes:
  2952. - application/json
  2953. parameters:
  2954. - description: 预览创建代码
  2955. in: body
  2956. name: data
  2957. required: true
  2958. schema:
  2959. $ref: '#/definitions/request.AutoCode'
  2960. produces:
  2961. - application/json
  2962. responses:
  2963. "200":
  2964. description: 预览创建后的代码
  2965. schema:
  2966. allOf:
  2967. - $ref: '#/definitions/response.Response'
  2968. - properties:
  2969. data:
  2970. additionalProperties: true
  2971. type: object
  2972. msg:
  2973. type: string
  2974. type: object
  2975. security:
  2976. - ApiKeyAuth: []
  2977. summary: 预览创建后的代码
  2978. tags:
  2979. - AutoCodeTemplate
  2980. /autoCode/pubPlug:
  2981. post:
  2982. consumes:
  2983. - application/json
  2984. parameters:
  2985. - description: 插件名称
  2986. in: query
  2987. name: plugName
  2988. required: true
  2989. type: string
  2990. produces:
  2991. - application/json
  2992. responses:
  2993. "200":
  2994. description: 打包插件成功
  2995. schema:
  2996. allOf:
  2997. - $ref: '#/definitions/response.Response'
  2998. - properties:
  2999. data:
  3000. additionalProperties: true
  3001. type: object
  3002. msg:
  3003. type: string
  3004. type: object
  3005. security:
  3006. - ApiKeyAuth: []
  3007. summary: 打包插件
  3008. tags:
  3009. - AutoCodePlugin
  3010. /autoCode/rollback:
  3011. post:
  3012. consumes:
  3013. - application/json
  3014. parameters:
  3015. - description: 请求参数
  3016. in: body
  3017. name: data
  3018. required: true
  3019. schema:
  3020. $ref: '#/definitions/request.SysAutoHistoryRollBack'
  3021. produces:
  3022. - application/json
  3023. responses:
  3024. "200":
  3025. description: 回滚自动生成代码
  3026. schema:
  3027. allOf:
  3028. - $ref: '#/definitions/response.Response'
  3029. - properties:
  3030. msg:
  3031. type: string
  3032. type: object
  3033. security:
  3034. - ApiKeyAuth: []
  3035. summary: 回滚自动生成代码
  3036. tags:
  3037. - AutoCode
  3038. /base/captcha:
  3039. post:
  3040. consumes:
  3041. - application/json
  3042. produces:
  3043. - application/json
  3044. responses:
  3045. "200":
  3046. description: 生成验证码,返回包括随机数id,base64,验证码长度,是否开启验证码
  3047. schema:
  3048. allOf:
  3049. - $ref: '#/definitions/response.Response'
  3050. - properties:
  3051. data:
  3052. $ref: '#/definitions/response.SysCaptchaResponse'
  3053. msg:
  3054. type: string
  3055. type: object
  3056. security:
  3057. - ApiKeyAuth: []
  3058. summary: 生成验证码
  3059. tags:
  3060. - Base
  3061. /base/login:
  3062. post:
  3063. parameters:
  3064. - description: 用户名, 密码, 验证码
  3065. in: body
  3066. name: data
  3067. required: true
  3068. schema:
  3069. $ref: '#/definitions/request.Login'
  3070. produces:
  3071. - application/json
  3072. responses:
  3073. "200":
  3074. description: 返回包括用户信息,token,过期时间
  3075. schema:
  3076. allOf:
  3077. - $ref: '#/definitions/response.Response'
  3078. - properties:
  3079. data:
  3080. $ref: '#/definitions/response.LoginResponse'
  3081. msg:
  3082. type: string
  3083. type: object
  3084. summary: 用户登录
  3085. tags:
  3086. - Base
  3087. /casbin/UpdateCasbin:
  3088. post:
  3089. consumes:
  3090. - application/json
  3091. parameters:
  3092. - description: 权限id, 权限模型列表
  3093. in: body
  3094. name: data
  3095. required: true
  3096. schema:
  3097. $ref: '#/definitions/request.CasbinInReceive'
  3098. produces:
  3099. - application/json
  3100. responses:
  3101. "200":
  3102. description: 更新角色api权限
  3103. schema:
  3104. allOf:
  3105. - $ref: '#/definitions/response.Response'
  3106. - properties:
  3107. msg:
  3108. type: string
  3109. type: object
  3110. security:
  3111. - ApiKeyAuth: []
  3112. summary: 更新角色api权限
  3113. tags:
  3114. - Casbin
  3115. /casbin/getPolicyPathByAuthorityId:
  3116. post:
  3117. consumes:
  3118. - application/json
  3119. parameters:
  3120. - description: 权限id, 权限模型列表
  3121. in: body
  3122. name: data
  3123. required: true
  3124. schema:
  3125. $ref: '#/definitions/request.CasbinInReceive'
  3126. produces:
  3127. - application/json
  3128. responses:
  3129. "200":
  3130. description: 获取权限列表,返回包括casbin详情列表
  3131. schema:
  3132. allOf:
  3133. - $ref: '#/definitions/response.Response'
  3134. - properties:
  3135. data:
  3136. $ref: '#/definitions/response.PolicyPathResponse'
  3137. msg:
  3138. type: string
  3139. type: object
  3140. security:
  3141. - ApiKeyAuth: []
  3142. summary: 获取权限列表
  3143. tags:
  3144. - Casbin
  3145. /customer/customer:
  3146. delete:
  3147. consumes:
  3148. - application/json
  3149. parameters:
  3150. - description: 客户ID
  3151. in: body
  3152. name: data
  3153. required: true
  3154. schema:
  3155. $ref: '#/definitions/example.ExaCustomer'
  3156. produces:
  3157. - application/json
  3158. responses:
  3159. "200":
  3160. description: 删除客户
  3161. schema:
  3162. allOf:
  3163. - $ref: '#/definitions/response.Response'
  3164. - properties:
  3165. msg:
  3166. type: string
  3167. type: object
  3168. security:
  3169. - ApiKeyAuth: []
  3170. summary: 删除客户
  3171. tags:
  3172. - ExaCustomer
  3173. get:
  3174. consumes:
  3175. - application/json
  3176. parameters:
  3177. - description: 主键ID
  3178. in: query
  3179. name: ID
  3180. type: integer
  3181. - description: 创建时间
  3182. in: query
  3183. name: createdAt
  3184. type: string
  3185. - description: 客户名
  3186. in: query
  3187. name: customerName
  3188. type: string
  3189. - description: 客户手机号
  3190. in: query
  3191. name: customerPhoneData
  3192. type: string
  3193. - description: 管理角色ID
  3194. in: query
  3195. name: sysUserAuthorityID
  3196. type: integer
  3197. - description: 管理ID
  3198. in: query
  3199. name: sysUserId
  3200. type: integer
  3201. - description: 更新时间
  3202. in: query
  3203. name: updatedAt
  3204. type: string
  3205. produces:
  3206. - application/json
  3207. responses:
  3208. "200":
  3209. description: 获取单一客户信息,返回包括客户详情
  3210. schema:
  3211. allOf:
  3212. - $ref: '#/definitions/response.Response'
  3213. - properties:
  3214. data:
  3215. $ref: '#/definitions/response.ExaCustomerResponse'
  3216. msg:
  3217. type: string
  3218. type: object
  3219. security:
  3220. - ApiKeyAuth: []
  3221. summary: 获取单一客户信息
  3222. tags:
  3223. - ExaCustomer
  3224. post:
  3225. consumes:
  3226. - application/json
  3227. parameters:
  3228. - description: 客户用户名, 客户手机号码
  3229. in: body
  3230. name: data
  3231. required: true
  3232. schema:
  3233. $ref: '#/definitions/example.ExaCustomer'
  3234. produces:
  3235. - application/json
  3236. responses:
  3237. "200":
  3238. description: 创建客户
  3239. schema:
  3240. allOf:
  3241. - $ref: '#/definitions/response.Response'
  3242. - properties:
  3243. msg:
  3244. type: string
  3245. type: object
  3246. security:
  3247. - ApiKeyAuth: []
  3248. summary: 创建客户
  3249. tags:
  3250. - ExaCustomer
  3251. put:
  3252. consumes:
  3253. - application/json
  3254. parameters:
  3255. - description: 客户ID, 客户信息
  3256. in: body
  3257. name: data
  3258. required: true
  3259. schema:
  3260. $ref: '#/definitions/example.ExaCustomer'
  3261. produces:
  3262. - application/json
  3263. responses:
  3264. "200":
  3265. description: 更新客户信息
  3266. schema:
  3267. allOf:
  3268. - $ref: '#/definitions/response.Response'
  3269. - properties:
  3270. msg:
  3271. type: string
  3272. type: object
  3273. security:
  3274. - ApiKeyAuth: []
  3275. summary: 更新客户信息
  3276. tags:
  3277. - ExaCustomer
  3278. /customer/customerList:
  3279. get:
  3280. consumes:
  3281. - application/json
  3282. parameters:
  3283. - description: 关键字
  3284. in: query
  3285. name: keyword
  3286. type: string
  3287. - description: 页码
  3288. in: query
  3289. name: page
  3290. type: integer
  3291. - description: 每页大小
  3292. in: query
  3293. name: pageSize
  3294. type: integer
  3295. produces:
  3296. - application/json
  3297. responses:
  3298. "200":
  3299. description: 分页获取权限客户列表,返回包括列表,总数,页码,每页数量
  3300. schema:
  3301. allOf:
  3302. - $ref: '#/definitions/response.Response'
  3303. - properties:
  3304. data:
  3305. $ref: '#/definitions/response.PageResult'
  3306. msg:
  3307. type: string
  3308. type: object
  3309. security:
  3310. - ApiKeyAuth: []
  3311. summary: 分页获取权限客户列表
  3312. tags:
  3313. - ExaCustomer
  3314. /email/emailTest:
  3315. post:
  3316. produces:
  3317. - application/json
  3318. responses:
  3319. "200":
  3320. description: '{"success":true,"data":{},"msg":"发送成功"}'
  3321. schema:
  3322. type: string
  3323. security:
  3324. - ApiKeyAuth: []
  3325. summary: 发送测试邮件
  3326. tags:
  3327. - System
  3328. /email/sendEmail:
  3329. post:
  3330. parameters:
  3331. - description: 发送邮件必须的参数
  3332. in: body
  3333. name: data
  3334. required: true
  3335. schema:
  3336. $ref: '#/definitions/response.Email'
  3337. produces:
  3338. - application/json
  3339. responses:
  3340. "200":
  3341. description: '{"success":true,"data":{},"msg":"发送成功"}'
  3342. schema:
  3343. type: string
  3344. security:
  3345. - ApiKeyAuth: []
  3346. summary: 发送邮件
  3347. tags:
  3348. - System
  3349. /fileUploadAndDownload/breakpointContinue:
  3350. post:
  3351. consumes:
  3352. - multipart/form-data
  3353. parameters:
  3354. - description: an example for breakpoint resume, 断点续传示例
  3355. in: formData
  3356. name: file
  3357. required: true
  3358. type: file
  3359. produces:
  3360. - application/json
  3361. responses:
  3362. "200":
  3363. description: 断点续传到服务器
  3364. schema:
  3365. allOf:
  3366. - $ref: '#/definitions/response.Response'
  3367. - properties:
  3368. msg:
  3369. type: string
  3370. type: object
  3371. security:
  3372. - ApiKeyAuth: []
  3373. summary: 断点续传到服务器
  3374. tags:
  3375. - ExaFileUploadAndDownload
  3376. /fileUploadAndDownload/deleteFile:
  3377. post:
  3378. parameters:
  3379. - description: 传入文件里面id即可
  3380. in: body
  3381. name: data
  3382. required: true
  3383. schema:
  3384. $ref: '#/definitions/example.ExaFileUploadAndDownload'
  3385. produces:
  3386. - application/json
  3387. responses:
  3388. "200":
  3389. description: 删除文件
  3390. schema:
  3391. allOf:
  3392. - $ref: '#/definitions/response.Response'
  3393. - properties:
  3394. msg:
  3395. type: string
  3396. type: object
  3397. security:
  3398. - ApiKeyAuth: []
  3399. summary: 删除文件
  3400. tags:
  3401. - ExaFileUploadAndDownload
  3402. /fileUploadAndDownload/findFile:
  3403. get:
  3404. consumes:
  3405. - multipart/form-data
  3406. parameters:
  3407. - description: Find the file, 查找文件
  3408. in: formData
  3409. name: file
  3410. required: true
  3411. type: file
  3412. produces:
  3413. - application/json
  3414. responses:
  3415. "200":
  3416. description: 查找文件,返回包括文件详情
  3417. schema:
  3418. allOf:
  3419. - $ref: '#/definitions/response.Response'
  3420. - properties:
  3421. data:
  3422. $ref: '#/definitions/response.FileResponse'
  3423. msg:
  3424. type: string
  3425. type: object
  3426. security:
  3427. - ApiKeyAuth: []
  3428. summary: 查找文件
  3429. tags:
  3430. - ExaFileUploadAndDownload
  3431. post:
  3432. consumes:
  3433. - multipart/form-data
  3434. parameters:
  3435. - description: 上传文件完成
  3436. in: formData
  3437. name: file
  3438. required: true
  3439. type: file
  3440. produces:
  3441. - application/json
  3442. responses:
  3443. "200":
  3444. description: 创建文件,返回包括文件路径
  3445. schema:
  3446. allOf:
  3447. - $ref: '#/definitions/response.Response'
  3448. - properties:
  3449. data:
  3450. $ref: '#/definitions/response.FilePathResponse'
  3451. msg:
  3452. type: string
  3453. type: object
  3454. security:
  3455. - ApiKeyAuth: []
  3456. summary: 创建文件
  3457. tags:
  3458. - ExaFileUploadAndDownload
  3459. /fileUploadAndDownload/getFileList:
  3460. post:
  3461. consumes:
  3462. - application/json
  3463. parameters:
  3464. - description: 页码, 每页大小, 分类id
  3465. in: body
  3466. name: data
  3467. required: true
  3468. schema:
  3469. $ref: '#/definitions/request.ExaAttachmentCategorySearch'
  3470. produces:
  3471. - application/json
  3472. responses:
  3473. "200":
  3474. description: 分页文件列表,返回包括列表,总数,页码,每页数量
  3475. schema:
  3476. allOf:
  3477. - $ref: '#/definitions/response.Response'
  3478. - properties:
  3479. data:
  3480. $ref: '#/definitions/response.PageResult'
  3481. msg:
  3482. type: string
  3483. type: object
  3484. security:
  3485. - ApiKeyAuth: []
  3486. summary: 分页文件列表
  3487. tags:
  3488. - ExaFileUploadAndDownload
  3489. /fileUploadAndDownload/importURL:
  3490. post:
  3491. parameters:
  3492. - description: 对象
  3493. in: body
  3494. name: data
  3495. required: true
  3496. schema:
  3497. $ref: '#/definitions/example.ExaFileUploadAndDownload'
  3498. produces:
  3499. - application/json
  3500. responses:
  3501. "200":
  3502. description: 导入URL
  3503. schema:
  3504. allOf:
  3505. - $ref: '#/definitions/response.Response'
  3506. - properties:
  3507. msg:
  3508. type: string
  3509. type: object
  3510. security:
  3511. - ApiKeyAuth: []
  3512. summary: 导入URL
  3513. tags:
  3514. - ExaFileUploadAndDownload
  3515. /fileUploadAndDownload/removeChunk:
  3516. post:
  3517. consumes:
  3518. - multipart/form-data
  3519. parameters:
  3520. - description: 删除缓存切片
  3521. in: formData
  3522. name: file
  3523. required: true
  3524. type: file
  3525. produces:
  3526. - application/json
  3527. responses:
  3528. "200":
  3529. description: 删除切片
  3530. schema:
  3531. allOf:
  3532. - $ref: '#/definitions/response.Response'
  3533. - properties:
  3534. msg:
  3535. type: string
  3536. type: object
  3537. security:
  3538. - ApiKeyAuth: []
  3539. summary: 删除切片
  3540. tags:
  3541. - ExaFileUploadAndDownload
  3542. /fileUploadAndDownload/upload:
  3543. post:
  3544. consumes:
  3545. - multipart/form-data
  3546. parameters:
  3547. - description: 上传文件示例
  3548. in: formData
  3549. name: file
  3550. required: true
  3551. type: file
  3552. produces:
  3553. - application/json
  3554. responses:
  3555. "200":
  3556. description: 上传文件示例,返回包括文件详情
  3557. schema:
  3558. allOf:
  3559. - $ref: '#/definitions/response.Response'
  3560. - properties:
  3561. data:
  3562. $ref: '#/definitions/response.ExaFileResponse'
  3563. msg:
  3564. type: string
  3565. type: object
  3566. security:
  3567. - ApiKeyAuth: []
  3568. summary: 上传文件示例
  3569. tags:
  3570. - ExaFileUploadAndDownload
  3571. /info/createInfo:
  3572. post:
  3573. consumes:
  3574. - application/json
  3575. parameters:
  3576. - description: 创建公告
  3577. in: body
  3578. name: data
  3579. required: true
  3580. schema:
  3581. $ref: '#/definitions/model.Info'
  3582. produces:
  3583. - application/json
  3584. responses:
  3585. "200":
  3586. description: 创建成功
  3587. schema:
  3588. allOf:
  3589. - $ref: '#/definitions/response.Response'
  3590. - properties:
  3591. msg:
  3592. type: string
  3593. type: object
  3594. security:
  3595. - ApiKeyAuth: []
  3596. summary: 创建公告
  3597. tags:
  3598. - Info
  3599. /info/deleteInfo:
  3600. delete:
  3601. consumes:
  3602. - application/json
  3603. parameters:
  3604. - description: 删除公告
  3605. in: body
  3606. name: data
  3607. required: true
  3608. schema:
  3609. $ref: '#/definitions/model.Info'
  3610. produces:
  3611. - application/json
  3612. responses:
  3613. "200":
  3614. description: 删除成功
  3615. schema:
  3616. allOf:
  3617. - $ref: '#/definitions/response.Response'
  3618. - properties:
  3619. msg:
  3620. type: string
  3621. type: object
  3622. security:
  3623. - ApiKeyAuth: []
  3624. summary: 删除公告
  3625. tags:
  3626. - Info
  3627. /info/deleteInfoByIds:
  3628. delete:
  3629. consumes:
  3630. - application/json
  3631. produces:
  3632. - application/json
  3633. responses:
  3634. "200":
  3635. description: 批量删除成功
  3636. schema:
  3637. allOf:
  3638. - $ref: '#/definitions/response.Response'
  3639. - properties:
  3640. msg:
  3641. type: string
  3642. type: object
  3643. security:
  3644. - ApiKeyAuth: []
  3645. summary: 批量删除公告
  3646. tags:
  3647. - Info
  3648. /info/findInfo:
  3649. get:
  3650. consumes:
  3651. - application/json
  3652. parameters:
  3653. - description: 主键ID
  3654. in: query
  3655. name: ID
  3656. type: integer
  3657. - description: 内容
  3658. in: query
  3659. name: content
  3660. type: string
  3661. - description: 创建时间
  3662. in: query
  3663. name: createdAt
  3664. type: string
  3665. - description: 标题
  3666. in: query
  3667. name: title
  3668. type: string
  3669. - description: 更新时间
  3670. in: query
  3671. name: updatedAt
  3672. type: string
  3673. - description: 作者
  3674. in: query
  3675. name: userID
  3676. type: integer
  3677. produces:
  3678. - application/json
  3679. responses:
  3680. "200":
  3681. description: 查询成功
  3682. schema:
  3683. allOf:
  3684. - $ref: '#/definitions/response.Response'
  3685. - properties:
  3686. data:
  3687. $ref: '#/definitions/model.Info'
  3688. msg:
  3689. type: string
  3690. type: object
  3691. security:
  3692. - ApiKeyAuth: []
  3693. summary: 用id查询公告
  3694. tags:
  3695. - Info
  3696. /info/getInfoDataSource:
  3697. get:
  3698. consumes:
  3699. - application/json
  3700. produces:
  3701. - application/json
  3702. responses:
  3703. "200":
  3704. description: 查询成功
  3705. schema:
  3706. allOf:
  3707. - $ref: '#/definitions/response.Response'
  3708. - properties:
  3709. data:
  3710. type: object
  3711. msg:
  3712. type: string
  3713. type: object
  3714. summary: 获取Info的数据源
  3715. tags:
  3716. - Info
  3717. /info/getInfoList:
  3718. get:
  3719. consumes:
  3720. - application/json
  3721. parameters:
  3722. - in: query
  3723. name: endCreatedAt
  3724. type: string
  3725. - description: 关键字
  3726. in: query
  3727. name: keyword
  3728. type: string
  3729. - description: 页码
  3730. in: query
  3731. name: page
  3732. type: integer
  3733. - description: 每页大小
  3734. in: query
  3735. name: pageSize
  3736. type: integer
  3737. - in: query
  3738. name: startCreatedAt
  3739. type: string
  3740. produces:
  3741. - application/json
  3742. responses:
  3743. "200":
  3744. description: 获取成功
  3745. schema:
  3746. allOf:
  3747. - $ref: '#/definitions/response.Response'
  3748. - properties:
  3749. data:
  3750. $ref: '#/definitions/response.PageResult'
  3751. msg:
  3752. type: string
  3753. type: object
  3754. security:
  3755. - ApiKeyAuth: []
  3756. summary: 分页获取公告列表
  3757. tags:
  3758. - Info
  3759. /info/getInfoPublic:
  3760. get:
  3761. consumes:
  3762. - application/json
  3763. parameters:
  3764. - in: query
  3765. name: endCreatedAt
  3766. type: string
  3767. - description: 关键字
  3768. in: query
  3769. name: keyword
  3770. type: string
  3771. - description: 页码
  3772. in: query
  3773. name: page
  3774. type: integer
  3775. - description: 每页大小
  3776. in: query
  3777. name: pageSize
  3778. type: integer
  3779. - in: query
  3780. name: startCreatedAt
  3781. type: string
  3782. produces:
  3783. - application/json
  3784. responses:
  3785. "200":
  3786. description: 获取成功
  3787. schema:
  3788. allOf:
  3789. - $ref: '#/definitions/response.Response'
  3790. - properties:
  3791. data:
  3792. type: object
  3793. msg:
  3794. type: string
  3795. type: object
  3796. summary: 不需要鉴权的公告接口
  3797. tags:
  3798. - Info
  3799. /info/updateInfo:
  3800. put:
  3801. consumes:
  3802. - application/json
  3803. parameters:
  3804. - description: 更新公告
  3805. in: body
  3806. name: data
  3807. required: true
  3808. schema:
  3809. $ref: '#/definitions/model.Info'
  3810. produces:
  3811. - application/json
  3812. responses:
  3813. "200":
  3814. description: 更新成功
  3815. schema:
  3816. allOf:
  3817. - $ref: '#/definitions/response.Response'
  3818. - properties:
  3819. msg:
  3820. type: string
  3821. type: object
  3822. security:
  3823. - ApiKeyAuth: []
  3824. summary: 更新公告
  3825. tags:
  3826. - Info
  3827. /init/checkdb:
  3828. post:
  3829. produces:
  3830. - application/json
  3831. responses:
  3832. "200":
  3833. description: 初始化用户数据库
  3834. schema:
  3835. allOf:
  3836. - $ref: '#/definitions/response.Response'
  3837. - properties:
  3838. data:
  3839. additionalProperties: true
  3840. type: object
  3841. msg:
  3842. type: string
  3843. type: object
  3844. summary: 初始化用户数据库
  3845. tags:
  3846. - CheckDB
  3847. /init/initdb:
  3848. post:
  3849. parameters:
  3850. - description: 初始化数据库参数
  3851. in: body
  3852. name: data
  3853. required: true
  3854. schema:
  3855. $ref: '#/definitions/request.InitDB'
  3856. produces:
  3857. - application/json
  3858. responses:
  3859. "200":
  3860. description: 初始化用户数据库
  3861. schema:
  3862. allOf:
  3863. - $ref: '#/definitions/response.Response'
  3864. - properties:
  3865. data:
  3866. type: string
  3867. type: object
  3868. summary: 初始化用户数据库
  3869. tags:
  3870. - InitDB
  3871. /jwt/jsonInBlacklist:
  3872. post:
  3873. consumes:
  3874. - application/json
  3875. produces:
  3876. - application/json
  3877. responses:
  3878. "200":
  3879. description: jwt加入黑名单
  3880. schema:
  3881. allOf:
  3882. - $ref: '#/definitions/response.Response'
  3883. - properties:
  3884. msg:
  3885. type: string
  3886. type: object
  3887. security:
  3888. - ApiKeyAuth: []
  3889. summary: jwt加入黑名单
  3890. tags:
  3891. - Jwt
  3892. /menu/addBaseMenu:
  3893. post:
  3894. consumes:
  3895. - application/json
  3896. parameters:
  3897. - description: 路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记
  3898. in: body
  3899. name: data
  3900. required: true
  3901. schema:
  3902. $ref: '#/definitions/system.SysBaseMenu'
  3903. produces:
  3904. - application/json
  3905. responses:
  3906. "200":
  3907. description: 新增菜单
  3908. schema:
  3909. allOf:
  3910. - $ref: '#/definitions/response.Response'
  3911. - properties:
  3912. msg:
  3913. type: string
  3914. type: object
  3915. security:
  3916. - ApiKeyAuth: []
  3917. summary: 新增菜单
  3918. tags:
  3919. - Menu
  3920. /menu/addMenuAuthority:
  3921. post:
  3922. consumes:
  3923. - application/json
  3924. parameters:
  3925. - description: 角色ID
  3926. in: body
  3927. name: data
  3928. required: true
  3929. schema:
  3930. $ref: '#/definitions/request.AddMenuAuthorityInfo'
  3931. produces:
  3932. - application/json
  3933. responses:
  3934. "200":
  3935. description: 增加menu和角色关联关系
  3936. schema:
  3937. allOf:
  3938. - $ref: '#/definitions/response.Response'
  3939. - properties:
  3940. msg:
  3941. type: string
  3942. type: object
  3943. security:
  3944. - ApiKeyAuth: []
  3945. summary: 增加menu和角色关联关系
  3946. tags:
  3947. - AuthorityMenu
  3948. /menu/deleteBaseMenu:
  3949. post:
  3950. consumes:
  3951. - application/json
  3952. parameters:
  3953. - description: 菜单id
  3954. in: body
  3955. name: data
  3956. required: true
  3957. schema:
  3958. $ref: '#/definitions/request.GetById'
  3959. produces:
  3960. - application/json
  3961. responses:
  3962. "200":
  3963. description: 删除菜单
  3964. schema:
  3965. allOf:
  3966. - $ref: '#/definitions/response.Response'
  3967. - properties:
  3968. msg:
  3969. type: string
  3970. type: object
  3971. security:
  3972. - ApiKeyAuth: []
  3973. summary: 删除菜单
  3974. tags:
  3975. - Menu
  3976. /menu/getBaseMenuById:
  3977. post:
  3978. consumes:
  3979. - application/json
  3980. parameters:
  3981. - description: 菜单id
  3982. in: body
  3983. name: data
  3984. required: true
  3985. schema:
  3986. $ref: '#/definitions/request.GetById'
  3987. produces:
  3988. - application/json
  3989. responses:
  3990. "200":
  3991. description: 根据id获取菜单,返回包括系统菜单列表
  3992. schema:
  3993. allOf:
  3994. - $ref: '#/definitions/response.Response'
  3995. - properties:
  3996. data:
  3997. $ref: '#/definitions/response.SysBaseMenuResponse'
  3998. msg:
  3999. type: string
  4000. type: object
  4001. security:
  4002. - ApiKeyAuth: []
  4003. summary: 根据id获取菜单
  4004. tags:
  4005. - Menu
  4006. /menu/getBaseMenuTree:
  4007. post:
  4008. parameters:
  4009. - description: 空
  4010. in: body
  4011. name: data
  4012. required: true
  4013. schema:
  4014. $ref: '#/definitions/request.Empty'
  4015. produces:
  4016. - application/json
  4017. responses:
  4018. "200":
  4019. description: 获取用户动态路由,返回包括系统菜单列表
  4020. schema:
  4021. allOf:
  4022. - $ref: '#/definitions/response.Response'
  4023. - properties:
  4024. data:
  4025. $ref: '#/definitions/response.SysBaseMenusResponse'
  4026. msg:
  4027. type: string
  4028. type: object
  4029. security:
  4030. - ApiKeyAuth: []
  4031. summary: 获取用户动态路由
  4032. tags:
  4033. - AuthorityMenu
  4034. /menu/getMenu:
  4035. post:
  4036. parameters:
  4037. - description: 空
  4038. in: body
  4039. name: data
  4040. required: true
  4041. schema:
  4042. $ref: '#/definitions/request.Empty'
  4043. produces:
  4044. - application/json
  4045. responses:
  4046. "200":
  4047. description: 获取用户动态路由,返回包括系统菜单详情列表
  4048. schema:
  4049. allOf:
  4050. - $ref: '#/definitions/response.Response'
  4051. - properties:
  4052. data:
  4053. $ref: '#/definitions/response.SysMenusResponse'
  4054. msg:
  4055. type: string
  4056. type: object
  4057. security:
  4058. - ApiKeyAuth: []
  4059. summary: 获取用户动态路由
  4060. tags:
  4061. - AuthorityMenu
  4062. /menu/getMenuAuthority:
  4063. post:
  4064. consumes:
  4065. - application/json
  4066. parameters:
  4067. - description: 角色ID
  4068. in: body
  4069. name: data
  4070. required: true
  4071. schema:
  4072. $ref: '#/definitions/request.GetAuthorityId'
  4073. produces:
  4074. - application/json
  4075. responses:
  4076. "200":
  4077. description: 获取指定角色menu
  4078. schema:
  4079. allOf:
  4080. - $ref: '#/definitions/response.Response'
  4081. - properties:
  4082. data:
  4083. additionalProperties: true
  4084. type: object
  4085. msg:
  4086. type: string
  4087. type: object
  4088. security:
  4089. - ApiKeyAuth: []
  4090. summary: 获取指定角色menu
  4091. tags:
  4092. - AuthorityMenu
  4093. /menu/getMenuList:
  4094. post:
  4095. consumes:
  4096. - application/json
  4097. parameters:
  4098. - description: 页码, 每页大小
  4099. in: body
  4100. name: data
  4101. required: true
  4102. schema:
  4103. $ref: '#/definitions/request.PageInfo'
  4104. produces:
  4105. - application/json
  4106. responses:
  4107. "200":
  4108. description: 分页获取基础menu列表,返回包括列表,总数,页码,每页数量
  4109. schema:
  4110. allOf:
  4111. - $ref: '#/definitions/response.Response'
  4112. - properties:
  4113. data:
  4114. $ref: '#/definitions/response.PageResult'
  4115. msg:
  4116. type: string
  4117. type: object
  4118. security:
  4119. - ApiKeyAuth: []
  4120. summary: 分页获取基础menu列表
  4121. tags:
  4122. - Menu
  4123. /menu/updateBaseMenu:
  4124. post:
  4125. consumes:
  4126. - application/json
  4127. parameters:
  4128. - description: 路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记
  4129. in: body
  4130. name: data
  4131. required: true
  4132. schema:
  4133. $ref: '#/definitions/system.SysBaseMenu'
  4134. produces:
  4135. - application/json
  4136. responses:
  4137. "200":
  4138. description: 更新菜单
  4139. schema:
  4140. allOf:
  4141. - $ref: '#/definitions/response.Response'
  4142. - properties:
  4143. msg:
  4144. type: string
  4145. type: object
  4146. security:
  4147. - ApiKeyAuth: []
  4148. summary: 更新菜单
  4149. tags:
  4150. - Menu
  4151. /sysDictionary/createSysDictionary:
  4152. post:
  4153. consumes:
  4154. - application/json
  4155. parameters:
  4156. - description: SysDictionary模型
  4157. in: body
  4158. name: data
  4159. required: true
  4160. schema:
  4161. $ref: '#/definitions/system.SysDictionary'
  4162. produces:
  4163. - application/json
  4164. responses:
  4165. "200":
  4166. description: 创建SysDictionary
  4167. schema:
  4168. allOf:
  4169. - $ref: '#/definitions/response.Response'
  4170. - properties:
  4171. msg:
  4172. type: string
  4173. type: object
  4174. security:
  4175. - ApiKeyAuth: []
  4176. summary: 创建SysDictionary
  4177. tags:
  4178. - SysDictionary
  4179. /sysDictionary/deleteSysDictionary:
  4180. delete:
  4181. consumes:
  4182. - application/json
  4183. parameters:
  4184. - description: SysDictionary模型
  4185. in: body
  4186. name: data
  4187. required: true
  4188. schema:
  4189. $ref: '#/definitions/system.SysDictionary'
  4190. produces:
  4191. - application/json
  4192. responses:
  4193. "200":
  4194. description: 删除SysDictionary
  4195. schema:
  4196. allOf:
  4197. - $ref: '#/definitions/response.Response'
  4198. - properties:
  4199. msg:
  4200. type: string
  4201. type: object
  4202. security:
  4203. - ApiKeyAuth: []
  4204. summary: 删除SysDictionary
  4205. tags:
  4206. - SysDictionary
  4207. /sysDictionary/findSysDictionary:
  4208. get:
  4209. consumes:
  4210. - application/json
  4211. parameters:
  4212. - description: 主键ID
  4213. in: query
  4214. name: ID
  4215. type: integer
  4216. - description: 创建时间
  4217. in: query
  4218. name: createdAt
  4219. type: string
  4220. - description: 描述
  4221. in: query
  4222. name: desc
  4223. type: string
  4224. - description: 字典名(中)
  4225. in: query
  4226. name: name
  4227. type: string
  4228. - description: 状态
  4229. in: query
  4230. name: status
  4231. type: boolean
  4232. - description: 字典名(英)
  4233. in: query
  4234. name: type
  4235. type: string
  4236. - description: 更新时间
  4237. in: query
  4238. name: updatedAt
  4239. type: string
  4240. produces:
  4241. - application/json
  4242. responses:
  4243. "200":
  4244. description: 用id查询SysDictionary
  4245. schema:
  4246. allOf:
  4247. - $ref: '#/definitions/response.Response'
  4248. - properties:
  4249. data:
  4250. additionalProperties: true
  4251. type: object
  4252. msg:
  4253. type: string
  4254. type: object
  4255. security:
  4256. - ApiKeyAuth: []
  4257. summary: 用id查询SysDictionary
  4258. tags:
  4259. - SysDictionary
  4260. /sysDictionary/getSysDictionaryList:
  4261. get:
  4262. consumes:
  4263. - application/json
  4264. produces:
  4265. - application/json
  4266. responses:
  4267. "200":
  4268. description: 分页获取SysDictionary列表,返回包括列表,总数,页码,每页数量
  4269. schema:
  4270. allOf:
  4271. - $ref: '#/definitions/response.Response'
  4272. - properties:
  4273. data:
  4274. $ref: '#/definitions/response.PageResult'
  4275. msg:
  4276. type: string
  4277. type: object
  4278. security:
  4279. - ApiKeyAuth: []
  4280. summary: 分页获取SysDictionary列表
  4281. tags:
  4282. - SysDictionary
  4283. /sysDictionary/updateSysDictionary:
  4284. put:
  4285. consumes:
  4286. - application/json
  4287. parameters:
  4288. - description: SysDictionary模型
  4289. in: body
  4290. name: data
  4291. required: true
  4292. schema:
  4293. $ref: '#/definitions/system.SysDictionary'
  4294. produces:
  4295. - application/json
  4296. responses:
  4297. "200":
  4298. description: 更新SysDictionary
  4299. schema:
  4300. allOf:
  4301. - $ref: '#/definitions/response.Response'
  4302. - properties:
  4303. msg:
  4304. type: string
  4305. type: object
  4306. security:
  4307. - ApiKeyAuth: []
  4308. summary: 更新SysDictionary
  4309. tags:
  4310. - SysDictionary
  4311. /sysDictionaryDetail/createSysDictionaryDetail:
  4312. post:
  4313. consumes:
  4314. - application/json
  4315. parameters:
  4316. - description: SysDictionaryDetail模型
  4317. in: body
  4318. name: data
  4319. required: true
  4320. schema:
  4321. $ref: '#/definitions/system.SysDictionaryDetail'
  4322. produces:
  4323. - application/json
  4324. responses:
  4325. "200":
  4326. description: 创建SysDictionaryDetail
  4327. schema:
  4328. allOf:
  4329. - $ref: '#/definitions/response.Response'
  4330. - properties:
  4331. msg:
  4332. type: string
  4333. type: object
  4334. security:
  4335. - ApiKeyAuth: []
  4336. summary: 创建SysDictionaryDetail
  4337. tags:
  4338. - SysDictionaryDetail
  4339. /sysDictionaryDetail/deleteSysDictionaryDetail:
  4340. delete:
  4341. consumes:
  4342. - application/json
  4343. parameters:
  4344. - description: SysDictionaryDetail模型
  4345. in: body
  4346. name: data
  4347. required: true
  4348. schema:
  4349. $ref: '#/definitions/system.SysDictionaryDetail'
  4350. produces:
  4351. - application/json
  4352. responses:
  4353. "200":
  4354. description: 删除SysDictionaryDetail
  4355. schema:
  4356. allOf:
  4357. - $ref: '#/definitions/response.Response'
  4358. - properties:
  4359. msg:
  4360. type: string
  4361. type: object
  4362. security:
  4363. - ApiKeyAuth: []
  4364. summary: 删除SysDictionaryDetail
  4365. tags:
  4366. - SysDictionaryDetail
  4367. /sysDictionaryDetail/findSysDictionaryDetail:
  4368. get:
  4369. consumes:
  4370. - application/json
  4371. parameters:
  4372. - description: 主键ID
  4373. in: query
  4374. name: ID
  4375. type: integer
  4376. - description: 创建时间
  4377. in: query
  4378. name: createdAt
  4379. type: string
  4380. - description: 扩展值
  4381. in: query
  4382. name: extend
  4383. type: string
  4384. - description: 展示值
  4385. in: query
  4386. name: label
  4387. type: string
  4388. - description: 排序标记
  4389. in: query
  4390. name: sort
  4391. type: integer
  4392. - description: 启用状态
  4393. in: query
  4394. name: status
  4395. type: boolean
  4396. - description: 关联标记
  4397. in: query
  4398. name: sysDictionaryID
  4399. type: integer
  4400. - description: 更新时间
  4401. in: query
  4402. name: updatedAt
  4403. type: string
  4404. - description: 字典值
  4405. in: query
  4406. name: value
  4407. type: string
  4408. produces:
  4409. - application/json
  4410. responses:
  4411. "200":
  4412. description: 用id查询SysDictionaryDetail
  4413. schema:
  4414. allOf:
  4415. - $ref: '#/definitions/response.Response'
  4416. - properties:
  4417. data:
  4418. additionalProperties: true
  4419. type: object
  4420. msg:
  4421. type: string
  4422. type: object
  4423. security:
  4424. - ApiKeyAuth: []
  4425. summary: 用id查询SysDictionaryDetail
  4426. tags:
  4427. - SysDictionaryDetail
  4428. /sysDictionaryDetail/getSysDictionaryDetailList:
  4429. get:
  4430. consumes:
  4431. - application/json
  4432. parameters:
  4433. - description: 主键ID
  4434. in: query
  4435. name: ID
  4436. type: integer
  4437. - description: 创建时间
  4438. in: query
  4439. name: createdAt
  4440. type: string
  4441. - description: 扩展值
  4442. in: query
  4443. name: extend
  4444. type: string
  4445. - description: 关键字
  4446. in: query
  4447. name: keyword
  4448. type: string
  4449. - description: 展示值
  4450. in: query
  4451. name: label
  4452. type: string
  4453. - description: 页码
  4454. in: query
  4455. name: page
  4456. type: integer
  4457. - description: 每页大小
  4458. in: query
  4459. name: pageSize
  4460. type: integer
  4461. - description: 排序标记
  4462. in: query
  4463. name: sort
  4464. type: integer
  4465. - description: 启用状态
  4466. in: query
  4467. name: status
  4468. type: boolean
  4469. - description: 关联标记
  4470. in: query
  4471. name: sysDictionaryID
  4472. type: integer
  4473. - description: 更新时间
  4474. in: query
  4475. name: updatedAt
  4476. type: string
  4477. - description: 字典值
  4478. in: query
  4479. name: value
  4480. type: string
  4481. produces:
  4482. - application/json
  4483. responses:
  4484. "200":
  4485. description: 分页获取SysDictionaryDetail列表,返回包括列表,总数,页码,每页数量
  4486. schema:
  4487. allOf:
  4488. - $ref: '#/definitions/response.Response'
  4489. - properties:
  4490. data:
  4491. $ref: '#/definitions/response.PageResult'
  4492. msg:
  4493. type: string
  4494. type: object
  4495. security:
  4496. - ApiKeyAuth: []
  4497. summary: 分页获取SysDictionaryDetail列表
  4498. tags:
  4499. - SysDictionaryDetail
  4500. /sysDictionaryDetail/updateSysDictionaryDetail:
  4501. put:
  4502. consumes:
  4503. - application/json
  4504. parameters:
  4505. - description: 更新SysDictionaryDetail
  4506. in: body
  4507. name: data
  4508. required: true
  4509. schema:
  4510. $ref: '#/definitions/system.SysDictionaryDetail'
  4511. produces:
  4512. - application/json
  4513. responses:
  4514. "200":
  4515. description: 更新SysDictionaryDetail
  4516. schema:
  4517. allOf:
  4518. - $ref: '#/definitions/response.Response'
  4519. - properties:
  4520. msg:
  4521. type: string
  4522. type: object
  4523. security:
  4524. - ApiKeyAuth: []
  4525. summary: 更新SysDictionaryDetail
  4526. tags:
  4527. - SysDictionaryDetail
  4528. /sysExportTemplate/ExportTemplate:
  4529. get:
  4530. consumes:
  4531. - application/json
  4532. produces:
  4533. - application/json
  4534. responses: {}
  4535. security:
  4536. - ApiKeyAuth: []
  4537. summary: 导出表格模板
  4538. tags:
  4539. - SysExportTemplate
  4540. /sysExportTemplate/createSysExportTemplate:
  4541. post:
  4542. consumes:
  4543. - application/json
  4544. parameters:
  4545. - description: 创建导出模板
  4546. in: body
  4547. name: data
  4548. required: true
  4549. schema:
  4550. $ref: '#/definitions/system.SysExportTemplate'
  4551. produces:
  4552. - application/json
  4553. responses:
  4554. "200":
  4555. description: '{"success":true,"data":{},"msg":"创建成功"}'
  4556. schema:
  4557. type: string
  4558. security:
  4559. - ApiKeyAuth: []
  4560. summary: 创建导出模板
  4561. tags:
  4562. - SysExportTemplate
  4563. /sysExportTemplate/deleteSysExportTemplate:
  4564. delete:
  4565. consumes:
  4566. - application/json
  4567. parameters:
  4568. - description: 删除导出模板
  4569. in: body
  4570. name: data
  4571. required: true
  4572. schema:
  4573. $ref: '#/definitions/system.SysExportTemplate'
  4574. produces:
  4575. - application/json
  4576. responses:
  4577. "200":
  4578. description: '{"success":true,"data":{},"msg":"删除成功"}'
  4579. schema:
  4580. type: string
  4581. security:
  4582. - ApiKeyAuth: []
  4583. summary: 删除导出模板
  4584. tags:
  4585. - SysExportTemplate
  4586. /sysExportTemplate/deleteSysExportTemplateByIds:
  4587. delete:
  4588. consumes:
  4589. - application/json
  4590. parameters:
  4591. - description: 批量删除导出模板
  4592. in: body
  4593. name: data
  4594. required: true
  4595. schema:
  4596. $ref: '#/definitions/request.IdsReq'
  4597. produces:
  4598. - application/json
  4599. responses:
  4600. "200":
  4601. description: '{"success":true,"data":{},"msg":"批量删除成功"}'
  4602. schema:
  4603. type: string
  4604. security:
  4605. - ApiKeyAuth: []
  4606. summary: 批量删除导出模板
  4607. tags:
  4608. - SysExportTemplate
  4609. /sysExportTemplate/exportExcel:
  4610. get:
  4611. consumes:
  4612. - application/json
  4613. produces:
  4614. - application/json
  4615. responses: {}
  4616. security:
  4617. - ApiKeyAuth: []
  4618. summary: 导出表格
  4619. tags:
  4620. - SysExportTemplate
  4621. /sysExportTemplate/findSysExportTemplate:
  4622. get:
  4623. consumes:
  4624. - application/json
  4625. parameters:
  4626. - description: 主键ID
  4627. in: query
  4628. name: ID
  4629. type: integer
  4630. - description: 创建时间
  4631. in: query
  4632. name: createdAt
  4633. type: string
  4634. - description: 数据库名称
  4635. in: query
  4636. name: dbName
  4637. type: string
  4638. - in: query
  4639. name: limit
  4640. type: integer
  4641. - description: 模板名称
  4642. in: query
  4643. name: name
  4644. type: string
  4645. - in: query
  4646. name: order
  4647. type: string
  4648. - description: 表名称
  4649. in: query
  4650. name: tableName
  4651. type: string
  4652. - description: 模板标识
  4653. in: query
  4654. name: templateID
  4655. type: string
  4656. - description: 模板信息
  4657. in: query
  4658. name: templateInfo
  4659. type: string
  4660. - description: 更新时间
  4661. in: query
  4662. name: updatedAt
  4663. type: string
  4664. produces:
  4665. - application/json
  4666. responses:
  4667. "200":
  4668. description: '{"success":true,"data":{},"msg":"查询成功"}'
  4669. schema:
  4670. type: string
  4671. security:
  4672. - ApiKeyAuth: []
  4673. summary: 用id查询导出模板
  4674. tags:
  4675. - SysExportTemplate
  4676. /sysExportTemplate/getSysExportTemplateList:
  4677. get:
  4678. consumes:
  4679. - application/json
  4680. parameters:
  4681. - description: 主键ID
  4682. in: query
  4683. name: ID
  4684. type: integer
  4685. - description: 创建时间
  4686. in: query
  4687. name: createdAt
  4688. type: string
  4689. - description: 数据库名称
  4690. in: query
  4691. name: dbName
  4692. type: string
  4693. - in: query
  4694. name: endCreatedAt
  4695. type: string
  4696. - description: 关键字
  4697. in: query
  4698. name: keyword
  4699. type: string
  4700. - in: query
  4701. name: limit
  4702. type: integer
  4703. - description: 模板名称
  4704. in: query
  4705. name: name
  4706. type: string
  4707. - in: query
  4708. name: order
  4709. type: string
  4710. - description: 页码
  4711. in: query
  4712. name: page
  4713. type: integer
  4714. - description: 每页大小
  4715. in: query
  4716. name: pageSize
  4717. type: integer
  4718. - in: query
  4719. name: startCreatedAt
  4720. type: string
  4721. - description: 表名称
  4722. in: query
  4723. name: tableName
  4724. type: string
  4725. - description: 模板标识
  4726. in: query
  4727. name: templateID
  4728. type: string
  4729. - description: 模板信息
  4730. in: query
  4731. name: templateInfo
  4732. type: string
  4733. - description: 更新时间
  4734. in: query
  4735. name: updatedAt
  4736. type: string
  4737. produces:
  4738. - application/json
  4739. responses:
  4740. "200":
  4741. description: '{"success":true,"data":{},"msg":"获取成功"}'
  4742. schema:
  4743. type: string
  4744. security:
  4745. - ApiKeyAuth: []
  4746. summary: 分页获取导出模板列表
  4747. tags:
  4748. - SysExportTemplate
  4749. /sysExportTemplate/importExcel:
  4750. post:
  4751. consumes:
  4752. - application/json
  4753. produces:
  4754. - application/json
  4755. responses: {}
  4756. security:
  4757. - ApiKeyAuth: []
  4758. summary: 导入表格
  4759. tags:
  4760. - SysImportTemplate
  4761. /sysExportTemplate/updateSysExportTemplate:
  4762. put:
  4763. consumes:
  4764. - application/json
  4765. parameters:
  4766. - description: 更新导出模板
  4767. in: body
  4768. name: data
  4769. required: true
  4770. schema:
  4771. $ref: '#/definitions/system.SysExportTemplate'
  4772. produces:
  4773. - application/json
  4774. responses:
  4775. "200":
  4776. description: '{"success":true,"data":{},"msg":"更新成功"}'
  4777. schema:
  4778. type: string
  4779. security:
  4780. - ApiKeyAuth: []
  4781. summary: 更新导出模板
  4782. tags:
  4783. - SysExportTemplate
  4784. /sysOperationRecord/createSysOperationRecord:
  4785. post:
  4786. consumes:
  4787. - application/json
  4788. parameters:
  4789. - description: 创建SysOperationRecord
  4790. in: body
  4791. name: data
  4792. required: true
  4793. schema:
  4794. $ref: '#/definitions/system.SysOperationRecord'
  4795. produces:
  4796. - application/json
  4797. responses:
  4798. "200":
  4799. description: 创建SysOperationRecord
  4800. schema:
  4801. allOf:
  4802. - $ref: '#/definitions/response.Response'
  4803. - properties:
  4804. msg:
  4805. type: string
  4806. type: object
  4807. security:
  4808. - ApiKeyAuth: []
  4809. summary: 创建SysOperationRecord
  4810. tags:
  4811. - SysOperationRecord
  4812. /sysOperationRecord/deleteSysOperationRecord:
  4813. delete:
  4814. consumes:
  4815. - application/json
  4816. parameters:
  4817. - description: SysOperationRecord模型
  4818. in: body
  4819. name: data
  4820. required: true
  4821. schema:
  4822. $ref: '#/definitions/system.SysOperationRecord'
  4823. produces:
  4824. - application/json
  4825. responses:
  4826. "200":
  4827. description: 删除SysOperationRecord
  4828. schema:
  4829. allOf:
  4830. - $ref: '#/definitions/response.Response'
  4831. - properties:
  4832. msg:
  4833. type: string
  4834. type: object
  4835. security:
  4836. - ApiKeyAuth: []
  4837. summary: 删除SysOperationRecord
  4838. tags:
  4839. - SysOperationRecord
  4840. /sysOperationRecord/deleteSysOperationRecordByIds:
  4841. delete:
  4842. consumes:
  4843. - application/json
  4844. parameters:
  4845. - description: 批量删除SysOperationRecord
  4846. in: body
  4847. name: data
  4848. required: true
  4849. schema:
  4850. $ref: '#/definitions/request.IdsReq'
  4851. produces:
  4852. - application/json
  4853. responses:
  4854. "200":
  4855. description: 批量删除SysOperationRecord
  4856. schema:
  4857. allOf:
  4858. - $ref: '#/definitions/response.Response'
  4859. - properties:
  4860. msg:
  4861. type: string
  4862. type: object
  4863. security:
  4864. - ApiKeyAuth: []
  4865. summary: 批量删除SysOperationRecord
  4866. tags:
  4867. - SysOperationRecord
  4868. /sysOperationRecord/findSysOperationRecord:
  4869. get:
  4870. consumes:
  4871. - application/json
  4872. parameters:
  4873. - description: 主键ID
  4874. in: query
  4875. name: ID
  4876. type: integer
  4877. - description: 代理
  4878. in: query
  4879. name: agent
  4880. type: string
  4881. - description: 请求Body
  4882. in: query
  4883. name: body
  4884. type: string
  4885. - description: 创建时间
  4886. in: query
  4887. name: createdAt
  4888. type: string
  4889. - description: 错误信息
  4890. in: query
  4891. name: error_message
  4892. type: string
  4893. - description: 请求ip
  4894. in: query
  4895. name: ip
  4896. type: string
  4897. - description: 延迟
  4898. in: query
  4899. name: latency
  4900. type: string
  4901. - description: 请求方法
  4902. in: query
  4903. name: method
  4904. type: string
  4905. - description: 请求路径
  4906. in: query
  4907. name: path
  4908. type: string
  4909. - description: 响应Body
  4910. in: query
  4911. name: resp
  4912. type: string
  4913. - description: 请求状态
  4914. in: query
  4915. name: status
  4916. type: integer
  4917. - description: 更新时间
  4918. in: query
  4919. name: updatedAt
  4920. type: string
  4921. - description: 用户id
  4922. in: query
  4923. name: user_id
  4924. type: integer
  4925. produces:
  4926. - application/json
  4927. responses:
  4928. "200":
  4929. description: 用id查询SysOperationRecord
  4930. schema:
  4931. allOf:
  4932. - $ref: '#/definitions/response.Response'
  4933. - properties:
  4934. data:
  4935. additionalProperties: true
  4936. type: object
  4937. msg:
  4938. type: string
  4939. type: object
  4940. security:
  4941. - ApiKeyAuth: []
  4942. summary: 用id查询SysOperationRecord
  4943. tags:
  4944. - SysOperationRecord
  4945. /sysOperationRecord/getSysOperationRecordList:
  4946. get:
  4947. consumes:
  4948. - application/json
  4949. parameters:
  4950. - description: 主键ID
  4951. in: query
  4952. name: ID
  4953. type: integer
  4954. - description: 代理
  4955. in: query
  4956. name: agent
  4957. type: string
  4958. - description: 请求Body
  4959. in: query
  4960. name: body
  4961. type: string
  4962. - description: 创建时间
  4963. in: query
  4964. name: createdAt
  4965. type: string
  4966. - description: 错误信息
  4967. in: query
  4968. name: error_message
  4969. type: string
  4970. - description: 请求ip
  4971. in: query
  4972. name: ip
  4973. type: string
  4974. - description: 关键字
  4975. in: query
  4976. name: keyword
  4977. type: string
  4978. - description: 延迟
  4979. in: query
  4980. name: latency
  4981. type: string
  4982. - description: 请求方法
  4983. in: query
  4984. name: method
  4985. type: string
  4986. - description: 页码
  4987. in: query
  4988. name: page
  4989. type: integer
  4990. - description: 每页大小
  4991. in: query
  4992. name: pageSize
  4993. type: integer
  4994. - description: 请求路径
  4995. in: query
  4996. name: path
  4997. type: string
  4998. - description: 响应Body
  4999. in: query
  5000. name: resp
  5001. type: string
  5002. - description: 请求状态
  5003. in: query
  5004. name: status
  5005. type: integer
  5006. - description: 更新时间
  5007. in: query
  5008. name: updatedAt
  5009. type: string
  5010. - description: 用户id
  5011. in: query
  5012. name: user_id
  5013. type: integer
  5014. produces:
  5015. - application/json
  5016. responses:
  5017. "200":
  5018. description: 分页获取SysOperationRecord列表,返回包括列表,总数,页码,每页数量
  5019. schema:
  5020. allOf:
  5021. - $ref: '#/definitions/response.Response'
  5022. - properties:
  5023. data:
  5024. $ref: '#/definitions/response.PageResult'
  5025. msg:
  5026. type: string
  5027. type: object
  5028. security:
  5029. - ApiKeyAuth: []
  5030. summary: 分页获取SysOperationRecord列表
  5031. tags:
  5032. - SysOperationRecord
  5033. /sysParams/createSysParams:
  5034. post:
  5035. consumes:
  5036. - application/json
  5037. parameters:
  5038. - description: 创建参数
  5039. in: body
  5040. name: data
  5041. required: true
  5042. schema:
  5043. $ref: '#/definitions/system.SysParams'
  5044. produces:
  5045. - application/json
  5046. responses:
  5047. "200":
  5048. description: 创建成功
  5049. schema:
  5050. allOf:
  5051. - $ref: '#/definitions/response.Response'
  5052. - properties:
  5053. msg:
  5054. type: string
  5055. type: object
  5056. security:
  5057. - ApiKeyAuth: []
  5058. summary: 创建参数
  5059. tags:
  5060. - SysParams
  5061. /sysParams/deleteSysParams:
  5062. delete:
  5063. consumes:
  5064. - application/json
  5065. parameters:
  5066. - description: 删除参数
  5067. in: body
  5068. name: data
  5069. required: true
  5070. schema:
  5071. $ref: '#/definitions/system.SysParams'
  5072. produces:
  5073. - application/json
  5074. responses:
  5075. "200":
  5076. description: 删除成功
  5077. schema:
  5078. allOf:
  5079. - $ref: '#/definitions/response.Response'
  5080. - properties:
  5081. msg:
  5082. type: string
  5083. type: object
  5084. security:
  5085. - ApiKeyAuth: []
  5086. summary: 删除参数
  5087. tags:
  5088. - SysParams
  5089. /sysParams/deleteSysParamsByIds:
  5090. delete:
  5091. consumes:
  5092. - application/json
  5093. produces:
  5094. - application/json
  5095. responses:
  5096. "200":
  5097. description: 批量删除成功
  5098. schema:
  5099. allOf:
  5100. - $ref: '#/definitions/response.Response'
  5101. - properties:
  5102. msg:
  5103. type: string
  5104. type: object
  5105. security:
  5106. - ApiKeyAuth: []
  5107. summary: 批量删除参数
  5108. tags:
  5109. - SysParams
  5110. /sysParams/findSysParams:
  5111. get:
  5112. consumes:
  5113. - application/json
  5114. parameters:
  5115. - description: 主键ID
  5116. in: query
  5117. name: ID
  5118. type: integer
  5119. - description: 创建时间
  5120. in: query
  5121. name: createdAt
  5122. type: string
  5123. - description: 参数说明
  5124. in: query
  5125. name: desc
  5126. type: string
  5127. - description: 参数键
  5128. in: query
  5129. name: key
  5130. required: true
  5131. type: string
  5132. - description: 参数名称
  5133. in: query
  5134. name: name
  5135. required: true
  5136. type: string
  5137. - description: 更新时间
  5138. in: query
  5139. name: updatedAt
  5140. type: string
  5141. - description: 参数值
  5142. in: query
  5143. name: value
  5144. required: true
  5145. type: string
  5146. produces:
  5147. - application/json
  5148. responses:
  5149. "200":
  5150. description: 查询成功
  5151. schema:
  5152. allOf:
  5153. - $ref: '#/definitions/response.Response'
  5154. - properties:
  5155. data:
  5156. $ref: '#/definitions/system.SysParams'
  5157. msg:
  5158. type: string
  5159. type: object
  5160. security:
  5161. - ApiKeyAuth: []
  5162. summary: 用id查询参数
  5163. tags:
  5164. - SysParams
  5165. /sysParams/getSysParam:
  5166. get:
  5167. consumes:
  5168. - application/json
  5169. parameters:
  5170. - description: key
  5171. in: query
  5172. name: key
  5173. required: true
  5174. type: string
  5175. produces:
  5176. - application/json
  5177. responses:
  5178. "200":
  5179. description: 获取成功
  5180. schema:
  5181. allOf:
  5182. - $ref: '#/definitions/response.Response'
  5183. - properties:
  5184. data:
  5185. $ref: '#/definitions/system.SysParams'
  5186. msg:
  5187. type: string
  5188. type: object
  5189. security:
  5190. - ApiKeyAuth: []
  5191. summary: 根据key获取参数value
  5192. tags:
  5193. - SysParams
  5194. /sysParams/getSysParamsList:
  5195. get:
  5196. consumes:
  5197. - application/json
  5198. parameters:
  5199. - in: query
  5200. name: endCreatedAt
  5201. type: string
  5202. - in: query
  5203. name: key
  5204. type: string
  5205. - description: 关键字
  5206. in: query
  5207. name: keyword
  5208. type: string
  5209. - in: query
  5210. name: name
  5211. type: string
  5212. - description: 页码
  5213. in: query
  5214. name: page
  5215. type: integer
  5216. - description: 每页大小
  5217. in: query
  5218. name: pageSize
  5219. type: integer
  5220. - in: query
  5221. name: startCreatedAt
  5222. type: string
  5223. produces:
  5224. - application/json
  5225. responses:
  5226. "200":
  5227. description: 获取成功
  5228. schema:
  5229. allOf:
  5230. - $ref: '#/definitions/response.Response'
  5231. - properties:
  5232. data:
  5233. $ref: '#/definitions/response.PageResult'
  5234. msg:
  5235. type: string
  5236. type: object
  5237. security:
  5238. - ApiKeyAuth: []
  5239. summary: 分页获取参数列表
  5240. tags:
  5241. - SysParams
  5242. /sysParams/updateSysParams:
  5243. put:
  5244. consumes:
  5245. - application/json
  5246. parameters:
  5247. - description: 更新参数
  5248. in: body
  5249. name: data
  5250. required: true
  5251. schema:
  5252. $ref: '#/definitions/system.SysParams'
  5253. produces:
  5254. - application/json
  5255. responses:
  5256. "200":
  5257. description: 更新成功
  5258. schema:
  5259. allOf:
  5260. - $ref: '#/definitions/response.Response'
  5261. - properties:
  5262. msg:
  5263. type: string
  5264. type: object
  5265. security:
  5266. - ApiKeyAuth: []
  5267. summary: 更新参数
  5268. tags:
  5269. - SysParams
  5270. /system/getServerInfo:
  5271. post:
  5272. produces:
  5273. - application/json
  5274. responses:
  5275. "200":
  5276. description: 获取服务器信息
  5277. schema:
  5278. allOf:
  5279. - $ref: '#/definitions/response.Response'
  5280. - properties:
  5281. data:
  5282. additionalProperties: true
  5283. type: object
  5284. msg:
  5285. type: string
  5286. type: object
  5287. security:
  5288. - ApiKeyAuth: []
  5289. summary: 获取服务器信息
  5290. tags:
  5291. - System
  5292. /system/getSystemConfig:
  5293. post:
  5294. produces:
  5295. - application/json
  5296. responses:
  5297. "200":
  5298. description: 获取配置文件内容,返回包括系统配置
  5299. schema:
  5300. allOf:
  5301. - $ref: '#/definitions/response.Response'
  5302. - properties:
  5303. data:
  5304. $ref: '#/definitions/response.SysConfigResponse'
  5305. msg:
  5306. type: string
  5307. type: object
  5308. security:
  5309. - ApiKeyAuth: []
  5310. summary: 获取配置文件内容
  5311. tags:
  5312. - System
  5313. /system/reloadSystem:
  5314. post:
  5315. produces:
  5316. - application/json
  5317. responses:
  5318. "200":
  5319. description: 重启系统
  5320. schema:
  5321. allOf:
  5322. - $ref: '#/definitions/response.Response'
  5323. - properties:
  5324. msg:
  5325. type: string
  5326. type: object
  5327. security:
  5328. - ApiKeyAuth: []
  5329. summary: 重启系统
  5330. tags:
  5331. - System
  5332. /system/setSystemConfig:
  5333. post:
  5334. parameters:
  5335. - description: 设置配置文件内容
  5336. in: body
  5337. name: data
  5338. required: true
  5339. schema:
  5340. $ref: '#/definitions/system.System'
  5341. produces:
  5342. - application/json
  5343. responses:
  5344. "200":
  5345. description: 设置配置文件内容
  5346. schema:
  5347. allOf:
  5348. - $ref: '#/definitions/response.Response'
  5349. - properties:
  5350. data:
  5351. type: string
  5352. type: object
  5353. security:
  5354. - ApiKeyAuth: []
  5355. summary: 设置配置文件内容
  5356. tags:
  5357. - System
  5358. /user/SetSelfInfo:
  5359. put:
  5360. consumes:
  5361. - application/json
  5362. parameters:
  5363. - description: ID, 用户名, 昵称, 头像链接
  5364. in: body
  5365. name: data
  5366. required: true
  5367. schema:
  5368. $ref: '#/definitions/system.SysUser'
  5369. produces:
  5370. - application/json
  5371. responses:
  5372. "200":
  5373. description: 设置用户信息
  5374. schema:
  5375. allOf:
  5376. - $ref: '#/definitions/response.Response'
  5377. - properties:
  5378. data:
  5379. additionalProperties: true
  5380. type: object
  5381. msg:
  5382. type: string
  5383. type: object
  5384. security:
  5385. - ApiKeyAuth: []
  5386. summary: 设置用户信息
  5387. tags:
  5388. - SysUser
  5389. /user/SetSelfSetting:
  5390. put:
  5391. consumes:
  5392. - application/json
  5393. parameters:
  5394. - description: 用户配置数据
  5395. in: body
  5396. name: data
  5397. required: true
  5398. schema:
  5399. additionalProperties: true
  5400. type: object
  5401. produces:
  5402. - application/json
  5403. responses:
  5404. "200":
  5405. description: 设置用户配置
  5406. schema:
  5407. allOf:
  5408. - $ref: '#/definitions/response.Response'
  5409. - properties:
  5410. data:
  5411. additionalProperties: true
  5412. type: object
  5413. msg:
  5414. type: string
  5415. type: object
  5416. security:
  5417. - ApiKeyAuth: []
  5418. summary: 设置用户配置
  5419. tags:
  5420. - SysUser
  5421. /user/admin_register:
  5422. post:
  5423. parameters:
  5424. - description: 用户名, 昵称, 密码, 角色ID
  5425. in: body
  5426. name: data
  5427. required: true
  5428. schema:
  5429. $ref: '#/definitions/request.Register'
  5430. produces:
  5431. - application/json
  5432. responses:
  5433. "200":
  5434. description: 用户注册账号,返回包括用户信息
  5435. schema:
  5436. allOf:
  5437. - $ref: '#/definitions/response.Response'
  5438. - properties:
  5439. data:
  5440. $ref: '#/definitions/response.SysUserResponse'
  5441. msg:
  5442. type: string
  5443. type: object
  5444. summary: 用户注册账号
  5445. tags:
  5446. - SysUser
  5447. /user/changePassword:
  5448. post:
  5449. parameters:
  5450. - description: 用户名, 原密码, 新密码
  5451. in: body
  5452. name: data
  5453. required: true
  5454. schema:
  5455. $ref: '#/definitions/request.ChangePasswordReq'
  5456. produces:
  5457. - application/json
  5458. responses:
  5459. "200":
  5460. description: 用户修改密码
  5461. schema:
  5462. allOf:
  5463. - $ref: '#/definitions/response.Response'
  5464. - properties:
  5465. msg:
  5466. type: string
  5467. type: object
  5468. security:
  5469. - ApiKeyAuth: []
  5470. summary: 用户修改密码
  5471. tags:
  5472. - SysUser
  5473. /user/deleteUser:
  5474. delete:
  5475. consumes:
  5476. - application/json
  5477. parameters:
  5478. - description: 用户ID
  5479. in: body
  5480. name: data
  5481. required: true
  5482. schema:
  5483. $ref: '#/definitions/request.GetById'
  5484. produces:
  5485. - application/json
  5486. responses:
  5487. "200":
  5488. description: 删除用户
  5489. schema:
  5490. allOf:
  5491. - $ref: '#/definitions/response.Response'
  5492. - properties:
  5493. msg:
  5494. type: string
  5495. type: object
  5496. security:
  5497. - ApiKeyAuth: []
  5498. summary: 删除用户
  5499. tags:
  5500. - SysUser
  5501. /user/getUserInfo:
  5502. get:
  5503. consumes:
  5504. - application/json
  5505. produces:
  5506. - application/json
  5507. responses:
  5508. "200":
  5509. description: 获取用户信息
  5510. schema:
  5511. allOf:
  5512. - $ref: '#/definitions/response.Response'
  5513. - properties:
  5514. data:
  5515. additionalProperties: true
  5516. type: object
  5517. msg:
  5518. type: string
  5519. type: object
  5520. security:
  5521. - ApiKeyAuth: []
  5522. summary: 获取用户信息
  5523. tags:
  5524. - SysUser
  5525. /user/getUserList:
  5526. post:
  5527. consumes:
  5528. - application/json
  5529. parameters:
  5530. - description: 页码, 每页大小
  5531. in: body
  5532. name: data
  5533. required: true
  5534. schema:
  5535. $ref: '#/definitions/request.GetUserList'
  5536. produces:
  5537. - application/json
  5538. responses:
  5539. "200":
  5540. description: 分页获取用户列表,返回包括列表,总数,页码,每页数量
  5541. schema:
  5542. allOf:
  5543. - $ref: '#/definitions/response.Response'
  5544. - properties:
  5545. data:
  5546. $ref: '#/definitions/response.PageResult'
  5547. msg:
  5548. type: string
  5549. type: object
  5550. security:
  5551. - ApiKeyAuth: []
  5552. summary: 分页获取用户列表
  5553. tags:
  5554. - SysUser
  5555. /user/resetPassword:
  5556. post:
  5557. parameters:
  5558. - description: ID
  5559. in: body
  5560. name: data
  5561. required: true
  5562. schema:
  5563. $ref: '#/definitions/system.SysUser'
  5564. produces:
  5565. - application/json
  5566. responses:
  5567. "200":
  5568. description: 重置用户密码
  5569. schema:
  5570. allOf:
  5571. - $ref: '#/definitions/response.Response'
  5572. - properties:
  5573. msg:
  5574. type: string
  5575. type: object
  5576. security:
  5577. - ApiKeyAuth: []
  5578. summary: 重置用户密码
  5579. tags:
  5580. - SysUser
  5581. /user/setUserAuthorities:
  5582. post:
  5583. consumes:
  5584. - application/json
  5585. parameters:
  5586. - description: 用户UUID, 角色ID
  5587. in: body
  5588. name: data
  5589. required: true
  5590. schema:
  5591. $ref: '#/definitions/request.SetUserAuthorities'
  5592. produces:
  5593. - application/json
  5594. responses:
  5595. "200":
  5596. description: 设置用户权限
  5597. schema:
  5598. allOf:
  5599. - $ref: '#/definitions/response.Response'
  5600. - properties:
  5601. msg:
  5602. type: string
  5603. type: object
  5604. security:
  5605. - ApiKeyAuth: []
  5606. summary: 设置用户权限
  5607. tags:
  5608. - SysUser
  5609. /user/setUserAuthority:
  5610. post:
  5611. consumes:
  5612. - application/json
  5613. parameters:
  5614. - description: 用户UUID, 角色ID
  5615. in: body
  5616. name: data
  5617. required: true
  5618. schema:
  5619. $ref: '#/definitions/request.SetUserAuth'
  5620. produces:
  5621. - application/json
  5622. responses:
  5623. "200":
  5624. description: 设置用户权限
  5625. schema:
  5626. allOf:
  5627. - $ref: '#/definitions/response.Response'
  5628. - properties:
  5629. msg:
  5630. type: string
  5631. type: object
  5632. security:
  5633. - ApiKeyAuth: []
  5634. summary: 更改用户权限
  5635. tags:
  5636. - SysUser
  5637. /user/setUserInfo:
  5638. put:
  5639. consumes:
  5640. - application/json
  5641. parameters:
  5642. - description: ID, 用户名, 昵称, 头像链接
  5643. in: body
  5644. name: data
  5645. required: true
  5646. schema:
  5647. $ref: '#/definitions/system.SysUser'
  5648. produces:
  5649. - application/json
  5650. responses:
  5651. "200":
  5652. description: 设置用户信息
  5653. schema:
  5654. allOf:
  5655. - $ref: '#/definitions/response.Response'
  5656. - properties:
  5657. data:
  5658. additionalProperties: true
  5659. type: object
  5660. msg:
  5661. type: string
  5662. type: object
  5663. security:
  5664. - ApiKeyAuth: []
  5665. summary: 设置用户信息
  5666. tags:
  5667. - SysUser
  5668. securityDefinitions:
  5669. ApiKeyAuth:
  5670. in: header
  5671. name: x-token
  5672. type: apiKey
  5673. swagger: "2.0"
  5674. tags:
  5675. - name: Base
  5676. - description: 用户
  5677. name: SysUser