Skip to content

Commit cfbc299

Browse files
committed
fix(News): 兼容 PC 需要获取置顶用户信息需求
1 parent 5faf023 commit cfbc299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/slimkit-plus-news/src/API2/Controllers/CommentPinnedController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function index(Request $request, NewsPinnedModel $model)
6464
->limit($limit)
6565
->get();
6666

67-
$pinneds->load('news');
67+
$pinneds->load(['news', 'user']);
6868

6969
return response()->json($pinneds, 200);
7070
}

0 commit comments

Comments
 (0)