Commit 3d3cbe79 authored by 杨培's avatar 杨培

方法名调整

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