日志,我只想保留1周,怎么设置

日志,我只想保留1周,怎么设置 日志,我只想保留1周,怎么设置...

jinlilaile 发表与 1天前 80 浏览 2 回答
貌似php8 不能stdClass直接赋予User类了吗

问题描述 $this->user = json_decode($result); 在php7.4是正常的,php8.2就报错这个错误:Cannot assign stdClass to property app\api\controller\v1\Base::$user...

smart 发表与 7天前 151 浏览 1 回答
后端配置了跨域请求但是前端一直跨域

问题描述 这里详细描述问题 后端配置了跨域请求但是前端一直跨域 程序代码 public function process(Request|\Webman\Http\Request $request, callable $handler): Response { // 设置 CORS 相关头部 $response = $handler($request); /...

wangsky522 发表与 7天前 105 浏览 1 回答
php8.4 webman/think-cache安装后报错:函数参数nullable类型声明不兼容

问题描述 安装think-cache后报错,php8.4 函数参数类型声明不兼容 报错信息 ErrorException: Webman\ThinkCache\CacheManager::getConfig(): Implicitly marking parameter $name as nullable is deprecated, the explicit nullable type must be used i...

Elaborate 发表与 2025-03-31 179 浏览 1 回答
request中的rawBody内容重新写入

问题描述 在中间件中需要将$request->rawBody()获取的数据处理后重新放入rawBody中共后续业务逻辑中 为此你搜索到了哪些方案及不适用的原因 通过$request->setPost();放入post中,但是控制器中需要全面切换到$request->post()获取新放入的参数,改造点太多,而且不符合原系统设计的请求通过raw application/json交互的初衷。...

qq260912391 发表与 2025-03-29 202 浏览 1 回答
小程序想实现解梦功能,怎么实现直接调用Webman AI的解梦功能将答案返回小程序里?

问题描述 小程序想实现解梦功能,怎么实现直接调用Webman AI的解梦功能将答案返回小程序里?...

rbac_bin 发表与 2025-02-27 251 浏览 1 回答

jack10082009

360
积分
0
获赞数
0
粉丝数
20小时前 加入
×
🔝