更新overtrue/pinyin 到^6.0(2025-09-08)

pull/519/head
meriodas 2026-03-03 09:36:21 +08:00
parent 31088b0758
commit ec55e106a1
2 changed files with 6 additions and 2 deletions

View File

@ -16,7 +16,11 @@ class AuthRule extends Model
// 数据自动完成字段 // 数据自动完成字段
protected $insert = ['py', 'pinyin']; protected $insert = ['py', 'pinyin'];
protected $update = ['py', 'pinyin']; protected $update = ['py', 'pinyin'];
// 拼音对象
/**
* 拼音对象
* @var \Overtrue\Pinyin\Pinyin|null
*/
protected static $pinyin = null; protected static $pinyin = null;
protected static function init() protected static function init()

View File

@ -23,7 +23,7 @@
"topthink/think-helper": "^1.0.7", "topthink/think-helper": "^1.0.7",
"fastadminnet/fastadmin-addons": "~1.4.3", "fastadminnet/fastadmin-addons": "~1.4.3",
"fastadminnet/fastadmin-mailer": "^2.1.1", "fastadminnet/fastadmin-mailer": "^2.1.1",
"overtrue/pinyin": "^3.0", "overtrue/pinyin": "^6.0",
"phpoffice/phpspreadsheet": "^1.29.11", "phpoffice/phpspreadsheet": "^1.29.11",
"overtrue/wechat": "^5.36.3", "overtrue/wechat": "^5.36.3",
"ext-json": "*", "ext-json": "*",