放开中心调研的权限
continuous-integration/drone/push Build encountered an error Details

IRC_NewDev
hang 2024-12-12 16:35:10 +08:00
parent 06ac8f114a
commit 07df412118
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ using IRaCIS.Core.Domain.Share;
using IRaCIS.Core.Infra.EFCore.Common;
using IRaCIS.Core.Infrastructure;
using MassTransit;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
@ -1349,6 +1350,7 @@ namespace IRaCIS.Core.Application
/// </summary>
/// <param name="trialId"></param>
/// <returns></returns>
[AllowAnonymous]
public async Task<TrialExtraConfig> GetTrialExtralConfig(Guid trialId)
{
var extralObj = _trialRepository.Where(t => t.Id == trialId).Select(t => new { t.TrialExtraConfigJsonStr, t.TrialObjectNameList }).FirstOrDefault();