feat: add note module and route fixes
This commit is contained in:
@@ -46,12 +46,9 @@ class VideoWork extends BaseController
|
||||
public function index()
|
||||
{
|
||||
try {
|
||||
$payload = $this->request->payload ?? null;
|
||||
if (!$payload || empty($payload['userid'])) {
|
||||
return Response::error('未登录', 401);
|
||||
}
|
||||
$userid = $this->getLoginUserId();
|
||||
|
||||
$result = $this->videoWorkService->getVideoList((int) $payload['userid'], [
|
||||
$result = $this->videoWorkService->getVideoList($userid, [
|
||||
'platform' => $this->request->get('platform', 'all'),
|
||||
'vuid' => $this->request->get('vuid', 'all'),
|
||||
'page' => (int) $this->request->get('page', 1),
|
||||
|
||||
Reference in New Issue
Block a user