Commit f87aab17 authored by xiabin's avatar xiabin

Merge remote-tracking branch 'origin/dev' into dev

parents 997fbbb5 644ae338
......@@ -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');
......@@ -240,7 +240,7 @@ class MyCourseController extends \yii\web\Controller
$action = Yii::$app->request->get('action');
$userId = Yii::$app->user->identity->getId();
$course = Course::getBasicData($id);
$course = Course::findBaseInfoByCourseId($id);
if (!$course) {
throw new \yii\web\NotFoundHttpException;
......
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