server:
  port: 18098
  
zuul:
  ribbon:
    eager-load:
      enabled: true
      clients: techhero-auth,techhero-base-supportplatform,techhero-project-emergencycommand,techhero-permission,techhero-base-basicdata,techhero-preventioncheat
  ignoredServices: '*'
  host:
    connect-timeout-millis: 10000
    socket-timeout-millis: 10000

security:
  encode:
    key: '1234567887654321' #必须16位
  validate:
    code: true
    preview: false
  sessions: stateless
  oauth2:
    client:
      client-id: techhero
      client-secret: techhero
    resource:
      jwt:
         key-uri: http://localhost:18002/oauth/token_key #解析jwt令牌所需要密钥的地址
    authorization:
      check-token-access: http://localhost:18002/oauth/check_token
      
ignore:
  urls:
    - /auth/**
    - /swagger/api-docs
    - /swagger-resources/**
    - /swagger-ui.html
    - /*/v2/api-docs
    - /webjars/**
    - /emerycommand/open/zh/queue/**
    # - /emerycommand/**
    - /emerycommand/demo/**
    - /basicdata/zh/rest/**/exportExecl  #导出表数据
    - /basicdata/dc/rest/**/exportExecl
    - /basicdata/dc/rest/**/downloadTemplate  #下载表格模板
    - /basicdata/zh/rest/**/downloadTemplate
    - /basicdata/dc/rest/**/uploadExcel  #Excel导入数据
    - /basicdata/zh/rest/**/uploadExcel
    - /preventioncheat/zbfk/ksjh/record/export #作弊防控导出相关
    - /preventioncheat/zbfk/ksjh/eaxmPlan/export
    - /preventioncheat/zbfk/sbgl/device/export
    - /preventioncheat/zbfk/xyxh/cheat/export
    - /platform/vc/**  #验证码