feat(fsgx): 管理后台与部署相关更新
- admin: 路由守卫修复空白页、addRoute、devServer 端口与代理 - admin: package.json 生产构建去掉 NODE_OPTIONS openssl - ajcaptcha: 滑块验证码改用 file 缓存避免 Redis NOAUTH - nginx-crmeb: 增加 81 端口站点 - docs: deploy 补充 NOAUTH/Redis 说明,新增 H5 部署脚本与 nginx 示例 - 其他: database、start-api、swoole ini、uniapp 资源等 Made-with: Cursor
This commit is contained in:
@@ -35,8 +35,10 @@ return [
|
||||
'text' => ''
|
||||
],
|
||||
'cache' => [
|
||||
//若您使用了框架,并且想使用类似于redis这样的缓存驱动,则应换成框架的中的缓存驱动
|
||||
'constructor' => app()->make(\think\Cache::class),
|
||||
// file 存储:生产环境 Redis 密码错误时避免 ajcaptcha 报 NOAUTH;业务主缓存仍用 config/cache.php
|
||||
'constructor' => static function ($options) {
|
||||
return app()->make(\think\Cache::class)->store('file');
|
||||
},
|
||||
'method' => [
|
||||
//遵守PSR-16规范不需要设置此项(tp6, laravel,hyperf)。如tp5就不支持(tp5缓存方法是rm,所以要配置为"delete" => "rm")
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user