LiuJ 1 dienu atpakaļ
vecāks
revīzija
8d0fe88767
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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'];
     }