You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
377 B
17 lines
377 B
package dao |
|
|
|
import ( |
|
"context" |
|
|
|
acc "go-common/app/service/main/account/api" |
|
"go-common/library/net/metadata" |
|
) |
|
|
|
//GetUserCards 获取用户卡片信息 |
|
func (d *Dao) GetUserCards(ctx context.Context, mids []int64) (*acc.CardsReply, error) { |
|
req := &acc.MidsReq{ |
|
Mids: mids, |
|
RealIp: metadata.String(ctx, metadata.RemoteIP), |
|
} |
|
return d.accClient.Cards3(ctx, req) |
|
}
|
|
|