diff --git a/app/Services/Cron/ArticleSchema.php b/app/Services/Cron/ArticleSchema.php index ce51565b..8ca912be 100755 --- a/app/Services/Cron/ArticleSchema.php +++ b/app/Services/Cron/ArticleSchema.php @@ -66,7 +66,7 @@ final class ArticleSchema $aCmd["key"] = $sCmdKey; $aCmd["article_code"] = $oArticleSchema->code; $aCmd["group_code"] = $oArticleSchema->group_code; - $aCmd["article_opt"] = json_decode($oArticleSchema->opt); + $aCmd["article_opt"] = json_decode($oArticleSchema->opt ?? '', true) ?? []; // 附加config