|
|
|
@ -362,7 +362,8 @@ class PromoteCoinController extends BaseController
|
|
|
|
|
$startTime = I('time_end', '');
|
|
|
|
|
$endTime = I('time_start', '');
|
|
|
|
|
|
|
|
|
|
$conditions = [];
|
|
|
|
|
$loginPromote = $this->getLoginPromote();
|
|
|
|
|
$conditions = ['promote_id' => $loginPromote['id']];
|
|
|
|
|
if ($startTime != '' || $endTime != '') {
|
|
|
|
|
if ($startTime != '') {
|
|
|
|
|
$conditions['create_time'] = ['egt', strtotime($startTime. ' 00:00:00')];
|
|
|
|
@ -372,7 +373,7 @@ class PromoteCoinController extends BaseController
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$query = M('promote_coin_transfer_log', 'tab_')->where($conditions);
|
|
|
|
|
$query = M('promote_coin_transfer_log', 'tab_')->where($conditions)->order('create_time desc');
|
|
|
|
|
list($logs, $pagination, $count) = $this->paginate($query);
|
|
|
|
|
$service = new PromoteCoinTransferLogService();
|
|
|
|
|
|
|
|
|
|