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.

4498 lines
138 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
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
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
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
5 years ago
4 years ago
5 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
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
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
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
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路径, api中文描述, 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": "ID",
  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路径, api中文描述, 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": "旧角色id, 新权限id, 新权限名, 新父角色id",
  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": "权限id, 权限名, 父角色id",
  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": "权限id, 权限名, 父角色id",
  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. "AutoCode"
  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/getColumn": {
  496. "get": {
  497. "security": [
  498. {
  499. "ApiKeyAuth": []
  500. }
  501. ],
  502. "consumes": [
  503. "application/json"
  504. ],
  505. "produces": [
  506. "application/json"
  507. ],
  508. "tags": [
  509. "AutoCode"
  510. ],
  511. "summary": "获取当前表所有字段",
  512. "responses": {
  513. "200": {
  514. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  515. "schema": {
  516. "type": "string"
  517. }
  518. }
  519. }
  520. }
  521. },
  522. "/autoCode/getDatabase": {
  523. "get": {
  524. "security": [
  525. {
  526. "ApiKeyAuth": []
  527. }
  528. ],
  529. "consumes": [
  530. "application/json"
  531. ],
  532. "produces": [
  533. "application/json"
  534. ],
  535. "tags": [
  536. "AutoCode"
  537. ],
  538. "summary": "获取当前所有数据库",
  539. "responses": {
  540. "200": {
  541. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  542. "schema": {
  543. "type": "string"
  544. }
  545. }
  546. }
  547. }
  548. },
  549. "/autoCode/getTables": {
  550. "get": {
  551. "security": [
  552. {
  553. "ApiKeyAuth": []
  554. }
  555. ],
  556. "consumes": [
  557. "application/json"
  558. ],
  559. "produces": [
  560. "application/json"
  561. ],
  562. "tags": [
  563. "AutoCode"
  564. ],
  565. "summary": "获取当前数据库所有表",
  566. "responses": {
  567. "200": {
  568. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  569. "schema": {
  570. "type": "string"
  571. }
  572. }
  573. }
  574. }
  575. },
  576. "/autoCode/preview": {
  577. "post": {
  578. "security": [
  579. {
  580. "ApiKeyAuth": []
  581. }
  582. ],
  583. "consumes": [
  584. "application/json"
  585. ],
  586. "produces": [
  587. "application/json"
  588. ],
  589. "tags": [
  590. "AutoCode"
  591. ],
  592. "summary": "预览创建后的代码",
  593. "parameters": [
  594. {
  595. "description": "预览创建代码",
  596. "name": "data",
  597. "in": "body",
  598. "required": true,
  599. "schema": {
  600. "$ref": "#/definitions/model.AutoCodeStruct"
  601. }
  602. }
  603. ],
  604. "responses": {
  605. "200": {
  606. "description": "{\"success\":true,\"data\":{},\"msg\":\"创建成功\"}",
  607. "schema": {
  608. "type": "string"
  609. }
  610. }
  611. }
  612. }
  613. },
  614. "/base/captcha": {
  615. "post": {
  616. "security": [
  617. {
  618. "ApiKeyAuth": []
  619. }
  620. ],
  621. "consumes": [
  622. "application/json"
  623. ],
  624. "produces": [
  625. "application/json"
  626. ],
  627. "tags": [
  628. "Base"
  629. ],
  630. "summary": "生成验证码",
  631. "responses": {
  632. "200": {
  633. "description": "{\"success\":true,\"data\":{},\"msg\":\"验证码获取成功\"}",
  634. "schema": {
  635. "type": "string"
  636. }
  637. }
  638. }
  639. }
  640. },
  641. "/base/login": {
  642. "post": {
  643. "produces": [
  644. "application/json"
  645. ],
  646. "tags": [
  647. "Base"
  648. ],
  649. "summary": "用户登录",
  650. "parameters": [
  651. {
  652. "description": "用户名, 密码, 验证码",
  653. "name": "data",
  654. "in": "body",
  655. "required": true,
  656. "schema": {
  657. "$ref": "#/definitions/request.Login"
  658. }
  659. }
  660. ],
  661. "responses": {
  662. "200": {
  663. "description": "{\"success\":true,\"data\":{},\"msg\":\"登陆成功\"}",
  664. "schema": {
  665. "type": "string"
  666. }
  667. }
  668. }
  669. }
  670. },
  671. "/casbin/UpdateCasbin": {
  672. "post": {
  673. "security": [
  674. {
  675. "ApiKeyAuth": []
  676. }
  677. ],
  678. "consumes": [
  679. "application/json"
  680. ],
  681. "produces": [
  682. "application/json"
  683. ],
  684. "tags": [
  685. "Casbin"
  686. ],
  687. "summary": "更新角色api权限",
  688. "parameters": [
  689. {
  690. "description": "权限id, 权限模型列表",
  691. "name": "data",
  692. "in": "body",
  693. "required": true,
  694. "schema": {
  695. "$ref": "#/definitions/request.CasbinInReceive"
  696. }
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
  702. "schema": {
  703. "type": "string"
  704. }
  705. }
  706. }
  707. }
  708. },
  709. "/casbin/getPolicyPathByAuthorityId": {
  710. "post": {
  711. "security": [
  712. {
  713. "ApiKeyAuth": []
  714. }
  715. ],
  716. "consumes": [
  717. "application/json"
  718. ],
  719. "produces": [
  720. "application/json"
  721. ],
  722. "tags": [
  723. "Casbin"
  724. ],
  725. "summary": "获取权限列表",
  726. "parameters": [
  727. {
  728. "description": "权限id, 权限模型列表",
  729. "name": "data",
  730. "in": "body",
  731. "required": true,
  732. "schema": {
  733. "$ref": "#/definitions/request.CasbinInReceive"
  734. }
  735. }
  736. ],
  737. "responses": {
  738. "200": {
  739. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  740. "schema": {
  741. "type": "string"
  742. }
  743. }
  744. }
  745. }
  746. },
  747. "/customer/customer": {
  748. "get": {
  749. "security": [
  750. {
  751. "ApiKeyAuth": []
  752. }
  753. ],
  754. "consumes": [
  755. "application/json"
  756. ],
  757. "produces": [
  758. "application/json"
  759. ],
  760. "tags": [
  761. "ExaCustomer"
  762. ],
  763. "summary": "获取单一客户信息",
  764. "parameters": [
  765. {
  766. "description": "客户ID",
  767. "name": "data",
  768. "in": "body",
  769. "required": true,
  770. "schema": {
  771. "$ref": "#/definitions/model.ExaCustomer"
  772. }
  773. }
  774. ],
  775. "responses": {
  776. "200": {
  777. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  778. "schema": {
  779. "type": "string"
  780. }
  781. }
  782. }
  783. },
  784. "put": {
  785. "security": [
  786. {
  787. "ApiKeyAuth": []
  788. }
  789. ],
  790. "consumes": [
  791. "application/json"
  792. ],
  793. "produces": [
  794. "application/json"
  795. ],
  796. "tags": [
  797. "ExaCustomer"
  798. ],
  799. "summary": "更新客户信息",
  800. "parameters": [
  801. {
  802. "description": "客户ID, 客户信息",
  803. "name": "data",
  804. "in": "body",
  805. "required": true,
  806. "schema": {
  807. "$ref": "#/definitions/model.ExaCustomer"
  808. }
  809. }
  810. ],
  811. "responses": {
  812. "200": {
  813. "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
  814. "schema": {
  815. "type": "string"
  816. }
  817. }
  818. }
  819. },
  820. "post": {
  821. "security": [
  822. {
  823. "ApiKeyAuth": []
  824. }
  825. ],
  826. "consumes": [
  827. "application/json"
  828. ],
  829. "produces": [
  830. "application/json"
  831. ],
  832. "tags": [
  833. "ExaCustomer"
  834. ],
  835. "summary": "创建客户",
  836. "parameters": [
  837. {
  838. "description": "客户用户名, 客户手机号码",
  839. "name": "data",
  840. "in": "body",
  841. "required": true,
  842. "schema": {
  843. "$ref": "#/definitions/model.ExaCustomer"
  844. }
  845. }
  846. ],
  847. "responses": {
  848. "200": {
  849. "description": "{\"success\":true,\"data\":{},\"msg\":\"创建成功\"}",
  850. "schema": {
  851. "type": "string"
  852. }
  853. }
  854. }
  855. },
  856. "delete": {
  857. "security": [
  858. {
  859. "ApiKeyAuth": []
  860. }
  861. ],
  862. "consumes": [
  863. "application/json"
  864. ],
  865. "produces": [
  866. "application/json"
  867. ],
  868. "tags": [
  869. "ExaCustomer"
  870. ],
  871. "summary": "删除客户",
  872. "parameters": [
  873. {
  874. "description": "客户ID",
  875. "name": "data",
  876. "in": "body",
  877. "required": true,
  878. "schema": {
  879. "$ref": "#/definitions/model.ExaCustomer"
  880. }
  881. }
  882. ],
  883. "responses": {
  884. "200": {
  885. "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
  886. "schema": {
  887. "type": "string"
  888. }
  889. }
  890. }
  891. }
  892. },
  893. "/customer/customerList": {
  894. "get": {
  895. "security": [
  896. {
  897. "ApiKeyAuth": []
  898. }
  899. ],
  900. "consumes": [
  901. "application/json"
  902. ],
  903. "produces": [
  904. "application/json"
  905. ],
  906. "tags": [
  907. "ExaCustomer"
  908. ],
  909. "summary": "分页获取权限客户列表",
  910. "parameters": [
  911. {
  912. "description": "页码, 每页大小",
  913. "name": "data",
  914. "in": "body",
  915. "required": true,
  916. "schema": {
  917. "$ref": "#/definitions/request.PageInfo"
  918. }
  919. }
  920. ],
  921. "responses": {
  922. "200": {
  923. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  924. "schema": {
  925. "type": "string"
  926. }
  927. }
  928. }
  929. }
  930. },
  931. "/email/emailTest": {
  932. "post": {
  933. "security": [
  934. {
  935. "ApiKeyAuth": []
  936. }
  937. ],
  938. "produces": [
  939. "application/json"
  940. ],
  941. "tags": [
  942. "System"
  943. ],
  944. "summary": "发送测试邮件",
  945. "responses": {
  946. "200": {
  947. "description": "{\"success\":true,\"data\":{},\"msg\":\"发送成功\"}",
  948. "schema": {
  949. "type": "string"
  950. }
  951. }
  952. }
  953. }
  954. },
  955. "/excel/downloadTemplate": {
  956. "get": {
  957. "security": [
  958. {
  959. "ApiKeyAuth": []
  960. }
  961. ],
  962. "consumes": [
  963. "multipart/form-data"
  964. ],
  965. "produces": [
  966. "application/json"
  967. ],
  968. "tags": [
  969. "excel"
  970. ],
  971. "summary": "下载模板",
  972. "parameters": [
  973. {
  974. "type": "string",
  975. "description": "模板名称",
  976. "name": "fileName",
  977. "in": "query",
  978. "required": true
  979. }
  980. ],
  981. "responses": {
  982. "200": {
  983. "description": ""
  984. }
  985. }
  986. }
  987. },
  988. "/excel/exportExcel": {
  989. "post": {
  990. "security": [
  991. {
  992. "ApiKeyAuth": []
  993. }
  994. ],
  995. "consumes": [
  996. "application/json"
  997. ],
  998. "produces": [
  999. "application/octet-stream"
  1000. ],
  1001. "tags": [
  1002. "excel"
  1003. ],
  1004. "summary": "导出Excel",
  1005. "parameters": [
  1006. {
  1007. "description": "导出Excel文件信息",
  1008. "name": "data",
  1009. "in": "body",
  1010. "required": true,
  1011. "schema": {
  1012. "$ref": "#/definitions/model.ExcelInfo"
  1013. }
  1014. }
  1015. ],
  1016. "responses": {
  1017. "200": {
  1018. "description": ""
  1019. }
  1020. }
  1021. }
  1022. },
  1023. "/excel/importExcel": {
  1024. "post": {
  1025. "security": [
  1026. {
  1027. "ApiKeyAuth": []
  1028. }
  1029. ],
  1030. "consumes": [
  1031. "multipart/form-data"
  1032. ],
  1033. "produces": [
  1034. "application/json"
  1035. ],
  1036. "tags": [
  1037. "excel"
  1038. ],
  1039. "summary": "导入Excel文件",
  1040. "parameters": [
  1041. {
  1042. "type": "file",
  1043. "description": "导入Excel文件",
  1044. "name": "file",
  1045. "in": "formData",
  1046. "required": true
  1047. }
  1048. ],
  1049. "responses": {
  1050. "200": {
  1051. "description": "{\"success\":true,\"data\":{},\"msg\":\"导入成功\"}",
  1052. "schema": {
  1053. "type": "string"
  1054. }
  1055. }
  1056. }
  1057. }
  1058. },
  1059. "/excel/loadExcel": {
  1060. "get": {
  1061. "security": [
  1062. {
  1063. "ApiKeyAuth": []
  1064. }
  1065. ],
  1066. "produces": [
  1067. "application/json"
  1068. ],
  1069. "tags": [
  1070. "excel"
  1071. ],
  1072. "summary": "加载Excel数据",
  1073. "responses": {
  1074. "200": {
  1075. "description": "{\"success\":true,\"data\":{},\"msg\":\"加载数据成功\"}",
  1076. "schema": {
  1077. "type": "string"
  1078. }
  1079. }
  1080. }
  1081. }
  1082. },
  1083. "/fileUploadAndDownload/breakpointContinue": {
  1084. "post": {
  1085. "security": [
  1086. {
  1087. "ApiKeyAuth": []
  1088. }
  1089. ],
  1090. "consumes": [
  1091. "multipart/form-data"
  1092. ],
  1093. "produces": [
  1094. "application/json"
  1095. ],
  1096. "tags": [
  1097. "ExaFileUploadAndDownload"
  1098. ],
  1099. "summary": "断点续传到服务器",
  1100. "parameters": [
  1101. {
  1102. "type": "file",
  1103. "description": "an example for breakpoint resume, 断点续传示例",
  1104. "name": "file",
  1105. "in": "formData",
  1106. "required": true
  1107. }
  1108. ],
  1109. "responses": {
  1110. "200": {
  1111. "description": "{\"success\":true,\"data\":{},\"msg\":\"切片创建成功\"}",
  1112. "schema": {
  1113. "type": "string"
  1114. }
  1115. }
  1116. }
  1117. }
  1118. },
  1119. "/fileUploadAndDownload/deleteFile": {
  1120. "post": {
  1121. "security": [
  1122. {
  1123. "ApiKeyAuth": []
  1124. }
  1125. ],
  1126. "produces": [
  1127. "application/json"
  1128. ],
  1129. "tags": [
  1130. "ExaFileUploadAndDownload"
  1131. ],
  1132. "summary": "删除文件",
  1133. "parameters": [
  1134. {
  1135. "description": "传入文件里面id即可",
  1136. "name": "data",
  1137. "in": "body",
  1138. "required": true,
  1139. "schema": {
  1140. "$ref": "#/definitions/model.ExaFileUploadAndDownload"
  1141. }
  1142. }
  1143. ],
  1144. "responses": {
  1145. "200": {
  1146. "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
  1147. "schema": {
  1148. "type": "string"
  1149. }
  1150. }
  1151. }
  1152. }
  1153. },
  1154. "/fileUploadAndDownload/findFile": {
  1155. "post": {
  1156. "security": [
  1157. {
  1158. "ApiKeyAuth": []
  1159. }
  1160. ],
  1161. "consumes": [
  1162. "multipart/form-data"
  1163. ],
  1164. "produces": [
  1165. "application/json"
  1166. ],
  1167. "tags": [
  1168. "ExaFileUploadAndDownload"
  1169. ],
  1170. "summary": "创建文件",
  1171. "parameters": [
  1172. {
  1173. "type": "file",
  1174. "description": "上传文件完成",
  1175. "name": "file",
  1176. "in": "formData",
  1177. "required": true
  1178. }
  1179. ],
  1180. "responses": {
  1181. "200": {
  1182. "description": "{\"success\":true,\"data\":{},\"msg\":\"file uploaded, 文件创建成功\"}",
  1183. "schema": {
  1184. "type": "string"
  1185. }
  1186. }
  1187. }
  1188. }
  1189. },
  1190. "/fileUploadAndDownload/getFileList": {
  1191. "post": {
  1192. "security": [
  1193. {
  1194. "ApiKeyAuth": []
  1195. }
  1196. ],
  1197. "consumes": [
  1198. "application/json"
  1199. ],
  1200. "produces": [
  1201. "application/json"
  1202. ],
  1203. "tags": [
  1204. "ExaFileUploadAndDownload"
  1205. ],
  1206. "summary": "分页文件列表",
  1207. "parameters": [
  1208. {
  1209. "description": "页码, 每页大小",
  1210. "name": "data",
  1211. "in": "body",
  1212. "required": true,
  1213. "schema": {
  1214. "$ref": "#/definitions/request.PageInfo"
  1215. }
  1216. }
  1217. ],
  1218. "responses": {
  1219. "200": {
  1220. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  1221. "schema": {
  1222. "type": "string"
  1223. }
  1224. }
  1225. }
  1226. }
  1227. },
  1228. "/fileUploadAndDownload/removeChunk": {
  1229. "post": {
  1230. "security": [
  1231. {
  1232. "ApiKeyAuth": []
  1233. }
  1234. ],
  1235. "consumes": [
  1236. "multipart/form-data"
  1237. ],
  1238. "produces": [
  1239. "application/json"
  1240. ],
  1241. "tags": [
  1242. "ExaFileUploadAndDownload"
  1243. ],
  1244. "summary": "删除切片",
  1245. "parameters": [
  1246. {
  1247. "type": "file",
  1248. "description": "删除缓存切片",
  1249. "name": "file",
  1250. "in": "formData",
  1251. "required": true
  1252. }
  1253. ],
  1254. "responses": {
  1255. "200": {
  1256. "description": "{\"success\":true,\"data\":{},\"msg\":\"缓存切片删除成功\"}",
  1257. "schema": {
  1258. "type": "string"
  1259. }
  1260. }
  1261. }
  1262. }
  1263. },
  1264. "/fileUploadAndDownload/upload": {
  1265. "post": {
  1266. "security": [
  1267. {
  1268. "ApiKeyAuth": []
  1269. }
  1270. ],
  1271. "consumes": [
  1272. "multipart/form-data"
  1273. ],
  1274. "produces": [
  1275. "application/json"
  1276. ],
  1277. "tags": [
  1278. "ExaFileUploadAndDownload"
  1279. ],
  1280. "summary": "上传文件示例",
  1281. "parameters": [
  1282. {
  1283. "type": "file",
  1284. "description": "上传文件示例",
  1285. "name": "file",
  1286. "in": "formData",
  1287. "required": true
  1288. }
  1289. ],
  1290. "responses": {
  1291. "200": {
  1292. "description": "{\"success\":true,\"data\":{},\"msg\":\"上传成功\"}",
  1293. "schema": {
  1294. "type": "string"
  1295. }
  1296. }
  1297. }
  1298. }
  1299. },
  1300. "/init/checkdb": {
  1301. "post": {
  1302. "produces": [
  1303. "application/json"
  1304. ],
  1305. "tags": [
  1306. "CheckDB"
  1307. ],
  1308. "summary": "初始化用户数据库",
  1309. "responses": {
  1310. "200": {
  1311. "description": "{\"code\":0,\"data\":{},\"msg\":\"探测完成\"}",
  1312. "schema": {
  1313. "type": "string"
  1314. }
  1315. }
  1316. }
  1317. }
  1318. },
  1319. "/init/initdb": {
  1320. "post": {
  1321. "produces": [
  1322. "application/json"
  1323. ],
  1324. "tags": [
  1325. "InitDB"
  1326. ],
  1327. "summary": "初始化用户数据库",
  1328. "parameters": [
  1329. {
  1330. "description": "初始化数据库参数",
  1331. "name": "data",
  1332. "in": "body",
  1333. "required": true,
  1334. "schema": {
  1335. "$ref": "#/definitions/request.InitDB"
  1336. }
  1337. }
  1338. ],
  1339. "responses": {
  1340. "200": {
  1341. "description": "{\"code\":0,\"data\":{},\"msg\":\"自动创建数据库成功\"}",
  1342. "schema": {
  1343. "type": "string"
  1344. }
  1345. }
  1346. }
  1347. }
  1348. },
  1349. "/jwt/jsonInBlacklist": {
  1350. "post": {
  1351. "security": [
  1352. {
  1353. "ApiKeyAuth": []
  1354. }
  1355. ],
  1356. "consumes": [
  1357. "application/json"
  1358. ],
  1359. "produces": [
  1360. "application/json"
  1361. ],
  1362. "tags": [
  1363. "Jwt"
  1364. ],
  1365. "summary": "jwt加入黑名单",
  1366. "responses": {
  1367. "200": {
  1368. "description": "{\"success\":true,\"data\":{},\"msg\":\"拉黑成功\"}",
  1369. "schema": {
  1370. "type": "string"
  1371. }
  1372. }
  1373. }
  1374. }
  1375. },
  1376. "/menu/GetMenuAuthority": {
  1377. "post": {
  1378. "security": [
  1379. {
  1380. "ApiKeyAuth": []
  1381. }
  1382. ],
  1383. "consumes": [
  1384. "application/json"
  1385. ],
  1386. "produces": [
  1387. "application/json"
  1388. ],
  1389. "tags": [
  1390. "AuthorityMenu"
  1391. ],
  1392. "summary": "获取指定角色menu",
  1393. "parameters": [
  1394. {
  1395. "description": "角色ID",
  1396. "name": "data",
  1397. "in": "body",
  1398. "required": true,
  1399. "schema": {
  1400. "$ref": "#/definitions/request.GetAuthorityId"
  1401. }
  1402. }
  1403. ],
  1404. "responses": {
  1405. "200": {
  1406. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  1407. "schema": {
  1408. "type": "string"
  1409. }
  1410. }
  1411. }
  1412. }
  1413. },
  1414. "/menu/addBaseMenu": {
  1415. "post": {
  1416. "security": [
  1417. {
  1418. "ApiKeyAuth": []
  1419. }
  1420. ],
  1421. "consumes": [
  1422. "application/json"
  1423. ],
  1424. "produces": [
  1425. "application/json"
  1426. ],
  1427. "tags": [
  1428. "Menu"
  1429. ],
  1430. "summary": "新增菜单",
  1431. "parameters": [
  1432. {
  1433. "description": "路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记",
  1434. "name": "data",
  1435. "in": "body",
  1436. "required": true,
  1437. "schema": {
  1438. "$ref": "#/definitions/model.SysBaseMenu"
  1439. }
  1440. }
  1441. ],
  1442. "responses": {
  1443. "200": {
  1444. "description": "{\"success\":true,\"data\":{},\"msg\":\"添加成功\"}",
  1445. "schema": {
  1446. "type": "string"
  1447. }
  1448. }
  1449. }
  1450. }
  1451. },
  1452. "/menu/addMenuAuthority": {
  1453. "post": {
  1454. "security": [
  1455. {
  1456. "ApiKeyAuth": []
  1457. }
  1458. ],
  1459. "consumes": [
  1460. "application/json"
  1461. ],
  1462. "produces": [
  1463. "application/json"
  1464. ],
  1465. "tags": [
  1466. "AuthorityMenu"
  1467. ],
  1468. "summary": "增加menu和角色关联关系",
  1469. "parameters": [
  1470. {
  1471. "description": "角色ID",
  1472. "name": "data",
  1473. "in": "body",
  1474. "required": true,
  1475. "schema": {
  1476. "$ref": "#/definitions/request.AddMenuAuthorityInfo"
  1477. }
  1478. }
  1479. ],
  1480. "responses": {
  1481. "200": {
  1482. "description": "{\"success\":true,\"data\":{},\"msg\":\"添加成功\"}",
  1483. "schema": {
  1484. "type": "string"
  1485. }
  1486. }
  1487. }
  1488. }
  1489. },
  1490. "/menu/deleteBaseMenu": {
  1491. "post": {
  1492. "security": [
  1493. {
  1494. "ApiKeyAuth": []
  1495. }
  1496. ],
  1497. "consumes": [
  1498. "application/json"
  1499. ],
  1500. "produces": [
  1501. "application/json"
  1502. ],
  1503. "tags": [
  1504. "Menu"
  1505. ],
  1506. "summary": "删除菜单",
  1507. "parameters": [
  1508. {
  1509. "description": "菜单id",
  1510. "name": "data",
  1511. "in": "body",
  1512. "required": true,
  1513. "schema": {
  1514. "$ref": "#/definitions/request.GetById"
  1515. }
  1516. }
  1517. ],
  1518. "responses": {
  1519. "200": {
  1520. "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
  1521. "schema": {
  1522. "type": "string"
  1523. }
  1524. }
  1525. }
  1526. }
  1527. },
  1528. "/menu/getBaseMenuById": {
  1529. "post": {
  1530. "security": [
  1531. {
  1532. "ApiKeyAuth": []
  1533. }
  1534. ],
  1535. "consumes": [
  1536. "application/json"
  1537. ],
  1538. "produces": [
  1539. "application/json"
  1540. ],
  1541. "tags": [
  1542. "Menu"
  1543. ],
  1544. "summary": "根据id获取菜单",
  1545. "parameters": [
  1546. {
  1547. "description": "菜单id",
  1548. "name": "data",
  1549. "in": "body",
  1550. "required": true,
  1551. "schema": {
  1552. "$ref": "#/definitions/request.GetById"
  1553. }
  1554. }
  1555. ],
  1556. "responses": {
  1557. "200": {
  1558. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  1559. "schema": {
  1560. "type": "string"
  1561. }
  1562. }
  1563. }
  1564. }
  1565. },
  1566. "/menu/getBaseMenuTree": {
  1567. "post": {
  1568. "security": [
  1569. {
  1570. "ApiKeyAuth": []
  1571. }
  1572. ],
  1573. "produces": [
  1574. "application/json"
  1575. ],
  1576. "tags": [
  1577. "AuthorityMenu"
  1578. ],
  1579. "summary": "获取用户动态路由",
  1580. "parameters": [
  1581. {
  1582. "description": "空",
  1583. "name": "data",
  1584. "in": "body",
  1585. "required": true,
  1586. "schema": {
  1587. "$ref": "#/definitions/request.Empty"
  1588. }
  1589. }
  1590. ],
  1591. "responses": {
  1592. "200": {
  1593. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  1594. "schema": {
  1595. "type": "string"
  1596. }
  1597. }
  1598. }
  1599. }
  1600. },
  1601. "/menu/getMenu": {
  1602. "post": {
  1603. "security": [
  1604. {
  1605. "ApiKeyAuth": []
  1606. }
  1607. ],
  1608. "produces": [
  1609. "application/json"
  1610. ],
  1611. "tags": [
  1612. "AuthorityMenu"
  1613. ],
  1614. "summary": "获取用户动态路由",
  1615. "parameters": [
  1616. {
  1617. "description": "空",
  1618. "name": "data",
  1619. "in": "body",
  1620. "required": true,
  1621. "schema": {
  1622. "$ref": "#/definitions/request.Empty"
  1623. }
  1624. }
  1625. ],
  1626. "responses": {
  1627. "200": {
  1628. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  1629. "schema": {
  1630. "type": "string"
  1631. }
  1632. }
  1633. }
  1634. }
  1635. },
  1636. "/menu/getMenuList": {
  1637. "post": {
  1638. "security": [
  1639. {
  1640. "ApiKeyAuth": []
  1641. }
  1642. ],
  1643. "consumes": [
  1644. "application/json"
  1645. ],
  1646. "produces": [
  1647. "application/json"
  1648. ],
  1649. "tags": [
  1650. "Menu"
  1651. ],
  1652. "summary": "分页获取基础menu列表",
  1653. "parameters": [
  1654. {
  1655. "description": "页码, 每页大小",
  1656. "name": "data",
  1657. "in": "body",
  1658. "required": true,
  1659. "schema": {
  1660. "$ref": "#/definitions/request.PageInfo"
  1661. }
  1662. }
  1663. ],
  1664. "responses": {
  1665. "200": {
  1666. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  1667. "schema": {
  1668. "type": "string"
  1669. }
  1670. }
  1671. }
  1672. }
  1673. },
  1674. "/menu/updateBaseMenu": {
  1675. "post": {
  1676. "security": [
  1677. {
  1678. "ApiKeyAuth": []
  1679. }
  1680. ],
  1681. "consumes": [
  1682. "application/json"
  1683. ],
  1684. "produces": [
  1685. "application/json"
  1686. ],
  1687. "tags": [
  1688. "Menu"
  1689. ],
  1690. "summary": "更新菜单",
  1691. "parameters": [
  1692. {
  1693. "description": "路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记",
  1694. "name": "data",
  1695. "in": "body",
  1696. "required": true,
  1697. "schema": {
  1698. "$ref": "#/definitions/model.SysBaseMenu"
  1699. }
  1700. }
  1701. ],
  1702. "responses": {
  1703. "200": {
  1704. "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
  1705. "schema": {
  1706. "type": "string"
  1707. }
  1708. }
  1709. }
  1710. }
  1711. },
  1712. "/simpleUploader/checkFileMd5": {
  1713. "get": {
  1714. "security": [
  1715. {
  1716. "ApiKeyAuth": []
  1717. }
  1718. ],
  1719. "produces": [
  1720. "application/json"
  1721. ],
  1722. "tags": [
  1723. "SimpleUploader"
  1724. ],
  1725. "summary": "断点续传插件版示例",
  1726. "parameters": [
  1727. {
  1728. "type": "string",
  1729. "description": "md5",
  1730. "name": "md5",
  1731. "in": "query",
  1732. "required": true
  1733. }
  1734. ],
  1735. "responses": {
  1736. "200": {
  1737. "description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
  1738. "schema": {
  1739. "type": "string"
  1740. }
  1741. }
  1742. }
  1743. }
  1744. },
  1745. "/simpleUploader/mergeFileMd5": {
  1746. "get": {
  1747. "security": [
  1748. {
  1749. "ApiKeyAuth": []
  1750. }
  1751. ],
  1752. "produces": [
  1753. "application/json"
  1754. ],
  1755. "tags": [
  1756. "SimpleUploader"
  1757. ],
  1758. "summary": "合并文件",
  1759. "parameters": [
  1760. {
  1761. "type": "string",
  1762. "description": "md5",
  1763. "name": "md5",
  1764. "in": "query",
  1765. "required": true
  1766. }
  1767. ],
  1768. "responses": {
  1769. "200": {
  1770. "description": "{\"success\":true,\"data\":{},\"msg\":\"合并成功\"}",
  1771. "schema": {
  1772. "type": "string"
  1773. }
  1774. }
  1775. }
  1776. }
  1777. },
  1778. "/simpleUploader/upload": {
  1779. "post": {
  1780. "security": [
  1781. {
  1782. "ApiKeyAuth": []
  1783. }
  1784. ],
  1785. "consumes": [
  1786. "multipart/form-data"
  1787. ],
  1788. "produces": [
  1789. "application/json"
  1790. ],
  1791. "tags": [
  1792. "SimpleUploader"
  1793. ],
  1794. "summary": "断点续传插件版示例",
  1795. "parameters": [
  1796. {
  1797. "type": "file",
  1798. "description": "断点续传插件版示例",
  1799. "name": "file",
  1800. "in": "formData",
  1801. "required": true
  1802. }
  1803. ],
  1804. "responses": {
  1805. "200": {
  1806. "description": "{\"success\":true,\"data\":{},\"msg\":\"切片创建成功\"}",
  1807. "schema": {
  1808. "type": "string"
  1809. }
  1810. }
  1811. }
  1812. }
  1813. },
  1814. "/sysDictionary/createSysDictionary": {
  1815. "post": {
  1816. "security": [
  1817. {
  1818. "ApiKeyAuth": []
  1819. }
  1820. ],
  1821. "consumes": [
  1822. "application/json"
  1823. ],
  1824. "produces": [
  1825. "application/json"
  1826. ],
  1827. "tags": [
  1828. "SysDictionary"
  1829. ],
  1830. "summary": "创建SysDictionary",
  1831. "parameters": [
  1832. {
  1833. "description": "SysDictionary模型",
  1834. "name": "data",
  1835. "in": "body",
  1836. "required": true,
  1837. "schema": {
  1838. "$ref": "#/definitions/model.SysDictionary"
  1839. }
  1840. }
  1841. ],
  1842. "responses": {
  1843. "200": {
  1844. "description": "{\"success\":true,\"data\":{},\"msg\":\"创建成功\"}",
  1845. "schema": {
  1846. "type": "string"
  1847. }
  1848. }
  1849. }
  1850. }
  1851. },
  1852. "/sysDictionary/deleteSysDictionary": {
  1853. "delete": {
  1854. "security": [
  1855. {
  1856. "ApiKeyAuth": []
  1857. }
  1858. ],
  1859. "consumes": [
  1860. "application/json"
  1861. ],
  1862. "produces": [
  1863. "application/json"
  1864. ],
  1865. "tags": [
  1866. "SysDictionary"
  1867. ],
  1868. "summary": "删除SysDictionary",
  1869. "parameters": [
  1870. {
  1871. "description": "SysDictionary模型",
  1872. "name": "data",
  1873. "in": "body",
  1874. "required": true,
  1875. "schema": {
  1876. "$ref": "#/definitions/model.SysDictionary"
  1877. }
  1878. }
  1879. ],
  1880. "responses": {
  1881. "200": {
  1882. "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
  1883. "schema": {
  1884. "type": "string"
  1885. }
  1886. }
  1887. }
  1888. }
  1889. },
  1890. "/sysDictionary/findSysDictionary": {
  1891. "get": {
  1892. "security": [
  1893. {
  1894. "ApiKeyAuth": []
  1895. }
  1896. ],
  1897. "consumes": [
  1898. "application/json"
  1899. ],
  1900. "produces": [
  1901. "application/json"
  1902. ],
  1903. "tags": [
  1904. "SysDictionary"
  1905. ],
  1906. "summary": "用id查询SysDictionary",
  1907. "parameters": [
  1908. {
  1909. "description": "ID或字典英名",
  1910. "name": "data",
  1911. "in": "body",
  1912. "required": true,
  1913. "schema": {
  1914. "$ref": "#/definitions/model.SysDictionary"
  1915. }
  1916. }
  1917. ],
  1918. "responses": {
  1919. "200": {
  1920. "description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
  1921. "schema": {
  1922. "type": "string"
  1923. }
  1924. }
  1925. }
  1926. }
  1927. },
  1928. "/sysDictionary/getSysDictionaryList": {
  1929. "get": {
  1930. "security": [
  1931. {
  1932. "ApiKeyAuth": []
  1933. }
  1934. ],
  1935. "consumes": [
  1936. "application/json"
  1937. ],
  1938. "produces": [
  1939. "application/json"
  1940. ],
  1941. "tags": [
  1942. "SysDictionary"
  1943. ],
  1944. "summary": "分页获取SysDictionary列表",
  1945. "parameters": [
  1946. {
  1947. "description": "页码, 每页大小, 搜索条件",
  1948. "name": "data",
  1949. "in": "body",
  1950. "required": true,
  1951. "schema": {
  1952. "$ref": "#/definitions/request.SysDictionarySearch"
  1953. }
  1954. }
  1955. ],
  1956. "responses": {
  1957. "200": {
  1958. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  1959. "schema": {
  1960. "type": "string"
  1961. }
  1962. }
  1963. }
  1964. }
  1965. },
  1966. "/sysDictionary/updateSysDictionary": {
  1967. "put": {
  1968. "security": [
  1969. {
  1970. "ApiKeyAuth": []
  1971. }
  1972. ],
  1973. "consumes": [
  1974. "application/json"
  1975. ],
  1976. "produces": [
  1977. "application/json"
  1978. ],
  1979. "tags": [
  1980. "SysDictionary"
  1981. ],
  1982. "summary": "更新SysDictionary",
  1983. "parameters": [
  1984. {
  1985. "description": "SysDictionary模型",
  1986. "name": "data",
  1987. "in": "body",
  1988. "required": true,
  1989. "schema": {
  1990. "$ref": "#/definitions/model.SysDictionary"
  1991. }
  1992. }
  1993. ],
  1994. "responses": {
  1995. "200": {
  1996. "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
  1997. "schema": {
  1998. "type": "string"
  1999. }
  2000. }
  2001. }
  2002. }
  2003. },
  2004. "/sysDictionaryDetail/createSysDictionaryDetail": {
  2005. "post": {
  2006. "security": [
  2007. {
  2008. "ApiKeyAuth": []
  2009. }
  2010. ],
  2011. "consumes": [
  2012. "application/json"
  2013. ],
  2014. "produces": [
  2015. "application/json"
  2016. ],
  2017. "tags": [
  2018. "SysDictionaryDetail"
  2019. ],
  2020. "summary": "创建SysDictionaryDetail",
  2021. "parameters": [
  2022. {
  2023. "description": "SysDictionaryDetail模型",
  2024. "name": "data",
  2025. "in": "body",
  2026. "required": true,
  2027. "schema": {
  2028. "$ref": "#/definitions/model.SysDictionaryDetail"
  2029. }
  2030. }
  2031. ],
  2032. "responses": {
  2033. "200": {
  2034. "description": "{\"success\":true,\"data\":{},\"msg\":\"创建成功\"}",
  2035. "schema": {
  2036. "type": "string"
  2037. }
  2038. }
  2039. }
  2040. }
  2041. },
  2042. "/sysDictionaryDetail/deleteSysDictionaryDetail": {
  2043. "delete": {
  2044. "security": [
  2045. {
  2046. "ApiKeyAuth": []
  2047. }
  2048. ],
  2049. "consumes": [
  2050. "application/json"
  2051. ],
  2052. "produces": [
  2053. "application/json"
  2054. ],
  2055. "tags": [
  2056. "SysDictionaryDetail"
  2057. ],
  2058. "summary": "删除SysDictionaryDetail",
  2059. "parameters": [
  2060. {
  2061. "description": "SysDictionaryDetail模型",
  2062. "name": "data",
  2063. "in": "body",
  2064. "required": true,
  2065. "schema": {
  2066. "$ref": "#/definitions/model.SysDictionaryDetail"
  2067. }
  2068. }
  2069. ],
  2070. "responses": {
  2071. "200": {
  2072. "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
  2073. "schema": {
  2074. "type": "string"
  2075. }
  2076. }
  2077. }
  2078. }
  2079. },
  2080. "/sysDictionaryDetail/findSysDictionaryDetail": {
  2081. "get": {
  2082. "security": [
  2083. {
  2084. "ApiKeyAuth": []
  2085. }
  2086. ],
  2087. "consumes": [
  2088. "application/json"
  2089. ],
  2090. "produces": [
  2091. "application/json"
  2092. ],
  2093. "tags": [
  2094. "SysDictionaryDetail"
  2095. ],
  2096. "summary": "用id查询SysDictionaryDetail",
  2097. "parameters": [
  2098. {
  2099. "description": "用id查询SysDictionaryDetail",
  2100. "name": "data",
  2101. "in": "body",
  2102. "required": true,
  2103. "schema": {
  2104. "$ref": "#/definitions/model.SysDictionaryDetail"
  2105. }
  2106. }
  2107. ],
  2108. "responses": {
  2109. "200": {
  2110. "description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
  2111. "schema": {
  2112. "type": "string"
  2113. }
  2114. }
  2115. }
  2116. }
  2117. },
  2118. "/sysDictionaryDetail/getSysDictionaryDetailList": {
  2119. "get": {
  2120. "security": [
  2121. {
  2122. "ApiKeyAuth": []
  2123. }
  2124. ],
  2125. "consumes": [
  2126. "application/json"
  2127. ],
  2128. "produces": [
  2129. "application/json"
  2130. ],
  2131. "tags": [
  2132. "SysDictionaryDetail"
  2133. ],
  2134. "summary": "分页获取SysDictionaryDetail列表",
  2135. "parameters": [
  2136. {
  2137. "description": "页码, 每页大小, 搜索条件",
  2138. "name": "data",
  2139. "in": "body",
  2140. "required": true,
  2141. "schema": {
  2142. "$ref": "#/definitions/request.SysDictionaryDetailSearch"
  2143. }
  2144. }
  2145. ],
  2146. "responses": {
  2147. "200": {
  2148. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  2149. "schema": {
  2150. "type": "string"
  2151. }
  2152. }
  2153. }
  2154. }
  2155. },
  2156. "/sysDictionaryDetail/updateSysDictionaryDetail": {
  2157. "put": {
  2158. "security": [
  2159. {
  2160. "ApiKeyAuth": []
  2161. }
  2162. ],
  2163. "consumes": [
  2164. "application/json"
  2165. ],
  2166. "produces": [
  2167. "application/json"
  2168. ],
  2169. "tags": [
  2170. "SysDictionaryDetail"
  2171. ],
  2172. "summary": "更新SysDictionaryDetail",
  2173. "parameters": [
  2174. {
  2175. "description": "更新SysDictionaryDetail",
  2176. "name": "data",
  2177. "in": "body",
  2178. "required": true,
  2179. "schema": {
  2180. "$ref": "#/definitions/model.SysDictionaryDetail"
  2181. }
  2182. }
  2183. ],
  2184. "responses": {
  2185. "200": {
  2186. "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
  2187. "schema": {
  2188. "type": "string"
  2189. }
  2190. }
  2191. }
  2192. }
  2193. },
  2194. "/sysOperationRecord/createSysOperationRecord": {
  2195. "post": {
  2196. "security": [
  2197. {
  2198. "ApiKeyAuth": []
  2199. }
  2200. ],
  2201. "consumes": [
  2202. "application/json"
  2203. ],
  2204. "produces": [
  2205. "application/json"
  2206. ],
  2207. "tags": [
  2208. "SysOperationRecord"
  2209. ],
  2210. "summary": "创建SysOperationRecord",
  2211. "parameters": [
  2212. {
  2213. "description": "创建SysOperationRecord",
  2214. "name": "data",
  2215. "in": "body",
  2216. "required": true,
  2217. "schema": {
  2218. "$ref": "#/definitions/model.SysOperationRecord"
  2219. }
  2220. }
  2221. ],
  2222. "responses": {
  2223. "200": {
  2224. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  2225. "schema": {
  2226. "type": "string"
  2227. }
  2228. }
  2229. }
  2230. }
  2231. },
  2232. "/sysOperationRecord/deleteSysOperationRecord": {
  2233. "delete": {
  2234. "security": [
  2235. {
  2236. "ApiKeyAuth": []
  2237. }
  2238. ],
  2239. "consumes": [
  2240. "application/json"
  2241. ],
  2242. "produces": [
  2243. "application/json"
  2244. ],
  2245. "tags": [
  2246. "SysOperationRecord"
  2247. ],
  2248. "summary": "删除SysOperationRecord",
  2249. "parameters": [
  2250. {
  2251. "description": "SysOperationRecord模型",
  2252. "name": "data",
  2253. "in": "body",
  2254. "required": true,
  2255. "schema": {
  2256. "$ref": "#/definitions/model.SysOperationRecord"
  2257. }
  2258. }
  2259. ],
  2260. "responses": {
  2261. "200": {
  2262. "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
  2263. "schema": {
  2264. "type": "string"
  2265. }
  2266. }
  2267. }
  2268. }
  2269. },
  2270. "/sysOperationRecord/deleteSysOperationRecordByIds": {
  2271. "delete": {
  2272. "security": [
  2273. {
  2274. "ApiKeyAuth": []
  2275. }
  2276. ],
  2277. "consumes": [
  2278. "application/json"
  2279. ],
  2280. "produces": [
  2281. "application/json"
  2282. ],
  2283. "tags": [
  2284. "SysOperationRecord"
  2285. ],
  2286. "summary": "批量删除SysOperationRecord",
  2287. "parameters": [
  2288. {
  2289. "description": "批量删除SysOperationRecord",
  2290. "name": "data",
  2291. "in": "body",
  2292. "required": true,
  2293. "schema": {
  2294. "$ref": "#/definitions/request.IdsReq"
  2295. }
  2296. }
  2297. ],
  2298. "responses": {
  2299. "200": {
  2300. "description": "{\"success\":true,\"data\":{},\"msg\":\"批量删除成功\"}",
  2301. "schema": {
  2302. "type": "string"
  2303. }
  2304. }
  2305. }
  2306. }
  2307. },
  2308. "/sysOperationRecord/findSysOperationRecord": {
  2309. "get": {
  2310. "security": [
  2311. {
  2312. "ApiKeyAuth": []
  2313. }
  2314. ],
  2315. "consumes": [
  2316. "application/json"
  2317. ],
  2318. "produces": [
  2319. "application/json"
  2320. ],
  2321. "tags": [
  2322. "SysOperationRecord"
  2323. ],
  2324. "summary": "用id查询SysOperationRecord",
  2325. "parameters": [
  2326. {
  2327. "description": "Id",
  2328. "name": "data",
  2329. "in": "body",
  2330. "required": true,
  2331. "schema": {
  2332. "$ref": "#/definitions/model.SysOperationRecord"
  2333. }
  2334. }
  2335. ],
  2336. "responses": {
  2337. "200": {
  2338. "description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
  2339. "schema": {
  2340. "type": "string"
  2341. }
  2342. }
  2343. }
  2344. }
  2345. },
  2346. "/sysOperationRecord/getSysOperationRecordList": {
  2347. "get": {
  2348. "security": [
  2349. {
  2350. "ApiKeyAuth": []
  2351. }
  2352. ],
  2353. "consumes": [
  2354. "application/json"
  2355. ],
  2356. "produces": [
  2357. "application/json"
  2358. ],
  2359. "tags": [
  2360. "SysOperationRecord"
  2361. ],
  2362. "summary": "分页获取SysOperationRecord列表",
  2363. "parameters": [
  2364. {
  2365. "description": "页码, 每页大小, 搜索条件",
  2366. "name": "data",
  2367. "in": "body",
  2368. "required": true,
  2369. "schema": {
  2370. "$ref": "#/definitions/request.SysOperationRecordSearch"
  2371. }
  2372. }
  2373. ],
  2374. "responses": {
  2375. "200": {
  2376. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  2377. "schema": {
  2378. "type": "string"
  2379. }
  2380. }
  2381. }
  2382. }
  2383. },
  2384. "/system/getServerInfo": {
  2385. "post": {
  2386. "security": [
  2387. {
  2388. "ApiKeyAuth": []
  2389. }
  2390. ],
  2391. "produces": [
  2392. "application/json"
  2393. ],
  2394. "tags": [
  2395. "System"
  2396. ],
  2397. "summary": "获取服务器信息",
  2398. "responses": {
  2399. "200": {
  2400. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  2401. "schema": {
  2402. "type": "string"
  2403. }
  2404. }
  2405. }
  2406. }
  2407. },
  2408. "/system/getSystemConfig": {
  2409. "post": {
  2410. "security": [
  2411. {
  2412. "ApiKeyAuth": []
  2413. }
  2414. ],
  2415. "produces": [
  2416. "application/json"
  2417. ],
  2418. "tags": [
  2419. "System"
  2420. ],
  2421. "summary": "获取配置文件内容",
  2422. "responses": {
  2423. "200": {
  2424. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  2425. "schema": {
  2426. "type": "string"
  2427. }
  2428. }
  2429. }
  2430. }
  2431. },
  2432. "/system/reloadSystem": {
  2433. "post": {
  2434. "security": [
  2435. {
  2436. "ApiKeyAuth": []
  2437. }
  2438. ],
  2439. "produces": [
  2440. "application/json"
  2441. ],
  2442. "tags": [
  2443. "System"
  2444. ],
  2445. "summary": "重启系统",
  2446. "responses": {
  2447. "200": {
  2448. "description": "{\"code\":0,\"data\":{},\"msg\":\"重启系统成功\"}",
  2449. "schema": {
  2450. "type": "string"
  2451. }
  2452. }
  2453. }
  2454. }
  2455. },
  2456. "/system/setSystemConfig": {
  2457. "post": {
  2458. "security": [
  2459. {
  2460. "ApiKeyAuth": []
  2461. }
  2462. ],
  2463. "produces": [
  2464. "application/json"
  2465. ],
  2466. "tags": [
  2467. "System"
  2468. ],
  2469. "summary": "设置配置文件内容",
  2470. "parameters": [
  2471. {
  2472. "description": "设置配置文件内容",
  2473. "name": "data",
  2474. "in": "body",
  2475. "required": true,
  2476. "schema": {
  2477. "$ref": "#/definitions/model.System"
  2478. }
  2479. }
  2480. ],
  2481. "responses": {
  2482. "200": {
  2483. "description": "{\"success\":true,\"data\":{},\"msg\":\"设置成功\"}",
  2484. "schema": {
  2485. "type": "string"
  2486. }
  2487. }
  2488. }
  2489. }
  2490. },
  2491. "/user/changePassword": {
  2492. "put": {
  2493. "security": [
  2494. {
  2495. "ApiKeyAuth": []
  2496. }
  2497. ],
  2498. "produces": [
  2499. "application/json"
  2500. ],
  2501. "tags": [
  2502. "SysUser"
  2503. ],
  2504. "summary": "用户修改密码",
  2505. "parameters": [
  2506. {
  2507. "description": "用户名, 原密码, 新密码",
  2508. "name": "data",
  2509. "in": "body",
  2510. "required": true,
  2511. "schema": {
  2512. "$ref": "#/definitions/request.ChangePasswordStruct"
  2513. }
  2514. }
  2515. ],
  2516. "responses": {
  2517. "200": {
  2518. "description": "{\"success\":true,\"data\":{},\"msg\":\"修改成功\"}",
  2519. "schema": {
  2520. "type": "string"
  2521. }
  2522. }
  2523. }
  2524. }
  2525. },
  2526. "/user/deleteUser": {
  2527. "delete": {
  2528. "security": [
  2529. {
  2530. "ApiKeyAuth": []
  2531. }
  2532. ],
  2533. "consumes": [
  2534. "application/json"
  2535. ],
  2536. "produces": [
  2537. "application/json"
  2538. ],
  2539. "tags": [
  2540. "SysUser"
  2541. ],
  2542. "summary": "删除用户",
  2543. "parameters": [
  2544. {
  2545. "description": "用户ID",
  2546. "name": "data",
  2547. "in": "body",
  2548. "required": true,
  2549. "schema": {
  2550. "$ref": "#/definitions/request.GetById"
  2551. }
  2552. }
  2553. ],
  2554. "responses": {
  2555. "200": {
  2556. "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
  2557. "schema": {
  2558. "type": "string"
  2559. }
  2560. }
  2561. }
  2562. }
  2563. },
  2564. "/user/getUserList": {
  2565. "post": {
  2566. "security": [
  2567. {
  2568. "ApiKeyAuth": []
  2569. }
  2570. ],
  2571. "consumes": [
  2572. "application/json"
  2573. ],
  2574. "produces": [
  2575. "application/json"
  2576. ],
  2577. "tags": [
  2578. "SysUser"
  2579. ],
  2580. "summary": "分页获取用户列表",
  2581. "parameters": [
  2582. {
  2583. "description": "页码, 每页大小",
  2584. "name": "data",
  2585. "in": "body",
  2586. "required": true,
  2587. "schema": {
  2588. "$ref": "#/definitions/request.PageInfo"
  2589. }
  2590. }
  2591. ],
  2592. "responses": {
  2593. "200": {
  2594. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  2595. "schema": {
  2596. "type": "string"
  2597. }
  2598. }
  2599. }
  2600. }
  2601. },
  2602. "/user/register": {
  2603. "post": {
  2604. "produces": [
  2605. "application/json"
  2606. ],
  2607. "tags": [
  2608. "SysUser"
  2609. ],
  2610. "summary": "用户注册账号",
  2611. "parameters": [
  2612. {
  2613. "description": "用户名, 昵称, 密码, 角色ID",
  2614. "name": "data",
  2615. "in": "body",
  2616. "required": true,
  2617. "schema": {
  2618. "$ref": "#/definitions/model.SysUser"
  2619. }
  2620. }
  2621. ],
  2622. "responses": {
  2623. "200": {
  2624. "description": "{\"success\":true,\"data\":{},\"msg\":\"注册成功\"}",
  2625. "schema": {
  2626. "type": "string"
  2627. }
  2628. }
  2629. }
  2630. }
  2631. },
  2632. "/user/setUserAuthority": {
  2633. "post": {
  2634. "security": [
  2635. {
  2636. "ApiKeyAuth": []
  2637. }
  2638. ],
  2639. "consumes": [
  2640. "application/json"
  2641. ],
  2642. "produces": [
  2643. "application/json"
  2644. ],
  2645. "tags": [
  2646. "SysUser"
  2647. ],
  2648. "summary": "设置用户权限",
  2649. "parameters": [
  2650. {
  2651. "description": "用户UUID, 角色ID",
  2652. "name": "data",
  2653. "in": "body",
  2654. "required": true,
  2655. "schema": {
  2656. "$ref": "#/definitions/request.SetUserAuth"
  2657. }
  2658. }
  2659. ],
  2660. "responses": {
  2661. "200": {
  2662. "description": "{\"success\":true,\"data\":{},\"msg\":\"修改成功\"}",
  2663. "schema": {
  2664. "type": "string"
  2665. }
  2666. }
  2667. }
  2668. }
  2669. },
  2670. "/user/setUserInfo": {
  2671. "put": {
  2672. "security": [
  2673. {
  2674. "ApiKeyAuth": []
  2675. }
  2676. ],
  2677. "consumes": [
  2678. "application/json"
  2679. ],
  2680. "produces": [
  2681. "application/json"
  2682. ],
  2683. "tags": [
  2684. "SysUser"
  2685. ],
  2686. "summary": "设置用户信息",
  2687. "parameters": [
  2688. {
  2689. "description": "ID, 用户名, 昵称, 头像链接",
  2690. "name": "data",
  2691. "in": "body",
  2692. "required": true,
  2693. "schema": {
  2694. "$ref": "#/definitions/model.SysUser"
  2695. }
  2696. }
  2697. ],
  2698. "responses": {
  2699. "200": {
  2700. "description": "{\"success\":true,\"data\":{},\"msg\":\"设置成功\"}",
  2701. "schema": {
  2702. "type": "string"
  2703. }
  2704. }
  2705. }
  2706. }
  2707. },
  2708. "/workflowProcess/completeWorkflowMove": {
  2709. "post": {
  2710. "security": [
  2711. {
  2712. "ApiKeyAuth": []
  2713. }
  2714. ],
  2715. "consumes": [
  2716. "application/json"
  2717. ],
  2718. "produces": [
  2719. "application/json"
  2720. ],
  2721. "tags": [
  2722. "WorkflowProcess"
  2723. ],
  2724. "summary": "提交工作流",
  2725. "responses": {
  2726. "200": {
  2727. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  2728. "schema": {
  2729. "type": "string"
  2730. }
  2731. }
  2732. }
  2733. }
  2734. },
  2735. "/workflowProcess/createWorkflowProcess": {
  2736. "post": {
  2737. "security": [
  2738. {
  2739. "ApiKeyAuth": []
  2740. }
  2741. ],
  2742. "consumes": [
  2743. "application/json"
  2744. ],
  2745. "produces": [
  2746. "application/json"
  2747. ],
  2748. "tags": [
  2749. "WorkflowProcess"
  2750. ],
  2751. "summary": "创建WorkflowProcess",
  2752. "parameters": [
  2753. {
  2754. "description": "创建WorkflowProcess",
  2755. "name": "data",
  2756. "in": "body",
  2757. "required": true,
  2758. "schema": {
  2759. "$ref": "#/definitions/model.WorkflowProcess"
  2760. }
  2761. }
  2762. ],
  2763. "responses": {
  2764. "200": {
  2765. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  2766. "schema": {
  2767. "type": "string"
  2768. }
  2769. }
  2770. }
  2771. }
  2772. },
  2773. "/workflowProcess/deleteWorkflowProcess": {
  2774. "delete": {
  2775. "security": [
  2776. {
  2777. "ApiKeyAuth": []
  2778. }
  2779. ],
  2780. "consumes": [
  2781. "application/json"
  2782. ],
  2783. "produces": [
  2784. "application/json"
  2785. ],
  2786. "tags": [
  2787. "WorkflowProcess"
  2788. ],
  2789. "summary": "删除WorkflowProcess",
  2790. "parameters": [
  2791. {
  2792. "description": "删除WorkflowProcess",
  2793. "name": "data",
  2794. "in": "body",
  2795. "required": true,
  2796. "schema": {
  2797. "$ref": "#/definitions/model.WorkflowProcess"
  2798. }
  2799. }
  2800. ],
  2801. "responses": {
  2802. "200": {
  2803. "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
  2804. "schema": {
  2805. "type": "string"
  2806. }
  2807. }
  2808. }
  2809. }
  2810. },
  2811. "/workflowProcess/deleteWorkflowProcessByIds": {
  2812. "delete": {
  2813. "security": [
  2814. {
  2815. "ApiKeyAuth": []
  2816. }
  2817. ],
  2818. "consumes": [
  2819. "application/json"
  2820. ],
  2821. "produces": [
  2822. "application/json"
  2823. ],
  2824. "tags": [
  2825. "WorkflowProcess"
  2826. ],
  2827. "summary": "批量删除WorkflowProcess",
  2828. "parameters": [
  2829. {
  2830. "description": "批量删除WorkflowProcess",
  2831. "name": "data",
  2832. "in": "body",
  2833. "required": true,
  2834. "schema": {
  2835. "$ref": "#/definitions/request.IdsReq"
  2836. }
  2837. }
  2838. ],
  2839. "responses": {
  2840. "200": {
  2841. "description": "{\"success\":true,\"data\":{},\"msg\":\"删除成功\"}",
  2842. "schema": {
  2843. "type": "string"
  2844. }
  2845. }
  2846. }
  2847. }
  2848. },
  2849. "/workflowProcess/findWorkflowProcess": {
  2850. "get": {
  2851. "security": [
  2852. {
  2853. "ApiKeyAuth": []
  2854. }
  2855. ],
  2856. "consumes": [
  2857. "application/json"
  2858. ],
  2859. "produces": [
  2860. "application/json"
  2861. ],
  2862. "tags": [
  2863. "WorkflowProcess"
  2864. ],
  2865. "summary": "用id查询WorkflowProcess",
  2866. "parameters": [
  2867. {
  2868. "description": "用id查询WorkflowProcess",
  2869. "name": "data",
  2870. "in": "body",
  2871. "required": true,
  2872. "schema": {
  2873. "$ref": "#/definitions/model.WorkflowProcess"
  2874. }
  2875. }
  2876. ],
  2877. "responses": {
  2878. "200": {
  2879. "description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
  2880. "schema": {
  2881. "type": "string"
  2882. }
  2883. }
  2884. }
  2885. }
  2886. },
  2887. "/workflowProcess/findWorkflowStep": {
  2888. "get": {
  2889. "security": [
  2890. {
  2891. "ApiKeyAuth": []
  2892. }
  2893. ],
  2894. "consumes": [
  2895. "application/json"
  2896. ],
  2897. "produces": [
  2898. "application/json"
  2899. ],
  2900. "tags": [
  2901. "WorkflowProcess"
  2902. ],
  2903. "summary": "用id查询工作流步骤",
  2904. "parameters": [
  2905. {
  2906. "description": "用id查询WorkflowProcess",
  2907. "name": "data",
  2908. "in": "body",
  2909. "required": true,
  2910. "schema": {
  2911. "$ref": "#/definitions/model.WorkflowProcess"
  2912. }
  2913. }
  2914. ],
  2915. "responses": {
  2916. "200": {
  2917. "description": "{\"success\":true,\"data\":{},\"msg\":\"查询成功\"}",
  2918. "schema": {
  2919. "type": "string"
  2920. }
  2921. }
  2922. }
  2923. }
  2924. },
  2925. "/workflowProcess/getMyNeed": {
  2926. "get": {
  2927. "security": [
  2928. {
  2929. "ApiKeyAuth": []
  2930. }
  2931. ],
  2932. "consumes": [
  2933. "application/json"
  2934. ],
  2935. "produces": [
  2936. "application/json"
  2937. ],
  2938. "tags": [
  2939. "WorkflowProcess"
  2940. ],
  2941. "summary": "我的待办",
  2942. "responses": {
  2943. "200": {
  2944. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  2945. "schema": {
  2946. "type": "string"
  2947. }
  2948. }
  2949. }
  2950. }
  2951. },
  2952. "/workflowProcess/getMyStated": {
  2953. "get": {
  2954. "security": [
  2955. {
  2956. "ApiKeyAuth": []
  2957. }
  2958. ],
  2959. "consumes": [
  2960. "application/json"
  2961. ],
  2962. "produces": [
  2963. "application/json"
  2964. ],
  2965. "tags": [
  2966. "WorkflowProcess"
  2967. ],
  2968. "summary": "我发起的工作流",
  2969. "responses": {
  2970. "200": {
  2971. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  2972. "schema": {
  2973. "type": "string"
  2974. }
  2975. }
  2976. }
  2977. }
  2978. },
  2979. "/workflowProcess/getWorkflowMoveByID": {
  2980. "get": {
  2981. "security": [
  2982. {
  2983. "ApiKeyAuth": []
  2984. }
  2985. ],
  2986. "consumes": [
  2987. "application/json"
  2988. ],
  2989. "produces": [
  2990. "application/json"
  2991. ],
  2992. "tags": [
  2993. "WorkflowProcess"
  2994. ],
  2995. "summary": "根据id获取当前节点详情和历史",
  2996. "parameters": [
  2997. {
  2998. "description": "根据id获取当前节点详情和过往",
  2999. "name": "data",
  3000. "in": "body",
  3001. "required": true,
  3002. "schema": {
  3003. "$ref": "#/definitions/request.GetById"
  3004. }
  3005. }
  3006. ],
  3007. "responses": {
  3008. "200": {
  3009. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  3010. "schema": {
  3011. "type": "string"
  3012. }
  3013. }
  3014. }
  3015. }
  3016. },
  3017. "/workflowProcess/getWorkflowProcessList": {
  3018. "get": {
  3019. "security": [
  3020. {
  3021. "ApiKeyAuth": []
  3022. }
  3023. ],
  3024. "consumes": [
  3025. "application/json"
  3026. ],
  3027. "produces": [
  3028. "application/json"
  3029. ],
  3030. "tags": [
  3031. "WorkflowProcess"
  3032. ],
  3033. "summary": "分页获取WorkflowProcess列表",
  3034. "parameters": [
  3035. {
  3036. "description": "分页获取WorkflowProcess列表",
  3037. "name": "data",
  3038. "in": "body",
  3039. "required": true,
  3040. "schema": {
  3041. "$ref": "#/definitions/request.WorkflowProcessSearch"
  3042. }
  3043. }
  3044. ],
  3045. "responses": {
  3046. "200": {
  3047. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  3048. "schema": {
  3049. "type": "string"
  3050. }
  3051. }
  3052. }
  3053. }
  3054. },
  3055. "/workflowProcess/startWorkflow": {
  3056. "post": {
  3057. "security": [
  3058. {
  3059. "ApiKeyAuth": []
  3060. }
  3061. ],
  3062. "consumes": [
  3063. "application/json"
  3064. ],
  3065. "produces": [
  3066. "application/json"
  3067. ],
  3068. "tags": [
  3069. "WorkflowProcess"
  3070. ],
  3071. "summary": "开启工作流",
  3072. "responses": {
  3073. "200": {
  3074. "description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
  3075. "schema": {
  3076. "type": "string"
  3077. }
  3078. }
  3079. }
  3080. }
  3081. },
  3082. "/workflowProcess/updateWorkflowProcess": {
  3083. "put": {
  3084. "security": [
  3085. {
  3086. "ApiKeyAuth": []
  3087. }
  3088. ],
  3089. "consumes": [
  3090. "application/json"
  3091. ],
  3092. "produces": [
  3093. "application/json"
  3094. ],
  3095. "tags": [
  3096. "WorkflowProcess"
  3097. ],
  3098. "summary": "更新WorkflowProcess",
  3099. "parameters": [
  3100. {
  3101. "description": "更新WorkflowProcess",
  3102. "name": "data",
  3103. "in": "body",
  3104. "required": true,
  3105. "schema": {
  3106. "$ref": "#/definitions/model.WorkflowProcess"
  3107. }
  3108. }
  3109. ],
  3110. "responses": {
  3111. "200": {
  3112. "description": "{\"success\":true,\"data\":{},\"msg\":\"更新成功\"}",
  3113. "schema": {
  3114. "type": "string"
  3115. }
  3116. }
  3117. }
  3118. }
  3119. }
  3120. },
  3121. "definitions": {
  3122. "config.AliyunOSS": {
  3123. "type": "object",
  3124. "properties": {
  3125. "accessKeyId": {
  3126. "type": "string"
  3127. },
  3128. "accessKeySecret": {
  3129. "type": "string"
  3130. },
  3131. "bucketName": {
  3132. "type": "string"
  3133. },
  3134. "bucketUrl": {
  3135. "type": "string"
  3136. },
  3137. "endpoint": {
  3138. "type": "string"
  3139. }
  3140. }
  3141. },
  3142. "config.Captcha": {
  3143. "type": "object",
  3144. "properties": {
  3145. "imgHeight": {
  3146. "type": "integer"
  3147. },
  3148. "imgWidth": {
  3149. "type": "integer"
  3150. },
  3151. "keyLong": {
  3152. "type": "integer"
  3153. }
  3154. }
  3155. },
  3156. "config.Casbin": {
  3157. "type": "object",
  3158. "properties": {
  3159. "modelPath": {
  3160. "type": "string"
  3161. }
  3162. }
  3163. },
  3164. "config.Email": {
  3165. "type": "object",
  3166. "properties": {
  3167. "from": {
  3168. "type": "string"
  3169. },
  3170. "host": {
  3171. "type": "string"
  3172. },
  3173. "isSSL": {
  3174. "type": "boolean"
  3175. },
  3176. "nickname": {
  3177. "type": "string"
  3178. },
  3179. "port": {
  3180. "type": "integer"
  3181. },
  3182. "secret": {
  3183. "type": "string"
  3184. },
  3185. "to": {
  3186. "type": "string"
  3187. }
  3188. }
  3189. },
  3190. "config.Excel": {
  3191. "type": "object",
  3192. "properties": {
  3193. "dir": {
  3194. "type": "string"
  3195. }
  3196. }
  3197. },
  3198. "config.JWT": {
  3199. "type": "object",
  3200. "properties": {
  3201. "bufferTime": {
  3202. "type": "integer"
  3203. },
  3204. "expiresTime": {
  3205. "type": "integer"
  3206. },
  3207. "signingKey": {
  3208. "type": "string"
  3209. }
  3210. }
  3211. },
  3212. "config.Local": {
  3213. "type": "object",
  3214. "properties": {
  3215. "path": {
  3216. "type": "string"
  3217. }
  3218. }
  3219. },
  3220. "config.Mysql": {
  3221. "type": "object",
  3222. "properties": {
  3223. "config": {
  3224. "type": "string"
  3225. },
  3226. "dbname": {
  3227. "type": "string"
  3228. },
  3229. "logMode": {
  3230. "type": "boolean"
  3231. },
  3232. "logZap": {
  3233. "type": "string"
  3234. },
  3235. "maxIdleConns": {
  3236. "type": "integer"
  3237. },
  3238. "maxOpenConns": {
  3239. "type": "integer"
  3240. },
  3241. "password": {
  3242. "type": "string"
  3243. },
  3244. "path": {
  3245. "type": "string"
  3246. },
  3247. "username": {
  3248. "type": "string"
  3249. }
  3250. }
  3251. },
  3252. "config.Qiniu": {
  3253. "type": "object",
  3254. "properties": {
  3255. "accessKey": {
  3256. "type": "string"
  3257. },
  3258. "bucket": {
  3259. "type": "string"
  3260. },
  3261. "imgPath": {
  3262. "type": "string"
  3263. },
  3264. "secretKey": {
  3265. "type": "string"
  3266. },
  3267. "useCdnDomains": {
  3268. "type": "boolean"
  3269. },
  3270. "useHttps": {
  3271. "type": "boolean"
  3272. },
  3273. "zone": {
  3274. "type": "string"
  3275. }
  3276. }
  3277. },
  3278. "config.Redis": {
  3279. "type": "object",
  3280. "properties": {
  3281. "addr": {
  3282. "type": "string"
  3283. },
  3284. "db": {
  3285. "type": "integer"
  3286. },
  3287. "password": {
  3288. "type": "string"
  3289. }
  3290. }
  3291. },
  3292. "config.Server": {
  3293. "type": "object",
  3294. "properties": {
  3295. "aliyunOSS": {
  3296. "type": "object",
  3297. "$ref": "#/definitions/config.AliyunOSS"
  3298. },
  3299. "captcha": {
  3300. "type": "object",
  3301. "$ref": "#/definitions/config.Captcha"
  3302. },
  3303. "casbin": {
  3304. "type": "object",
  3305. "$ref": "#/definitions/config.Casbin"
  3306. },
  3307. "email": {
  3308. "type": "object",
  3309. "$ref": "#/definitions/config.Email"
  3310. },
  3311. "excel": {
  3312. "type": "object",
  3313. "$ref": "#/definitions/config.Excel"
  3314. },
  3315. "jwt": {
  3316. "type": "object",
  3317. "$ref": "#/definitions/config.JWT"
  3318. },
  3319. "local": {
  3320. "description": "oss",
  3321. "type": "object",
  3322. "$ref": "#/definitions/config.Local"
  3323. },
  3324. "mysql": {
  3325. "description": "gorm",
  3326. "type": "object",
  3327. "$ref": "#/definitions/config.Mysql"
  3328. },
  3329. "qiniu": {
  3330. "type": "object",
  3331. "$ref": "#/definitions/config.Qiniu"
  3332. },
  3333. "redis": {
  3334. "type": "object",
  3335. "$ref": "#/definitions/config.Redis"
  3336. },
  3337. "system": {
  3338. "type": "object",
  3339. "$ref": "#/definitions/config.System"
  3340. },
  3341. "tencentCOS": {
  3342. "type": "object",
  3343. "$ref": "#/definitions/config.TencentCOS"
  3344. },
  3345. "zap": {
  3346. "type": "object",
  3347. "$ref": "#/definitions/config.Zap"
  3348. }
  3349. }
  3350. },
  3351. "config.System": {
  3352. "type": "object",
  3353. "properties": {
  3354. "addr": {
  3355. "type": "integer"
  3356. },
  3357. "dbType": {
  3358. "type": "string"
  3359. },
  3360. "env": {
  3361. "type": "string"
  3362. },
  3363. "ossType": {
  3364. "type": "string"
  3365. },
  3366. "useMultipoint": {
  3367. "type": "boolean"
  3368. }
  3369. }
  3370. },
  3371. "config.TencentCOS": {
  3372. "type": "object",
  3373. "properties": {
  3374. "baseURL": {
  3375. "type": "string"
  3376. },
  3377. "bucket": {
  3378. "type": "string"
  3379. },
  3380. "pathPrefix": {
  3381. "type": "string"
  3382. },
  3383. "region": {
  3384. "type": "string"
  3385. },
  3386. "secretID": {
  3387. "type": "string"
  3388. },
  3389. "secretKey": {
  3390. "type": "string"
  3391. }
  3392. }
  3393. },
  3394. "config.Zap": {
  3395. "type": "object",
  3396. "properties": {
  3397. "director": {
  3398. "type": "string"
  3399. },
  3400. "encodeLevel": {
  3401. "type": "string"
  3402. },
  3403. "format": {
  3404. "type": "string"
  3405. },
  3406. "level": {
  3407. "type": "string"
  3408. },
  3409. "linkName": {
  3410. "type": "string"
  3411. },
  3412. "logInConsole": {
  3413. "type": "boolean"
  3414. },
  3415. "prefix": {
  3416. "type": "string"
  3417. },
  3418. "showLine": {
  3419. "type": "boolean"
  3420. },
  3421. "stacktraceKey": {
  3422. "type": "string"
  3423. }
  3424. }
  3425. },
  3426. "model.AutoCodeStruct": {
  3427. "type": "object",
  3428. "properties": {
  3429. "abbreviation": {
  3430. "type": "string"
  3431. },
  3432. "autoCreateApiToSql": {
  3433. "type": "boolean"
  3434. },
  3435. "autoMoveFile": {
  3436. "type": "boolean"
  3437. },
  3438. "description": {
  3439. "type": "string"
  3440. },
  3441. "fields": {
  3442. "type": "array",
  3443. "items": {
  3444. "$ref": "#/definitions/model.Field"
  3445. }
  3446. },
  3447. "packageName": {
  3448. "type": "string"
  3449. },
  3450. "structName": {
  3451. "type": "string"
  3452. },
  3453. "tableName": {
  3454. "type": "string"
  3455. }
  3456. }
  3457. },
  3458. "model.ExaCustomer": {
  3459. "type": "object",
  3460. "properties": {
  3461. "createdAt": {
  3462. "type": "string"
  3463. },
  3464. "customerName": {
  3465. "type": "string"
  3466. },
  3467. "customerPhoneData": {
  3468. "type": "string"
  3469. },
  3470. "id": {
  3471. "type": "integer"
  3472. },
  3473. "sysUser": {
  3474. "type": "object",
  3475. "$ref": "#/definitions/model.SysUser"
  3476. },
  3477. "sysUserAuthorityID": {
  3478. "type": "string"
  3479. },
  3480. "sysUserId": {
  3481. "type": "integer"
  3482. },
  3483. "updatedAt": {
  3484. "type": "string"
  3485. }
  3486. }
  3487. },
  3488. "model.ExaFileUploadAndDownload": {
  3489. "type": "object",
  3490. "properties": {
  3491. "createdAt": {
  3492. "type": "string"
  3493. },
  3494. "id": {
  3495. "type": "integer"
  3496. },
  3497. "key": {
  3498. "type": "string"
  3499. },
  3500. "name": {
  3501. "type": "string"
  3502. },
  3503. "tag": {
  3504. "type": "string"
  3505. },
  3506. "updatedAt": {
  3507. "type": "string"
  3508. },
  3509. "url": {
  3510. "type": "string"
  3511. }
  3512. }
  3513. },
  3514. "model.ExcelInfo": {
  3515. "type": "object",
  3516. "properties": {
  3517. "fileName": {
  3518. "type": "string"
  3519. },
  3520. "infoList": {
  3521. "type": "array",
  3522. "items": {
  3523. "$ref": "#/definitions/model.SysBaseMenu"
  3524. }
  3525. }
  3526. }
  3527. },
  3528. "model.Field": {
  3529. "type": "object",
  3530. "properties": {
  3531. "columnName": {
  3532. "type": "string"
  3533. },
  3534. "comment": {
  3535. "type": "string"
  3536. },
  3537. "dataType": {
  3538. "type": "string"
  3539. },
  3540. "dataTypeLong": {
  3541. "type": "string"
  3542. },
  3543. "dictType": {
  3544. "type": "string"
  3545. },
  3546. "fieldDesc": {
  3547. "type": "string"
  3548. },
  3549. "fieldJson": {
  3550. "type": "string"
  3551. },
  3552. "fieldName": {
  3553. "type": "string"
  3554. },
  3555. "fieldSearchType": {
  3556. "type": "string"
  3557. },
  3558. "fieldType": {
  3559. "type": "string"
  3560. }
  3561. }
  3562. },
  3563. "model.SysApi": {
  3564. "type": "object",
  3565. "properties": {
  3566. "apiGroup": {
  3567. "type": "string"
  3568. },
  3569. "createdAt": {
  3570. "type": "string"
  3571. },
  3572. "description": {
  3573. "type": "string"
  3574. },
  3575. "id": {
  3576. "type": "integer"
  3577. },
  3578. "method": {
  3579. "type": "string"
  3580. },
  3581. "path": {
  3582. "type": "string"
  3583. },
  3584. "updatedAt": {
  3585. "type": "string"
  3586. }
  3587. }
  3588. },
  3589. "model.SysAuthority": {
  3590. "type": "object",
  3591. "properties": {
  3592. "authorityId": {
  3593. "type": "string"
  3594. },
  3595. "authorityName": {
  3596. "type": "string"
  3597. },
  3598. "children": {
  3599. "type": "array",
  3600. "items": {
  3601. "$ref": "#/definitions/model.SysAuthority"
  3602. }
  3603. },
  3604. "createdAt": {
  3605. "type": "string"
  3606. },
  3607. "dataAuthorityId": {
  3608. "type": "array",
  3609. "items": {
  3610. "$ref": "#/definitions/model.SysAuthority"
  3611. }
  3612. },
  3613. "defaultRouter": {
  3614. "type": "string"
  3615. },
  3616. "deletedAt": {
  3617. "type": "string"
  3618. },
  3619. "menus": {
  3620. "type": "array",
  3621. "items": {
  3622. "$ref": "#/definitions/model.SysBaseMenu"
  3623. }
  3624. },
  3625. "parentId": {
  3626. "type": "string"
  3627. },
  3628. "updatedAt": {
  3629. "type": "string"
  3630. }
  3631. }
  3632. },
  3633. "model.SysBaseMenu": {
  3634. "type": "object",
  3635. "properties": {
  3636. "authoritys": {
  3637. "type": "array",
  3638. "items": {
  3639. "$ref": "#/definitions/model.SysAuthority"
  3640. }
  3641. },
  3642. "children": {
  3643. "type": "array",
  3644. "items": {
  3645. "$ref": "#/definitions/model.SysBaseMenu"
  3646. }
  3647. },
  3648. "closeTab": {
  3649. "type": "boolean"
  3650. },
  3651. "component": {
  3652. "type": "string"
  3653. },
  3654. "createdAt": {
  3655. "type": "string"
  3656. },
  3657. "defaultMenu": {
  3658. "type": "boolean"
  3659. },
  3660. "hidden": {
  3661. "type": "boolean"
  3662. },
  3663. "icon": {
  3664. "type": "string"
  3665. },
  3666. "id": {
  3667. "type": "integer"
  3668. },
  3669. "keepAlive": {
  3670. "type": "boolean"
  3671. },
  3672. "name": {
  3673. "type": "string"
  3674. },
  3675. "parameters": {
  3676. "type": "array",
  3677. "items": {
  3678. "$ref": "#/definitions/model.SysBaseMenuParameter"
  3679. }
  3680. },
  3681. "parentId": {
  3682. "type": "string"
  3683. },
  3684. "path": {
  3685. "type": "string"
  3686. },
  3687. "sort": {
  3688. "type": "integer"
  3689. },
  3690. "title": {
  3691. "type": "string"
  3692. },
  3693. "updatedAt": {
  3694. "type": "string"
  3695. }
  3696. }
  3697. },
  3698. "model.SysBaseMenuParameter": {
  3699. "type": "object",
  3700. "properties": {
  3701. "createdAt": {
  3702. "type": "string"
  3703. },
  3704. "id": {
  3705. "type": "integer"
  3706. },
  3707. "key": {
  3708. "type": "string"
  3709. },
  3710. "sysBaseMenuID": {
  3711. "type": "integer"
  3712. },
  3713. "type": {
  3714. "type": "string"
  3715. },
  3716. "updatedAt": {
  3717. "type": "string"
  3718. },
  3719. "value": {
  3720. "type": "string"
  3721. }
  3722. }
  3723. },
  3724. "model.SysDictionary": {
  3725. "type": "object",
  3726. "properties": {
  3727. "createdAt": {
  3728. "type": "string"
  3729. },
  3730. "desc": {
  3731. "type": "string"
  3732. },
  3733. "id": {
  3734. "type": "integer"
  3735. },
  3736. "name": {
  3737. "type": "string"
  3738. },
  3739. "status": {
  3740. "type": "boolean"
  3741. },
  3742. "sysDictionaryDetails": {
  3743. "type": "array",
  3744. "items": {
  3745. "$ref": "#/definitions/model.SysDictionaryDetail"
  3746. }
  3747. },
  3748. "type": {
  3749. "type": "string"
  3750. },
  3751. "updatedAt": {
  3752. "type": "string"
  3753. }
  3754. }
  3755. },
  3756. "model.SysDictionaryDetail": {
  3757. "type": "object",
  3758. "properties": {
  3759. "createdAt": {
  3760. "type": "string"
  3761. },
  3762. "id": {
  3763. "type": "integer"
  3764. },
  3765. "label": {
  3766. "type": "string"
  3767. },
  3768. "sort": {
  3769. "type": "integer"
  3770. },
  3771. "status": {
  3772. "type": "boolean"
  3773. },
  3774. "sysDictionaryID": {
  3775. "type": "integer"
  3776. },
  3777. "updatedAt": {
  3778. "type": "string"
  3779. },
  3780. "value": {
  3781. "type": "integer"
  3782. }
  3783. }
  3784. },
  3785. "model.SysOperationRecord": {
  3786. "type": "object",
  3787. "properties": {
  3788. "agent": {
  3789. "type": "string"
  3790. },
  3791. "body": {
  3792. "type": "string"
  3793. },
  3794. "createdAt": {
  3795. "type": "string"
  3796. },
  3797. "error_message": {
  3798. "type": "string"
  3799. },
  3800. "id": {
  3801. "type": "integer"
  3802. },
  3803. "ip": {
  3804. "type": "string"
  3805. },
  3806. "latency": {
  3807. "type": "string"
  3808. },
  3809. "method": {
  3810. "type": "string"
  3811. },
  3812. "path": {
  3813. "type": "string"
  3814. },
  3815. "resp": {
  3816. "type": "string"
  3817. },
  3818. "status": {
  3819. "type": "integer"
  3820. },
  3821. "updatedAt": {
  3822. "type": "string"
  3823. },
  3824. "user": {
  3825. "type": "object",
  3826. "$ref": "#/definitions/model.SysUser"
  3827. },
  3828. "user_id": {
  3829. "type": "integer"
  3830. }
  3831. }
  3832. },
  3833. "model.SysUser": {
  3834. "type": "object",
  3835. "properties": {
  3836. "authority": {
  3837. "type": "object",
  3838. "$ref": "#/definitions/model.SysAuthority"
  3839. },
  3840. "authorityId": {
  3841. "type": "string"
  3842. },
  3843. "createdAt": {
  3844. "type": "string"
  3845. },
  3846. "headerImg": {
  3847. "type": "string"
  3848. },
  3849. "id": {
  3850. "type": "integer"
  3851. },
  3852. "nickName": {
  3853. "type": "string"
  3854. },
  3855. "updatedAt": {
  3856. "type": "string"
  3857. },
  3858. "userName": {
  3859. "type": "string"
  3860. },
  3861. "uuid": {
  3862. "type": "string"
  3863. }
  3864. }
  3865. },
  3866. "model.System": {
  3867. "type": "object",
  3868. "properties": {
  3869. "config": {
  3870. "type": "object",
  3871. "$ref": "#/definitions/config.Server"
  3872. }
  3873. }
  3874. },
  3875. "model.WorkflowEdge": {
  3876. "type": "object",
  3877. "properties": {
  3878. "clazz": {
  3879. "type": "string"
  3880. },
  3881. "conditionExpression": {
  3882. "type": "string"
  3883. },
  3884. "createdAt": {
  3885. "type": "string"
  3886. },
  3887. "description": {
  3888. "type": "string"
  3889. },
  3890. "endPoint": {
  3891. "description": "终点信息",
  3892. "type": "object",
  3893. "$ref": "#/definitions/model.WorkflowEndPoint"
  3894. },
  3895. "hideIcon": {
  3896. "type": "boolean"
  3897. },
  3898. "id": {
  3899. "type": "string"
  3900. },
  3901. "label": {
  3902. "type": "string"
  3903. },
  3904. "reverse": {
  3905. "type": "boolean"
  3906. },
  3907. "seq": {
  3908. "type": "string"
  3909. },
  3910. "shape": {
  3911. "type": "string"
  3912. },
  3913. "source": {
  3914. "type": "string"
  3915. },
  3916. "sourceAnchor": {
  3917. "type": "integer"
  3918. },
  3919. "startPoint": {
  3920. "description": "起点信息",
  3921. "type": "object",
  3922. "$ref": "#/definitions/model.WorkflowStartPoint"
  3923. },
  3924. "target": {
  3925. "type": "string"
  3926. },
  3927. "targetAnchor": {
  3928. "type": "integer"
  3929. },
  3930. "updatedAt": {
  3931. "type": "string"
  3932. }
  3933. }
  3934. },
  3935. "model.WorkflowEndPoint": {
  3936. "type": "object",
  3937. "properties": {
  3938. "createdAt": {
  3939. "type": "string"
  3940. },
  3941. "id": {
  3942. "type": "integer"
  3943. },
  3944. "index": {
  3945. "type": "integer"
  3946. },
  3947. "updatedAt": {
  3948. "type": "string"
  3949. },
  3950. "workflowEdgeID": {
  3951. "type": "string"
  3952. },
  3953. "x": {
  3954. "type": "number"
  3955. },
  3956. "y": {
  3957. "type": "number"
  3958. }
  3959. }
  3960. },
  3961. "model.WorkflowNode": {
  3962. "type": "object",
  3963. "properties": {
  3964. "assignType": {
  3965. "type": "string"
  3966. },
  3967. "assignValue": {
  3968. "type": "string"
  3969. },
  3970. "clazz": {
  3971. "type": "string"
  3972. },
  3973. "content": {
  3974. "type": "string"
  3975. },
  3976. "createdAt": {
  3977. "type": "string"
  3978. },
  3979. "cycle": {
  3980. "type": "string"
  3981. },
  3982. "description": {
  3983. "type": "string"
  3984. },
  3985. "dueDate": {
  3986. "type": "string"
  3987. },
  3988. "duration": {
  3989. "type": "string"
  3990. },
  3991. "hideIcon": {
  3992. "type": "boolean"
  3993. },
  3994. "id": {
  3995. "type": "string"
  3996. },
  3997. "label": {
  3998. "type": "string"
  3999. },
  4000. "shape": {
  4001. "type": "string"
  4002. },
  4003. "stateValue": {
  4004. "type": "string"
  4005. },
  4006. "subject": {
  4007. "type": "string"
  4008. },
  4009. "success": {
  4010. "type": "boolean"
  4011. },
  4012. "to": {
  4013. "type": "string"
  4014. },
  4015. "type": {
  4016. "type": "string"
  4017. },
  4018. "updatedAt": {
  4019. "type": "string"
  4020. },
  4021. "view": {
  4022. "type": "string"
  4023. },
  4024. "waitState": {
  4025. "type": "string"
  4026. },
  4027. "workflowProcessID": {
  4028. "type": "string"
  4029. },
  4030. "x": {
  4031. "type": "number"
  4032. },
  4033. "y": {
  4034. "type": "number"
  4035. }
  4036. }
  4037. },
  4038. "model.WorkflowProcess": {
  4039. "type": "object",
  4040. "properties": {
  4041. "category": {
  4042. "type": "string"
  4043. },
  4044. "clazz": {
  4045. "type": "string"
  4046. },
  4047. "createdAt": {
  4048. "type": "string"
  4049. },
  4050. "description": {
  4051. "type": "string"
  4052. },
  4053. "edges": {
  4054. "description": "流程链接数据",
  4055. "type": "array",
  4056. "items": {
  4057. "$ref": "#/definitions/model.WorkflowEdge"
  4058. }
  4059. },
  4060. "hideIcon": {
  4061. "type": "boolean"
  4062. },
  4063. "id": {
  4064. "type": "string"
  4065. },
  4066. "label": {
  4067. "type": "string"
  4068. },
  4069. "name": {
  4070. "type": "string"
  4071. },
  4072. "nodes": {
  4073. "description": "流程节点数据",
  4074. "type": "array",
  4075. "items": {
  4076. "$ref": "#/definitions/model.WorkflowNode"
  4077. }
  4078. },
  4079. "updatedAt": {
  4080. "type": "string"
  4081. },
  4082. "view": {
  4083. "type": "string"
  4084. }
  4085. }
  4086. },
  4087. "model.WorkflowStartPoint": {
  4088. "type": "object",
  4089. "properties": {
  4090. "createdAt": {
  4091. "type": "string"
  4092. },
  4093. "id": {
  4094. "type": "integer"
  4095. },
  4096. "index": {
  4097. "type": "integer"
  4098. },
  4099. "updatedAt": {
  4100. "type": "string"
  4101. },
  4102. "workflowEdgeID": {
  4103. "type": "string"
  4104. },
  4105. "x": {
  4106. "type": "number"
  4107. },
  4108. "y": {
  4109. "type": "number"
  4110. }
  4111. }
  4112. },
  4113. "request.AddMenuAuthorityInfo": {
  4114. "type": "object",
  4115. "properties": {
  4116. "authorityId": {
  4117. "type": "string"
  4118. },
  4119. "menus": {
  4120. "type": "array",
  4121. "items": {
  4122. "$ref": "#/definitions/model.SysBaseMenu"
  4123. }
  4124. }
  4125. }
  4126. },
  4127. "request.CasbinInReceive": {
  4128. "type": "object",
  4129. "properties": {
  4130. "authorityId": {
  4131. "type": "string"
  4132. },
  4133. "casbinInfos": {
  4134. "type": "array",
  4135. "items": {
  4136. "$ref": "#/definitions/request.CasbinInfo"
  4137. }
  4138. }
  4139. }
  4140. },
  4141. "request.CasbinInfo": {
  4142. "type": "object",
  4143. "properties": {
  4144. "method": {
  4145. "type": "string"
  4146. },
  4147. "path": {
  4148. "type": "string"
  4149. }
  4150. }
  4151. },
  4152. "request.ChangePasswordStruct": {
  4153. "type": "object",
  4154. "properties": {
  4155. "newPassword": {
  4156. "type": "string"
  4157. },
  4158. "password": {
  4159. "type": "string"
  4160. },
  4161. "username": {
  4162. "type": "string"
  4163. }
  4164. }
  4165. },
  4166. "request.Empty": {
  4167. "type": "object"
  4168. },
  4169. "request.GetAuthorityId": {
  4170. "type": "object",
  4171. "properties": {
  4172. "authorityId": {
  4173. "type": "string"
  4174. }
  4175. }
  4176. },
  4177. "request.GetById": {
  4178. "type": "object",
  4179. "properties": {
  4180. "id": {
  4181. "type": "number"
  4182. }
  4183. }
  4184. },
  4185. "request.IdsReq": {
  4186. "type": "object",
  4187. "properties": {
  4188. "ids": {
  4189. "type": "array",
  4190. "items": {
  4191. "type": "integer"
  4192. }
  4193. }
  4194. }
  4195. },
  4196. "request.InitDB": {
  4197. "type": "object",
  4198. "required": [
  4199. "dbName",
  4200. "userName"
  4201. ],
  4202. "properties": {
  4203. "dbName": {
  4204. "type": "string"
  4205. },
  4206. "host": {
  4207. "type": "string"
  4208. },
  4209. "password": {
  4210. "type": "string"
  4211. },
  4212. "port": {
  4213. "type": "string"
  4214. },
  4215. "userName": {
  4216. "type": "string"
  4217. }
  4218. }
  4219. },
  4220. "request.Login": {
  4221. "type": "object",
  4222. "properties": {
  4223. "captcha": {
  4224. "type": "string"
  4225. },
  4226. "captchaId": {
  4227. "type": "string"
  4228. },
  4229. "password": {
  4230. "type": "string"
  4231. },
  4232. "username": {
  4233. "type": "string"
  4234. }
  4235. }
  4236. },
  4237. "request.PageInfo": {
  4238. "type": "object",
  4239. "properties": {
  4240. "page": {
  4241. "type": "integer"
  4242. },
  4243. "pageSize": {
  4244. "type": "integer"
  4245. }
  4246. }
  4247. },
  4248. "request.SearchApiParams": {
  4249. "type": "object",
  4250. "properties": {
  4251. "apiGroup": {
  4252. "type": "string"
  4253. },
  4254. "createdAt": {
  4255. "type": "string"
  4256. },
  4257. "desc": {
  4258. "type": "boolean"
  4259. },
  4260. "description": {
  4261. "type": "string"
  4262. },
  4263. "id": {
  4264. "type": "integer"
  4265. },
  4266. "method": {
  4267. "type": "string"
  4268. },
  4269. "orderKey": {
  4270. "type": "string"
  4271. },
  4272. "page": {
  4273. "type": "integer"
  4274. },
  4275. "pageSize": {
  4276. "type": "integer"
  4277. },
  4278. "path": {
  4279. "type": "string"
  4280. },
  4281. "updatedAt": {
  4282. "type": "string"
  4283. }
  4284. }
  4285. },
  4286. "request.SetUserAuth": {
  4287. "type": "object",
  4288. "properties": {
  4289. "authorityId": {
  4290. "type": "string"
  4291. },
  4292. "uuid": {
  4293. "type": "string"
  4294. }
  4295. }
  4296. },
  4297. "request.SysDictionaryDetailSearch": {
  4298. "type": "object",
  4299. "properties": {
  4300. "createdAt": {
  4301. "type": "string"
  4302. },
  4303. "id": {
  4304. "type": "integer"
  4305. },
  4306. "label": {
  4307. "type": "string"
  4308. },
  4309. "page": {
  4310. "type": "integer"
  4311. },
  4312. "pageSize": {
  4313. "type": "integer"
  4314. },
  4315. "sort": {
  4316. "type": "integer"
  4317. },
  4318. "status": {
  4319. "type": "boolean"
  4320. },
  4321. "sysDictionaryID": {
  4322. "type": "integer"
  4323. },
  4324. "updatedAt": {
  4325. "type": "string"
  4326. },
  4327. "value": {
  4328. "type": "integer"
  4329. }
  4330. }
  4331. },
  4332. "request.SysDictionarySearch": {
  4333. "type": "object",
  4334. "properties": {
  4335. "createdAt": {
  4336. "type": "string"
  4337. },
  4338. "desc": {
  4339. "type": "string"
  4340. },
  4341. "id": {
  4342. "type": "integer"
  4343. },
  4344. "name": {
  4345. "type": "string"
  4346. },
  4347. "page": {
  4348. "type": "integer"
  4349. },
  4350. "pageSize": {
  4351. "type": "integer"
  4352. },
  4353. "status": {
  4354. "type": "boolean"
  4355. },
  4356. "sysDictionaryDetails": {
  4357. "type": "array",
  4358. "items": {
  4359. "$ref": "#/definitions/model.SysDictionaryDetail"
  4360. }
  4361. },
  4362. "type": {
  4363. "type": "string"
  4364. },
  4365. "updatedAt": {
  4366. "type": "string"
  4367. }
  4368. }
  4369. },
  4370. "request.SysOperationRecordSearch": {
  4371. "type": "object",
  4372. "properties": {
  4373. "agent": {
  4374. "type": "string"
  4375. },
  4376. "body": {
  4377. "type": "string"
  4378. },
  4379. "createdAt": {
  4380. "type": "string"
  4381. },
  4382. "error_message": {
  4383. "type": "string"
  4384. },
  4385. "id": {
  4386. "type": "integer"
  4387. },
  4388. "ip": {
  4389. "type": "string"
  4390. },
  4391. "latency": {
  4392. "type": "string"
  4393. },
  4394. "method": {
  4395. "type": "string"
  4396. },
  4397. "page": {
  4398. "type": "integer"
  4399. },
  4400. "pageSize": {
  4401. "type": "integer"
  4402. },
  4403. "path": {
  4404. "type": "string"
  4405. },
  4406. "resp": {
  4407. "type": "string"
  4408. },
  4409. "status": {
  4410. "type": "integer"
  4411. },
  4412. "updatedAt": {
  4413. "type": "string"
  4414. },
  4415. "user": {
  4416. "type": "object",
  4417. "$ref": "#/definitions/model.SysUser"
  4418. },
  4419. "user_id": {
  4420. "type": "integer"
  4421. }
  4422. }
  4423. },
  4424. "request.WorkflowProcessSearch": {
  4425. "type": "object",
  4426. "properties": {
  4427. "category": {
  4428. "type": "string"
  4429. },
  4430. "clazz": {
  4431. "type": "string"
  4432. },
  4433. "createdAt": {
  4434. "type": "string"
  4435. },
  4436. "description": {
  4437. "type": "string"
  4438. },
  4439. "edges": {
  4440. "description": "流程链接数据",
  4441. "type": "array",
  4442. "items": {
  4443. "$ref": "#/definitions/model.WorkflowEdge"
  4444. }
  4445. },
  4446. "hideIcon": {
  4447. "type": "boolean"
  4448. },
  4449. "id": {
  4450. "type": "string"
  4451. },
  4452. "label": {
  4453. "type": "string"
  4454. },
  4455. "name": {
  4456. "type": "string"
  4457. },
  4458. "nodes": {
  4459. "description": "流程节点数据",
  4460. "type": "array",
  4461. "items": {
  4462. "$ref": "#/definitions/model.WorkflowNode"
  4463. }
  4464. },
  4465. "page": {
  4466. "type": "integer"
  4467. },
  4468. "pageSize": {
  4469. "type": "integer"
  4470. },
  4471. "updatedAt": {
  4472. "type": "string"
  4473. },
  4474. "view": {
  4475. "type": "string"
  4476. }
  4477. }
  4478. },
  4479. "response.SysAuthorityCopyResponse": {
  4480. "type": "object",
  4481. "properties": {
  4482. "authority": {
  4483. "type": "object",
  4484. "$ref": "#/definitions/model.SysAuthority"
  4485. },
  4486. "oldAuthorityId": {
  4487. "type": "string"
  4488. }
  4489. }
  4490. }
  4491. },
  4492. "securityDefinitions": {
  4493. "ApiKeyAuth": {
  4494. "type": "apiKey",
  4495. "name": "x-token",
  4496. "in": "header"
  4497. }
  4498. }
  4499. }