江息网络漏掉的修改

master
zhengyongxing 4 years ago
parent f62cfca22b
commit 15b9efcd7e

@ -120,7 +120,7 @@ class FinancePromoteController extends AdminController
if(!array_key_exists('bind_coin_count',$v)) $v['bind_coin_count']=0; if(!array_key_exists('bind_coin_count',$v)) $v['bind_coin_count']=0;
if(!array_key_exists('inside_cash_count',$v)) $v['inside_cash_count']=0; if(!array_key_exists('inside_cash_count',$v)) $v['inside_cash_count']=0;
$v['promote_account'] = get_promote_name($v['p_id']); $v['promote_account'] = get_promote_name($v['p_id']);
($v['promote_account']=='官方渠道')?($v['promote_account']=C('OFFICIEL_CHANNEL')):'';
$v['inside_cash_count'] = number_format($v['inside_cash_count'],2,'.',''); $v['inside_cash_count'] = number_format($v['inside_cash_count'],2,'.','');
$v['allcount'] = number_format($v['cash_count']-0+$v['balance_coin_count']+$v['bind_coin_count'],2,'.',''); $v['allcount'] = number_format($v['cash_count']-0+$v['balance_coin_count']+$v['bind_coin_count'],2,'.','');
$count['cash_count'] += $v['cash_count']; $count['cash_count'] += $v['cash_count'];

@ -464,7 +464,7 @@ class PromoteModel extends Model{
$userAuth = session('user_auth'); $userAuth = session('user_auth');
setPowerPromoteIds($where,'id'); setPowerPromoteIds($where,'id');
$offcialData = [0=>['id'=>0,'nickname'=>'官方渠道']]; $offcialData = [0=>['id'=>0,'nickname'=>'江息网络']];
$result = $this->field("*")->where($where)->select(); $result = $this->field("*")->where($where)->select();
foreach ($result as &$item) { foreach ($result as &$item) {

Loading…
Cancel
Save