编辑用户钱包bug
This commit is contained in:
parent
34f48aa8ff
commit
5a7e88c255
|
@ -569,7 +569,7 @@ class User_model extends CI_Model
|
||||||
// $XJ_RECHARGE_TYPE = unserialize($XJ_RECHARGE_TYPE['value']);
|
// $XJ_RECHARGE_TYPE = unserialize($XJ_RECHARGE_TYPE['value']);
|
||||||
$recharge_fund_type = "";
|
$recharge_fund_type = "";
|
||||||
if ($v['recharge_fund_type']!=0) $recharge_fund_type = $v['recharge_fund_type']-1;
|
if ($v['recharge_fund_type']!=0) $recharge_fund_type = $v['recharge_fund_type']-1;
|
||||||
else $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] : '';
|
$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'] == 0) $recharge_fund_type
|
||||||
// if($v['recharge_fund_type'] == 1){
|
// if($v['recharge_fund_type'] == 1){
|
||||||
|
@ -588,12 +588,15 @@ class User_model extends CI_Model
|
||||||
}else{
|
}else{
|
||||||
$account = round(doubleval($v['account'])*100)/100;;
|
$account = round(doubleval($v['account'])*100)/100;;
|
||||||
}
|
}
|
||||||
$account_list_new[$account_name][$v['supplier_id']."_".$recharge_fund_type['type_name']] = array(
|
$recharge_fund_type_name = "";
|
||||||
|
if($recharge_fund_type!=0) $recharge_fund_type_name = isset($recharge_fund_type['type_name']) ? $recharge_fund_type['type_name'] : '';
|
||||||
|
|
||||||
|
$account_list_new[$account_name][$v['supplier_id']."_".$recharge_fund_type_name] = array(
|
||||||
'name' => $account_name,
|
'name' => $account_name,
|
||||||
'class' => $account_type,
|
'class' => $account_type,
|
||||||
'icon' => $icon,
|
'icon' => $icon,
|
||||||
'supplier_name' => $v['supplier_name'],
|
'supplier_name' => $v['supplier_name'],
|
||||||
'recharge_fund_type' => $recharge_fund_type['type_name'],
|
'recharge_fund_type' => $recharge_fund_type_name,
|
||||||
'account' => $account,
|
'account' => $account,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue