代码提交

This commit is contained in:
wong
2025-07-10 17:53:42 +08:00
parent 381006ddbe
commit d242ddee02

View File

@@ -47,7 +47,7 @@ class PosterWeChatMiniProgram extends Controller
// 保存小程序码到文件
if ($response instanceof StreamResponse) {
$savePath = ROOT_PATH . 'runtime/img';
$savePath = ROOT_PATH . '/runtime/img';
// 确保目录存在
if (!is_dir($savePath)) {
mkdir($savePath, 0755, true);