From 38fb5398d1be6a6f093e8bfb073b716e93bd7658 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Thu, 29 Oct 2020 18:13:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=96=E5=9B=A2=E6=8E=A8=E5=B9=BF=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/MarketPercentageController.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/Admin/Controller/MarketPercentageController.class.php b/Application/Admin/Controller/MarketPercentageController.class.php index 84a9f9417..d44756ad5 100644 --- a/Application/Admin/Controller/MarketPercentageController.class.php +++ b/Application/Admin/Controller/MarketPercentageController.class.php @@ -1514,7 +1514,7 @@ class MarketPercentageController extends ThinkController $time_end = 99999999999; } - $last_month = strtotime(date('Y-m-t',strtotime("-1 month"))); + $last_month = strtotime(date('Y-m-t',strtotime("-2 month"))); if ($data['begin_time'] < $last_month) { $this->ajaxReturn(['msg'=>"已经结算过的时间不能添加","status"=>0]); @@ -1587,7 +1587,7 @@ class MarketPercentageController extends ThinkController $time_start = $company_belong_game_data['begin_time']; } - $last_month = strtotime(date('Y-m-t',strtotime("-1 month"))); + $last_month = strtotime(date('Y-m-t',strtotime("-2 month"))); if ($company_belong_game_data['end_time'] > $last_month && $data['end_time'] < $last_month) { @@ -1640,7 +1640,7 @@ class MarketPercentageController extends ThinkController } $data['is_start'] = 0; - if($data['begin_time']