23 lines
464 B
PHP
23 lines
464 B
PHP
<?php
|
|
|
|
namespace app\admin\controller;
|
|
|
|
use app\admin\model\UserIntegral;
|
|
use app\common\controller\Backend;
|
|
use app\common\library\DatabaseRoute;
|
|
use think\facade\Db;
|
|
|
|
class CourseCollect extends Backend
|
|
{
|
|
protected array $noNeedPermission = ['selectByUserId'];
|
|
|
|
|
|
public function selectByUserId()
|
|
{
|
|
$get = $this->request->get();
|
|
return $this->ApiDataReturn(\app\api\model\Course::selectByUserId($get, $this->auth->user_id));
|
|
}
|
|
|
|
|
|
|
|
} |