...
|
...
|
@@ -132,7 +132,7 @@ class Course extends Api |
|
|
}
|
|
|
|
|
|
$course = new \app\admin\model\Course();
|
|
|
$course = $course->where($where)->select();
|
|
|
$course = $course->where($where)->order('weigh','desc')->select();
|
|
|
|
|
|
$this->success('请求成功',$course);
|
|
|
}
|
...
|
...
|
@@ -579,7 +579,8 @@ class Course extends Api |
|
|
];
|
|
|
|
|
|
try {
|
|
|
$template->send($data);
|
|
|
$return = $template->send($data);
|
|
|
echo json_encode($return);exit;
|
|
|
} catch (InvalidResponseException $e) {
|
|
|
} catch (LocalCacheException $e) {
|
|
|
}
|
...
|
...
|
|