Explorar el Código

取消生日修改

linwu hace 1 año
padre
commit
74d0ec9e8e
Se han modificado 1 ficheros con 16 adiciones y 16 borrados
  1. 16 16
      app/love/controller/RegisterController.php

+ 16 - 16
app/love/controller/RegisterController.php

@@ -256,22 +256,22 @@ class RegisterController extends HomeBaseController
         }
     }
 
-    public function t1()
-    {
-        $auth = UserAuthModel::all();
-        $num = 0;
-        foreach ($auth as $v) {
-            $birth = strtotime(Fun::getBirthDayByIdCard($v['idcard']));
-            $check = UserModel::where('mobile',$v['mobile'])->find();
-            if (!empty($check) && $check->birthday != $birth) {
-                $check->birthday = $birth;
-                $check->save();
-                $num++;
-            }
-        }
-
-        return $num;
-    }
+//    public function t1()
+//    {
+//        $auth = UserAuthModel::all();
+//        $num = 0;
+//        foreach ($auth as $v) {
+//            $birth = strtotime(Fun::getBirthDayByIdCard($v['idcard']));
+//            $check = UserModel::where('mobile',$v['mobile'])->find();
+//            if (!empty($check) && $check->birthday != $birth) {
+//                $check->birthday = $birth;
+//                $check->save();
+//                $num++;
+//            }
+//        }
+//
+//        return $num;
+//    }
 
     /**
      * 健康码上传