更新 OpurchaseclassLogic.php 文件中的错误信息描述。
This commit is contained in:
parent
6be09e58fd
commit
73c992abd7
@ -52,7 +52,7 @@ class OpurchaseclassLogic extends BaseLogic
|
|||||||
$where = ['is_pay' => 1, 'is_fail' => 0];
|
$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();
|
$cart_select = Cart::whereIn('cart_id', $cart_arr)->where($where)->field('goods_id as goods,cart_num')->select()->toArray();
|
||||||
if (empty($cart_select)) {
|
if (empty($cart_select)) {
|
||||||
self::setError('购物车为空');
|
self::setError('今日采购订单的购物车没有商品');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
/** 计算价格 */
|
/** 计算价格 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user