LiuJ 2 dias atrás
pai
commit
8d0fe88767
1 arquivos alterados com 1 adições e 0 exclusões
  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'];
     }