Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
techhero-framework-config
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
techhero-framework-config
Commits
ff4aa135
Commit
ff4aa135
authored
Jan 26, 2022
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
6d72b485
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
130 additions
and
0 deletions
+130
-0
techhero-framework-gateway-local.yml
+130
-0
No files found.
techhero-framework-gateway-local.yml
0 → 100644
View file @
ff4aa135
zuul
:
ribbon
:
eager-load
:
enabled
:
true
clients
:
techhero-framework-config, techhero-framework-eureka, techhero-framework-auth
ignoredServices
:
'
*'
#routes:
#resource:
# path: /ws/**
# serviceId: techhero-component-websocket
host
:
connect-timeout-millis
:
2000000
socket-timeout-millis
:
2000000
hystrix
:
command
:
default
:
execution
:
isolation
:
thread
:
timeoutInMilliseconds
:
60000
#设置API网关中路由转发请求的HystrixCommand执行超时时间
ribbon
:
ConnectTimeout
:
3000
#设置路由转发请求的时候,创建请求连接的超时时间
ReadTimeout
:
60000
#用来设置路由转发请求的超时时间
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://127.0.0.1:10420/oauth/token_key
#解析jwt令牌所需要密钥的地址
authorization
:
check-token-access
:
http://techhero-auth/oauth/check_token
gateway
:
allowed
:
origins
:
-
'
*'
-
https://account.aliyun.com
-
https://datav.aliyun.com
-
http://datav.aliyun.com
-
http://cdn-service-datav.aliyun.com
ignore
:
urls
:
-
/oss/**
-
/socket/socketServer/info
-
/system/fileForward/**
-
/system/login/updatePwdForClient
-
/system/login/resetPassword
-
/auth/**
-
/swagger/api-docs
-
/swagger-resources/**
-
/swagger-ui.html
-
/*/v2/api-docs
-
/webjars/**
-
/emerycommand/open/**
-
/emerycommand/appCommandTask/uploadTaskFile/**
-
/emerycommand/open/zh/msg
-
/emerycommand/commandTask/saveReportData/**
-
/emerycommand/commandTask/selectReportData/**
-
/emerycommand/commandTask/save/registration/**
-
/emerycommand/commandTask/save/application/**
-
/emerycommand/commandTask/save/review/**
-
/emerycommand/commandTask/save/refund/**
-
/emerycommand/onlinefill/rest/**
# - /socket/**
-
/visualization/open/**
-
/visualization/open/switchUrl/overview**
-
/exam/open/**
#基础数据开放接口规则以open开头
-
/zuul/emerycommand/demo/**
-
/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/**
#验证码
-
/system/vc/**
#验证码
-
/message/**
#msg测试使用
-
/emerycommand/wjdc/rest/djrxx/getDjrxxData/*
-
/basicdata/dc/rest/dcKsjhb/queryAll
#考试计划列表
-
/exam/dc/rest/dcKsjhb/queryAll
#考试计划列表
-
/exam/dc/rest/dcKsjhb/getExamPlan
#登录页考试计划, 按时间排序
-
/emerycommand/wjdc/rest/wjmb/uploadFile
-
/system/parent/register
# 家长注册
-
/system/parent/login
# 家长登录
-
/system/parent/setNewPwdByUserName
# 家长忘记密码
-
/exam/zh/rest/**/exportExcel
#导出表数据
-
/exam/dc/rest/**/exportExcel
-
/exam/dc/rest/**/downloadTemplate
#下载表格模板
-
/exam/zh/rest/**/downloadTemplate
-
/exam/dc/rest/**/uploadExcel
#Excel导入数据
-
/exam/zh/rest/**/uploadExcel
-
/exam/vio/rest/**/downloadTemplate
#下载缺考模板
-
/exam/currentExamClass/importBindingExcel
#导入考场编排
-
/exam/currentExamClass/downloadTemplate/**/**
#下载考场编排模板
-
/exam/currentExamClass/exportExcel
#导出考场编排excel
-
/system/login/checkAccount/*
#校验用户名
-
/system/login/resetPassword
#首页未登录重置密码
-
/esms/sendVerifCode/*
#首页忘记密码获取短信验证码接口
#- /socket/**
-
/exam/zh/rest/zhSssbxxb/downloadTemplate/**
-
/workflow/static/**
-
/exam/wechat/**
#微信小程序调用接口
-
/system/login/clientCheckPassword/**
#客户端校验是否为初始密码
-
/track/sjgz/rest/order/dbfImport
-
/track/transportTask/packageReport
#app出入库任务上报
-
/track/transportTask/packageStatus
#试卷包状态查询
-
/track/open/tag/bind/**
#电子标签与吊牌绑定
-
/track/open/down/package/**
#离线数据包下载
-
/track/open/session/**
#设备状态考试场次接口
-
/track/open/warn/**
#预警相关
-
/verification/api/Login/**
# 身份认证获取token
-
/insp/open/**
-
/producer/hello
-
/insp/rest/meetingUser/isPost
# 巡查用户身份验证
-
/xylink/test/test
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment