Browse Source

登录调试

李浩杰 4 năm trước cách đây
mục cha
commit
4f1f1adf38
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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::update(['open_id' => '']);
+        User::where('id', '>', 0)->update(['open_id' => '']);
 //    	return view('admin.test.index');
     }
 }