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