You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3071 lines
72 KiB

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