diff --git a/backstage/application/backstage/models/User_model.php b/backstage/application/backstage/models/User_model.php index fb1c6d4..22d43a3 100644 --- a/backstage/application/backstage/models/User_model.php +++ b/backstage/application/backstage/models/User_model.php @@ -570,7 +570,7 @@ class User_model extends CI_Model $recharge_fund_type = ""; if ($v['recharge_fund_type']!=0) $recharge_fund_type = $v['recharge_fund_type']-1; else $recharge_fund_type = 0; - $recharge_fund_type = isset($XJ_RECHARGE_TYPE[$recharge_fund_type]) ? $XJ_RECHARGE_TYPE[$recharge_fund_type] : ''; + if ($recharge_fund_type != 0)$recharge_fund_type = isset($XJ_RECHARGE_TYPE[$recharge_fund_type]) ? $XJ_RECHARGE_TYPE[$recharge_fund_type] : ''; // if ($v['recharge_fund_type'] == 0) $recharge_fund_type // if($v['recharge_fund_type'] == 1){ // // 翼支付