swagger.json 156 KB

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