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.

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