add
This commit is contained in:
22
app/czg/app/controller/CourseController.php
Normal file
22
app/czg/app/controller/CourseController.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
namespace app\czg\app\controller;
|
||||
|
||||
use app\common\controller\BaseController;
|
||||
use app\common\library\DatabaseRoute;
|
||||
use app\czg\app\model\Course;
|
||||
use app\model\Test;
|
||||
use support\Request;
|
||||
use think\facade\Db;
|
||||
|
||||
class CourseController extends BaseController
|
||||
{
|
||||
|
||||
|
||||
public function courseSets()
|
||||
{
|
||||
$get = $this->request->get();
|
||||
$res = Course::courseSets($get, $this->auth->getUser());
|
||||
return $this->ApiDataReturn($res);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user