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.

4571 lines
145 KiB

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