|
@@ -1009,6 +1009,7 @@ class NewsService implements NewsServiceInterface
|
|
*/
|
|
*/
|
|
public function getWebsiteArticles(array $data): array
|
|
public function getWebsiteArticles(array $data): array
|
|
{
|
|
{
|
|
|
|
+
|
|
// 修正传入的字符串,将单引号替换为双引号
|
|
// 修正传入的字符串,将单引号替换为双引号
|
|
$input['id'] = $data['id'];
|
|
$input['id'] = $data['id'];
|
|
$input['website_id'] = $data['website_id'];
|
|
$input['website_id'] = $data['website_id'];
|
|
@@ -1071,4 +1072,5 @@ class NewsService implements NewsServiceInterface
|
|
}, $data);
|
|
}, $data);
|
|
return Result::success($result);
|
|
return Result::success($result);
|
|
}
|
|
}
|
|
|
|
+
|
|
}
|
|
}
|