techhero-gateway-local.yml 3.29 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-transdata,techhero-base-system,techhero-project-emergencycommand,techhero-base-data,techhero-project-theme,techhero-project-visualization,techhero-permission,techhero-base-basicdata,techhero-preventioncheat,techhero-component-message,techhero-component-websocket,techhero-component-task,techhero-project-track
Administrator committed
6 7
  ignoredServices: '*'
  host:
8 9
    connect-timeout-millis: 2000000
    socket-timeout-millis: 2000000
Administrator committed
10 11 12 13 14 15 16 17 18 19 20 21

security:
  encode:
    key: '1234567887654321' #必须16位
  validate:
    code: true
    preview: false
  sessions: stateless
  oauth2:
    client:
      client-id: techhero
      client-secret: techhero
22 23
    resource:
      jwt:
24
        key-uri: http://127.0.0.1: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/msg
39
    - /socket/**
40
    - /visualization/open/**
41
    - /visualization/open/switchUrl/overview**
42
    - /exam/open/** #基础数据开放接口规则以open开头
Administrator committed
43 44 45 46 47 48 49 50 51 52 53
    - /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
54
    - /platform/vc/**  #验证码
55
    - /system/vc/** #验证码
56
    - /message/**  #msg测试使用
57
    - /emerycommand/wjdc/rest/djrxx/getDjrxxData/*
58
    - /basicdata/dc/rest/dcKsjhb/queryAll  #考试计划列表
59
    - /exam/dc/rest/dcKsjhb/queryAll  #考试计划列表
60
    - /exam/dc/rest/dcKsjhb/getExamPlan  #登录页考试计划, 按时间排序
61 62 63
    - /emerycommand/wjdc/rest/wjmb/uploadFile
    - /system/parent/register # 家长注册
    - /system/parent/login # 家长登录
64
    - /system/parent/setNewPwdByUserName # 家长忘记密码
65 66
    - /exam/zh/rest/**/exportExcel  #导出表数据
    - /exam/dc/rest/**/exportExcel
67 68 69
    - /exam/dc/rest/**/downloadTemplate  #下载表格模板
    - /exam/zh/rest/**/downloadTemplate
    - /exam/dc/rest/**/uploadExcel  #Excel导入数据
70
    - /exam/zh/rest/**/uploadExcel
71
    - /exam/vio/rest/**/downloadTemplate   #下载缺考模板
72
    - /exam/currentExamClass/importBindingExcel  #导入考场编排
73
    - /exam/currentExamClass/downloadTemplate/**/**  #下载考场编排模板
74
    - /exam/currentExamClass/exportExcel  #导出考场编排excel
75
    - /system/login/checkAccount/*  #校验用户名
76
    - /system/login/resetPassword   #首页未登录重置密码
77
    - /esms/sendVerifCode/*  #首页忘记密码获取短信验证码接口
78 79
    
    - /exam/zh/rest/zhSssbxxb/downloadTemplate/**
80
    - /workflow/static/**
81
    - /exam/wechat/**    #微信小程序调用接口