diff --git a/app/common/repositories/community/CommunityRepository.php b/app/common/repositories/community/CommunityRepository.php index 81d8797c..f25565e1 100644 --- a/app/common/repositories/community/CommunityRepository.php +++ b/app/common/repositories/community/CommunityRepository.php @@ -614,7 +614,7 @@ class CommunityRepository extends BaseRepository throw new ValidateException('进货记录不存在或已售罄'); } if (($purchaseRecord['number'] - $purchaseRecord['sales_volume']) < $value['number']) { - throw new ValidateException('库存不足'); + throw new ValidateException('库存不足123'); } if ($value) {