swagger.json 156 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "gfast 在线API文档",
  5. "title": "gfast API文档",
  6. "contact": {},
  7. "version": "1.0"
  8. },
  9. "host": "localhost",
  10. "basePath": "/system",
  11. "paths": {
  12. "/system/Auth/userList": {
  13. "get": {
  14. "security": [
  15. {
  16. "": []
  17. }
  18. ],
  19. "description": "分页列表",
  20. "tags": [
  21. "用户管理"
  22. ],
  23. "summary": "用户列表",
  24. "parameters": [
  25. {
  26. "description": "data",
  27. "name": "data",
  28. "in": "body",
  29. "required": true,
  30. "schema": {
  31. "$ref": "#/definitions/user.SearchReq"
  32. }
  33. }
  34. ],
  35. "responses": {
  36. "0": {
  37. "description": "{\"code\": 200, \"data\": [...]}",
  38. "schema": {
  39. "$ref": "#/definitions/response.Response"
  40. }
  41. }
  42. }
  43. }
  44. },
  45. "/system/auth/addMenu": {
  46. "post": {
  47. "security": [
  48. {
  49. "Bearer": []
  50. }
  51. ],
  52. "description": "添加菜单",
  53. "consumes": [
  54. "application/json"
  55. ],
  56. "tags": [
  57. "菜单管理"
  58. ],
  59. "summary": "添加菜单",
  60. "parameters": [
  61. {
  62. "description": "data",
  63. "name": "data",
  64. "in": "body",
  65. "required": true,
  66. "schema": {
  67. "$ref": "#/definitions/auth_rule.MenuReq"
  68. }
  69. }
  70. ],
  71. "responses": {
  72. "200": {
  73. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  74. "schema": {
  75. "$ref": "#/definitions/response.Response"
  76. }
  77. }
  78. }
  79. }
  80. },
  81. "/system/auth/addRole": {
  82. "post": {
  83. "security": [
  84. {
  85. "Bearer": []
  86. }
  87. ],
  88. "description": "添加角色",
  89. "consumes": [
  90. "application/json"
  91. ],
  92. "tags": [
  93. "角色管理"
  94. ],
  95. "summary": "添加角色",
  96. "parameters": [
  97. {
  98. "description": "data",
  99. "name": "data",
  100. "in": "body",
  101. "required": true,
  102. "schema": {
  103. "type": "string"
  104. }
  105. }
  106. ],
  107. "responses": {
  108. "200": {
  109. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  110. "schema": {
  111. "$ref": "#/definitions/response.Response"
  112. }
  113. }
  114. }
  115. }
  116. },
  117. "/system/auth/addUser": {
  118. "post": {
  119. "security": [
  120. {
  121. "Bearer": []
  122. }
  123. ],
  124. "description": "添加用户",
  125. "consumes": [
  126. "application/json"
  127. ],
  128. "tags": [
  129. "用户管理"
  130. ],
  131. "summary": "添加用户",
  132. "parameters": [
  133. {
  134. "description": "data",
  135. "name": "data",
  136. "in": "body",
  137. "required": true,
  138. "schema": {
  139. "$ref": "#/definitions/user.AddUserReq"
  140. }
  141. }
  142. ],
  143. "responses": {
  144. "200": {
  145. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  146. "schema": {
  147. "$ref": "#/definitions/response.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/system/auth/changeUserStatus": {
  154. "post": {
  155. "security": [
  156. {
  157. "Bearer": []
  158. }
  159. ],
  160. "description": "修改用户状态",
  161. "consumes": [
  162. "application/json"
  163. ],
  164. "tags": [
  165. "用户管理"
  166. ],
  167. "summary": "修改用户状态",
  168. "parameters": [
  169. {
  170. "description": "data",
  171. "name": "data",
  172. "in": "body",
  173. "required": true,
  174. "schema": {
  175. "$ref": "#/definitions/user.StatusReq"
  176. }
  177. }
  178. ],
  179. "responses": {
  180. "200": {
  181. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  182. "schema": {
  183. "$ref": "#/definitions/response.Response"
  184. }
  185. }
  186. }
  187. }
  188. },
  189. "/system/auth/deleteAdmin": {
  190. "delete": {
  191. "security": [
  192. {
  193. "Bearer": []
  194. }
  195. ],
  196. "description": "删除管理员",
  197. "consumes": [
  198. "application/json"
  199. ],
  200. "tags": [
  201. "用户管理"
  202. ],
  203. "summary": "删除管理员",
  204. "parameters": [
  205. {
  206. "type": "integer",
  207. "description": "ids[1,2,3...]",
  208. "name": "ids",
  209. "in": "path",
  210. "required": true
  211. }
  212. ],
  213. "responses": {
  214. "200": {
  215. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  216. "schema": {
  217. "$ref": "#/definitions/response.Response"
  218. }
  219. }
  220. }
  221. }
  222. },
  223. "/system/auth/deleteMenu": {
  224. "delete": {
  225. "security": [
  226. {
  227. "Bearer": []
  228. }
  229. ],
  230. "description": "删除菜单",
  231. "consumes": [
  232. "application/json"
  233. ],
  234. "tags": [
  235. "菜单管理"
  236. ],
  237. "summary": "删除菜单",
  238. "parameters": [
  239. {
  240. "description": "ids[1,2,3]",
  241. "name": "ids",
  242. "in": "body",
  243. "required": true,
  244. "schema": {
  245. "type": "integer"
  246. }
  247. }
  248. ],
  249. "responses": {
  250. "200": {
  251. "description": "{\"code\": 0, \"message\": \"修改成功\"}",
  252. "schema": {
  253. "$ref": "#/definitions/response.Response"
  254. }
  255. }
  256. }
  257. }
  258. },
  259. "/system/auth/deleteRole": {
  260. "delete": {
  261. "security": [
  262. {
  263. "Bearer": []
  264. }
  265. ],
  266. "description": "删除角色",
  267. "consumes": [
  268. "application/json"
  269. ],
  270. "tags": [
  271. "角色管理"
  272. ],
  273. "summary": "删除角色",
  274. "parameters": [
  275. {
  276. "description": "ids[1,2,3]",
  277. "name": "ids",
  278. "in": "body",
  279. "required": true,
  280. "schema": {
  281. "type": "integer"
  282. }
  283. }
  284. ],
  285. "responses": {
  286. "200": {
  287. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  288. "schema": {
  289. "$ref": "#/definitions/response.Response"
  290. }
  291. }
  292. }
  293. }
  294. },
  295. "/system/auth/editMenu": {
  296. "post": {
  297. "security": [
  298. {
  299. "Bearer": []
  300. }
  301. ],
  302. "description": "修改菜单",
  303. "consumes": [
  304. "application/json"
  305. ],
  306. "tags": [
  307. "菜单管理"
  308. ],
  309. "summary": "修改菜单",
  310. "parameters": [
  311. {
  312. "description": "data",
  313. "name": "data",
  314. "in": "body",
  315. "required": true,
  316. "schema": {
  317. "$ref": "#/definitions/auth_rule.MenuReq"
  318. }
  319. }
  320. ],
  321. "responses": {
  322. "200": {
  323. "description": "{\"code\": 0, \"message\": \"修改成功\"}",
  324. "schema": {
  325. "$ref": "#/definitions/response.Response"
  326. }
  327. }
  328. }
  329. }
  330. },
  331. "/system/auth/editRole": {
  332. "post": {
  333. "security": [
  334. {
  335. "Bearer": []
  336. }
  337. ],
  338. "description": "修改角色",
  339. "consumes": [
  340. "application/json"
  341. ],
  342. "tags": [
  343. "角色管理"
  344. ],
  345. "summary": "修改角色",
  346. "parameters": [
  347. {
  348. "description": "data",
  349. "name": "data",
  350. "in": "body",
  351. "required": true,
  352. "schema": {
  353. "type": "string"
  354. }
  355. }
  356. ],
  357. "responses": {
  358. "200": {
  359. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  360. "schema": {
  361. "$ref": "#/definitions/response.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/system/auth/editUser": {
  368. "post": {
  369. "security": [
  370. {
  371. "Bearer": []
  372. }
  373. ],
  374. "description": "编辑用户",
  375. "consumes": [
  376. "application/json"
  377. ],
  378. "tags": [
  379. "用户管理"
  380. ],
  381. "summary": "编辑用户",
  382. "parameters": [
  383. {
  384. "description": "data",
  385. "name": "data",
  386. "in": "body",
  387. "required": true,
  388. "schema": {
  389. "$ref": "#/definitions/user.EditUserReq"
  390. }
  391. }
  392. ],
  393. "responses": {
  394. "200": {
  395. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  396. "schema": {
  397. "$ref": "#/definitions/response.Response"
  398. }
  399. }
  400. }
  401. }
  402. },
  403. "/system/auth/menuList": {
  404. "get": {
  405. "security": [
  406. {
  407. "": []
  408. }
  409. ],
  410. "description": "获取菜单列表",
  411. "tags": [
  412. "菜单管理"
  413. ],
  414. "summary": "分页列表",
  415. "parameters": [
  416. {
  417. "description": "data",
  418. "name": "data",
  419. "in": "body",
  420. "required": true,
  421. "schema": {
  422. "$ref": "#/definitions/auth_rule.ReqSearch"
  423. }
  424. }
  425. ],
  426. "responses": {
  427. "0": {
  428. "description": "{\"code\": 200, \"data\": [...]}",
  429. "schema": {
  430. "$ref": "#/definitions/response.Response"
  431. }
  432. }
  433. }
  434. }
  435. },
  436. "/system/auth/resetUserPwd": {
  437. "post": {
  438. "security": [
  439. {
  440. "Bearer": []
  441. }
  442. ],
  443. "description": "重置用户密码",
  444. "consumes": [
  445. "application/json"
  446. ],
  447. "tags": [
  448. "用户管理"
  449. ],
  450. "summary": "重置用户密码",
  451. "parameters": [
  452. {
  453. "description": "data",
  454. "name": "data",
  455. "in": "body",
  456. "required": true,
  457. "schema": {
  458. "$ref": "#/definitions/user.ResetPwdReq"
  459. }
  460. }
  461. ],
  462. "responses": {
  463. "200": {
  464. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  465. "schema": {
  466. "$ref": "#/definitions/response.Response"
  467. }
  468. }
  469. }
  470. }
  471. },
  472. "/system/auth/roleDataScope": {
  473. "post": {
  474. "security": [
  475. {
  476. "Bearer": []
  477. }
  478. ],
  479. "description": "角色数据权限分配",
  480. "consumes": [
  481. "application/json"
  482. ],
  483. "tags": [
  484. "用户管理"
  485. ],
  486. "summary": "角色数据权限分配",
  487. "parameters": [
  488. {
  489. "description": "data",
  490. "name": "data",
  491. "in": "body",
  492. "required": true,
  493. "schema": {
  494. "$ref": "#/definitions/role.DataScopeReq"
  495. }
  496. }
  497. ],
  498. "responses": {
  499. "200": {
  500. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  501. "schema": {
  502. "$ref": "#/definitions/response.Response"
  503. }
  504. }
  505. }
  506. }
  507. },
  508. "/system/auth/roleList": {
  509. "get": {
  510. "security": [
  511. {
  512. "": []
  513. }
  514. ],
  515. "description": "分页列表",
  516. "tags": [
  517. "角色管理"
  518. ],
  519. "summary": "角色列表",
  520. "parameters": [
  521. {
  522. "description": "data",
  523. "name": "data",
  524. "in": "body",
  525. "required": true,
  526. "schema": {
  527. "$ref": "#/definitions/role.SelectPageReq"
  528. }
  529. }
  530. ],
  531. "responses": {
  532. "0": {
  533. "description": "{\"code\": 200, \"data\": [...]}",
  534. "schema": {
  535. "$ref": "#/definitions/response.Response"
  536. }
  537. }
  538. }
  539. }
  540. },
  541. "/system/auth/statusSetRole": {
  542. "post": {
  543. "security": [
  544. {
  545. "Bearer": []
  546. }
  547. ],
  548. "description": "设置角色状态",
  549. "consumes": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "用户管理"
  554. ],
  555. "summary": "设置角色状态",
  556. "parameters": [
  557. {
  558. "description": "data",
  559. "name": "data",
  560. "in": "body",
  561. "required": true,
  562. "schema": {
  563. "$ref": "#/definitions/role.StatusSetReq"
  564. }
  565. }
  566. ],
  567. "responses": {
  568. "200": {
  569. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  570. "schema": {
  571. "$ref": "#/definitions/response.Response"
  572. }
  573. }
  574. }
  575. }
  576. },
  577. "/system/cms/menu/add": {
  578. "post": {
  579. "security": [
  580. {
  581. "": []
  582. }
  583. ],
  584. "description": "添加栏目",
  585. "tags": [
  586. "栏目管理"
  587. ],
  588. "summary": "添加栏目",
  589. "parameters": [
  590. {
  591. "description": "data",
  592. "name": "data",
  593. "in": "body",
  594. "required": true,
  595. "schema": {
  596. "$ref": "#/definitions/cms_category.ReqAdd"
  597. }
  598. }
  599. ],
  600. "responses": {
  601. "0": {
  602. "description": "{\"code\": 200, \"data\": [...]}",
  603. "schema": {
  604. "$ref": "#/definitions/response.Response"
  605. }
  606. }
  607. }
  608. }
  609. },
  610. "/system/cms/menu/delete": {
  611. "delete": {
  612. "security": [
  613. {
  614. "": []
  615. }
  616. ],
  617. "description": "删除栏目",
  618. "tags": [
  619. "栏目管理"
  620. ],
  621. "summary": "删除栏目",
  622. "parameters": [
  623. {
  624. "description": "ids",
  625. "name": "ids",
  626. "in": "body",
  627. "required": true,
  628. "schema": {
  629. "type": "integer"
  630. }
  631. }
  632. ],
  633. "responses": {
  634. "0": {
  635. "description": "{\"code\": 200, \"data\": [...]}",
  636. "schema": {
  637. "$ref": "#/definitions/response.Response"
  638. }
  639. }
  640. }
  641. }
  642. },
  643. "/system/cms/menu/edit": {
  644. "post": {
  645. "security": [
  646. {
  647. "": []
  648. }
  649. ],
  650. "description": "修改栏目",
  651. "tags": [
  652. "栏目管理"
  653. ],
  654. "summary": "修改栏目",
  655. "parameters": [
  656. {
  657. "description": "data",
  658. "name": "data",
  659. "in": "body",
  660. "required": true,
  661. "schema": {
  662. "$ref": "#/definitions/cms_category.ReqEdit"
  663. }
  664. }
  665. ],
  666. "responses": {
  667. "0": {
  668. "description": "{\"code\": 200, \"data\": [...]}",
  669. "schema": {
  670. "$ref": "#/definitions/response.Response"
  671. }
  672. }
  673. }
  674. }
  675. },
  676. "/system/cms/menu/list": {
  677. "get": {
  678. "security": [
  679. {
  680. "": []
  681. }
  682. ],
  683. "description": "分页列表",
  684. "tags": [
  685. "栏目管理"
  686. ],
  687. "summary": "栏目列表",
  688. "parameters": [
  689. {
  690. "description": "data",
  691. "name": "data",
  692. "in": "body",
  693. "required": true,
  694. "schema": {
  695. "$ref": "#/definitions/cms_category.ReqSearchList"
  696. }
  697. }
  698. ],
  699. "responses": {
  700. "0": {
  701. "description": "{\"code\": 200, \"data\": [...]}",
  702. "schema": {
  703. "$ref": "#/definitions/response.Response"
  704. }
  705. }
  706. }
  707. }
  708. },
  709. "/system/cms/menu/modelOptions": {
  710. "get": {
  711. "security": [
  712. {
  713. "": []
  714. }
  715. ],
  716. "description": "栏目模型选项",
  717. "tags": [
  718. "栏目管理"
  719. ],
  720. "summary": "栏目模型选项",
  721. "responses": {
  722. "0": {
  723. "description": "{\"code\": 200, \"data\": [...]}",
  724. "schema": {
  725. "$ref": "#/definitions/response.Response"
  726. }
  727. }
  728. }
  729. }
  730. },
  731. "/system/cms/menu/sort": {
  732. "post": {
  733. "security": [
  734. {
  735. "": []
  736. }
  737. ],
  738. "description": "栏目排序",
  739. "tags": [
  740. "栏目管理"
  741. ],
  742. "summary": "栏目排序",
  743. "parameters": [
  744. {
  745. "description": "data",
  746. "name": "data",
  747. "in": "body",
  748. "required": true,
  749. "schema": {
  750. "type": "string"
  751. }
  752. }
  753. ],
  754. "responses": {
  755. "0": {
  756. "description": "{\"code\": 200, \"data\": [...]}",
  757. "schema": {
  758. "$ref": "#/definitions/response.Response"
  759. }
  760. }
  761. }
  762. }
  763. },
  764. "/system/cms/news/add": {
  765. "post": {
  766. "security": [
  767. {
  768. "": []
  769. }
  770. ],
  771. "description": "添加信息",
  772. "tags": [
  773. "文章管理"
  774. ],
  775. "summary": "添加信息",
  776. "parameters": [
  777. {
  778. "description": "data",
  779. "name": "data",
  780. "in": "body",
  781. "required": true,
  782. "schema": {
  783. "$ref": "#/definitions/cms_news.ReqAddParams"
  784. }
  785. }
  786. ],
  787. "responses": {
  788. "0": {
  789. "description": "{\"code\": 200, \"data\": [...]}",
  790. "schema": {
  791. "$ref": "#/definitions/response.Response"
  792. }
  793. }
  794. }
  795. }
  796. },
  797. "/system/cms/news/delete": {
  798. "delete": {
  799. "security": [
  800. {
  801. "": []
  802. }
  803. ],
  804. "description": "删除信息",
  805. "tags": [
  806. "文章管理"
  807. ],
  808. "summary": "删除信息",
  809. "parameters": [
  810. {
  811. "description": "ids[1,2,3..]",
  812. "name": "ids",
  813. "in": "body",
  814. "required": true,
  815. "schema": {
  816. "type": "integer"
  817. }
  818. }
  819. ],
  820. "responses": {
  821. "0": {
  822. "description": "{\"code\": 200, \"data\": [...]}",
  823. "schema": {
  824. "$ref": "#/definitions/response.Response"
  825. }
  826. }
  827. }
  828. }
  829. },
  830. "/system/cms/news/edit": {
  831. "post": {
  832. "security": [
  833. {
  834. "": []
  835. }
  836. ],
  837. "description": "修改信息",
  838. "tags": [
  839. "文章管理"
  840. ],
  841. "summary": "修改信息",
  842. "parameters": [
  843. {
  844. "description": "data",
  845. "name": "data",
  846. "in": "body",
  847. "required": true,
  848. "schema": {
  849. "$ref": "#/definitions/cms_news.ReqEditParams"
  850. }
  851. }
  852. ],
  853. "responses": {
  854. "0": {
  855. "description": "{\"code\": 200, \"data\": [...]}",
  856. "schema": {
  857. "$ref": "#/definitions/response.Response"
  858. }
  859. }
  860. }
  861. }
  862. },
  863. "/system/cms/news/getModelFields": {
  864. "get": {
  865. "security": [
  866. {
  867. "": []
  868. }
  869. ],
  870. "description": "获取模型字段",
  871. "tags": [
  872. "栏目管理"
  873. ],
  874. "summary": "获取模型字段",
  875. "parameters": [
  876. {
  877. "description": "cateIds[1,2,3...]",
  878. "name": "cateIds",
  879. "in": "body",
  880. "required": true,
  881. "schema": {
  882. "type": "integer"
  883. }
  884. },
  885. {
  886. "description": "newsId",
  887. "name": "newsId",
  888. "in": "body",
  889. "required": true,
  890. "schema": {
  891. "type": "integer"
  892. }
  893. }
  894. ],
  895. "responses": {
  896. "0": {
  897. "description": "{\"code\": 200, \"data\": [...]}",
  898. "schema": {
  899. "$ref": "#/definitions/response.Response"
  900. }
  901. }
  902. }
  903. }
  904. },
  905. "/system/cms/news/list": {
  906. "get": {
  907. "security": [
  908. {
  909. "": []
  910. }
  911. ],
  912. "description": "信息列表",
  913. "tags": [
  914. "文章管理"
  915. ],
  916. "summary": "信息列表",
  917. "parameters": [
  918. {
  919. "description": "data",
  920. "name": "data",
  921. "in": "body",
  922. "required": true,
  923. "schema": {
  924. "$ref": "#/definitions/cms_news.ReqListSearchParams"
  925. }
  926. }
  927. ],
  928. "responses": {
  929. "0": {
  930. "description": "{\"code\": 200, \"data\": [...]}",
  931. "schema": {
  932. "$ref": "#/definitions/response.Response"
  933. }
  934. }
  935. }
  936. }
  937. },
  938. "/system/config/dict/add": {
  939. "post": {
  940. "security": [
  941. {
  942. "": []
  943. }
  944. ],
  945. "description": "添加字典",
  946. "tags": [
  947. "字典管理"
  948. ],
  949. "summary": "添加字典",
  950. "parameters": [
  951. {
  952. "description": "data",
  953. "name": "data",
  954. "in": "body",
  955. "required": true,
  956. "schema": {
  957. "$ref": "#/definitions/sys_dict_type.AddReq"
  958. }
  959. }
  960. ],
  961. "responses": {
  962. "0": {
  963. "description": "{\"code\": 200, \"data\": [...]}",
  964. "schema": {
  965. "$ref": "#/definitions/response.Response"
  966. }
  967. }
  968. }
  969. }
  970. },
  971. "/system/config/dict/dataAdd": {
  972. "post": {
  973. "security": [
  974. {
  975. "": []
  976. }
  977. ],
  978. "description": "添加数据字典",
  979. "tags": [
  980. "字典管理"
  981. ],
  982. "summary": "添加数据字典",
  983. "parameters": [
  984. {
  985. "description": "data",
  986. "name": "data",
  987. "in": "body",
  988. "required": true,
  989. "schema": {
  990. "$ref": "#/definitions/sys_dict_data.AddDataReq"
  991. }
  992. }
  993. ],
  994. "responses": {
  995. "0": {
  996. "description": "{\"code\": 200, \"data\": [...]}",
  997. "schema": {
  998. "$ref": "#/definitions/response.Response"
  999. }
  1000. }
  1001. }
  1002. }
  1003. },
  1004. "/system/config/dict/dataDelete": {
  1005. "delete": {
  1006. "security": [
  1007. {
  1008. "": []
  1009. }
  1010. ],
  1011. "description": "删除字典数据",
  1012. "tags": [
  1013. "字典管理"
  1014. ],
  1015. "summary": "删除字典数据",
  1016. "parameters": [
  1017. {
  1018. "description": "ids[1,2,3...]",
  1019. "name": "ids",
  1020. "in": "body",
  1021. "required": true,
  1022. "schema": {
  1023. "type": "integer"
  1024. }
  1025. }
  1026. ],
  1027. "responses": {
  1028. "0": {
  1029. "description": "{\"code\": 200, \"data\": [...]}",
  1030. "schema": {
  1031. "$ref": "#/definitions/response.Response"
  1032. }
  1033. }
  1034. }
  1035. }
  1036. },
  1037. "/system/config/dict/dataEdit": {
  1038. "post": {
  1039. "security": [
  1040. {
  1041. "": []
  1042. }
  1043. ],
  1044. "description": "修改字典数据",
  1045. "tags": [
  1046. "字典管理"
  1047. ],
  1048. "summary": "修改字典数据",
  1049. "parameters": [
  1050. {
  1051. "description": "data",
  1052. "name": "data",
  1053. "in": "body",
  1054. "required": true,
  1055. "schema": {
  1056. "$ref": "#/definitions/sys_dict_data.EditDataReq"
  1057. }
  1058. }
  1059. ],
  1060. "responses": {
  1061. "0": {
  1062. "description": "{\"code\": 200, \"data\": [...]}",
  1063. "schema": {
  1064. "$ref": "#/definitions/response.Response"
  1065. }
  1066. }
  1067. }
  1068. }
  1069. },
  1070. "/system/config/dict/dataList": {
  1071. "get": {
  1072. "security": [
  1073. {
  1074. "": []
  1075. }
  1076. ],
  1077. "description": "字典数据列表",
  1078. "tags": [
  1079. "字典管理"
  1080. ],
  1081. "summary": "字典数据列表",
  1082. "parameters": [
  1083. {
  1084. "description": "data",
  1085. "name": "data",
  1086. "in": "body",
  1087. "required": true,
  1088. "schema": {
  1089. "$ref": "#/definitions/sys_dict_data.SelectDataPageReq"
  1090. }
  1091. }
  1092. ],
  1093. "responses": {
  1094. "0": {
  1095. "description": "{\"code\": 200, \"data\": [...]}",
  1096. "schema": {
  1097. "$ref": "#/definitions/response.Response"
  1098. }
  1099. }
  1100. }
  1101. }
  1102. },
  1103. "/system/config/dict/delete": {
  1104. "delete": {
  1105. "security": [
  1106. {
  1107. "": []
  1108. }
  1109. ],
  1110. "description": "删除字典",
  1111. "tags": [
  1112. "字典管理"
  1113. ],
  1114. "summary": "删除字典",
  1115. "parameters": [
  1116. {
  1117. "description": "dictIds[1,2,3]",
  1118. "name": "dictIds",
  1119. "in": "body",
  1120. "required": true,
  1121. "schema": {
  1122. "type": "string"
  1123. }
  1124. }
  1125. ],
  1126. "responses": {
  1127. "0": {
  1128. "description": "{\"code\": 200, \"data\": [...]}",
  1129. "schema": {
  1130. "$ref": "#/definitions/response.Response"
  1131. }
  1132. }
  1133. }
  1134. }
  1135. },
  1136. "/system/config/dict/edit": {
  1137. "post": {
  1138. "security": [
  1139. {
  1140. "": []
  1141. }
  1142. ],
  1143. "description": "修改字典",
  1144. "tags": [
  1145. "字典管理"
  1146. ],
  1147. "summary": "修改字典",
  1148. "parameters": [
  1149. {
  1150. "description": "data",
  1151. "name": "data",
  1152. "in": "body",
  1153. "required": true,
  1154. "schema": {
  1155. "$ref": "#/definitions/sys_dict_type.EditReq"
  1156. }
  1157. }
  1158. ],
  1159. "responses": {
  1160. "0": {
  1161. "description": "{\"code\": 200, \"data\": [...]}",
  1162. "schema": {
  1163. "$ref": "#/definitions/response.Response"
  1164. }
  1165. }
  1166. }
  1167. }
  1168. },
  1169. "/system/config/dict/list": {
  1170. "get": {
  1171. "security": [
  1172. {
  1173. "": []
  1174. }
  1175. ],
  1176. "description": "字典列表",
  1177. "tags": [
  1178. "字典管理"
  1179. ],
  1180. "summary": "字典列表",
  1181. "parameters": [
  1182. {
  1183. "description": "data",
  1184. "name": "data",
  1185. "in": "body",
  1186. "required": true,
  1187. "schema": {
  1188. "$ref": "#/definitions/sys_dict_type.SelectPageReq"
  1189. }
  1190. }
  1191. ],
  1192. "responses": {
  1193. "0": {
  1194. "description": "{\"code\": 200, \"data\": [...]}",
  1195. "schema": {
  1196. "$ref": "#/definitions/response.Response"
  1197. }
  1198. }
  1199. }
  1200. }
  1201. },
  1202. "/system/config/dict/sysNormalDisable": {
  1203. "post": {
  1204. "security": [
  1205. {
  1206. "": []
  1207. }
  1208. ],
  1209. "description": "获取字典对应选项",
  1210. "tags": [
  1211. "字典管理"
  1212. ],
  1213. "summary": "获取字典对应选项",
  1214. "parameters": [
  1215. {
  1216. "type": "string",
  1217. "description": "dictType",
  1218. "name": "dictType",
  1219. "in": "query",
  1220. "required": true
  1221. }
  1222. ],
  1223. "responses": {
  1224. "0": {
  1225. "description": "{\"code\": 200, \"data\": [...]}",
  1226. "schema": {
  1227. "$ref": "#/definitions/response.Response"
  1228. }
  1229. }
  1230. }
  1231. }
  1232. },
  1233. "/system/config/params/add": {
  1234. "post": {
  1235. "security": [
  1236. {
  1237. "": []
  1238. }
  1239. ],
  1240. "description": "添加参数",
  1241. "tags": [
  1242. "参数管理"
  1243. ],
  1244. "summary": "添加参数",
  1245. "parameters": [
  1246. {
  1247. "description": "data",
  1248. "name": "data",
  1249. "in": "body",
  1250. "required": true,
  1251. "schema": {
  1252. "$ref": "#/definitions/sys_config.AddReq"
  1253. }
  1254. }
  1255. ],
  1256. "responses": {
  1257. "0": {
  1258. "description": "{\"code\": 200, \"data\": [...]}",
  1259. "schema": {
  1260. "$ref": "#/definitions/response.Response"
  1261. }
  1262. }
  1263. }
  1264. }
  1265. },
  1266. "/system/config/params/delete": {
  1267. "delete": {
  1268. "security": [
  1269. {
  1270. "": []
  1271. }
  1272. ],
  1273. "description": "删除参数",
  1274. "tags": [
  1275. "参数管理"
  1276. ],
  1277. "summary": "删除参数",
  1278. "parameters": [
  1279. {
  1280. "description": "ids[1,2,3...]",
  1281. "name": "ids",
  1282. "in": "body",
  1283. "required": true,
  1284. "schema": {
  1285. "type": "integer"
  1286. }
  1287. }
  1288. ],
  1289. "responses": {
  1290. "0": {
  1291. "description": "{\"code\": 200, \"data\": [...]}",
  1292. "schema": {
  1293. "$ref": "#/definitions/response.Response"
  1294. }
  1295. }
  1296. }
  1297. }
  1298. },
  1299. "/system/config/params/edit": {
  1300. "post": {
  1301. "security": [
  1302. {
  1303. "": []
  1304. }
  1305. ],
  1306. "description": "修改参数",
  1307. "tags": [
  1308. "参数管理"
  1309. ],
  1310. "summary": "修改参数",
  1311. "parameters": [
  1312. {
  1313. "description": "data",
  1314. "name": "data",
  1315. "in": "body",
  1316. "required": true,
  1317. "schema": {
  1318. "$ref": "#/definitions/sys_config.EditReq"
  1319. }
  1320. }
  1321. ],
  1322. "responses": {
  1323. "0": {
  1324. "description": "{\"code\": 200, \"data\": [...]}",
  1325. "schema": {
  1326. "$ref": "#/definitions/response.Response"
  1327. }
  1328. }
  1329. }
  1330. }
  1331. },
  1332. "/system/config/params/list": {
  1333. "get": {
  1334. "security": [
  1335. {
  1336. "": []
  1337. }
  1338. ],
  1339. "description": "参数列表",
  1340. "tags": [
  1341. "参数管理"
  1342. ],
  1343. "summary": "参数列表",
  1344. "parameters": [
  1345. {
  1346. "description": "data",
  1347. "name": "data",
  1348. "in": "body",
  1349. "required": true,
  1350. "schema": {
  1351. "$ref": "#/definitions/sys_config.SelectPageReq"
  1352. }
  1353. }
  1354. ],
  1355. "responses": {
  1356. "0": {
  1357. "description": "{\"code\": 200, \"data\": [...]}",
  1358. "schema": {
  1359. "$ref": "#/definitions/response.Response"
  1360. }
  1361. }
  1362. }
  1363. }
  1364. },
  1365. "/system/dept/addDept": {
  1366. "post": {
  1367. "security": [
  1368. {
  1369. "Bearer": []
  1370. }
  1371. ],
  1372. "description": "获取JSON",
  1373. "consumes": [
  1374. "application/json"
  1375. ],
  1376. "tags": [
  1377. "部门"
  1378. ],
  1379. "summary": "添加部门",
  1380. "parameters": [
  1381. {
  1382. "description": "data",
  1383. "name": "data",
  1384. "in": "body",
  1385. "required": true,
  1386. "schema": {
  1387. "$ref": "#/definitions/sys_dept.AddParams"
  1388. }
  1389. }
  1390. ],
  1391. "responses": {
  1392. "200": {
  1393. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  1394. "schema": {
  1395. "$ref": "#/definitions/response.Response"
  1396. }
  1397. }
  1398. }
  1399. }
  1400. },
  1401. "/system/dept/delDept/{id}": {
  1402. "delete": {
  1403. "description": "删除数据",
  1404. "tags": [
  1405. "部门"
  1406. ],
  1407. "summary": "删除部门",
  1408. "parameters": [
  1409. {
  1410. "type": "integer",
  1411. "description": "id",
  1412. "name": "id",
  1413. "in": "path",
  1414. "required": true
  1415. }
  1416. ],
  1417. "responses": {
  1418. "200": {
  1419. "description": "{\"code\": 0, \"message\": \"删除成功\"}",
  1420. "schema": {
  1421. "$ref": "#/definitions/response.Response"
  1422. }
  1423. }
  1424. }
  1425. }
  1426. },
  1427. "/system/dept/editDept": {
  1428. "post": {
  1429. "security": [
  1430. {
  1431. "Bearer": []
  1432. }
  1433. ],
  1434. "description": "获取JSON",
  1435. "consumes": [
  1436. "application/json"
  1437. ],
  1438. "tags": [
  1439. "部门"
  1440. ],
  1441. "summary": "修改部门",
  1442. "parameters": [
  1443. {
  1444. "description": "data",
  1445. "name": "data",
  1446. "in": "body",
  1447. "required": true,
  1448. "schema": {
  1449. "$ref": "#/definitions/sys_dept.EditParams"
  1450. }
  1451. }
  1452. ],
  1453. "responses": {
  1454. "200": {
  1455. "description": "{\"code\": 0, \"message\": \"修改成功\"}",
  1456. "schema": {
  1457. "$ref": "#/definitions/response.Response"
  1458. }
  1459. }
  1460. }
  1461. }
  1462. },
  1463. "/system/dept/list": {
  1464. "get": {
  1465. "security": [
  1466. {
  1467. "": []
  1468. }
  1469. ],
  1470. "description": "分页列表",
  1471. "tags": [
  1472. "部门"
  1473. ],
  1474. "summary": "分页部门列表数据",
  1475. "parameters": [
  1476. {
  1477. "description": "data",
  1478. "name": "data",
  1479. "in": "body",
  1480. "required": true,
  1481. "schema": {
  1482. "$ref": "#/definitions/sys_dept.SearchParams"
  1483. }
  1484. }
  1485. ],
  1486. "responses": {
  1487. "0": {
  1488. "description": "{\"code\": 200, \"data\": [...]}",
  1489. "schema": {
  1490. "$ref": "#/definitions/response.Response"
  1491. }
  1492. }
  1493. }
  1494. }
  1495. },
  1496. "/system/index/getInfo": {
  1497. "get": {
  1498. "security": [
  1499. {
  1500. "": []
  1501. }
  1502. ],
  1503. "description": "获取登录用户信息",
  1504. "tags": [
  1505. "公共"
  1506. ],
  1507. "summary": "获取登录用户信息",
  1508. "responses": {
  1509. "0": {
  1510. "description": "{\"code\": 200, \"data\": [...]}",
  1511. "schema": {
  1512. "$ref": "#/definitions/response.Response"
  1513. }
  1514. }
  1515. }
  1516. }
  1517. },
  1518. "/system/index/getRouters": {
  1519. "get": {
  1520. "security": [
  1521. {
  1522. "": []
  1523. }
  1524. ],
  1525. "description": "获取后台菜单",
  1526. "tags": [
  1527. "公共"
  1528. ],
  1529. "summary": "获取后台菜单",
  1530. "responses": {
  1531. "0": {
  1532. "description": "{\"code\": 200, \"data\": [...]}",
  1533. "schema": {
  1534. "$ref": "#/definitions/response.Response"
  1535. }
  1536. }
  1537. }
  1538. }
  1539. },
  1540. "/system/model/category/add": {
  1541. "post": {
  1542. "security": [
  1543. {
  1544. "": []
  1545. }
  1546. ],
  1547. "description": "添加模型分类",
  1548. "tags": [
  1549. "模型分类"
  1550. ],
  1551. "summary": "添加模型分类",
  1552. "parameters": [
  1553. {
  1554. "description": "data",
  1555. "name": "data",
  1556. "in": "body",
  1557. "required": true,
  1558. "schema": {
  1559. "$ref": "#/definitions/model_category.AddReq"
  1560. }
  1561. }
  1562. ],
  1563. "responses": {
  1564. "0": {
  1565. "description": "{\"code\": 200, \"data\": [...]}",
  1566. "schema": {
  1567. "$ref": "#/definitions/response.Response"
  1568. }
  1569. }
  1570. }
  1571. }
  1572. },
  1573. "/system/model/category/all": {
  1574. "post": {
  1575. "security": [
  1576. {
  1577. "": []
  1578. }
  1579. ],
  1580. "description": "模型分类",
  1581. "tags": [
  1582. "模型分类"
  1583. ],
  1584. "summary": "模型分类",
  1585. "responses": {
  1586. "0": {
  1587. "description": "{\"code\": 200, \"data\": [...]}",
  1588. "schema": {
  1589. "$ref": "#/definitions/response.Response"
  1590. }
  1591. }
  1592. }
  1593. }
  1594. },
  1595. "/system/model/category/delete": {
  1596. "delete": {
  1597. "security": [
  1598. {
  1599. "": []
  1600. }
  1601. ],
  1602. "description": "删除分类",
  1603. "tags": [
  1604. "模型分类"
  1605. ],
  1606. "summary": "删除分类",
  1607. "parameters": [
  1608. {
  1609. "description": "ids",
  1610. "name": "ids",
  1611. "in": "body",
  1612. "required": true,
  1613. "schema": {
  1614. "type": "integer"
  1615. }
  1616. }
  1617. ],
  1618. "responses": {
  1619. "0": {
  1620. "description": "{\"code\": 200, \"data\": [...]}",
  1621. "schema": {
  1622. "$ref": "#/definitions/response.Response"
  1623. }
  1624. }
  1625. }
  1626. }
  1627. },
  1628. "/system/model/category/edit": {
  1629. "post": {
  1630. "security": [
  1631. {
  1632. "": []
  1633. }
  1634. ],
  1635. "description": "修改模型分类",
  1636. "tags": [
  1637. "模型分类"
  1638. ],
  1639. "summary": "修改模型分类",
  1640. "parameters": [
  1641. {
  1642. "description": "data",
  1643. "name": "data",
  1644. "in": "body",
  1645. "required": true,
  1646. "schema": {
  1647. "$ref": "#/definitions/model_category.EditReq"
  1648. }
  1649. }
  1650. ],
  1651. "responses": {
  1652. "0": {
  1653. "description": "{\"code\": 200, \"data\": [...]}",
  1654. "schema": {
  1655. "$ref": "#/definitions/response.Response"
  1656. }
  1657. }
  1658. }
  1659. }
  1660. },
  1661. "/system/model/category/list": {
  1662. "get": {
  1663. "security": [
  1664. {
  1665. "": []
  1666. }
  1667. ],
  1668. "description": "模型列表",
  1669. "tags": [
  1670. "模型分类"
  1671. ],
  1672. "summary": "模型列表",
  1673. "parameters": [
  1674. {
  1675. "description": "data",
  1676. "name": "data",
  1677. "in": "body",
  1678. "required": true,
  1679. "schema": {
  1680. "$ref": "#/definitions/model_category.SearchReq"
  1681. }
  1682. }
  1683. ],
  1684. "responses": {
  1685. "0": {
  1686. "description": "{\"code\": 200, \"data\": [...]}",
  1687. "schema": {
  1688. "$ref": "#/definitions/response.Response"
  1689. }
  1690. }
  1691. }
  1692. }
  1693. },
  1694. "/system/model/category/sort": {
  1695. "post": {
  1696. "security": [
  1697. {
  1698. "": []
  1699. }
  1700. ],
  1701. "description": "分类排序",
  1702. "tags": [
  1703. "模型分类"
  1704. ],
  1705. "summary": "分类排序",
  1706. "parameters": [
  1707. {
  1708. "description": "sorts",
  1709. "name": "sorts",
  1710. "in": "body",
  1711. "required": true,
  1712. "schema": {
  1713. "type": "string"
  1714. }
  1715. }
  1716. ],
  1717. "responses": {
  1718. "0": {
  1719. "description": "{\"code\": 200, \"data\": [...]}",
  1720. "schema": {
  1721. "$ref": "#/definitions/response.Response"
  1722. }
  1723. }
  1724. }
  1725. }
  1726. },
  1727. "/system/model/info/add": {
  1728. "post": {
  1729. "security": [
  1730. {
  1731. "": []
  1732. }
  1733. ],
  1734. "description": "新增",
  1735. "tags": [
  1736. "模型列表"
  1737. ],
  1738. "summary": "新增",
  1739. "parameters": [
  1740. {
  1741. "description": "data",
  1742. "name": "data",
  1743. "in": "body",
  1744. "required": true,
  1745. "schema": {
  1746. "$ref": "#/definitions/model_info.AddReq"
  1747. }
  1748. }
  1749. ],
  1750. "responses": {
  1751. "0": {
  1752. "description": "{\"code\": 200, \"data\": [...]}",
  1753. "schema": {
  1754. "$ref": "#/definitions/response.Response"
  1755. }
  1756. }
  1757. }
  1758. }
  1759. },
  1760. "/system/model/info/copyModel": {
  1761. "post": {
  1762. "security": [
  1763. {
  1764. "": []
  1765. }
  1766. ],
  1767. "description": "复制模型",
  1768. "tags": [
  1769. "模型列表"
  1770. ],
  1771. "summary": "复制模型",
  1772. "parameters": [
  1773. {
  1774. "type": "integer",
  1775. "description": "int valid",
  1776. "name": "modelId",
  1777. "in": "path",
  1778. "required": true
  1779. }
  1780. ],
  1781. "responses": {
  1782. "0": {
  1783. "description": "{\"code\": 200, \"data\": [...]}",
  1784. "schema": {
  1785. "$ref": "#/definitions/response.Response"
  1786. }
  1787. }
  1788. }
  1789. }
  1790. },
  1791. "/system/model/info/createModel": {
  1792. "post": {
  1793. "security": [
  1794. {
  1795. "": []
  1796. }
  1797. ],
  1798. "description": "模型生成",
  1799. "tags": [
  1800. "模型列表"
  1801. ],
  1802. "summary": "模型生成",
  1803. "parameters": [
  1804. {
  1805. "type": "integer",
  1806. "description": "int valid",
  1807. "name": "modelId",
  1808. "in": "path",
  1809. "required": true
  1810. }
  1811. ],
  1812. "responses": {
  1813. "0": {
  1814. "description": "{\"code\": 200, \"data\": [...]}",
  1815. "schema": {
  1816. "$ref": "#/definitions/response.Response"
  1817. }
  1818. }
  1819. }
  1820. }
  1821. },
  1822. "/system/model/info/delete": {
  1823. "post": {
  1824. "security": [
  1825. {
  1826. "": []
  1827. }
  1828. ],
  1829. "description": "删除",
  1830. "tags": [
  1831. "模型列表"
  1832. ],
  1833. "summary": "删除",
  1834. "parameters": [
  1835. {
  1836. "description": "data",
  1837. "name": "data",
  1838. "in": "body",
  1839. "required": true,
  1840. "schema": {
  1841. "$ref": "#/definitions/model_info.RemoveReq"
  1842. }
  1843. }
  1844. ],
  1845. "responses": {
  1846. "0": {
  1847. "description": "{\"code\": 200, \"data\": [...]}",
  1848. "schema": {
  1849. "$ref": "#/definitions/response.Response"
  1850. }
  1851. }
  1852. }
  1853. }
  1854. },
  1855. "/system/model/info/edit": {
  1856. "post": {
  1857. "security": [
  1858. {
  1859. "": []
  1860. }
  1861. ],
  1862. "description": "修改",
  1863. "tags": [
  1864. "模型列表"
  1865. ],
  1866. "summary": "修改",
  1867. "parameters": [
  1868. {
  1869. "description": "data",
  1870. "name": "data",
  1871. "in": "body",
  1872. "required": true,
  1873. "schema": {
  1874. "$ref": "#/definitions/model_info.EditReq"
  1875. }
  1876. }
  1877. ],
  1878. "responses": {
  1879. "0": {
  1880. "description": "{\"code\": 200, \"data\": [...]}",
  1881. "schema": {
  1882. "$ref": "#/definitions/response.Response"
  1883. }
  1884. }
  1885. }
  1886. }
  1887. },
  1888. "/system/model/info/list": {
  1889. "post": {
  1890. "security": [
  1891. {
  1892. "": []
  1893. }
  1894. ],
  1895. "description": "列表页",
  1896. "tags": [
  1897. "模型列表"
  1898. ],
  1899. "summary": "列表页",
  1900. "parameters": [
  1901. {
  1902. "description": "data",
  1903. "name": "data",
  1904. "in": "body",
  1905. "required": true,
  1906. "schema": {
  1907. "$ref": "#/definitions/model_info.SelectPageReq"
  1908. }
  1909. }
  1910. ],
  1911. "responses": {
  1912. "0": {
  1913. "description": "{\"code\": 200, \"data\": [...]}",
  1914. "schema": {
  1915. "$ref": "#/definitions/response.Response"
  1916. }
  1917. }
  1918. }
  1919. }
  1920. },
  1921. "/system/model/info/setStatus": {
  1922. "post": {
  1923. "security": [
  1924. {
  1925. "": []
  1926. }
  1927. ],
  1928. "description": "设置模型状态",
  1929. "tags": [
  1930. "模型列表"
  1931. ],
  1932. "summary": "设置模型状态",
  1933. "parameters": [
  1934. {
  1935. "description": "data",
  1936. "name": "data",
  1937. "in": "body",
  1938. "required": true,
  1939. "schema": {
  1940. "$ref": "#/definitions/model_info.StatusSetReq"
  1941. }
  1942. }
  1943. ],
  1944. "responses": {
  1945. "0": {
  1946. "description": "{\"code\": 200, \"data\": [...]}",
  1947. "schema": {
  1948. "$ref": "#/definitions/response.Response"
  1949. }
  1950. }
  1951. }
  1952. }
  1953. },
  1954. "/system/monitor/job/add": {
  1955. "post": {
  1956. "security": [
  1957. {
  1958. "": []
  1959. }
  1960. ],
  1961. "description": "添加任务",
  1962. "tags": [
  1963. "定时任务"
  1964. ],
  1965. "summary": "添加任务",
  1966. "parameters": [
  1967. {
  1968. "description": "data",
  1969. "name": "data",
  1970. "in": "body",
  1971. "required": true,
  1972. "schema": {
  1973. "$ref": "#/definitions/sys_job.ReqAdd"
  1974. }
  1975. }
  1976. ],
  1977. "responses": {
  1978. "0": {
  1979. "description": "{\"code\": 200, \"data\": [...]}",
  1980. "schema": {
  1981. "$ref": "#/definitions/response.Response"
  1982. }
  1983. }
  1984. }
  1985. }
  1986. },
  1987. "/system/monitor/job/delete": {
  1988. "delete": {
  1989. "security": [
  1990. {
  1991. "": []
  1992. }
  1993. ],
  1994. "description": "删除计划任务",
  1995. "tags": [
  1996. "定时任务"
  1997. ],
  1998. "summary": "删除计划任务",
  1999. "parameters": [
  2000. {
  2001. "description": "ids[]",
  2002. "name": "ids",
  2003. "in": "body",
  2004. "required": true,
  2005. "schema": {
  2006. "type": "integer"
  2007. }
  2008. }
  2009. ],
  2010. "responses": {
  2011. "0": {
  2012. "description": "{\"code\": 200, \"data\": [...]}",
  2013. "schema": {
  2014. "$ref": "#/definitions/response.Response"
  2015. }
  2016. }
  2017. }
  2018. }
  2019. },
  2020. "/system/monitor/job/details": {
  2021. "post": {
  2022. "security": [
  2023. {
  2024. "": []
  2025. }
  2026. ],
  2027. "description": "详情",
  2028. "tags": [
  2029. "定时任务"
  2030. ],
  2031. "summary": "详情",
  2032. "parameters": [
  2033. {
  2034. "description": "id",
  2035. "name": "id",
  2036. "in": "body",
  2037. "required": true,
  2038. "schema": {
  2039. "type": "integer"
  2040. }
  2041. }
  2042. ],
  2043. "responses": {
  2044. "0": {
  2045. "description": "{\"code\": 200, \"data\": [...]}",
  2046. "schema": {
  2047. "$ref": "#/definitions/response.Response"
  2048. }
  2049. }
  2050. }
  2051. }
  2052. },
  2053. "/system/monitor/job/edit": {
  2054. "post": {
  2055. "security": [
  2056. {
  2057. "": []
  2058. }
  2059. ],
  2060. "description": "修改任务",
  2061. "tags": [
  2062. "定时任务"
  2063. ],
  2064. "summary": "修改任务",
  2065. "parameters": [
  2066. {
  2067. "description": "data",
  2068. "name": "data",
  2069. "in": "body",
  2070. "required": true,
  2071. "schema": {
  2072. "$ref": "#/definitions/sys_job.ReqEdit"
  2073. }
  2074. }
  2075. ],
  2076. "responses": {
  2077. "0": {
  2078. "description": "{\"code\": 200, \"data\": [...]}",
  2079. "schema": {
  2080. "$ref": "#/definitions/response.Response"
  2081. }
  2082. }
  2083. }
  2084. }
  2085. },
  2086. "/system/monitor/job/list": {
  2087. "get": {
  2088. "security": [
  2089. {
  2090. "": []
  2091. }
  2092. ],
  2093. "description": "任务列表",
  2094. "tags": [
  2095. "定时任务"
  2096. ],
  2097. "summary": "任务列表",
  2098. "parameters": [
  2099. {
  2100. "description": "data",
  2101. "name": "data",
  2102. "in": "body",
  2103. "required": true,
  2104. "schema": {
  2105. "$ref": "#/definitions/sys_job.SelectPageReq"
  2106. }
  2107. }
  2108. ],
  2109. "responses": {
  2110. "0": {
  2111. "description": "{\"code\": 200, \"data\": [...]}",
  2112. "schema": {
  2113. "$ref": "#/definitions/response.Response"
  2114. }
  2115. }
  2116. }
  2117. }
  2118. },
  2119. "/system/monitor/job/start": {
  2120. "post": {
  2121. "security": [
  2122. {
  2123. "": []
  2124. }
  2125. ],
  2126. "description": "启动任务",
  2127. "tags": [
  2128. "定时任务"
  2129. ],
  2130. "summary": "启动任务",
  2131. "parameters": [
  2132. {
  2133. "description": "id",
  2134. "name": "id",
  2135. "in": "body",
  2136. "required": true,
  2137. "schema": {
  2138. "type": "integer"
  2139. }
  2140. }
  2141. ],
  2142. "responses": {
  2143. "0": {
  2144. "description": "{\"code\": 200, \"data\": [...]}",
  2145. "schema": {
  2146. "$ref": "#/definitions/response.Response"
  2147. }
  2148. }
  2149. }
  2150. }
  2151. },
  2152. "/system/monitor/job/stop": {
  2153. "post": {
  2154. "security": [
  2155. {
  2156. "": []
  2157. }
  2158. ],
  2159. "description": "停止任务",
  2160. "tags": [
  2161. "定时任务"
  2162. ],
  2163. "summary": "停止任务",
  2164. "parameters": [
  2165. {
  2166. "description": "id",
  2167. "name": "id",
  2168. "in": "body",
  2169. "required": true,
  2170. "schema": {
  2171. "type": "integer"
  2172. }
  2173. }
  2174. ],
  2175. "responses": {
  2176. "0": {
  2177. "description": "{\"code\": 200, \"data\": [...]}",
  2178. "schema": {
  2179. "$ref": "#/definitions/response.Response"
  2180. }
  2181. }
  2182. }
  2183. }
  2184. },
  2185. "/system/monitor/loginlog/clear": {
  2186. "post": {
  2187. "security": [
  2188. {
  2189. "": []
  2190. }
  2191. ],
  2192. "description": "清空登录日志",
  2193. "tags": [
  2194. "登录日志"
  2195. ],
  2196. "summary": "清空登录日志",
  2197. "responses": {
  2198. "0": {
  2199. "description": "{\"code\": 200, \"data\": [...]}",
  2200. "schema": {
  2201. "$ref": "#/definitions/response.Response"
  2202. }
  2203. }
  2204. }
  2205. }
  2206. },
  2207. "/system/monitor/loginlog/delete": {
  2208. "delete": {
  2209. "security": [
  2210. {
  2211. "": []
  2212. }
  2213. ],
  2214. "description": "删除登录日志",
  2215. "tags": [
  2216. "登录日志"
  2217. ],
  2218. "summary": "删除登录日志",
  2219. "parameters": [
  2220. {
  2221. "description": "ids[]",
  2222. "name": "ids",
  2223. "in": "body",
  2224. "required": true,
  2225. "schema": {
  2226. "type": "integer"
  2227. }
  2228. }
  2229. ],
  2230. "responses": {
  2231. "0": {
  2232. "description": "{\"code\": 200, \"data\": [...]}",
  2233. "schema": {
  2234. "$ref": "#/definitions/response.Response"
  2235. }
  2236. }
  2237. }
  2238. }
  2239. },
  2240. "/system/monitor/loginlog/list": {
  2241. "get": {
  2242. "security": [
  2243. {
  2244. "": []
  2245. }
  2246. ],
  2247. "description": "登录日志列表",
  2248. "tags": [
  2249. "登录日志"
  2250. ],
  2251. "summary": "登录日志列表",
  2252. "parameters": [
  2253. {
  2254. "description": "data",
  2255. "name": "data",
  2256. "in": "body",
  2257. "required": true,
  2258. "schema": {
  2259. "$ref": "#/definitions/sys_login_log.SelectPageReq"
  2260. }
  2261. }
  2262. ],
  2263. "responses": {
  2264. "0": {
  2265. "description": "{\"code\": 200, \"data\": [...]}",
  2266. "schema": {
  2267. "$ref": "#/definitions/response.Response"
  2268. }
  2269. }
  2270. }
  2271. }
  2272. },
  2273. "/system/monitor/online/forceLogout": {
  2274. "post": {
  2275. "security": [
  2276. {
  2277. "": []
  2278. }
  2279. ],
  2280. "description": "强制退出",
  2281. "tags": [
  2282. "在线用户"
  2283. ],
  2284. "summary": "强制退出",
  2285. "parameters": [
  2286. {
  2287. "description": "ids[]",
  2288. "name": "ids",
  2289. "in": "body",
  2290. "required": true,
  2291. "schema": {
  2292. "type": "integer"
  2293. }
  2294. }
  2295. ],
  2296. "responses": {
  2297. "0": {
  2298. "description": "{\"code\": 200, \"data\": [...]}",
  2299. "schema": {
  2300. "$ref": "#/definitions/response.Response"
  2301. }
  2302. }
  2303. }
  2304. }
  2305. },
  2306. "/system/monitor/online/list": {
  2307. "get": {
  2308. "security": [
  2309. {
  2310. "": []
  2311. }
  2312. ],
  2313. "description": "用户状态列表",
  2314. "tags": [
  2315. "在线用户"
  2316. ],
  2317. "summary": "用户状态列表",
  2318. "parameters": [
  2319. {
  2320. "description": "data",
  2321. "name": "data",
  2322. "in": "body",
  2323. "required": true,
  2324. "schema": {
  2325. "$ref": "#/definitions/user_online.ReqListSearch"
  2326. }
  2327. }
  2328. ],
  2329. "responses": {
  2330. "0": {
  2331. "description": "{\"code\": 200, \"data\": [...]}",
  2332. "schema": {
  2333. "$ref": "#/definitions/response.Response"
  2334. }
  2335. }
  2336. }
  2337. }
  2338. },
  2339. "/system/monitor/operlog/clear": {
  2340. "post": {
  2341. "security": [
  2342. {
  2343. "": []
  2344. }
  2345. ],
  2346. "description": "清空日志",
  2347. "tags": [
  2348. "操作日志"
  2349. ],
  2350. "summary": "清空日志",
  2351. "parameters": [
  2352. {
  2353. "description": "ids[]",
  2354. "name": "ids",
  2355. "in": "body",
  2356. "required": true,
  2357. "schema": {
  2358. "type": "integer"
  2359. }
  2360. }
  2361. ],
  2362. "responses": {
  2363. "0": {
  2364. "description": "{\"code\": 200, \"data\": [...]}",
  2365. "schema": {
  2366. "$ref": "#/definitions/response.Response"
  2367. }
  2368. }
  2369. }
  2370. }
  2371. },
  2372. "/system/monitor/operlog/delete": {
  2373. "delete": {
  2374. "security": [
  2375. {
  2376. "": []
  2377. }
  2378. ],
  2379. "description": "删除日志",
  2380. "tags": [
  2381. "操作日志"
  2382. ],
  2383. "summary": "删除日志",
  2384. "parameters": [
  2385. {
  2386. "description": "ids[]",
  2387. "name": "ids",
  2388. "in": "body",
  2389. "required": true,
  2390. "schema": {
  2391. "type": "integer"
  2392. }
  2393. }
  2394. ],
  2395. "responses": {
  2396. "0": {
  2397. "description": "{\"code\": 200, \"data\": [...]}",
  2398. "schema": {
  2399. "$ref": "#/definitions/response.Response"
  2400. }
  2401. }
  2402. }
  2403. }
  2404. },
  2405. "/system/monitor/operlog/detail": {
  2406. "post": {
  2407. "security": [
  2408. {
  2409. "": []
  2410. }
  2411. ],
  2412. "description": "操作详细",
  2413. "tags": [
  2414. "操作日志"
  2415. ],
  2416. "summary": "操作详细",
  2417. "parameters": [
  2418. {
  2419. "description": "id",
  2420. "name": "id",
  2421. "in": "body",
  2422. "required": true,
  2423. "schema": {
  2424. "type": "integer"
  2425. }
  2426. }
  2427. ],
  2428. "responses": {
  2429. "0": {
  2430. "description": "{\"code\": 200, \"data\": [...]}",
  2431. "schema": {
  2432. "$ref": "#/definitions/response.Response"
  2433. }
  2434. }
  2435. }
  2436. }
  2437. },
  2438. "/system/monitor/operlog/list": {
  2439. "get": {
  2440. "security": [
  2441. {
  2442. "": []
  2443. }
  2444. ],
  2445. "description": "操作日志列表",
  2446. "tags": [
  2447. "操作日志"
  2448. ],
  2449. "summary": "操作日志列表",
  2450. "parameters": [
  2451. {
  2452. "description": "data",
  2453. "name": "data",
  2454. "in": "body",
  2455. "required": true,
  2456. "schema": {
  2457. "$ref": "#/definitions/sys_oper_log.SelectPageReq"
  2458. }
  2459. }
  2460. ],
  2461. "responses": {
  2462. "0": {
  2463. "description": "{\"code\": 200, \"data\": [...]}",
  2464. "schema": {
  2465. "$ref": "#/definitions/response.Response"
  2466. }
  2467. }
  2468. }
  2469. }
  2470. },
  2471. "/system/monitor/server/info": {
  2472. "get": {
  2473. "security": [
  2474. {
  2475. "": []
  2476. }
  2477. ],
  2478. "description": "服务监控",
  2479. "tags": [
  2480. "服务监控"
  2481. ],
  2482. "summary": "服务监控",
  2483. "responses": {
  2484. "0": {
  2485. "description": "{\"code\": 200, \"data\": [...]}",
  2486. "schema": {
  2487. "$ref": "#/definitions/response.Response"
  2488. }
  2489. }
  2490. }
  2491. }
  2492. },
  2493. "/system/plug/ad/info/add": {
  2494. "post": {
  2495. "security": [
  2496. {
  2497. "": []
  2498. }
  2499. ],
  2500. "description": "添加广告",
  2501. "tags": [
  2502. "广告列表"
  2503. ],
  2504. "summary": "添加广告",
  2505. "parameters": [
  2506. {
  2507. "description": "data",
  2508. "name": "data",
  2509. "in": "body",
  2510. "required": true,
  2511. "schema": {
  2512. "$ref": "#/definitions/plug_ad.AddReq"
  2513. }
  2514. }
  2515. ],
  2516. "responses": {
  2517. "0": {
  2518. "description": "{\"code\": 200, \"data\": [...]}",
  2519. "schema": {
  2520. "$ref": "#/definitions/response.Response"
  2521. }
  2522. }
  2523. }
  2524. }
  2525. },
  2526. "/system/plug/ad/info/delete": {
  2527. "delete": {
  2528. "security": [
  2529. {
  2530. "": []
  2531. }
  2532. ],
  2533. "description": "删除广告",
  2534. "tags": [
  2535. "广告列表"
  2536. ],
  2537. "summary": "删除广告",
  2538. "parameters": [
  2539. {
  2540. "description": "ids",
  2541. "name": "data",
  2542. "in": "body",
  2543. "required": true,
  2544. "schema": {
  2545. "type": "integer"
  2546. }
  2547. }
  2548. ],
  2549. "responses": {
  2550. "0": {
  2551. "description": "{\"code\": 200, \"data\": [...]}",
  2552. "schema": {
  2553. "$ref": "#/definitions/response.Response"
  2554. }
  2555. }
  2556. }
  2557. }
  2558. },
  2559. "/system/plug/ad/info/edit": {
  2560. "post": {
  2561. "security": [
  2562. {
  2563. "": []
  2564. }
  2565. ],
  2566. "description": "修改广告",
  2567. "tags": [
  2568. "广告列表"
  2569. ],
  2570. "summary": "修改广告",
  2571. "parameters": [
  2572. {
  2573. "description": "data",
  2574. "name": "data",
  2575. "in": "body",
  2576. "required": true,
  2577. "schema": {
  2578. "$ref": "#/definitions/plug_ad.EditReq"
  2579. }
  2580. }
  2581. ],
  2582. "responses": {
  2583. "0": {
  2584. "description": "{\"code\": 200, \"data\": [...]}",
  2585. "schema": {
  2586. "$ref": "#/definitions/response.Response"
  2587. }
  2588. }
  2589. }
  2590. }
  2591. },
  2592. "/system/plug/ad/info/list": {
  2593. "get": {
  2594. "security": [
  2595. {
  2596. "": []
  2597. }
  2598. ],
  2599. "description": "广告列表",
  2600. "tags": [
  2601. "广告列表"
  2602. ],
  2603. "summary": "广告列表",
  2604. "parameters": [
  2605. {
  2606. "description": "data",
  2607. "name": "data",
  2608. "in": "body",
  2609. "required": true,
  2610. "schema": {
  2611. "$ref": "#/definitions/plug_ad.SelectPageReq"
  2612. }
  2613. }
  2614. ],
  2615. "responses": {
  2616. "0": {
  2617. "description": "{\"code\": 200, \"data\": [...]}",
  2618. "schema": {
  2619. "$ref": "#/definitions/response.Response"
  2620. }
  2621. }
  2622. }
  2623. }
  2624. },
  2625. "/system/plug/ad/info/sort": {
  2626. "post": {
  2627. "security": [
  2628. {
  2629. "": []
  2630. }
  2631. ],
  2632. "description": "栏目排序",
  2633. "tags": [
  2634. "广告列表"
  2635. ],
  2636. "summary": "栏目排序",
  2637. "parameters": [
  2638. {
  2639. "description": "sorts[]",
  2640. "name": "sorts",
  2641. "in": "body",
  2642. "required": true,
  2643. "schema": {
  2644. "type": "integer"
  2645. }
  2646. }
  2647. ],
  2648. "responses": {
  2649. "0": {
  2650. "description": "{\"code\": 200, \"data\": [...]}",
  2651. "schema": {
  2652. "$ref": "#/definitions/response.Response"
  2653. }
  2654. }
  2655. }
  2656. }
  2657. },
  2658. "/system/plug/ad/type/add": {
  2659. "post": {
  2660. "security": [
  2661. {
  2662. "": []
  2663. }
  2664. ],
  2665. "description": "添加广告位",
  2666. "tags": [
  2667. "广告位管理"
  2668. ],
  2669. "summary": "添加广告位",
  2670. "parameters": [
  2671. {
  2672. "description": "data",
  2673. "name": "data",
  2674. "in": "body",
  2675. "required": true,
  2676. "schema": {
  2677. "$ref": "#/definitions/plug_adtype.AddReq"
  2678. }
  2679. }
  2680. ],
  2681. "responses": {
  2682. "0": {
  2683. "description": "{\"code\": 200, \"data\": [...]}",
  2684. "schema": {
  2685. "$ref": "#/definitions/response.Response"
  2686. }
  2687. }
  2688. }
  2689. }
  2690. },
  2691. "/system/plug/ad/type/delete": {
  2692. "delete": {
  2693. "security": [
  2694. {
  2695. "": []
  2696. }
  2697. ],
  2698. "description": "删除广告位",
  2699. "tags": [
  2700. "广告位管理"
  2701. ],
  2702. "summary": "删除广告位",
  2703. "parameters": [
  2704. {
  2705. "description": "adtypeID[1,2,3...]",
  2706. "name": "adtypeID",
  2707. "in": "body",
  2708. "required": true,
  2709. "schema": {
  2710. "type": "integer"
  2711. }
  2712. }
  2713. ],
  2714. "responses": {
  2715. "0": {
  2716. "description": "{\"code\": 200, \"data\": [...]}",
  2717. "schema": {
  2718. "$ref": "#/definitions/response.Response"
  2719. }
  2720. }
  2721. }
  2722. }
  2723. },
  2724. "/system/plug/ad/type/edit": {
  2725. "post": {
  2726. "security": [
  2727. {
  2728. "": []
  2729. }
  2730. ],
  2731. "description": "修改广告位信息",
  2732. "tags": [
  2733. "广告位管理"
  2734. ],
  2735. "summary": "修改广告位信息",
  2736. "parameters": [
  2737. {
  2738. "description": "data",
  2739. "name": "data",
  2740. "in": "body",
  2741. "required": true,
  2742. "schema": {
  2743. "$ref": "#/definitions/plug_adtype.EditReq"
  2744. }
  2745. }
  2746. ],
  2747. "responses": {
  2748. "0": {
  2749. "description": "{\"code\": 200, \"data\": [...]}",
  2750. "schema": {
  2751. "$ref": "#/definitions/response.Response"
  2752. }
  2753. }
  2754. }
  2755. }
  2756. },
  2757. "/system/plug/ad/type/list": {
  2758. "get": {
  2759. "security": [
  2760. {
  2761. "": []
  2762. }
  2763. ],
  2764. "description": "广告位列表",
  2765. "tags": [
  2766. "广告位管理"
  2767. ],
  2768. "summary": "广告位列表",
  2769. "parameters": [
  2770. {
  2771. "description": "data",
  2772. "name": "data",
  2773. "in": "body",
  2774. "required": true,
  2775. "schema": {
  2776. "$ref": "#/definitions/plug_adtype.SelectPageReq"
  2777. }
  2778. }
  2779. ],
  2780. "responses": {
  2781. "0": {
  2782. "description": "{\"code\": 200, \"data\": [...]}",
  2783. "schema": {
  2784. "$ref": "#/definitions/response.Response"
  2785. }
  2786. }
  2787. }
  2788. }
  2789. },
  2790. "/system/plug/ad/type/sort": {
  2791. "post": {
  2792. "security": [
  2793. {
  2794. "": []
  2795. }
  2796. ],
  2797. "description": "栏目排序",
  2798. "tags": [
  2799. "广告位管理"
  2800. ],
  2801. "summary": "栏目排序",
  2802. "parameters": [
  2803. {
  2804. "description": "sorts",
  2805. "name": "sorts",
  2806. "in": "body",
  2807. "required": true,
  2808. "schema": {
  2809. "type": "integer"
  2810. }
  2811. }
  2812. ],
  2813. "responses": {
  2814. "0": {
  2815. "description": "{\"code\": 200, \"data\": [...]}",
  2816. "schema": {
  2817. "$ref": "#/definitions/response.Response"
  2818. }
  2819. }
  2820. }
  2821. }
  2822. },
  2823. "/system/post/add": {
  2824. "post": {
  2825. "security": [
  2826. {
  2827. "Bearer": []
  2828. }
  2829. ],
  2830. "description": "添加岗位",
  2831. "consumes": [
  2832. "application/json"
  2833. ],
  2834. "tags": [
  2835. "岗位"
  2836. ],
  2837. "summary": "添加岗位",
  2838. "parameters": [
  2839. {
  2840. "description": "data",
  2841. "name": "data",
  2842. "in": "body",
  2843. "required": true,
  2844. "schema": {
  2845. "$ref": "#/definitions/sys_post.AddParams"
  2846. }
  2847. }
  2848. ],
  2849. "responses": {
  2850. "200": {
  2851. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  2852. "schema": {
  2853. "$ref": "#/definitions/response.Response"
  2854. }
  2855. }
  2856. }
  2857. }
  2858. },
  2859. "/system/post/delete": {
  2860. "get": {
  2861. "description": "删除数据",
  2862. "tags": [
  2863. "岗位"
  2864. ],
  2865. "summary": "删除岗位",
  2866. "parameters": [
  2867. {
  2868. "type": "integer",
  2869. "description": "ids[1,2,3...]",
  2870. "name": "ids",
  2871. "in": "path",
  2872. "required": true
  2873. }
  2874. ],
  2875. "responses": {
  2876. "200": {
  2877. "description": "{\"code\": 0, \"message\": \"删除成功\"}",
  2878. "schema": {
  2879. "$ref": "#/definitions/response.Response"
  2880. }
  2881. }
  2882. }
  2883. }
  2884. },
  2885. "/system/post/edit": {
  2886. "post": {
  2887. "security": [
  2888. {
  2889. "Bearer": []
  2890. }
  2891. ],
  2892. "description": "获取JSON",
  2893. "consumes": [
  2894. "application/json"
  2895. ],
  2896. "tags": [
  2897. "岗位"
  2898. ],
  2899. "summary": "修改岗位",
  2900. "parameters": [
  2901. {
  2902. "description": "data",
  2903. "name": "data",
  2904. "in": "body",
  2905. "required": true,
  2906. "schema": {
  2907. "$ref": "#/definitions/sys_post.EditParams"
  2908. }
  2909. }
  2910. ],
  2911. "responses": {
  2912. "200": {
  2913. "description": "{\"code\": 0, \"message\": \"修改成功\"}",
  2914. "schema": {
  2915. "$ref": "#/definitions/response.Response"
  2916. }
  2917. }
  2918. }
  2919. }
  2920. },
  2921. "/system/post/list": {
  2922. "post": {
  2923. "security": [
  2924. {
  2925. "": []
  2926. }
  2927. ],
  2928. "description": "分页列表",
  2929. "tags": [
  2930. "岗位"
  2931. ],
  2932. "summary": "分页岗位列表数据",
  2933. "parameters": [
  2934. {
  2935. "description": "data",
  2936. "name": "data",
  2937. "in": "body",
  2938. "required": true,
  2939. "schema": {
  2940. "$ref": "#/definitions/sys_post.SearchParams"
  2941. }
  2942. }
  2943. ],
  2944. "responses": {
  2945. "0": {
  2946. "description": "{\"code\": 0, \"data\": [...]}",
  2947. "schema": {
  2948. "$ref": "#/definitions/response.Response"
  2949. }
  2950. }
  2951. }
  2952. }
  2953. },
  2954. "/system/public/verify": {
  2955. "post": {
  2956. "security": [
  2957. {
  2958. "": []
  2959. }
  2960. ],
  2961. "description": "获取验证码图片信息",
  2962. "tags": [
  2963. "公共"
  2964. ],
  2965. "summary": "获取验证码图片信息",
  2966. "responses": {
  2967. "0": {
  2968. "description": "{\"code\": 200, \"data\": [...]}",
  2969. "schema": {
  2970. "$ref": "#/definitions/response.Response"
  2971. }
  2972. }
  2973. }
  2974. }
  2975. },
  2976. "/system/tools/gen/columnList": {
  2977. "post": {
  2978. "security": [
  2979. {
  2980. "": []
  2981. }
  2982. ],
  2983. "description": "根据表格ID获取表格字段列表数据",
  2984. "tags": [
  2985. "系统工具"
  2986. ],
  2987. "summary": "根据表格ID获取表格字段列表数据",
  2988. "parameters": [
  2989. {
  2990. "description": "tableId",
  2991. "name": "tableId",
  2992. "in": "body",
  2993. "required": true,
  2994. "schema": {
  2995. "type": "integer"
  2996. }
  2997. }
  2998. ],
  2999. "responses": {
  3000. "0": {
  3001. "description": "{\"code\": 200, \"data\": [...]}",
  3002. "schema": {
  3003. "$ref": "#/definitions/response.Response"
  3004. }
  3005. }
  3006. }
  3007. }
  3008. },
  3009. "/system/tools/gen/dataList": {
  3010. "get": {
  3011. "security": [
  3012. {
  3013. "": []
  3014. }
  3015. ],
  3016. "description": "查询数据库列表",
  3017. "tags": [
  3018. "系统工具"
  3019. ],
  3020. "summary": "查询数据库列表",
  3021. "parameters": [
  3022. {
  3023. "description": "data",
  3024. "name": "data",
  3025. "in": "body",
  3026. "required": true,
  3027. "schema": {
  3028. "$ref": "#/definitions/gen_table.SelectPageReq"
  3029. }
  3030. }
  3031. ],
  3032. "responses": {
  3033. "0": {
  3034. "description": "{\"code\": 200, \"data\": [...]}",
  3035. "schema": {
  3036. "$ref": "#/definitions/response.Response"
  3037. }
  3038. }
  3039. }
  3040. }
  3041. },
  3042. "/system/tools/gen/delete": {
  3043. "delete": {
  3044. "security": [
  3045. {
  3046. "": []
  3047. }
  3048. ],
  3049. "description": "删除表格数据",
  3050. "tags": [
  3051. "系统工具"
  3052. ],
  3053. "summary": "删除表格数据",
  3054. "parameters": [
  3055. {
  3056. "description": "ids[1,2,3...]",
  3057. "name": "ids",
  3058. "in": "body",
  3059. "required": true,
  3060. "schema": {
  3061. "type": "integer"
  3062. }
  3063. }
  3064. ],
  3065. "responses": {
  3066. "0": {
  3067. "description": "{\"code\": 200, \"data\": [...]}",
  3068. "schema": {
  3069. "$ref": "#/definitions/response.Response"
  3070. }
  3071. }
  3072. }
  3073. }
  3074. },
  3075. "/system/tools/gen/editSave": {
  3076. "post": {
  3077. "security": [
  3078. {
  3079. "": []
  3080. }
  3081. ],
  3082. "description": "编辑表格信息",
  3083. "tags": [
  3084. "系统工具"
  3085. ],
  3086. "summary": "编辑表格信息",
  3087. "parameters": [
  3088. {
  3089. "description": "data",
  3090. "name": "data",
  3091. "in": "body",
  3092. "required": true,
  3093. "schema": {
  3094. "$ref": "#/definitions/gen_table.EditReq"
  3095. }
  3096. }
  3097. ],
  3098. "responses": {
  3099. "0": {
  3100. "description": "{\"code\": 200, \"data\": [...]}",
  3101. "schema": {
  3102. "$ref": "#/definitions/response.Response"
  3103. }
  3104. }
  3105. }
  3106. }
  3107. },
  3108. "/system/tools/gen/importTableSave": {
  3109. "post": {
  3110. "security": [
  3111. {
  3112. "": []
  3113. }
  3114. ],
  3115. "description": "导入表结构操作",
  3116. "tags": [
  3117. "系统工具"
  3118. ],
  3119. "summary": "导入表结构操作",
  3120. "parameters": [
  3121. {
  3122. "description": "tables",
  3123. "name": "tables",
  3124. "in": "body",
  3125. "required": true,
  3126. "schema": {
  3127. "type": "string"
  3128. }
  3129. }
  3130. ],
  3131. "responses": {
  3132. "0": {
  3133. "description": "{\"code\": 200, \"data\": [...]}",
  3134. "schema": {
  3135. "$ref": "#/definitions/response.Response"
  3136. }
  3137. }
  3138. }
  3139. }
  3140. },
  3141. "/system/tools/gen/preview": {
  3142. "post": {
  3143. "security": [
  3144. {
  3145. "": []
  3146. }
  3147. ],
  3148. "description": "代码生成预览",
  3149. "tags": [
  3150. "系统工具"
  3151. ],
  3152. "summary": "代码生成预览",
  3153. "parameters": [
  3154. {
  3155. "description": "tableId",
  3156. "name": "tableId",
  3157. "in": "body",
  3158. "required": true,
  3159. "schema": {
  3160. "type": "integer"
  3161. }
  3162. }
  3163. ],
  3164. "responses": {
  3165. "0": {
  3166. "description": "{\"code\": 200, \"data\": [...]}",
  3167. "schema": {
  3168. "$ref": "#/definitions/response.Response"
  3169. }
  3170. }
  3171. }
  3172. }
  3173. },
  3174. "/system/tools/gen/tableList": {
  3175. "post": {
  3176. "security": [
  3177. {
  3178. "": []
  3179. }
  3180. ],
  3181. "description": "表列表",
  3182. "tags": [
  3183. "系统工具"
  3184. ],
  3185. "summary": "表列表",
  3186. "parameters": [
  3187. {
  3188. "description": "data",
  3189. "name": "data",
  3190. "in": "body",
  3191. "required": true,
  3192. "schema": {
  3193. "$ref": "#/definitions/gen_table.SelectPageReq"
  3194. }
  3195. }
  3196. ],
  3197. "responses": {
  3198. "0": {
  3199. "description": "{\"code\": 200, \"data\": [...]}",
  3200. "schema": {
  3201. "$ref": "#/definitions/response.Response"
  3202. }
  3203. }
  3204. }
  3205. }
  3206. },
  3207. "/system/upload/ckEditorUp": {
  3208. "post": {
  3209. "security": [
  3210. {
  3211. "": []
  3212. }
  3213. ],
  3214. "description": "CkEditor编辑器上传附件",
  3215. "tags": [
  3216. "公共"
  3217. ],
  3218. "summary": "CkEditor编辑器上传附件",
  3219. "parameters": [
  3220. {
  3221. "description": "upFile",
  3222. "name": "upFile",
  3223. "in": "body",
  3224. "required": true,
  3225. "schema": {
  3226. "type": "string"
  3227. }
  3228. }
  3229. ],
  3230. "responses": {
  3231. "0": {
  3232. "description": "{\"code\": 200, \"data\": [...]}",
  3233. "schema": {
  3234. "$ref": "#/definitions/response.Response"
  3235. }
  3236. }
  3237. }
  3238. }
  3239. },
  3240. "/system/upload/upFile": {
  3241. "post": {
  3242. "security": [
  3243. {
  3244. "": []
  3245. }
  3246. ],
  3247. "description": "单文件上传",
  3248. "tags": [
  3249. "公共"
  3250. ],
  3251. "summary": "单文件上传",
  3252. "parameters": [
  3253. {
  3254. "description": "file",
  3255. "name": "file",
  3256. "in": "body",
  3257. "required": true,
  3258. "schema": {
  3259. "type": "string"
  3260. }
  3261. }
  3262. ],
  3263. "responses": {
  3264. "0": {
  3265. "description": "{\"code\": 200, \"data\": [...]}",
  3266. "schema": {
  3267. "$ref": "#/definitions/response.Response"
  3268. }
  3269. }
  3270. }
  3271. }
  3272. },
  3273. "/system/upload/upFiles": {
  3274. "post": {
  3275. "security": [
  3276. {
  3277. "": []
  3278. }
  3279. ],
  3280. "description": "批量上传文件",
  3281. "tags": [
  3282. "公共"
  3283. ],
  3284. "summary": "批量上传文件",
  3285. "parameters": [
  3286. {
  3287. "description": "file",
  3288. "name": "file",
  3289. "in": "body",
  3290. "required": true,
  3291. "schema": {
  3292. "type": "string"
  3293. }
  3294. }
  3295. ],
  3296. "responses": {
  3297. "0": {
  3298. "description": "{\"code\": 200, \"data\": [...]}",
  3299. "schema": {
  3300. "$ref": "#/definitions/response.Response"
  3301. }
  3302. }
  3303. }
  3304. }
  3305. },
  3306. "/system/upload/upImg": {
  3307. "post": {
  3308. "security": [
  3309. {
  3310. "": []
  3311. }
  3312. ],
  3313. "description": "单图片上传",
  3314. "tags": [
  3315. "公共"
  3316. ],
  3317. "summary": "单图片上传",
  3318. "parameters": [
  3319. {
  3320. "description": "file",
  3321. "name": "file",
  3322. "in": "body",
  3323. "required": true,
  3324. "schema": {
  3325. "type": "string"
  3326. }
  3327. }
  3328. ],
  3329. "responses": {
  3330. "0": {
  3331. "description": "{\"code\": 200, \"data\": [...]}",
  3332. "schema": {
  3333. "$ref": "#/definitions/response.Response"
  3334. }
  3335. }
  3336. }
  3337. }
  3338. },
  3339. "/system/upload/upImgs": {
  3340. "post": {
  3341. "security": [
  3342. {
  3343. "": []
  3344. }
  3345. ],
  3346. "description": "批量上传图片",
  3347. "tags": [
  3348. "公共"
  3349. ],
  3350. "summary": "批量上传图片",
  3351. "parameters": [
  3352. {
  3353. "description": "file",
  3354. "name": "file",
  3355. "in": "body",
  3356. "required": true,
  3357. "schema": {
  3358. "type": "string"
  3359. }
  3360. }
  3361. ],
  3362. "responses": {
  3363. "0": {
  3364. "description": "{\"code\": 200, \"data\": [...]}",
  3365. "schema": {
  3366. "$ref": "#/definitions/response.Response"
  3367. }
  3368. }
  3369. }
  3370. }
  3371. },
  3372. "/system/user/avatar": {
  3373. "post": {
  3374. "security": [
  3375. {
  3376. "": []
  3377. }
  3378. ],
  3379. "description": "头像上传上传",
  3380. "tags": [
  3381. "个人中心"
  3382. ],
  3383. "summary": "头像上传上传",
  3384. "parameters": [
  3385. {
  3386. "description": "avatarfile",
  3387. "name": "avatarfile",
  3388. "in": "body",
  3389. "required": true,
  3390. "schema": {
  3391. "type": "string"
  3392. }
  3393. }
  3394. ],
  3395. "responses": {
  3396. "0": {
  3397. "description": "{\"code\": 200, \"data\": [...]}",
  3398. "schema": {
  3399. "$ref": "#/definitions/response.Response"
  3400. }
  3401. }
  3402. }
  3403. }
  3404. },
  3405. "/system/user/edit": {
  3406. "post": {
  3407. "security": [
  3408. {
  3409. "": []
  3410. }
  3411. ],
  3412. "description": "修改用户信息",
  3413. "tags": [
  3414. "个人中心"
  3415. ],
  3416. "summary": "修改用户信息",
  3417. "responses": {
  3418. "0": {
  3419. "description": "{\"code\": 200, \"data\": [...]}",
  3420. "schema": {
  3421. "$ref": "#/definitions/response.Response"
  3422. }
  3423. }
  3424. }
  3425. }
  3426. },
  3427. "/system/user/profile": {
  3428. "post": {
  3429. "security": [
  3430. {
  3431. "": []
  3432. }
  3433. ],
  3434. "description": "获取当前登录用户详情",
  3435. "tags": [
  3436. "个人中心"
  3437. ],
  3438. "summary": "获取当前登录用户详情",
  3439. "responses": {
  3440. "0": {
  3441. "description": "{\"code\": 200, \"data\": [...]}",
  3442. "schema": {
  3443. "$ref": "#/definitions/response.Response"
  3444. }
  3445. }
  3446. }
  3447. }
  3448. },
  3449. "/system/user/updatePwd": {
  3450. "post": {
  3451. "security": [
  3452. {
  3453. "": []
  3454. }
  3455. ],
  3456. "description": "修改密码",
  3457. "tags": [
  3458. "个人中心"
  3459. ],
  3460. "summary": "修改密码",
  3461. "responses": {
  3462. "0": {
  3463. "description": "{\"code\": 200, \"data\": [...]}",
  3464. "schema": {
  3465. "$ref": "#/definitions/response.Response"
  3466. }
  3467. }
  3468. }
  3469. }
  3470. }
  3471. },
  3472. "definitions": {
  3473. "auth_rule.MenuReq": {
  3474. "type": "object",
  3475. "properties": {
  3476. "alwaysShow": {
  3477. "type": "integer"
  3478. },
  3479. "component": {
  3480. "type": "string"
  3481. },
  3482. "condition": {
  3483. "type": "string"
  3484. },
  3485. "icon": {
  3486. "type": "string"
  3487. },
  3488. "isFrame": {
  3489. "type": "integer"
  3490. },
  3491. "menuType": {
  3492. "type": "integer"
  3493. },
  3494. "name": {
  3495. "type": "string"
  3496. },
  3497. "path": {
  3498. "type": "string"
  3499. },
  3500. "pid": {
  3501. "type": "integer"
  3502. },
  3503. "remark": {
  3504. "type": "string"
  3505. },
  3506. "status": {
  3507. "type": "integer"
  3508. },
  3509. "title": {
  3510. "type": "string"
  3511. },
  3512. "weigh": {
  3513. "type": "integer"
  3514. }
  3515. }
  3516. },
  3517. "auth_rule.ReqSearch": {
  3518. "type": "object",
  3519. "properties": {
  3520. "status": {
  3521. "type": "string"
  3522. },
  3523. "title": {
  3524. "type": "string"
  3525. }
  3526. }
  3527. },
  3528. "cms_category.ReqAdd": {
  3529. "type": "object",
  3530. "properties": {
  3531. "alias": {
  3532. "type": "string"
  3533. },
  3534. "cateAddress": {
  3535. "type": "string"
  3536. },
  3537. "cateContent": {
  3538. "type": "string"
  3539. },
  3540. "cateType": {
  3541. "type": "integer"
  3542. },
  3543. "contentTemplate": {
  3544. "type": "string"
  3545. },
  3546. "description": {
  3547. "type": "string"
  3548. },
  3549. "inputSeoDescription": {
  3550. "type": "string"
  3551. },
  3552. "inputSeoKeywords": {
  3553. "type": "string"
  3554. },
  3555. "inputSeoTitle": {
  3556. "type": "string"
  3557. },
  3558. "listTemplate": {
  3559. "type": "string"
  3560. },
  3561. "modelId": {
  3562. "type": "integer"
  3563. },
  3564. "name": {
  3565. "type": "string"
  3566. },
  3567. "parentId": {
  3568. "type": "integer"
  3569. },
  3570. "status": {
  3571. "type": "integer"
  3572. },
  3573. "thumbnail": {
  3574. "type": "string"
  3575. }
  3576. }
  3577. },
  3578. "cms_category.ReqEdit": {
  3579. "type": "object",
  3580. "properties": {
  3581. "alias": {
  3582. "type": "string"
  3583. },
  3584. "cateAddress": {
  3585. "type": "string"
  3586. },
  3587. "cateContent": {
  3588. "type": "string"
  3589. },
  3590. "cateType": {
  3591. "type": "integer"
  3592. },
  3593. "contentTemplate": {
  3594. "type": "string"
  3595. },
  3596. "description": {
  3597. "type": "string"
  3598. },
  3599. "id": {
  3600. "type": "integer"
  3601. },
  3602. "inputSeoDescription": {
  3603. "type": "string"
  3604. },
  3605. "inputSeoKeywords": {
  3606. "type": "string"
  3607. },
  3608. "inputSeoTitle": {
  3609. "type": "string"
  3610. },
  3611. "listTemplate": {
  3612. "type": "string"
  3613. },
  3614. "modelId": {
  3615. "type": "integer"
  3616. },
  3617. "name": {
  3618. "type": "string"
  3619. },
  3620. "parentId": {
  3621. "type": "integer"
  3622. },
  3623. "status": {
  3624. "type": "integer"
  3625. },
  3626. "thumbnail": {
  3627. "type": "string"
  3628. }
  3629. }
  3630. },
  3631. "cms_category.ReqSearchList": {
  3632. "type": "object",
  3633. "properties": {
  3634. "name": {
  3635. "type": "string"
  3636. },
  3637. "status": {
  3638. "type": "string"
  3639. }
  3640. }
  3641. },
  3642. "cms_news.ReqAddParams": {
  3643. "type": "object",
  3644. "properties": {
  3645. "attr": {
  3646. "description": "文章标记 置顶 推荐",
  3647. "type": "array",
  3648. "items": {
  3649. "type": "integer"
  3650. }
  3651. },
  3652. "isJump": {
  3653. "description": "是否跳转地址",
  3654. "type": "integer"
  3655. },
  3656. "jumpUrl": {
  3657. "description": "跳转地址",
  3658. "type": "string"
  3659. },
  3660. "modelForm": {
  3661. "type": "object",
  3662. "additionalProperties": true
  3663. },
  3664. "newsExcerpt": {
  3665. "description": "post摘要",
  3666. "type": "string"
  3667. },
  3668. "newsKeywords": {
  3669. "description": "seo keywords",
  3670. "type": "string"
  3671. },
  3672. "newsSource": {
  3673. "description": "转载文章的来源",
  3674. "type": "string"
  3675. },
  3676. "newsStatus": {
  3677. "description": "状态;1:已发布;0:未发布;",
  3678. "type": "integer"
  3679. },
  3680. "newsTitle": {
  3681. "description": "post标题",
  3682. "type": "string"
  3683. },
  3684. "publishedTime": {
  3685. "description": "发布时间",
  3686. "type": "string"
  3687. },
  3688. "thumbnail": {
  3689. "description": "缩略图",
  3690. "type": "string"
  3691. }
  3692. }
  3693. },
  3694. "cms_news.ReqEditParams": {
  3695. "type": "object",
  3696. "properties": {
  3697. "attr": {
  3698. "description": "文章标记 置顶 推荐",
  3699. "type": "array",
  3700. "items": {
  3701. "type": "integer"
  3702. }
  3703. },
  3704. "id": {
  3705. "type": "integer"
  3706. },
  3707. "isJump": {
  3708. "description": "是否跳转地址",
  3709. "type": "integer"
  3710. },
  3711. "jumpUrl": {
  3712. "description": "跳转地址",
  3713. "type": "string"
  3714. },
  3715. "modelForm": {
  3716. "type": "object",
  3717. "additionalProperties": true
  3718. },
  3719. "newsExcerpt": {
  3720. "description": "post摘要",
  3721. "type": "string"
  3722. },
  3723. "newsKeywords": {
  3724. "description": "seo keywords",
  3725. "type": "string"
  3726. },
  3727. "newsSource": {
  3728. "description": "转载文章的来源",
  3729. "type": "string"
  3730. },
  3731. "newsStatus": {
  3732. "description": "状态;1:已发布;0:未发布;",
  3733. "type": "integer"
  3734. },
  3735. "newsTitle": {
  3736. "description": "post标题",
  3737. "type": "string"
  3738. },
  3739. "publishedTime": {
  3740. "description": "发布时间",
  3741. "type": "string"
  3742. },
  3743. "thumbnail": {
  3744. "description": "缩略图",
  3745. "type": "string"
  3746. }
  3747. }
  3748. },
  3749. "cms_news.ReqListSearchParams": {
  3750. "type": "object",
  3751. "properties": {
  3752. "cateId": {
  3753. "type": "array",
  3754. "items": {
  3755. "type": "integer"
  3756. }
  3757. },
  3758. "isSlide": {
  3759. "type": "string"
  3760. },
  3761. "isTop": {
  3762. "type": "string"
  3763. },
  3764. "keyWords": {
  3765. "type": "string"
  3766. },
  3767. "newsStatus": {
  3768. "type": "string"
  3769. },
  3770. "orderBy": {
  3771. "description": "排序字段",
  3772. "type": "string"
  3773. },
  3774. "pageNum": {
  3775. "description": "当前页码",
  3776. "type": "integer"
  3777. },
  3778. "pageSize": {
  3779. "description": "每页数",
  3780. "type": "integer"
  3781. },
  3782. "publishedTimeEnd": {
  3783. "type": "string"
  3784. },
  3785. "publishedTimeStart": {
  3786. "type": "string"
  3787. },
  3788. "recommended": {
  3789. "type": "string"
  3790. }
  3791. }
  3792. },
  3793. "gen_table.EditReq": {
  3794. "type": "object",
  3795. "properties": {
  3796. "businessName": {
  3797. "type": "string"
  3798. },
  3799. "className": {
  3800. "type": "string"
  3801. },
  3802. "columns": {
  3803. "type": "string"
  3804. },
  3805. "functionAuthor": {
  3806. "type": "string"
  3807. },
  3808. "functionName": {
  3809. "type": "string"
  3810. },
  3811. "moduleName": {
  3812. "type": "string"
  3813. },
  3814. "packageName": {
  3815. "type": "string"
  3816. },
  3817. "params": {
  3818. "type": "string"
  3819. },
  3820. "remark": {
  3821. "type": "string"
  3822. },
  3823. "tableComment": {
  3824. "type": "string"
  3825. },
  3826. "tableId": {
  3827. "type": "integer"
  3828. },
  3829. "tableName": {
  3830. "type": "string"
  3831. },
  3832. "tplCategory": {
  3833. "type": "string"
  3834. },
  3835. "treeCode": {
  3836. "type": "string"
  3837. },
  3838. "treeName": {
  3839. "type": "string"
  3840. },
  3841. "treeParentCode": {
  3842. "type": "string"
  3843. },
  3844. "userName": {
  3845. "type": "string"
  3846. }
  3847. }
  3848. },
  3849. "gen_table.SelectPageReq": {
  3850. "type": "object",
  3851. "properties": {
  3852. "beginTime": {
  3853. "description": "开始时间",
  3854. "type": "string"
  3855. },
  3856. "endTime": {
  3857. "description": "结束时间",
  3858. "type": "string"
  3859. },
  3860. "pageNum": {
  3861. "description": "当前页码",
  3862. "type": "integer"
  3863. },
  3864. "pageSize": {
  3865. "description": "每页数",
  3866. "type": "integer"
  3867. },
  3868. "tableComment": {
  3869. "description": "表描述",
  3870. "type": "string"
  3871. },
  3872. "tableName": {
  3873. "description": "表名称",
  3874. "type": "string"
  3875. }
  3876. }
  3877. },
  3878. "model_category.AddReq": {
  3879. "type": "object",
  3880. "properties": {
  3881. "cname": {
  3882. "type": "string"
  3883. },
  3884. "createBy": {
  3885. "type": "integer"
  3886. },
  3887. "csort": {
  3888. "type": "integer"
  3889. },
  3890. "cstatus": {
  3891. "type": "integer"
  3892. }
  3893. }
  3894. },
  3895. "model_category.EditReq": {
  3896. "type": "object",
  3897. "properties": {
  3898. "cid": {
  3899. "type": "integer"
  3900. },
  3901. "cname": {
  3902. "type": "string"
  3903. },
  3904. "csort": {
  3905. "type": "integer"
  3906. },
  3907. "cstatus": {
  3908. "type": "integer"
  3909. },
  3910. "updateBy": {
  3911. "type": "integer"
  3912. }
  3913. }
  3914. },
  3915. "model_category.SearchReq": {
  3916. "type": "object",
  3917. "properties": {
  3918. "name": {
  3919. "type": "string"
  3920. },
  3921. "pageNum": {
  3922. "description": "当前页码",
  3923. "type": "integer"
  3924. },
  3925. "pageSize": {
  3926. "description": "每页数",
  3927. "type": "integer"
  3928. },
  3929. "status": {
  3930. "type": "string"
  3931. }
  3932. }
  3933. },
  3934. "model_info.AddReq": {
  3935. "type": "object",
  3936. "properties": {
  3937. "createBy": {
  3938. "description": "添加人",
  3939. "type": "integer"
  3940. },
  3941. "modelCategoryId": {
  3942. "type": "integer"
  3943. },
  3944. "modelEngine": {
  3945. "type": "string"
  3946. },
  3947. "modelName": {
  3948. "type": "string"
  3949. },
  3950. "modelStatus": {
  3951. "type": "integer"
  3952. },
  3953. "modelTitle": {
  3954. "type": "string"
  3955. }
  3956. }
  3957. },
  3958. "model_info.EditReq": {
  3959. "type": "object",
  3960. "properties": {
  3961. "modelCategoryId": {
  3962. "type": "integer"
  3963. },
  3964. "modelEngine": {
  3965. "type": "string"
  3966. },
  3967. "modelId": {
  3968. "type": "integer"
  3969. },
  3970. "modelName": {
  3971. "type": "string"
  3972. },
  3973. "modelStatus": {
  3974. "type": "integer"
  3975. },
  3976. "modelTitle": {
  3977. "type": "string"
  3978. },
  3979. "updateBy": {
  3980. "type": "integer"
  3981. }
  3982. }
  3983. },
  3984. "model_info.RemoveReq": {
  3985. "type": "object",
  3986. "properties": {
  3987. "ids": {
  3988. "description": "删除id",
  3989. "type": "array",
  3990. "items": {
  3991. "type": "integer"
  3992. }
  3993. }
  3994. }
  3995. },
  3996. "model_info.SelectPageReq": {
  3997. "type": "object",
  3998. "properties": {
  3999. "beginTime": {
  4000. "description": "开始时间",
  4001. "type": "string"
  4002. },
  4003. "endTime": {
  4004. "description": "结束时间",
  4005. "type": "string"
  4006. },
  4007. "modelCategoryId": {
  4008. "description": "模型分类",
  4009. "type": "string"
  4010. },
  4011. "modelName": {
  4012. "description": "模型标识",
  4013. "type": "string"
  4014. },
  4015. "modelStatus": {
  4016. "description": "模型状态",
  4017. "type": "string"
  4018. },
  4019. "modelTitle": {
  4020. "description": "模型名称",
  4021. "type": "string"
  4022. },
  4023. "pageNum": {
  4024. "description": "当前页码",
  4025. "type": "integer"
  4026. },
  4027. "pageSize": {
  4028. "description": "每页数",
  4029. "type": "integer"
  4030. }
  4031. }
  4032. },
  4033. "model_info.StatusSetReq": {
  4034. "type": "object",
  4035. "properties": {
  4036. "modelId": {
  4037. "type": "integer"
  4038. },
  4039. "modelStatus": {
  4040. "type": "integer"
  4041. }
  4042. }
  4043. },
  4044. "plug_ad.AddReq": {
  4045. "type": "object",
  4046. "properties": {
  4047. "adAdtypeid": {
  4048. "description": "所属位置",
  4049. "type": "integer"
  4050. },
  4051. "adCheckid": {
  4052. "description": "1=图片 2=JS",
  4053. "type": "integer"
  4054. },
  4055. "adContent": {
  4056. "description": "广告文字内容",
  4057. "type": "string"
  4058. },
  4059. "adJs": {
  4060. "description": "JS代码",
  4061. "type": "string"
  4062. },
  4063. "adName": {
  4064. "description": "广告名称",
  4065. "type": "string"
  4066. },
  4067. "adOpen": {
  4068. "description": "1=审核 0=未审核",
  4069. "type": "integer"
  4070. },
  4071. "adPic": {
  4072. "description": "广告图片URL",
  4073. "type": "string"
  4074. },
  4075. "adSort": {
  4076. "description": "排序",
  4077. "type": "integer"
  4078. },
  4079. "adUrl": {
  4080. "description": "广告链接",
  4081. "type": "string"
  4082. }
  4083. }
  4084. },
  4085. "plug_ad.EditReq": {
  4086. "type": "object",
  4087. "properties": {
  4088. "adAdtypeid": {
  4089. "description": "所属位置",
  4090. "type": "integer"
  4091. },
  4092. "adCheckid": {
  4093. "description": "1=图片 2=JS",
  4094. "type": "integer"
  4095. },
  4096. "adContent": {
  4097. "description": "广告文字内容",
  4098. "type": "string"
  4099. },
  4100. "adJs": {
  4101. "description": "JS代码",
  4102. "type": "string"
  4103. },
  4104. "adName": {
  4105. "description": "广告名称",
  4106. "type": "string"
  4107. },
  4108. "adOpen": {
  4109. "description": "1=审核 0=未审核",
  4110. "type": "integer"
  4111. },
  4112. "adPic": {
  4113. "description": "广告图片URL",
  4114. "type": "string"
  4115. },
  4116. "adSort": {
  4117. "description": "排序",
  4118. "type": "integer"
  4119. },
  4120. "adUrl": {
  4121. "description": "广告链接",
  4122. "type": "string"
  4123. },
  4124. "plugAdID": {
  4125. "type": "integer"
  4126. }
  4127. }
  4128. },
  4129. "plug_ad.SelectPageReq": {
  4130. "type": "object",
  4131. "properties": {
  4132. "adName": {
  4133. "description": "广告名称",
  4134. "type": "string"
  4135. },
  4136. "pageNo": {
  4137. "description": "当前页",
  4138. "type": "integer"
  4139. },
  4140. "pageSize": {
  4141. "description": "每页显示记录数",
  4142. "type": "integer"
  4143. }
  4144. }
  4145. },
  4146. "plug_adtype.AddReq": {
  4147. "type": "object",
  4148. "properties": {
  4149. "adtypeName": {
  4150. "description": "广告位名称",
  4151. "type": "string"
  4152. },
  4153. "adtypeSort": {
  4154. "description": "广告位排序",
  4155. "type": "integer"
  4156. }
  4157. }
  4158. },
  4159. "plug_adtype.EditReq": {
  4160. "type": "object",
  4161. "properties": {
  4162. "adtypeID": {
  4163. "type": "integer"
  4164. },
  4165. "adtypeName": {
  4166. "description": "广告位名称",
  4167. "type": "string"
  4168. },
  4169. "adtypeSort": {
  4170. "description": "广告位排序",
  4171. "type": "integer"
  4172. }
  4173. }
  4174. },
  4175. "plug_adtype.SelectPageReq": {
  4176. "type": "object",
  4177. "properties": {
  4178. "adtypeName": {
  4179. "description": "广告位名称",
  4180. "type": "string"
  4181. },
  4182. "pageNo": {
  4183. "description": "当前页",
  4184. "type": "integer"
  4185. },
  4186. "pageSize": {
  4187. "description": "每页显示记录数",
  4188. "type": "integer"
  4189. }
  4190. }
  4191. },
  4192. "response.Response": {
  4193. "type": "object",
  4194. "properties": {
  4195. "code": {
  4196. "description": "代码",
  4197. "type": "integer",
  4198. "example": 200
  4199. },
  4200. "data": {
  4201. "description": "数据集",
  4202. "type": "object"
  4203. },
  4204. "msg": {
  4205. "description": "消息",
  4206. "type": "string"
  4207. }
  4208. }
  4209. },
  4210. "role.DataScopeReq": {
  4211. "type": "object",
  4212. "properties": {
  4213. "dataScope": {
  4214. "type": "integer"
  4215. },
  4216. "deptIds": {
  4217. "type": "array",
  4218. "items": {
  4219. "type": "integer"
  4220. }
  4221. },
  4222. "roleId": {
  4223. "type": "integer"
  4224. }
  4225. }
  4226. },
  4227. "role.SelectPageReq": {
  4228. "type": "object",
  4229. "properties": {
  4230. "beginTime": {
  4231. "description": "开始时间",
  4232. "type": "string"
  4233. },
  4234. "endTime": {
  4235. "description": "结束时间",
  4236. "type": "string"
  4237. },
  4238. "pageNum": {
  4239. "description": "当前页码",
  4240. "type": "integer"
  4241. },
  4242. "pageSize": {
  4243. "description": "每页数",
  4244. "type": "integer"
  4245. },
  4246. "roleName": {
  4247. "description": "参数名称",
  4248. "type": "string"
  4249. },
  4250. "status": {
  4251. "description": "状态",
  4252. "type": "string"
  4253. }
  4254. }
  4255. },
  4256. "role.StatusSetReq": {
  4257. "type": "object",
  4258. "properties": {
  4259. "roleId": {
  4260. "type": "integer"
  4261. },
  4262. "status": {
  4263. "type": "integer"
  4264. }
  4265. }
  4266. },
  4267. "sys_config.AddReq": {
  4268. "type": "object",
  4269. "properties": {
  4270. "configKey": {
  4271. "type": "string"
  4272. },
  4273. "configName": {
  4274. "type": "string"
  4275. },
  4276. "configType": {
  4277. "type": "integer"
  4278. },
  4279. "configValue": {
  4280. "type": "string"
  4281. },
  4282. "remark": {
  4283. "type": "string"
  4284. }
  4285. }
  4286. },
  4287. "sys_config.EditReq": {
  4288. "type": "object",
  4289. "properties": {
  4290. "configId": {
  4291. "type": "integer"
  4292. },
  4293. "configKey": {
  4294. "type": "string"
  4295. },
  4296. "configName": {
  4297. "type": "string"
  4298. },
  4299. "configType": {
  4300. "type": "integer"
  4301. },
  4302. "configValue": {
  4303. "type": "string"
  4304. },
  4305. "remark": {
  4306. "type": "string"
  4307. }
  4308. }
  4309. },
  4310. "sys_config.SelectPageReq": {
  4311. "type": "object",
  4312. "properties": {
  4313. "beginTime": {
  4314. "description": "开始时间",
  4315. "type": "string"
  4316. },
  4317. "configKey": {
  4318. "description": "参数键名",
  4319. "type": "string"
  4320. },
  4321. "configName": {
  4322. "description": "参数名称",
  4323. "type": "string"
  4324. },
  4325. "configType": {
  4326. "description": "状态",
  4327. "type": "string"
  4328. },
  4329. "endTime": {
  4330. "description": "结束时间",
  4331. "type": "string"
  4332. },
  4333. "pageNum": {
  4334. "description": "当前页码",
  4335. "type": "integer"
  4336. },
  4337. "pageSize": {
  4338. "description": "每页数",
  4339. "type": "integer"
  4340. }
  4341. }
  4342. },
  4343. "sys_dept.AddParams": {
  4344. "type": "object",
  4345. "properties": {
  4346. "ancestors": {
  4347. "type": "string"
  4348. },
  4349. "createBy": {
  4350. "type": "string"
  4351. },
  4352. "createTime": {
  4353. "type": "string"
  4354. },
  4355. "delFlag": {
  4356. "type": "string"
  4357. },
  4358. "deptName": {
  4359. "type": "string"
  4360. },
  4361. "email": {
  4362. "type": "string"
  4363. },
  4364. "leader": {
  4365. "type": "string"
  4366. },
  4367. "orderNum": {
  4368. "type": "integer"
  4369. },
  4370. "parentId": {
  4371. "type": "integer"
  4372. },
  4373. "phone": {
  4374. "type": "string"
  4375. },
  4376. "status": {
  4377. "type": "string"
  4378. },
  4379. "updateBy": {
  4380. "type": "string"
  4381. },
  4382. "updateTime": {
  4383. "type": "string"
  4384. }
  4385. }
  4386. },
  4387. "sys_dept.EditParams": {
  4388. "type": "object",
  4389. "properties": {
  4390. "ancestors": {
  4391. "type": "string"
  4392. },
  4393. "createBy": {
  4394. "type": "string"
  4395. },
  4396. "createTime": {
  4397. "type": "string"
  4398. },
  4399. "delFlag": {
  4400. "type": "string"
  4401. },
  4402. "deptId": {
  4403. "type": "integer"
  4404. },
  4405. "deptName": {
  4406. "type": "string"
  4407. },
  4408. "email": {
  4409. "type": "string"
  4410. },
  4411. "leader": {
  4412. "type": "string"
  4413. },
  4414. "orderNum": {
  4415. "type": "integer"
  4416. },
  4417. "parentId": {
  4418. "type": "integer"
  4419. },
  4420. "phone": {
  4421. "type": "string"
  4422. },
  4423. "status": {
  4424. "type": "string"
  4425. },
  4426. "updateBy": {
  4427. "type": "string"
  4428. },
  4429. "updateTime": {
  4430. "type": "string"
  4431. }
  4432. }
  4433. },
  4434. "sys_dept.SearchParams": {
  4435. "type": "object",
  4436. "properties": {
  4437. "deptName": {
  4438. "type": "string"
  4439. },
  4440. "status": {
  4441. "type": "string"
  4442. }
  4443. }
  4444. },
  4445. "sys_dict_data.AddDataReq": {
  4446. "type": "object",
  4447. "properties": {
  4448. "cssClass": {
  4449. "type": "string"
  4450. },
  4451. "dictLabel": {
  4452. "type": "string"
  4453. },
  4454. "dictSort": {
  4455. "type": "integer"
  4456. },
  4457. "dictType": {
  4458. "type": "string"
  4459. },
  4460. "dictValue": {
  4461. "type": "string"
  4462. },
  4463. "isDefault": {
  4464. "type": "integer"
  4465. },
  4466. "listClass": {
  4467. "type": "string"
  4468. },
  4469. "remark": {
  4470. "type": "string"
  4471. },
  4472. "status": {
  4473. "type": "integer"
  4474. }
  4475. }
  4476. },
  4477. "sys_dict_data.EditDataReq": {
  4478. "type": "object",
  4479. "properties": {
  4480. "cssClass": {
  4481. "type": "string"
  4482. },
  4483. "dictCode": {
  4484. "type": "integer"
  4485. },
  4486. "dictLabel": {
  4487. "type": "string"
  4488. },
  4489. "dictSort": {
  4490. "type": "integer"
  4491. },
  4492. "dictType": {
  4493. "type": "string"
  4494. },
  4495. "dictValue": {
  4496. "type": "string"
  4497. },
  4498. "isDefault": {
  4499. "type": "integer"
  4500. },
  4501. "listClass": {
  4502. "type": "string"
  4503. },
  4504. "remark": {
  4505. "type": "string"
  4506. },
  4507. "status": {
  4508. "type": "integer"
  4509. }
  4510. }
  4511. },
  4512. "sys_dict_data.SelectDataPageReq": {
  4513. "type": "object",
  4514. "properties": {
  4515. "dictLabel": {
  4516. "description": "字典标签",
  4517. "type": "string"
  4518. },
  4519. "dictType": {
  4520. "description": "字典类型",
  4521. "type": "string"
  4522. },
  4523. "pageNum": {
  4524. "description": "当前页码",
  4525. "type": "integer"
  4526. },
  4527. "pageSize": {
  4528. "description": "每页数",
  4529. "type": "integer"
  4530. },
  4531. "status": {
  4532. "description": "状态",
  4533. "type": "string"
  4534. }
  4535. }
  4536. },
  4537. "sys_dict_type.AddReq": {
  4538. "type": "object",
  4539. "properties": {
  4540. "dictName": {
  4541. "type": "string"
  4542. },
  4543. "dictType": {
  4544. "type": "string"
  4545. },
  4546. "remark": {
  4547. "type": "string"
  4548. },
  4549. "status": {
  4550. "type": "integer"
  4551. }
  4552. }
  4553. },
  4554. "sys_dict_type.EditReq": {
  4555. "type": "object",
  4556. "properties": {
  4557. "dictId": {
  4558. "type": "integer"
  4559. },
  4560. "dictName": {
  4561. "type": "string"
  4562. },
  4563. "dictType": {
  4564. "type": "string"
  4565. },
  4566. "remark": {
  4567. "type": "string"
  4568. },
  4569. "status": {
  4570. "type": "integer"
  4571. }
  4572. }
  4573. },
  4574. "sys_dict_type.SelectPageReq": {
  4575. "type": "object",
  4576. "properties": {
  4577. "beginTime": {
  4578. "description": "开始时间",
  4579. "type": "string"
  4580. },
  4581. "dictName": {
  4582. "description": "字典名称",
  4583. "type": "string"
  4584. },
  4585. "dictType": {
  4586. "description": "字典类型",
  4587. "type": "string"
  4588. },
  4589. "endTime": {
  4590. "description": "结束时间",
  4591. "type": "string"
  4592. },
  4593. "pageNum": {
  4594. "description": "当前页码",
  4595. "type": "integer"
  4596. },
  4597. "pageSize": {
  4598. "description": "每页数",
  4599. "type": "integer"
  4600. },
  4601. "status": {
  4602. "description": "字典状态",
  4603. "type": "string"
  4604. }
  4605. }
  4606. },
  4607. "sys_job.ReqAdd": {
  4608. "type": "object",
  4609. "properties": {
  4610. "concurrent": {
  4611. "type": "integer"
  4612. },
  4613. "cronExpression": {
  4614. "type": "string"
  4615. },
  4616. "invokeTarget": {
  4617. "type": "string"
  4618. },
  4619. "jobGroup": {
  4620. "type": "string"
  4621. },
  4622. "jobName": {
  4623. "type": "string"
  4624. },
  4625. "jobParams": {
  4626. "description": "任务参数",
  4627. "type": "string"
  4628. },
  4629. "misfirePolicy": {
  4630. "type": "integer"
  4631. },
  4632. "remark": {
  4633. "type": "string"
  4634. },
  4635. "status": {
  4636. "type": "integer"
  4637. }
  4638. }
  4639. },
  4640. "sys_job.ReqEdit": {
  4641. "type": "object",
  4642. "properties": {
  4643. "concurrent": {
  4644. "type": "integer"
  4645. },
  4646. "cronExpression": {
  4647. "type": "string"
  4648. },
  4649. "invokeTarget": {
  4650. "type": "string"
  4651. },
  4652. "jobGroup": {
  4653. "type": "string"
  4654. },
  4655. "jobId": {
  4656. "type": "integer"
  4657. },
  4658. "jobName": {
  4659. "type": "string"
  4660. },
  4661. "jobParams": {
  4662. "description": "任务参数",
  4663. "type": "string"
  4664. },
  4665. "misfirePolicy": {
  4666. "type": "integer"
  4667. },
  4668. "remark": {
  4669. "type": "string"
  4670. },
  4671. "status": {
  4672. "type": "integer"
  4673. }
  4674. }
  4675. },
  4676. "sys_job.SelectPageReq": {
  4677. "type": "object",
  4678. "properties": {
  4679. "jobGroup": {
  4680. "description": "任务组名",
  4681. "type": "string"
  4682. },
  4683. "jobName": {
  4684. "description": "任务名称",
  4685. "type": "string"
  4686. },
  4687. "pageNum": {
  4688. "description": "当前页码",
  4689. "type": "integer"
  4690. },
  4691. "pageSize": {
  4692. "description": "每页数",
  4693. "type": "integer"
  4694. },
  4695. "status": {
  4696. "description": "状态(0正常 1暂停)",
  4697. "type": "string"
  4698. }
  4699. }
  4700. },
  4701. "sys_login_log.SelectPageReq": {
  4702. "type": "object",
  4703. "properties": {
  4704. "beginTime": {
  4705. "description": "数据范围",
  4706. "type": "string"
  4707. },
  4708. "endTime": {
  4709. "description": "开始时间",
  4710. "type": "string"
  4711. },
  4712. "ipaddr": {
  4713. "description": "登录地址",
  4714. "type": "string"
  4715. },
  4716. "loginName": {
  4717. "description": "登陆名",
  4718. "type": "string"
  4719. },
  4720. "pageNum": {
  4721. "description": "当前页码",
  4722. "type": "integer"
  4723. },
  4724. "pageSize": {
  4725. "description": "每页数",
  4726. "type": "integer"
  4727. },
  4728. "sortName": {
  4729. "description": "排序字段",
  4730. "type": "string"
  4731. },
  4732. "sortOrder": {
  4733. "description": "排序方式",
  4734. "type": "string"
  4735. },
  4736. "status": {
  4737. "description": "状态",
  4738. "type": "string"
  4739. }
  4740. }
  4741. },
  4742. "sys_oper_log.SelectPageReq": {
  4743. "type": "object",
  4744. "properties": {
  4745. "beginTime": {
  4746. "description": "数据范围",
  4747. "type": "string"
  4748. },
  4749. "endTime": {
  4750. "description": "开始时间",
  4751. "type": "string"
  4752. },
  4753. "operName": {
  4754. "description": "操作人员",
  4755. "type": "string"
  4756. },
  4757. "pageNum": {
  4758. "description": "当前页码",
  4759. "type": "integer"
  4760. },
  4761. "pageSize": {
  4762. "description": "每页数",
  4763. "type": "integer"
  4764. },
  4765. "sortName": {
  4766. "description": "排序字段",
  4767. "type": "string"
  4768. },
  4769. "sortOrder": {
  4770. "description": "排序方式",
  4771. "type": "string"
  4772. },
  4773. "status": {
  4774. "description": "操作状态",
  4775. "type": "string"
  4776. },
  4777. "title": {
  4778. "description": "系统模块",
  4779. "type": "string"
  4780. }
  4781. }
  4782. },
  4783. "sys_post.AddParams": {
  4784. "type": "object",
  4785. "properties": {
  4786. "addUser": {
  4787. "type": "integer"
  4788. },
  4789. "postCode": {
  4790. "type": "string"
  4791. },
  4792. "postName": {
  4793. "type": "string"
  4794. },
  4795. "postSort": {
  4796. "type": "integer"
  4797. },
  4798. "remark": {
  4799. "type": "string"
  4800. },
  4801. "status": {
  4802. "type": "string"
  4803. }
  4804. }
  4805. },
  4806. "sys_post.EditParams": {
  4807. "type": "object",
  4808. "properties": {
  4809. "addUser": {
  4810. "type": "integer"
  4811. },
  4812. "postCode": {
  4813. "type": "string"
  4814. },
  4815. "postId": {
  4816. "type": "integer"
  4817. },
  4818. "postName": {
  4819. "type": "string"
  4820. },
  4821. "postSort": {
  4822. "type": "integer"
  4823. },
  4824. "remark": {
  4825. "type": "string"
  4826. },
  4827. "status": {
  4828. "type": "string"
  4829. },
  4830. "upUser": {
  4831. "type": "integer"
  4832. }
  4833. }
  4834. },
  4835. "sys_post.SearchParams": {
  4836. "type": "object",
  4837. "properties": {
  4838. "pageNum": {
  4839. "description": "当前页码",
  4840. "type": "integer"
  4841. },
  4842. "pageSize": {
  4843. "description": "每页数",
  4844. "type": "integer"
  4845. },
  4846. "postCode": {
  4847. "description": "岗位编码",
  4848. "type": "string"
  4849. },
  4850. "postName": {
  4851. "description": "岗位名称",
  4852. "type": "string"
  4853. },
  4854. "status": {
  4855. "description": "状态",
  4856. "type": "string"
  4857. }
  4858. }
  4859. },
  4860. "user.AddUserReq": {
  4861. "type": "object",
  4862. "properties": {
  4863. "deptId": {
  4864. "description": "所属部门",
  4865. "type": "integer"
  4866. },
  4867. "email": {
  4868. "description": "邮箱",
  4869. "type": "string"
  4870. },
  4871. "isAdmin": {
  4872. "description": "是否后台管理员 1 是 0 否",
  4873. "type": "integer"
  4874. },
  4875. "nickName": {
  4876. "type": "string"
  4877. },
  4878. "password": {
  4879. "type": "string"
  4880. },
  4881. "phonenumber": {
  4882. "type": "string"
  4883. },
  4884. "postIds": {
  4885. "type": "array",
  4886. "items": {
  4887. "type": "integer"
  4888. }
  4889. },
  4890. "remark": {
  4891. "type": "string"
  4892. },
  4893. "roleIds": {
  4894. "type": "array",
  4895. "items": {
  4896. "type": "integer"
  4897. }
  4898. },
  4899. "sex": {
  4900. "type": "integer"
  4901. },
  4902. "status": {
  4903. "type": "integer"
  4904. },
  4905. "userName": {
  4906. "type": "string"
  4907. }
  4908. }
  4909. },
  4910. "user.EditUserReq": {
  4911. "type": "object",
  4912. "properties": {
  4913. "deptId": {
  4914. "description": "所属部门",
  4915. "type": "integer"
  4916. },
  4917. "email": {
  4918. "description": "邮箱",
  4919. "type": "string"
  4920. },
  4921. "isAdmin": {
  4922. "description": "是否后台管理员 1 是 0 否",
  4923. "type": "integer"
  4924. },
  4925. "nickName": {
  4926. "type": "string"
  4927. },
  4928. "phonenumber": {
  4929. "type": "string"
  4930. },
  4931. "postIds": {
  4932. "type": "array",
  4933. "items": {
  4934. "type": "integer"
  4935. }
  4936. },
  4937. "remark": {
  4938. "type": "string"
  4939. },
  4940. "roleIds": {
  4941. "type": "array",
  4942. "items": {
  4943. "type": "integer"
  4944. }
  4945. },
  4946. "sex": {
  4947. "type": "integer"
  4948. },
  4949. "status": {
  4950. "type": "integer"
  4951. },
  4952. "userId": {
  4953. "type": "integer"
  4954. }
  4955. }
  4956. },
  4957. "user.ResetPwdReq": {
  4958. "type": "object",
  4959. "properties": {
  4960. "id": {
  4961. "type": "integer"
  4962. },
  4963. "password": {
  4964. "type": "string"
  4965. }
  4966. }
  4967. },
  4968. "user.SearchReq": {
  4969. "type": "object",
  4970. "properties": {
  4971. "beginTime": {
  4972. "type": "string"
  4973. },
  4974. "deptId": {
  4975. "description": "部门id",
  4976. "type": "string"
  4977. },
  4978. "deptIds": {
  4979. "description": "所属部门id数据",
  4980. "type": "array",
  4981. "items": {
  4982. "type": "integer"
  4983. }
  4984. },
  4985. "endTime": {
  4986. "type": "string"
  4987. },
  4988. "keyWords": {
  4989. "type": "string"
  4990. },
  4991. "pageNum": {
  4992. "description": "当前页码",
  4993. "type": "integer"
  4994. },
  4995. "pageSize": {
  4996. "description": "每页数",
  4997. "type": "integer"
  4998. },
  4999. "phonenumber": {
  5000. "type": "string"
  5001. },
  5002. "status": {
  5003. "type": "string"
  5004. }
  5005. }
  5006. },
  5007. "user.StatusReq": {
  5008. "type": "object",
  5009. "properties": {
  5010. "id": {
  5011. "type": "integer"
  5012. },
  5013. "userStatus": {
  5014. "type": "integer"
  5015. }
  5016. }
  5017. },
  5018. "user_online.ReqListSearch": {
  5019. "type": "object",
  5020. "properties": {
  5021. "ip": {
  5022. "type": "string"
  5023. },
  5024. "pageNum": {
  5025. "description": "当前页码",
  5026. "type": "integer"
  5027. },
  5028. "pageSize": {
  5029. "description": "每页数",
  5030. "type": "integer"
  5031. },
  5032. "username": {
  5033. "type": "string"
  5034. }
  5035. }
  5036. }
  5037. }
  5038. }