【发布时间】:2021-02-19 07:40:55
【问题描述】:
我正在研究微服务,我想聚合来自具有不同查询参数的多个 Get 调用的数据。例如
- /api/Users/Clients?clientId=489842&&isClient=true
- /api/Bookings/Booking?clientId=489842&FromDate=20201106&ToDate=20210106
- /api/Accounts/Salary?clientId=489842&month=03&year=2020
这样做的解决方案是什么? 我发现的唯一解决方案是所有 API 都需要单个/相同的查询参数。
【问题讨论】:
标签: .net-core microservices aggregation gateway ocelot