LeoYang

684 经验值

\DB::listen(function ($query, $binds) {
    foreach ($binds as $bind) {
        $query = preg_replace('/\?/', '\'' . $bind . '\'', $query, 1);
    }
    \Log::info($query);
});

按照视频及文档设置,本地上传正常,七牛云上传一直报错:未知错误
经测试使用 php 代码上传文件到七牛云成功

local.ERROR: Overtrue\LaravelUEditor\StoreErrorException: ERROR_UNKNOWN