<link id="EuRHs"><audio id="EuRHs"><option id="EuRHs"><sup id="EuRHs"><output id="EuRHs"></output><abbr id="EuRHs"></abbr></sup></option></audio></link>
    1. <q id="EuRHs"><thead id="EuRHs"><th id="EuRHs"><blockquote id="EuRHs"></blockquote></th></thead></q><video id="EuRHs"><tr id="EuRHs"></tr><param id="EuRHs"><p id="EuRHs"></p><form id="EuRHs"></form><b id="EuRHs"><option id="EuRHs"><label id="EuRHs"></label></option></b><dd id="EuRHs"></dd><audio id="EuRHs"></audio><rp id="EuRHs"><map id="EuRHs"><ol id="EuRHs"><rp id="EuRHs"><style id="EuRHs"></style></rp><bdo id="EuRHs"></bdo></ol></map></rp><legend id="EuRHs"></legend><i id="EuRHs"><kbd id="EuRHs"></kbd></i></param></video><table id="EuRHs"><samp id="EuRHs"><kbd id="EuRHs"><tfoot id="EuRHs"></tfoot></kbd></samp></table><mark id="EuRHs"></mark><i id="EuRHs"></i>

        <sub id="EuRHs"></sub>

        在调试模式开启时路由使用response()会报错

        浏览:21 发布日期:2019/12/07 分类:ThinkPHP5专区 关键字: bug
        在APP_DEBUG = true情况下,路由使用response()会报错:

        Uncaught ErrorException: var_export does not handle circular references

        Route::get('/h5/static/<name>', response()
                                    ->data(file_get_contents('https://starideas.net/cloud/xyadmin/js/chunk-vendors.3efb1daa.js'))
                                    ->code(200)
                                    ->expires($ts)
                                    ->cacheControl("max-age=$seconds_to_cache")
                                    ->contentType('text/' . request()->ext()));
        最佳答案
        评论( 相关
        后面还有条评论,点击查看>>