LiuJ 1 tháng trước cách đây
mục cha
commit
e03452b8ca
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/JsonRpc/NewsService.php

+ 1 - 1
app/JsonRpc/NewsService.php

@@ -1773,7 +1773,7 @@ class NewsService implements NewsServiceInterface
         if ($type_id == 1) {
             //最近的5篇已审的文章
             $apply_articale = Article::where('status', 1)
-                ->where('user_id', $user_id)
+                ->where('admin_user_id', $user_id)
                 ->orderBy('updated_at', 'desc')
                 ->limit(5)->get();
             //获取5条单聊未读聊天消息