refactor: 修改产品分类新增唯一标识处理

This commit is contained in:
2025-03-07 10:28:31 +08:00
parent 41444abd51
commit 76e71741f1

View File

@@ -77,7 +77,7 @@ class ProductCategory
'is_show' => 1
]);
if (empty($post['unique_id'])) {
$post['unique_id'] = md5(uniqid());
$post['unique_id'] = uniqid('PRO_CATE_');
}
$data = array_merge($post, ['language_id' => request()->lang_id]);