wupengfei 3 anni fa
parent
commit
29f7991d2e

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

@@ -255,7 +255,7 @@ class General extends Base
      */
     public function userSign()
     {
-        $type = input('post.type');
+        $type = input('post.type',1);
         $year = date('Y');
         $month = date('m');
         $day = date('d');

+ 3 - 1
application/api/controller/Qc.php

@@ -6,7 +6,9 @@ use think\Db;
 class Qc{
     function index()
     {
-        var_dump(get_delivery());
+        $sql = "SELECT uid , count(id) as num FROM `user_sign` where `month` = 11  GROUP BY uid  HAVING num > 6 ORDER BY num desc";
+        $list = Db::query($sql);
+        var_dump($list);
     }