refactor: 修改产品分类新增唯一标识处理
This commit is contained in:
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user