LiuJ hace 1 día
padre
commit
8d0fe88767
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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'];
     }