LiuJ 1 روز پیش
والد
کامیت
8d0fe88767
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      app/JsonRpc/NewsService.php

+ 1 - 0
app/JsonRpc/NewsService.php

@@ -350,6 +350,7 @@ class NewsService implements NewsServiceInterface
       return Result::error("没有推荐数据");
     }
     //id
+    $whereArticle = [];
     if (isset($data['id'])) {
       $whereArticle['id'] = $data['id'];
     }