代码提交
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user