Commit 4ebb5841 by allen

修改数据取出

parent 93f7880f
Showing with 1 additions and 1 deletions
......@@ -98,7 +98,7 @@ Class AddOrderController extends Controller
if(!empty($user_id)){
$user = $UserMainModel->where('user_id', $user_id)->select('user_id', 'email', 'is_test')->orderBy('create_time', 'desc')->first();
$user = $UserMainModel->where('user_id', $user_id)->select('user_id', 'email','mobile', 'is_test')->orderBy('create_time', 'desc')->first();
}else{
if (preg_match('/@/', $mobile)) {
$user = $UserMainModel->where('email', $mobile)->select('user_id', 'email', 'is_test')->orderBy('create_time', 'desc')->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 sign in to comment