seven 2 dni temu
rodzic
commit
0a802bf528
1 zmienionych plików z 5 dodań i 4 usunięć
  1. 5 4
      app/Services/SanJinRechargeService.php

+ 5 - 4
app/Services/SanJinRechargeService.php

@@ -71,10 +71,11 @@ class SanJinRechargeService
 
             $rechargeText = '';
             foreach ($product as $k => $v) {
-                if($v['type'] == 'zfbge'){
-                    $rechargeText = "充值金额:".implode($v['fixed']);
-                }else{
-                    if ($v['type'] == $paymentType) {
+                if ($v['type'] == $paymentType) {
+
+                    if($v['type'] == 'zfbge'){
+                        $rechargeText = "充值金额:".implode($v['fixed']);
+                    }else{
                         if ($min == 0) {
                             $min = $v['min'];
                         }