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:
apple
2026-03-21 02:33:14 +08:00
parent 413eb19adf
commit ae8b866319
20 changed files with 697 additions and 45 deletions

View File

@@ -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"
/**