|
|
@@ -4292,7 +4292,7 @@ class PublicRpcService implements PublicRpcServiceInterface
|
|
|
*/
|
|
|
public function checkRepeatKeyword(array $data): array
|
|
|
{
|
|
|
- if(empty($data['keyword']) || $data['keyword'] == ''){
|
|
|
+ if(empty($data['keyword']) || $data['keyword'] == '' || $data['keyword'] == '[]'){
|
|
|
return Result::success('关键词为空');
|
|
|
}
|
|
|
$keyword = json_decode($data['keyword'],true);
|