techhero-gateway-test.yml 3.09 KB
Newer Older
Administrator committed
1 2 3 4
zuul:
  ribbon:
    eager-load:
      enabled: true
5
      clients: techhero-auth,techhero-base-supportplatform,techhero-base-exam,techhero-base-system,techhero-project-theme,techhero-project-emergencycommand,techhero-permission,techhero-base-basicdata,techhero-project-visualization,techhero-preventioncheat,techhero-component-message,techhero-component-websocket,techhero-project-track
Administrator committed
6 7
  ignoredServices: '*'
  host:
8 9
    connect-timeout-millis: 20000
    socket-timeout-millis: 20000
Administrator committed
10 11 12 13 14 15 16 17 18 19 20 21 22 23

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://192.168.0.216:10420/oauth/token_key #解析jwt令牌所需要密钥的地址
Administrator committed
25
    authorization:
26
      check-token-access: http://techhero-auth/oauth/check_token
Administrator committed
27 28 29
      
ignore:
  urls:
30
    - /system/login/updatePwdForClient
Administrator committed
31 32 33 34 35 36
    - /auth/**
    - /swagger/api-docs
    - /swagger-resources/**
    - /swagger-ui.html
    - /*/v2/api-docs
    - /webjars/**
37
    # - /emerycommand/open/**
38
    - /emerycommand/open/zh/esms/sendVerifCode/**
39
    - /emerycommand/open/zh/file/getFileVersion
40
    - /emerycommand/open/zh/msg
41 42
    - /socket/**
    - /visualization/open/**
43
    - /visualization/open/switchUrl/overview**
Administrator committed
44
    - /emerycommand/demo/**
45
    - /exam/open/** #基础数据开放接口规则以open开头
Administrator committed
46 47 48 49 50 51 52 53 54 55
    - /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
56
    - /platform/vc/**  #验证码
57
    - /system/vc/** #验证码
58
    - /message/**  #msg测试使用
59
    - /emerycommand/wjdc/rest/djrxx/getDjrxxData/*
60
    - /basicdata/dc/rest/dcKsjhb/queryAll  #考试计划列表
61
    - /exam/dc/rest/dcKsjhb/queryAll  #考试计划列表
62
    - /exam/dc/rest/dcKsjhb/getExamPlan  #登录页考试计划, 按时间排序
63
    - /emerycommand/wjdc/rest/wjmb/uploadFile
64 65 66 67 68 69
    - /system/parent/register # 家长注册
    - /system/parent/login # 家长登录
    - /system/parent/setNewPwdByUserName # 家长忘记密码
    - /exam/zh/rest/**/exportExcel  #导出表数据
    - /exam/dc/rest/**/exportExcel
    - /exam/dc/rest/**/downloadTemplate  #下载表格模板
70
    - /exam/zh/rest/**/downloadTemplate
71 72
    - /exam/dc/rest/**/uploadExcel  #Excel导入数据
    - /exam/zh/rest/**/uploadExcel
73
    - /exam/currentExamClass/importBindingExcel  #导入考场编排
74
    - /exam/currentExamClass/downloadTemplate/**/**  #下载考场编排模板
75
    - /exam/currentExamClass/exportExcel  #导出考场编排excel
76
    - /exam/zh/rest/zhSssbxxb/downloadTemplate/**
77
    - /exam/GetSfrzUserInfo/** #认证用户查询信息
78
    - /login/checkAccount/*  #校验用户名
79