|
|
|
@ -21,7 +21,8 @@ class FinancialSummarySetController extends \Think\Controller
|
|
|
|
|
//初始化
|
|
|
|
|
$this->beginThismonth = mktime(0,0,0,date('m')-1,1,date('Y'));
|
|
|
|
|
$this->endThismonth = mktime(0,0,0,date('m'),1,date('Y'))-1;
|
|
|
|
|
$temp = strtotime(date('Y-m-01 00:00:00',strtotime('-1 month')));
|
|
|
|
|
|
|
|
|
|
$temp = strtotime(date('Y',time()).'-'.(date('m',time())-1).'-01');
|
|
|
|
|
$this->year= date('Y',$temp);
|
|
|
|
|
$this->month= date('m',$temp);
|
|
|
|
|
$this->date = $this->year."-".$this->month;
|
|
|
|
@ -33,8 +34,6 @@ class FinancialSummarySetController extends \Think\Controller
|
|
|
|
|
$this->GameSupersignModel = M("GameSupersign",'tab_');
|
|
|
|
|
$this->CoinPayOrderModel = M("CoinPayOrder",'tab_');//会长充值平台币表
|
|
|
|
|
$this->TestOrderModel = M("TestOrder",'tab_');//测试订单录入
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
@ -54,6 +53,7 @@ class FinancialSummarySetController extends \Think\Controller
|
|
|
|
|
$this->month= $tarry[1];
|
|
|
|
|
$this->beginThismonth=mktime(0,0,0,$tarry[1],1,$tarry[0]);
|
|
|
|
|
$this->endThismonth=mktime(0,0,0,$tarry[1]-0+1,1,$tarry[0])-1;
|
|
|
|
|
|
|
|
|
|
$this->reCount();
|
|
|
|
|
$this->setFinancialSummary();
|
|
|
|
|
}
|
|
|
|
|