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.

3243 lines
101 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
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. "/sysDictionary/createSysDictionary": {
  1521. "post": {
  1522. "security": [
  1523. {
  1524. "ApiKeyAuth": []
  1525. }
  1526. ],
  1527. "consumes": [
  1528. "application/json"
  1529. ],
  1530. "produces": [
  1531. "application/json"
  1532. ],
  1533. "tags": [
  1534. "SysDictionary"
  1535. ],
  1536. "summary": "创建SysDictionary",
  1537. "parameters": [
  1538. {
  1539. "description": "创建SysDictionary",
  1540. "name": "data",
  1541. "in": "body",
  1542. "required": true,
  1543. "schema": {
  1544. "type": "object",
  1545. "$ref": "#/definitions/model.SysDictionary"
  1546. }
  1547. }
  1548. ],
  1549. "responses": {
  1550. "200": {
  1551. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  1552. "schema": {
  1553. "type": "string"
  1554. }
  1555. }
  1556. }
  1557. }
  1558. },
  1559. "/sysDictionary/deleteSysDictionary": {
  1560. "delete": {
  1561. "security": [
  1562. {
  1563. "ApiKeyAuth": []
  1564. }
  1565. ],
  1566. "consumes": [
  1567. "application/json"
  1568. ],
  1569. "produces": [
  1570. "application/json"
  1571. ],
  1572. "tags": [
  1573. "SysDictionary"
  1574. ],
  1575. "summary": "删除SysDictionary",
  1576. "parameters": [
  1577. {
  1578. "description": "删除SysDictionary",
  1579. "name": "data",
  1580. "in": "body",
  1581. "required": true,
  1582. "schema": {
  1583. "type": "object",
  1584. "$ref": "#/definitions/model.SysDictionary"
  1585. }
  1586. }
  1587. ],
  1588. "responses": {
  1589. "200": {
  1590. "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
  1591. "schema": {
  1592. "type": "string"
  1593. }
  1594. }
  1595. }
  1596. }
  1597. },
  1598. "/sysDictionary/findSysDictionary": {
  1599. "get": {
  1600. "security": [
  1601. {
  1602. "ApiKeyAuth": []
  1603. }
  1604. ],
  1605. "consumes": [
  1606. "application/json"
  1607. ],
  1608. "produces": [
  1609. "application/json"
  1610. ],
  1611. "tags": [
  1612. "SysDictionary"
  1613. ],
  1614. "summary": "用id查询SysDictionary",
  1615. "parameters": [
  1616. {
  1617. "description": "用id查询SysDictionary",
  1618. "name": "data",
  1619. "in": "body",
  1620. "required": true,
  1621. "schema": {
  1622. "type": "object",
  1623. "$ref": "#/definitions/model.SysDictionary"
  1624. }
  1625. }
  1626. ],
  1627. "responses": {
  1628. "200": {
  1629. "description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
  1630. "schema": {
  1631. "type": "string"
  1632. }
  1633. }
  1634. }
  1635. }
  1636. },
  1637. "/sysDictionary/getSysDictionaryList": {
  1638. "get": {
  1639. "security": [
  1640. {
  1641. "ApiKeyAuth": []
  1642. }
  1643. ],
  1644. "consumes": [
  1645. "application/json"
  1646. ],
  1647. "produces": [
  1648. "application/json"
  1649. ],
  1650. "tags": [
  1651. "SysDictionary"
  1652. ],
  1653. "summary": "分页获取SysDictionary列表",
  1654. "parameters": [
  1655. {
  1656. "description": "分页获取SysDictionary列表",
  1657. "name": "data",
  1658. "in": "body",
  1659. "required": true,
  1660. "schema": {
  1661. "type": "object",
  1662. "$ref": "#/definitions/request.SysDictionarySearch"
  1663. }
  1664. }
  1665. ],
  1666. "responses": {
  1667. "200": {
  1668. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  1669. "schema": {
  1670. "type": "string"
  1671. }
  1672. }
  1673. }
  1674. }
  1675. },
  1676. "/sysDictionary/updateSysDictionary": {
  1677. "put": {
  1678. "security": [
  1679. {
  1680. "ApiKeyAuth": []
  1681. }
  1682. ],
  1683. "consumes": [
  1684. "application/json"
  1685. ],
  1686. "produces": [
  1687. "application/json"
  1688. ],
  1689. "tags": [
  1690. "SysDictionary"
  1691. ],
  1692. "summary": "更新SysDictionary",
  1693. "parameters": [
  1694. {
  1695. "description": "更新SysDictionary",
  1696. "name": "data",
  1697. "in": "body",
  1698. "required": true,
  1699. "schema": {
  1700. "type": "object",
  1701. "$ref": "#/definitions/model.SysDictionary"
  1702. }
  1703. }
  1704. ],
  1705. "responses": {
  1706. "200": {
  1707. "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
  1708. "schema": {
  1709. "type": "string"
  1710. }
  1711. }
  1712. }
  1713. }
  1714. },
  1715. "/sysDictionaryDetail/createSysDictionaryDetail": {
  1716. "post": {
  1717. "security": [
  1718. {
  1719. "ApiKeyAuth": []
  1720. }
  1721. ],
  1722. "consumes": [
  1723. "application/json"
  1724. ],
  1725. "produces": [
  1726. "application/json"
  1727. ],
  1728. "tags": [
  1729. "SysDictionaryDetail"
  1730. ],
  1731. "summary": "创建SysDictionaryDetail",
  1732. "parameters": [
  1733. {
  1734. "description": "创建SysDictionaryDetail",
  1735. "name": "data",
  1736. "in": "body",
  1737. "required": true,
  1738. "schema": {
  1739. "type": "object",
  1740. "$ref": "#/definitions/model.SysDictionaryDetail"
  1741. }
  1742. }
  1743. ],
  1744. "responses": {
  1745. "200": {
  1746. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  1747. "schema": {
  1748. "type": "string"
  1749. }
  1750. }
  1751. }
  1752. }
  1753. },
  1754. "/sysDictionaryDetail/deleteSysDictionaryDetail": {
  1755. "delete": {
  1756. "security": [
  1757. {
  1758. "ApiKeyAuth": []
  1759. }
  1760. ],
  1761. "consumes": [
  1762. "application/json"
  1763. ],
  1764. "produces": [
  1765. "application/json"
  1766. ],
  1767. "tags": [
  1768. "SysDictionaryDetail"
  1769. ],
  1770. "summary": "删除SysDictionaryDetail",
  1771. "parameters": [
  1772. {
  1773. "description": "删除SysDictionaryDetail",
  1774. "name": "data",
  1775. "in": "body",
  1776. "required": true,
  1777. "schema": {
  1778. "type": "object",
  1779. "$ref": "#/definitions/model.SysDictionaryDetail"
  1780. }
  1781. }
  1782. ],
  1783. "responses": {
  1784. "200": {
  1785. "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
  1786. "schema": {
  1787. "type": "string"
  1788. }
  1789. }
  1790. }
  1791. }
  1792. },
  1793. "/sysDictionaryDetail/findSysDictionaryDetail": {
  1794. "get": {
  1795. "security": [
  1796. {
  1797. "ApiKeyAuth": []
  1798. }
  1799. ],
  1800. "consumes": [
  1801. "application/json"
  1802. ],
  1803. "produces": [
  1804. "application/json"
  1805. ],
  1806. "tags": [
  1807. "SysDictionaryDetail"
  1808. ],
  1809. "summary": "用id查询SysDictionaryDetail",
  1810. "parameters": [
  1811. {
  1812. "description": "用id查询SysDictionaryDetail",
  1813. "name": "data",
  1814. "in": "body",
  1815. "required": true,
  1816. "schema": {
  1817. "type": "object",
  1818. "$ref": "#/definitions/model.SysDictionaryDetail"
  1819. }
  1820. }
  1821. ],
  1822. "responses": {
  1823. "200": {
  1824. "description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
  1825. "schema": {
  1826. "type": "string"
  1827. }
  1828. }
  1829. }
  1830. }
  1831. },
  1832. "/sysDictionaryDetail/getSysDictionaryDetailList": {
  1833. "get": {
  1834. "security": [
  1835. {
  1836. "ApiKeyAuth": []
  1837. }
  1838. ],
  1839. "consumes": [
  1840. "application/json"
  1841. ],
  1842. "produces": [
  1843. "application/json"
  1844. ],
  1845. "tags": [
  1846. "SysDictionaryDetail"
  1847. ],
  1848. "summary": "分页获取SysDictionaryDetail列表",
  1849. "parameters": [
  1850. {
  1851. "description": "分页获取SysDictionaryDetail列表",
  1852. "name": "data",
  1853. "in": "body",
  1854. "required": true,
  1855. "schema": {
  1856. "type": "object",
  1857. "$ref": "#/definitions/request.SysDictionaryDetailSearch"
  1858. }
  1859. }
  1860. ],
  1861. "responses": {
  1862. "200": {
  1863. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  1864. "schema": {
  1865. "type": "string"
  1866. }
  1867. }
  1868. }
  1869. }
  1870. },
  1871. "/sysDictionaryDetail/updateSysDictionaryDetail": {
  1872. "put": {
  1873. "security": [
  1874. {
  1875. "ApiKeyAuth": []
  1876. }
  1877. ],
  1878. "consumes": [
  1879. "application/json"
  1880. ],
  1881. "produces": [
  1882. "application/json"
  1883. ],
  1884. "tags": [
  1885. "SysDictionaryDetail"
  1886. ],
  1887. "summary": "更新SysDictionaryDetail",
  1888. "parameters": [
  1889. {
  1890. "description": "更新SysDictionaryDetail",
  1891. "name": "data",
  1892. "in": "body",
  1893. "required": true,
  1894. "schema": {
  1895. "type": "object",
  1896. "$ref": "#/definitions/model.SysDictionaryDetail"
  1897. }
  1898. }
  1899. ],
  1900. "responses": {
  1901. "200": {
  1902. "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
  1903. "schema": {
  1904. "type": "string"
  1905. }
  1906. }
  1907. }
  1908. }
  1909. },
  1910. "/sysOperationRecord/createSysOperationRecord": {
  1911. "post": {
  1912. "security": [
  1913. {
  1914. "ApiKeyAuth": []
  1915. }
  1916. ],
  1917. "consumes": [
  1918. "application/json"
  1919. ],
  1920. "produces": [
  1921. "application/json"
  1922. ],
  1923. "tags": [
  1924. "SysOperationRecord"
  1925. ],
  1926. "summary": "创建SysOperationRecord",
  1927. "parameters": [
  1928. {
  1929. "description": "创建SysOperationRecord",
  1930. "name": "data",
  1931. "in": "body",
  1932. "required": true,
  1933. "schema": {
  1934. "type": "object",
  1935. "$ref": "#/definitions/model.SysOperationRecord"
  1936. }
  1937. }
  1938. ],
  1939. "responses": {
  1940. "200": {
  1941. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  1942. "schema": {
  1943. "type": "string"
  1944. }
  1945. }
  1946. }
  1947. }
  1948. },
  1949. "/sysOperationRecord/deleteSysOperationRecord": {
  1950. "delete": {
  1951. "security": [
  1952. {
  1953. "ApiKeyAuth": []
  1954. }
  1955. ],
  1956. "consumes": [
  1957. "application/json"
  1958. ],
  1959. "produces": [
  1960. "application/json"
  1961. ],
  1962. "tags": [
  1963. "SysOperationRecord"
  1964. ],
  1965. "summary": "删除SysOperationRecord",
  1966. "parameters": [
  1967. {
  1968. "description": "删除SysOperationRecord",
  1969. "name": "data",
  1970. "in": "body",
  1971. "required": true,
  1972. "schema": {
  1973. "type": "object",
  1974. "$ref": "#/definitions/model.SysOperationRecord"
  1975. }
  1976. }
  1977. ],
  1978. "responses": {
  1979. "200": {
  1980. "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
  1981. "schema": {
  1982. "type": "string"
  1983. }
  1984. }
  1985. }
  1986. }
  1987. },
  1988. "/sysOperationRecord/findSysOperationRecord": {
  1989. "get": {
  1990. "security": [
  1991. {
  1992. "ApiKeyAuth": []
  1993. }
  1994. ],
  1995. "consumes": [
  1996. "application/json"
  1997. ],
  1998. "produces": [
  1999. "application/json"
  2000. ],
  2001. "tags": [
  2002. "SysOperationRecord"
  2003. ],
  2004. "summary": "用id查询SysOperationRecord",
  2005. "parameters": [
  2006. {
  2007. "description": "用id查询SysOperationRecord",
  2008. "name": "data",
  2009. "in": "body",
  2010. "required": true,
  2011. "schema": {
  2012. "type": "object",
  2013. "$ref": "#/definitions/model.SysOperationRecord"
  2014. }
  2015. }
  2016. ],
  2017. "responses": {
  2018. "200": {
  2019. "description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
  2020. "schema": {
  2021. "type": "string"
  2022. }
  2023. }
  2024. }
  2025. }
  2026. },
  2027. "/sysOperationRecord/getSysOperationRecordList": {
  2028. "get": {
  2029. "security": [
  2030. {
  2031. "ApiKeyAuth": []
  2032. }
  2033. ],
  2034. "consumes": [
  2035. "application/json"
  2036. ],
  2037. "produces": [
  2038. "application/json"
  2039. ],
  2040. "tags": [
  2041. "SysOperationRecord"
  2042. ],
  2043. "summary": "分页获取SysOperationRecord列表",
  2044. "parameters": [
  2045. {
  2046. "description": "分页获取SysOperationRecord列表",
  2047. "name": "data",
  2048. "in": "body",
  2049. "required": true,
  2050. "schema": {
  2051. "type": "object",
  2052. "$ref": "#/definitions/request.SysOperationRecordSearch"
  2053. }
  2054. }
  2055. ],
  2056. "responses": {
  2057. "200": {
  2058. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  2059. "schema": {
  2060. "type": "string"
  2061. }
  2062. }
  2063. }
  2064. }
  2065. },
  2066. "/sysOperationRecord/updateSysOperationRecord": {
  2067. "put": {
  2068. "security": [
  2069. {
  2070. "ApiKeyAuth": []
  2071. }
  2072. ],
  2073. "consumes": [
  2074. "application/json"
  2075. ],
  2076. "produces": [
  2077. "application/json"
  2078. ],
  2079. "tags": [
  2080. "SysOperationRecord"
  2081. ],
  2082. "summary": "更新SysOperationRecord",
  2083. "parameters": [
  2084. {
  2085. "description": "更新SysOperationRecord",
  2086. "name": "data",
  2087. "in": "body",
  2088. "required": true,
  2089. "schema": {
  2090. "type": "object",
  2091. "$ref": "#/definitions/model.SysOperationRecord"
  2092. }
  2093. }
  2094. ],
  2095. "responses": {
  2096. "200": {
  2097. "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
  2098. "schema": {
  2099. "type": "string"
  2100. }
  2101. }
  2102. }
  2103. }
  2104. },
  2105. "/system/ReloadSystem": {
  2106. "post": {
  2107. "security": [
  2108. {
  2109. "ApiKeyAuth": []
  2110. }
  2111. ],
  2112. "produces": [
  2113. "application/json"
  2114. ],
  2115. "tags": [
  2116. "system"
  2117. ],
  2118. "summary": "设置配置文件内容",
  2119. "parameters": [
  2120. {
  2121. "description": "设置配置文件内容",
  2122. "name": "data",
  2123. "in": "body",
  2124. "required": true,
  2125. "schema": {
  2126. "type": "object",
  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/getSystemConfig": {
  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/setSystemConfig": {
  2166. "post": {
  2167. "security": [
  2168. {
  2169. "ApiKeyAuth": []
  2170. }
  2171. ],
  2172. "produces": [
  2173. "application/json"
  2174. ],
  2175. "tags": [
  2176. "system"
  2177. ],
  2178. "summary": "设置配置文件内容",
  2179. "parameters": [
  2180. {
  2181. "description": "设置配置文件内容",
  2182. "name": "data",
  2183. "in": "body",
  2184. "required": true,
  2185. "schema": {
  2186. "type": "object",
  2187. "$ref": "#/definitions/model.System"
  2188. }
  2189. }
  2190. ],
  2191. "responses": {
  2192. "200": {
  2193. "description": "{\"success\":true,\"data\":{},\"msg\":\"返回成功\"}",
  2194. "schema": {
  2195. "type": "string"
  2196. }
  2197. }
  2198. }
  2199. }
  2200. },
  2201. "/user/changePassword": {
  2202. "put": {
  2203. "security": [
  2204. {
  2205. "ApiKeyAuth": []
  2206. }
  2207. ],
  2208. "produces": [
  2209. "application/json"
  2210. ],
  2211. "tags": [
  2212. "SysUser"
  2213. ],
  2214. "summary": "用户修改密码",
  2215. "parameters": [
  2216. {
  2217. "description": "用户修改密码",
  2218. "name": "data",
  2219. "in": "body",
  2220. "required": true,
  2221. "schema": {
  2222. "type": "object",
  2223. "$ref": "#/definitions/request.ChangePasswordStruct"
  2224. }
  2225. }
  2226. ],
  2227. "responses": {
  2228. "200": {
  2229. "description": "{\"success\":true,\"data\":{},\"msg\":\"修改成功\"}",
  2230. "schema": {
  2231. "type": "string"
  2232. }
  2233. }
  2234. }
  2235. }
  2236. },
  2237. "/user/deleteUser": {
  2238. "delete": {
  2239. "security": [
  2240. {
  2241. "ApiKeyAuth": []
  2242. }
  2243. ],
  2244. "consumes": [
  2245. "application/json"
  2246. ],
  2247. "produces": [
  2248. "application/json"
  2249. ],
  2250. "tags": [
  2251. "SysUser"
  2252. ],
  2253. "summary": "删除用户",
  2254. "parameters": [
  2255. {
  2256. "description": "删除用户",
  2257. "name": "data",
  2258. "in": "body",
  2259. "required": true,
  2260. "schema": {
  2261. "type": "object",
  2262. "$ref": "#/definitions/request.GetById"
  2263. }
  2264. }
  2265. ],
  2266. "responses": {
  2267. "200": {
  2268. "description": "{\"success\":true,\"data\":{},\"msg\":\"修改成功\"}",
  2269. "schema": {
  2270. "type": "string"
  2271. }
  2272. }
  2273. }
  2274. }
  2275. },
  2276. "/user/getUserList": {
  2277. "post": {
  2278. "security": [
  2279. {
  2280. "ApiKeyAuth": []
  2281. }
  2282. ],
  2283. "consumes": [
  2284. "application/json"
  2285. ],
  2286. "produces": [
  2287. "application/json"
  2288. ],
  2289. "tags": [
  2290. "SysUser"
  2291. ],
  2292. "summary": "分页获取用户列表",
  2293. "parameters": [
  2294. {
  2295. "description": "分页获取用户列表",
  2296. "name": "data",
  2297. "in": "body",
  2298. "required": true,
  2299. "schema": {
  2300. "type": "object",
  2301. "$ref": "#/definitions/request.PageInfo"
  2302. }
  2303. }
  2304. ],
  2305. "responses": {
  2306. "200": {
  2307. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  2308. "schema": {
  2309. "type": "string"
  2310. }
  2311. }
  2312. }
  2313. }
  2314. },
  2315. "/user/setUserAuthority": {
  2316. "post": {
  2317. "security": [
  2318. {
  2319. "ApiKeyAuth": []
  2320. }
  2321. ],
  2322. "consumes": [
  2323. "application/json"
  2324. ],
  2325. "produces": [
  2326. "application/json"
  2327. ],
  2328. "tags": [
  2329. "SysUser"
  2330. ],
  2331. "summary": "设置用户权限",
  2332. "parameters": [
  2333. {
  2334. "description": "设置用户权限",
  2335. "name": "data",
  2336. "in": "body",
  2337. "required": true,
  2338. "schema": {
  2339. "type": "object",
  2340. "$ref": "#/definitions/request.SetUserAuth"
  2341. }
  2342. }
  2343. ],
  2344. "responses": {
  2345. "200": {
  2346. "description": "{\"success\":true,\"data\":{},\"msg\":\"修改成功\"}",
  2347. "schema": {
  2348. "type": "string"
  2349. }
  2350. }
  2351. }
  2352. }
  2353. },
  2354. "/user/uploadHeaderImg": {
  2355. "post": {
  2356. "security": [
  2357. {
  2358. "ApiKeyAuth": []
  2359. }
  2360. ],
  2361. "consumes": [
  2362. "multipart/form-data"
  2363. ],
  2364. "produces": [
  2365. "application/json"
  2366. ],
  2367. "tags": [
  2368. "SysUser"
  2369. ],
  2370. "summary": "用户上传头像",
  2371. "parameters": [
  2372. {
  2373. "type": "file",
  2374. "description": "用户上传头像",
  2375. "name": "headerImg",
  2376. "in": "formData",
  2377. "required": true
  2378. },
  2379. {
  2380. "type": "string",
  2381. "description": "用户上传头像",
  2382. "name": "username",
  2383. "in": "formData",
  2384. "required": true
  2385. }
  2386. ],
  2387. "responses": {
  2388. "200": {
  2389. "description": "{\"success\":true,\"data\":{},\"msg\":\"上传成功\"}",
  2390. "schema": {
  2391. "type": "string"
  2392. }
  2393. }
  2394. }
  2395. }
  2396. },
  2397. "/workflow/createWorkFlow": {
  2398. "post": {
  2399. "produces": [
  2400. "application/json"
  2401. ],
  2402. "tags": [
  2403. "workflow"
  2404. ],
  2405. "summary": "注册工作流",
  2406. "parameters": [
  2407. {
  2408. "description": "注册工作流接口",
  2409. "name": "data",
  2410. "in": "body",
  2411. "required": true,
  2412. "schema": {
  2413. "type": "object",
  2414. "$ref": "#/definitions/model.SysWorkflow"
  2415. }
  2416. }
  2417. ],
  2418. "responses": {
  2419. "200": {
  2420. "description": "{\"success\":true,\"data\":{},\"msg\":\"注册成功\"}",
  2421. "schema": {
  2422. "type": "string"
  2423. }
  2424. }
  2425. }
  2426. }
  2427. }
  2428. },
  2429. "definitions": {
  2430. "config.Captcha": {
  2431. "type": "object",
  2432. "properties": {
  2433. "imgHeight": {
  2434. "type": "integer"
  2435. },
  2436. "imgWidth": {
  2437. "type": "integer"
  2438. },
  2439. "keyLong": {
  2440. "type": "integer"
  2441. }
  2442. }
  2443. },
  2444. "config.Casbin": {
  2445. "type": "object",
  2446. "properties": {
  2447. "modelPath": {
  2448. "type": "string"
  2449. }
  2450. }
  2451. },
  2452. "config.JWT": {
  2453. "type": "object",
  2454. "properties": {
  2455. "signingKey": {
  2456. "type": "string"
  2457. }
  2458. }
  2459. },
  2460. "config.Log": {
  2461. "type": "object",
  2462. "properties": {
  2463. "file": {
  2464. "type": "string"
  2465. },
  2466. "logFile": {
  2467. "type": "boolean"
  2468. },
  2469. "prefix": {
  2470. "type": "string"
  2471. },
  2472. "stdout": {
  2473. "type": "string"
  2474. }
  2475. }
  2476. },
  2477. "config.Mysql": {
  2478. "type": "object",
  2479. "properties": {
  2480. "config": {
  2481. "type": "string"
  2482. },
  2483. "dbname": {
  2484. "type": "string"
  2485. },
  2486. "logMode": {
  2487. "type": "boolean"
  2488. },
  2489. "maxIdleConns": {
  2490. "type": "integer"
  2491. },
  2492. "maxOpenConns": {
  2493. "type": "integer"
  2494. },
  2495. "password": {
  2496. "type": "string"
  2497. },
  2498. "path": {
  2499. "type": "string"
  2500. },
  2501. "username": {
  2502. "type": "string"
  2503. }
  2504. }
  2505. },
  2506. "config.Qiniu": {
  2507. "type": "object",
  2508. "properties": {
  2509. "accessKey": {
  2510. "type": "string"
  2511. },
  2512. "bucket": {
  2513. "type": "string"
  2514. },
  2515. "imgPath": {
  2516. "type": "string"
  2517. },
  2518. "secretKey": {
  2519. "type": "string"
  2520. }
  2521. }
  2522. },
  2523. "config.Redis": {
  2524. "type": "object",
  2525. "properties": {
  2526. "addr": {
  2527. "type": "string"
  2528. },
  2529. "db": {
  2530. "type": "integer"
  2531. },
  2532. "password": {
  2533. "type": "string"
  2534. }
  2535. }
  2536. },
  2537. "config.Server": {
  2538. "type": "object",
  2539. "properties": {
  2540. "captcha": {
  2541. "type": "object",
  2542. "$ref": "#/definitions/config.Captcha"
  2543. },
  2544. "casbin": {
  2545. "type": "object",
  2546. "$ref": "#/definitions/config.Casbin"
  2547. },
  2548. "jwt": {
  2549. "type": "object",
  2550. "$ref": "#/definitions/config.JWT"
  2551. },
  2552. "log": {
  2553. "type": "object",
  2554. "$ref": "#/definitions/config.Log"
  2555. },
  2556. "mysql": {
  2557. "type": "object",
  2558. "$ref": "#/definitions/config.Mysql"
  2559. },
  2560. "qiniu": {
  2561. "type": "object",
  2562. "$ref": "#/definitions/config.Qiniu"
  2563. },
  2564. "redis": {
  2565. "type": "object",
  2566. "$ref": "#/definitions/config.Redis"
  2567. },
  2568. "sqlite": {
  2569. "type": "object",
  2570. "$ref": "#/definitions/config.Sqlite"
  2571. },
  2572. "system": {
  2573. "type": "object",
  2574. "$ref": "#/definitions/config.System"
  2575. }
  2576. }
  2577. },
  2578. "config.Sqlite": {
  2579. "type": "object",
  2580. "properties": {
  2581. "config": {
  2582. "type": "string"
  2583. },
  2584. "logMode": {
  2585. "type": "boolean"
  2586. },
  2587. "password": {
  2588. "type": "string"
  2589. },
  2590. "path": {
  2591. "type": "string"
  2592. },
  2593. "username": {
  2594. "type": "string"
  2595. }
  2596. }
  2597. },
  2598. "config.System": {
  2599. "type": "object",
  2600. "properties": {
  2601. "addr": {
  2602. "type": "integer"
  2603. },
  2604. "dbType": {
  2605. "type": "string"
  2606. },
  2607. "env": {
  2608. "type": "string"
  2609. },
  2610. "useMultipoint": {
  2611. "type": "boolean"
  2612. }
  2613. }
  2614. },
  2615. "model.AutoCodeStruct": {
  2616. "type": "object",
  2617. "properties": {
  2618. "abbreviation": {
  2619. "type": "string"
  2620. },
  2621. "autoCreateApiToSql": {
  2622. "type": "boolean"
  2623. },
  2624. "description": {
  2625. "type": "string"
  2626. },
  2627. "fields": {
  2628. "type": "array",
  2629. "items": {
  2630. "$ref": "#/definitions/model.Field"
  2631. }
  2632. },
  2633. "packageName": {
  2634. "type": "string"
  2635. },
  2636. "structName": {
  2637. "type": "string"
  2638. },
  2639. "tableName": {
  2640. "type": "string"
  2641. }
  2642. }
  2643. },
  2644. "model.ExaCustomer": {
  2645. "type": "object",
  2646. "properties": {
  2647. "customerName": {
  2648. "type": "string"
  2649. },
  2650. "customerPhoneData": {
  2651. "type": "string"
  2652. },
  2653. "sysUser": {
  2654. "type": "object",
  2655. "$ref": "#/definitions/model.SysUser"
  2656. },
  2657. "sysUserAuthorityID": {
  2658. "type": "string"
  2659. },
  2660. "sysUserId": {
  2661. "type": "integer"
  2662. }
  2663. }
  2664. },
  2665. "model.ExaFileUploadAndDownload": {
  2666. "type": "object",
  2667. "properties": {
  2668. "key": {
  2669. "type": "string"
  2670. },
  2671. "name": {
  2672. "type": "string"
  2673. },
  2674. "tag": {
  2675. "type": "string"
  2676. },
  2677. "url": {
  2678. "type": "string"
  2679. }
  2680. }
  2681. },
  2682. "model.Field": {
  2683. "type": "object",
  2684. "properties": {
  2685. "columnName": {
  2686. "type": "string"
  2687. },
  2688. "comment": {
  2689. "type": "string"
  2690. },
  2691. "dataType": {
  2692. "type": "string"
  2693. },
  2694. "dataTypeLong": {
  2695. "type": "string"
  2696. },
  2697. "fieldDesc": {
  2698. "type": "string"
  2699. },
  2700. "fieldJson": {
  2701. "type": "string"
  2702. },
  2703. "fieldName": {
  2704. "type": "string"
  2705. },
  2706. "fieldSearchType": {
  2707. "type": "string"
  2708. },
  2709. "fieldType": {
  2710. "type": "string"
  2711. }
  2712. }
  2713. },
  2714. "model.SysApi": {
  2715. "type": "object",
  2716. "properties": {
  2717. "apiGroup": {
  2718. "type": "string"
  2719. },
  2720. "description": {
  2721. "type": "string"
  2722. },
  2723. "method": {
  2724. "type": "string"
  2725. },
  2726. "path": {
  2727. "type": "string"
  2728. }
  2729. }
  2730. },
  2731. "model.SysAuthority": {
  2732. "type": "object",
  2733. "properties": {
  2734. "authorityId": {
  2735. "type": "string"
  2736. },
  2737. "authorityName": {
  2738. "type": "string"
  2739. },
  2740. "children": {
  2741. "type": "array",
  2742. "items": {
  2743. "$ref": "#/definitions/model.SysAuthority"
  2744. }
  2745. },
  2746. "createdAt": {
  2747. "type": "string"
  2748. },
  2749. "dataAuthorityId": {
  2750. "type": "array",
  2751. "items": {
  2752. "$ref": "#/definitions/model.SysAuthority"
  2753. }
  2754. },
  2755. "deletedAt": {
  2756. "type": "string"
  2757. },
  2758. "menus": {
  2759. "type": "array",
  2760. "items": {
  2761. "$ref": "#/definitions/model.SysBaseMenu"
  2762. }
  2763. },
  2764. "parentId": {
  2765. "type": "string"
  2766. },
  2767. "updatedAt": {
  2768. "type": "string"
  2769. }
  2770. }
  2771. },
  2772. "model.SysBaseMenu": {
  2773. "type": "object",
  2774. "properties": {
  2775. "authoritys": {
  2776. "type": "array",
  2777. "items": {
  2778. "$ref": "#/definitions/model.SysAuthority"
  2779. }
  2780. },
  2781. "children": {
  2782. "type": "array",
  2783. "items": {
  2784. "$ref": "#/definitions/model.SysBaseMenu"
  2785. }
  2786. },
  2787. "component": {
  2788. "type": "string"
  2789. },
  2790. "defaultMenu": {
  2791. "type": "boolean"
  2792. },
  2793. "hidden": {
  2794. "type": "boolean"
  2795. },
  2796. "icon": {
  2797. "type": "string"
  2798. },
  2799. "keepAlive": {
  2800. "type": "boolean"
  2801. },
  2802. "name": {
  2803. "type": "string"
  2804. },
  2805. "parentId": {
  2806. "type": "string"
  2807. },
  2808. "path": {
  2809. "type": "string"
  2810. },
  2811. "sort": {
  2812. "type": "integer"
  2813. },
  2814. "title": {
  2815. "type": "string"
  2816. }
  2817. }
  2818. },
  2819. "model.SysDictionary": {
  2820. "type": "object",
  2821. "properties": {
  2822. "desc": {
  2823. "type": "string"
  2824. },
  2825. "name": {
  2826. "type": "string"
  2827. },
  2828. "status": {
  2829. "type": "boolean"
  2830. },
  2831. "sysDictionaryDetails": {
  2832. "type": "array",
  2833. "items": {
  2834. "$ref": "#/definitions/model.SysDictionaryDetail"
  2835. }
  2836. },
  2837. "type": {
  2838. "type": "string"
  2839. }
  2840. }
  2841. },
  2842. "model.SysDictionaryDetail": {
  2843. "type": "object",
  2844. "properties": {
  2845. "label": {
  2846. "type": "string"
  2847. },
  2848. "sort": {
  2849. "type": "integer"
  2850. },
  2851. "status": {
  2852. "type": "boolean"
  2853. },
  2854. "sysDictionaryID": {
  2855. "type": "integer"
  2856. },
  2857. "value": {
  2858. "type": "integer"
  2859. }
  2860. }
  2861. },
  2862. "model.SysOperationRecord": {
  2863. "type": "object",
  2864. "properties": {
  2865. "agent": {
  2866. "type": "string"
  2867. },
  2868. "body": {
  2869. "type": "string"
  2870. },
  2871. "error_message": {
  2872. "type": "string"
  2873. },
  2874. "ip": {
  2875. "type": "string"
  2876. },
  2877. "latency": {
  2878. "type": "string"
  2879. },
  2880. "method": {
  2881. "type": "string"
  2882. },
  2883. "path": {
  2884. "type": "string"
  2885. },
  2886. "resp": {
  2887. "type": "string"
  2888. },
  2889. "status": {
  2890. "type": "integer"
  2891. },
  2892. "user": {
  2893. "type": "object",
  2894. "$ref": "#/definitions/model.SysUser"
  2895. },
  2896. "user_id": {
  2897. "type": "integer"
  2898. }
  2899. }
  2900. },
  2901. "model.SysUser": {
  2902. "type": "object",
  2903. "properties": {
  2904. "authority": {
  2905. "type": "object",
  2906. "$ref": "#/definitions/model.SysAuthority"
  2907. },
  2908. "authorityId": {
  2909. "type": "string"
  2910. },
  2911. "headerImg": {
  2912. "type": "string"
  2913. },
  2914. "nickName": {
  2915. "type": "string"
  2916. },
  2917. "userName": {
  2918. "type": "string"
  2919. },
  2920. "uuid": {
  2921. "type": "string"
  2922. }
  2923. }
  2924. },
  2925. "model.SysWorkflow": {
  2926. "type": "object",
  2927. "properties": {
  2928. "workflowDescription": {
  2929. "description": "工作流描述",
  2930. "type": "string"
  2931. },
  2932. "workflowName": {
  2933. "description": "工作流英文id",
  2934. "type": "string"
  2935. },
  2936. "workflowNickName": {
  2937. "description": "工作流名称",
  2938. "type": "string"
  2939. },
  2940. "workflowStep": {
  2941. "description": "工作流步骤",
  2942. "type": "array",
  2943. "items": {
  2944. "$ref": "#/definitions/model.SysWorkflowStepInfo"
  2945. }
  2946. }
  2947. }
  2948. },
  2949. "model.SysWorkflowStepInfo": {
  2950. "type": "object",
  2951. "properties": {
  2952. "isEnd": {
  2953. "description": "是否是完结流节点",
  2954. "type": "boolean"
  2955. },
  2956. "isStrat": {
  2957. "description": "是否是开始流节点",
  2958. "type": "boolean"
  2959. },
  2960. "stepAuthorityID": {
  2961. "description": "操作者级别id",
  2962. "type": "string"
  2963. },
  2964. "stepName": {
  2965. "description": "工作流名称",
  2966. "type": "string"
  2967. },
  2968. "stepNo": {
  2969. "description": "步骤id (第几步)",
  2970. "type": "number"
  2971. },
  2972. "workflowID": {
  2973. "description": "所属工作流ID",
  2974. "type": "integer"
  2975. }
  2976. }
  2977. },
  2978. "model.System": {
  2979. "type": "object",
  2980. "properties": {
  2981. "config": {
  2982. "type": "object",
  2983. "$ref": "#/definitions/config.Server"
  2984. }
  2985. }
  2986. },
  2987. "request.AddMenuAuthorityInfo": {
  2988. "type": "object",
  2989. "properties": {
  2990. "authorityId": {
  2991. "type": "string"
  2992. },
  2993. "menus": {
  2994. "type": "array",
  2995. "items": {
  2996. "$ref": "#/definitions/model.SysBaseMenu"
  2997. }
  2998. }
  2999. }
  3000. },
  3001. "request.AuthorityIdInfo": {
  3002. "type": "object",
  3003. "properties": {
  3004. "authorityId": {
  3005. "type": "string"
  3006. }
  3007. }
  3008. },
  3009. "request.CasbinInReceive": {
  3010. "type": "object",
  3011. "properties": {
  3012. "authorityId": {
  3013. "type": "string"
  3014. },
  3015. "casbinInfos": {
  3016. "type": "array",
  3017. "items": {
  3018. "$ref": "#/definitions/request.CasbinInfo"
  3019. }
  3020. }
  3021. }
  3022. },
  3023. "request.CasbinInfo": {
  3024. "type": "object",
  3025. "properties": {
  3026. "method": {
  3027. "type": "string"
  3028. },
  3029. "path": {
  3030. "type": "string"
  3031. }
  3032. }
  3033. },
  3034. "request.ChangePasswordStruct": {
  3035. "type": "object",
  3036. "properties": {
  3037. "newPassword": {
  3038. "type": "string"
  3039. },
  3040. "password": {
  3041. "type": "string"
  3042. },
  3043. "username": {
  3044. "type": "string"
  3045. }
  3046. }
  3047. },
  3048. "request.GetById": {
  3049. "type": "object",
  3050. "properties": {
  3051. "id": {
  3052. "type": "number"
  3053. }
  3054. }
  3055. },
  3056. "request.PageInfo": {
  3057. "type": "object",
  3058. "properties": {
  3059. "page": {
  3060. "type": "integer"
  3061. },
  3062. "pageSize": {
  3063. "type": "integer"
  3064. }
  3065. }
  3066. },
  3067. "request.RegisterAndLoginStruct": {
  3068. "type": "object",
  3069. "properties": {
  3070. "captcha": {
  3071. "type": "string"
  3072. },
  3073. "captchaId": {
  3074. "type": "string"
  3075. },
  3076. "password": {
  3077. "type": "string"
  3078. },
  3079. "username": {
  3080. "type": "string"
  3081. }
  3082. }
  3083. },
  3084. "request.SearchApiParams": {
  3085. "type": "object",
  3086. "properties": {
  3087. "apiGroup": {
  3088. "type": "string"
  3089. },
  3090. "desc": {
  3091. "type": "boolean"
  3092. },
  3093. "description": {
  3094. "type": "string"
  3095. },
  3096. "method": {
  3097. "type": "string"
  3098. },
  3099. "orderKey": {
  3100. "type": "string"
  3101. },
  3102. "page": {
  3103. "type": "integer"
  3104. },
  3105. "pageSize": {
  3106. "type": "integer"
  3107. },
  3108. "path": {
  3109. "type": "string"
  3110. }
  3111. }
  3112. },
  3113. "request.SetUserAuth": {
  3114. "type": "object",
  3115. "properties": {
  3116. "authorityId": {
  3117. "type": "string"
  3118. },
  3119. "uuid": {
  3120. "type": "string"
  3121. }
  3122. }
  3123. },
  3124. "request.SysDictionaryDetailSearch": {
  3125. "type": "object",
  3126. "properties": {
  3127. "label": {
  3128. "type": "string"
  3129. },
  3130. "page": {
  3131. "type": "integer"
  3132. },
  3133. "pageSize": {
  3134. "type": "integer"
  3135. },
  3136. "sort": {
  3137. "type": "integer"
  3138. },
  3139. "status": {
  3140. "type": "boolean"
  3141. },
  3142. "sysDictionaryID": {
  3143. "type": "integer"
  3144. },
  3145. "value": {
  3146. "type": "integer"
  3147. }
  3148. }
  3149. },
  3150. "request.SysDictionarySearch": {
  3151. "type": "object",
  3152. "properties": {
  3153. "desc": {
  3154. "type": "string"
  3155. },
  3156. "name": {
  3157. "type": "string"
  3158. },
  3159. "page": {
  3160. "type": "integer"
  3161. },
  3162. "pageSize": {
  3163. "type": "integer"
  3164. },
  3165. "status": {
  3166. "type": "boolean"
  3167. },
  3168. "sysDictionaryDetails": {
  3169. "type": "array",
  3170. "items": {
  3171. "$ref": "#/definitions/model.SysDictionaryDetail"
  3172. }
  3173. },
  3174. "type": {
  3175. "type": "string"
  3176. }
  3177. }
  3178. },
  3179. "request.SysOperationRecordSearch": {
  3180. "type": "object",
  3181. "properties": {
  3182. "agent": {
  3183. "type": "string"
  3184. },
  3185. "body": {
  3186. "type": "string"
  3187. },
  3188. "error_message": {
  3189. "type": "string"
  3190. },
  3191. "ip": {
  3192. "type": "string"
  3193. },
  3194. "latency": {
  3195. "type": "string"
  3196. },
  3197. "method": {
  3198. "type": "string"
  3199. },
  3200. "page": {
  3201. "type": "integer"
  3202. },
  3203. "pageSize": {
  3204. "type": "integer"
  3205. },
  3206. "path": {
  3207. "type": "string"
  3208. },
  3209. "resp": {
  3210. "type": "string"
  3211. },
  3212. "status": {
  3213. "type": "integer"
  3214. },
  3215. "user": {
  3216. "type": "object",
  3217. "$ref": "#/definitions/model.SysUser"
  3218. },
  3219. "user_id": {
  3220. "type": "integer"
  3221. }
  3222. }
  3223. },
  3224. "response.SysAuthorityCopyResponse": {
  3225. "type": "object",
  3226. "properties": {
  3227. "authority": {
  3228. "type": "object",
  3229. "$ref": "#/definitions/model.SysAuthority"
  3230. },
  3231. "oldAuthorityId": {
  3232. "type": "string"
  3233. }
  3234. }
  3235. }
  3236. },
  3237. "securityDefinitions": {
  3238. "ApiKeyAuth": {
  3239. "type": "apiKey",
  3240. "name": "x-token",
  3241. "in": "header"
  3242. }
  3243. }
  3244. }