docs.go 101.8 KB
Newer Older
Mr.奇淼('s avatar
swagger  
Mr.奇淼( 已提交
1 2
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag at
3
// 2020-08-31 21:50:05.0136259 +0800 CST m=+0.193314401
Mr.奇淼('s avatar
swagger  
Mr.奇淼( 已提交
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

package docs

import (
	"bytes"
	"encoding/json"
	"strings"

	"github.com/alecthomas/template"
	"github.com/swaggo/swag"
)

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

type swaggerInfo struct {
	Version     string
	Host        string
	BasePath    string
	Schemes     []string
	Title       string
	Description string
}

// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = swaggerInfo{
3286
	Version:     "0.0.1",
Mr.奇淼('s avatar
swagger  
Mr.奇淼( 已提交
3287
	Host:        "",
3288
	BasePath:    "/",
Mr.奇淼('s avatar
swagger  
Mr.奇淼( 已提交
3289
	Schemes:     []string{},
3290 3291
	Title:       "Swagger Example API",
	Description: "This is a sample Server pets",
Mr.奇淼('s avatar
swagger  
Mr.奇淼( 已提交
3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320
}

type s struct{}

func (s *s) ReadDoc() string {
	sInfo := SwaggerInfo
	sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)

	t, err := template.New("swagger_info").Funcs(template.FuncMap{
		"marshal": func(v interface{}) string {
			a, _ := json.Marshal(v)
			return string(a)
		},
	}).Parse(doc)
	if err != nil {
		return doc
	}

	var tpl bytes.Buffer
	if err := t.Execute(&tpl, sInfo); err != nil {
		return doc
	}

	return tpl.String()
}

func init() {
	swag.Register(swag.Name, &s{})
}