admin_swagger.json 120 KB

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