|
|
|
@ -790,8 +790,8 @@ class TimingController extends AdminController {
|
|
|
|
|
$compamy_info = M("promote","tab_")->where(['id'=>$promote_id,'company_id'=>$value['company_id']])->find();
|
|
|
|
|
if ($compamy_info) {
|
|
|
|
|
foreach ($statement_info as $k => $v) {
|
|
|
|
|
$statement_begin_time = strtotime($v['statement_begin_time']);
|
|
|
|
|
$statement_end_time = strtotime($v['statement_end_time'])+86399;
|
|
|
|
|
$statement_begin_time = strtotime(str_replace('.','-',$v['statement_begin_time']));
|
|
|
|
|
$statement_end_time = strtotime(str_replace('.','-',$v['statement_end_time']))+86399;
|
|
|
|
|
$amount_time['tab_spend.pay_status'] = 1;
|
|
|
|
|
$amount_time['pay_way'] = ['egt',0];
|
|
|
|
|
$amount_time['_string'] = "payed_time between {$statement_begin_time} and {$statement_end_time} and relation_game_id={$v['relation_game_id']}";
|
|
|
|
|