where(array('id' => $uid))->save(array('vid' => 0, 'user_type' => 1)); if ($update) { echo "修改成功"; exit; } else { echo "修改失败"; exit; } } }