This commit is contained in:
技术老胡
2024-08-24 14:47:11 +08:00
parent 8bdac2b62c
commit 908b17c913
3 changed files with 1 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ class ShouQianBa
$this->username = $config['username'];
$this->password = $config['password'];
// 检查token目录
$dir_path = 'token/shouqianba';
$dir_path = '../runtime/token/shouqianba';
if (!is_dir($dir_path)) {
if (!mkdir($dir_path, 755, true)) {
echo '目录创建失败';