diff --git a/app/admin/logic/goods/GoodsLogic.php b/app/admin/logic/goods/GoodsLogic.php index 2cc88af..f0c58d8 100644 --- a/app/admin/logic/goods/GoodsLogic.php +++ b/app/admin/logic/goods/GoodsLogic.php @@ -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) {