request 设置的参数,后面的代码获取不到
xianlinzhang opened this issue · comments
Howell Chan commented
-
Your software version (Screenshot of your startup)
| Software | Version |
| PHP | 8.1.28 |
| Swoole | 4.8.13 |
| LaravelS | 3.7.35 | -
Detail description about this issue(error/log)
在控制器里设置了请求参数,在数据仓库里获取不到
- Some
reproducible
code blocks andsteps
CorpPoolController.php
request()->mergeIfMissing(['is_pool' => 1]);
CorpRepository,php
request('is_pool');
CorpRepository,php里获取到 is_pool 是null?
uptonyuan commented
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。