tclxwei2.yang
Results
2
issues of
tclxwei2.yang
扫码登录问题
1
登录二维码要在哪扫,./conf/ 没发现二维码
客户端调用后无法通过` selector.FromPeerContext`拿到 selector peer,发现是下面两行覆盖了peerKey,这样的话只能在源码中拿到peer,无法在客户端调用后拿到 https://github.com/go-kratos/kratos/blob/85740b179b097d3ba63ff873819bfc1d8ab28899/transport/http/client.go#L272-L273 如果改成没有peerKey的时候在去new会不会好些,这样经过 newPeer ->客户端调用->fromPeer即可拿到peer ```go _, ok := selector.FromPeerContext(ctx) if !ok { var p selector.Peer ctx = selector.NewPeerContext(ctx, &p) } ```