|
@@ -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{
|