From db56df7a00ae9b127232345c44d23aed1131c386 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Fri, 18 Aug 2023 11:23:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/repositories/community/CommunityRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {