feat: 更新商品分类数据逻辑

This commit is contained in:
mkm 2024-05-25 16:49:46 +08:00
parent 4c55881fa6
commit 3b5901c998

View File

@ -58,7 +58,7 @@ class GoodsLogic extends BaseLogic
'sort' => $params['sort'] ?? '',
'sys_labels' => $sys_labels,
]);
Goodsclass::where('id', $params['class'])->inc('three')->update();
Db::commit();
return true;
} catch (\Exception $e) {