From e374217963ca14264093b99ba9a958e6dc121d1b Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Mon, 18 Aug 2025 15:54:25 +0800 Subject: [PATCH] update --- app/Models/CourseContent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/CourseContent.php b/app/Models/CourseContent.php index c28bbe7..7577452 100755 --- a/app/Models/CourseContent.php +++ b/app/Models/CourseContent.php @@ -77,7 +77,7 @@ class CourseContent extends SoftDeletesModel 'secret' => \config('app.applet_secret') ]; $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_id={$courseContent->course_id}&course_content_id={$courseContentId}", [ // 'env_version' => "release" // 正式版 'env_version' => "trial" // 体验版 ]);