|
|
|
@ -419,6 +419,7 @@ class DownloadController extends BaseController {
|
|
|
|
|
$ids = implode(',', $ids);
|
|
|
|
|
$map = [];
|
|
|
|
|
$map['promote_id'] = ['in', $ids];
|
|
|
|
|
$map['pay_status'] = 1;
|
|
|
|
|
if (!empty($payOrderNumber)) {
|
|
|
|
|
$map['pay_order_number'] = $payOrderNumber;
|
|
|
|
|
}
|
|
|
|
@ -2439,7 +2440,7 @@ class DownloadController extends BaseController {
|
|
|
|
|
array('income','收益'),
|
|
|
|
|
array('pay_time','充值时间'),
|
|
|
|
|
array('selle_status','订单状态'),
|
|
|
|
|
);
|
|
|
|
|
);
|
|
|
|
|
$model = M('spend', 'tab_');
|
|
|
|
|
$data = $model->field('pay_order_number,game_name,user_account,promote_account,pay_amount,pay_way,if(selle_ratio >= 0,selle_ratio,0) as selle_ratio,pay_time,selle_status,pay_status,withdraw_id')
|
|
|
|
|
->where($map)
|
|
|
|
|