swagger.yaml 70 KB

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