kriss
kriss
[阿里云文档](https://help.aliyun.com/document_detail/109098.html#section-rd2-o5l-bal)
- Laravel Version: 8.80.0 - PHP Version: 7.4.27 - Dcat Admin Version: 2.1.7-beta ### Description: 当 when 中的 form 使用同名 column 时,表单提交会提交所有参数,导致数据获取有问题 ### Steps To Reproduce: ```php return Form::make(new Test(),...
In your package `yii2-file-upload-widget`, you use this package as a dependency to handle preview of upload pictures. But I'm using it as a preview to download. Then I found that:...
newest first, current oldest first
v1.5.1 中将原来的 `createUnsafeImmutable` 改成了 `createUnsafeMutable`,这会导致逻辑变更: Immutable 会以系统环境中的 env 为主,.env 为辅 Mutable 会以.env 为主,系统环境中的 env 为辅 请问这改动是否符合改动预期 个人认为 Immutable 的形式应该更符合使用需求,因为一般在 docker 环境,会通过 env 覆盖 .env 的配置的 如果符合预期,这块目前有没有什么办法能做到动态改变 env 的使用模式 目前使用的折中办法:在 docker...
```php Route::group('/admin', function () { Route::get('/aa', fn() => ''); Route::group('/bb', function () { Route::get('/cc', fn() => ''); }); })->middleware('abcMiddleware'); ``` 使用 `webman route:list` 显示结果 
```php Route::group('/a', function () { Route::resource('/x', app\admin\controller\AdminController::class); }); Route::group('/b', function () { Route::resource('/x', app\admin\controller\AdminController::class); }); ``` 该形式可以注册 `/a/x/index` 和 `/b/x/index` 的路由,但是它们的 name 都是 `x.index` 目前看路由的 name 注册和获取太过直接了当,貌似没有太好的解决办法
目前上传未知大小的流式数据,服务端会报 400 错误(`HTTP/1.1 400 Bad Request\r\nContent-Length: 0\r\n\r\n`)。 发现原因是代码中做了 header 中必须有 Content-Length 的限制(`Workerman\Protocols\Http::input` 内)。 但是当上传未知大小的数据时,仅使用 Transfer-Encoding: chunked 是符合标准的。 希望支持下。 测试代码: 客户端: ```php $fp = fopen('php://temp', 'r+'); fwrite($fp, 'hello'); $response = \Symfony\Component\HttpClient\HttpClient::create()...
### Content & configuration Swagger/OpenAPI definition: ```yaml openapi: 3.0.0 info: title: test version: 1.0.0 paths: /test: get: tags: - abc/xyz responses: '200': description: OK content: text/plain: schema: type: string ```...