|
|
|
@ -41,6 +41,7 @@ class FinancePromoteController extends AdminController
|
|
|
|
|
$senddata = [];
|
|
|
|
|
//获取各会长的充值方式
|
|
|
|
|
$cash = self::getJoinPromoteData([],$istimeselect);
|
|
|
|
|
|
|
|
|
|
foreach($cash as $k=>$v){
|
|
|
|
|
$senddata[$v['p_id']] = $v;
|
|
|
|
|
}
|
|
|
|
@ -56,8 +57,10 @@ class FinancePromoteController extends AdminController
|
|
|
|
|
$senddata[$v['p_id']] = $v;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(!empty($senddata)){
|
|
|
|
|
if(array_key_exists(0,$senddata) || $_REQUEST['promote_id']==0){
|
|
|
|
|
if (empty($_REQUEST['company_id'])) {
|
|
|
|
|
$pmap['status']=1;
|
|
|
|
|
if($istimeselect){
|
|
|
|
|
$pmap['create_time'] = $istimeselect;
|
|
|
|
@ -66,9 +69,10 @@ class FinancePromoteController extends AdminController
|
|
|
|
|
if($admininside['amount'] >0){
|
|
|
|
|
$senddata[0]['inside_cash_count']= $admininside['amount'];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$data = [];
|
|
|
|
|
$count =array(
|
|
|
|
|
"cash_count"=>0,
|
|
|
|
|