Browse Source

admin update

xiaoyu 3 years ago
parent
commit
2136eb1454
1 changed files with 1 additions and 1 deletions
  1. 1 1
      admin/control/merchant.php

+ 1 - 1
admin/control/merchant.php

@@ -39,7 +39,7 @@ class merchantControl extends SystemControl
             $mchid = $merchant['mchid'];
             $available_predeposit = $merchant['available_predeposit'] - $merchant['credit_bonus'];
             $merchant_list[$key]['available_predeposit'] = number_format($available_predeposit,4,'.',',');;
-            if(!in_array($mchid, $config['test_mchid'])) {
+            if(!in_array($mchid, $config['test_mchid']) && $merchant['merchant_state'] == 1) {
                 if($available_predeposit >= 0) {
                     $available_total += $available_predeposit;
                 }else{