techhero-gateway-dev.yml 1.65 KB
Newer Older
Administrator committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
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:
24
        key-uri: http://119.96.87.17:10420/oauth/token_key #解析jwt令牌所需要密钥的地址
Administrator committed
25
    authorization:
26
      check-token-access: http://119.96.87.17:10420/oauth/check_token
Administrator committed
27 28 29 30 31 32 33 34 35 36
      
ignore:
  urls:
    - /auth/**
    - /swagger/api-docs
    - /swagger-resources/**
    - /swagger-ui.html
    - /*/v2/api-docs
    - /webjars/**
    - /emerycommand/open/zh/queue/**
37
    - /emerycommand/open/zh/invitation/**
38
    - /emerycommand/open/zh/**
Administrator committed
39 40 41 42 43 44 45 46 47 48 49 50
    # - /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
51 52
    - /platform/vc/**  #验证码
    - /basicdata/dc/rest/dcBmszsqkbgxxb/**  #按时间区分数据测试使用