swagger.yaml 46.1 KB
Newer Older
1
basePath: /
Mr.奇淼('s avatar
swagger  
Mr.奇淼( 已提交
2
definitions:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
3
  config.Captcha:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
4
    properties:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
5 6 7 8 9 10
      imgHeight:
        type: integer
      imgWidth:
        type: integer
      keyLong:
        type: integer
Mr.奇淼('s avatar
Mr.奇淼( 已提交
11
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
12
  config.Casbin:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
13
    properties:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
14
      modelPath:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
15 16
        type: string
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
17
  config.JWT:
18
    properties:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
19
      signingKey:
20 21
        type: string
    type: object
22 23 24 25 26 27 28 29 30
  config.LocalUpload:
    properties:
      avatarPath:
        type: string
      filePath:
        type: string
      local:
        type: boolean
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
31
  config.Log:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
32
    properties:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
33
      file:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
34
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
35 36 37
      logFile:
        type: boolean
      prefix:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
38
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
39
      stdout:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
40 41
        type: string
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
42
  config.Mysql:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
43
    properties:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
44
      config:
45
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
46
      dbname:
47
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
48 49 50 51 52 53
      logMode:
        type: boolean
      maxIdleConns:
        type: integer
      maxOpenConns:
        type: integer
Mr.奇淼('s avatar
Mr.奇淼( 已提交
54
      password:
Mr.奇淼('s avatar
swagger  
Mr.奇淼( 已提交
55
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
56 57
      path:
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
58
      username:
Mr.奇淼('s avatar
swagger  
Mr.奇淼( 已提交
59 60
        type: string
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
61
  config.Qiniu:
62
    properties:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
63
      accessKey:
64
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
65 66 67 68
      bucket:
        type: string
      imgPath:
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
69
      secretKey:
70 71
        type: string
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
72
  config.Redis:
73
    properties:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
74 75 76 77 78
      addr:
        type: string
      db:
        type: integer
      password:
79 80
        type: string
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
81
  config.Server:
82
    properties:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
83 84 85 86 87
      captcha:
        $ref: '#/definitions/config.Captcha'
        type: object
      casbin:
        $ref: '#/definitions/config.Casbin'
88 89 90 91
        type: object
      jwt:
        $ref: '#/definitions/config.JWT'
        type: object
92 93 94
      localUpload:
        $ref: '#/definitions/config.LocalUpload'
        type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
95 96 97 98 99
      log:
        $ref: '#/definitions/config.Log'
        type: object
      mysql:
        $ref: '#/definitions/config.Mysql'
100 101 102 103
        type: object
      qiniu:
        $ref: '#/definitions/config.Qiniu'
        type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
104 105 106 107 108
      redis:
        $ref: '#/definitions/config.Redis'
        type: object
      sqlite:
        $ref: '#/definitions/config.Sqlite'
109 110 111 112 113
        type: object
      system:
        $ref: '#/definitions/config.System'
        type: object
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
114
  config.Sqlite:
115 116 117
    properties:
      config:
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
118 119
      logMode:
        type: boolean
120 121 122 123 124 125 126 127 128 129 130
      password:
        type: string
      path:
        type: string
      username:
        type: string
    type: object
  config.System:
    properties:
      addr:
        type: integer
Mr.奇淼('s avatar
Mr.奇淼( 已提交
131 132
      dbType:
        type: string
133 134 135 136 137
      env:
        type: string
      useMultipoint:
        type: boolean
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
138 139 140 141
  model.AutoCodeStruct:
    properties:
      abbreviation:
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
142 143 144 145
      autoCreateApiToSql:
        type: boolean
      description:
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
146 147 148 149 150 151 152 153
      fields:
        items:
          $ref: '#/definitions/model.Field'
        type: array
      packageName:
        type: string
      structName:
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
154 155
      tableName:
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
156 157
    type: object
  model.ExaCustomer:
158 159 160 161 162 163
    properties:
      customerName:
        type: string
      customerPhoneData:
        type: string
      sysUser:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
164
        $ref: '#/definitions/model.SysUser'
165 166 167 168 169 170
        type: object
      sysUserAuthorityID:
        type: string
      sysUserId:
        type: integer
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
171
  model.ExaFileUploadAndDownload:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
172 173 174 175 176 177 178 179 180 181
    properties:
      key:
        type: string
      name:
        type: string
      tag:
        type: string
      url:
        type: string
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
182
  model.Field:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
183
    properties:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
184
      columnName:
185
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
186 187 188 189 190 191
      comment:
        type: string
      dataType:
        type: string
      dataTypeLong:
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
192 193
      dictType:
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
194 195
      fieldDesc:
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
196
      fieldJson:
197
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
198 199
      fieldName:
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
200 201
      fieldSearchType:
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
202
      fieldType:
203 204
        type: string
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
205
  model.SysApi:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
206
    properties:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
207
      apiGroup:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
208
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
209
      description:
210
        type: string
211 212
      method:
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
213 214 215
      path:
        type: string
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
216
  model.SysAuthority:
217 218 219 220 221
    properties:
      authorityId:
        type: string
      authorityName:
        type: string
222 223
      children:
        items:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
224
          $ref: '#/definitions/model.SysAuthority'
225
        type: array
Mr.奇淼('s avatar
Mr.奇淼( 已提交
226 227
      createdAt:
        type: string
228 229
      dataAuthorityId:
        items:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
230 231 232 233 234 235 236
          $ref: '#/definitions/model.SysAuthority'
        type: array
      deletedAt:
        type: string
      menus:
        items:
          $ref: '#/definitions/model.SysBaseMenu'
237 238 239
        type: array
      parentId:
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
240 241
      updatedAt:
        type: string
242
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
243
  model.SysBaseMenu:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
244
    properties:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
245 246 247 248
      authoritys:
        items:
          $ref: '#/definitions/model.SysAuthority'
        type: array
Mr.奇淼('s avatar
Mr.奇淼( 已提交
249 250
      children:
        items:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
251
          $ref: '#/definitions/model.SysBaseMenu'
Mr.奇淼('s avatar
Mr.奇淼( 已提交
252 253 254
        type: array
      component:
        type: string
255 256
      defaultMenu:
        type: boolean
Mr.奇淼('s avatar
Mr.奇淼( 已提交
257 258 259 260
      hidden:
        type: boolean
      icon:
        type: string
261 262
      keepAlive:
        type: boolean
Mr.奇淼('s avatar
Mr.奇淼( 已提交
263 264
      name:
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
265 266 267 268
      parameters:
        items:
          $ref: '#/definitions/model.SysBaseMenuParameter'
        type: array
Mr.奇淼('s avatar
Mr.奇淼( 已提交
269 270 271 272
      parentId:
        type: string
      path:
        type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
273
      sort:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
274
        type: integer
Mr.奇淼('s avatar
Mr.奇淼( 已提交
275
      title:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
276 277
        type: string
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
278 279 280 281
  model.SysBaseMenuParameter:
    properties:
      key:
        type: string
282
      sysBaseMenuID:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
283 284 285 286 287 288
        type: integer
      type:
        type: string
      value:
        type: string
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342
  model.SysDictionary:
    properties:
      desc:
        type: string
      name:
        type: string
      status:
        type: boolean
      sysDictionaryDetails:
        items:
          $ref: '#/definitions/model.SysDictionaryDetail'
        type: array
      type:
        type: string
    type: object
  model.SysDictionaryDetail:
    properties:
      label:
        type: string
      sort:
        type: integer
      status:
        type: boolean
      sysDictionaryID:
        type: integer
      value:
        type: integer
    type: object
  model.SysOperationRecord:
    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:
        $ref: '#/definitions/model.SysUser'
        type: object
      user_id:
        type: integer
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
343
  model.SysUser:
344 345
    properties:
      authority:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
346
        $ref: '#/definitions/model.SysAuthority'
347 348 349 350 351 352 353 354 355 356 357 358
        type: object
      authorityId:
        type: string
      headerImg:
        type: string
      nickName:
        type: string
      userName:
        type: string
      uuid:
        type: string
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
359
  model.SysWorkflow:
360 361 362 363 364 365 366 367 368 369 370 371 372
    properties:
      workflowDescription:
        description: 工作流描述
        type: string
      workflowName:
        description: 工作流英文id
        type: string
      workflowNickName:
        description: 工作流名称
        type: string
      workflowStep:
        description: 工作流步骤
        items:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
373
          $ref: '#/definitions/model.SysWorkflowStepInfo'
374 375
        type: array
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
376
  model.SysWorkflowStepInfo:
377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392
    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.奇淼( 已提交
393 394
      workflowID:
        description: 所属工作流ID
Mr.奇淼('s avatar
Mr.奇淼( 已提交
395 396
        type: integer
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
397
  model.System:
398 399
    properties:
      config:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
400
        $ref: '#/definitions/config.Server'
401 402
        type: object
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446
  request.AddMenuAuthorityInfo:
    properties:
      authorityId:
        type: string
      menus:
        items:
          $ref: '#/definitions/model.SysBaseMenu'
        type: array
    type: object
  request.AuthorityIdInfo:
    properties:
      authorityId:
        type: string
    type: object
  request.CasbinInReceive:
    properties:
      authorityId:
        type: string
      casbinInfos:
        items:
          $ref: '#/definitions/request.CasbinInfo'
        type: array
    type: object
  request.CasbinInfo:
    properties:
      method:
        type: string
      path:
        type: string
    type: object
  request.ChangePasswordStruct:
    properties:
      newPassword:
        type: string
      password:
        type: string
      username:
        type: string
    type: object
  request.GetById:
    properties:
      id:
        type: number
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
447 448 449 450 451 452 453
  request.IdsReq:
    properties:
      ids:
        items:
          type: integer
        type: array
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497
  request.PageInfo:
    properties:
      page:
        type: integer
      pageSize:
        type: integer
    type: object
  request.RegisterAndLoginStruct:
    properties:
      captcha:
        type: string
      captchaId:
        type: string
      password:
        type: string
      username:
        type: string
    type: object
  request.SearchApiParams:
    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
    type: object
  request.SetUserAuth:
    properties:
      authorityId:
        type: string
      uuid:
        type: string
    type: object
Mr.奇淼('s avatar
Mr.奇淼( 已提交
498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563
  request.SysDictionaryDetailSearch:
    properties:
      label:
        type: string
      page:
        type: integer
      pageSize:
        type: integer
      sort:
        type: integer
      status:
        type: boolean
      sysDictionaryID:
        type: integer
      value:
        type: integer
    type: object
  request.SysDictionarySearch:
    properties:
      desc:
        type: string
      name:
        type: string
      page:
        type: integer
      pageSize:
        type: integer
      status:
        type: boolean
      sysDictionaryDetails:
        items:
          $ref: '#/definitions/model.SysDictionaryDetail'
        type: array
      type:
        type: string
    type: object
  request.SysOperationRecordSearch:
    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:
        $ref: '#/definitions/model.SysUser'
        type: object
      user_id:
        type: integer
    type: object
564 565 566 567 568 569
  response.SysAuthorityCopyResponse:
    properties:
      authority:
        $ref: '#/definitions/model.SysAuthority'
        type: object
      oldAuthorityId:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
570
        type: string
571
    type: object
Mr.奇淼('s avatar
swagger  
Mr.奇淼( 已提交
572 573
info:
  contact: {}
574
  description: This is a sample Server pets
Mr.奇淼('s avatar
swagger  
Mr.奇淼( 已提交
575
  license: {}
576 577
  title: Swagger Example API
  version: 0.0.1
Mr.奇淼('s avatar
swagger  
Mr.奇淼( 已提交
578
paths:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
579
  /api/createApi:
580
    post:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
581 582
      consumes:
      - application/json
583
      parameters:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
584
      - description: 创建api
585 586 587 588
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
589
          $ref: '#/definitions/model.SysApi'
590 591 592 593
      produces:
      - application/json
      responses:
        "200":
Mr.奇淼('s avatar
Mr.奇淼( 已提交
594
          description: '{"success":true,"data":{},"msg":"获取成功"}'
595 596
          schema:
            type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
597 598
      security:
      - ApiKeyAuth: []
Mr.奇淼('s avatar
Mr.奇淼( 已提交
599
      summary: 创建基础api
600
      tags:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
601
      - SysApi
Mr.奇淼('s avatar
Mr.奇淼( 已提交
602
  /api/deleteApi:
603
    post:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
604 605
      consumes:
      - application/json
606
      parameters:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
607 608 609 610 611
      - description: 删除api
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
612
          $ref: '#/definitions/model.SysApi'
Mr.奇淼('s avatar
Mr.奇淼( 已提交
613 614 615 616 617 618 619 620 621
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
Mr.奇淼('s avatar
Mr.奇淼( 已提交
622
      summary: 删除指定api
Mr.奇淼('s avatar
Mr.奇淼( 已提交
623
      tags:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
624
      - SysApi
625 626 627 628 629 630 631 632 633 634 635 636 637 638 639
  /api/getAllApis:
    post:
      consumes:
      - application/json
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 获取所有的Api 不分页
      tags:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
640
      - SysApi
641
  /api/getApiById:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
642 643 644 645
    post:
      consumes:
      - application/json
      parameters:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
646
      - description: 根据id获取api
Mr.奇淼('s avatar
Mr.奇淼( 已提交
647 648 649 650
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
651
          $ref: '#/definitions/request.GetById'
Mr.奇淼('s avatar
Mr.奇淼( 已提交
652 653 654 655 656 657 658 659 660
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
661
      summary: 根据id获取api
Mr.奇淼('s avatar
Mr.奇淼( 已提交
662
      tags:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
663
      - SysApi
664 665 666 667 668 669 670 671 672 673
  /api/getApiList:
    post:
      consumes:
      - application/json
      parameters:
      - description: 分页获取API列表
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
674
          $ref: '#/definitions/request.SearchApiParams'
675 676 677 678 679 680 681 682 683 684 685
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 分页获取API列表
      tags:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
686
      - SysApi
R
rainyan 已提交
687
  /api/updateApi:
688 689 690 691 692 693 694 695 696
    post:
      consumes:
      - application/json
      parameters:
      - description: 创建api
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
697
          $ref: '#/definitions/model.SysApi'
698 699 700 701 702 703 704 705 706 707 708
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 创建基础api
      tags:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
709
      - SysApi
710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732
  /authority/copyAuthority:
    post:
      consumes:
      - application/json
      parameters:
      - description: 拷贝角色
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/response.SysAuthorityCopyResponse'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"拷贝成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 拷贝角色
      tags:
      - authority
Mr.奇淼('s avatar
Mr.奇淼( 已提交
733 734 735 736 737 738 739 740 741 742
  /authority/createAuthority:
    post:
      consumes:
      - application/json
      parameters:
      - description: 创建角色
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
743
          $ref: '#/definitions/model.SysAuthority'
Mr.奇淼('s avatar
Mr.奇淼( 已提交
744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 创建角色
      tags:
      - authority
  /authority/deleteAuthority:
    post:
      consumes:
      - application/json
      parameters:
      - description: 删除角色
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
766
          $ref: '#/definitions/model.SysAuthority'
Mr.奇淼('s avatar
Mr.奇淼( 已提交
767 768 769 770 771 772 773 774 775 776 777 778
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 删除角色
      tags:
      - authority
Mr.奇淼('s avatar
Mr.奇淼( 已提交
779 780 781 782 783 784 785 786 787 788
  /authority/getAuthorityList:
    post:
      consumes:
      - application/json
      parameters:
      - description: 分页获取用户列表
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
789
          $ref: '#/definitions/request.PageInfo'
Mr.奇淼('s avatar
Mr.奇淼( 已提交
790 791 792 793 794 795 796 797 798 799 800 801
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 分页获取角色列表
      tags:
      - authority
802 803 804 805 806 807 808 809 810 811
  /authority/setDataAuthority:
    post:
      consumes:
      - application/json
      parameters:
      - description: 设置角色资源权限
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
812
          $ref: '#/definitions/model.SysAuthority'
813 814 815 816 817 818 819 820 821 822 823 824
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"设置成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 设置角色资源权限
      tags:
      - authority
825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847
  /authority/updateAuthority:
    post:
      consumes:
      - application/json
      parameters:
      - description: 设置角色资源权限
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/model.SysAuthority'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"设置成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 设置角色资源权限
      tags:
      - authority
Mr.奇淼('s avatar
Mr.奇淼( 已提交
848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870
  /autoCode/createTemp:
    post:
      consumes:
      - application/json
      parameters:
      - description: 创建自动代码
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/model.AutoCodeStruct'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"创建成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 自动代码模板
      tags:
      - SysApi
Mr.奇淼('s avatar
Mr.奇淼( 已提交
871 872
  /autoCode/getDatabase:
    get:
873 874 875 876 877 878
      consumes:
      - application/json
      produces:
      - application/json
      responses:
        "200":
Mr.奇淼('s avatar
Mr.奇淼( 已提交
879
          description: '{"success":true,"data":{},"msg":"创建成功"}'
880 881 882 883
          schema:
            type: string
      security:
      - ApiKeyAuth: []
Mr.奇淼('s avatar
Mr.奇淼( 已提交
884
      summary: 获取当前表所有字段
885
      tags:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
886 887 888
      - SysApi
  /base/captcha:
    post:
889 890 891 892 893 894 895 896 897 898 899
      consumes:
      - application/json
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
Mr.奇淼('s avatar
Mr.奇淼( 已提交
900
      summary: 生成验证码
901 902
      tags:
      - base
Mr.奇淼('s avatar
Mr.奇淼( 已提交
903 904 905 906
  /base/login:
    post:
      parameters:
      - description: 用户登录接口
907 908 909 910
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
911
          $ref: '#/definitions/request.RegisterAndLoginStruct'
912 913 914 915
      produces:
      - application/json
      responses:
        "200":
Mr.奇淼('s avatar
Mr.奇淼( 已提交
916
          description: '{"success":true,"data":{},"msg":"登陆成功"}'
917 918
          schema:
            type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
919
      summary: 用户登录
920
      tags:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
921
      - Base
922
  /base/register:
Mr.奇淼('s avatar
swagger  
Mr.奇淼( 已提交
923 924
    post:
      parameters:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
925
      - description: 用户注册接口
Mr.奇淼('s avatar
swagger  
Mr.奇淼( 已提交
926 927 928 929
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
930
          $ref: '#/definitions/model.SysUser'
Mr.奇淼('s avatar
swagger  
Mr.奇淼( 已提交
931
      produces:
932
      - application/json
Mr.奇淼('s avatar
swagger  
Mr.奇淼( 已提交
933 934
      responses:
        "200":
Mr.奇淼('s avatar
Mr.奇淼( 已提交
935
          description: '{"success":true,"data":{},"msg":"注册成功"}'
Mr.奇淼('s avatar
swagger  
Mr.奇淼( 已提交
936 937
          schema:
            type: string
Mr.奇淼('s avatar
Mr.奇淼( 已提交
938
      summary: 用户注册账号
Mr.奇淼('s avatar
Mr.奇淼( 已提交
939
      tags:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
940
      - Base
R
rainyan 已提交
941
  /casbin/UpdateCasbin:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
942 943 944 945 946 947 948 949 950
    post:
      consumes:
      - application/json
      parameters:
      - description: 更改角色api权限
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
951
          $ref: '#/definitions/request.CasbinInReceive'
Mr.奇淼('s avatar
Mr.奇淼( 已提交
952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 更改角色api权限
      tags:
      - casbin
  /casbin/getPolicyPathByAuthorityId:
    post:
      consumes:
      - application/json
      parameters:
      - description: 获取权限列表
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
974
          $ref: '#/definitions/request.CasbinInReceive'
Mr.奇淼('s avatar
Mr.奇淼( 已提交
975 976 977 978 979 980 981 982 983 984 985 986
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 获取权限列表
      tags:
      - casbin
Mr.奇淼('s avatar
Mr.奇淼( 已提交
987 988
  /customer/customer:
    delete:
989 990 991
      consumes:
      - application/json
      parameters:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
992
      - description: 删除客户
993 994 995 996
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
997
          $ref: '#/definitions/model.ExaCustomer'
998 999 1000 1001 1002 1003 1004 1005 1006
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1007
      summary: 删除客户
1008 1009
      tags:
      - SysApi
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1010
    get:
1011 1012 1013
      consumes:
      - application/json
      parameters:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1014
      - description: 获取单一客户信息
1015 1016 1017 1018
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1019
          $ref: '#/definitions/model.ExaCustomer'
1020 1021 1022 1023 1024 1025 1026 1027 1028
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1029
      summary: 获取单一客户信息
1030 1031 1032 1033 1034 1035
      tags:
      - SysApi
    post:
      consumes:
      - application/json
      parameters:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1036
      - description: 创建客户
1037 1038 1039 1040
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1041
          $ref: '#/definitions/model.ExaCustomer'
1042 1043 1044 1045 1046 1047 1048 1049 1050
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1051
      summary: 创建客户
1052 1053
      tags:
      - SysApi
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1054
    put:
1055 1056 1057
      consumes:
      - application/json
      parameters:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1058
      - description: 创建客户
1059 1060 1061 1062
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1063
          $ref: '#/definitions/model.ExaCustomer'
1064 1065 1066 1067 1068 1069 1070 1071 1072
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1073
      summary: 更新客户信息
1074 1075
      tags:
      - SysApi
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1076 1077
  /customer/customerList:
    get:
1078 1079 1080
      consumes:
      - application/json
      parameters:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1081
      - description: 获取权限客户列表
1082 1083 1084 1085
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1086
          $ref: '#/definitions/request.PageInfo'
1087 1088 1089 1090 1091 1092 1093 1094 1095
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1096
      summary: 获取权限客户列表
1097 1098 1099 1100 1101 1102 1103
      tags:
      - SysApi
  /fileUploadAndDownload/breakpointContinue:
    post:
      consumes:
      - multipart/form-data
      parameters:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1104
      - description: an example for breakpoint resume, 断点续传示例
1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120
        in: formData
        name: file
        required: true
        type: file
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"上传成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 断点续传到服务器
      tags:
      - ExaFileUploadAndDownload
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1121 1122 1123 1124 1125 1126 1127 1128
  /fileUploadAndDownload/deleteFile:
    post:
      parameters:
      - description: 传入文件里面id即可
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1129
          $ref: '#/definitions/model.ExaFileUploadAndDownload'
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"返回成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 删除文件
      tags:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1141
      - ExaFileUploadAndDownload
1142 1143 1144 1145 1146
  /fileUploadAndDownload/findFile:
    post:
      consumes:
      - multipart/form-data
      parameters:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1147
      - description: 上传文件完成
1148 1149 1150 1151 1152 1153 1154 1155
        in: formData
        name: file
        required: true
        type: file
      produces:
      - application/json
      responses:
        "200":
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1156
          description: '{"success":true,"data":{},"msg":"file uploaded, 文件创建成功"}'
1157 1158 1159 1160 1161 1162 1163
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 查找文件
      tags:
      - ExaFileUploadAndDownload
1164
  /fileUploadAndDownload/getFileList:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1165 1166 1167 1168
    post:
      consumes:
      - application/json
      parameters:
1169
      - description: 分页获取文件户列表
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1170 1171 1172 1173
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1174
          $ref: '#/definitions/request.PageInfo'
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1175 1176 1177 1178 1179 1180 1181 1182 1183
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
1184 1185
      summary: 分页文件列表
      tags:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1186
      - ExaFileUploadAndDownload
1187 1188 1189 1190 1191
  /fileUploadAndDownload/removeChunk:
    post:
      consumes:
      - multipart/form-data
      parameters:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1192
      - description: 删除缓存切片
1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208
        in: formData
        name: file
        required: true
        type: file
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"查找成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 删除切片
      tags:
      - ExaFileUploadAndDownload
1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229
  /fileUploadAndDownload/upload:
    post:
      consumes:
      - multipart/form-data
      parameters:
      - description: 上传文件示例
        in: formData
        name: file
        required: true
        type: file
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"上传成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 上传文件示例
      tags:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1230
      - ExaFileUploadAndDownload
1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246
  /jwt/jsonInBlacklist:
    post:
      consumes:
      - application/json
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"拉黑成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: jwt加入黑名单
      tags:
      - jwt
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269
  /menu/GetMenuAuthority:
    post:
      consumes:
      - application/json
      parameters:
      - description: 增加menu和角色关联关系
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/request.AuthorityIdInfo'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 获取指定角色menu
      tags:
      - authorityAndMenu
1270 1271 1272 1273 1274 1275 1276 1277 1278 1279
  /menu/addBaseMenu:
    post:
      consumes:
      - application/json
      parameters:
      - description: 新增菜单
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1280
          $ref: '#/definitions/model.SysBaseMenu'
1281 1282 1283 1284 1285 1286 1287 1288 1289 1290
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 新增菜单
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302
      tags:
      - menu
  /menu/addMenuAuthority:
    post:
      consumes:
      - application/json
      parameters:
      - description: 增加menu和角色关联关系
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1303
          $ref: '#/definitions/request.AddMenuAuthorityInfo'
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1304 1305 1306 1307 1308 1309 1310 1311 1312
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1313
      summary: 增加menu和角色关联关系
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325
      tags:
      - authorityAndMenu
  /menu/deleteBaseMenu:
    post:
      consumes:
      - application/json
      parameters:
      - description: 删除菜单
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1326
          $ref: '#/definitions/request.GetById'
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1327 1328 1329 1330 1331 1332 1333 1334 1335
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348
      summary: 删除菜单
      tags:
      - menu
  /menu/getBaseMenuById:
    post:
      consumes:
      - application/json
      parameters:
      - description: 根据id获取菜单
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1349
          $ref: '#/definitions/request.GetById'
1350 1351 1352 1353 1354 1355 1356 1357 1358 1359
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 根据id获取菜单
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1360 1361 1362 1363 1364 1365 1366 1367 1368 1369
      tags:
      - menu
  /menu/getBaseMenuTree:
    post:
      parameters:
      - description: 可以什么都不填
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1370
          $ref: '#/definitions/request.RegisterAndLoginStruct'
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"返回成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 获取用户动态路由
      tags:
      - authorityAndMenu
  /menu/getMenu:
    post:
      parameters:
      - description: 可以什么都不填
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1391
          $ref: '#/definitions/request.RegisterAndLoginStruct'
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"返回成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 获取用户动态路由
      tags:
      - authorityAndMenu
  /menu/getMenuList:
    post:
      consumes:
      - application/json
      parameters:
      - description: 分页获取基础menu列表
        in: body
        name: data
        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
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 分页获取基础menu列表
      tags:
      - menu
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1427
  /menu/updateBaseMenu:
1428 1429 1430 1431 1432 1433 1434 1435 1436
    post:
      consumes:
      - application/json
      parameters:
      - description: 更新菜单
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1437
          $ref: '#/definitions/model.SysBaseMenu'
1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 更新菜单
      tags:
      - menu
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 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
  /simpleUploader/checkFileMd5:
    get:
      parameters:
      - description: 测试文件是否已经存在和判断已经上传过的切片
        in: query
        name: md5
        required: true
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"查询成功"}'
          schema:
            type: string
  /simpleUploader/mergeFileMd5:
    get:
      parameters:
      - description: 合并文件
        in: query
        name: md5
        required: true
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"合并成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 合并文件
      tags:
      - SimpleUploader
  /simpleUploader/upload:
    post:
      consumes:
      - multipart/form-data
      parameters:
      - description: 断点续传插件版示例
        in: formData
        name: file
        required: true
        type: file
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"上传成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 断点续传插件版示例
      tags:
      - SimpleUploader
Mr.奇淼('s avatar
Mr.奇淼( 已提交
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 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782
  /sysDictionary/createSysDictionary:
    post:
      consumes:
      - application/json
      parameters:
      - description: 创建SysDictionary
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/model.SysDictionary'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 创建SysDictionary
      tags:
      - SysDictionary
  /sysDictionary/deleteSysDictionary:
    delete:
      consumes:
      - application/json
      parameters:
      - description: 删除SysDictionary
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/model.SysDictionary'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"删除成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 删除SysDictionary
      tags:
      - SysDictionary
  /sysDictionary/findSysDictionary:
    get:
      consumes:
      - application/json
      parameters:
      - description: 用id查询SysDictionary
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/model.SysDictionary'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"查询成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 用id查询SysDictionary
      tags:
      - SysDictionary
  /sysDictionary/getSysDictionaryList:
    get:
      consumes:
      - application/json
      parameters:
      - description: 分页获取SysDictionary列表
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/request.SysDictionarySearch'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 分页获取SysDictionary列表
      tags:
      - SysDictionary
  /sysDictionary/updateSysDictionary:
    put:
      consumes:
      - application/json
      parameters:
      - description: 更新SysDictionary
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/model.SysDictionary'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"更新成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 更新SysDictionary
      tags:
      - SysDictionary
  /sysDictionaryDetail/createSysDictionaryDetail:
    post:
      consumes:
      - application/json
      parameters:
      - description: 创建SysDictionaryDetail
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/model.SysDictionaryDetail'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 创建SysDictionaryDetail
      tags:
      - SysDictionaryDetail
  /sysDictionaryDetail/deleteSysDictionaryDetail:
    delete:
      consumes:
      - application/json
      parameters:
      - description: 删除SysDictionaryDetail
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/model.SysDictionaryDetail'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"删除成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 删除SysDictionaryDetail
      tags:
      - SysDictionaryDetail
  /sysDictionaryDetail/findSysDictionaryDetail:
    get:
      consumes:
      - application/json
      parameters:
      - description: 用id查询SysDictionaryDetail
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/model.SysDictionaryDetail'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"查询成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 用id查询SysDictionaryDetail
      tags:
      - SysDictionaryDetail
  /sysDictionaryDetail/getSysDictionaryDetailList:
    get:
      consumes:
      - application/json
      parameters:
      - description: 分页获取SysDictionaryDetail列表
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/request.SysDictionaryDetailSearch'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 分页获取SysDictionaryDetail列表
      tags:
      - SysDictionaryDetail
  /sysDictionaryDetail/updateSysDictionaryDetail:
    put:
      consumes:
      - application/json
      parameters:
      - description: 更新SysDictionaryDetail
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/model.SysDictionaryDetail'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"更新成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 更新SysDictionaryDetail
      tags:
      - SysDictionaryDetail
  /sysOperationRecord/createSysOperationRecord:
    post:
      consumes:
      - application/json
      parameters:
      - description: 创建SysOperationRecord
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/model.SysOperationRecord'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 创建SysOperationRecord
      tags:
      - SysOperationRecord
  /sysOperationRecord/deleteSysOperationRecord:
    delete:
      consumes:
      - application/json
      parameters:
      - description: 删除SysOperationRecord
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/model.SysOperationRecord'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"删除成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 删除SysOperationRecord
      tags:
      - SysOperationRecord
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805
  /sysOperationRecord/deleteSysOperationRecordByIds:
    delete:
      consumes:
      - application/json
      parameters:
      - description: 批量删除SysOperationRecord
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/request.IdsReq'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"删除成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 批量删除SysOperationRecord
      tags:
      - SysOperationRecord
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851
  /sysOperationRecord/findSysOperationRecord:
    get:
      consumes:
      - application/json
      parameters:
      - description: 用id查询SysOperationRecord
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/model.SysOperationRecord'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"查询成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 用id查询SysOperationRecord
      tags:
      - SysOperationRecord
  /sysOperationRecord/getSysOperationRecordList:
    get:
      consumes:
      - application/json
      parameters:
      - description: 分页获取SysOperationRecord列表
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/request.SysOperationRecordSearch'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 分页获取SysOperationRecord列表
      tags:
      - SysOperationRecord
1852 1853 1854 1855 1856 1857 1858 1859
  /system/ReloadSystem:
    post:
      parameters:
      - description: 设置配置文件内容
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1860
          $ref: '#/definitions/model.System'
1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"返回成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 设置配置文件内容
      tags:
      - system
  /system/getSystemConfig:
    post:
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"返回成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 获取配置文件内容
      tags:
      - system
  /system/setSystemConfig:
    post:
      parameters:
      - description: 设置配置文件内容
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1895
          $ref: '#/definitions/model.System'
1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"返回成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 设置配置文件内容
      tags:
      - system
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1908
  /user/changePassword:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1909
    put:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1910 1911 1912 1913 1914 1915
      parameters:
      - description: 用户修改密码
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1916
          $ref: '#/definitions/request.ChangePasswordStruct'
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"修改成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 用户修改密码
      tags:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1928
      - SysUser
1929 1930 1931 1932 1933 1934 1935 1936 1937 1938
  /user/deleteUser:
    delete:
      consumes:
      - application/json
      parameters:
      - description: 删除用户
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1939
          $ref: '#/definitions/request.GetById'
1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"修改成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 删除用户
      tags:
      - SysUser
1952
  /user/getUserList:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1953 1954 1955 1956 1957 1958 1959 1960 1961
    post:
      consumes:
      - application/json
      parameters:
      - description: 分页获取用户列表
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1962
          $ref: '#/definitions/request.PageInfo'
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1963 1964 1965 1966 1967 1968 1969 1970 1971 1972
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"获取成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 分页获取用户列表
1973
      tags:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1974
      - SysUser
1975 1976 1977 1978 1979 1980 1981 1982 1983 1984
  /user/setUserAuthority:
    post:
      consumes:
      - application/json
      parameters:
      - description: 设置用户权限
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1985
          $ref: '#/definitions/request.SetUserAuth'
1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"修改成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 设置用户权限
      tags:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
1997
      - SysUser
1998 1999 2000 2001 2002 2003 2004 2005
  /workflow/createWorkFlow:
    post:
      parameters:
      - description: 注册工作流接口
        in: body
        name: data
        required: true
        schema:
Mr.奇淼('s avatar
Mr.奇淼( 已提交
2006
          $ref: '#/definitions/model.SysWorkflow'
2007 2008 2009 2010 2011 2012 2013 2014 2015 2016
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"注册成功"}'
          schema:
            type: string
      summary: 注册工作流
      tags:
      - workflow
2017 2018 2019 2020 2021
securityDefinitions:
  ApiKeyAuth:
    in: header
    name: x-token
    type: apiKey
Mr.奇淼('s avatar
swagger  
Mr.奇淼( 已提交
2022
swagger: "2.0"