Commit 644ae338 authored by 杨培's avatar 杨培

修复发布课程时 class_id 被写固定死的问题。。

parent 52024c5f
......@@ -87,7 +87,7 @@ class MyCourseController extends \yii\web\Controller
$request = Yii::$app->request;
$userId = Yii::$app->user->identity->getId();
$classId = 1;
$classId = $this->classStatus['id'];
//验证临时ID
$tmpId = $request->post('tmp');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment