• <ul id="oroyp"></ul>

        1. <b id="oroyp"></b>

        2. <figure id="oroyp"><sup id="oroyp"></sup><figcaption id="oroyp"><object id="oroyp"><param id="oroyp"></param></object></figcaption></figure>
            <noframes id="oroyp">

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

                浏览:18 发布日期:2019/11/20 分类: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()));
                最佳答案
                评论( 相关
                后面还有条评论,点击查看>>