渠道计算修复

master
sunke 5 years ago
parent 8db53afc8b
commit f92533e6a5

@ -1607,12 +1607,10 @@ class QueryController extends ThinkController
foreach($promoteIdInfo as $key2 => $v1) { foreach($promoteIdInfo as $key2 => $v1) {
$promoteIdArr[] = $v1['id']; $promoteIdArr[] = $v1['id'];
} }
$map['promote_id'] = ['in',$promoteIdArr]; $where['promote_id'] = ['in',$promoteIdArr];
}else { }else {
$map['promote_id'] = 0; $where['promote_id'] = 0;
} }
$where['game_id'] = ['in',$gameNameIdArr]; $where['game_id'] = ['in',$gameNameIdArr];
$where['pay_status'] = 1; $where['pay_status'] = 1;
$begTime = strtotime($mytime); $begTime = strtotime($mytime);

Loading…
Cancel
Save