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.

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