master
cody 4 months ago
parent 77df79dfe8
commit 487cc56655

@ -78,8 +78,8 @@ class CourseContent extends SoftDeletesModel
]; ];
$app = Factory::miniProgram($config); $app = Factory::miniProgram($config);
$tmp = $app->app_code->get('/packages/sign/index?course_content_id' . $courseContentId, [ $tmp = $app->app_code->get('/packages/sign/index?course_content_id' . $courseContentId, [
'env_version' => "release" // 正式版 // 'env_version' => "release" // 正式版
// 'env_version' => "trial" // 体验版 'env_version' => "trial" // 体验版
]); ]);
$dir = dirname($path); $dir = dirname($path);
$fileSys->ensureDirectoryExists($dir, 0755, true); $fileSys->ensureDirectoryExists($dir, 0755, true);

Loading…
Cancel
Save