fix(优惠券中心):新增携程优惠券独立微服务模块
This commit is contained in:
@@ -85,6 +85,12 @@ spring:
|
||||
- Path=/api-order/**
|
||||
filters:
|
||||
- StripPrefix=1
|
||||
- id: coupon
|
||||
uri: lb://coupon-center
|
||||
predicates:
|
||||
- Path=/api-coupon/**
|
||||
filters:
|
||||
- StripPrefix=1
|
||||
# sentinel:
|
||||
# datasource.ds1.nacos:
|
||||
# server-addr: ${spring.cloud.nacos.server-addr}
|
||||
@@ -127,6 +133,10 @@ knife4j:
|
||||
service-name: device-ops-center
|
||||
url: /api-device-ops/v3/api-docs/default
|
||||
context-path: /api-device-ops
|
||||
- name: 优惠券服务
|
||||
service-name: coupon-center
|
||||
url: /api-coupon/v3/api-docs/default
|
||||
context-path: /api-coupon
|
||||
|
||||
zlt:
|
||||
security:
|
||||
@@ -155,7 +165,7 @@ zlt:
|
||||
/api-file/file/expires,
|
||||
/api-order/refund/auto,
|
||||
/api-order/files/exists/**,
|
||||
/api-order/coupon/ctrip/create
|
||||
/api-coupon/coupon/ctrip/create
|
||||
auth:
|
||||
urlPermission:
|
||||
#是否开启url级别权限
|
||||
|
||||
Reference in New Issue
Block a user