swagger.json 103 KB

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