LiuJ hai 3 semanas
pai
achega
e03452b8ca
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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条单聊未读聊天消息