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.

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