用户信息传到service
CI / changes (push) Successful in 1s
CI / docker-bff (push) Successful in 1s
CI / docker-product (push) Failing after 1s

This commit is contained in:
2026-08-10 15:46:49 +08:00
parent 38a8a5cafb
commit 7228d3fedc
19 changed files with 505 additions and 74 deletions
+2
View File
@@ -50,6 +50,8 @@ func main() {
gw := gateway.MustNewServer(c.GatewayConf,
gateway.WithDialer(dialer.Nacos),
// 权鉴
gateway.WithMiddleware(response.UserReadMiddleware),
gateway.WithMiddleware(response.Wrap),
)
defer gw.Stop()