@@ -47,7 +47,7 @@ class ProductStock extends Base
$save=$product->save();
if(!$save) throw new \Exception('库存修改失败');
}else{
- throw new \Exception('库存不足');
+ throw new \Exception('商品库存未找到'.$product_id);
}
return true;