登录过期不跳转问题

This commit is contained in:
jianzhichu
2025-12-05 08:30:51 +08:00
parent c03dc5beff
commit a36c815861
12 changed files with 44 additions and 66 deletions
+2
View File
@@ -2,6 +2,7 @@
using dy.net.model;
using dy.net.service;
using dy.net.utils;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
@@ -9,6 +10,7 @@ namespace dy.net.Controllers
{
[Route("api/[controller]")]
[ApiController]
[Authorize]
public class FollowController : ControllerBase
{
private readonly DouyinFollowService _douyinFollowService;