feat:放开商户导出权限

This commit is contained in:
2025-12-29 22:17:45 +08:00
parent b9dc49b7a9
commit a427b0f22a

View File

@@ -412,7 +412,7 @@ public sealed class MerchantsController(IMediator mediator) : BaseApiController
/// 导出商户 PDF。
/// </summary>
[HttpGet("{merchantId:long}/export-pdf")]
[PermissionAuthorize("merchant:export")]
[PermissionAuthorize("merchant:read")]
[Produces("application/pdf")]
[ProducesResponseType(typeof(FileContentResult), StatusCodes.Status200OK)]
public async Task<IActionResult> ExportPdf(long merchantId, CancellationToken cancellationToken)