feat: 支持分类标签使用逗号分隔

This commit is contained in:
2026-05-29 15:52:19 +08:00
parent 2f18fac0c4
commit 606e0855f9
5 changed files with 5 additions and 5 deletions

View File

@@ -146,7 +146,7 @@ foreach ($result as $row) {
}
$category = array();
$cate = explode(" ", $row['source']);
$cate = preg_split('/[\s,]+/', $row['source']);
foreach ($cate as $cat) {
$cat = trim($cat);
if (mb_ereg("^http", $cat)) {