|
@ -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() |
|
|