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.

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