header("Content-type:text/html;charset=utf-8"); //加上这个就OK //示例 : class WechatController extends Controller{ //put your code here public function callback() { header("Content-type:text/html;charset=utf-8"); echo '开发中...'; } }
header("Content-type:text/html;charset=utf-8"); //加上这个就OK //示例 : class WechatController extends Controller{ //put your code here public function callback() { header("Content-type:text/html;charset=utf-8"); echo '开发中...'; } }