书籍列表接口新增参数
This commit is contained in:
@ -23,10 +23,14 @@ func (c *ControllerV1) Info(ctx context.Context, req *v1.InfoReq) (res *v1.InfoR
|
||||
}
|
||||
|
||||
return &v1.InfoRes{
|
||||
UserId: out.UserId,
|
||||
Username: out.Username,
|
||||
Avatar: out.Avatar,
|
||||
Email: out.Email,
|
||||
Points: out.Points,
|
||||
Id: out.Id,
|
||||
Username: out.Username,
|
||||
Avatar: out.Avatar,
|
||||
Email: out.Email,
|
||||
Points: out.Points,
|
||||
BackgroundUrl: out.BackgroundUrl,
|
||||
AttentionCount: out.AttentionCount,
|
||||
IsAuthor: out.IsAuthor,
|
||||
AuthorStatus: out.AuthorStatus,
|
||||
}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user