|
|
|
|
@ -276,8 +276,8 @@ class Course extends SoftDeletesModel
|
|
|
|
|
$app = Factory::miniProgram($config);
|
|
|
|
|
$tmp = $app->app_code->get('packages/surveyFill/index?id=' . $id, [
|
|
|
|
|
// todo:: 版本切换
|
|
|
|
|
// 'env_version' => "release" // 正式版
|
|
|
|
|
'env_version' => "trial" // 体验版
|
|
|
|
|
'env_version' => "release" // 正式版
|
|
|
|
|
// 'env_version' => "trial" // 体验版
|
|
|
|
|
]);
|
|
|
|
|
$dir = dirname($path);
|
|
|
|
|
$fileSys->ensureDirectoryExists($dir, 0755, true);
|
|
|
|
|
|