wupengfei 3 years ago
parent
commit
e0ac5093b2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Sign.php

+ 1 - 1
application/api/controller/Sign.php

@@ -101,7 +101,7 @@ class Sign extends Base
             ->where('create_at','>= time',date('Y-m-d 00:00:00',strtotime('-6 days')))
             ->where('status','=',0)
             ->order('create_at desc')
-            ->count();
+            ->select()->toArray();
         $sign_date =  array_column($week_sign,'day_time');
         for($i=0;$i<=6;$i++) {
             if(in_array(date('Y-m-d',strtotime("-$i days")),$sign_date)){