docs.go 104 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package swagger
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "contact": {},
  18. "license": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/system/Auth/userList": {
  25. "get": {
  26. "security": [
  27. {
  28. "": []
  29. }
  30. ],
  31. "description": "分页列表",
  32. "tags": [
  33. "用户管理"
  34. ],
  35. "summary": "用户列表",
  36. "parameters": [
  37. {
  38. "description": "data",
  39. "name": "data",
  40. "in": "body",
  41. "required": true,
  42. "schema": {
  43. "$ref": "#/definitions/user.SearchReq"
  44. }
  45. }
  46. ],
  47. "responses": {
  48. "0": {
  49. "description": "{\"code\": 200, \"data\": [...]}",
  50. "schema": {
  51. "$ref": "#/definitions/response.Response"
  52. }
  53. }
  54. }
  55. }
  56. },
  57. "/system/auth/addMenu": {
  58. "post": {
  59. "security": [
  60. {
  61. "Bearer": []
  62. }
  63. ],
  64. "description": "添加菜单",
  65. "consumes": [
  66. "application/json"
  67. ],
  68. "tags": [
  69. "菜单管理"
  70. ],
  71. "summary": "添加菜单",
  72. "parameters": [
  73. {
  74. "description": "data",
  75. "name": "data",
  76. "in": "body",
  77. "required": true,
  78. "schema": {
  79. "$ref": "#/definitions/auth_rule.MenuReq"
  80. }
  81. }
  82. ],
  83. "responses": {
  84. "200": {
  85. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  86. "schema": {
  87. "$ref": "#/definitions/response.Response"
  88. }
  89. }
  90. }
  91. }
  92. },
  93. "/system/auth/addRole": {
  94. "post": {
  95. "security": [
  96. {
  97. "Bearer": []
  98. }
  99. ],
  100. "description": "添加角色",
  101. "consumes": [
  102. "application/json"
  103. ],
  104. "tags": [
  105. "角色管理"
  106. ],
  107. "summary": "添加角色",
  108. "parameters": [
  109. {
  110. "description": "data",
  111. "name": "data",
  112. "in": "body",
  113. "required": true,
  114. "schema": {
  115. "type": "string"
  116. }
  117. }
  118. ],
  119. "responses": {
  120. "200": {
  121. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  122. "schema": {
  123. "$ref": "#/definitions/response.Response"
  124. }
  125. }
  126. }
  127. }
  128. },
  129. "/system/auth/addUser": {
  130. "post": {
  131. "security": [
  132. {
  133. "Bearer": []
  134. }
  135. ],
  136. "description": "添加用户",
  137. "consumes": [
  138. "application/json"
  139. ],
  140. "tags": [
  141. "用户管理"
  142. ],
  143. "summary": "添加用户",
  144. "parameters": [
  145. {
  146. "description": "data",
  147. "name": "data",
  148. "in": "body",
  149. "required": true,
  150. "schema": {
  151. "$ref": "#/definitions/user.AddUserReq"
  152. }
  153. }
  154. ],
  155. "responses": {
  156. "200": {
  157. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  158. "schema": {
  159. "$ref": "#/definitions/response.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/system/auth/changeUserStatus": {
  166. "post": {
  167. "security": [
  168. {
  169. "Bearer": []
  170. }
  171. ],
  172. "description": "修改用户状态",
  173. "consumes": [
  174. "application/json"
  175. ],
  176. "tags": [
  177. "用户管理"
  178. ],
  179. "summary": "修改用户状态",
  180. "parameters": [
  181. {
  182. "description": "data",
  183. "name": "data",
  184. "in": "body",
  185. "required": true,
  186. "schema": {
  187. "$ref": "#/definitions/user.StatusReq"
  188. }
  189. }
  190. ],
  191. "responses": {
  192. "200": {
  193. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  194. "schema": {
  195. "$ref": "#/definitions/response.Response"
  196. }
  197. }
  198. }
  199. }
  200. },
  201. "/system/auth/deleteAdmin": {
  202. "delete": {
  203. "security": [
  204. {
  205. "Bearer": []
  206. }
  207. ],
  208. "description": "删除管理员",
  209. "consumes": [
  210. "application/json"
  211. ],
  212. "tags": [
  213. "用户管理"
  214. ],
  215. "summary": "删除管理员",
  216. "parameters": [
  217. {
  218. "type": "integer",
  219. "description": "ids[1,2,3...]",
  220. "name": "ids",
  221. "in": "path",
  222. "required": true
  223. }
  224. ],
  225. "responses": {
  226. "200": {
  227. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  228. "schema": {
  229. "$ref": "#/definitions/response.Response"
  230. }
  231. }
  232. }
  233. }
  234. },
  235. "/system/auth/deleteMenu": {
  236. "delete": {
  237. "security": [
  238. {
  239. "Bearer": []
  240. }
  241. ],
  242. "description": "删除菜单",
  243. "consumes": [
  244. "application/json"
  245. ],
  246. "tags": [
  247. "菜单管理"
  248. ],
  249. "summary": "删除菜单",
  250. "parameters": [
  251. {
  252. "description": "ids[1,2,3]",
  253. "name": "ids",
  254. "in": "body",
  255. "required": true,
  256. "schema": {
  257. "type": "integer"
  258. }
  259. }
  260. ],
  261. "responses": {
  262. "200": {
  263. "description": "{\"code\": 0, \"message\": \"修改成功\"}",
  264. "schema": {
  265. "$ref": "#/definitions/response.Response"
  266. }
  267. }
  268. }
  269. }
  270. },
  271. "/system/auth/deleteRole": {
  272. "delete": {
  273. "security": [
  274. {
  275. "Bearer": []
  276. }
  277. ],
  278. "description": "删除角色",
  279. "consumes": [
  280. "application/json"
  281. ],
  282. "tags": [
  283. "角色管理"
  284. ],
  285. "summary": "删除角色",
  286. "parameters": [
  287. {
  288. "description": "ids[1,2,3]",
  289. "name": "ids",
  290. "in": "body",
  291. "required": true,
  292. "schema": {
  293. "type": "integer"
  294. }
  295. }
  296. ],
  297. "responses": {
  298. "200": {
  299. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  300. "schema": {
  301. "$ref": "#/definitions/response.Response"
  302. }
  303. }
  304. }
  305. }
  306. },
  307. "/system/auth/editMenu": {
  308. "post": {
  309. "security": [
  310. {
  311. "Bearer": []
  312. }
  313. ],
  314. "description": "修改菜单",
  315. "consumes": [
  316. "application/json"
  317. ],
  318. "tags": [
  319. "菜单管理"
  320. ],
  321. "summary": "修改菜单",
  322. "parameters": [
  323. {
  324. "description": "data",
  325. "name": "data",
  326. "in": "body",
  327. "required": true,
  328. "schema": {
  329. "$ref": "#/definitions/auth_rule.MenuReq"
  330. }
  331. }
  332. ],
  333. "responses": {
  334. "200": {
  335. "description": "{\"code\": 0, \"message\": \"修改成功\"}",
  336. "schema": {
  337. "$ref": "#/definitions/response.Response"
  338. }
  339. }
  340. }
  341. }
  342. },
  343. "/system/auth/editRole": {
  344. "post": {
  345. "security": [
  346. {
  347. "Bearer": []
  348. }
  349. ],
  350. "description": "修改角色",
  351. "consumes": [
  352. "application/json"
  353. ],
  354. "tags": [
  355. "角色管理"
  356. ],
  357. "summary": "修改角色",
  358. "parameters": [
  359. {
  360. "description": "data",
  361. "name": "data",
  362. "in": "body",
  363. "required": true,
  364. "schema": {
  365. "type": "string"
  366. }
  367. }
  368. ],
  369. "responses": {
  370. "200": {
  371. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  372. "schema": {
  373. "$ref": "#/definitions/response.Response"
  374. }
  375. }
  376. }
  377. }
  378. },
  379. "/system/auth/editUser": {
  380. "post": {
  381. "security": [
  382. {
  383. "Bearer": []
  384. }
  385. ],
  386. "description": "编辑用户",
  387. "consumes": [
  388. "application/json"
  389. ],
  390. "tags": [
  391. "用户管理"
  392. ],
  393. "summary": "编辑用户",
  394. "parameters": [
  395. {
  396. "description": "data",
  397. "name": "data",
  398. "in": "body",
  399. "required": true,
  400. "schema": {
  401. "$ref": "#/definitions/user.EditUserReq"
  402. }
  403. }
  404. ],
  405. "responses": {
  406. "200": {
  407. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  408. "schema": {
  409. "$ref": "#/definitions/response.Response"
  410. }
  411. }
  412. }
  413. }
  414. },
  415. "/system/auth/menuList": {
  416. "get": {
  417. "security": [
  418. {
  419. "": []
  420. }
  421. ],
  422. "description": "获取菜单列表",
  423. "tags": [
  424. "菜单管理"
  425. ],
  426. "summary": "分页列表",
  427. "parameters": [
  428. {
  429. "description": "data",
  430. "name": "data",
  431. "in": "body",
  432. "required": true,
  433. "schema": {
  434. "$ref": "#/definitions/auth_rule.ReqSearch"
  435. }
  436. }
  437. ],
  438. "responses": {
  439. "0": {
  440. "description": "{\"code\": 200, \"data\": [...]}",
  441. "schema": {
  442. "$ref": "#/definitions/response.Response"
  443. }
  444. }
  445. }
  446. }
  447. },
  448. "/system/auth/resetUserPwd": {
  449. "post": {
  450. "security": [
  451. {
  452. "Bearer": []
  453. }
  454. ],
  455. "description": "重置用户密码",
  456. "consumes": [
  457. "application/json"
  458. ],
  459. "tags": [
  460. "用户管理"
  461. ],
  462. "summary": "重置用户密码",
  463. "parameters": [
  464. {
  465. "description": "data",
  466. "name": "data",
  467. "in": "body",
  468. "required": true,
  469. "schema": {
  470. "$ref": "#/definitions/user.ResetPwdReq"
  471. }
  472. }
  473. ],
  474. "responses": {
  475. "200": {
  476. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  477. "schema": {
  478. "$ref": "#/definitions/response.Response"
  479. }
  480. }
  481. }
  482. }
  483. },
  484. "/system/auth/roleDataScope": {
  485. "post": {
  486. "security": [
  487. {
  488. "Bearer": []
  489. }
  490. ],
  491. "description": "角色数据权限分配",
  492. "consumes": [
  493. "application/json"
  494. ],
  495. "tags": [
  496. "用户管理"
  497. ],
  498. "summary": "角色数据权限分配",
  499. "parameters": [
  500. {
  501. "description": "data",
  502. "name": "data",
  503. "in": "body",
  504. "required": true,
  505. "schema": {
  506. "$ref": "#/definitions/role.DataScopeReq"
  507. }
  508. }
  509. ],
  510. "responses": {
  511. "200": {
  512. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  513. "schema": {
  514. "$ref": "#/definitions/response.Response"
  515. }
  516. }
  517. }
  518. }
  519. },
  520. "/system/auth/roleList": {
  521. "get": {
  522. "security": [
  523. {
  524. "": []
  525. }
  526. ],
  527. "description": "分页列表",
  528. "tags": [
  529. "角色管理"
  530. ],
  531. "summary": "角色列表",
  532. "parameters": [
  533. {
  534. "description": "data",
  535. "name": "data",
  536. "in": "body",
  537. "required": true,
  538. "schema": {
  539. "$ref": "#/definitions/role.SelectPageReq"
  540. }
  541. }
  542. ],
  543. "responses": {
  544. "0": {
  545. "description": "{\"code\": 200, \"data\": [...]}",
  546. "schema": {
  547. "$ref": "#/definitions/response.Response"
  548. }
  549. }
  550. }
  551. }
  552. },
  553. "/system/auth/statusSetRole": {
  554. "post": {
  555. "security": [
  556. {
  557. "Bearer": []
  558. }
  559. ],
  560. "description": "设置角色状态",
  561. "consumes": [
  562. "application/json"
  563. ],
  564. "tags": [
  565. "用户管理"
  566. ],
  567. "summary": "设置角色状态",
  568. "parameters": [
  569. {
  570. "description": "data",
  571. "name": "data",
  572. "in": "body",
  573. "required": true,
  574. "schema": {
  575. "$ref": "#/definitions/role.StatusSetReq"
  576. }
  577. }
  578. ],
  579. "responses": {
  580. "200": {
  581. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  582. "schema": {
  583. "$ref": "#/definitions/response.Response"
  584. }
  585. }
  586. }
  587. }
  588. },
  589. "/system/config/dict/add": {
  590. "post": {
  591. "security": [
  592. {
  593. "": []
  594. }
  595. ],
  596. "description": "添加字典",
  597. "tags": [
  598. "字典管理"
  599. ],
  600. "summary": "添加字典",
  601. "parameters": [
  602. {
  603. "description": "data",
  604. "name": "data",
  605. "in": "body",
  606. "required": true,
  607. "schema": {
  608. "$ref": "#/definitions/sys_dict_type.AddReq"
  609. }
  610. }
  611. ],
  612. "responses": {
  613. "0": {
  614. "description": "{\"code\": 200, \"data\": [...]}",
  615. "schema": {
  616. "$ref": "#/definitions/response.Response"
  617. }
  618. }
  619. }
  620. }
  621. },
  622. "/system/config/dict/dataAdd": {
  623. "post": {
  624. "security": [
  625. {
  626. "": []
  627. }
  628. ],
  629. "description": "添加数据字典",
  630. "tags": [
  631. "字典管理"
  632. ],
  633. "summary": "添加数据字典",
  634. "parameters": [
  635. {
  636. "description": "data",
  637. "name": "data",
  638. "in": "body",
  639. "required": true,
  640. "schema": {
  641. "$ref": "#/definitions/sys_dict_data.AddDataReq"
  642. }
  643. }
  644. ],
  645. "responses": {
  646. "0": {
  647. "description": "{\"code\": 200, \"data\": [...]}",
  648. "schema": {
  649. "$ref": "#/definitions/response.Response"
  650. }
  651. }
  652. }
  653. }
  654. },
  655. "/system/config/dict/dataDelete": {
  656. "delete": {
  657. "security": [
  658. {
  659. "": []
  660. }
  661. ],
  662. "description": "删除字典数据",
  663. "tags": [
  664. "字典管理"
  665. ],
  666. "summary": "删除字典数据",
  667. "parameters": [
  668. {
  669. "description": "ids[1,2,3...]",
  670. "name": "ids",
  671. "in": "body",
  672. "required": true,
  673. "schema": {
  674. "type": "integer"
  675. }
  676. }
  677. ],
  678. "responses": {
  679. "0": {
  680. "description": "{\"code\": 200, \"data\": [...]}",
  681. "schema": {
  682. "$ref": "#/definitions/response.Response"
  683. }
  684. }
  685. }
  686. }
  687. },
  688. "/system/config/dict/dataEdit": {
  689. "post": {
  690. "security": [
  691. {
  692. "": []
  693. }
  694. ],
  695. "description": "修改字典数据",
  696. "tags": [
  697. "字典管理"
  698. ],
  699. "summary": "修改字典数据",
  700. "parameters": [
  701. {
  702. "description": "data",
  703. "name": "data",
  704. "in": "body",
  705. "required": true,
  706. "schema": {
  707. "$ref": "#/definitions/sys_dict_data.EditDataReq"
  708. }
  709. }
  710. ],
  711. "responses": {
  712. "0": {
  713. "description": "{\"code\": 200, \"data\": [...]}",
  714. "schema": {
  715. "$ref": "#/definitions/response.Response"
  716. }
  717. }
  718. }
  719. }
  720. },
  721. "/system/config/dict/dataList": {
  722. "get": {
  723. "security": [
  724. {
  725. "": []
  726. }
  727. ],
  728. "description": "字典数据列表",
  729. "tags": [
  730. "字典管理"
  731. ],
  732. "summary": "字典数据列表",
  733. "parameters": [
  734. {
  735. "description": "data",
  736. "name": "data",
  737. "in": "body",
  738. "required": true,
  739. "schema": {
  740. "$ref": "#/definitions/sys_dict_data.SelectDataPageReq"
  741. }
  742. }
  743. ],
  744. "responses": {
  745. "0": {
  746. "description": "{\"code\": 200, \"data\": [...]}",
  747. "schema": {
  748. "$ref": "#/definitions/response.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/system/config/dict/delete": {
  755. "delete": {
  756. "security": [
  757. {
  758. "": []
  759. }
  760. ],
  761. "description": "删除字典",
  762. "tags": [
  763. "字典管理"
  764. ],
  765. "summary": "删除字典",
  766. "parameters": [
  767. {
  768. "description": "dictIds[1,2,3]",
  769. "name": "dictIds",
  770. "in": "body",
  771. "required": true,
  772. "schema": {
  773. "type": "string"
  774. }
  775. }
  776. ],
  777. "responses": {
  778. "0": {
  779. "description": "{\"code\": 200, \"data\": [...]}",
  780. "schema": {
  781. "$ref": "#/definitions/response.Response"
  782. }
  783. }
  784. }
  785. }
  786. },
  787. "/system/config/dict/edit": {
  788. "post": {
  789. "security": [
  790. {
  791. "": []
  792. }
  793. ],
  794. "description": "修改字典",
  795. "tags": [
  796. "字典管理"
  797. ],
  798. "summary": "修改字典",
  799. "parameters": [
  800. {
  801. "description": "data",
  802. "name": "data",
  803. "in": "body",
  804. "required": true,
  805. "schema": {
  806. "$ref": "#/definitions/sys_dict_type.EditReq"
  807. }
  808. }
  809. ],
  810. "responses": {
  811. "0": {
  812. "description": "{\"code\": 200, \"data\": [...]}",
  813. "schema": {
  814. "$ref": "#/definitions/response.Response"
  815. }
  816. }
  817. }
  818. }
  819. },
  820. "/system/config/dict/list": {
  821. "get": {
  822. "security": [
  823. {
  824. "": []
  825. }
  826. ],
  827. "description": "字典列表",
  828. "tags": [
  829. "字典管理"
  830. ],
  831. "summary": "字典列表",
  832. "parameters": [
  833. {
  834. "description": "data",
  835. "name": "data",
  836. "in": "body",
  837. "required": true,
  838. "schema": {
  839. "$ref": "#/definitions/sys_dict_type.SelectPageReq"
  840. }
  841. }
  842. ],
  843. "responses": {
  844. "0": {
  845. "description": "{\"code\": 200, \"data\": [...]}",
  846. "schema": {
  847. "$ref": "#/definitions/response.Response"
  848. }
  849. }
  850. }
  851. }
  852. },
  853. "/system/config/dict/sysNormalDisable": {
  854. "post": {
  855. "security": [
  856. {
  857. "": []
  858. }
  859. ],
  860. "description": "字典状态",
  861. "tags": [
  862. "字典管理"
  863. ],
  864. "summary": "字典状态",
  865. "responses": {
  866. "0": {
  867. "description": "{\"code\": 200, \"data\": [...]}",
  868. "schema": {
  869. "$ref": "#/definitions/response.Response"
  870. }
  871. }
  872. }
  873. }
  874. },
  875. "/system/config/params/add": {
  876. "post": {
  877. "security": [
  878. {
  879. "": []
  880. }
  881. ],
  882. "description": "添加参数",
  883. "tags": [
  884. "参数管理"
  885. ],
  886. "summary": "添加参数",
  887. "parameters": [
  888. {
  889. "description": "data",
  890. "name": "data",
  891. "in": "body",
  892. "required": true,
  893. "schema": {
  894. "$ref": "#/definitions/sys_config.AddReq"
  895. }
  896. }
  897. ],
  898. "responses": {
  899. "0": {
  900. "description": "{\"code\": 200, \"data\": [...]}",
  901. "schema": {
  902. "$ref": "#/definitions/response.Response"
  903. }
  904. }
  905. }
  906. }
  907. },
  908. "/system/config/params/delete": {
  909. "delete": {
  910. "security": [
  911. {
  912. "": []
  913. }
  914. ],
  915. "description": "删除参数",
  916. "tags": [
  917. "参数管理"
  918. ],
  919. "summary": "删除参数",
  920. "parameters": [
  921. {
  922. "description": "ids[1,2,3...]",
  923. "name": "ids",
  924. "in": "body",
  925. "required": true,
  926. "schema": {
  927. "type": "integer"
  928. }
  929. }
  930. ],
  931. "responses": {
  932. "0": {
  933. "description": "{\"code\": 200, \"data\": [...]}",
  934. "schema": {
  935. "$ref": "#/definitions/response.Response"
  936. }
  937. }
  938. }
  939. }
  940. },
  941. "/system/config/params/edit": {
  942. "post": {
  943. "security": [
  944. {
  945. "": []
  946. }
  947. ],
  948. "description": "修改参数",
  949. "tags": [
  950. "参数管理"
  951. ],
  952. "summary": "修改参数",
  953. "parameters": [
  954. {
  955. "description": "data",
  956. "name": "data",
  957. "in": "body",
  958. "required": true,
  959. "schema": {
  960. "$ref": "#/definitions/sys_config.EditReq"
  961. }
  962. }
  963. ],
  964. "responses": {
  965. "0": {
  966. "description": "{\"code\": 200, \"data\": [...]}",
  967. "schema": {
  968. "$ref": "#/definitions/response.Response"
  969. }
  970. }
  971. }
  972. }
  973. },
  974. "/system/config/params/list": {
  975. "get": {
  976. "security": [
  977. {
  978. "": []
  979. }
  980. ],
  981. "description": "参数列表",
  982. "tags": [
  983. "参数管理"
  984. ],
  985. "summary": "参数列表",
  986. "parameters": [
  987. {
  988. "description": "data",
  989. "name": "data",
  990. "in": "body",
  991. "required": true,
  992. "schema": {
  993. "$ref": "#/definitions/sys_config.SelectPageReq"
  994. }
  995. }
  996. ],
  997. "responses": {
  998. "0": {
  999. "description": "{\"code\": 200, \"data\": [...]}",
  1000. "schema": {
  1001. "$ref": "#/definitions/response.Response"
  1002. }
  1003. }
  1004. }
  1005. }
  1006. },
  1007. "/system/dept/addDept": {
  1008. "post": {
  1009. "security": [
  1010. {
  1011. "Bearer": []
  1012. }
  1013. ],
  1014. "description": "获取JSON",
  1015. "consumes": [
  1016. "application/json"
  1017. ],
  1018. "tags": [
  1019. "部门"
  1020. ],
  1021. "summary": "添加部门",
  1022. "parameters": [
  1023. {
  1024. "description": "data",
  1025. "name": "data",
  1026. "in": "body",
  1027. "required": true,
  1028. "schema": {
  1029. "$ref": "#/definitions/sys_dept.AddParams"
  1030. }
  1031. }
  1032. ],
  1033. "responses": {
  1034. "200": {
  1035. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  1036. "schema": {
  1037. "$ref": "#/definitions/response.Response"
  1038. }
  1039. }
  1040. }
  1041. }
  1042. },
  1043. "/system/dept/delDept/{id}": {
  1044. "delete": {
  1045. "description": "删除数据",
  1046. "tags": [
  1047. "部门"
  1048. ],
  1049. "summary": "删除部门",
  1050. "parameters": [
  1051. {
  1052. "type": "integer",
  1053. "description": "id",
  1054. "name": "id",
  1055. "in": "path",
  1056. "required": true
  1057. }
  1058. ],
  1059. "responses": {
  1060. "200": {
  1061. "description": "{\"code\": 0, \"message\": \"删除成功\"}",
  1062. "schema": {
  1063. "$ref": "#/definitions/response.Response"
  1064. }
  1065. }
  1066. }
  1067. }
  1068. },
  1069. "/system/dept/editDept": {
  1070. "post": {
  1071. "security": [
  1072. {
  1073. "Bearer": []
  1074. }
  1075. ],
  1076. "description": "获取JSON",
  1077. "consumes": [
  1078. "application/json"
  1079. ],
  1080. "tags": [
  1081. "部门"
  1082. ],
  1083. "summary": "修改部门",
  1084. "parameters": [
  1085. {
  1086. "description": "data",
  1087. "name": "data",
  1088. "in": "body",
  1089. "required": true,
  1090. "schema": {
  1091. "$ref": "#/definitions/sys_dept.EditParams"
  1092. }
  1093. }
  1094. ],
  1095. "responses": {
  1096. "200": {
  1097. "description": "{\"code\": 0, \"message\": \"修改成功\"}",
  1098. "schema": {
  1099. "$ref": "#/definitions/response.Response"
  1100. }
  1101. }
  1102. }
  1103. }
  1104. },
  1105. "/system/dept/list": {
  1106. "get": {
  1107. "security": [
  1108. {
  1109. "": []
  1110. }
  1111. ],
  1112. "description": "分页列表",
  1113. "tags": [
  1114. "部门"
  1115. ],
  1116. "summary": "分页部门列表数据",
  1117. "parameters": [
  1118. {
  1119. "description": "data",
  1120. "name": "data",
  1121. "in": "body",
  1122. "required": true,
  1123. "schema": {
  1124. "$ref": "#/definitions/sys_dept.SearchParams"
  1125. }
  1126. }
  1127. ],
  1128. "responses": {
  1129. "0": {
  1130. "description": "{\"code\": 200, \"data\": [...]}",
  1131. "schema": {
  1132. "$ref": "#/definitions/response.Response"
  1133. }
  1134. }
  1135. }
  1136. }
  1137. },
  1138. "/system/index/getInfo": {
  1139. "get": {
  1140. "security": [
  1141. {
  1142. "": []
  1143. }
  1144. ],
  1145. "description": "获取登录用户信息",
  1146. "tags": [
  1147. "公共"
  1148. ],
  1149. "summary": "获取登录用户信息",
  1150. "responses": {
  1151. "0": {
  1152. "description": "{\"code\": 200, \"data\": [...]}",
  1153. "schema": {
  1154. "$ref": "#/definitions/response.Response"
  1155. }
  1156. }
  1157. }
  1158. }
  1159. },
  1160. "/system/index/getRouters": {
  1161. "get": {
  1162. "security": [
  1163. {
  1164. "": []
  1165. }
  1166. ],
  1167. "description": "获取后台菜单",
  1168. "tags": [
  1169. "公共"
  1170. ],
  1171. "summary": "获取后台菜单",
  1172. "responses": {
  1173. "0": {
  1174. "description": "{\"code\": 200, \"data\": [...]}",
  1175. "schema": {
  1176. "$ref": "#/definitions/response.Response"
  1177. }
  1178. }
  1179. }
  1180. }
  1181. },
  1182. "/system/monitor/job/add": {
  1183. "post": {
  1184. "security": [
  1185. {
  1186. "": []
  1187. }
  1188. ],
  1189. "description": "添加任务",
  1190. "tags": [
  1191. "定时任务"
  1192. ],
  1193. "summary": "添加任务",
  1194. "parameters": [
  1195. {
  1196. "description": "data",
  1197. "name": "data",
  1198. "in": "body",
  1199. "required": true,
  1200. "schema": {
  1201. "$ref": "#/definitions/sys_job.ReqAdd"
  1202. }
  1203. }
  1204. ],
  1205. "responses": {
  1206. "0": {
  1207. "description": "{\"code\": 200, \"data\": [...]}",
  1208. "schema": {
  1209. "$ref": "#/definitions/response.Response"
  1210. }
  1211. }
  1212. }
  1213. }
  1214. },
  1215. "/system/monitor/job/delete": {
  1216. "delete": {
  1217. "security": [
  1218. {
  1219. "": []
  1220. }
  1221. ],
  1222. "description": "删除计划任务",
  1223. "tags": [
  1224. "定时任务"
  1225. ],
  1226. "summary": "删除计划任务",
  1227. "parameters": [
  1228. {
  1229. "description": "ids[]",
  1230. "name": "ids",
  1231. "in": "body",
  1232. "required": true,
  1233. "schema": {
  1234. "type": "integer"
  1235. }
  1236. }
  1237. ],
  1238. "responses": {
  1239. "0": {
  1240. "description": "{\"code\": 200, \"data\": [...]}",
  1241. "schema": {
  1242. "$ref": "#/definitions/response.Response"
  1243. }
  1244. }
  1245. }
  1246. }
  1247. },
  1248. "/system/monitor/job/details": {
  1249. "post": {
  1250. "security": [
  1251. {
  1252. "": []
  1253. }
  1254. ],
  1255. "description": "详情",
  1256. "tags": [
  1257. "定时任务"
  1258. ],
  1259. "summary": "详情",
  1260. "parameters": [
  1261. {
  1262. "description": "id",
  1263. "name": "id",
  1264. "in": "body",
  1265. "required": true,
  1266. "schema": {
  1267. "type": "integer"
  1268. }
  1269. }
  1270. ],
  1271. "responses": {
  1272. "0": {
  1273. "description": "{\"code\": 200, \"data\": [...]}",
  1274. "schema": {
  1275. "$ref": "#/definitions/response.Response"
  1276. }
  1277. }
  1278. }
  1279. }
  1280. },
  1281. "/system/monitor/job/edit": {
  1282. "post": {
  1283. "security": [
  1284. {
  1285. "": []
  1286. }
  1287. ],
  1288. "description": "修改任务",
  1289. "tags": [
  1290. "定时任务"
  1291. ],
  1292. "summary": "修改任务",
  1293. "parameters": [
  1294. {
  1295. "description": "data",
  1296. "name": "data",
  1297. "in": "body",
  1298. "required": true,
  1299. "schema": {
  1300. "$ref": "#/definitions/sys_job.ReqEdit"
  1301. }
  1302. }
  1303. ],
  1304. "responses": {
  1305. "0": {
  1306. "description": "{\"code\": 200, \"data\": [...]}",
  1307. "schema": {
  1308. "$ref": "#/definitions/response.Response"
  1309. }
  1310. }
  1311. }
  1312. }
  1313. },
  1314. "/system/monitor/job/list": {
  1315. "get": {
  1316. "security": [
  1317. {
  1318. "": []
  1319. }
  1320. ],
  1321. "description": "任务列表",
  1322. "tags": [
  1323. "定时任务"
  1324. ],
  1325. "summary": "任务列表",
  1326. "parameters": [
  1327. {
  1328. "description": "data",
  1329. "name": "data",
  1330. "in": "body",
  1331. "required": true,
  1332. "schema": {
  1333. "$ref": "#/definitions/sys_job.SelectPageReq"
  1334. }
  1335. }
  1336. ],
  1337. "responses": {
  1338. "0": {
  1339. "description": "{\"code\": 200, \"data\": [...]}",
  1340. "schema": {
  1341. "$ref": "#/definitions/response.Response"
  1342. }
  1343. }
  1344. }
  1345. }
  1346. },
  1347. "/system/monitor/job/start": {
  1348. "post": {
  1349. "security": [
  1350. {
  1351. "": []
  1352. }
  1353. ],
  1354. "description": "启动任务",
  1355. "tags": [
  1356. "定时任务"
  1357. ],
  1358. "summary": "启动任务",
  1359. "parameters": [
  1360. {
  1361. "description": "id",
  1362. "name": "id",
  1363. "in": "body",
  1364. "required": true,
  1365. "schema": {
  1366. "type": "integer"
  1367. }
  1368. }
  1369. ],
  1370. "responses": {
  1371. "0": {
  1372. "description": "{\"code\": 200, \"data\": [...]}",
  1373. "schema": {
  1374. "$ref": "#/definitions/response.Response"
  1375. }
  1376. }
  1377. }
  1378. }
  1379. },
  1380. "/system/monitor/job/stop": {
  1381. "post": {
  1382. "security": [
  1383. {
  1384. "": []
  1385. }
  1386. ],
  1387. "description": "停止任务",
  1388. "tags": [
  1389. "定时任务"
  1390. ],
  1391. "summary": "停止任务",
  1392. "parameters": [
  1393. {
  1394. "description": "id",
  1395. "name": "id",
  1396. "in": "body",
  1397. "required": true,
  1398. "schema": {
  1399. "type": "integer"
  1400. }
  1401. }
  1402. ],
  1403. "responses": {
  1404. "0": {
  1405. "description": "{\"code\": 200, \"data\": [...]}",
  1406. "schema": {
  1407. "$ref": "#/definitions/response.Response"
  1408. }
  1409. }
  1410. }
  1411. }
  1412. },
  1413. "/system/monitor/loginlog/clear": {
  1414. "post": {
  1415. "security": [
  1416. {
  1417. "": []
  1418. }
  1419. ],
  1420. "description": "清空登录日志",
  1421. "tags": [
  1422. "登录日志"
  1423. ],
  1424. "summary": "清空登录日志",
  1425. "responses": {
  1426. "0": {
  1427. "description": "{\"code\": 200, \"data\": [...]}",
  1428. "schema": {
  1429. "$ref": "#/definitions/response.Response"
  1430. }
  1431. }
  1432. }
  1433. }
  1434. },
  1435. "/system/monitor/loginlog/delete": {
  1436. "delete": {
  1437. "security": [
  1438. {
  1439. "": []
  1440. }
  1441. ],
  1442. "description": "删除登录日志",
  1443. "tags": [
  1444. "登录日志"
  1445. ],
  1446. "summary": "删除登录日志",
  1447. "parameters": [
  1448. {
  1449. "description": "ids[]",
  1450. "name": "ids",
  1451. "in": "body",
  1452. "required": true,
  1453. "schema": {
  1454. "type": "integer"
  1455. }
  1456. }
  1457. ],
  1458. "responses": {
  1459. "0": {
  1460. "description": "{\"code\": 200, \"data\": [...]}",
  1461. "schema": {
  1462. "$ref": "#/definitions/response.Response"
  1463. }
  1464. }
  1465. }
  1466. }
  1467. },
  1468. "/system/monitor/loginlog/list": {
  1469. "get": {
  1470. "security": [
  1471. {
  1472. "": []
  1473. }
  1474. ],
  1475. "description": "登录日志列表",
  1476. "tags": [
  1477. "登录日志"
  1478. ],
  1479. "summary": "登录日志列表",
  1480. "parameters": [
  1481. {
  1482. "description": "data",
  1483. "name": "data",
  1484. "in": "body",
  1485. "required": true,
  1486. "schema": {
  1487. "$ref": "#/definitions/sys_login_log.SelectPageReq"
  1488. }
  1489. }
  1490. ],
  1491. "responses": {
  1492. "0": {
  1493. "description": "{\"code\": 200, \"data\": [...]}",
  1494. "schema": {
  1495. "$ref": "#/definitions/response.Response"
  1496. }
  1497. }
  1498. }
  1499. }
  1500. },
  1501. "/system/monitor/online/forceLogout": {
  1502. "post": {
  1503. "security": [
  1504. {
  1505. "": []
  1506. }
  1507. ],
  1508. "description": "强制退出",
  1509. "tags": [
  1510. "在线用户"
  1511. ],
  1512. "summary": "强制退出",
  1513. "parameters": [
  1514. {
  1515. "description": "ids[]",
  1516. "name": "ids",
  1517. "in": "body",
  1518. "required": true,
  1519. "schema": {
  1520. "type": "integer"
  1521. }
  1522. }
  1523. ],
  1524. "responses": {
  1525. "0": {
  1526. "description": "{\"code\": 200, \"data\": [...]}",
  1527. "schema": {
  1528. "$ref": "#/definitions/response.Response"
  1529. }
  1530. }
  1531. }
  1532. }
  1533. },
  1534. "/system/monitor/online/list": {
  1535. "get": {
  1536. "security": [
  1537. {
  1538. "": []
  1539. }
  1540. ],
  1541. "description": "用户状态列表",
  1542. "tags": [
  1543. "在线用户"
  1544. ],
  1545. "summary": "用户状态列表",
  1546. "parameters": [
  1547. {
  1548. "description": "data",
  1549. "name": "data",
  1550. "in": "body",
  1551. "required": true,
  1552. "schema": {
  1553. "$ref": "#/definitions/user_online.ReqListSearch"
  1554. }
  1555. }
  1556. ],
  1557. "responses": {
  1558. "0": {
  1559. "description": "{\"code\": 200, \"data\": [...]}",
  1560. "schema": {
  1561. "$ref": "#/definitions/response.Response"
  1562. }
  1563. }
  1564. }
  1565. }
  1566. },
  1567. "/system/monitor/operlog/clear": {
  1568. "post": {
  1569. "security": [
  1570. {
  1571. "": []
  1572. }
  1573. ],
  1574. "description": "清空日志",
  1575. "tags": [
  1576. "操作日志"
  1577. ],
  1578. "summary": "清空日志",
  1579. "parameters": [
  1580. {
  1581. "description": "ids[]",
  1582. "name": "ids",
  1583. "in": "body",
  1584. "required": true,
  1585. "schema": {
  1586. "type": "integer"
  1587. }
  1588. }
  1589. ],
  1590. "responses": {
  1591. "0": {
  1592. "description": "{\"code\": 200, \"data\": [...]}",
  1593. "schema": {
  1594. "$ref": "#/definitions/response.Response"
  1595. }
  1596. }
  1597. }
  1598. }
  1599. },
  1600. "/system/monitor/operlog/delete": {
  1601. "delete": {
  1602. "security": [
  1603. {
  1604. "": []
  1605. }
  1606. ],
  1607. "description": "删除日志",
  1608. "tags": [
  1609. "操作日志"
  1610. ],
  1611. "summary": "删除日志",
  1612. "parameters": [
  1613. {
  1614. "description": "ids[]",
  1615. "name": "ids",
  1616. "in": "body",
  1617. "required": true,
  1618. "schema": {
  1619. "type": "integer"
  1620. }
  1621. }
  1622. ],
  1623. "responses": {
  1624. "0": {
  1625. "description": "{\"code\": 200, \"data\": [...]}",
  1626. "schema": {
  1627. "$ref": "#/definitions/response.Response"
  1628. }
  1629. }
  1630. }
  1631. }
  1632. },
  1633. "/system/monitor/operlog/detail": {
  1634. "post": {
  1635. "security": [
  1636. {
  1637. "": []
  1638. }
  1639. ],
  1640. "description": "操作详细",
  1641. "tags": [
  1642. "操作日志"
  1643. ],
  1644. "summary": "操作详细",
  1645. "parameters": [
  1646. {
  1647. "description": "id",
  1648. "name": "id",
  1649. "in": "body",
  1650. "required": true,
  1651. "schema": {
  1652. "type": "integer"
  1653. }
  1654. }
  1655. ],
  1656. "responses": {
  1657. "0": {
  1658. "description": "{\"code\": 200, \"data\": [...]}",
  1659. "schema": {
  1660. "$ref": "#/definitions/response.Response"
  1661. }
  1662. }
  1663. }
  1664. }
  1665. },
  1666. "/system/monitor/operlog/list": {
  1667. "get": {
  1668. "security": [
  1669. {
  1670. "": []
  1671. }
  1672. ],
  1673. "description": "操作日志列表",
  1674. "tags": [
  1675. "操作日志"
  1676. ],
  1677. "summary": "操作日志列表",
  1678. "parameters": [
  1679. {
  1680. "description": "data",
  1681. "name": "data",
  1682. "in": "body",
  1683. "required": true,
  1684. "schema": {
  1685. "$ref": "#/definitions/sys_oper_log.SelectPageReq"
  1686. }
  1687. }
  1688. ],
  1689. "responses": {
  1690. "0": {
  1691. "description": "{\"code\": 200, \"data\": [...]}",
  1692. "schema": {
  1693. "$ref": "#/definitions/response.Response"
  1694. }
  1695. }
  1696. }
  1697. }
  1698. },
  1699. "/system/monitor/server/info": {
  1700. "get": {
  1701. "security": [
  1702. {
  1703. "": []
  1704. }
  1705. ],
  1706. "description": "服务监控",
  1707. "tags": [
  1708. "服务监控"
  1709. ],
  1710. "summary": "服务监控",
  1711. "responses": {
  1712. "0": {
  1713. "description": "{\"code\": 200, \"data\": [...]}",
  1714. "schema": {
  1715. "$ref": "#/definitions/response.Response"
  1716. }
  1717. }
  1718. }
  1719. }
  1720. },
  1721. "/system/post/add": {
  1722. "post": {
  1723. "security": [
  1724. {
  1725. "Bearer": []
  1726. }
  1727. ],
  1728. "description": "添加岗位",
  1729. "consumes": [
  1730. "application/json"
  1731. ],
  1732. "tags": [
  1733. "岗位"
  1734. ],
  1735. "summary": "添加岗位",
  1736. "parameters": [
  1737. {
  1738. "description": "data",
  1739. "name": "data",
  1740. "in": "body",
  1741. "required": true,
  1742. "schema": {
  1743. "$ref": "#/definitions/sys_post.AddParams"
  1744. }
  1745. }
  1746. ],
  1747. "responses": {
  1748. "200": {
  1749. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  1750. "schema": {
  1751. "$ref": "#/definitions/response.Response"
  1752. }
  1753. }
  1754. }
  1755. }
  1756. },
  1757. "/system/post/delete": {
  1758. "get": {
  1759. "description": "删除数据",
  1760. "tags": [
  1761. "岗位"
  1762. ],
  1763. "summary": "删除岗位",
  1764. "parameters": [
  1765. {
  1766. "type": "integer",
  1767. "description": "ids[1,2,3...]",
  1768. "name": "ids",
  1769. "in": "path",
  1770. "required": true
  1771. }
  1772. ],
  1773. "responses": {
  1774. "200": {
  1775. "description": "{\"code\": 0, \"message\": \"删除成功\"}",
  1776. "schema": {
  1777. "$ref": "#/definitions/response.Response"
  1778. }
  1779. }
  1780. }
  1781. }
  1782. },
  1783. "/system/post/edit": {
  1784. "post": {
  1785. "security": [
  1786. {
  1787. "Bearer": []
  1788. }
  1789. ],
  1790. "description": "获取JSON",
  1791. "consumes": [
  1792. "application/json"
  1793. ],
  1794. "tags": [
  1795. "岗位"
  1796. ],
  1797. "summary": "修改岗位",
  1798. "parameters": [
  1799. {
  1800. "description": "data",
  1801. "name": "data",
  1802. "in": "body",
  1803. "required": true,
  1804. "schema": {
  1805. "$ref": "#/definitions/sys_post.EditParams"
  1806. }
  1807. }
  1808. ],
  1809. "responses": {
  1810. "200": {
  1811. "description": "{\"code\": 0, \"message\": \"修改成功\"}",
  1812. "schema": {
  1813. "$ref": "#/definitions/response.Response"
  1814. }
  1815. }
  1816. }
  1817. }
  1818. },
  1819. "/system/post/list": {
  1820. "post": {
  1821. "security": [
  1822. {
  1823. "": []
  1824. }
  1825. ],
  1826. "description": "分页列表",
  1827. "tags": [
  1828. "岗位"
  1829. ],
  1830. "summary": "分页岗位列表数据",
  1831. "parameters": [
  1832. {
  1833. "description": "data",
  1834. "name": "data",
  1835. "in": "body",
  1836. "required": true,
  1837. "schema": {
  1838. "$ref": "#/definitions/sys_post.SearchParams"
  1839. }
  1840. }
  1841. ],
  1842. "responses": {
  1843. "0": {
  1844. "description": "{\"code\": 200, \"data\": [...]}",
  1845. "schema": {
  1846. "$ref": "#/definitions/response.Response"
  1847. }
  1848. }
  1849. }
  1850. }
  1851. },
  1852. "/system/public/verify": {
  1853. "post": {
  1854. "security": [
  1855. {
  1856. "": []
  1857. }
  1858. ],
  1859. "description": "获取验证码图片信息",
  1860. "tags": [
  1861. "公共"
  1862. ],
  1863. "summary": "获取验证码图片信息",
  1864. "responses": {
  1865. "0": {
  1866. "description": "{\"code\": 200, \"data\": [...]}",
  1867. "schema": {
  1868. "$ref": "#/definitions/response.Response"
  1869. }
  1870. }
  1871. }
  1872. }
  1873. },
  1874. "/system/tools/gen/columnList": {
  1875. "post": {
  1876. "security": [
  1877. {
  1878. "": []
  1879. }
  1880. ],
  1881. "description": "根据表格ID获取表格字段列表数据",
  1882. "tags": [
  1883. "系统工具"
  1884. ],
  1885. "summary": "根据表格ID获取表格字段列表数据",
  1886. "parameters": [
  1887. {
  1888. "description": "tableId",
  1889. "name": "tableId",
  1890. "in": "body",
  1891. "required": true,
  1892. "schema": {
  1893. "type": "integer"
  1894. }
  1895. }
  1896. ],
  1897. "responses": {
  1898. "0": {
  1899. "description": "{\"code\": 200, \"data\": [...]}",
  1900. "schema": {
  1901. "$ref": "#/definitions/response.Response"
  1902. }
  1903. }
  1904. }
  1905. }
  1906. },
  1907. "/system/tools/gen/dataList": {
  1908. "get": {
  1909. "security": [
  1910. {
  1911. "": []
  1912. }
  1913. ],
  1914. "description": "查询数据库列表",
  1915. "tags": [
  1916. "系统工具"
  1917. ],
  1918. "summary": "查询数据库列表",
  1919. "parameters": [
  1920. {
  1921. "description": "data",
  1922. "name": "data",
  1923. "in": "body",
  1924. "required": true,
  1925. "schema": {
  1926. "$ref": "#/definitions/gen_table.SelectPageReq"
  1927. }
  1928. }
  1929. ],
  1930. "responses": {
  1931. "0": {
  1932. "description": "{\"code\": 200, \"data\": [...]}",
  1933. "schema": {
  1934. "$ref": "#/definitions/response.Response"
  1935. }
  1936. }
  1937. }
  1938. }
  1939. },
  1940. "/system/tools/gen/delete": {
  1941. "delete": {
  1942. "security": [
  1943. {
  1944. "": []
  1945. }
  1946. ],
  1947. "description": "删除表格数据",
  1948. "tags": [
  1949. "系统工具"
  1950. ],
  1951. "summary": "删除表格数据",
  1952. "parameters": [
  1953. {
  1954. "description": "ids[1,2,3...]",
  1955. "name": "ids",
  1956. "in": "body",
  1957. "required": true,
  1958. "schema": {
  1959. "type": "integer"
  1960. }
  1961. }
  1962. ],
  1963. "responses": {
  1964. "0": {
  1965. "description": "{\"code\": 200, \"data\": [...]}",
  1966. "schema": {
  1967. "$ref": "#/definitions/response.Response"
  1968. }
  1969. }
  1970. }
  1971. }
  1972. },
  1973. "/system/tools/gen/editSave": {
  1974. "post": {
  1975. "security": [
  1976. {
  1977. "": []
  1978. }
  1979. ],
  1980. "description": "编辑表格信息",
  1981. "tags": [
  1982. "系统工具"
  1983. ],
  1984. "summary": "编辑表格信息",
  1985. "parameters": [
  1986. {
  1987. "description": "data",
  1988. "name": "data",
  1989. "in": "body",
  1990. "required": true,
  1991. "schema": {
  1992. "$ref": "#/definitions/gen_table.EditReq"
  1993. }
  1994. }
  1995. ],
  1996. "responses": {
  1997. "0": {
  1998. "description": "{\"code\": 200, \"data\": [...]}",
  1999. "schema": {
  2000. "$ref": "#/definitions/response.Response"
  2001. }
  2002. }
  2003. }
  2004. }
  2005. },
  2006. "/system/tools/gen/importTableSave": {
  2007. "post": {
  2008. "security": [
  2009. {
  2010. "": []
  2011. }
  2012. ],
  2013. "description": "导入表结构操作",
  2014. "tags": [
  2015. "系统工具"
  2016. ],
  2017. "summary": "导入表结构操作",
  2018. "parameters": [
  2019. {
  2020. "description": "tables",
  2021. "name": "tables",
  2022. "in": "body",
  2023. "required": true,
  2024. "schema": {
  2025. "type": "string"
  2026. }
  2027. }
  2028. ],
  2029. "responses": {
  2030. "0": {
  2031. "description": "{\"code\": 200, \"data\": [...]}",
  2032. "schema": {
  2033. "$ref": "#/definitions/response.Response"
  2034. }
  2035. }
  2036. }
  2037. }
  2038. },
  2039. "/system/tools/gen/preview": {
  2040. "post": {
  2041. "security": [
  2042. {
  2043. "": []
  2044. }
  2045. ],
  2046. "description": "代码生成预览",
  2047. "tags": [
  2048. "系统工具"
  2049. ],
  2050. "summary": "代码生成预览",
  2051. "parameters": [
  2052. {
  2053. "description": "tableId",
  2054. "name": "tableId",
  2055. "in": "body",
  2056. "required": true,
  2057. "schema": {
  2058. "type": "integer"
  2059. }
  2060. }
  2061. ],
  2062. "responses": {
  2063. "0": {
  2064. "description": "{\"code\": 200, \"data\": [...]}",
  2065. "schema": {
  2066. "$ref": "#/definitions/response.Response"
  2067. }
  2068. }
  2069. }
  2070. }
  2071. },
  2072. "/system/tools/gen/tableList": {
  2073. "post": {
  2074. "security": [
  2075. {
  2076. "": []
  2077. }
  2078. ],
  2079. "description": "表列表",
  2080. "tags": [
  2081. "系统工具"
  2082. ],
  2083. "summary": "表列表",
  2084. "parameters": [
  2085. {
  2086. "description": "data",
  2087. "name": "data",
  2088. "in": "body",
  2089. "required": true,
  2090. "schema": {
  2091. "$ref": "#/definitions/gen_table.SelectPageReq"
  2092. }
  2093. }
  2094. ],
  2095. "responses": {
  2096. "0": {
  2097. "description": "{\"code\": 200, \"data\": [...]}",
  2098. "schema": {
  2099. "$ref": "#/definitions/response.Response"
  2100. }
  2101. }
  2102. }
  2103. }
  2104. },
  2105. "/system/upload/ckEditorUp": {
  2106. "post": {
  2107. "security": [
  2108. {
  2109. "": []
  2110. }
  2111. ],
  2112. "description": "CkEditor编辑器上传附件",
  2113. "tags": [
  2114. "公共"
  2115. ],
  2116. "summary": "CkEditor编辑器上传附件",
  2117. "parameters": [
  2118. {
  2119. "description": "upFile",
  2120. "name": "upFile",
  2121. "in": "body",
  2122. "required": true,
  2123. "schema": {
  2124. "type": "string"
  2125. }
  2126. }
  2127. ],
  2128. "responses": {
  2129. "0": {
  2130. "description": "{\"code\": 200, \"data\": [...]}",
  2131. "schema": {
  2132. "$ref": "#/definitions/response.Response"
  2133. }
  2134. }
  2135. }
  2136. }
  2137. },
  2138. "/system/upload/upFile": {
  2139. "post": {
  2140. "security": [
  2141. {
  2142. "": []
  2143. }
  2144. ],
  2145. "description": "单文件上传",
  2146. "tags": [
  2147. "公共"
  2148. ],
  2149. "summary": "单文件上传",
  2150. "parameters": [
  2151. {
  2152. "description": "file",
  2153. "name": "file",
  2154. "in": "body",
  2155. "required": true,
  2156. "schema": {
  2157. "type": "string"
  2158. }
  2159. }
  2160. ],
  2161. "responses": {
  2162. "0": {
  2163. "description": "{\"code\": 200, \"data\": [...]}",
  2164. "schema": {
  2165. "$ref": "#/definitions/response.Response"
  2166. }
  2167. }
  2168. }
  2169. }
  2170. },
  2171. "/system/upload/upFiles": {
  2172. "post": {
  2173. "security": [
  2174. {
  2175. "": []
  2176. }
  2177. ],
  2178. "description": "批量上传文件",
  2179. "tags": [
  2180. "公共"
  2181. ],
  2182. "summary": "批量上传文件",
  2183. "parameters": [
  2184. {
  2185. "description": "file",
  2186. "name": "file",
  2187. "in": "body",
  2188. "required": true,
  2189. "schema": {
  2190. "type": "string"
  2191. }
  2192. }
  2193. ],
  2194. "responses": {
  2195. "0": {
  2196. "description": "{\"code\": 200, \"data\": [...]}",
  2197. "schema": {
  2198. "$ref": "#/definitions/response.Response"
  2199. }
  2200. }
  2201. }
  2202. }
  2203. },
  2204. "/system/upload/upImg": {
  2205. "post": {
  2206. "security": [
  2207. {
  2208. "": []
  2209. }
  2210. ],
  2211. "description": "单图片上传",
  2212. "tags": [
  2213. "公共"
  2214. ],
  2215. "summary": "单图片上传",
  2216. "parameters": [
  2217. {
  2218. "description": "file",
  2219. "name": "file",
  2220. "in": "body",
  2221. "required": true,
  2222. "schema": {
  2223. "type": "string"
  2224. }
  2225. }
  2226. ],
  2227. "responses": {
  2228. "0": {
  2229. "description": "{\"code\": 200, \"data\": [...]}",
  2230. "schema": {
  2231. "$ref": "#/definitions/response.Response"
  2232. }
  2233. }
  2234. }
  2235. }
  2236. },
  2237. "/system/upload/upImgs": {
  2238. "post": {
  2239. "security": [
  2240. {
  2241. "": []
  2242. }
  2243. ],
  2244. "description": "批量上传图片",
  2245. "tags": [
  2246. "公共"
  2247. ],
  2248. "summary": "批量上传图片",
  2249. "parameters": [
  2250. {
  2251. "description": "file",
  2252. "name": "file",
  2253. "in": "body",
  2254. "required": true,
  2255. "schema": {
  2256. "type": "string"
  2257. }
  2258. }
  2259. ],
  2260. "responses": {
  2261. "0": {
  2262. "description": "{\"code\": 200, \"data\": [...]}",
  2263. "schema": {
  2264. "$ref": "#/definitions/response.Response"
  2265. }
  2266. }
  2267. }
  2268. }
  2269. },
  2270. "/system/user/avatar": {
  2271. "post": {
  2272. "security": [
  2273. {
  2274. "": []
  2275. }
  2276. ],
  2277. "description": "头像上传上传",
  2278. "tags": [
  2279. "个人中心"
  2280. ],
  2281. "summary": "头像上传上传",
  2282. "parameters": [
  2283. {
  2284. "description": "avatarfile",
  2285. "name": "avatarfile",
  2286. "in": "body",
  2287. "required": true,
  2288. "schema": {
  2289. "type": "string"
  2290. }
  2291. }
  2292. ],
  2293. "responses": {
  2294. "0": {
  2295. "description": "{\"code\": 200, \"data\": [...]}",
  2296. "schema": {
  2297. "$ref": "#/definitions/response.Response"
  2298. }
  2299. }
  2300. }
  2301. }
  2302. },
  2303. "/system/user/edit": {
  2304. "post": {
  2305. "security": [
  2306. {
  2307. "": []
  2308. }
  2309. ],
  2310. "description": "修改用户信息",
  2311. "tags": [
  2312. "个人中心"
  2313. ],
  2314. "summary": "修改用户信息",
  2315. "responses": {
  2316. "0": {
  2317. "description": "{\"code\": 200, \"data\": [...]}",
  2318. "schema": {
  2319. "$ref": "#/definitions/response.Response"
  2320. }
  2321. }
  2322. }
  2323. }
  2324. },
  2325. "/system/user/profile": {
  2326. "post": {
  2327. "security": [
  2328. {
  2329. "": []
  2330. }
  2331. ],
  2332. "description": "获取当前登录用户详情",
  2333. "tags": [
  2334. "个人中心"
  2335. ],
  2336. "summary": "获取当前登录用户详情",
  2337. "responses": {
  2338. "0": {
  2339. "description": "{\"code\": 200, \"data\": [...]}",
  2340. "schema": {
  2341. "$ref": "#/definitions/response.Response"
  2342. }
  2343. }
  2344. }
  2345. }
  2346. },
  2347. "/system/user/updatePwd": {
  2348. "post": {
  2349. "security": [
  2350. {
  2351. "": []
  2352. }
  2353. ],
  2354. "description": "修改密码",
  2355. "tags": [
  2356. "个人中心"
  2357. ],
  2358. "summary": "修改密码",
  2359. "responses": {
  2360. "0": {
  2361. "description": "{\"code\": 200, \"data\": [...]}",
  2362. "schema": {
  2363. "$ref": "#/definitions/response.Response"
  2364. }
  2365. }
  2366. }
  2367. }
  2368. }
  2369. },
  2370. "definitions": {
  2371. "auth_rule.MenuReq": {
  2372. "type": "object",
  2373. "properties": {
  2374. "alwaysShow": {
  2375. "type": "integer"
  2376. },
  2377. "condition": {
  2378. "type": "string"
  2379. },
  2380. "icon": {
  2381. "type": "string"
  2382. },
  2383. "isFrame": {
  2384. "type": "integer"
  2385. },
  2386. "menuType": {
  2387. "type": "integer"
  2388. },
  2389. "name": {
  2390. "type": "string"
  2391. },
  2392. "path": {
  2393. "type": "string"
  2394. },
  2395. "pid": {
  2396. "type": "integer"
  2397. },
  2398. "remark": {
  2399. "type": "string"
  2400. },
  2401. "status": {
  2402. "type": "integer"
  2403. },
  2404. "title": {
  2405. "type": "string"
  2406. },
  2407. "weigh": {
  2408. "type": "integer"
  2409. }
  2410. }
  2411. },
  2412. "auth_rule.ReqSearch": {
  2413. "type": "object",
  2414. "properties": {
  2415. "status": {
  2416. "type": "string"
  2417. },
  2418. "title": {
  2419. "type": "string"
  2420. }
  2421. }
  2422. },
  2423. "gen_table.EditReq": {
  2424. "type": "object",
  2425. "properties": {
  2426. "businessName": {
  2427. "type": "string"
  2428. },
  2429. "className": {
  2430. "type": "string"
  2431. },
  2432. "columns": {
  2433. "type": "string"
  2434. },
  2435. "functionAuthor": {
  2436. "type": "string"
  2437. },
  2438. "functionName": {
  2439. "type": "string"
  2440. },
  2441. "moduleName": {
  2442. "type": "string"
  2443. },
  2444. "packageName": {
  2445. "type": "string"
  2446. },
  2447. "params": {
  2448. "type": "string"
  2449. },
  2450. "remark": {
  2451. "type": "string"
  2452. },
  2453. "tableComment": {
  2454. "type": "string"
  2455. },
  2456. "tableId": {
  2457. "type": "integer"
  2458. },
  2459. "tableName": {
  2460. "type": "string"
  2461. },
  2462. "tplCategory": {
  2463. "type": "string"
  2464. },
  2465. "treeCode": {
  2466. "type": "string"
  2467. },
  2468. "treeName": {
  2469. "type": "string"
  2470. },
  2471. "treeParentCode": {
  2472. "type": "string"
  2473. },
  2474. "userName": {
  2475. "type": "string"
  2476. }
  2477. }
  2478. },
  2479. "gen_table.SelectPageReq": {
  2480. "type": "object",
  2481. "properties": {
  2482. "beginTime": {
  2483. "description": "开始时间",
  2484. "type": "string"
  2485. },
  2486. "endTime": {
  2487. "description": "结束时间",
  2488. "type": "string"
  2489. },
  2490. "pageNum": {
  2491. "description": "当前页码",
  2492. "type": "integer"
  2493. },
  2494. "pageSize": {
  2495. "description": "每页数",
  2496. "type": "integer"
  2497. },
  2498. "tableComment": {
  2499. "description": "表描述",
  2500. "type": "string"
  2501. },
  2502. "tableName": {
  2503. "description": "表名称",
  2504. "type": "string"
  2505. }
  2506. }
  2507. },
  2508. "response.Response": {
  2509. "type": "object",
  2510. "properties": {
  2511. "code": {
  2512. "description": "代码",
  2513. "type": "integer",
  2514. "example": 200
  2515. },
  2516. "data": {
  2517. "description": "数据集",
  2518. "type": "object"
  2519. },
  2520. "msg": {
  2521. "description": "消息",
  2522. "type": "string"
  2523. }
  2524. }
  2525. },
  2526. "role.DataScopeReq": {
  2527. "type": "object",
  2528. "properties": {
  2529. "dataScope": {
  2530. "type": "integer"
  2531. },
  2532. "deptIds": {
  2533. "type": "array",
  2534. "items": {
  2535. "type": "integer"
  2536. }
  2537. },
  2538. "roleId": {
  2539. "type": "integer"
  2540. }
  2541. }
  2542. },
  2543. "role.SelectPageReq": {
  2544. "type": "object",
  2545. "properties": {
  2546. "beginTime": {
  2547. "description": "开始时间",
  2548. "type": "string"
  2549. },
  2550. "endTime": {
  2551. "description": "结束时间",
  2552. "type": "string"
  2553. },
  2554. "pageNum": {
  2555. "description": "当前页码",
  2556. "type": "integer"
  2557. },
  2558. "pageSize": {
  2559. "description": "每页数",
  2560. "type": "integer"
  2561. },
  2562. "roleName": {
  2563. "description": "参数名称",
  2564. "type": "string"
  2565. },
  2566. "status": {
  2567. "description": "状态",
  2568. "type": "string"
  2569. }
  2570. }
  2571. },
  2572. "role.StatusSetReq": {
  2573. "type": "object",
  2574. "properties": {
  2575. "roleId": {
  2576. "type": "integer"
  2577. },
  2578. "status": {
  2579. "type": "integer"
  2580. }
  2581. }
  2582. },
  2583. "sys_config.AddReq": {
  2584. "type": "object",
  2585. "properties": {
  2586. "configKey": {
  2587. "type": "string"
  2588. },
  2589. "configName": {
  2590. "type": "string"
  2591. },
  2592. "configType": {
  2593. "type": "integer"
  2594. },
  2595. "configValue": {
  2596. "type": "string"
  2597. },
  2598. "remark": {
  2599. "type": "string"
  2600. }
  2601. }
  2602. },
  2603. "sys_config.EditReq": {
  2604. "type": "object",
  2605. "properties": {
  2606. "configId": {
  2607. "type": "integer"
  2608. },
  2609. "configKey": {
  2610. "type": "string"
  2611. },
  2612. "configName": {
  2613. "type": "string"
  2614. },
  2615. "configType": {
  2616. "type": "integer"
  2617. },
  2618. "configValue": {
  2619. "type": "string"
  2620. },
  2621. "remark": {
  2622. "type": "string"
  2623. }
  2624. }
  2625. },
  2626. "sys_config.SelectPageReq": {
  2627. "type": "object",
  2628. "properties": {
  2629. "beginTime": {
  2630. "description": "开始时间",
  2631. "type": "string"
  2632. },
  2633. "configKey": {
  2634. "description": "参数键名",
  2635. "type": "string"
  2636. },
  2637. "configName": {
  2638. "description": "参数名称",
  2639. "type": "string"
  2640. },
  2641. "configType": {
  2642. "description": "状态",
  2643. "type": "string"
  2644. },
  2645. "endTime": {
  2646. "description": "结束时间",
  2647. "type": "string"
  2648. },
  2649. "pageNum": {
  2650. "description": "当前页码",
  2651. "type": "integer"
  2652. },
  2653. "pageSize": {
  2654. "description": "每页数",
  2655. "type": "integer"
  2656. }
  2657. }
  2658. },
  2659. "sys_dept.AddParams": {
  2660. "type": "object",
  2661. "properties": {
  2662. "ancestors": {
  2663. "type": "string"
  2664. },
  2665. "createBy": {
  2666. "type": "string"
  2667. },
  2668. "createTime": {
  2669. "type": "string"
  2670. },
  2671. "delFlag": {
  2672. "type": "string"
  2673. },
  2674. "deptName": {
  2675. "type": "string"
  2676. },
  2677. "email": {
  2678. "type": "string"
  2679. },
  2680. "leader": {
  2681. "type": "string"
  2682. },
  2683. "orderNum": {
  2684. "type": "integer"
  2685. },
  2686. "parentId": {
  2687. "type": "integer"
  2688. },
  2689. "phone": {
  2690. "type": "string"
  2691. },
  2692. "status": {
  2693. "type": "string"
  2694. },
  2695. "updateBy": {
  2696. "type": "string"
  2697. },
  2698. "updateTime": {
  2699. "type": "string"
  2700. }
  2701. }
  2702. },
  2703. "sys_dept.EditParams": {
  2704. "type": "object",
  2705. "properties": {
  2706. "ancestors": {
  2707. "type": "string"
  2708. },
  2709. "createBy": {
  2710. "type": "string"
  2711. },
  2712. "createTime": {
  2713. "type": "string"
  2714. },
  2715. "delFlag": {
  2716. "type": "string"
  2717. },
  2718. "deptId": {
  2719. "type": "integer"
  2720. },
  2721. "deptName": {
  2722. "type": "string"
  2723. },
  2724. "email": {
  2725. "type": "string"
  2726. },
  2727. "leader": {
  2728. "type": "string"
  2729. },
  2730. "orderNum": {
  2731. "type": "integer"
  2732. },
  2733. "parentId": {
  2734. "type": "integer"
  2735. },
  2736. "phone": {
  2737. "type": "string"
  2738. },
  2739. "status": {
  2740. "type": "string"
  2741. },
  2742. "updateBy": {
  2743. "type": "string"
  2744. },
  2745. "updateTime": {
  2746. "type": "string"
  2747. }
  2748. }
  2749. },
  2750. "sys_dept.SearchParams": {
  2751. "type": "object",
  2752. "properties": {
  2753. "deptName": {
  2754. "type": "string"
  2755. },
  2756. "status": {
  2757. "type": "string"
  2758. }
  2759. }
  2760. },
  2761. "sys_dict_data.AddDataReq": {
  2762. "type": "object",
  2763. "properties": {
  2764. "cssClass": {
  2765. "type": "string"
  2766. },
  2767. "dictLabel": {
  2768. "type": "string"
  2769. },
  2770. "dictSort": {
  2771. "type": "integer"
  2772. },
  2773. "dictType": {
  2774. "type": "string"
  2775. },
  2776. "dictValue": {
  2777. "type": "string"
  2778. },
  2779. "isDefault": {
  2780. "type": "integer"
  2781. },
  2782. "listClass": {
  2783. "type": "string"
  2784. },
  2785. "remark": {
  2786. "type": "string"
  2787. },
  2788. "status": {
  2789. "type": "integer"
  2790. }
  2791. }
  2792. },
  2793. "sys_dict_data.EditDataReq": {
  2794. "type": "object",
  2795. "properties": {
  2796. "cssClass": {
  2797. "type": "string"
  2798. },
  2799. "dictCode": {
  2800. "type": "integer"
  2801. },
  2802. "dictLabel": {
  2803. "type": "string"
  2804. },
  2805. "dictSort": {
  2806. "type": "integer"
  2807. },
  2808. "dictType": {
  2809. "type": "string"
  2810. },
  2811. "dictValue": {
  2812. "type": "string"
  2813. },
  2814. "isDefault": {
  2815. "type": "integer"
  2816. },
  2817. "listClass": {
  2818. "type": "string"
  2819. },
  2820. "remark": {
  2821. "type": "string"
  2822. },
  2823. "status": {
  2824. "type": "integer"
  2825. }
  2826. }
  2827. },
  2828. "sys_dict_data.SelectDataPageReq": {
  2829. "type": "object",
  2830. "properties": {
  2831. "dictLabel": {
  2832. "description": "字典标签",
  2833. "type": "string"
  2834. },
  2835. "dictType": {
  2836. "description": "字典类型",
  2837. "type": "string"
  2838. },
  2839. "pageNum": {
  2840. "description": "当前页码",
  2841. "type": "integer"
  2842. },
  2843. "pageSize": {
  2844. "description": "每页数",
  2845. "type": "integer"
  2846. },
  2847. "status": {
  2848. "description": "状态",
  2849. "type": "string"
  2850. }
  2851. }
  2852. },
  2853. "sys_dict_type.AddReq": {
  2854. "type": "object",
  2855. "properties": {
  2856. "dictName": {
  2857. "type": "string"
  2858. },
  2859. "dictType": {
  2860. "type": "string"
  2861. },
  2862. "remark": {
  2863. "type": "string"
  2864. },
  2865. "status": {
  2866. "type": "integer"
  2867. }
  2868. }
  2869. },
  2870. "sys_dict_type.EditReq": {
  2871. "type": "object",
  2872. "properties": {
  2873. "dictId": {
  2874. "type": "integer"
  2875. },
  2876. "dictName": {
  2877. "type": "string"
  2878. },
  2879. "dictType": {
  2880. "type": "string"
  2881. },
  2882. "remark": {
  2883. "type": "string"
  2884. },
  2885. "status": {
  2886. "type": "integer"
  2887. }
  2888. }
  2889. },
  2890. "sys_dict_type.SelectPageReq": {
  2891. "type": "object",
  2892. "properties": {
  2893. "beginTime": {
  2894. "description": "开始时间",
  2895. "type": "string"
  2896. },
  2897. "dictName": {
  2898. "description": "字典名称",
  2899. "type": "string"
  2900. },
  2901. "dictType": {
  2902. "description": "字典类型",
  2903. "type": "string"
  2904. },
  2905. "endTime": {
  2906. "description": "结束时间",
  2907. "type": "string"
  2908. },
  2909. "pageNum": {
  2910. "description": "当前页码",
  2911. "type": "integer"
  2912. },
  2913. "pageSize": {
  2914. "description": "每页数",
  2915. "type": "integer"
  2916. },
  2917. "status": {
  2918. "description": "字典状态",
  2919. "type": "string"
  2920. }
  2921. }
  2922. },
  2923. "sys_job.ReqAdd": {
  2924. "type": "object",
  2925. "properties": {
  2926. "concurrent": {
  2927. "type": "integer"
  2928. },
  2929. "cronExpression": {
  2930. "type": "string"
  2931. },
  2932. "invokeTarget": {
  2933. "type": "string"
  2934. },
  2935. "jobGroup": {
  2936. "type": "string"
  2937. },
  2938. "jobName": {
  2939. "type": "string"
  2940. },
  2941. "jobParams": {
  2942. "description": "任务参数",
  2943. "type": "string"
  2944. },
  2945. "misfirePolicy": {
  2946. "type": "integer"
  2947. },
  2948. "remark": {
  2949. "type": "string"
  2950. },
  2951. "status": {
  2952. "type": "integer"
  2953. }
  2954. }
  2955. },
  2956. "sys_job.ReqEdit": {
  2957. "type": "object",
  2958. "properties": {
  2959. "concurrent": {
  2960. "type": "integer"
  2961. },
  2962. "cronExpression": {
  2963. "type": "string"
  2964. },
  2965. "invokeTarget": {
  2966. "type": "string"
  2967. },
  2968. "jobGroup": {
  2969. "type": "string"
  2970. },
  2971. "jobId": {
  2972. "type": "integer"
  2973. },
  2974. "jobName": {
  2975. "type": "string"
  2976. },
  2977. "jobParams": {
  2978. "description": "任务参数",
  2979. "type": "string"
  2980. },
  2981. "misfirePolicy": {
  2982. "type": "integer"
  2983. },
  2984. "remark": {
  2985. "type": "string"
  2986. },
  2987. "status": {
  2988. "type": "integer"
  2989. }
  2990. }
  2991. },
  2992. "sys_job.SelectPageReq": {
  2993. "type": "object",
  2994. "properties": {
  2995. "jobGroup": {
  2996. "description": "任务组名",
  2997. "type": "string"
  2998. },
  2999. "jobName": {
  3000. "description": "任务名称",
  3001. "type": "string"
  3002. },
  3003. "pageNum": {
  3004. "description": "当前页码",
  3005. "type": "integer"
  3006. },
  3007. "pageSize": {
  3008. "description": "每页数",
  3009. "type": "integer"
  3010. },
  3011. "status": {
  3012. "description": "状态(0正常 1暂停)",
  3013. "type": "string"
  3014. }
  3015. }
  3016. },
  3017. "sys_login_log.SelectPageReq": {
  3018. "type": "object",
  3019. "properties": {
  3020. "beginTime": {
  3021. "description": "数据范围",
  3022. "type": "string"
  3023. },
  3024. "endTime": {
  3025. "description": "开始时间",
  3026. "type": "string"
  3027. },
  3028. "ipaddr": {
  3029. "description": "登录地址",
  3030. "type": "string"
  3031. },
  3032. "loginName": {
  3033. "description": "登陆名",
  3034. "type": "string"
  3035. },
  3036. "pageNum": {
  3037. "description": "当前页码",
  3038. "type": "integer"
  3039. },
  3040. "pageSize": {
  3041. "description": "每页数",
  3042. "type": "integer"
  3043. },
  3044. "sortName": {
  3045. "description": "排序字段",
  3046. "type": "string"
  3047. },
  3048. "sortOrder": {
  3049. "description": "排序方式",
  3050. "type": "string"
  3051. },
  3052. "status": {
  3053. "description": "状态",
  3054. "type": "string"
  3055. }
  3056. }
  3057. },
  3058. "sys_oper_log.SelectPageReq": {
  3059. "type": "object",
  3060. "properties": {
  3061. "beginTime": {
  3062. "description": "数据范围",
  3063. "type": "string"
  3064. },
  3065. "endTime": {
  3066. "description": "开始时间",
  3067. "type": "string"
  3068. },
  3069. "operName": {
  3070. "description": "操作人员",
  3071. "type": "string"
  3072. },
  3073. "pageNum": {
  3074. "description": "当前页码",
  3075. "type": "integer"
  3076. },
  3077. "pageSize": {
  3078. "description": "每页数",
  3079. "type": "integer"
  3080. },
  3081. "sortName": {
  3082. "description": "排序字段",
  3083. "type": "string"
  3084. },
  3085. "sortOrder": {
  3086. "description": "排序方式",
  3087. "type": "string"
  3088. },
  3089. "status": {
  3090. "description": "操作状态",
  3091. "type": "string"
  3092. },
  3093. "title": {
  3094. "description": "系统模块",
  3095. "type": "string"
  3096. }
  3097. }
  3098. },
  3099. "sys_post.AddParams": {
  3100. "type": "object",
  3101. "properties": {
  3102. "postCode": {
  3103. "type": "string"
  3104. },
  3105. "postName": {
  3106. "type": "string"
  3107. },
  3108. "postSort": {
  3109. "type": "integer"
  3110. },
  3111. "remark": {
  3112. "type": "string"
  3113. },
  3114. "status": {
  3115. "type": "string"
  3116. }
  3117. }
  3118. },
  3119. "sys_post.EditParams": {
  3120. "type": "object",
  3121. "properties": {
  3122. "postCode": {
  3123. "type": "string"
  3124. },
  3125. "postId": {
  3126. "type": "integer"
  3127. },
  3128. "postName": {
  3129. "type": "string"
  3130. },
  3131. "postSort": {
  3132. "type": "integer"
  3133. },
  3134. "remark": {
  3135. "type": "string"
  3136. },
  3137. "status": {
  3138. "type": "string"
  3139. }
  3140. }
  3141. },
  3142. "sys_post.SearchParams": {
  3143. "type": "object",
  3144. "properties": {
  3145. "pageNum": {
  3146. "description": "当前页码",
  3147. "type": "integer"
  3148. },
  3149. "pageSize": {
  3150. "description": "每页数",
  3151. "type": "integer"
  3152. },
  3153. "postCode": {
  3154. "description": "岗位编码",
  3155. "type": "string"
  3156. },
  3157. "postName": {
  3158. "description": "岗位名称",
  3159. "type": "string"
  3160. },
  3161. "status": {
  3162. "description": "状态",
  3163. "type": "string"
  3164. }
  3165. }
  3166. },
  3167. "user.AddUserReq": {
  3168. "type": "object",
  3169. "properties": {
  3170. "deptId": {
  3171. "description": "所属部门",
  3172. "type": "integer"
  3173. },
  3174. "email": {
  3175. "description": "邮箱",
  3176. "type": "string"
  3177. },
  3178. "isAdmin": {
  3179. "description": "是否后台管理员 1 是 0 否",
  3180. "type": "integer"
  3181. },
  3182. "nickName": {
  3183. "type": "string"
  3184. },
  3185. "password": {
  3186. "type": "string"
  3187. },
  3188. "phonenumber": {
  3189. "type": "string"
  3190. },
  3191. "postIds": {
  3192. "type": "array",
  3193. "items": {
  3194. "type": "integer"
  3195. }
  3196. },
  3197. "remark": {
  3198. "type": "string"
  3199. },
  3200. "roleIds": {
  3201. "type": "array",
  3202. "items": {
  3203. "type": "integer"
  3204. }
  3205. },
  3206. "sex": {
  3207. "type": "integer"
  3208. },
  3209. "status": {
  3210. "type": "integer"
  3211. },
  3212. "userName": {
  3213. "type": "string"
  3214. }
  3215. }
  3216. },
  3217. "user.EditUserReq": {
  3218. "type": "object",
  3219. "properties": {
  3220. "deptId": {
  3221. "description": "所属部门",
  3222. "type": "integer"
  3223. },
  3224. "email": {
  3225. "description": "邮箱",
  3226. "type": "string"
  3227. },
  3228. "isAdmin": {
  3229. "description": "是否后台管理员 1 是 0 否",
  3230. "type": "integer"
  3231. },
  3232. "nickName": {
  3233. "type": "string"
  3234. },
  3235. "phonenumber": {
  3236. "type": "string"
  3237. },
  3238. "postIds": {
  3239. "type": "array",
  3240. "items": {
  3241. "type": "integer"
  3242. }
  3243. },
  3244. "remark": {
  3245. "type": "string"
  3246. },
  3247. "roleIds": {
  3248. "type": "array",
  3249. "items": {
  3250. "type": "integer"
  3251. }
  3252. },
  3253. "sex": {
  3254. "type": "integer"
  3255. },
  3256. "status": {
  3257. "type": "integer"
  3258. },
  3259. "userId": {
  3260. "type": "integer"
  3261. }
  3262. }
  3263. },
  3264. "user.ResetPwdReq": {
  3265. "type": "object",
  3266. "properties": {
  3267. "id": {
  3268. "type": "integer"
  3269. },
  3270. "password": {
  3271. "type": "string"
  3272. }
  3273. }
  3274. },
  3275. "user.SearchReq": {
  3276. "type": "object",
  3277. "properties": {
  3278. "beginTime": {
  3279. "type": "string"
  3280. },
  3281. "deptId": {
  3282. "description": "部门id",
  3283. "type": "string"
  3284. },
  3285. "deptIds": {
  3286. "description": "所属部门id数据",
  3287. "type": "array",
  3288. "items": {
  3289. "type": "integer"
  3290. }
  3291. },
  3292. "endTime": {
  3293. "type": "string"
  3294. },
  3295. "keyWords": {
  3296. "type": "string"
  3297. },
  3298. "pageNum": {
  3299. "description": "当前页码",
  3300. "type": "integer"
  3301. },
  3302. "pageSize": {
  3303. "description": "每页数",
  3304. "type": "integer"
  3305. },
  3306. "phonenumber": {
  3307. "type": "string"
  3308. },
  3309. "status": {
  3310. "type": "string"
  3311. }
  3312. }
  3313. },
  3314. "user.StatusReq": {
  3315. "type": "object",
  3316. "properties": {
  3317. "id": {
  3318. "type": "integer"
  3319. },
  3320. "userStatus": {
  3321. "type": "integer"
  3322. }
  3323. }
  3324. },
  3325. "user_online.ReqListSearch": {
  3326. "type": "object",
  3327. "properties": {
  3328. "ip": {
  3329. "type": "string"
  3330. },
  3331. "pageNum": {
  3332. "description": "当前页码",
  3333. "type": "integer"
  3334. },
  3335. "pageSize": {
  3336. "description": "每页数",
  3337. "type": "integer"
  3338. },
  3339. "username": {
  3340. "type": "string"
  3341. }
  3342. }
  3343. }
  3344. }
  3345. }`
  3346. type swaggerInfo struct {
  3347. Version string
  3348. Host string
  3349. BasePath string
  3350. Schemes []string
  3351. Title string
  3352. Description string
  3353. }
  3354. // SwaggerInfo holds exported Swagger Info so clients can modify it
  3355. var SwaggerInfo = swaggerInfo{
  3356. Version: "1.0",
  3357. Host: "localhost",
  3358. BasePath: "/system",
  3359. Schemes: []string{},
  3360. Title: "gfast API文档",
  3361. Description: "gfast 在线API文档",
  3362. }
  3363. type s struct{}
  3364. func (s *s) ReadDoc() string {
  3365. sInfo := SwaggerInfo
  3366. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  3367. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  3368. "marshal": func(v interface{}) string {
  3369. a, _ := json.Marshal(v)
  3370. return string(a)
  3371. },
  3372. }).Parse(doc)
  3373. if err != nil {
  3374. return doc
  3375. }
  3376. var tpl bytes.Buffer
  3377. if err := t.Execute(&tpl, sInfo); err != nil {
  3378. return doc
  3379. }
  3380. return tpl.String()
  3381. }
  3382. func init() {
  3383. swag.Register(swag.Name, &s{})
  3384. }