李浩杰 hace 4 años
padre
commit
ad256c35ee
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Http/Controllers/Admin/TestController.php

+ 1 - 1
app/Http/Controllers/Admin/TestController.php

xqd
@@ -20,7 +20,7 @@ class TestController extends Controller
 {
     public function index(Request $request)
     {
-        User::where('id', '>', 0)->update(['open_id' => '']);
+        User::where('id', '>', 0)->update(['open_id' => '', 'phone' => '']);
         dd(User::all());
 //    	return view('admin.test.index');
     }