Commit efdf1c21 by 杨昕

test

parent 025ce9ea
Pipeline #9742 passed with stages
in 17 seconds
...@@ -37,7 +37,6 @@ class LoginController extends Controller ...@@ -37,7 +37,6 @@ class LoginController extends Controller
throw new ControllerException(400, '昵称必须填写'); throw new ControllerException(400, '昵称必须填写');
} }
$user = DB::connection('mongodb') //选择使用mongodb $user = DB::connection('mongodb') //选择使用mongodb
->collection('users')->where('name',$request->name)->first(); ->collection('users')->where('name',$request->name)->first();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment