mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-23 03:50:56 +08:00
v1.6.5发布说明
This commit is contained in:
parent
e48d831ce3
commit
621b921862
@ -2,7 +2,10 @@
|
|||||||
|
|
||||||
- 升级layui-v2.8.8
|
- 升级layui-v2.8.8
|
||||||
- 使用本地图像验证码
|
- 使用本地图像验证码
|
||||||
- 清理无用的计划任务
|
- 优化计划任务脚本
|
||||||
|
- 优化日志清理脚本
|
||||||
|
- 优化钉钉webhook
|
||||||
|
- 修正图文分享参数问题
|
||||||
|
|
||||||
### [v1.6.4](https://gitee.com/koogua/course-tencent-cloud/releases/v1.6.4)(2023-06-15)
|
### [v1.6.4](https://gitee.com/koogua/course-tencent-cloud/releases/v1.6.4)(2023-06-15)
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ class Redis extends \Phalcon\Cache\Backend\Redis
|
|||||||
|
|
||||||
if ($lifetime === null) {
|
if ($lifetime === null) {
|
||||||
$tmp = $this->_lastLifetime;
|
$tmp = $this->_lastLifetime;
|
||||||
$ttl = $tmp ? $tmp : $frontend->getLifetime();
|
$ttl = $tmp ?: $frontend->getLifetime();
|
||||||
} else {
|
} else {
|
||||||
$ttl = $lifetime;
|
$ttl = $lifetime;
|
||||||
}
|
}
|
||||||
@ -157,7 +157,7 @@ class Redis extends \Phalcon\Cache\Backend\Redis
|
|||||||
|
|
||||||
$redis = $this->getRedis();
|
$redis = $this->getRedis();
|
||||||
|
|
||||||
$pattern = "{$this->_prefix}" . ($prefix ? $prefix : '') . '*';
|
$pattern = "{$this->_prefix}" . ($prefix ?: '') . '*';
|
||||||
|
|
||||||
$redis->setOption(\Redis::OPT_SCAN, \Redis::SCAN_RETRY);
|
$redis->setOption(\Redis::OPT_SCAN, \Redis::SCAN_RETRY);
|
||||||
|
|
||||||
@ -255,7 +255,7 @@ class Redis extends \Phalcon\Cache\Backend\Redis
|
|||||||
*/
|
*/
|
||||||
public function flush(): bool
|
public function flush(): bool
|
||||||
{
|
{
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user