二期内容提交
This commit is contained in:
@@ -69,7 +69,7 @@ spring:
|
||||
- id: firstleg-service
|
||||
uri: lb://firstleg-service
|
||||
predicates:
|
||||
- Path=/api/merchant/v1/first-leg/**,/api/platform/v1/first-leg/**
|
||||
- Path=/api/merchant/v1/first-leg/**,/api/platform/v1/first-leg/**,/api/platform/v1/fba-pricing/**,/api/platform/v1/inbounds/**,/api/platform/inbounds/**,/openapi/v1/inbound-measurements/**
|
||||
# Swagger 文档聚合路由。
|
||||
- id: auth-openapi
|
||||
uri: lb://auth-service
|
||||
@@ -135,7 +135,7 @@ baiyue:
|
||||
cors:
|
||||
allowed-origins: ${CORS_ALLOWED_ORIGINS:http://localhost:5173,http://localhost:5174,http://127.0.0.1:5173,http://127.0.0.1:5174}
|
||||
allowed-methods: GET,POST,PUT,PATCH,DELETE,OPTIONS
|
||||
allowed-headers: Authorization,Content-Type,Accept,X-Requested-With,X-Request-Id,Idempotency-Key
|
||||
allowed-headers: Authorization,Content-Type,Accept,X-Requested-With,X-Request-Id,Idempotency-Key,X-App-Key,X-Timestamp,X-Nonce,X-Signature
|
||||
exposed-headers: X-Request-Id,X-Trace-Id,Location,Content-Disposition
|
||||
allow-credentials: ${CORS_ALLOW_CREDENTIALS:false}
|
||||
max-age: ${CORS_MAX_AGE:3600}
|
||||
@@ -146,6 +146,7 @@ baiyue:
|
||||
- /api/auth/login
|
||||
- /api/auth/register
|
||||
- /api/auth/refresh
|
||||
- /openapi/v1/inbound-measurements/**
|
||||
- /actuator/health
|
||||
- /swagger-ui/**
|
||||
- /swagger-ui.html
|
||||
@@ -199,6 +200,8 @@ springdoc:
|
||||
url: /print-service/v3/api-docs/platform
|
||||
- name: firstleg-platform
|
||||
url: /firstleg-service/v3/api-docs/platform
|
||||
- name: firstleg-measurement-openapi
|
||||
url: /firstleg-service/v3/api-docs/measurement-openapi
|
||||
- name: audit
|
||||
url: /audit-service/v3/api-docs
|
||||
- name: integration
|
||||
|
||||
Reference in New Issue
Block a user