Releases: hyperf-plus/helper
Releases · hyperf-plus/helper
v3.1.4
v3.1.3: Update helper.php
支持新特征,无需匿名函数
# 旧的用法
$appInfo = cache_has_set("cache-{$client_id}",function () use ($client_id){
return App::where('client_id', $client_id)->first();
});
# 新的用法
$appInfo = cache_has_set("cache-{$client_id}",App::where('client_id', $client_id)->first());
v3.1.2: Update helper.php
修复cli下调用无request报错