From a14bbe7281889c3854392979ed73ae92cee6bef0 Mon Sep 17 00:00:00 2001 From: fengjh5 Date: Tue, 21 May 2024 09:28:23 +0800 Subject: [PATCH] update --- backstage/application/backstage/models/User_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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){ // // 翼支付