Browse Source

修改权限

master
anerx 5 months ago
parent
commit
f613d3cac1
  1. 3
      Admin.NET.Bodk.Genetic/GeneticTestService.cs

3
Admin.NET.Bodk.Genetic/GeneticTestService.cs

@ -9,6 +9,8 @@ using Admin.NET.Core;
using Furion.DatabaseAccessor;
using Furion.DependencyInjection;
using Furion.DynamicApiController;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Nest;
using SqlSugar;
@ -159,6 +161,7 @@ public class GeneticTestService : IDynamicApiController, ITransient
[ApiDescriptionSettings(Name = "Bind"), HttpPost]
[DisplayName("Bind")]
[Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme + "," + SignatureAuthenticationDefaults.AuthenticationScheme)]
public async Task<long> BindGeneticTestBarcode(BindGeneticTestBarcodeInput input)
{
var entity = new GeneticTestResultEntity()

Loading…
Cancel
Save