Skip to content

Commit de2a9d8

Browse files
committed
修复Feed返沪的user
1 parent 99d6cf8 commit de2a9d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/gateway-center/controller/videoController.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ func Feed(c *gin.Context) {
257257
for _, video := range videos {
258258
var info *pb.DouyinUserResponse
259259
if isLogin { //用户模式
260-
info, err = grpcClient.GetUserById(context.Background(), uint(video.Author.Id), uint(userId), params.Token)
260+
info, err = grpcClient.GetUserById(context.Background(), uint(userId), uint(video.Author.Id), params.Token)
261261
if err != nil {
262262
util.LogrusObj.Errorf("获取User失败 UserId:%d UserToken:%d", video.Author.Id, &params.Token)
263263
continue

0 commit comments

Comments
 (0)