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.

3933 lines
121 KiB

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