兼容修改

This commit is contained in:
张松
2025-08-15 17:40:31 +08:00
parent 0efa7c6695
commit b86a663754
5 changed files with 62 additions and 13 deletions

View File

@@ -1,6 +1,7 @@
<?php
// 应用公共文件
use app\exception\SysException;
use support\Log;
use support\think\Cache;
use Webman\RedisQueue\Client;
@@ -720,7 +721,7 @@ function debounce(string $key,int $waitMs = 20)
cache($key, 1, $ttl); // 设置一个短暂缓存用于防抖
}else{
throw new \app\exception\SysException("操作过于频繁,请稍后再试");
throw new SysException("操作过于频繁,请稍后再试");
}
}