Browse Source

修改权限

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

Loading…
Cancel
Save