admin_docs.go 121 KB

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