|
|
|
@ -289,7 +289,9 @@ class StatementWarningController extends AdminController
|
|
|
|
|
{
|
|
|
|
|
if(!isset($_REQUEST['time'])) $this->error("参数错误");
|
|
|
|
|
|
|
|
|
|
$time = $_REQUEST['time'];
|
|
|
|
|
$time =strtotime($_REQUEST['time']."-1");
|
|
|
|
|
$time = date('Y-m',strtotime('+32 day',$time));
|
|
|
|
|
|
|
|
|
|
$params = "php ".SUBSITE_INDEX." StatementWarningSet/setFreeMonth/count_date/{$time}";
|
|
|
|
|
$r = D("CmdTasks")->addTask("StatementWarningSet",$params);
|
|
|
|
|
if($r){
|
|
|
|
|