更新 OpurchaseclassLogic.php 文件中的错误信息描述。

This commit is contained in:
mkm 2024-05-23 10:53:56 +08:00
parent 6be09e58fd
commit 73c992abd7

View File

@ -52,7 +52,7 @@ class OpurchaseclassLogic extends BaseLogic
$where = ['is_pay' => 1, 'is_fail' => 0];
$cart_select = Cart::whereIn('cart_id', $cart_arr)->where($where)->field('goods_id as goods,cart_num')->select()->toArray();
if (empty($cart_select)) {
self::setError('购物车为空');
self::setError('今日采购订单的购物车没有商品');
return false;
}
/** 计算价格 */