From 06395bcb9d86ee6b4686b165adf2f852befcfe19 Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Tue, 29 Oct 2019 16:14:05 +0800 Subject: [PATCH] 123 --- Application/Admin/Controller/SpendCountSetController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Controller/SpendCountSetController.class.php b/Application/Admin/Controller/SpendCountSetController.class.php index 5226ea34f..9d9ad6825 100644 --- a/Application/Admin/Controller/SpendCountSetController.class.php +++ b/Application/Admin/Controller/SpendCountSetController.class.php @@ -31,7 +31,7 @@ class SpendCountSetController extends \Think\Controller die("init error"); } $nowdate = date('Y')."-".(date('m') > 9 ? date('m') : "0".date('m')); - $nowdate = "2017-10"; + // $nowdate = "2017-10"; //获取所有的月份 pay_time $res = M("spend",'tab_')->field("FROM_UNIXTIME(pay_time,'%Y-%m') AS pay_time")->buildSql(); $res = M()->table($res.' a')->group('pay_time')->select();