refactor: 修改环境

This commit is contained in:
2025-01-15 10:24:24 +08:00
parent 657b032d53
commit 64394cf3c9
2 changed files with 1 additions and 2 deletions

View File

@@ -26,7 +26,6 @@ class Captcha
// 输出验证码
return success('获取验证码成功!', [
'token' => $token,
'code' => $captcha['code'],
'captcha' => $captcha["img"],
]);
}

View File

@@ -15,7 +15,7 @@ namespace think;
require __DIR__ . '/../vendor/autoload.php';
// 执行HTTP应用并响应
$http = (new App())->setEnvName('local')->http;
$http = (new App())->http;
$response = $http->run();