Browse Source

接口调整

qinchaoyue 4 months ago
parent
commit
2624a426e9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Hotline.Api/Controllers/Snapshot/SnapshotController.cs

+ 1 - 0
src/Hotline.Api/Controllers/Snapshot/SnapshotController.cs

@@ -142,6 +142,7 @@ public class SnapshotController : BaseController
     /// </summary>
     /// </summary>
     /// <returns></returns>
     /// <returns></returns>
     [HttpGet("bulletions/popup")]
     [HttpGet("bulletions/popup")]
+    [AllowAnonymous]
     public async Task<BulletinOutDto> GetBulletionPopupAsync()
     public async Task<BulletinOutDto> GetBulletionPopupAsync()
         => await _snapshotApplication.GetBulletionPopupAsync(HttpContext.RequestAborted);
         => await _snapshotApplication.GetBulletionPopupAsync(HttpContext.RequestAborted);