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.

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