docs.go 157 KB

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