phone != $phone) { return array( 'code' => 400, 'message' => "无权限" ); } else { $syj = SyjUserModel::where('phone', $phone)->whereNull('bind')->first(); if (collect($syj)->isEmpty()) { return array( 'code' => 202, 'message' => '无用户信息' ); } else { $syj->bind = $uid; $syj->save(); return array( 'code' => 200, 'message' => 'success', 'data' => $syj ); } } } }