Fize
Fize
重现问题步骤如下: 定义中间件,代码如下: ```php namespace app\test\middleware; use Closure; use RuntimeException; use think\Response; class Test { public function handle($request, Closure $next) { throw new RuntimeException('测试middleware发生错误的情况1'); } public function end(Response $response) { throw...
发现一个BUG: 数组条件查询时,NULL、NOT NULL的写法和文档不一致,如下: ->where([ ['project_id', '=', $project_id], ['category', '=', $category], ['code', 'NOT NULL'], ['efq_code', 'NULL'], ['materials_type', '=', $materials_type], ['is_delete', '=', $is_delete] ]) 会报错,需要修改为: ->where([ ['project_id', '=', $project_id], ['category', '=', $category],...