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.

2155 lines
49 KiB

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
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
4 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
5 years ago
5 years ago
5 years ago
4 years ago
5 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
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
4 years ago
4 years ago
4 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
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
4 years ago
4 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
  1. basePath: /
  2. definitions:
  3. config.Captcha:
  4. properties:
  5. imgHeight:
  6. type: integer
  7. imgWidth:
  8. type: integer
  9. keyLong:
  10. type: integer
  11. type: object
  12. config.Casbin:
  13. properties:
  14. modelPath:
  15. type: string
  16. type: object
  17. config.Email:
  18. properties:
  19. from:
  20. type: string
  21. host:
  22. type: string
  23. isSSL:
  24. type: boolean
  25. nickname:
  26. type: string
  27. port:
  28. type: integer
  29. secret:
  30. type: string
  31. to:
  32. type: string
  33. type: object
  34. config.JWT:
  35. properties:
  36. signingKey:
  37. type: string
  38. type: object
  39. config.Local:
  40. properties:
  41. path:
  42. type: string
  43. type: object
  44. config.Mysql:
  45. properties:
  46. config:
  47. type: string
  48. dbname:
  49. type: string
  50. logMode:
  51. type: boolean
  52. maxIdleConns:
  53. type: integer
  54. maxOpenConns:
  55. type: integer
  56. password:
  57. type: string
  58. path:
  59. type: string
  60. username:
  61. type: string
  62. type: object
  63. config.Postgresql:
  64. properties:
  65. config:
  66. type: string
  67. dbname:
  68. type: string
  69. host:
  70. type: string
  71. logger:
  72. type: boolean
  73. maxIdleConns:
  74. type: integer
  75. maxOpenConns:
  76. type: integer
  77. password:
  78. type: string
  79. port:
  80. type: string
  81. preferSimpleProtocol:
  82. type: boolean
  83. username:
  84. type: string
  85. type: object
  86. config.Qiniu:
  87. properties:
  88. accessKey:
  89. type: string
  90. bucket:
  91. type: string
  92. imgPath:
  93. type: string
  94. secretKey:
  95. type: string
  96. useCdnDomains:
  97. type: boolean
  98. useHttps:
  99. type: boolean
  100. zone:
  101. type: string
  102. type: object
  103. config.Redis:
  104. properties:
  105. addr:
  106. type: string
  107. db:
  108. type: integer
  109. password:
  110. type: string
  111. type: object
  112. config.Server:
  113. properties:
  114. captcha:
  115. $ref: '#/definitions/config.Captcha'
  116. type: object
  117. casbin:
  118. $ref: '#/definitions/config.Casbin'
  119. type: object
  120. email:
  121. $ref: '#/definitions/config.Email'
  122. type: object
  123. jwt:
  124. $ref: '#/definitions/config.JWT'
  125. type: object
  126. local:
  127. $ref: '#/definitions/config.Local'
  128. description: oss
  129. type: object
  130. mysql:
  131. $ref: '#/definitions/config.Mysql'
  132. description: gorm
  133. type: object
  134. postgresql:
  135. $ref: '#/definitions/config.Postgresql'
  136. type: object
  137. qiniu:
  138. $ref: '#/definitions/config.Qiniu'
  139. type: object
  140. redis:
  141. $ref: '#/definitions/config.Redis'
  142. type: object
  143. sqlite:
  144. $ref: '#/definitions/config.Sqlite'
  145. type: object
  146. sqlserver:
  147. $ref: '#/definitions/config.Sqlserver'
  148. type: object
  149. system:
  150. $ref: '#/definitions/config.System'
  151. type: object
  152. zap:
  153. $ref: '#/definitions/config.Zap'
  154. type: object
  155. type: object
  156. config.Sqlite:
  157. properties:
  158. logger:
  159. type: boolean
  160. maxIdleConns:
  161. type: integer
  162. maxOpenConns:
  163. type: integer
  164. path:
  165. type: string
  166. type: object
  167. config.Sqlserver:
  168. properties:
  169. dbname:
  170. type: string
  171. logger:
  172. type: boolean
  173. maxIdleConns:
  174. type: integer
  175. maxOpenConns:
  176. type: integer
  177. password:
  178. type: string
  179. path:
  180. type: string
  181. username:
  182. type: string
  183. type: object
  184. config.System:
  185. properties:
  186. addr:
  187. type: integer
  188. dbType:
  189. type: string
  190. env:
  191. type: string
  192. needInitData:
  193. type: boolean
  194. ossType:
  195. type: string
  196. useMultipoint:
  197. type: boolean
  198. type: object
  199. config.Zap:
  200. properties:
  201. director:
  202. type: string
  203. encodeLevel:
  204. type: string
  205. format:
  206. type: string
  207. level:
  208. type: string
  209. linkName:
  210. type: string
  211. logInConsole:
  212. type: boolean
  213. prefix:
  214. type: string
  215. showLine:
  216. type: boolean
  217. stacktraceKey:
  218. type: string
  219. type: object
  220. model.AutoCodeStruct:
  221. properties:
  222. abbreviation:
  223. type: string
  224. autoCreateApiToSql:
  225. type: boolean
  226. description:
  227. type: string
  228. fields:
  229. items:
  230. $ref: '#/definitions/model.Field'
  231. type: array
  232. packageName:
  233. type: string
  234. structName:
  235. type: string
  236. tableName:
  237. type: string
  238. type: object
  239. model.ExaCustomer:
  240. properties:
  241. customerName:
  242. type: string
  243. customerPhoneData:
  244. type: string
  245. sysUser:
  246. $ref: '#/definitions/model.SysUser'
  247. type: object
  248. sysUserAuthorityID:
  249. type: string
  250. sysUserId:
  251. type: integer
  252. type: object
  253. model.ExaFileUploadAndDownload:
  254. properties:
  255. key:
  256. type: string
  257. name:
  258. type: string
  259. tag:
  260. type: string
  261. url:
  262. type: string
  263. type: object
  264. model.Field:
  265. properties:
  266. columnName:
  267. type: string
  268. comment:
  269. type: string
  270. dataType:
  271. type: string
  272. dataTypeLong:
  273. type: string
  274. dictType:
  275. type: string
  276. fieldDesc:
  277. type: string
  278. fieldJson:
  279. type: string
  280. fieldName:
  281. type: string
  282. fieldSearchType:
  283. type: string
  284. fieldType:
  285. type: string
  286. type: object
  287. model.SysApi:
  288. properties:
  289. apiGroup:
  290. type: string
  291. description:
  292. type: string
  293. method:
  294. type: string
  295. path:
  296. type: string
  297. type: object
  298. model.SysAuthority:
  299. properties:
  300. authorityId:
  301. type: string
  302. authorityName:
  303. type: string
  304. children:
  305. items:
  306. $ref: '#/definitions/model.SysAuthority'
  307. type: array
  308. createdAt:
  309. type: string
  310. dataAuthorityId:
  311. items:
  312. $ref: '#/definitions/model.SysAuthority'
  313. type: array
  314. deletedAt:
  315. type: string
  316. menus:
  317. items:
  318. $ref: '#/definitions/model.SysBaseMenu'
  319. type: array
  320. parentId:
  321. type: string
  322. updatedAt:
  323. type: string
  324. type: object
  325. model.SysBaseMenu:
  326. properties:
  327. authoritys:
  328. items:
  329. $ref: '#/definitions/model.SysAuthority'
  330. type: array
  331. children:
  332. items:
  333. $ref: '#/definitions/model.SysBaseMenu'
  334. type: array
  335. component:
  336. type: string
  337. defaultMenu:
  338. type: boolean
  339. hidden:
  340. type: boolean
  341. icon:
  342. type: string
  343. keepAlive:
  344. type: boolean
  345. name:
  346. type: string
  347. parameters:
  348. items:
  349. $ref: '#/definitions/model.SysBaseMenuParameter'
  350. type: array
  351. parentId:
  352. type: string
  353. path:
  354. type: string
  355. sort:
  356. type: integer
  357. title:
  358. type: string
  359. type: object
  360. model.SysBaseMenuParameter:
  361. properties:
  362. key:
  363. type: string
  364. sysBaseMenuID:
  365. type: integer
  366. type:
  367. type: string
  368. value:
  369. type: string
  370. type: object
  371. model.SysDictionary:
  372. properties:
  373. desc:
  374. type: string
  375. name:
  376. type: string
  377. status:
  378. type: boolean
  379. sysDictionaryDetails:
  380. items:
  381. $ref: '#/definitions/model.SysDictionaryDetail'
  382. type: array
  383. type:
  384. type: string
  385. type: object
  386. model.SysDictionaryDetail:
  387. properties:
  388. label:
  389. type: string
  390. sort:
  391. type: integer
  392. status:
  393. type: boolean
  394. sysDictionaryID:
  395. type: integer
  396. value:
  397. type: integer
  398. type: object
  399. model.SysOperationRecord:
  400. properties:
  401. agent:
  402. type: string
  403. body:
  404. type: string
  405. error_message:
  406. type: string
  407. ip:
  408. type: string
  409. latency:
  410. type: string
  411. method:
  412. type: string
  413. path:
  414. type: string
  415. resp:
  416. type: string
  417. status:
  418. type: integer
  419. user:
  420. $ref: '#/definitions/model.SysUser'
  421. type: object
  422. user_id:
  423. type: integer
  424. type: object
  425. model.SysUser:
  426. properties:
  427. authority:
  428. $ref: '#/definitions/model.SysAuthority'
  429. type: object
  430. authorityId:
  431. type: string
  432. headerImg:
  433. type: string
  434. nickName:
  435. type: string
  436. userName:
  437. type: string
  438. uuid:
  439. type: string
  440. type: object
  441. model.SysWorkflow:
  442. properties:
  443. workflowDescription:
  444. description: 工作流描述
  445. type: string
  446. workflowName:
  447. description: 工作流英文id
  448. type: string
  449. workflowNickName:
  450. description: 工作流名称
  451. type: string
  452. workflowStep:
  453. description: 工作流步骤
  454. items:
  455. $ref: '#/definitions/model.SysWorkflowStepInfo'
  456. type: array
  457. type: object
  458. model.SysWorkflowStepInfo:
  459. properties:
  460. isEnd:
  461. description: 是否是完结流节点
  462. type: boolean
  463. isStart:
  464. description: 是否是开始流节点
  465. type: boolean
  466. stepAuthorityID:
  467. description: 操作者级别id
  468. type: string
  469. stepName:
  470. description: 工作流名称
  471. type: string
  472. stepNo:
  473. description: 步骤id (第几步)
  474. type: number
  475. workflowID:
  476. description: 所属工作流ID
  477. type: integer
  478. type: object
  479. model.System:
  480. properties:
  481. config:
  482. $ref: '#/definitions/config.Server'
  483. type: object
  484. type: object
  485. request.AddMenuAuthorityInfo:
  486. properties:
  487. authorityId:
  488. type: string
  489. menus:
  490. items:
  491. $ref: '#/definitions/model.SysBaseMenu'
  492. type: array
  493. type: object
  494. request.AuthorityIdInfo:
  495. properties:
  496. authorityId:
  497. type: string
  498. type: object
  499. request.CasbinInReceive:
  500. properties:
  501. authorityId:
  502. type: string
  503. casbinInfos:
  504. items:
  505. $ref: '#/definitions/request.CasbinInfo'
  506. type: array
  507. type: object
  508. request.CasbinInfo:
  509. properties:
  510. method:
  511. type: string
  512. path:
  513. type: string
  514. type: object
  515. request.ChangePasswordStruct:
  516. properties:
  517. newPassword:
  518. type: string
  519. password:
  520. type: string
  521. username:
  522. type: string
  523. type: object
  524. request.GetById:
  525. properties:
  526. id:
  527. type: number
  528. type: object
  529. request.IdsReq:
  530. properties:
  531. ids:
  532. items:
  533. type: integer
  534. type: array
  535. type: object
  536. request.PageInfo:
  537. properties:
  538. page:
  539. type: integer
  540. pageSize:
  541. type: integer
  542. type: object
  543. request.RegisterAndLoginStruct:
  544. properties:
  545. captcha:
  546. type: string
  547. captchaId:
  548. type: string
  549. password:
  550. type: string
  551. username:
  552. type: string
  553. type: object
  554. request.SearchApiParams:
  555. properties:
  556. apiGroup:
  557. type: string
  558. desc:
  559. type: boolean
  560. description:
  561. type: string
  562. method:
  563. type: string
  564. orderKey:
  565. type: string
  566. page:
  567. type: integer
  568. pageSize:
  569. type: integer
  570. path:
  571. type: string
  572. type: object
  573. request.SetUserAuth:
  574. properties:
  575. authorityId:
  576. type: string
  577. uuid:
  578. type: string
  579. type: object
  580. request.SysDictionaryDetailSearch:
  581. properties:
  582. label:
  583. type: string
  584. page:
  585. type: integer
  586. pageSize:
  587. type: integer
  588. sort:
  589. type: integer
  590. status:
  591. type: boolean
  592. sysDictionaryID:
  593. type: integer
  594. value:
  595. type: integer
  596. type: object
  597. request.SysDictionarySearch:
  598. properties:
  599. desc:
  600. type: string
  601. name:
  602. type: string
  603. page:
  604. type: integer
  605. pageSize:
  606. type: integer
  607. status:
  608. type: boolean
  609. sysDictionaryDetails:
  610. items:
  611. $ref: '#/definitions/model.SysDictionaryDetail'
  612. type: array
  613. type:
  614. type: string
  615. type: object
  616. request.SysOperationRecordSearch:
  617. properties:
  618. agent:
  619. type: string
  620. body:
  621. type: string
  622. error_message:
  623. type: string
  624. ip:
  625. type: string
  626. latency:
  627. type: string
  628. method:
  629. type: string
  630. page:
  631. type: integer
  632. pageSize:
  633. type: integer
  634. path:
  635. type: string
  636. resp:
  637. type: string
  638. status:
  639. type: integer
  640. user:
  641. $ref: '#/definitions/model.SysUser'
  642. type: object
  643. user_id:
  644. type: integer
  645. type: object
  646. response.SysAuthorityCopyResponse:
  647. properties:
  648. authority:
  649. $ref: '#/definitions/model.SysAuthority'
  650. type: object
  651. oldAuthorityId:
  652. type: string
  653. type: object
  654. info:
  655. contact: {}
  656. description: This is a sample Server pets
  657. license: {}
  658. title: Swagger Example API
  659. version: 0.0.1
  660. paths:
  661. /api/createApi:
  662. post:
  663. consumes:
  664. - application/json
  665. parameters:
  666. - description: 创建api
  667. in: body
  668. name: data
  669. required: true
  670. schema:
  671. $ref: '#/definitions/model.SysApi'
  672. produces:
  673. - application/json
  674. responses:
  675. "200":
  676. description: '{"success":true,"data":{},"msg":"获取成功"}'
  677. schema:
  678. type: string
  679. security:
  680. - ApiKeyAuth: []
  681. summary: 创建基础api
  682. tags:
  683. - SysApi
  684. /api/deleteApi:
  685. post:
  686. consumes:
  687. - application/json
  688. parameters:
  689. - description: 删除api
  690. in: body
  691. name: data
  692. required: true
  693. schema:
  694. $ref: '#/definitions/model.SysApi'
  695. produces:
  696. - application/json
  697. responses:
  698. "200":
  699. description: '{"success":true,"data":{},"msg":"获取成功"}'
  700. schema:
  701. type: string
  702. security:
  703. - ApiKeyAuth: []
  704. summary: 删除指定api
  705. tags:
  706. - SysApi
  707. /api/getAllApis:
  708. post:
  709. consumes:
  710. - application/json
  711. produces:
  712. - application/json
  713. responses:
  714. "200":
  715. description: '{"success":true,"data":{},"msg":"获取成功"}'
  716. schema:
  717. type: string
  718. security:
  719. - ApiKeyAuth: []
  720. summary: 获取所有的Api 不分页
  721. tags:
  722. - SysApi
  723. /api/getApiById:
  724. post:
  725. consumes:
  726. - application/json
  727. parameters:
  728. - description: 根据id获取api
  729. in: body
  730. name: data
  731. required: true
  732. schema:
  733. $ref: '#/definitions/request.GetById'
  734. produces:
  735. - application/json
  736. responses:
  737. "200":
  738. description: '{"success":true,"data":{},"msg":"获取成功"}'
  739. schema:
  740. type: string
  741. security:
  742. - ApiKeyAuth: []
  743. summary: 根据id获取api
  744. tags:
  745. - SysApi
  746. /api/getApiList:
  747. post:
  748. consumes:
  749. - application/json
  750. parameters:
  751. - description: 分页获取API列表
  752. in: body
  753. name: data
  754. required: true
  755. schema:
  756. $ref: '#/definitions/request.SearchApiParams'
  757. produces:
  758. - application/json
  759. responses:
  760. "200":
  761. description: '{"success":true,"data":{},"msg":"获取成功"}'
  762. schema:
  763. type: string
  764. security:
  765. - ApiKeyAuth: []
  766. summary: 分页获取API列表
  767. tags:
  768. - SysApi
  769. /api/updateApi:
  770. post:
  771. consumes:
  772. - application/json
  773. parameters:
  774. - description: 创建api
  775. in: body
  776. name: data
  777. required: true
  778. schema:
  779. $ref: '#/definitions/model.SysApi'
  780. produces:
  781. - application/json
  782. responses:
  783. "200":
  784. description: '{"success":true,"data":{},"msg":"获取成功"}'
  785. schema:
  786. type: string
  787. security:
  788. - ApiKeyAuth: []
  789. summary: 创建基础api
  790. tags:
  791. - SysApi
  792. /authority/copyAuthority:
  793. post:
  794. consumes:
  795. - application/json
  796. parameters:
  797. - description: 拷贝角色
  798. in: body
  799. name: data
  800. required: true
  801. schema:
  802. $ref: '#/definitions/response.SysAuthorityCopyResponse'
  803. produces:
  804. - application/json
  805. responses:
  806. "200":
  807. description: '{"success":true,"data":{},"msg":"拷贝成功"}'
  808. schema:
  809. type: string
  810. security:
  811. - ApiKeyAuth: []
  812. summary: 拷贝角色
  813. tags:
  814. - authority
  815. /authority/createAuthority:
  816. post:
  817. consumes:
  818. - application/json
  819. parameters:
  820. - description: 创建角色
  821. in: body
  822. name: data
  823. required: true
  824. schema:
  825. $ref: '#/definitions/model.SysAuthority'
  826. produces:
  827. - application/json
  828. responses:
  829. "200":
  830. description: '{"success":true,"data":{},"msg":"获取成功"}'
  831. schema:
  832. type: string
  833. security:
  834. - ApiKeyAuth: []
  835. summary: 创建角色
  836. tags:
  837. - authority
  838. /authority/deleteAuthority:
  839. post:
  840. consumes:
  841. - application/json
  842. parameters:
  843. - description: 删除角色
  844. in: body
  845. name: data
  846. required: true
  847. schema:
  848. $ref: '#/definitions/model.SysAuthority'
  849. produces:
  850. - application/json
  851. responses:
  852. "200":
  853. description: '{"success":true,"data":{},"msg":"获取成功"}'
  854. schema:
  855. type: string
  856. security:
  857. - ApiKeyAuth: []
  858. summary: 删除角色
  859. tags:
  860. - authority
  861. /authority/getAuthorityList:
  862. post:
  863. consumes:
  864. - application/json
  865. parameters:
  866. - description: 分页获取用户列表
  867. in: body
  868. name: data
  869. required: true
  870. schema:
  871. $ref: '#/definitions/request.PageInfo'
  872. produces:
  873. - application/json
  874. responses:
  875. "200":
  876. description: '{"success":true,"data":{},"msg":"获取成功"}'
  877. schema:
  878. type: string
  879. security:
  880. - ApiKeyAuth: []
  881. summary: 分页获取角色列表
  882. tags:
  883. - authority
  884. /authority/setDataAuthority:
  885. post:
  886. consumes:
  887. - application/json
  888. parameters:
  889. - description: 设置角色资源权限
  890. in: body
  891. name: data
  892. required: true
  893. schema:
  894. $ref: '#/definitions/model.SysAuthority'
  895. produces:
  896. - application/json
  897. responses:
  898. "200":
  899. description: '{"success":true,"data":{},"msg":"设置成功"}'
  900. schema:
  901. type: string
  902. security:
  903. - ApiKeyAuth: []
  904. summary: 设置角色资源权限
  905. tags:
  906. - authority
  907. /authority/updateAuthority:
  908. post:
  909. consumes:
  910. - application/json
  911. parameters:
  912. - description: 设置角色资源权限
  913. in: body
  914. name: data
  915. required: true
  916. schema:
  917. $ref: '#/definitions/model.SysAuthority'
  918. produces:
  919. - application/json
  920. responses:
  921. "200":
  922. description: '{"success":true,"data":{},"msg":"设置成功"}'
  923. schema:
  924. type: string
  925. security:
  926. - ApiKeyAuth: []
  927. summary: 设置角色资源权限
  928. tags:
  929. - authority
  930. /autoCode/createTemp:
  931. post:
  932. consumes:
  933. - application/json
  934. parameters:
  935. - description: 创建自动代码
  936. in: body
  937. name: data
  938. required: true
  939. schema:
  940. $ref: '#/definitions/model.AutoCodeStruct'
  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. - SysApi
  953. /autoCode/getDatabase:
  954. get:
  955. consumes:
  956. - application/json
  957. produces:
  958. - application/json
  959. responses:
  960. "200":
  961. description: '{"success":true,"data":{},"msg":"创建成功"}'
  962. schema:
  963. type: string
  964. security:
  965. - ApiKeyAuth: []
  966. summary: 获取当前表所有字段
  967. tags:
  968. - SysApi
  969. /base/captcha:
  970. post:
  971. consumes:
  972. - application/json
  973. produces:
  974. - application/json
  975. responses:
  976. "200":
  977. description: '{"success":true,"data":{},"msg":"获取成功"}'
  978. schema:
  979. type: string
  980. security:
  981. - ApiKeyAuth: []
  982. summary: 生成验证码
  983. tags:
  984. - base
  985. /base/login:
  986. post:
  987. parameters:
  988. - description: 用户登录接口
  989. in: body
  990. name: data
  991. required: true
  992. schema:
  993. $ref: '#/definitions/request.RegisterAndLoginStruct'
  994. produces:
  995. - application/json
  996. responses:
  997. "200":
  998. description: '{"success":true,"data":{},"msg":"登陆成功"}'
  999. schema:
  1000. type: string
  1001. summary: 用户登录
  1002. tags:
  1003. - Base
  1004. /casbin/UpdateCasbin:
  1005. post:
  1006. consumes:
  1007. - application/json
  1008. parameters:
  1009. - description: 更改角色api权限
  1010. in: body
  1011. name: data
  1012. required: true
  1013. schema:
  1014. $ref: '#/definitions/request.CasbinInReceive'
  1015. produces:
  1016. - application/json
  1017. responses:
  1018. "200":
  1019. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1020. schema:
  1021. type: string
  1022. security:
  1023. - ApiKeyAuth: []
  1024. summary: 更改角色api权限
  1025. tags:
  1026. - casbin
  1027. /casbin/getPolicyPathByAuthorityId:
  1028. post:
  1029. consumes:
  1030. - application/json
  1031. parameters:
  1032. - description: 获取权限列表
  1033. in: body
  1034. name: data
  1035. required: true
  1036. schema:
  1037. $ref: '#/definitions/request.CasbinInReceive'
  1038. produces:
  1039. - application/json
  1040. responses:
  1041. "200":
  1042. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1043. schema:
  1044. type: string
  1045. security:
  1046. - ApiKeyAuth: []
  1047. summary: 获取权限列表
  1048. tags:
  1049. - casbin
  1050. /customer/customer:
  1051. delete:
  1052. consumes:
  1053. - application/json
  1054. parameters:
  1055. - description: 删除客户
  1056. in: body
  1057. name: data
  1058. required: true
  1059. schema:
  1060. $ref: '#/definitions/model.ExaCustomer'
  1061. produces:
  1062. - application/json
  1063. responses:
  1064. "200":
  1065. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1066. schema:
  1067. type: string
  1068. security:
  1069. - ApiKeyAuth: []
  1070. summary: 删除客户
  1071. tags:
  1072. - SysApi
  1073. get:
  1074. consumes:
  1075. - application/json
  1076. parameters:
  1077. - description: 获取单一客户信息
  1078. in: body
  1079. name: data
  1080. required: true
  1081. schema:
  1082. $ref: '#/definitions/model.ExaCustomer'
  1083. produces:
  1084. - application/json
  1085. responses:
  1086. "200":
  1087. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1088. schema:
  1089. type: string
  1090. security:
  1091. - ApiKeyAuth: []
  1092. summary: 获取单一客户信息
  1093. tags:
  1094. - SysApi
  1095. post:
  1096. consumes:
  1097. - application/json
  1098. parameters:
  1099. - description: 创建客户
  1100. in: body
  1101. name: data
  1102. required: true
  1103. schema:
  1104. $ref: '#/definitions/model.ExaCustomer'
  1105. produces:
  1106. - application/json
  1107. responses:
  1108. "200":
  1109. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1110. schema:
  1111. type: string
  1112. security:
  1113. - ApiKeyAuth: []
  1114. summary: 创建客户
  1115. tags:
  1116. - SysApi
  1117. put:
  1118. consumes:
  1119. - application/json
  1120. parameters:
  1121. - description: 创建客户
  1122. in: body
  1123. name: data
  1124. required: true
  1125. schema:
  1126. $ref: '#/definitions/model.ExaCustomer'
  1127. produces:
  1128. - application/json
  1129. responses:
  1130. "200":
  1131. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1132. schema:
  1133. type: string
  1134. security:
  1135. - ApiKeyAuth: []
  1136. summary: 更新客户信息
  1137. tags:
  1138. - SysApi
  1139. /customer/customerList:
  1140. get:
  1141. consumes:
  1142. - application/json
  1143. parameters:
  1144. - description: 获取权限客户列表
  1145. in: body
  1146. name: data
  1147. required: true
  1148. schema:
  1149. $ref: '#/definitions/request.PageInfo'
  1150. produces:
  1151. - application/json
  1152. responses:
  1153. "200":
  1154. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1155. schema:
  1156. type: string
  1157. security:
  1158. - ApiKeyAuth: []
  1159. summary: 获取权限客户列表
  1160. tags:
  1161. - SysApi
  1162. /email/emailTest:
  1163. post:
  1164. produces:
  1165. - application/json
  1166. responses:
  1167. "200":
  1168. description: '{"success":true,"data":{},"msg":"返回成功"}'
  1169. schema:
  1170. type: string
  1171. security:
  1172. - ApiKeyAuth: []
  1173. summary: 发送测试邮件
  1174. tags:
  1175. - system
  1176. /fileUploadAndDownload/breakpointContinue:
  1177. post:
  1178. consumes:
  1179. - multipart/form-data
  1180. parameters:
  1181. - description: an example for breakpoint resume, 断点续传示例
  1182. in: formData
  1183. name: file
  1184. required: true
  1185. type: file
  1186. produces:
  1187. - application/json
  1188. responses:
  1189. "200":
  1190. description: '{"success":true,"data":{},"msg":"上传成功"}'
  1191. schema:
  1192. type: string
  1193. security:
  1194. - ApiKeyAuth: []
  1195. summary: 断点续传到服务器
  1196. tags:
  1197. - ExaFileUploadAndDownload
  1198. /fileUploadAndDownload/deleteFile:
  1199. post:
  1200. parameters:
  1201. - description: 传入文件里面id即可
  1202. in: body
  1203. name: data
  1204. required: true
  1205. schema:
  1206. $ref: '#/definitions/model.ExaFileUploadAndDownload'
  1207. produces:
  1208. - application/json
  1209. responses:
  1210. "200":
  1211. description: '{"success":true,"data":{},"msg":"返回成功"}'
  1212. schema:
  1213. type: string
  1214. security:
  1215. - ApiKeyAuth: []
  1216. summary: 删除文件
  1217. tags:
  1218. - ExaFileUploadAndDownload
  1219. /fileUploadAndDownload/findFile:
  1220. post:
  1221. consumes:
  1222. - multipart/form-data
  1223. parameters:
  1224. - description: 上传文件完成
  1225. in: formData
  1226. name: file
  1227. required: true
  1228. type: file
  1229. produces:
  1230. - application/json
  1231. responses:
  1232. "200":
  1233. description: '{"success":true,"data":{},"msg":"file uploaded, 文件创建成功"}'
  1234. schema:
  1235. type: string
  1236. security:
  1237. - ApiKeyAuth: []
  1238. summary: 查找文件
  1239. tags:
  1240. - ExaFileUploadAndDownload
  1241. /fileUploadAndDownload/getFileList:
  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/request.PageInfo'
  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. - ExaFileUploadAndDownload
  1264. /fileUploadAndDownload/removeChunk:
  1265. post:
  1266. consumes:
  1267. - multipart/form-data
  1268. parameters:
  1269. - description: 删除缓存切片
  1270. in: formData
  1271. name: file
  1272. required: true
  1273. type: file
  1274. produces:
  1275. - application/json
  1276. responses:
  1277. "200":
  1278. description: '{"success":true,"data":{},"msg":"查找成功"}'
  1279. schema:
  1280. type: string
  1281. security:
  1282. - ApiKeyAuth: []
  1283. summary: 删除切片
  1284. tags:
  1285. - ExaFileUploadAndDownload
  1286. /fileUploadAndDownload/upload:
  1287. post:
  1288. consumes:
  1289. - multipart/form-data
  1290. parameters:
  1291. - description: 上传文件示例
  1292. in: formData
  1293. name: file
  1294. required: true
  1295. type: file
  1296. produces:
  1297. - application/json
  1298. responses:
  1299. "200":
  1300. description: '{"success":true,"data":{},"msg":"上传成功"}'
  1301. schema:
  1302. type: string
  1303. security:
  1304. - ApiKeyAuth: []
  1305. summary: 上传文件示例
  1306. tags:
  1307. - ExaFileUploadAndDownload
  1308. /jwt/jsonInBlacklist:
  1309. post:
  1310. consumes:
  1311. - application/json
  1312. produces:
  1313. - application/json
  1314. responses:
  1315. "200":
  1316. description: '{"success":true,"data":{},"msg":"拉黑成功"}'
  1317. schema:
  1318. type: string
  1319. security:
  1320. - ApiKeyAuth: []
  1321. summary: jwt加入黑名单
  1322. tags:
  1323. - jwt
  1324. /menu/GetMenuAuthority:
  1325. post:
  1326. consumes:
  1327. - application/json
  1328. parameters:
  1329. - description: 增加menu和角色关联关系
  1330. in: body
  1331. name: data
  1332. required: true
  1333. schema:
  1334. $ref: '#/definitions/request.AuthorityIdInfo'
  1335. produces:
  1336. - application/json
  1337. responses:
  1338. "200":
  1339. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1340. schema:
  1341. type: string
  1342. security:
  1343. - ApiKeyAuth: []
  1344. summary: 获取指定角色menu
  1345. tags:
  1346. - authorityAndMenu
  1347. /menu/addBaseMenu:
  1348. post:
  1349. consumes:
  1350. - application/json
  1351. parameters:
  1352. - description: 新增菜单
  1353. in: body
  1354. name: data
  1355. required: true
  1356. schema:
  1357. $ref: '#/definitions/model.SysBaseMenu'
  1358. produces:
  1359. - application/json
  1360. responses:
  1361. "200":
  1362. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1363. schema:
  1364. type: string
  1365. security:
  1366. - ApiKeyAuth: []
  1367. summary: 新增菜单
  1368. tags:
  1369. - menu
  1370. /menu/addMenuAuthority:
  1371. post:
  1372. consumes:
  1373. - application/json
  1374. parameters:
  1375. - description: 增加menu和角色关联关系
  1376. in: body
  1377. name: data
  1378. required: true
  1379. schema:
  1380. $ref: '#/definitions/request.AddMenuAuthorityInfo'
  1381. produces:
  1382. - application/json
  1383. responses:
  1384. "200":
  1385. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1386. schema:
  1387. type: string
  1388. security:
  1389. - ApiKeyAuth: []
  1390. summary: 增加menu和角色关联关系
  1391. tags:
  1392. - authorityAndMenu
  1393. /menu/deleteBaseMenu:
  1394. post:
  1395. consumes:
  1396. - application/json
  1397. parameters:
  1398. - description: 删除菜单
  1399. in: body
  1400. name: data
  1401. required: true
  1402. schema:
  1403. $ref: '#/definitions/request.GetById'
  1404. produces:
  1405. - application/json
  1406. responses:
  1407. "200":
  1408. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1409. schema:
  1410. type: string
  1411. security:
  1412. - ApiKeyAuth: []
  1413. summary: 删除菜单
  1414. tags:
  1415. - menu
  1416. /menu/getBaseMenuById:
  1417. post:
  1418. consumes:
  1419. - application/json
  1420. parameters:
  1421. - description: 根据id获取菜单
  1422. in: body
  1423. name: data
  1424. required: true
  1425. schema:
  1426. $ref: '#/definitions/request.GetById'
  1427. produces:
  1428. - application/json
  1429. responses:
  1430. "200":
  1431. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1432. schema:
  1433. type: string
  1434. security:
  1435. - ApiKeyAuth: []
  1436. summary: 根据id获取菜单
  1437. tags:
  1438. - menu
  1439. /menu/getBaseMenuTree:
  1440. post:
  1441. parameters:
  1442. - description: 可以什么都不填
  1443. in: body
  1444. name: data
  1445. required: true
  1446. schema:
  1447. $ref: '#/definitions/request.RegisterAndLoginStruct'
  1448. produces:
  1449. - application/json
  1450. responses:
  1451. "200":
  1452. description: '{"success":true,"data":{},"msg":"返回成功"}'
  1453. schema:
  1454. type: string
  1455. security:
  1456. - ApiKeyAuth: []
  1457. summary: 获取用户动态路由
  1458. tags:
  1459. - authorityAndMenu
  1460. /menu/getMenu:
  1461. post:
  1462. parameters:
  1463. - description: 可以什么都不填
  1464. in: body
  1465. name: data
  1466. required: true
  1467. schema:
  1468. $ref: '#/definitions/request.RegisterAndLoginStruct'
  1469. produces:
  1470. - application/json
  1471. responses:
  1472. "200":
  1473. description: '{"success":true,"data":{},"msg":"返回成功"}'
  1474. schema:
  1475. type: string
  1476. security:
  1477. - ApiKeyAuth: []
  1478. summary: 获取用户动态路由
  1479. tags:
  1480. - authorityAndMenu
  1481. /menu/getMenuList:
  1482. post:
  1483. consumes:
  1484. - application/json
  1485. parameters:
  1486. - description: 分页获取基础menu列表
  1487. in: body
  1488. name: data
  1489. required: true
  1490. schema:
  1491. $ref: '#/definitions/request.PageInfo'
  1492. produces:
  1493. - application/json
  1494. responses:
  1495. "200":
  1496. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1497. schema:
  1498. type: string
  1499. security:
  1500. - ApiKeyAuth: []
  1501. summary: 分页获取基础menu列表
  1502. tags:
  1503. - menu
  1504. /menu/updateBaseMenu:
  1505. post:
  1506. consumes:
  1507. - application/json
  1508. parameters:
  1509. - description: 更新菜单
  1510. in: body
  1511. name: data
  1512. required: true
  1513. schema:
  1514. $ref: '#/definitions/model.SysBaseMenu'
  1515. produces:
  1516. - application/json
  1517. responses:
  1518. "200":
  1519. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1520. schema:
  1521. type: string
  1522. security:
  1523. - ApiKeyAuth: []
  1524. summary: 更新菜单
  1525. tags:
  1526. - menu
  1527. /simpleUploader/checkFileMd5:
  1528. get:
  1529. parameters:
  1530. - description: 测试文件是否已经存在和判断已经上传过的切片
  1531. in: query
  1532. name: md5
  1533. required: true
  1534. type: string
  1535. produces:
  1536. - application/json
  1537. responses:
  1538. "200":
  1539. description: '{"success":true,"data":{},"msg":"查询成功"}'
  1540. schema:
  1541. type: string
  1542. /simpleUploader/mergeFileMd5:
  1543. get:
  1544. parameters:
  1545. - description: 合并文件
  1546. in: query
  1547. name: md5
  1548. required: true
  1549. type: string
  1550. produces:
  1551. - application/json
  1552. responses:
  1553. "200":
  1554. description: '{"success":true,"data":{},"msg":"合并成功"}'
  1555. schema:
  1556. type: string
  1557. security:
  1558. - ApiKeyAuth: []
  1559. summary: 合并文件
  1560. tags:
  1561. - SimpleUploader
  1562. /simpleUploader/upload:
  1563. post:
  1564. consumes:
  1565. - multipart/form-data
  1566. parameters:
  1567. - description: 断点续传插件版示例
  1568. in: formData
  1569. name: file
  1570. required: true
  1571. type: file
  1572. produces:
  1573. - application/json
  1574. responses:
  1575. "200":
  1576. description: '{"success":true,"data":{},"msg":"上传成功"}'
  1577. schema:
  1578. type: string
  1579. security:
  1580. - ApiKeyAuth: []
  1581. summary: 断点续传插件版示例
  1582. tags:
  1583. - SimpleUploader
  1584. /sysDictionary/createSysDictionary:
  1585. post:
  1586. consumes:
  1587. - application/json
  1588. parameters:
  1589. - description: 创建SysDictionary
  1590. in: body
  1591. name: data
  1592. required: true
  1593. schema:
  1594. $ref: '#/definitions/model.SysDictionary'
  1595. produces:
  1596. - application/json
  1597. responses:
  1598. "200":
  1599. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1600. schema:
  1601. type: string
  1602. security:
  1603. - ApiKeyAuth: []
  1604. summary: 创建SysDictionary
  1605. tags:
  1606. - SysDictionary
  1607. /sysDictionary/deleteSysDictionary:
  1608. delete:
  1609. consumes:
  1610. - application/json
  1611. parameters:
  1612. - description: 删除SysDictionary
  1613. in: body
  1614. name: data
  1615. required: true
  1616. schema:
  1617. $ref: '#/definitions/model.SysDictionary'
  1618. produces:
  1619. - application/json
  1620. responses:
  1621. "200":
  1622. description: '{"success":true,"data":{},"msg":"删除成功"}'
  1623. schema:
  1624. type: string
  1625. security:
  1626. - ApiKeyAuth: []
  1627. summary: 删除SysDictionary
  1628. tags:
  1629. - SysDictionary
  1630. /sysDictionary/findSysDictionary:
  1631. get:
  1632. consumes:
  1633. - application/json
  1634. parameters:
  1635. - description: 用id查询SysDictionary
  1636. in: body
  1637. name: data
  1638. required: true
  1639. schema:
  1640. $ref: '#/definitions/model.SysDictionary'
  1641. produces:
  1642. - application/json
  1643. responses:
  1644. "200":
  1645. description: '{"success":true,"data":{},"msg":"查询成功"}'
  1646. schema:
  1647. type: string
  1648. security:
  1649. - ApiKeyAuth: []
  1650. summary: 用id查询SysDictionary
  1651. tags:
  1652. - SysDictionary
  1653. /sysDictionary/getSysDictionaryList:
  1654. get:
  1655. consumes:
  1656. - application/json
  1657. parameters:
  1658. - description: 分页获取SysDictionary列表
  1659. in: body
  1660. name: data
  1661. required: true
  1662. schema:
  1663. $ref: '#/definitions/request.SysDictionarySearch'
  1664. produces:
  1665. - application/json
  1666. responses:
  1667. "200":
  1668. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1669. schema:
  1670. type: string
  1671. security:
  1672. - ApiKeyAuth: []
  1673. summary: 分页获取SysDictionary列表
  1674. tags:
  1675. - SysDictionary
  1676. /sysDictionary/updateSysDictionary:
  1677. put:
  1678. consumes:
  1679. - application/json
  1680. parameters:
  1681. - description: 更新SysDictionary
  1682. in: body
  1683. name: data
  1684. required: true
  1685. schema:
  1686. $ref: '#/definitions/model.SysDictionary'
  1687. produces:
  1688. - application/json
  1689. responses:
  1690. "200":
  1691. description: '{"success":true,"data":{},"msg":"更新成功"}'
  1692. schema:
  1693. type: string
  1694. security:
  1695. - ApiKeyAuth: []
  1696. summary: 更新SysDictionary
  1697. tags:
  1698. - SysDictionary
  1699. /sysDictionaryDetail/createSysDictionaryDetail:
  1700. post:
  1701. consumes:
  1702. - application/json
  1703. parameters:
  1704. - description: 创建SysDictionaryDetail
  1705. in: body
  1706. name: data
  1707. required: true
  1708. schema:
  1709. $ref: '#/definitions/model.SysDictionaryDetail'
  1710. produces:
  1711. - application/json
  1712. responses:
  1713. "200":
  1714. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1715. schema:
  1716. type: string
  1717. security:
  1718. - ApiKeyAuth: []
  1719. summary: 创建SysDictionaryDetail
  1720. tags:
  1721. - SysDictionaryDetail
  1722. /sysDictionaryDetail/deleteSysDictionaryDetail:
  1723. delete:
  1724. consumes:
  1725. - application/json
  1726. parameters:
  1727. - description: 删除SysDictionaryDetail
  1728. in: body
  1729. name: data
  1730. required: true
  1731. schema:
  1732. $ref: '#/definitions/model.SysDictionaryDetail'
  1733. produces:
  1734. - application/json
  1735. responses:
  1736. "200":
  1737. description: '{"success":true,"data":{},"msg":"删除成功"}'
  1738. schema:
  1739. type: string
  1740. security:
  1741. - ApiKeyAuth: []
  1742. summary: 删除SysDictionaryDetail
  1743. tags:
  1744. - SysDictionaryDetail
  1745. /sysDictionaryDetail/findSysDictionaryDetail:
  1746. get:
  1747. consumes:
  1748. - application/json
  1749. parameters:
  1750. - description: 用id查询SysDictionaryDetail
  1751. in: body
  1752. name: data
  1753. required: true
  1754. schema:
  1755. $ref: '#/definitions/model.SysDictionaryDetail'
  1756. produces:
  1757. - application/json
  1758. responses:
  1759. "200":
  1760. description: '{"success":true,"data":{},"msg":"查询成功"}'
  1761. schema:
  1762. type: string
  1763. security:
  1764. - ApiKeyAuth: []
  1765. summary: 用id查询SysDictionaryDetail
  1766. tags:
  1767. - SysDictionaryDetail
  1768. /sysDictionaryDetail/getSysDictionaryDetailList:
  1769. get:
  1770. consumes:
  1771. - application/json
  1772. parameters:
  1773. - description: 分页获取SysDictionaryDetail列表
  1774. in: body
  1775. name: data
  1776. required: true
  1777. schema:
  1778. $ref: '#/definitions/request.SysDictionaryDetailSearch'
  1779. produces:
  1780. - application/json
  1781. responses:
  1782. "200":
  1783. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1784. schema:
  1785. type: string
  1786. security:
  1787. - ApiKeyAuth: []
  1788. summary: 分页获取SysDictionaryDetail列表
  1789. tags:
  1790. - SysDictionaryDetail
  1791. /sysDictionaryDetail/updateSysDictionaryDetail:
  1792. put:
  1793. consumes:
  1794. - application/json
  1795. parameters:
  1796. - description: 更新SysDictionaryDetail
  1797. in: body
  1798. name: data
  1799. required: true
  1800. schema:
  1801. $ref: '#/definitions/model.SysDictionaryDetail'
  1802. produces:
  1803. - application/json
  1804. responses:
  1805. "200":
  1806. description: '{"success":true,"data":{},"msg":"更新成功"}'
  1807. schema:
  1808. type: string
  1809. security:
  1810. - ApiKeyAuth: []
  1811. summary: 更新SysDictionaryDetail
  1812. tags:
  1813. - SysDictionaryDetail
  1814. /sysOperationRecord/createSysOperationRecord:
  1815. post:
  1816. consumes:
  1817. - application/json
  1818. parameters:
  1819. - description: 创建SysOperationRecord
  1820. in: body
  1821. name: data
  1822. required: true
  1823. schema:
  1824. $ref: '#/definitions/model.SysOperationRecord'
  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: 创建SysOperationRecord
  1835. tags:
  1836. - SysOperationRecord
  1837. /sysOperationRecord/deleteSysOperationRecord:
  1838. delete:
  1839. consumes:
  1840. - application/json
  1841. parameters:
  1842. - description: 删除SysOperationRecord
  1843. in: body
  1844. name: data
  1845. required: true
  1846. schema:
  1847. $ref: '#/definitions/model.SysOperationRecord'
  1848. produces:
  1849. - application/json
  1850. responses:
  1851. "200":
  1852. description: '{"success":true,"data":{},"msg":"删除成功"}'
  1853. schema:
  1854. type: string
  1855. security:
  1856. - ApiKeyAuth: []
  1857. summary: 删除SysOperationRecord
  1858. tags:
  1859. - SysOperationRecord
  1860. /sysOperationRecord/deleteSysOperationRecordByIds:
  1861. delete:
  1862. consumes:
  1863. - application/json
  1864. parameters:
  1865. - description: 批量删除SysOperationRecord
  1866. in: body
  1867. name: data
  1868. required: true
  1869. schema:
  1870. $ref: '#/definitions/request.IdsReq'
  1871. produces:
  1872. - application/json
  1873. responses:
  1874. "200":
  1875. description: '{"success":true,"data":{},"msg":"删除成功"}'
  1876. schema:
  1877. type: string
  1878. security:
  1879. - ApiKeyAuth: []
  1880. summary: 批量删除SysOperationRecord
  1881. tags:
  1882. - SysOperationRecord
  1883. /sysOperationRecord/findSysOperationRecord:
  1884. get:
  1885. consumes:
  1886. - application/json
  1887. parameters:
  1888. - description: 用id查询SysOperationRecord
  1889. in: body
  1890. name: data
  1891. required: true
  1892. schema:
  1893. $ref: '#/definitions/model.SysOperationRecord'
  1894. produces:
  1895. - application/json
  1896. responses:
  1897. "200":
  1898. description: '{"success":true,"data":{},"msg":"查询成功"}'
  1899. schema:
  1900. type: string
  1901. security:
  1902. - ApiKeyAuth: []
  1903. summary: 用id查询SysOperationRecord
  1904. tags:
  1905. - SysOperationRecord
  1906. /sysOperationRecord/getSysOperationRecordList:
  1907. get:
  1908. consumes:
  1909. - application/json
  1910. parameters:
  1911. - description: 分页获取SysOperationRecord列表
  1912. in: body
  1913. name: data
  1914. required: true
  1915. schema:
  1916. $ref: '#/definitions/request.SysOperationRecordSearch'
  1917. produces:
  1918. - application/json
  1919. responses:
  1920. "200":
  1921. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1922. schema:
  1923. type: string
  1924. security:
  1925. - ApiKeyAuth: []
  1926. summary: 分页获取SysOperationRecord列表
  1927. tags:
  1928. - SysOperationRecord
  1929. /system/ReloadSystem:
  1930. post:
  1931. parameters:
  1932. - description: 设置配置文件内容
  1933. in: body
  1934. name: data
  1935. required: true
  1936. schema:
  1937. $ref: '#/definitions/model.System'
  1938. produces:
  1939. - application/json
  1940. responses:
  1941. "200":
  1942. description: '{"success":true,"data":{},"msg":"返回成功"}'
  1943. schema:
  1944. type: string
  1945. security:
  1946. - ApiKeyAuth: []
  1947. summary: 设置配置文件内容
  1948. tags:
  1949. - system
  1950. /system/getServerInfo:
  1951. post:
  1952. produces:
  1953. - application/json
  1954. responses:
  1955. "200":
  1956. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1957. schema:
  1958. type: string
  1959. security:
  1960. - ApiKeyAuth: []
  1961. summary: 获取服务器信息
  1962. tags:
  1963. - system
  1964. /system/getSystemConfig:
  1965. post:
  1966. produces:
  1967. - application/json
  1968. responses:
  1969. "200":
  1970. description: '{"success":true,"data":{},"msg":"返回成功"}'
  1971. schema:
  1972. type: string
  1973. security:
  1974. - ApiKeyAuth: []
  1975. summary: 获取配置文件内容
  1976. tags:
  1977. - system
  1978. /system/setSystemConfig:
  1979. post:
  1980. parameters:
  1981. - description: 设置配置文件内容
  1982. in: body
  1983. name: data
  1984. required: true
  1985. schema:
  1986. $ref: '#/definitions/model.System'
  1987. produces:
  1988. - application/json
  1989. responses:
  1990. "200":
  1991. description: '{"success":true,"data":{},"msg":"返回成功"}'
  1992. schema:
  1993. type: string
  1994. security:
  1995. - ApiKeyAuth: []
  1996. summary: 设置配置文件内容
  1997. tags:
  1998. - system
  1999. /user/changePassword:
  2000. put:
  2001. parameters:
  2002. - description: 用户修改密码
  2003. in: body
  2004. name: data
  2005. required: true
  2006. schema:
  2007. $ref: '#/definitions/request.ChangePasswordStruct'
  2008. produces:
  2009. - application/json
  2010. responses:
  2011. "200":
  2012. description: '{"success":true,"data":{},"msg":"修改成功"}'
  2013. schema:
  2014. type: string
  2015. security:
  2016. - ApiKeyAuth: []
  2017. summary: 用户修改密码
  2018. tags:
  2019. - SysUser
  2020. /user/deleteUser:
  2021. delete:
  2022. consumes:
  2023. - application/json
  2024. parameters:
  2025. - description: 删除用户
  2026. in: body
  2027. name: data
  2028. required: true
  2029. schema:
  2030. $ref: '#/definitions/request.GetById'
  2031. produces:
  2032. - application/json
  2033. responses:
  2034. "200":
  2035. description: '{"success":true,"data":{},"msg":"修改成功"}'
  2036. schema:
  2037. type: string
  2038. security:
  2039. - ApiKeyAuth: []
  2040. summary: 删除用户
  2041. tags:
  2042. - SysUser
  2043. /user/getUserList:
  2044. post:
  2045. consumes:
  2046. - application/json
  2047. parameters:
  2048. - description: 分页获取用户列表
  2049. in: body
  2050. name: data
  2051. required: true
  2052. schema:
  2053. $ref: '#/definitions/request.PageInfo'
  2054. produces:
  2055. - application/json
  2056. responses:
  2057. "200":
  2058. description: '{"success":true,"data":{},"msg":"获取成功"}'
  2059. schema:
  2060. type: string
  2061. security:
  2062. - ApiKeyAuth: []
  2063. summary: 分页获取用户列表
  2064. tags:
  2065. - SysUser
  2066. /user/register:
  2067. post:
  2068. parameters:
  2069. - description: 用户注册接口
  2070. in: body
  2071. name: data
  2072. required: true
  2073. schema:
  2074. $ref: '#/definitions/model.SysUser'
  2075. produces:
  2076. - application/json
  2077. responses:
  2078. "200":
  2079. description: '{"success":true,"data":{},"msg":"注册成功"}'
  2080. schema:
  2081. type: string
  2082. summary: 用户注册账号
  2083. tags:
  2084. - Base
  2085. /user/setUserAuthority:
  2086. post:
  2087. consumes:
  2088. - application/json
  2089. parameters:
  2090. - description: 设置用户权限
  2091. in: body
  2092. name: data
  2093. required: true
  2094. schema:
  2095. $ref: '#/definitions/request.SetUserAuth'
  2096. produces:
  2097. - application/json
  2098. responses:
  2099. "200":
  2100. description: '{"success":true,"data":{},"msg":"修改成功"}'
  2101. schema:
  2102. type: string
  2103. security:
  2104. - ApiKeyAuth: []
  2105. summary: 设置用户权限
  2106. tags:
  2107. - SysUser
  2108. /user/setUserInfo:
  2109. put:
  2110. consumes:
  2111. - application/json
  2112. parameters:
  2113. - description: 删除用户
  2114. in: body
  2115. name: data
  2116. required: true
  2117. schema:
  2118. $ref: '#/definitions/model.SysUser'
  2119. produces:
  2120. - application/json
  2121. responses:
  2122. "200":
  2123. description: '{"success":true,"data":{},"msg":"修改成功"}'
  2124. schema:
  2125. type: string
  2126. security:
  2127. - ApiKeyAuth: []
  2128. summary: 删除用户
  2129. tags:
  2130. - SysUser
  2131. /workflow/createWorkFlow:
  2132. post:
  2133. parameters:
  2134. - description: 注册工作流接口
  2135. in: body
  2136. name: data
  2137. required: true
  2138. schema:
  2139. $ref: '#/definitions/model.SysWorkflow'
  2140. produces:
  2141. - application/json
  2142. responses:
  2143. "200":
  2144. description: '{"success":true,"data":{},"msg":"注册成功"}'
  2145. schema:
  2146. type: string
  2147. summary: 注册工作流
  2148. tags:
  2149. - workflow
  2150. securityDefinitions:
  2151. ApiKeyAuth:
  2152. in: header
  2153. name: x-token
  2154. type: apiKey
  2155. swagger: "2.0"