Browse Source

Merge branch 'master' into dev

shish 4 months ago
parent
commit
a9cf65e504

+ 2 - 2
app-hd/controllers/OrderController.php

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

+ 3 - 3
app-mall/controllers/OrderController.php

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