老库存注释

This commit is contained in:
2026-04-14 15:43:06 +08:00
parent ca37b092c2
commit 48f5dadb00

View File

@@ -275,7 +275,7 @@ class Events
}
}
if ($tb_prod_cons[0]['quantity'] > $tb_prod_cons[0]['current_quantity']) {
if ($message['number'] > 0 && $tb_prod_cons[0]['quantity'] > $tb_prod_cons[0]['current_quantity']) {
$snd_data = [
'msg' => '此商品库存不足',
'operate_type' => $message['operate_type'],