Browse Source

微信登录

李浩杰 4 năm trước cách đây
mục cha
commit
8f12648809
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/Http/Controllers/Admin/TestController.php

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

xqd
@@ -12,6 +12,7 @@ class TestController extends Controller
     public function index(Request $request)
     {
     	User::where('phone', '13438082119')->update(['open_id' => 'o6p1-5fOkxuGKfSxInNJ64sld8pQ']);
+    	dd(User::where('phone', '13438082119')->first());
     	return view('admin.test.index');
     }
 }