|
|
@@ -444,10 +444,10 @@ class OrderController extends BaseController
|
|
|
if ($this->shop->rechargeWeal == 3) {
|
|
|
// 判断支付方式是否是余额支付
|
|
|
if($hasPay != dict::getDict('hasPay', 'balance')) {
|
|
|
- util::fail('此红包非余额支付不可用');
|
|
|
+ util::fail('用红包要用余额支付');
|
|
|
} else {
|
|
|
if($custom->balance < $post['modifyPrice']) {
|
|
|
- util::fail('此红包非余额支付不可用(您的余额不足)');
|
|
|
+ util::fail('用红包要用余额支付(您的余额不足)');
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -775,7 +775,7 @@ class OrderController extends BaseController
|
|
|
}
|
|
|
if ($this->shop->rechargeWeal == 3) {
|
|
|
if($custom->balance < $modifyPrice) {
|
|
|
- util::fail('此红包非余额支付不可用(您的余额不足)');
|
|
|
+ util::fail('用红包要用余额支付(您的余额不足)');
|
|
|
}
|
|
|
}
|
|
|
$modifyPrice = bcsub($modifyPrice, $hb->amount, 2);//扣减红包
|