refactor(admin): 迁移到 php8.2

- 将多个匿名函数改为箭头函数以提高可读性
- 修复部分变量类型不匹配的问题,增加类型转换
- 删除冗余的代码和注释,简化逻辑
- 更新数据库操作相关代码,提高安全性
- 优化数组处理和字符串操作方法
- 统一代码风格,提升整体代码质量
This commit is contained in:
李东云
2025-09-26 18:10:31 +08:00
parent 44105f8e47
commit 606672b1d6
76 changed files with 4126 additions and 1678 deletions

View File

@@ -7,4 +7,4 @@ docker run \
-v "$(pwd)":/srv/www \
-v ~/.ssh:/root/.ssh \
-v ~/.gitconfig:/root/.gitconfig \
harbor.luxcreo.cn/library/hyperf:7.4-swoole /bin/ash
harbor.luxcreo.cn/library/hyperf:8.2-swoole /bin/ash