techhero-gateway-local.yml 3.26 KB
Newer Older
Administrator committed
1 2 3 4
zuul:
  ribbon:
    eager-load:
      enabled: true
CnNoter committed
5
      clients: techhero-auth,techhero-base-system,techhero-base-exam,techhero-base-transdata,techhero-project-theme,techhero-project-emergencycommand,techhero-project-track,techhero-project-visualization,techhero-preventioncheat,techhero-component-task,techhero-component-websocket,techhero-component-message,techhero-component-workflow
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
CnNoter committed
27

Administrator committed
28 29
ignore:
  urls:
30
    - /system/fileForward/**
31
    - /system/login/updatePwdForClient
Administrator committed
32 33 34 35 36 37
    - /auth/**
    - /swagger/api-docs
    - /swagger-resources/**
    - /swagger-ui.html
    - /*/v2/api-docs
    - /webjars/**
38
    - /emerycommand/open/**
39
    - /emerycommand/open/zh/msg
40
    - /socket/**
41
    - /visualization/open/**
42
    - /visualization/open/switchUrl/overview**
43
    - /exam/open/** #基础数据开放接口规则以open开头
Administrator committed
44 45 46 47 48 49 50 51 52 53 54
    - /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
55
    - /platform/vc/**  #验证码
56
    - /system/vc/** #验证码
57
    - /message/**  #msg测试使用
58
    - /emerycommand/wjdc/rest/djrxx/getDjrxxData/*
59
    - /basicdata/dc/rest/dcKsjhb/queryAll  #考试计划列表
60
    - /exam/dc/rest/dcKsjhb/queryAll  #考试计划列表
61
    - /exam/dc/rest/dcKsjhb/getExamPlan  #登录页考试计划, 按时间排序
62 63 64
    - /emerycommand/wjdc/rest/wjmb/uploadFile
    - /system/parent/register # 家长注册
    - /system/parent/login # 家长登录
65
    - /system/parent/setNewPwdByUserName # 家长忘记密码
66 67
    - /exam/zh/rest/**/exportExcel  #导出表数据
    - /exam/dc/rest/**/exportExcel
68 69 70
    - /exam/dc/rest/**/downloadTemplate  #下载表格模板
    - /exam/zh/rest/**/downloadTemplate
    - /exam/dc/rest/**/uploadExcel  #Excel导入数据
71
    - /exam/zh/rest/**/uploadExcel
72
    - /exam/vio/rest/**/downloadTemplate   #下载缺考模板
73
    - /exam/currentExamClass/importBindingExcel  #导入考场编排
74
    - /exam/currentExamClass/downloadTemplate/**/**  #下载考场编排模板
75
    - /exam/currentExamClass/exportExcel  #导出考场编排excel
76
    - /system/login/checkAccount/*  #校验用户名
77
    - /system/login/resetPassword   #首页未登录重置密码
78
    - /esms/sendVerifCode/*  #首页忘记密码获取短信验证码接口
79
    - /socket/**
80
    - /exam/zh/rest/zhSssbxxb/downloadTemplate/**
81
    - /workflow/static/**
82
    - /exam/wechat/**    #微信小程序调用接口