初始化

This commit is contained in:
2025-01-20 14:22:51 +08:00
commit aea5d30edb
182 changed files with 7448 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
spring:
resources:
static-locations: file:D://supervise
cloud:
nacos:
discovery:
# namespace: supervise
server-addr: 127.0.0.1:8848
redis:
database: 3 # Redis数据库索引默认为0
host: 127.0.0.1
jedis:
pool:
max-active: -1 #连接池最大连接数(使用负值表示没有限制)
max-idle: 8 #连接池中的最大空闲连接
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
min-idle: 0 # 连接池中的最小空闲连接
password:
port: 6379
timeout: 0 # 连接超时时间(毫秒)

View File

@@ -0,0 +1,20 @@
spring:
resources:
static-locations: file:D://supervise
cloud:
nacos:
discovery:
# namespace: supervise
server-addr: 127.0.0.1:8848
redis:
database: 3 # Redis数据库索引默认为0
host: 127.0.0.1
jedis:
pool:
max-active: -1 #连接池最大连接数(使用负值表示没有限制)
max-idle: 8 #连接池中的最大空闲连接
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
min-idle: 0 # 连接池中的最小空闲连接
password:
port: 6379
timeout: 0 # 连接超时时间(毫秒)

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1,34 @@
hystrix:
command:
default:
execution:
isolation:
strategy: SEMAPHORE
thread:
timeoutInMilliseconds: 300000
server:
port: 8114
spring:
application:
name: gateway
profiles:
active: dev
# active: pro
cloud:
gateway:
routes:
- id: external
predicates:
- Path= /external/**
uri: lb://external
filters:
- StripPrefix=1
ignore:
whites:
# - /external/client/getSign
whitesTwo: #包含所有
- /upload/**
- /external/apiadmin/supplierinfo/getSupplierCountByOrgSid/**

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,5 @@
#Generated by Maven
#Mon Dec 16 14:04:58 CST 2024
version=1.0-SNAPSHOT
groupId=com.yxt.external
artifactId=externalgateway

View File

@@ -0,0 +1,6 @@
com\yxt\external\RedisUtil$3.class
com\yxt\external\RedisUtil$4.class
com\yxt\external\RedisUtil.class
com\yxt\external\RedisUtil$2.class
com\yxt\external\GatewayApplication.class
com\yxt\external\RedisUtil$1.class

View File

@@ -0,0 +1,3 @@
D:\project\yxtt\share-store\externalInterface\externalgateway\src\main\java\com\yxt\external\AuthFilter.java
D:\project\yxtt\share-store\externalInterface\externalgateway\src\main\java\com\yxt\external\RedisUtil.java
D:\project\yxtt\share-store\externalInterface\externalgateway\src\main\java\com\yxt\external\GatewayApplication.java