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.

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