swagger.yaml 72 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100
  1. basePath: /
  2. definitions:
  3. autocode.AutoCodeExample:
  4. properties:
  5. autoCodeExampleField:
  6. description: 展示值
  7. type: string
  8. createdAt:
  9. description: 创建时间
  10. type: string
  11. id:
  12. description: 主键ID
  13. type: integer
  14. updatedAt:
  15. description: 更新时间
  16. type: string
  17. type: object
  18. config.AliyunOSS:
  19. properties:
  20. accessKeyId:
  21. type: string
  22. accessKeySecret:
  23. type: string
  24. basePath:
  25. type: string
  26. bucketName:
  27. type: string
  28. bucketUrl:
  29. type: string
  30. endpoint:
  31. type: string
  32. type: object
  33. config.Autocode:
  34. properties:
  35. root:
  36. type: string
  37. server:
  38. type: string
  39. serverApi:
  40. type: string
  41. serverInitialize:
  42. type: string
  43. serverModel:
  44. type: string
  45. serverRequest:
  46. type: string
  47. serverRouter:
  48. type: string
  49. serverService:
  50. type: string
  51. transferRestart:
  52. type: boolean
  53. web:
  54. type: string
  55. webApi:
  56. type: string
  57. webFlow:
  58. type: string
  59. webForm:
  60. type: string
  61. webTable:
  62. type: string
  63. type: object
  64. config.Captcha:
  65. properties:
  66. imgHeight:
  67. description: 验证码高度
  68. type: integer
  69. imgWidth:
  70. description: 验证码宽度
  71. type: integer
  72. keyLong:
  73. description: 验证码长度
  74. type: integer
  75. type: object
  76. config.Casbin:
  77. properties:
  78. modelPath:
  79. description: 存放casbin模型的相对路径
  80. type: string
  81. type: object
  82. config.Detail:
  83. properties:
  84. compareField:
  85. description: 需要比较时间的字段
  86. type: string
  87. interval:
  88. description: 时间间隔
  89. type: string
  90. tableName:
  91. description: 需要清理的表名
  92. type: string
  93. type: object
  94. config.Email:
  95. properties:
  96. from:
  97. description: 收件人
  98. type: string
  99. host:
  100. description: 服务器地址
  101. type: string
  102. isSSL:
  103. description: 是否SSL
  104. type: boolean
  105. nickname:
  106. description: 昵称
  107. type: string
  108. port:
  109. description: 端口
  110. type: integer
  111. secret:
  112. description: 密钥
  113. type: string
  114. to:
  115. description: 收件人:多个以英文逗号分隔
  116. type: string
  117. type: object
  118. config.Excel:
  119. properties:
  120. dir:
  121. type: string
  122. type: object
  123. config.JWT:
  124. properties:
  125. bufferTime:
  126. description: 缓冲时间
  127. type: integer
  128. expiresTime:
  129. description: 过期时间
  130. type: integer
  131. signingKey:
  132. description: jwt签名
  133. type: string
  134. type: object
  135. config.Local:
  136. properties:
  137. path:
  138. description: 本地文件路径
  139. type: string
  140. type: object
  141. config.Mysql:
  142. properties:
  143. config:
  144. description: 高级配置
  145. type: string
  146. dbname:
  147. description: 数据库名
  148. type: string
  149. logMode:
  150. description: 是否开启Gorm全局日志
  151. type: string
  152. logZap:
  153. description: 是否通过zap写入日志文件
  154. type: boolean
  155. maxIdleConns:
  156. description: 空闲中的最大连接数
  157. type: integer
  158. maxOpenConns:
  159. description: 打开到数据库的最大连接数
  160. type: integer
  161. password:
  162. description: 数据库密码
  163. type: string
  164. path:
  165. description: 服务器地址:端口
  166. type: string
  167. username:
  168. description: 数据库用户名
  169. type: string
  170. type: object
  171. config.Qiniu:
  172. properties:
  173. accessKey:
  174. description: 秘钥AK
  175. type: string
  176. bucket:
  177. description: 空间名称
  178. type: string
  179. imgPath:
  180. description: CDN加速域名
  181. type: string
  182. secretKey:
  183. description: 秘钥SK
  184. type: string
  185. useCdnDomains:
  186. description: 上传是否使用CDN上传加速
  187. type: boolean
  188. useHttps:
  189. description: 是否使用https
  190. type: boolean
  191. zone:
  192. description: 存储区域
  193. type: string
  194. type: object
  195. config.Redis:
  196. properties:
  197. addr:
  198. description: 服务器地址:端口
  199. type: string
  200. db:
  201. description: redis的哪个数据库
  202. type: integer
  203. password:
  204. description: 密码
  205. type: string
  206. type: object
  207. config.Server:
  208. properties:
  209. aliyunOSS:
  210. $ref: '#/definitions/config.AliyunOSS'
  211. autoCode:
  212. $ref: '#/definitions/config.Autocode'
  213. description: auto
  214. captcha:
  215. $ref: '#/definitions/config.Captcha'
  216. casbin:
  217. $ref: '#/definitions/config.Casbin'
  218. email:
  219. $ref: '#/definitions/config.Email'
  220. excel:
  221. $ref: '#/definitions/config.Excel'
  222. jwt:
  223. $ref: '#/definitions/config.JWT'
  224. local:
  225. $ref: '#/definitions/config.Local'
  226. description: oss
  227. mysql:
  228. $ref: '#/definitions/config.Mysql'
  229. description: gorm
  230. qiniu:
  231. $ref: '#/definitions/config.Qiniu'
  232. redis:
  233. $ref: '#/definitions/config.Redis'
  234. system:
  235. $ref: '#/definitions/config.System'
  236. tencentCOS:
  237. $ref: '#/definitions/config.TencentCOS'
  238. timer:
  239. $ref: '#/definitions/config.Timer'
  240. zap:
  241. $ref: '#/definitions/config.Zap'
  242. type: object
  243. config.System:
  244. properties:
  245. addr:
  246. description: 端口值
  247. type: integer
  248. dbType:
  249. description: 数据库类型:mysql(默认)|sqlite|sqlserver|postgresql
  250. type: string
  251. env:
  252. description: 环境值
  253. type: string
  254. ossType:
  255. description: Oss类型
  256. type: string
  257. useMultipoint:
  258. description: 多点登录拦截
  259. type: boolean
  260. type: object
  261. config.TencentCOS:
  262. properties:
  263. baseURL:
  264. type: string
  265. bucket:
  266. type: string
  267. pathPrefix:
  268. type: string
  269. region:
  270. type: string
  271. secretID:
  272. type: string
  273. secretKey:
  274. type: string
  275. type: object
  276. config.Timer:
  277. properties:
  278. detail:
  279. items:
  280. $ref: '#/definitions/config.Detail'
  281. type: array
  282. spec:
  283. description: CRON表达式
  284. type: string
  285. start:
  286. description: 是否启用
  287. type: boolean
  288. type: object
  289. config.Zap:
  290. properties:
  291. director:
  292. description: 日志文件夹
  293. type: string
  294. encodeLevel:
  295. description: 编码级
  296. type: string
  297. format:
  298. description: 输出
  299. type: string
  300. level:
  301. description: 级别
  302. type: string
  303. linkName:
  304. description: 软链接名称
  305. type: string
  306. logInConsole:
  307. description: 输出控制台
  308. type: boolean
  309. prefix:
  310. description: 日志前缀
  311. type: string
  312. showLine:
  313. description: 显示行
  314. type: boolean
  315. stacktraceKey:
  316. description: 栈名
  317. type: string
  318. type: object
  319. example.ExaCustomer:
  320. properties:
  321. createdAt:
  322. description: 创建时间
  323. type: string
  324. customerName:
  325. description: 客户名
  326. type: string
  327. customerPhoneData:
  328. description: 客户手机号
  329. type: string
  330. id:
  331. description: 主键ID
  332. type: integer
  333. sysUser:
  334. $ref: '#/definitions/system.SysUser'
  335. description: 管理详情
  336. sysUserAuthorityID:
  337. description: 管理角色ID
  338. type: string
  339. sysUserId:
  340. description: 管理ID
  341. type: integer
  342. updatedAt:
  343. description: 更新时间
  344. type: string
  345. type: object
  346. example.ExaFileUploadAndDownload:
  347. properties:
  348. createdAt:
  349. description: 创建时间
  350. type: string
  351. id:
  352. description: 主键ID
  353. type: integer
  354. key:
  355. description: 编号
  356. type: string
  357. name:
  358. description: 文件名
  359. type: string
  360. tag:
  361. description: 文件标签
  362. type: string
  363. updatedAt:
  364. description: 更新时间
  365. type: string
  366. url:
  367. description: 文件地址
  368. type: string
  369. type: object
  370. example.ExcelInfo:
  371. properties:
  372. fileName:
  373. description: 文件名
  374. type: string
  375. infoList:
  376. items:
  377. $ref: '#/definitions/system.SysBaseMenu'
  378. type: array
  379. type: object
  380. request.AddMenuAuthorityInfo:
  381. properties:
  382. authorityId:
  383. description: 角色ID
  384. type: string
  385. menus:
  386. items:
  387. $ref: '#/definitions/system.SysBaseMenu'
  388. type: array
  389. type: object
  390. request.AutoHistoryByID:
  391. properties:
  392. id:
  393. type: integer
  394. type: object
  395. request.CasbinInReceive:
  396. properties:
  397. authorityId:
  398. description: 权限id
  399. type: string
  400. casbinInfos:
  401. items:
  402. $ref: '#/definitions/request.CasbinInfo'
  403. type: array
  404. type: object
  405. request.CasbinInfo:
  406. properties:
  407. method:
  408. description: 方法
  409. type: string
  410. path:
  411. description: 路径
  412. type: string
  413. type: object
  414. request.ChangePasswordStruct:
  415. properties:
  416. newPassword:
  417. description: 新密码
  418. type: string
  419. password:
  420. description: 密码
  421. type: string
  422. username:
  423. description: 用户名
  424. type: string
  425. type: object
  426. request.Empty:
  427. type: object
  428. request.GetAuthorityId:
  429. properties:
  430. authorityId:
  431. description: 角色ID
  432. type: string
  433. type: object
  434. request.GetById:
  435. properties:
  436. id:
  437. description: 主键ID
  438. type: number
  439. type: object
  440. request.IdsReq:
  441. properties:
  442. ids:
  443. items:
  444. type: integer
  445. type: array
  446. type: object
  447. request.InitDB:
  448. properties:
  449. dbName:
  450. description: 数据库名
  451. type: string
  452. host:
  453. description: 服务器地址
  454. type: string
  455. password:
  456. description: 数据库密码
  457. type: string
  458. port:
  459. description: 数据库连接端口
  460. type: string
  461. userName:
  462. description: 数据库用户名
  463. type: string
  464. required:
  465. - dbName
  466. - userName
  467. type: object
  468. request.Login:
  469. properties:
  470. captcha:
  471. description: 验证码
  472. type: string
  473. captchaId:
  474. description: 验证码ID
  475. type: string
  476. password:
  477. description: 密码
  478. type: string
  479. username:
  480. description: 用户名
  481. type: string
  482. type: object
  483. request.PageInfo:
  484. properties:
  485. page:
  486. description: 页码
  487. type: integer
  488. pageSize:
  489. description: 每页大小
  490. type: integer
  491. type: object
  492. request.Register:
  493. properties:
  494. authorityId:
  495. type: string
  496. authorityIds:
  497. items:
  498. type: string
  499. type: array
  500. headerImg:
  501. type: string
  502. nickName:
  503. type: string
  504. passWord:
  505. type: string
  506. userName:
  507. type: string
  508. type: object
  509. request.SearchApiParams:
  510. properties:
  511. apiGroup:
  512. description: api组
  513. type: string
  514. createdAt:
  515. description: 创建时间
  516. type: string
  517. desc:
  518. description: 排序方式:升序false(默认)|降序true
  519. type: boolean
  520. description:
  521. description: api中文描述
  522. type: string
  523. id:
  524. description: 主键ID
  525. type: integer
  526. method:
  527. description: 方法:创建POST(默认)|查看GET|更新PUT|删除DELETE
  528. type: string
  529. orderKey:
  530. description: 排序
  531. type: string
  532. page:
  533. description: 页码
  534. type: integer
  535. pageSize:
  536. description: 每页大小
  537. type: integer
  538. path:
  539. description: api路径
  540. type: string
  541. updatedAt:
  542. description: 更新时间
  543. type: string
  544. type: object
  545. request.SetUserAuth:
  546. properties:
  547. authorityId:
  548. description: 角色ID
  549. type: string
  550. type: object
  551. request.SetUserAuthorities:
  552. properties:
  553. authorityIds:
  554. description: 角色ID
  555. items:
  556. type: string
  557. type: array
  558. id:
  559. type: integer
  560. type: object
  561. request.SysAutoHistory:
  562. properties:
  563. page:
  564. description: 页码
  565. type: integer
  566. pageSize:
  567. description: 每页大小
  568. type: integer
  569. type: object
  570. response.SysAuthorityCopyResponse:
  571. properties:
  572. authority:
  573. $ref: '#/definitions/system.SysAuthority'
  574. oldAuthorityId:
  575. description: 旧角色ID
  576. type: string
  577. type: object
  578. system.AutoCodeStruct:
  579. properties:
  580. abbreviation:
  581. description: Struct简称
  582. type: string
  583. autoCreateApiToSql:
  584. description: 是否自动创建api
  585. type: boolean
  586. autoMoveFile:
  587. description: 是否自动移动文件
  588. type: boolean
  589. description:
  590. description: Struct中文名称
  591. type: string
  592. fields:
  593. items:
  594. $ref: '#/definitions/system.Field'
  595. type: array
  596. humpPackageName:
  597. description: go文件名称
  598. type: string
  599. packageName:
  600. description: 文件名称
  601. type: string
  602. structName:
  603. description: Struct名称
  604. type: string
  605. tableName:
  606. description: 表名
  607. type: string
  608. type: object
  609. system.Field:
  610. properties:
  611. columnName:
  612. description: 数据库字段
  613. type: string
  614. comment:
  615. description: 数据库字段描述
  616. type: string
  617. dataType:
  618. description: 数据库字段类型
  619. type: string
  620. dataTypeLong:
  621. description: 数据库字段长度
  622. type: string
  623. dictType:
  624. description: 字典
  625. type: string
  626. fieldDesc:
  627. description: 中文名
  628. type: string
  629. fieldJson:
  630. description: FieldJson
  631. type: string
  632. fieldName:
  633. description: Field名
  634. type: string
  635. fieldSearchType:
  636. description: 搜索条件
  637. type: string
  638. fieldType:
  639. description: Field数据类型
  640. type: string
  641. type: object
  642. system.SysApi:
  643. properties:
  644. apiGroup:
  645. description: api组
  646. type: string
  647. createdAt:
  648. description: 创建时间
  649. type: string
  650. description:
  651. description: api中文描述
  652. type: string
  653. id:
  654. description: 主键ID
  655. type: integer
  656. method:
  657. description: 方法:创建POST(默认)|查看GET|更新PUT|删除DELETE
  658. type: string
  659. path:
  660. description: api路径
  661. type: string
  662. updatedAt:
  663. description: 更新时间
  664. type: string
  665. type: object
  666. system.SysAuthority:
  667. properties:
  668. authorityId:
  669. description: 角色ID
  670. type: string
  671. authorityName:
  672. description: 角色名
  673. type: string
  674. children:
  675. items:
  676. $ref: '#/definitions/system.SysAuthority'
  677. type: array
  678. createdAt:
  679. description: 创建时间
  680. type: string
  681. dataAuthorityId:
  682. items:
  683. $ref: '#/definitions/system.SysAuthority'
  684. type: array
  685. defaultRouter:
  686. description: 默认菜单(默认dashboard)
  687. type: string
  688. deletedAt:
  689. type: string
  690. menus:
  691. items:
  692. $ref: '#/definitions/system.SysBaseMenu'
  693. type: array
  694. parentId:
  695. description: 父角色ID
  696. type: string
  697. updatedAt:
  698. description: 更新时间
  699. type: string
  700. type: object
  701. system.SysBaseMenu:
  702. properties:
  703. authoritys:
  704. items:
  705. $ref: '#/definitions/system.SysAuthority'
  706. type: array
  707. children:
  708. items:
  709. $ref: '#/definitions/system.SysBaseMenu'
  710. type: array
  711. closeTab:
  712. description: 自动关闭tab
  713. type: boolean
  714. component:
  715. description: 对应前端文件路径
  716. type: string
  717. createdAt:
  718. description: 创建时间
  719. type: string
  720. defaultMenu:
  721. description: 是否是基础路由(开发中)
  722. type: boolean
  723. hidden:
  724. description: 是否在列表隐藏
  725. type: boolean
  726. icon:
  727. description: 菜单图标
  728. type: string
  729. id:
  730. description: 主键ID
  731. type: integer
  732. keepAlive:
  733. description: 是否缓存
  734. type: boolean
  735. name:
  736. description: 路由name
  737. type: string
  738. parameters:
  739. items:
  740. $ref: '#/definitions/system.SysBaseMenuParameter'
  741. type: array
  742. parentId:
  743. description: 父菜单ID
  744. type: string
  745. path:
  746. description: 路由path
  747. type: string
  748. sort:
  749. description: 排序标记
  750. type: integer
  751. title:
  752. description: 菜单名
  753. type: string
  754. updatedAt:
  755. description: 更新时间
  756. type: string
  757. type: object
  758. system.SysBaseMenuParameter:
  759. properties:
  760. createdAt:
  761. description: 创建时间
  762. type: string
  763. id:
  764. description: 主键ID
  765. type: integer
  766. key:
  767. description: 地址栏携带参数的key
  768. type: string
  769. sysBaseMenuID:
  770. type: integer
  771. type:
  772. description: 地址栏携带参数为params还是query
  773. type: string
  774. updatedAt:
  775. description: 更新时间
  776. type: string
  777. value:
  778. description: 地址栏携带参数的值
  779. type: string
  780. type: object
  781. system.SysDictionary:
  782. properties:
  783. createdAt:
  784. description: 创建时间
  785. type: string
  786. desc:
  787. description: 描述
  788. type: string
  789. id:
  790. description: 主键ID
  791. type: integer
  792. name:
  793. description: 字典名(中)
  794. type: string
  795. status:
  796. description: 状态
  797. type: boolean
  798. sysDictionaryDetails:
  799. items:
  800. $ref: '#/definitions/system.SysDictionaryDetail'
  801. type: array
  802. type:
  803. description: 字典名(英)
  804. type: string
  805. updatedAt:
  806. description: 更新时间
  807. type: string
  808. type: object
  809. system.SysDictionaryDetail:
  810. properties:
  811. createdAt:
  812. description: 创建时间
  813. type: string
  814. id:
  815. description: 主键ID
  816. type: integer
  817. label:
  818. description: 展示值
  819. type: string
  820. sort:
  821. description: 排序标记
  822. type: integer
  823. status:
  824. description: 启用状态
  825. type: boolean
  826. sysDictionaryID:
  827. description: 关联标记
  828. type: integer
  829. updatedAt:
  830. description: 更新时间
  831. type: string
  832. value:
  833. description: 字典值
  834. type: integer
  835. type: object
  836. system.SysOperationRecord:
  837. properties:
  838. agent:
  839. description: 代理
  840. type: string
  841. body:
  842. description: 请求Body
  843. type: string
  844. createdAt:
  845. description: 创建时间
  846. type: string
  847. error_message:
  848. description: 错误信息
  849. type: string
  850. id:
  851. description: 主键ID
  852. type: integer
  853. ip:
  854. description: 请求ip
  855. type: string
  856. latency:
  857. description: 延迟
  858. type: string
  859. method:
  860. description: 请求方法
  861. type: string
  862. path:
  863. description: 请求路径
  864. type: string
  865. resp:
  866. description: 响应Body
  867. type: string
  868. status:
  869. description: 请求状态
  870. type: integer
  871. updatedAt:
  872. description: 更新时间
  873. type: string
  874. user:
  875. $ref: '#/definitions/system.SysUser'
  876. user_id:
  877. description: 用户id
  878. type: integer
  879. type: object
  880. system.SysUser:
  881. properties:
  882. activeColor:
  883. description: 活跃颜色
  884. type: string
  885. authorities:
  886. items:
  887. $ref: '#/definitions/system.SysAuthority'
  888. type: array
  889. authority:
  890. $ref: '#/definitions/system.SysAuthority'
  891. authorityId:
  892. description: 用户角色ID
  893. type: string
  894. baseColor:
  895. description: 基础颜色
  896. type: string
  897. createdAt:
  898. description: 创建时间
  899. type: string
  900. headerImg:
  901. description: 用户头像
  902. type: string
  903. id:
  904. description: 主键ID
  905. type: integer
  906. nickName:
  907. description: 用户昵称
  908. type: string
  909. sideMode:
  910. description: 用户侧边主题
  911. type: string
  912. updatedAt:
  913. description: 更新时间
  914. type: string
  915. userName:
  916. description: 用户登录名
  917. type: string
  918. uuid:
  919. description: 用户UUID
  920. type: string
  921. type: object
  922. system.System:
  923. properties:
  924. config:
  925. $ref: '#/definitions/config.Server'
  926. type: object
  927. info:
  928. contact: {}
  929. description: This is a sample Server pets
  930. title: Swagger Example API
  931. version: 0.0.1
  932. paths:
  933. /SimpleUploaderApi/checkFileMd5:
  934. get:
  935. parameters:
  936. - description: md5
  937. in: query
  938. name: md5
  939. required: true
  940. type: string
  941. produces:
  942. - application/json
  943. responses:
  944. "200":
  945. description: '{"success":true,"data":{},"msg":"查询成功"}'
  946. schema:
  947. type: string
  948. security:
  949. - ApiKeyAuth: []
  950. summary: 断点续传插件版示例
  951. tags:
  952. - SimpleUploader
  953. /SimpleUploaderApi/mergeFileMd5:
  954. get:
  955. parameters:
  956. - description: md5
  957. in: query
  958. name: md5
  959. required: true
  960. type: string
  961. produces:
  962. - application/json
  963. responses:
  964. "200":
  965. description: '{"success":true,"data":{},"msg":"合并成功"}'
  966. schema:
  967. type: string
  968. security:
  969. - ApiKeyAuth: []
  970. summary: 合并文件
  971. tags:
  972. - SimpleUploader
  973. /SimpleUploaderApi/upload:
  974. post:
  975. consumes:
  976. - multipart/form-data
  977. parameters:
  978. - description: 断点续传插件版示例
  979. in: formData
  980. name: file
  981. required: true
  982. type: file
  983. produces:
  984. - application/json
  985. responses:
  986. "200":
  987. description: '{"success":true,"data":{},"msg":"切片创建成功"}'
  988. schema:
  989. type: string
  990. security:
  991. - ApiKeyAuth: []
  992. summary: 断点续传插件版示例
  993. tags:
  994. - SimpleUploader
  995. /api/createApi:
  996. post:
  997. consumes:
  998. - application/json
  999. parameters:
  1000. - description: api路径, api中文描述, api组, 方法
  1001. in: body
  1002. name: data
  1003. required: true
  1004. schema:
  1005. $ref: '#/definitions/system.SysApi'
  1006. produces:
  1007. - application/json
  1008. responses:
  1009. "200":
  1010. description: '{"success":true,"data":{},"msg":"创建成功"}'
  1011. schema:
  1012. type: string
  1013. security:
  1014. - ApiKeyAuth: []
  1015. summary: 创建基础api
  1016. tags:
  1017. - SysApi
  1018. /api/deleteApi:
  1019. post:
  1020. consumes:
  1021. - application/json
  1022. parameters:
  1023. - description: ID
  1024. in: body
  1025. name: data
  1026. required: true
  1027. schema:
  1028. $ref: '#/definitions/system.SysApi'
  1029. produces:
  1030. - application/json
  1031. responses:
  1032. "200":
  1033. description: '{"success":true,"data":{},"msg":"删除成功"}'
  1034. schema:
  1035. type: string
  1036. security:
  1037. - ApiKeyAuth: []
  1038. summary: 删除api
  1039. tags:
  1040. - SysApi
  1041. /api/deleteApisByIds:
  1042. delete:
  1043. consumes:
  1044. - application/json
  1045. parameters:
  1046. - description: ID
  1047. in: body
  1048. name: data
  1049. required: true
  1050. schema:
  1051. $ref: '#/definitions/request.IdsReq'
  1052. produces:
  1053. - application/json
  1054. responses:
  1055. "200":
  1056. description: '{"success":true,"data":{},"msg":"删除成功"}'
  1057. schema:
  1058. type: string
  1059. security:
  1060. - ApiKeyAuth: []
  1061. summary: 删除选中Api
  1062. tags:
  1063. - SysApi
  1064. /api/getAllApis:
  1065. post:
  1066. consumes:
  1067. - application/json
  1068. produces:
  1069. - application/json
  1070. responses:
  1071. "200":
  1072. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1073. schema:
  1074. type: string
  1075. security:
  1076. - ApiKeyAuth: []
  1077. summary: 获取所有的Api 不分页
  1078. tags:
  1079. - SysApi
  1080. /api/getApiById:
  1081. post:
  1082. consumes:
  1083. - application/json
  1084. parameters:
  1085. - description: 根据id获取api
  1086. in: body
  1087. name: data
  1088. required: true
  1089. schema:
  1090. $ref: '#/definitions/request.GetById'
  1091. produces:
  1092. - application/json
  1093. responses:
  1094. "200":
  1095. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1096. schema:
  1097. type: string
  1098. security:
  1099. - ApiKeyAuth: []
  1100. summary: 根据id获取api
  1101. tags:
  1102. - SysApi
  1103. /api/getApiList:
  1104. post:
  1105. consumes:
  1106. - application/json
  1107. parameters:
  1108. - description: 分页获取API列表
  1109. in: body
  1110. name: data
  1111. required: true
  1112. schema:
  1113. $ref: '#/definitions/request.SearchApiParams'
  1114. produces:
  1115. - application/json
  1116. responses:
  1117. "200":
  1118. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1119. schema:
  1120. type: string
  1121. security:
  1122. - ApiKeyAuth: []
  1123. summary: 分页获取API列表
  1124. tags:
  1125. - SysApi
  1126. /api/updateApi:
  1127. post:
  1128. consumes:
  1129. - application/json
  1130. parameters:
  1131. - description: api路径, api中文描述, api组, 方法
  1132. in: body
  1133. name: data
  1134. required: true
  1135. schema:
  1136. $ref: '#/definitions/system.SysApi'
  1137. produces:
  1138. - application/json
  1139. responses:
  1140. "200":
  1141. description: '{"success":true,"data":{},"msg":"修改成功"}'
  1142. schema:
  1143. type: string
  1144. security:
  1145. - ApiKeyAuth: []
  1146. summary: 创建基础api
  1147. tags:
  1148. - SysApi
  1149. /authority/copyAuthority:
  1150. post:
  1151. consumes:
  1152. - application/json
  1153. parameters:
  1154. - description: 旧角色id, 新权限id, 新权限名, 新父角色id
  1155. in: body
  1156. name: data
  1157. required: true
  1158. schema:
  1159. $ref: '#/definitions/response.SysAuthorityCopyResponse'
  1160. produces:
  1161. - application/json
  1162. responses:
  1163. "200":
  1164. description: '{"success":true,"data":{},"msg":"拷贝成功"}'
  1165. schema:
  1166. type: string
  1167. security:
  1168. - ApiKeyAuth: []
  1169. summary: 拷贝角色
  1170. tags:
  1171. - Authority
  1172. /authority/createAuthority:
  1173. post:
  1174. consumes:
  1175. - application/json
  1176. parameters:
  1177. - description: 权限id, 权限名, 父角色id
  1178. in: body
  1179. name: data
  1180. required: true
  1181. schema:
  1182. $ref: '#/definitions/system.SysAuthority'
  1183. produces:
  1184. - application/json
  1185. responses:
  1186. "200":
  1187. description: '{"success":true,"data":{},"msg":"创建成功"}'
  1188. schema:
  1189. type: string
  1190. security:
  1191. - ApiKeyAuth: []
  1192. summary: 创建角色
  1193. tags:
  1194. - Authority
  1195. /authority/deleteAuthority:
  1196. post:
  1197. consumes:
  1198. - application/json
  1199. parameters:
  1200. - description: 删除角色
  1201. in: body
  1202. name: data
  1203. required: true
  1204. schema:
  1205. $ref: '#/definitions/system.SysAuthority'
  1206. produces:
  1207. - application/json
  1208. responses:
  1209. "200":
  1210. description: '{"success":true,"data":{},"msg":"删除成功"}'
  1211. schema:
  1212. type: string
  1213. security:
  1214. - ApiKeyAuth: []
  1215. summary: 删除角色
  1216. tags:
  1217. - Authority
  1218. /authority/getAuthorityList:
  1219. post:
  1220. consumes:
  1221. - application/json
  1222. parameters:
  1223. - description: 页码, 每页大小
  1224. in: body
  1225. name: data
  1226. required: true
  1227. schema:
  1228. $ref: '#/definitions/request.PageInfo'
  1229. produces:
  1230. - application/json
  1231. responses:
  1232. "200":
  1233. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1234. schema:
  1235. type: string
  1236. security:
  1237. - ApiKeyAuth: []
  1238. summary: 分页获取角色列表
  1239. tags:
  1240. - Authority
  1241. /authority/setDataAuthority:
  1242. post:
  1243. consumes:
  1244. - application/json
  1245. parameters:
  1246. - description: 设置角色资源权限
  1247. in: body
  1248. name: data
  1249. required: true
  1250. schema:
  1251. $ref: '#/definitions/system.SysAuthority'
  1252. produces:
  1253. - application/json
  1254. responses:
  1255. "200":
  1256. description: '{"success":true,"data":{},"msg":"设置成功"}'
  1257. schema:
  1258. type: string
  1259. security:
  1260. - ApiKeyAuth: []
  1261. summary: 设置角色资源权限
  1262. tags:
  1263. - Authority
  1264. /authority/updateAuthority:
  1265. post:
  1266. consumes:
  1267. - application/json
  1268. parameters:
  1269. - description: 权限id, 权限名, 父角色id
  1270. in: body
  1271. name: data
  1272. required: true
  1273. schema:
  1274. $ref: '#/definitions/system.SysAuthority'
  1275. produces:
  1276. - application/json
  1277. responses:
  1278. "200":
  1279. description: '{"success":true,"data":{},"msg":"更新成功"}'
  1280. schema:
  1281. type: string
  1282. security:
  1283. - ApiKeyAuth: []
  1284. summary: 更新角色信息
  1285. tags:
  1286. - Authority
  1287. /autoCode/createTemp:
  1288. post:
  1289. consumes:
  1290. - application/json
  1291. parameters:
  1292. - description: 创建自动代码
  1293. in: body
  1294. name: data
  1295. required: true
  1296. schema:
  1297. $ref: '#/definitions/system.AutoCodeStruct'
  1298. produces:
  1299. - application/json
  1300. responses:
  1301. "200":
  1302. description: '{"success":true,"data":{},"msg":"创建成功"}'
  1303. schema:
  1304. type: string
  1305. security:
  1306. - ApiKeyAuth: []
  1307. summary: 自动代码模板
  1308. tags:
  1309. - AutoCode
  1310. /autoCode/delSysHistory:
  1311. post:
  1312. consumes:
  1313. - application/json
  1314. parameters:
  1315. - description: 删除回滚记录
  1316. in: body
  1317. name: data
  1318. required: true
  1319. schema:
  1320. $ref: '#/definitions/request.AutoHistoryByID'
  1321. produces:
  1322. - application/json
  1323. responses:
  1324. "200":
  1325. description: '{"success":true,"data":{},"msg":"删除成功"}'
  1326. schema:
  1327. type: string
  1328. security:
  1329. - ApiKeyAuth: []
  1330. summary: 删除回滚记录
  1331. tags:
  1332. - AutoCode
  1333. /autoCode/getColumn:
  1334. get:
  1335. consumes:
  1336. - application/json
  1337. produces:
  1338. - application/json
  1339. responses:
  1340. "200":
  1341. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1342. schema:
  1343. type: string
  1344. security:
  1345. - ApiKeyAuth: []
  1346. summary: 获取当前表所有字段
  1347. tags:
  1348. - AutoCode
  1349. /autoCode/getDatabase:
  1350. get:
  1351. consumes:
  1352. - application/json
  1353. produces:
  1354. - application/json
  1355. responses:
  1356. "200":
  1357. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1358. schema:
  1359. type: string
  1360. security:
  1361. - ApiKeyAuth: []
  1362. summary: 获取当前所有数据库
  1363. tags:
  1364. - AutoCode
  1365. /autoCode/getMeta:
  1366. post:
  1367. consumes:
  1368. - application/json
  1369. parameters:
  1370. - description: 获取meta信息
  1371. in: body
  1372. name: data
  1373. required: true
  1374. schema:
  1375. $ref: '#/definitions/request.AutoHistoryByID'
  1376. produces:
  1377. - application/json
  1378. responses:
  1379. "200":
  1380. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1381. schema:
  1382. type: string
  1383. security:
  1384. - ApiKeyAuth: []
  1385. summary: 回滚
  1386. tags:
  1387. - AutoCode
  1388. /autoCode/getSysHistory:
  1389. post:
  1390. consumes:
  1391. - application/json
  1392. parameters:
  1393. - description: 查询回滚记录
  1394. in: body
  1395. name: data
  1396. required: true
  1397. schema:
  1398. $ref: '#/definitions/request.SysAutoHistory'
  1399. produces:
  1400. - application/json
  1401. responses:
  1402. "200":
  1403. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1404. schema:
  1405. type: string
  1406. security:
  1407. - ApiKeyAuth: []
  1408. summary: 查询回滚记录
  1409. tags:
  1410. - AutoCode
  1411. /autoCode/getTables:
  1412. get:
  1413. consumes:
  1414. - application/json
  1415. produces:
  1416. - application/json
  1417. responses:
  1418. "200":
  1419. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1420. schema:
  1421. type: string
  1422. security:
  1423. - ApiKeyAuth: []
  1424. summary: 获取当前数据库所有表
  1425. tags:
  1426. - AutoCode
  1427. /autoCode/preview:
  1428. post:
  1429. consumes:
  1430. - application/json
  1431. parameters:
  1432. - description: 预览创建代码
  1433. in: body
  1434. name: data
  1435. required: true
  1436. schema:
  1437. $ref: '#/definitions/system.AutoCodeStruct'
  1438. produces:
  1439. - application/json
  1440. responses:
  1441. "200":
  1442. description: '{"success":true,"data":{},"msg":"创建成功"}'
  1443. schema:
  1444. type: string
  1445. security:
  1446. - ApiKeyAuth: []
  1447. summary: 预览创建后的代码
  1448. tags:
  1449. - AutoCode
  1450. /autoCode/rollback:
  1451. post:
  1452. consumes:
  1453. - application/json
  1454. parameters:
  1455. - description: 回滚自动生成代码
  1456. in: body
  1457. name: data
  1458. required: true
  1459. schema:
  1460. $ref: '#/definitions/request.AutoHistoryByID'
  1461. produces:
  1462. - application/json
  1463. responses:
  1464. "200":
  1465. description: '{"success":true,"data":{},"msg":"回滚成功"}'
  1466. schema:
  1467. type: string
  1468. security:
  1469. - ApiKeyAuth: []
  1470. summary: 回滚
  1471. tags:
  1472. - AutoCode
  1473. /autoCodeExample/createAutoCodeExample:
  1474. post:
  1475. consumes:
  1476. - application/json
  1477. parameters:
  1478. - description: AutoCodeExample模型
  1479. in: body
  1480. name: data
  1481. required: true
  1482. schema:
  1483. $ref: '#/definitions/autocode.AutoCodeExample'
  1484. produces:
  1485. - application/json
  1486. responses:
  1487. "200":
  1488. description: '{"success":true,"data":{},"msg":"创建成功"}'
  1489. schema:
  1490. type: string
  1491. security:
  1492. - ApiKeyAuth: []
  1493. summary: 创建AutoCodeExample
  1494. tags:
  1495. - AutoCodeExample
  1496. /autoCodeExample/deleteAutoCodeExample:
  1497. delete:
  1498. consumes:
  1499. - application/json
  1500. parameters:
  1501. - description: AutoCodeExample模型
  1502. in: body
  1503. name: data
  1504. required: true
  1505. schema:
  1506. $ref: '#/definitions/autocode.AutoCodeExample'
  1507. produces:
  1508. - application/json
  1509. responses:
  1510. "200":
  1511. description: '{"success":true,"data":{},"msg":"删除成功"}'
  1512. schema:
  1513. type: string
  1514. security:
  1515. - ApiKeyAuth: []
  1516. summary: 删除AutoCodeExample
  1517. tags:
  1518. - AutoCodeExample
  1519. /autoCodeExample/findAutoCodeExample:
  1520. get:
  1521. consumes:
  1522. - application/json
  1523. parameters:
  1524. - description: 展示值
  1525. in: query
  1526. name: autoCodeExampleField
  1527. type: string
  1528. - description: 创建时间
  1529. in: query
  1530. name: createdAt
  1531. type: string
  1532. - description: 主键ID
  1533. in: query
  1534. name: id
  1535. type: integer
  1536. - description: 更新时间
  1537. in: query
  1538. name: updatedAt
  1539. type: string
  1540. produces:
  1541. - application/json
  1542. responses:
  1543. "200":
  1544. description: '{"success":true,"data":{},"msg":"查询成功"}'
  1545. schema:
  1546. type: string
  1547. security:
  1548. - ApiKeyAuth: []
  1549. summary: 用id查询AutoCodeExample
  1550. tags:
  1551. - AutoCodeExample
  1552. /autoCodeExample/getAutoCodeExampleList:
  1553. get:
  1554. consumes:
  1555. - application/json
  1556. parameters:
  1557. - description: 展示值
  1558. in: query
  1559. name: autoCodeExampleField
  1560. type: string
  1561. - description: 创建时间
  1562. in: query
  1563. name: createdAt
  1564. type: string
  1565. - description: 主键ID
  1566. in: query
  1567. name: id
  1568. type: integer
  1569. - description: 页码
  1570. in: query
  1571. name: page
  1572. type: integer
  1573. - description: 每页大小
  1574. in: query
  1575. name: pageSize
  1576. type: integer
  1577. - description: 更新时间
  1578. in: query
  1579. name: updatedAt
  1580. type: string
  1581. produces:
  1582. - application/json
  1583. responses:
  1584. "200":
  1585. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1586. schema:
  1587. type: string
  1588. security:
  1589. - ApiKeyAuth: []
  1590. summary: 分页获取AutoCodeExample列表
  1591. tags:
  1592. - AutoCodeExample
  1593. /autoCodeExample/updateAutoCodeExample:
  1594. put:
  1595. consumes:
  1596. - application/json
  1597. parameters:
  1598. - description: 更新AutoCodeExample
  1599. in: body
  1600. name: data
  1601. required: true
  1602. schema:
  1603. $ref: '#/definitions/autocode.AutoCodeExample'
  1604. produces:
  1605. - application/json
  1606. responses:
  1607. "200":
  1608. description: '{"success":true,"data":{},"msg":"更新成功"}'
  1609. schema:
  1610. type: string
  1611. security:
  1612. - ApiKeyAuth: []
  1613. summary: 更新AutoCodeExample
  1614. tags:
  1615. - AutoCodeExample
  1616. /base/captcha:
  1617. post:
  1618. consumes:
  1619. - application/json
  1620. produces:
  1621. - application/json
  1622. responses:
  1623. "200":
  1624. description: '{"success":true,"data":{},"msg":"验证码获取成功"}'
  1625. schema:
  1626. type: string
  1627. security:
  1628. - ApiKeyAuth: []
  1629. summary: 生成验证码
  1630. tags:
  1631. - Base
  1632. /base/login:
  1633. post:
  1634. parameters:
  1635. - description: 用户名, 密码, 验证码
  1636. in: body
  1637. name: data
  1638. required: true
  1639. schema:
  1640. $ref: '#/definitions/request.Login'
  1641. produces:
  1642. - application/json
  1643. responses:
  1644. "200":
  1645. description: '{"success":true,"data":{},"msg":"登陆成功"}'
  1646. schema:
  1647. type: string
  1648. summary: 用户登录
  1649. tags:
  1650. - Base
  1651. /casbin/UpdateCasbin:
  1652. post:
  1653. consumes:
  1654. - application/json
  1655. parameters:
  1656. - description: 权限id, 权限模型列表
  1657. in: body
  1658. name: data
  1659. required: true
  1660. schema:
  1661. $ref: '#/definitions/request.CasbinInReceive'
  1662. produces:
  1663. - application/json
  1664. responses:
  1665. "200":
  1666. description: '{"success":true,"data":{},"msg":"更新成功"}'
  1667. schema:
  1668. type: string
  1669. security:
  1670. - ApiKeyAuth: []
  1671. summary: 更新角色api权限
  1672. tags:
  1673. - Casbin
  1674. /casbin/getPolicyPathByAuthorityId:
  1675. post:
  1676. consumes:
  1677. - application/json
  1678. parameters:
  1679. - description: 权限id, 权限模型列表
  1680. in: body
  1681. name: data
  1682. required: true
  1683. schema:
  1684. $ref: '#/definitions/request.CasbinInReceive'
  1685. produces:
  1686. - application/json
  1687. responses:
  1688. "200":
  1689. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1690. schema:
  1691. type: string
  1692. security:
  1693. - ApiKeyAuth: []
  1694. summary: 获取权限列表
  1695. tags:
  1696. - Casbin
  1697. /customer/customer:
  1698. delete:
  1699. consumes:
  1700. - application/json
  1701. parameters:
  1702. - description: 客户ID
  1703. in: body
  1704. name: data
  1705. required: true
  1706. schema:
  1707. $ref: '#/definitions/example.ExaCustomer'
  1708. produces:
  1709. - application/json
  1710. responses:
  1711. "200":
  1712. description: '{"success":true,"data":{},"msg":"删除成功"}'
  1713. schema:
  1714. type: string
  1715. security:
  1716. - ApiKeyAuth: []
  1717. summary: 删除客户
  1718. tags:
  1719. - ExaCustomer
  1720. get:
  1721. consumes:
  1722. - application/json
  1723. parameters:
  1724. - description: 创建时间
  1725. in: query
  1726. name: createdAt
  1727. type: string
  1728. - description: 客户名
  1729. in: query
  1730. name: customerName
  1731. type: string
  1732. - description: 客户手机号
  1733. in: query
  1734. name: customerPhoneData
  1735. type: string
  1736. - description: 主键ID
  1737. in: query
  1738. name: id
  1739. type: integer
  1740. - description: 管理角色ID
  1741. in: query
  1742. name: sysUserAuthorityID
  1743. type: string
  1744. - description: 管理ID
  1745. in: query
  1746. name: sysUserId
  1747. type: integer
  1748. - description: 更新时间
  1749. in: query
  1750. name: updatedAt
  1751. type: string
  1752. produces:
  1753. - application/json
  1754. responses:
  1755. "200":
  1756. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1757. schema:
  1758. type: string
  1759. security:
  1760. - ApiKeyAuth: []
  1761. summary: 获取单一客户信息
  1762. tags:
  1763. - ExaCustomer
  1764. post:
  1765. consumes:
  1766. - application/json
  1767. parameters:
  1768. - description: 客户用户名, 客户手机号码
  1769. in: body
  1770. name: data
  1771. required: true
  1772. schema:
  1773. $ref: '#/definitions/example.ExaCustomer'
  1774. produces:
  1775. - application/json
  1776. responses:
  1777. "200":
  1778. description: '{"success":true,"data":{},"msg":"创建成功"}'
  1779. schema:
  1780. type: string
  1781. security:
  1782. - ApiKeyAuth: []
  1783. summary: 创建客户
  1784. tags:
  1785. - ExaCustomer
  1786. put:
  1787. consumes:
  1788. - application/json
  1789. parameters:
  1790. - description: 客户ID, 客户信息
  1791. in: body
  1792. name: data
  1793. required: true
  1794. schema:
  1795. $ref: '#/definitions/example.ExaCustomer'
  1796. produces:
  1797. - application/json
  1798. responses:
  1799. "200":
  1800. description: '{"success":true,"data":{},"msg":"更新成功"}'
  1801. schema:
  1802. type: string
  1803. security:
  1804. - ApiKeyAuth: []
  1805. summary: 更新客户信息
  1806. tags:
  1807. - ExaCustomer
  1808. /customer/customerList:
  1809. get:
  1810. consumes:
  1811. - application/json
  1812. parameters:
  1813. - description: 页码
  1814. in: query
  1815. name: page
  1816. type: integer
  1817. - description: 每页大小
  1818. in: query
  1819. name: pageSize
  1820. type: integer
  1821. produces:
  1822. - application/json
  1823. responses:
  1824. "200":
  1825. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1826. schema:
  1827. type: string
  1828. security:
  1829. - ApiKeyAuth: []
  1830. summary: 分页获取权限客户列表
  1831. tags:
  1832. - ExaCustomer
  1833. /email/emailTest:
  1834. post:
  1835. produces:
  1836. - application/json
  1837. responses:
  1838. "200":
  1839. description: '{"success":true,"data":{},"msg":"发送成功"}'
  1840. schema:
  1841. type: string
  1842. security:
  1843. - ApiKeyAuth: []
  1844. summary: 发送测试邮件
  1845. tags:
  1846. - System
  1847. /excel/downloadTemplate:
  1848. get:
  1849. consumes:
  1850. - multipart/form-data
  1851. parameters:
  1852. - description: 模板名称
  1853. in: query
  1854. name: fileName
  1855. required: true
  1856. type: string
  1857. produces:
  1858. - application/json
  1859. responses:
  1860. "200": {}
  1861. security:
  1862. - ApiKeyAuth: []
  1863. summary: 下载模板
  1864. tags:
  1865. - excel
  1866. /excel/exportExcel:
  1867. post:
  1868. consumes:
  1869. - application/json
  1870. parameters:
  1871. - description: 导出Excel文件信息
  1872. in: body
  1873. name: data
  1874. required: true
  1875. schema:
  1876. $ref: '#/definitions/example.ExcelInfo'
  1877. produces:
  1878. - application/octet-stream
  1879. responses:
  1880. "200": {}
  1881. security:
  1882. - ApiKeyAuth: []
  1883. summary: 导出Excel
  1884. tags:
  1885. - excel
  1886. /excel/importExcel:
  1887. post:
  1888. consumes:
  1889. - multipart/form-data
  1890. parameters:
  1891. - description: 导入Excel文件
  1892. in: formData
  1893. name: file
  1894. required: true
  1895. type: file
  1896. produces:
  1897. - application/json
  1898. responses:
  1899. "200":
  1900. description: '{"success":true,"data":{},"msg":"导入成功"}'
  1901. schema:
  1902. type: string
  1903. security:
  1904. - ApiKeyAuth: []
  1905. summary: 导入Excel文件
  1906. tags:
  1907. - excel
  1908. /excel/loadExcel:
  1909. get:
  1910. produces:
  1911. - application/json
  1912. responses:
  1913. "200":
  1914. description: '{"success":true,"data":{},"msg":"加载数据成功"}'
  1915. schema:
  1916. type: string
  1917. security:
  1918. - ApiKeyAuth: []
  1919. summary: 加载Excel数据
  1920. tags:
  1921. - excel
  1922. /fileUploadAndDownload/breakpointContinue:
  1923. post:
  1924. consumes:
  1925. - multipart/form-data
  1926. parameters:
  1927. - description: an example for breakpoint resume, 断点续传示例
  1928. in: formData
  1929. name: file
  1930. required: true
  1931. type: file
  1932. produces:
  1933. - application/json
  1934. responses:
  1935. "200":
  1936. description: '{"success":true,"data":{},"msg":"切片创建成功"}'
  1937. schema:
  1938. type: string
  1939. security:
  1940. - ApiKeyAuth: []
  1941. summary: 断点续传到服务器
  1942. tags:
  1943. - ExaFileUploadAndDownload
  1944. /fileUploadAndDownload/deleteFile:
  1945. post:
  1946. parameters:
  1947. - description: 传入文件里面id即可
  1948. in: body
  1949. name: data
  1950. required: true
  1951. schema:
  1952. $ref: '#/definitions/example.ExaFileUploadAndDownload'
  1953. produces:
  1954. - application/json
  1955. responses:
  1956. "200":
  1957. description: '{"success":true,"data":{},"msg":"删除成功"}'
  1958. schema:
  1959. type: string
  1960. security:
  1961. - ApiKeyAuth: []
  1962. summary: 删除文件
  1963. tags:
  1964. - ExaFileUploadAndDownload
  1965. /fileUploadAndDownload/findFile:
  1966. post:
  1967. consumes:
  1968. - multipart/form-data
  1969. parameters:
  1970. - description: 上传文件完成
  1971. in: formData
  1972. name: file
  1973. required: true
  1974. type: file
  1975. produces:
  1976. - application/json
  1977. responses:
  1978. "200":
  1979. description: '{"success":true,"data":{},"msg":"file uploaded, 文件创建成功"}'
  1980. schema:
  1981. type: string
  1982. security:
  1983. - ApiKeyAuth: []
  1984. summary: 创建文件
  1985. tags:
  1986. - ExaFileUploadAndDownload
  1987. /fileUploadAndDownload/getFileList:
  1988. post:
  1989. consumes:
  1990. - application/json
  1991. parameters:
  1992. - description: 页码, 每页大小
  1993. in: body
  1994. name: data
  1995. required: true
  1996. schema:
  1997. $ref: '#/definitions/request.PageInfo'
  1998. produces:
  1999. - application/json
  2000. responses:
  2001. "200":
  2002. description: '{"success":true,"data":{},"msg":"获取成功"}'
  2003. schema:
  2004. type: string
  2005. security:
  2006. - ApiKeyAuth: []
  2007. summary: 分页文件列表
  2008. tags:
  2009. - ExaFileUploadAndDownload
  2010. /fileUploadAndDownload/removeChunk:
  2011. post:
  2012. consumes:
  2013. - multipart/form-data
  2014. parameters:
  2015. - description: 删除缓存切片
  2016. in: formData
  2017. name: file
  2018. required: true
  2019. type: file
  2020. produces:
  2021. - application/json
  2022. responses:
  2023. "200":
  2024. description: '{"success":true,"data":{},"msg":"缓存切片删除成功"}'
  2025. schema:
  2026. type: string
  2027. security:
  2028. - ApiKeyAuth: []
  2029. summary: 删除切片
  2030. tags:
  2031. - ExaFileUploadAndDownload
  2032. /fileUploadAndDownload/upload:
  2033. post:
  2034. consumes:
  2035. - multipart/form-data
  2036. parameters:
  2037. - description: 上传文件示例
  2038. in: formData
  2039. name: file
  2040. required: true
  2041. type: file
  2042. produces:
  2043. - application/json
  2044. responses:
  2045. "200":
  2046. description: '{"success":true,"data":{},"msg":"上传成功"}'
  2047. schema:
  2048. type: string
  2049. security:
  2050. - ApiKeyAuth: []
  2051. summary: 上传文件示例
  2052. tags:
  2053. - ExaFileUploadAndDownload
  2054. /init/checkdb:
  2055. post:
  2056. produces:
  2057. - application/json
  2058. responses:
  2059. "200":
  2060. description: '{"code":0,"data":{},"msg":"探测完成"}'
  2061. schema:
  2062. type: string
  2063. summary: 初始化用户数据库
  2064. tags:
  2065. - CheckDB
  2066. /init/initdb:
  2067. post:
  2068. parameters:
  2069. - description: 初始化数据库参数
  2070. in: body
  2071. name: data
  2072. required: true
  2073. schema:
  2074. $ref: '#/definitions/request.InitDB'
  2075. produces:
  2076. - application/json
  2077. responses:
  2078. "200":
  2079. description: '{"code":0,"data":{},"msg":"自动创建数据库成功"}'
  2080. schema:
  2081. type: string
  2082. summary: 初始化用户数据库
  2083. tags:
  2084. - InitDB
  2085. /jwt/jsonInBlacklist:
  2086. post:
  2087. consumes:
  2088. - application/json
  2089. produces:
  2090. - application/json
  2091. responses:
  2092. "200":
  2093. description: '{"success":true,"data":{},"msg":"拉黑成功"}'
  2094. schema:
  2095. type: string
  2096. security:
  2097. - ApiKeyAuth: []
  2098. summary: jwt加入黑名单
  2099. tags:
  2100. - Jwt
  2101. /menu/GetMenuAuthority:
  2102. post:
  2103. consumes:
  2104. - application/json
  2105. parameters:
  2106. - description: 角色ID
  2107. in: body
  2108. name: data
  2109. required: true
  2110. schema:
  2111. $ref: '#/definitions/request.GetAuthorityId'
  2112. produces:
  2113. - application/json
  2114. responses:
  2115. "200":
  2116. description: '{"success":true,"data":{},"msg":"获取成功"}'
  2117. schema:
  2118. type: string
  2119. security:
  2120. - ApiKeyAuth: []
  2121. summary: 获取指定角色menu
  2122. tags:
  2123. - AuthorityMenu
  2124. /menu/addBaseMenu:
  2125. post:
  2126. consumes:
  2127. - application/json
  2128. parameters:
  2129. - description: 路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记
  2130. in: body
  2131. name: data
  2132. required: true
  2133. schema:
  2134. $ref: '#/definitions/system.SysBaseMenu'
  2135. produces:
  2136. - application/json
  2137. responses:
  2138. "200":
  2139. description: '{"success":true,"data":{},"msg":"添加成功"}'
  2140. schema:
  2141. type: string
  2142. security:
  2143. - ApiKeyAuth: []
  2144. summary: 新增菜单
  2145. tags:
  2146. - Menu
  2147. /menu/addMenuAuthority:
  2148. post:
  2149. consumes:
  2150. - application/json
  2151. parameters:
  2152. - description: 角色ID
  2153. in: body
  2154. name: data
  2155. required: true
  2156. schema:
  2157. $ref: '#/definitions/request.AddMenuAuthorityInfo'
  2158. produces:
  2159. - application/json
  2160. responses:
  2161. "200":
  2162. description: '{"success":true,"data":{},"msg":"添加成功"}'
  2163. schema:
  2164. type: string
  2165. security:
  2166. - ApiKeyAuth: []
  2167. summary: 增加menu和角色关联关系
  2168. tags:
  2169. - AuthorityMenu
  2170. /menu/deleteBaseMenu:
  2171. post:
  2172. consumes:
  2173. - application/json
  2174. parameters:
  2175. - description: 菜单id
  2176. in: body
  2177. name: data
  2178. required: true
  2179. schema:
  2180. $ref: '#/definitions/request.GetById'
  2181. produces:
  2182. - application/json
  2183. responses:
  2184. "200":
  2185. description: '{"success":true,"data":{},"msg":"删除成功"}'
  2186. schema:
  2187. type: string
  2188. security:
  2189. - ApiKeyAuth: []
  2190. summary: 删除菜单
  2191. tags:
  2192. - Menu
  2193. /menu/getBaseMenuById:
  2194. post:
  2195. consumes:
  2196. - application/json
  2197. parameters:
  2198. - description: 菜单id
  2199. in: body
  2200. name: data
  2201. required: true
  2202. schema:
  2203. $ref: '#/definitions/request.GetById'
  2204. produces:
  2205. - application/json
  2206. responses:
  2207. "200":
  2208. description: '{"success":true,"data":{},"msg":"获取成功"}'
  2209. schema:
  2210. type: string
  2211. security:
  2212. - ApiKeyAuth: []
  2213. summary: 根据id获取菜单
  2214. tags:
  2215. - Menu
  2216. /menu/getBaseMenuTree:
  2217. post:
  2218. parameters:
  2219. - description: 空
  2220. in: body
  2221. name: data
  2222. required: true
  2223. schema:
  2224. $ref: '#/definitions/request.Empty'
  2225. produces:
  2226. - application/json
  2227. responses:
  2228. "200":
  2229. description: '{"success":true,"data":{},"msg":"获取成功"}'
  2230. schema:
  2231. type: string
  2232. security:
  2233. - ApiKeyAuth: []
  2234. summary: 获取用户动态路由
  2235. tags:
  2236. - AuthorityMenu
  2237. /menu/getMenu:
  2238. post:
  2239. parameters:
  2240. - description: 空
  2241. in: body
  2242. name: data
  2243. required: true
  2244. schema:
  2245. $ref: '#/definitions/request.Empty'
  2246. produces:
  2247. - application/json
  2248. responses:
  2249. "200":
  2250. description: '{"success":true,"data":{},"msg":"获取成功"}'
  2251. schema:
  2252. type: string
  2253. security:
  2254. - ApiKeyAuth: []
  2255. summary: 获取用户动态路由
  2256. tags:
  2257. - AuthorityMenu
  2258. /menu/getMenuList:
  2259. post:
  2260. consumes:
  2261. - application/json
  2262. parameters:
  2263. - description: 页码, 每页大小
  2264. in: body
  2265. name: data
  2266. required: true
  2267. schema:
  2268. $ref: '#/definitions/request.PageInfo'
  2269. produces:
  2270. - application/json
  2271. responses:
  2272. "200":
  2273. description: '{"success":true,"data":{},"msg":"获取成功"}'
  2274. schema:
  2275. type: string
  2276. security:
  2277. - ApiKeyAuth: []
  2278. summary: 分页获取基础menu列表
  2279. tags:
  2280. - Menu
  2281. /menu/updateBaseMenu:
  2282. post:
  2283. consumes:
  2284. - application/json
  2285. parameters:
  2286. - description: 路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记
  2287. in: body
  2288. name: data
  2289. required: true
  2290. schema:
  2291. $ref: '#/definitions/system.SysBaseMenu'
  2292. produces:
  2293. - application/json
  2294. responses:
  2295. "200":
  2296. description: '{"success":true,"data":{},"msg":"更新成功"}'
  2297. schema:
  2298. type: string
  2299. security:
  2300. - ApiKeyAuth: []
  2301. summary: 更新菜单
  2302. tags:
  2303. - Menu
  2304. /sysDictionary/createSysDictionary:
  2305. post:
  2306. consumes:
  2307. - application/json
  2308. parameters:
  2309. - description: SysDictionary模型
  2310. in: body
  2311. name: data
  2312. required: true
  2313. schema:
  2314. $ref: '#/definitions/system.SysDictionary'
  2315. produces:
  2316. - application/json
  2317. responses:
  2318. "200":
  2319. description: '{"success":true,"data":{},"msg":"创建成功"}'
  2320. schema:
  2321. type: string
  2322. security:
  2323. - ApiKeyAuth: []
  2324. summary: 创建SysDictionary
  2325. tags:
  2326. - SysDictionary
  2327. /sysDictionary/deleteSysDictionary:
  2328. delete:
  2329. consumes:
  2330. - application/json
  2331. parameters:
  2332. - description: SysDictionary模型
  2333. in: body
  2334. name: data
  2335. required: true
  2336. schema:
  2337. $ref: '#/definitions/system.SysDictionary'
  2338. produces:
  2339. - application/json
  2340. responses:
  2341. "200":
  2342. description: '{"success":true,"data":{},"msg":"删除成功"}'
  2343. schema:
  2344. type: string
  2345. security:
  2346. - ApiKeyAuth: []
  2347. summary: 删除SysDictionary
  2348. tags:
  2349. - SysDictionary
  2350. /sysDictionary/findSysDictionary:
  2351. get:
  2352. consumes:
  2353. - application/json
  2354. parameters:
  2355. - description: 创建时间
  2356. in: query
  2357. name: createdAt
  2358. type: string
  2359. - description: 描述
  2360. in: query
  2361. name: desc
  2362. type: string
  2363. - description: 主键ID
  2364. in: query
  2365. name: id
  2366. type: integer
  2367. - description: 字典名(中)
  2368. in: query
  2369. name: name
  2370. type: string
  2371. - description: 状态
  2372. in: query
  2373. name: status
  2374. type: boolean
  2375. - description: 字典名(英)
  2376. in: query
  2377. name: type
  2378. type: string
  2379. - description: 更新时间
  2380. in: query
  2381. name: updatedAt
  2382. type: string
  2383. produces:
  2384. - application/json
  2385. responses:
  2386. "200":
  2387. description: '{"success":true,"data":{},"msg":"查询成功"}'
  2388. schema:
  2389. type: string
  2390. security:
  2391. - ApiKeyAuth: []
  2392. summary: 用id查询SysDictionary
  2393. tags:
  2394. - SysDictionary
  2395. /sysDictionary/getSysDictionaryList:
  2396. get:
  2397. consumes:
  2398. - application/json
  2399. parameters:
  2400. - description: 创建时间
  2401. in: query
  2402. name: createdAt
  2403. type: string
  2404. - description: 描述
  2405. in: query
  2406. name: desc
  2407. type: string
  2408. - description: 主键ID
  2409. in: query
  2410. name: id
  2411. type: integer
  2412. - description: 字典名(中)
  2413. in: query
  2414. name: name
  2415. type: string
  2416. - description: 页码
  2417. in: query
  2418. name: page
  2419. type: integer
  2420. - description: 每页大小
  2421. in: query
  2422. name: pageSize
  2423. type: integer
  2424. - description: 状态
  2425. in: query
  2426. name: status
  2427. type: boolean
  2428. - description: 字典名(英)
  2429. in: query
  2430. name: type
  2431. type: string
  2432. - description: 更新时间
  2433. in: query
  2434. name: updatedAt
  2435. type: string
  2436. produces:
  2437. - application/json
  2438. responses:
  2439. "200":
  2440. description: '{"success":true,"data":{},"msg":"获取成功"}'
  2441. schema:
  2442. type: string
  2443. security:
  2444. - ApiKeyAuth: []
  2445. summary: 分页获取SysDictionary列表
  2446. tags:
  2447. - SysDictionary
  2448. /sysDictionary/updateSysDictionary:
  2449. put:
  2450. consumes:
  2451. - application/json
  2452. parameters:
  2453. - description: SysDictionary模型
  2454. in: body
  2455. name: data
  2456. required: true
  2457. schema:
  2458. $ref: '#/definitions/system.SysDictionary'
  2459. produces:
  2460. - application/json
  2461. responses:
  2462. "200":
  2463. description: '{"success":true,"data":{},"msg":"更新成功"}'
  2464. schema:
  2465. type: string
  2466. security:
  2467. - ApiKeyAuth: []
  2468. summary: 更新SysDictionary
  2469. tags:
  2470. - SysDictionary
  2471. /sysDictionaryDetail/createSysDictionaryDetail:
  2472. post:
  2473. consumes:
  2474. - application/json
  2475. parameters:
  2476. - description: SysDictionaryDetail模型
  2477. in: body
  2478. name: data
  2479. required: true
  2480. schema:
  2481. $ref: '#/definitions/system.SysDictionaryDetail'
  2482. produces:
  2483. - application/json
  2484. responses:
  2485. "200":
  2486. description: '{"success":true,"data":{},"msg":"创建成功"}'
  2487. schema:
  2488. type: string
  2489. security:
  2490. - ApiKeyAuth: []
  2491. summary: 创建SysDictionaryDetail
  2492. tags:
  2493. - SysDictionaryDetail
  2494. /sysDictionaryDetail/deleteSysDictionaryDetail:
  2495. delete:
  2496. consumes:
  2497. - application/json
  2498. parameters:
  2499. - description: SysDictionaryDetail模型
  2500. in: body
  2501. name: data
  2502. required: true
  2503. schema:
  2504. $ref: '#/definitions/system.SysDictionaryDetail'
  2505. produces:
  2506. - application/json
  2507. responses:
  2508. "200":
  2509. description: '{"success":true,"data":{},"msg":"删除成功"}'
  2510. schema:
  2511. type: string
  2512. security:
  2513. - ApiKeyAuth: []
  2514. summary: 删除SysDictionaryDetail
  2515. tags:
  2516. - SysDictionaryDetail
  2517. /sysDictionaryDetail/findSysDictionaryDetail:
  2518. get:
  2519. consumes:
  2520. - application/json
  2521. parameters:
  2522. - description: 创建时间
  2523. in: query
  2524. name: createdAt
  2525. type: string
  2526. - description: 主键ID
  2527. in: query
  2528. name: id
  2529. type: integer
  2530. - description: 展示值
  2531. in: query
  2532. name: label
  2533. type: string
  2534. - description: 排序标记
  2535. in: query
  2536. name: sort
  2537. type: integer
  2538. - description: 启用状态
  2539. in: query
  2540. name: status
  2541. type: boolean
  2542. - description: 关联标记
  2543. in: query
  2544. name: sysDictionaryID
  2545. type: integer
  2546. - description: 更新时间
  2547. in: query
  2548. name: updatedAt
  2549. type: string
  2550. - description: 字典值
  2551. in: query
  2552. name: value
  2553. type: integer
  2554. produces:
  2555. - application/json
  2556. responses:
  2557. "200":
  2558. description: '{"success":true,"data":{},"msg":"查询成功"}'
  2559. schema:
  2560. type: string
  2561. security:
  2562. - ApiKeyAuth: []
  2563. summary: 用id查询SysDictionaryDetail
  2564. tags:
  2565. - SysDictionaryDetail
  2566. /sysDictionaryDetail/getSysDictionaryDetailList:
  2567. get:
  2568. consumes:
  2569. - application/json
  2570. parameters:
  2571. - description: 创建时间
  2572. in: query
  2573. name: createdAt
  2574. type: string
  2575. - description: 主键ID
  2576. in: query
  2577. name: id
  2578. type: integer
  2579. - description: 展示值
  2580. in: query
  2581. name: label
  2582. type: string
  2583. - description: 页码
  2584. in: query
  2585. name: page
  2586. type: integer
  2587. - description: 每页大小
  2588. in: query
  2589. name: pageSize
  2590. type: integer
  2591. - description: 排序标记
  2592. in: query
  2593. name: sort
  2594. type: integer
  2595. - description: 启用状态
  2596. in: query
  2597. name: status
  2598. type: boolean
  2599. - description: 关联标记
  2600. in: query
  2601. name: sysDictionaryID
  2602. type: integer
  2603. - description: 更新时间
  2604. in: query
  2605. name: updatedAt
  2606. type: string
  2607. - description: 字典值
  2608. in: query
  2609. name: value
  2610. type: integer
  2611. produces:
  2612. - application/json
  2613. responses:
  2614. "200":
  2615. description: '{"success":true,"data":{},"msg":"获取成功"}'
  2616. schema:
  2617. type: string
  2618. security:
  2619. - ApiKeyAuth: []
  2620. summary: 分页获取SysDictionaryDetail列表
  2621. tags:
  2622. - SysDictionaryDetail
  2623. /sysDictionaryDetail/updateSysDictionaryDetail:
  2624. put:
  2625. consumes:
  2626. - application/json
  2627. parameters:
  2628. - description: 更新SysDictionaryDetail
  2629. in: body
  2630. name: data
  2631. required: true
  2632. schema:
  2633. $ref: '#/definitions/system.SysDictionaryDetail'
  2634. produces:
  2635. - application/json
  2636. responses:
  2637. "200":
  2638. description: '{"success":true,"data":{},"msg":"更新成功"}'
  2639. schema:
  2640. type: string
  2641. security:
  2642. - ApiKeyAuth: []
  2643. summary: 更新SysDictionaryDetail
  2644. tags:
  2645. - SysDictionaryDetail
  2646. /sysOperationRecord/createSysOperationRecord:
  2647. post:
  2648. consumes:
  2649. - application/json
  2650. parameters:
  2651. - description: 创建SysOperationRecord
  2652. in: body
  2653. name: data
  2654. required: true
  2655. schema:
  2656. $ref: '#/definitions/system.SysOperationRecord'
  2657. produces:
  2658. - application/json
  2659. responses:
  2660. "200":
  2661. description: '{"success":true,"data":{},"msg":"获取成功"}'
  2662. schema:
  2663. type: string
  2664. security:
  2665. - ApiKeyAuth: []
  2666. summary: 创建SysOperationRecord
  2667. tags:
  2668. - SysOperationRecord
  2669. /sysOperationRecord/deleteSysOperationRecord:
  2670. delete:
  2671. consumes:
  2672. - application/json
  2673. parameters:
  2674. - description: SysOperationRecord模型
  2675. in: body
  2676. name: data
  2677. required: true
  2678. schema:
  2679. $ref: '#/definitions/system.SysOperationRecord'
  2680. produces:
  2681. - application/json
  2682. responses:
  2683. "200":
  2684. description: '{"success":true,"data":{},"msg":"删除成功"}'
  2685. schema:
  2686. type: string
  2687. security:
  2688. - ApiKeyAuth: []
  2689. summary: 删除SysOperationRecord
  2690. tags:
  2691. - SysOperationRecord
  2692. /sysOperationRecord/deleteSysOperationRecordByIds:
  2693. delete:
  2694. consumes:
  2695. - application/json
  2696. parameters:
  2697. - description: 批量删除SysOperationRecord
  2698. in: body
  2699. name: data
  2700. required: true
  2701. schema:
  2702. $ref: '#/definitions/request.IdsReq'
  2703. produces:
  2704. - application/json
  2705. responses:
  2706. "200":
  2707. description: '{"success":true,"data":{},"msg":"批量删除成功"}'
  2708. schema:
  2709. type: string
  2710. security:
  2711. - ApiKeyAuth: []
  2712. summary: 批量删除SysOperationRecord
  2713. tags:
  2714. - SysOperationRecord
  2715. /sysOperationRecord/findSysOperationRecord:
  2716. get:
  2717. consumes:
  2718. - application/json
  2719. parameters:
  2720. - description: 代理
  2721. in: query
  2722. name: agent
  2723. type: string
  2724. - description: 请求Body
  2725. in: query
  2726. name: body
  2727. type: string
  2728. - description: 创建时间
  2729. in: query
  2730. name: createdAt
  2731. type: string
  2732. - description: 错误信息
  2733. in: query
  2734. name: error_message
  2735. type: string
  2736. - description: 主键ID
  2737. in: query
  2738. name: id
  2739. type: integer
  2740. - description: 请求ip
  2741. in: query
  2742. name: ip
  2743. type: string
  2744. - description: 延迟
  2745. in: query
  2746. name: latency
  2747. type: string
  2748. - description: 请求方法
  2749. in: query
  2750. name: method
  2751. type: string
  2752. - description: 请求路径
  2753. in: query
  2754. name: path
  2755. type: string
  2756. - description: 响应Body
  2757. in: query
  2758. name: resp
  2759. type: string
  2760. - description: 请求状态
  2761. in: query
  2762. name: status
  2763. type: integer
  2764. - description: 更新时间
  2765. in: query
  2766. name: updatedAt
  2767. type: string
  2768. - description: 用户id
  2769. in: query
  2770. name: user_id
  2771. type: integer
  2772. produces:
  2773. - application/json
  2774. responses:
  2775. "200":
  2776. description: '{"success":true,"data":{},"msg":"查询成功"}'
  2777. schema:
  2778. type: string
  2779. security:
  2780. - ApiKeyAuth: []
  2781. summary: 用id查询SysOperationRecord
  2782. tags:
  2783. - SysOperationRecord
  2784. /sysOperationRecord/getSysOperationRecordList:
  2785. get:
  2786. consumes:
  2787. - application/json
  2788. parameters:
  2789. - description: 代理
  2790. in: query
  2791. name: agent
  2792. type: string
  2793. - description: 请求Body
  2794. in: query
  2795. name: body
  2796. type: string
  2797. - description: 创建时间
  2798. in: query
  2799. name: createdAt
  2800. type: string
  2801. - description: 错误信息
  2802. in: query
  2803. name: error_message
  2804. type: string
  2805. - description: 主键ID
  2806. in: query
  2807. name: id
  2808. type: integer
  2809. - description: 请求ip
  2810. in: query
  2811. name: ip
  2812. type: string
  2813. - description: 延迟
  2814. in: query
  2815. name: latency
  2816. type: string
  2817. - description: 请求方法
  2818. in: query
  2819. name: method
  2820. type: string
  2821. - description: 页码
  2822. in: query
  2823. name: page
  2824. type: integer
  2825. - description: 每页大小
  2826. in: query
  2827. name: pageSize
  2828. type: integer
  2829. - description: 请求路径
  2830. in: query
  2831. name: path
  2832. type: string
  2833. - description: 响应Body
  2834. in: query
  2835. name: resp
  2836. type: string
  2837. - description: 请求状态
  2838. in: query
  2839. name: status
  2840. type: integer
  2841. - description: 更新时间
  2842. in: query
  2843. name: updatedAt
  2844. type: string
  2845. - description: 用户id
  2846. in: query
  2847. name: user_id
  2848. type: integer
  2849. produces:
  2850. - application/json
  2851. responses:
  2852. "200":
  2853. description: '{"success":true,"data":{},"msg":"获取成功"}'
  2854. schema:
  2855. type: string
  2856. security:
  2857. - ApiKeyAuth: []
  2858. summary: 分页获取SysOperationRecord列表
  2859. tags:
  2860. - SysOperationRecord
  2861. /system/getServerInfo:
  2862. post:
  2863. produces:
  2864. - application/json
  2865. responses:
  2866. "200":
  2867. description: '{"success":true,"data":{},"msg":"获取成功"}'
  2868. schema:
  2869. type: string
  2870. security:
  2871. - ApiKeyAuth: []
  2872. summary: 获取服务器信息
  2873. tags:
  2874. - System
  2875. /system/getSystemConfig:
  2876. post:
  2877. produces:
  2878. - application/json
  2879. responses:
  2880. "200":
  2881. description: '{"success":true,"data":{},"msg":"获取成功"}'
  2882. schema:
  2883. type: string
  2884. security:
  2885. - ApiKeyAuth: []
  2886. summary: 获取配置文件内容
  2887. tags:
  2888. - System
  2889. /system/reloadSystem:
  2890. post:
  2891. produces:
  2892. - application/json
  2893. responses:
  2894. "200":
  2895. description: '{"code":0,"data":{},"msg":"重启系统成功"}'
  2896. schema:
  2897. type: string
  2898. security:
  2899. - ApiKeyAuth: []
  2900. summary: 重启系统
  2901. tags:
  2902. - System
  2903. /system/setSystemConfig:
  2904. post:
  2905. parameters:
  2906. - description: 设置配置文件内容
  2907. in: body
  2908. name: data
  2909. required: true
  2910. schema:
  2911. $ref: '#/definitions/system.System'
  2912. produces:
  2913. - application/json
  2914. responses:
  2915. "200":
  2916. description: '{"success":true,"data":{},"msg":"设置成功"}'
  2917. schema:
  2918. type: string
  2919. security:
  2920. - ApiKeyAuth: []
  2921. summary: 设置配置文件内容
  2922. tags:
  2923. - System
  2924. /user/changePassword:
  2925. post:
  2926. parameters:
  2927. - description: 用户名, 原密码, 新密码
  2928. in: body
  2929. name: data
  2930. required: true
  2931. schema:
  2932. $ref: '#/definitions/request.ChangePasswordStruct'
  2933. produces:
  2934. - application/json
  2935. responses:
  2936. "200":
  2937. description: '{"success":true,"data":{},"msg":"修改成功"}'
  2938. schema:
  2939. type: string
  2940. security:
  2941. - ApiKeyAuth: []
  2942. summary: 用户修改密码
  2943. tags:
  2944. - SysUser
  2945. /user/deleteUser:
  2946. delete:
  2947. consumes:
  2948. - application/json
  2949. parameters:
  2950. - description: 用户ID
  2951. in: body
  2952. name: data
  2953. required: true
  2954. schema:
  2955. $ref: '#/definitions/request.GetById'
  2956. produces:
  2957. - application/json
  2958. responses:
  2959. "200":
  2960. description: '{"success":true,"data":{},"msg":"删除成功"}'
  2961. schema:
  2962. type: string
  2963. security:
  2964. - ApiKeyAuth: []
  2965. summary: 删除用户
  2966. tags:
  2967. - SysUser
  2968. /user/getUserInfo:
  2969. get:
  2970. consumes:
  2971. - application/json
  2972. produces:
  2973. - application/json
  2974. responses:
  2975. "200":
  2976. description: '{"success":true,"data":{},"msg":"获取成功"}'
  2977. schema:
  2978. type: string
  2979. security:
  2980. - ApiKeyAuth: []
  2981. summary: 获取用户信息
  2982. tags:
  2983. - SysUser
  2984. /user/getUserList:
  2985. post:
  2986. consumes:
  2987. - application/json
  2988. parameters:
  2989. - description: 页码, 每页大小
  2990. in: body
  2991. name: data
  2992. required: true
  2993. schema:
  2994. $ref: '#/definitions/request.PageInfo'
  2995. produces:
  2996. - application/json
  2997. responses:
  2998. "200":
  2999. description: '{"success":true,"data":{},"msg":"获取成功"}'
  3000. schema:
  3001. type: string
  3002. security:
  3003. - ApiKeyAuth: []
  3004. summary: 分页获取用户列表
  3005. tags:
  3006. - SysUser
  3007. /user/register:
  3008. post:
  3009. parameters:
  3010. - description: 用户名, 昵称, 密码, 角色ID
  3011. in: body
  3012. name: data
  3013. required: true
  3014. schema:
  3015. $ref: '#/definitions/request.Register'
  3016. produces:
  3017. - application/json
  3018. responses:
  3019. "200":
  3020. description: '{"success":true,"data":{},"msg":"注册成功"}'
  3021. schema:
  3022. type: string
  3023. summary: 用户注册账号
  3024. tags:
  3025. - SysUser
  3026. /user/setUserAuthorities:
  3027. post:
  3028. consumes:
  3029. - application/json
  3030. parameters:
  3031. - description: 用户UUID, 角色ID
  3032. in: body
  3033. name: data
  3034. required: true
  3035. schema:
  3036. $ref: '#/definitions/request.SetUserAuthorities'
  3037. produces:
  3038. - application/json
  3039. responses:
  3040. "200":
  3041. description: '{"success":true,"data":{},"msg":"修改成功"}'
  3042. schema:
  3043. type: string
  3044. security:
  3045. - ApiKeyAuth: []
  3046. summary: 设置用户权限
  3047. tags:
  3048. - SysUser
  3049. /user/setUserAuthority:
  3050. post:
  3051. consumes:
  3052. - application/json
  3053. parameters:
  3054. - description: 用户UUID, 角色ID
  3055. in: body
  3056. name: data
  3057. required: true
  3058. schema:
  3059. $ref: '#/definitions/request.SetUserAuth'
  3060. produces:
  3061. - application/json
  3062. responses:
  3063. "200":
  3064. description: '{"success":true,"data":{},"msg":"修改成功"}'
  3065. schema:
  3066. type: string
  3067. security:
  3068. - ApiKeyAuth: []
  3069. summary: 更改用户权限
  3070. tags:
  3071. - SysUser
  3072. /user/setUserInfo:
  3073. put:
  3074. consumes:
  3075. - application/json
  3076. parameters:
  3077. - description: ID, 用户名, 昵称, 头像链接
  3078. in: body
  3079. name: data
  3080. required: true
  3081. schema:
  3082. $ref: '#/definitions/system.SysUser'
  3083. produces:
  3084. - application/json
  3085. responses:
  3086. "200":
  3087. description: '{"success":true,"data":{},"msg":"设置成功"}'
  3088. schema:
  3089. type: string
  3090. security:
  3091. - ApiKeyAuth: []
  3092. summary: 设置用户信息
  3093. tags:
  3094. - SysUser
  3095. securityDefinitions:
  3096. ApiKeyAuth:
  3097. in: header
  3098. name: x-token
  3099. type: apiKey
  3100. swagger: "2.0"