diff --git a/apps/vue/src/api/messages/notifications.ts b/apps/vue/src/api/messages/notifications.ts index 74a95060d..23224e65f 100644 --- a/apps/vue/src/api/messages/notifications.ts +++ b/apps/vue/src/api/messages/notifications.ts @@ -8,11 +8,11 @@ import { import { format } from '/@/utils/strings'; enum Api { - GetById = '/api/my-notifilers/{id}', - GetList = '/api/my-notifilers', - GetAssignableNotifiers = '/api/notifilers/assignables', - Read = '/api/my-notifilers/{id}/read', - MarkReadState = '/api/my-notifilers/mark-read-state', + GetById = '/api/notifications/my-notifilers/{id}', + GetList = '/api/notifications/my-notifilers', + GetAssignableNotifiers = '/api/notifications/notifilers/assignables', + Read = '/api/notifications/my-notifilers/{id}/read', + MarkReadState = '/api/notifications/my-notifilers/mark-read-state', } export const markReadState = ( diff --git a/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/ocelot.Development.json b/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/ocelot.Development.json index 2b329698a..cd0c241a5 100644 --- a/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/ocelot.Development.json +++ b/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/ocelot.Development.json @@ -1320,7 +1320,7 @@ "Key": "my-subscribes" }, { - "DownstreamPathTemplate": "/api/notifilers/{everything}", + "DownstreamPathTemplate": "/api/notifications/notifilers/{everything}", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { @@ -1328,7 +1328,7 @@ "Port": 30020 } ], - "UpstreamPathTemplate": "/api/notifilers/{everything}", + "UpstreamPathTemplate": "/api/notifications/notifilers/{everything}", "UpstreamHttpMethod": [ "GET", "POST" @@ -1353,7 +1353,7 @@ } }, { - "DownstreamPathTemplate": "/api/my-notifilers", + "DownstreamPathTemplate": "/api/notifications/my-notifilers", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { @@ -1361,7 +1361,7 @@ "Port": 30020 } ], - "UpstreamPathTemplate": "/api/my-notifilers", + "UpstreamPathTemplate": "/api/notifications/my-notifilers", "UpstreamHttpMethod": [ "GET" ], "LoadBalancerOptions": { "Type": "RoundRobin" @@ -1383,7 +1383,7 @@ } }, { - "DownstreamPathTemplate": "/api/my-notifilers/{id}", + "DownstreamPathTemplate": "/api/notifications/my-notifilers/{id}", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { @@ -1391,7 +1391,7 @@ "Port": 30020 } ], - "UpstreamPathTemplate": "/api/my-notifilers/{id}", + "UpstreamPathTemplate": "/api/notifications/my-notifilers/{id}", "UpstreamHttpMethod": [ "GET", "POST", diff --git a/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/ocelot.messages.json b/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/ocelot.messages.json index eb9fffd10..2042784b6 100644 --- a/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/ocelot.messages.json +++ b/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/ocelot.messages.json @@ -216,7 +216,7 @@ }, // �û�����֪ͨ { - "DownstreamPathTemplate": "/api/my-notifilers/assignables", + "DownstreamPathTemplate": "/api/notifications/my-notifilers/assignables", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { @@ -224,7 +224,7 @@ "Port": 30020 } ], - "UpstreamPathTemplate": "/api/my-notifilers/assignables", + "UpstreamPathTemplate": "/api/notifications/my-notifilers/assignables", "UpstreamHttpMethod": [ "GET" ], "LoadBalancerOptions": { "Type": "RoundRobin" @@ -249,7 +249,7 @@ }, // �û�֪ͨ { - "DownstreamPathTemplate": "/api/my-notifilers", + "DownstreamPathTemplate": "/api/notifications/my-notifilers", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { @@ -257,7 +257,7 @@ "Port": 30020 } ], - "UpstreamPathTemplate": "/api/my-notifilers", + "UpstreamPathTemplate": "/api/notifications/my-notifilers", "UpstreamHttpMethod": [ "GET" ], "LoadBalancerOptions": { "Type": "RoundRobin" @@ -279,7 +279,7 @@ } }, { - "DownstreamPathTemplate": "/api/my-notifilers/{id}", + "DownstreamPathTemplate": "/api/notifications/my-notifilers/{id}", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { @@ -287,7 +287,7 @@ "Port": 30020 } ], - "UpstreamPathTemplate": "/api/my-notifilers/{id}", + "UpstreamPathTemplate": "/api/notifications/my-notifilers/{id}", "UpstreamHttpMethod": [ "GET", "POST",