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.

4813 lines
154 KiB

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