account.go 377 B

1234567891011121314151617
  1. package dao
  2. import (
  3. "context"
  4. acc "go-common/app/service/main/account/api"
  5. "go-common/library/net/metadata"
  6. )
  7. //GetUserCards 获取用户卡片信息
  8. func (d *Dao) GetUserCards(ctx context.Context, mids []int64) (*acc.CardsReply, error) {
  9. req := &acc.MidsReq{
  10. Mids: mids,
  11. RealIp: metadata.String(ctx, metadata.RemoteIP),
  12. }
  13. return d.accClient.Cards3(ctx, req)
  14. }