针对redirect()函数的提示信息会出现乱码的问题,能够在ThinkPHP/Common/functions.php找到redirect函数,把header("Content-type:text/html;charset=utf-8");加到函数内便可解决php