From a671cb7a89c60bf532b30a2848ad822ccdaa9a10 Mon Sep 17 00:00:00 2001 From: zerosaturation Date: Mon, 11 May 2026 20:17:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E4=BB=96=E4=BA=BA=E5=B1=95=E7=A4=BA=E9=A1=B5=E9=9D=A2=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../socialService/provider/social_provider.go | 5 +- frontend/manifest.json | 2 +- frontend/pages/profile/hisWorks.vue | 64 +++++++++++-------- frontend/utils/api.js | 4 +- 4 files changed, 44 insertions(+), 31 deletions(-) diff --git a/backend/services/socialService/provider/social_provider.go b/backend/services/socialService/provider/social_provider.go index e78d3af..a875dfb 100644 --- a/backend/services/socialService/provider/social_provider.go +++ b/backend/services/socialService/provider/social_provider.go @@ -463,13 +463,14 @@ func (p *SocialProvider) GetUserLikedAssets(ctx context.Context, req *pb.GetUser } logger.Logger.Debug("GetUserLikedAssets called", - zap.Int64("user_id", userID), + zap.Int64("target_user_id", req.UserId), + zap.Int64("caller_user_id", userID), zap.Int64("star_id", starID), zap.Int32("page", req.Page), zap.Int32("page_size", req.PageSize), ) - return p.assetLikeService.GetUserLikedAssets(ctx, req, userID, starID) + return p.assetLikeService.GetUserLikedAssets(ctx, req, req.UserId, starID) } // extractUserInfo 从 Dubbo attachments 中提取用户信息 diff --git a/frontend/manifest.json b/frontend/manifest.json index 31e048d..ff5e87d 100644 --- a/frontend/manifest.json +++ b/frontend/manifest.json @@ -3,7 +3,7 @@ "appid" : "__UNI__F199FF4", "description" : "", "versionName" : "1.0.4", - "versionCode" : 103, + "versionCode" : 104, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/frontend/pages/profile/hisWorks.vue b/frontend/pages/profile/hisWorks.vue index c6e5cb5..f5100af 100644 --- a/frontend/pages/profile/hisWorks.vue +++ b/frontend/pages/profile/hisWorks.vue @@ -1,7 +1,7 @@